@bubblelab/bubble-core 0.1.235 → 0.1.237

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 (98) hide show
  1. package/dist/bubble-bundle.d.ts +119 -119
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +76 -76
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +16 -16
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +1 -0
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +46 -46
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  10. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +26 -26
  11. package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
  13. package/dist/bubbles/service-bubble/capability-pipeline.js +1 -1
  14. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  15. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  16. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +86 -86
  17. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  18. package/dist/bubbles/service-bubble/firecrawl.d.ts +294 -294
  19. package/dist/bubbles/service-bubble/followupboss.d.ts +128 -128
  20. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +28 -28
  21. package/dist/bubbles/service-bubble/github.d.ts +168 -168
  22. package/dist/bubbles/service-bubble/gmail.d.ts +328 -328
  23. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  24. package/dist/bubbles/service-bubble/gmail.js +4 -5
  25. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  26. package/dist/bubbles/service-bubble/google-calendar.d.ts +30 -30
  27. package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
  28. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  29. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  30. package/dist/bubbles/service-bubble/http.d.ts +34 -34
  31. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  32. package/dist/bubbles/service-bubble/http.js.map +1 -1
  33. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +127 -38
  34. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -1
  35. package/dist/bubbles/service-bubble/hubspot/hubspot.js +38 -1
  36. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
  37. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +87 -0
  38. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -1
  39. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +53 -2
  40. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -1
  41. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  42. package/dist/bubbles/service-bubble/jira/jira.d.ts +62 -62
  43. package/dist/bubbles/service-bubble/linear/linear.d.ts +22 -22
  44. package/dist/bubbles/service-bubble/notion/notion.d.ts +669 -669
  45. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  46. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +12 -12
  47. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  48. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  49. package/dist/bubbles/service-bubble/s3/s3.d.ts +12 -12
  50. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  51. package/dist/bubbles/service-bubble/slab/slab.d.ts +26 -26
  52. package/dist/bubbles/service-bubble/slack/slack.d.ts +326 -326
  53. package/dist/bubbles/service-bubble/storage.d.ts +24 -24
  54. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +50 -50
  55. package/dist/bubbles/service-bubble/telegram.d.ts +56 -56
  56. package/dist/bubbles/service-bubble/xero/xero.d.ts +16 -16
  57. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +36 -36
  58. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +20 -20
  59. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  60. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  61. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  62. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  63. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  64. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  67. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  68. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  69. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  70. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  71. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +112 -112
  72. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  75. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  76. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +38 -38
  77. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  78. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  79. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  80. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  81. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  82. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +48 -48
  83. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  84. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +16 -16
  85. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
  86. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  87. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  88. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
  89. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  90. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  91. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  92. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
  93. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  94. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  95. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +14 -14
  96. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  97. package/dist/bubbles.json +146 -4
  98. package/package.json +2 -2
@@ -232,6 +232,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
232
232
  type: "emoji";
233
233
  emoji: string;
234
234
  } | undefined;
235
+ children?: unknown[] | undefined;
235
236
  cover?: {
236
237
  type: "file";
237
238
  file: {
@@ -249,7 +250,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
249
250
  url: string;
250
251
  };
251
252
  } | undefined;
252
- children?: unknown[] | undefined;
253
253
  }, {
254
254
  parent: {
255
255
  type: "page_id";
@@ -291,6 +291,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
291
291
  type: "emoji";
292
292
  emoji: string;
293
293
  } | undefined;
294
+ children?: unknown[] | undefined;
294
295
  cover?: {
295
296
  type: "file";
296
297
  file: {
@@ -308,7 +309,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
308
309
  url: string;
309
310
  };
310
311
  } | undefined;
311
- children?: unknown[] | undefined;
312
312
  }>, z.ZodObject<{
313
313
  operation: z.ZodLiteral<"retrieve_page">;
314
314
  page_id: z.ZodString;
@@ -1274,21 +1274,21 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1274
1274
  page_id: z.ZodOptional<z.ZodString>;
1275
1275
  workspace: z.ZodOptional<z.ZodLiteral<true>>;
1276
1276
  }, "strip", z.ZodTypeAny, {
1277
- type: "workspace" | "page_id";
1278
- workspace?: true | undefined;
1277
+ type: "page_id" | "workspace";
1279
1278
  page_id?: string | undefined;
1280
- }, {
1281
- type: "workspace" | "page_id";
1282
1279
  workspace?: true | undefined;
1280
+ }, {
1281
+ type: "page_id" | "workspace";
1283
1282
  page_id?: string | undefined;
1284
- }>, {
1285
- type: "workspace" | "page_id";
1286
1283
  workspace?: true | undefined;
1284
+ }>, {
1285
+ type: "page_id" | "workspace";
1287
1286
  page_id?: string | undefined;
1288
- }, {
1289
- type: "workspace" | "page_id";
1290
1287
  workspace?: true | undefined;
1288
+ }, {
1289
+ type: "page_id" | "workspace";
1291
1290
  page_id?: string | undefined;
1291
+ workspace?: true | undefined;
1292
1292
  }>, {
1293
1293
  type: "workspace";
1294
1294
  workspace: boolean;
@@ -1298,9 +1298,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1298
1298
  page_id: string;
1299
1299
  workspace?: undefined;
1300
1300
  }, {
1301
- type: "workspace" | "page_id";
1302
- workspace?: true | undefined;
1301
+ type: "page_id" | "workspace";
1303
1302
  page_id?: string | undefined;
1303
+ workspace?: true | undefined;
1304
1304
  }>;
1305
1305
  initial_data_source: z.ZodObject<{
1306
1306
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1703,9 +1703,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1703
1703
  } | undefined;
1704
1704
  }, {
1705
1705
  parent: {
1706
- type: "workspace" | "page_id";
1707
- workspace?: true | undefined;
1706
+ type: "page_id" | "workspace";
1708
1707
  page_id?: string | undefined;
1708
+ workspace?: true | undefined;
1709
1709
  };
1710
1710
  operation: "create_database";
1711
1711
  initial_data_source: {
@@ -3008,8 +3008,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3008
3008
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3009
3009
  }, "strip", z.ZodTypeAny, {
3010
3010
  object: "page";
3011
- url: string;
3012
3011
  properties: Record<string, unknown>;
3012
+ url: string;
3013
3013
  id: string;
3014
3014
  parent: {
3015
3015
  type: "page_id";
@@ -3028,8 +3028,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3028
3028
  type: "workspace";
3029
3029
  workspace: true;
3030
3030
  };
3031
- created_time: string;
3031
+ archived: boolean;
3032
3032
  last_edited_time: string;
3033
+ created_time: string;
3033
3034
  created_by: {
3034
3035
  object: "user";
3035
3036
  id: string;
@@ -3064,7 +3065,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3064
3065
  workspace_name?: string | undefined;
3065
3066
  } | undefined;
3066
3067
  };
3067
- archived: boolean;
3068
3068
  icon?: {
3069
3069
  type: "emoji";
3070
3070
  emoji: string;
@@ -3101,8 +3101,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3101
3101
  public_url?: string | null | undefined;
3102
3102
  }, {
3103
3103
  object: "page";
3104
- url: string;
3105
3104
  properties: Record<string, unknown>;
3105
+ url: string;
3106
3106
  id: string;
3107
3107
  parent: {
3108
3108
  type: "page_id";
@@ -3121,8 +3121,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3121
3121
  type: "workspace";
3122
3122
  workspace: true;
3123
3123
  };
3124
- created_time: string;
3124
+ archived: boolean;
3125
3125
  last_edited_time: string;
3126
+ created_time: string;
3126
3127
  created_by: {
3127
3128
  object: "user";
3128
3129
  id: string;
@@ -3157,7 +3158,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3157
3158
  workspace_name?: string | undefined;
3158
3159
  } | undefined;
3159
3160
  };
3160
- archived: boolean;
3161
3161
  icon?: {
3162
3162
  type: "emoji";
3163
3163
  emoji: string;
@@ -3194,13 +3194,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3194
3194
  public_url?: string | null | undefined;
3195
3195
  }>>;
3196
3196
  }, "strip", z.ZodTypeAny, {
3197
- success: boolean;
3198
3197
  error: string;
3198
+ success: boolean;
3199
3199
  operation: "create_page";
3200
3200
  page?: {
3201
3201
  object: "page";
3202
- url: string;
3203
3202
  properties: Record<string, unknown>;
3203
+ url: string;
3204
3204
  id: string;
3205
3205
  parent: {
3206
3206
  type: "page_id";
@@ -3219,8 +3219,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3219
3219
  type: "workspace";
3220
3220
  workspace: true;
3221
3221
  };
3222
- created_time: string;
3222
+ archived: boolean;
3223
3223
  last_edited_time: string;
3224
+ created_time: string;
3224
3225
  created_by: {
3225
3226
  object: "user";
3226
3227
  id: string;
@@ -3255,7 +3256,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3255
3256
  workspace_name?: string | undefined;
3256
3257
  } | undefined;
3257
3258
  };
3258
- archived: boolean;
3259
3259
  icon?: {
3260
3260
  type: "emoji";
3261
3261
  emoji: string;
@@ -3292,13 +3292,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3292
3292
  public_url?: string | null | undefined;
3293
3293
  } | undefined;
3294
3294
  }, {
3295
- success: boolean;
3296
3295
  error: string;
3296
+ success: boolean;
3297
3297
  operation: "create_page";
3298
3298
  page?: {
3299
3299
  object: "page";
3300
- url: string;
3301
3300
  properties: Record<string, unknown>;
3301
+ url: string;
3302
3302
  id: string;
3303
3303
  parent: {
3304
3304
  type: "page_id";
@@ -3317,8 +3317,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3317
3317
  type: "workspace";
3318
3318
  workspace: true;
3319
3319
  };
3320
- created_time: string;
3320
+ archived: boolean;
3321
3321
  last_edited_time: string;
3322
+ created_time: string;
3322
3323
  created_by: {
3323
3324
  object: "user";
3324
3325
  id: string;
@@ -3353,7 +3354,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3353
3354
  workspace_name?: string | undefined;
3354
3355
  } | undefined;
3355
3356
  };
3356
- archived: boolean;
3357
3357
  icon?: {
3358
3358
  type: "emoji";
3359
3359
  emoji: string;
@@ -3712,8 +3712,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3712
3712
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3713
3713
  }, "strip", z.ZodTypeAny, {
3714
3714
  object: "page";
3715
- url: string;
3716
3715
  properties: Record<string, unknown>;
3716
+ url: string;
3717
3717
  id: string;
3718
3718
  parent: {
3719
3719
  type: "page_id";
@@ -3732,8 +3732,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3732
3732
  type: "workspace";
3733
3733
  workspace: true;
3734
3734
  };
3735
- created_time: string;
3735
+ archived: boolean;
3736
3736
  last_edited_time: string;
3737
+ created_time: string;
3737
3738
  created_by: {
3738
3739
  object: "user";
3739
3740
  id: string;
@@ -3768,7 +3769,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3768
3769
  workspace_name?: string | undefined;
3769
3770
  } | undefined;
3770
3771
  };
3771
- archived: boolean;
3772
3772
  icon?: {
3773
3773
  type: "emoji";
3774
3774
  emoji: string;
@@ -3805,8 +3805,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3805
3805
  public_url?: string | null | undefined;
3806
3806
  }, {
3807
3807
  object: "page";
3808
- url: string;
3809
3808
  properties: Record<string, unknown>;
3809
+ url: string;
3810
3810
  id: string;
3811
3811
  parent: {
3812
3812
  type: "page_id";
@@ -3825,8 +3825,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3825
3825
  type: "workspace";
3826
3826
  workspace: true;
3827
3827
  };
3828
- created_time: string;
3828
+ archived: boolean;
3829
3829
  last_edited_time: string;
3830
+ created_time: string;
3830
3831
  created_by: {
3831
3832
  object: "user";
3832
3833
  id: string;
@@ -3861,7 +3862,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3861
3862
  workspace_name?: string | undefined;
3862
3863
  } | undefined;
3863
3864
  };
3864
- archived: boolean;
3865
3865
  icon?: {
3866
3866
  type: "emoji";
3867
3867
  emoji: string;
@@ -3898,13 +3898,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3898
3898
  public_url?: string | null | undefined;
3899
3899
  }>>;
3900
3900
  }, "strip", z.ZodTypeAny, {
3901
- success: boolean;
3902
3901
  error: string;
3902
+ success: boolean;
3903
3903
  operation: "retrieve_page";
3904
3904
  page?: {
3905
3905
  object: "page";
3906
- url: string;
3907
3906
  properties: Record<string, unknown>;
3907
+ url: string;
3908
3908
  id: string;
3909
3909
  parent: {
3910
3910
  type: "page_id";
@@ -3923,8 +3923,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3923
3923
  type: "workspace";
3924
3924
  workspace: true;
3925
3925
  };
3926
- created_time: string;
3926
+ archived: boolean;
3927
3927
  last_edited_time: string;
3928
+ created_time: string;
3928
3929
  created_by: {
3929
3930
  object: "user";
3930
3931
  id: string;
@@ -3959,7 +3960,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3959
3960
  workspace_name?: string | undefined;
3960
3961
  } | undefined;
3961
3962
  };
3962
- archived: boolean;
3963
3963
  icon?: {
3964
3964
  type: "emoji";
3965
3965
  emoji: string;
@@ -3996,13 +3996,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3996
3996
  public_url?: string | null | undefined;
3997
3997
  } | undefined;
3998
3998
  }, {
3999
- success: boolean;
4000
3999
  error: string;
4000
+ success: boolean;
4001
4001
  operation: "retrieve_page";
4002
4002
  page?: {
4003
4003
  object: "page";
4004
- url: string;
4005
4004
  properties: Record<string, unknown>;
4005
+ url: string;
4006
4006
  id: string;
4007
4007
  parent: {
4008
4008
  type: "page_id";
@@ -4021,8 +4021,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4021
4021
  type: "workspace";
4022
4022
  workspace: true;
4023
4023
  };
4024
- created_time: string;
4024
+ archived: boolean;
4025
4025
  last_edited_time: string;
4026
+ created_time: string;
4026
4027
  created_by: {
4027
4028
  object: "user";
4028
4029
  id: string;
@@ -4057,7 +4058,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4057
4058
  workspace_name?: string | undefined;
4058
4059
  } | undefined;
4059
4060
  };
4060
- archived: boolean;
4061
4061
  icon?: {
4062
4062
  type: "emoji";
4063
4063
  emoji: string;
@@ -4416,101 +4416,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4416
4416
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4417
4417
  }, "strip", z.ZodTypeAny, {
4418
4418
  object: "page";
4419
- url: string;
4420
4419
  properties: Record<string, unknown>;
4421
- id: string;
4422
- parent: {
4423
- type: "page_id";
4424
- page_id: string;
4425
- } | {
4426
- type: "database_id";
4427
- database_id: string;
4428
- } | {
4429
- type: "data_source_id";
4430
- data_source_id: string;
4431
- database_id?: string | undefined;
4432
- } | {
4433
- type: "block_id";
4434
- block_id: string;
4435
- } | {
4436
- type: "workspace";
4437
- workspace: true;
4438
- };
4439
- created_time: string;
4440
- last_edited_time: string;
4441
- created_by: {
4442
- object: "user";
4443
- id: string;
4444
- type?: "person" | "bot" | undefined;
4445
- name?: string | undefined;
4446
- person?: {
4447
- email?: string | undefined;
4448
- } | undefined;
4449
- avatar_url?: string | null | undefined;
4450
- bot?: {
4451
- owner?: {
4452
- type: "user" | "workspace";
4453
- workspace?: boolean | undefined;
4454
- } | undefined;
4455
- workspace_name?: string | undefined;
4456
- } | undefined;
4457
- };
4458
- last_edited_by: {
4459
- object: "user";
4460
- id: string;
4461
- type?: "person" | "bot" | undefined;
4462
- name?: string | undefined;
4463
- person?: {
4464
- email?: string | undefined;
4465
- } | undefined;
4466
- avatar_url?: string | null | undefined;
4467
- bot?: {
4468
- owner?: {
4469
- type: "user" | "workspace";
4470
- workspace?: boolean | undefined;
4471
- } | undefined;
4472
- workspace_name?: string | undefined;
4473
- } | undefined;
4474
- };
4475
- archived: boolean;
4476
- icon?: {
4477
- type: "emoji";
4478
- emoji: string;
4479
- } | {
4480
- type: "external";
4481
- external: {
4482
- url: string;
4483
- };
4484
- } | {
4485
- type: "file";
4486
- file: {
4487
- url: string;
4488
- expiry_time: string;
4489
- };
4490
- } | null | undefined;
4491
- cover?: {
4492
- type: "file";
4493
- file: {
4494
- url: string;
4495
- expiry_time: string;
4496
- };
4497
- } | {
4498
- type: "file_upload";
4499
- file_upload: {
4500
- id: string;
4501
- };
4502
- } | {
4503
- type: "external";
4504
- external: {
4505
- url: string;
4506
- };
4507
- } | null | undefined;
4508
- in_trash?: boolean | undefined;
4509
- public_url?: string | null | undefined;
4510
- }, {
4511
- object: "page";
4512
4420
  url: string;
4513
- properties: Record<string, unknown>;
4514
4421
  id: string;
4515
4422
  parent: {
4516
4423
  type: "page_id";
@@ -4529,106 +4436,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4529
4436
  type: "workspace";
4530
4437
  workspace: true;
4531
4438
  };
4532
- created_time: string;
4533
- last_edited_time: string;
4534
- created_by: {
4535
- object: "user";
4536
- id: string;
4537
- type?: "person" | "bot" | undefined;
4538
- name?: string | undefined;
4539
- person?: {
4540
- email?: string | undefined;
4541
- } | undefined;
4542
- avatar_url?: string | null | undefined;
4543
- bot?: {
4544
- owner?: {
4545
- type: "user" | "workspace";
4546
- workspace?: boolean | undefined;
4547
- } | undefined;
4548
- workspace_name?: string | undefined;
4549
- } | undefined;
4550
- };
4551
- last_edited_by: {
4552
- object: "user";
4553
- id: string;
4554
- type?: "person" | "bot" | undefined;
4555
- name?: string | undefined;
4556
- person?: {
4557
- email?: string | undefined;
4558
- } | undefined;
4559
- avatar_url?: string | null | undefined;
4560
- bot?: {
4561
- owner?: {
4562
- type: "user" | "workspace";
4563
- workspace?: boolean | undefined;
4564
- } | undefined;
4565
- workspace_name?: string | undefined;
4566
- } | undefined;
4567
- };
4568
4439
  archived: boolean;
4569
- icon?: {
4570
- type: "emoji";
4571
- emoji: string;
4572
- } | {
4573
- type: "external";
4574
- external: {
4575
- url: string;
4576
- };
4577
- } | {
4578
- type: "file";
4579
- file: {
4580
- url: string;
4581
- expiry_time: string;
4582
- };
4583
- } | null | undefined;
4584
- cover?: {
4585
- type: "file";
4586
- file: {
4587
- url: string;
4588
- expiry_time: string;
4589
- };
4590
- } | {
4591
- type: "file_upload";
4592
- file_upload: {
4593
- id: string;
4594
- };
4595
- } | {
4596
- type: "external";
4597
- external: {
4598
- url: string;
4599
- };
4600
- } | null | undefined;
4601
- in_trash?: boolean | undefined;
4602
- public_url?: string | null | undefined;
4603
- }>>;
4604
- }, "strip", z.ZodTypeAny, {
4605
- success: boolean;
4606
- error: string;
4607
- operation: "update_page";
4608
- page?: {
4609
- object: "page";
4610
- url: string;
4611
- properties: Record<string, unknown>;
4612
- id: string;
4613
- parent: {
4614
- type: "page_id";
4615
- page_id: string;
4616
- } | {
4617
- type: "database_id";
4618
- database_id: string;
4619
- } | {
4620
- type: "data_source_id";
4621
- data_source_id: string;
4622
- database_id?: string | undefined;
4623
- } | {
4624
- type: "block_id";
4625
- block_id: string;
4626
- } | {
4627
- type: "workspace";
4628
- workspace: true;
4629
- };
4630
- created_time: string;
4631
4440
  last_edited_time: string;
4441
+ created_time: string;
4632
4442
  created_by: {
4633
4443
  object: "user";
4634
4444
  id: string;
@@ -4663,7 +4473,197 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4663
4473
  workspace_name?: string | undefined;
4664
4474
  } | undefined;
4665
4475
  };
4476
+ icon?: {
4477
+ type: "emoji";
4478
+ emoji: string;
4479
+ } | {
4480
+ type: "external";
4481
+ external: {
4482
+ url: string;
4483
+ };
4484
+ } | {
4485
+ type: "file";
4486
+ file: {
4487
+ url: string;
4488
+ expiry_time: string;
4489
+ };
4490
+ } | null | undefined;
4491
+ cover?: {
4492
+ type: "file";
4493
+ file: {
4494
+ url: string;
4495
+ expiry_time: string;
4496
+ };
4497
+ } | {
4498
+ type: "file_upload";
4499
+ file_upload: {
4500
+ id: string;
4501
+ };
4502
+ } | {
4503
+ type: "external";
4504
+ external: {
4505
+ url: string;
4506
+ };
4507
+ } | null | undefined;
4508
+ in_trash?: boolean | undefined;
4509
+ public_url?: string | null | undefined;
4510
+ }, {
4511
+ object: "page";
4512
+ properties: Record<string, unknown>;
4513
+ url: string;
4514
+ id: string;
4515
+ parent: {
4516
+ type: "page_id";
4517
+ page_id: string;
4518
+ } | {
4519
+ type: "database_id";
4520
+ database_id: string;
4521
+ } | {
4522
+ type: "data_source_id";
4523
+ data_source_id: string;
4524
+ database_id?: string | undefined;
4525
+ } | {
4526
+ type: "block_id";
4527
+ block_id: string;
4528
+ } | {
4529
+ type: "workspace";
4530
+ workspace: true;
4531
+ };
4532
+ archived: boolean;
4533
+ last_edited_time: string;
4534
+ created_time: string;
4535
+ created_by: {
4536
+ object: "user";
4537
+ id: string;
4538
+ type?: "person" | "bot" | undefined;
4539
+ name?: string | undefined;
4540
+ person?: {
4541
+ email?: string | undefined;
4542
+ } | undefined;
4543
+ avatar_url?: string | null | undefined;
4544
+ bot?: {
4545
+ owner?: {
4546
+ type: "user" | "workspace";
4547
+ workspace?: boolean | undefined;
4548
+ } | undefined;
4549
+ workspace_name?: string | undefined;
4550
+ } | undefined;
4551
+ };
4552
+ last_edited_by: {
4553
+ object: "user";
4554
+ id: string;
4555
+ type?: "person" | "bot" | undefined;
4556
+ name?: string | undefined;
4557
+ person?: {
4558
+ email?: string | undefined;
4559
+ } | undefined;
4560
+ avatar_url?: string | null | undefined;
4561
+ bot?: {
4562
+ owner?: {
4563
+ type: "user" | "workspace";
4564
+ workspace?: boolean | undefined;
4565
+ } | undefined;
4566
+ workspace_name?: string | undefined;
4567
+ } | undefined;
4568
+ };
4569
+ icon?: {
4570
+ type: "emoji";
4571
+ emoji: string;
4572
+ } | {
4573
+ type: "external";
4574
+ external: {
4575
+ url: string;
4576
+ };
4577
+ } | {
4578
+ type: "file";
4579
+ file: {
4580
+ url: string;
4581
+ expiry_time: string;
4582
+ };
4583
+ } | null | undefined;
4584
+ cover?: {
4585
+ type: "file";
4586
+ file: {
4587
+ url: string;
4588
+ expiry_time: string;
4589
+ };
4590
+ } | {
4591
+ type: "file_upload";
4592
+ file_upload: {
4593
+ id: string;
4594
+ };
4595
+ } | {
4596
+ type: "external";
4597
+ external: {
4598
+ url: string;
4599
+ };
4600
+ } | null | undefined;
4601
+ in_trash?: boolean | undefined;
4602
+ public_url?: string | null | undefined;
4603
+ }>>;
4604
+ }, "strip", z.ZodTypeAny, {
4605
+ error: string;
4606
+ success: boolean;
4607
+ operation: "update_page";
4608
+ page?: {
4609
+ object: "page";
4610
+ properties: Record<string, unknown>;
4611
+ url: string;
4612
+ id: string;
4613
+ parent: {
4614
+ type: "page_id";
4615
+ page_id: string;
4616
+ } | {
4617
+ type: "database_id";
4618
+ database_id: string;
4619
+ } | {
4620
+ type: "data_source_id";
4621
+ data_source_id: string;
4622
+ database_id?: string | undefined;
4623
+ } | {
4624
+ type: "block_id";
4625
+ block_id: string;
4626
+ } | {
4627
+ type: "workspace";
4628
+ workspace: true;
4629
+ };
4666
4630
  archived: boolean;
4631
+ last_edited_time: string;
4632
+ created_time: string;
4633
+ created_by: {
4634
+ object: "user";
4635
+ id: string;
4636
+ type?: "person" | "bot" | undefined;
4637
+ name?: string | undefined;
4638
+ person?: {
4639
+ email?: string | undefined;
4640
+ } | undefined;
4641
+ avatar_url?: string | null | undefined;
4642
+ bot?: {
4643
+ owner?: {
4644
+ type: "user" | "workspace";
4645
+ workspace?: boolean | undefined;
4646
+ } | undefined;
4647
+ workspace_name?: string | undefined;
4648
+ } | undefined;
4649
+ };
4650
+ last_edited_by: {
4651
+ object: "user";
4652
+ id: string;
4653
+ type?: "person" | "bot" | undefined;
4654
+ name?: string | undefined;
4655
+ person?: {
4656
+ email?: string | undefined;
4657
+ } | undefined;
4658
+ avatar_url?: string | null | undefined;
4659
+ bot?: {
4660
+ owner?: {
4661
+ type: "user" | "workspace";
4662
+ workspace?: boolean | undefined;
4663
+ } | undefined;
4664
+ workspace_name?: string | undefined;
4665
+ } | undefined;
4666
+ };
4667
4667
  icon?: {
4668
4668
  type: "emoji";
4669
4669
  emoji: string;
@@ -4700,13 +4700,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4700
4700
  public_url?: string | null | undefined;
4701
4701
  } | undefined;
4702
4702
  }, {
4703
- success: boolean;
4704
4703
  error: string;
4704
+ success: boolean;
4705
4705
  operation: "update_page";
4706
4706
  page?: {
4707
4707
  object: "page";
4708
- url: string;
4709
4708
  properties: Record<string, unknown>;
4709
+ url: string;
4710
4710
  id: string;
4711
4711
  parent: {
4712
4712
  type: "page_id";
@@ -4725,8 +4725,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4725
4725
  type: "workspace";
4726
4726
  workspace: true;
4727
4727
  };
4728
- created_time: string;
4728
+ archived: boolean;
4729
4729
  last_edited_time: string;
4730
+ created_time: string;
4730
4731
  created_by: {
4731
4732
  object: "user";
4732
4733
  id: string;
@@ -4761,7 +4762,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4761
4762
  workspace_name?: string | undefined;
4762
4763
  } | undefined;
4763
4764
  };
4764
- archived: boolean;
4765
4765
  icon?: {
4766
4766
  type: "emoji";
4767
4767
  emoji: string;
@@ -5371,8 +5371,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5371
5371
  type: "workspace";
5372
5372
  workspace: true;
5373
5373
  };
5374
- created_time: string;
5375
5374
  last_edited_time: string;
5375
+ created_time: string;
5376
5376
  data_sources: {
5377
5377
  name: string;
5378
5378
  id: string;
@@ -5409,7 +5409,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5409
5409
  };
5410
5410
  } | null | undefined;
5411
5411
  }[];
5412
- url?: string | undefined;
5413
5412
  description?: {
5414
5413
  type: "text" | "mention" | "equation";
5415
5414
  text?: {
@@ -5429,6 +5428,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5429
5428
  } | undefined;
5430
5429
  href?: string | null | undefined;
5431
5430
  }[] | undefined;
5431
+ url?: string | undefined;
5432
5432
  is_locked?: boolean | undefined;
5433
5433
  icon?: {
5434
5434
  type: "emoji";
@@ -5463,8 +5463,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5463
5463
  };
5464
5464
  } | null | undefined;
5465
5465
  in_trash?: boolean | undefined;
5466
- public_url?: string | null | undefined;
5467
5466
  is_inline?: boolean | undefined;
5467
+ public_url?: string | null | undefined;
5468
5468
  }, {
5469
5469
  object: "database";
5470
5470
  title: {
@@ -5504,8 +5504,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5504
5504
  type: "workspace";
5505
5505
  workspace: true;
5506
5506
  };
5507
- created_time: string;
5508
5507
  last_edited_time: string;
5508
+ created_time: string;
5509
5509
  data_sources: {
5510
5510
  name: string;
5511
5511
  id: string;
@@ -5542,7 +5542,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5542
5542
  };
5543
5543
  } | null | undefined;
5544
5544
  }[];
5545
- url?: string | undefined;
5546
5545
  description?: {
5547
5546
  type: "text" | "mention" | "equation";
5548
5547
  text?: {
@@ -5562,6 +5561,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5562
5561
  } | undefined;
5563
5562
  href?: string | null | undefined;
5564
5563
  }[] | undefined;
5564
+ url?: string | undefined;
5565
5565
  is_locked?: boolean | undefined;
5566
5566
  icon?: {
5567
5567
  type: "emoji";
@@ -5596,12 +5596,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5596
5596
  };
5597
5597
  } | null | undefined;
5598
5598
  in_trash?: boolean | undefined;
5599
- public_url?: string | null | undefined;
5600
5599
  is_inline?: boolean | undefined;
5600
+ public_url?: string | null | undefined;
5601
5601
  }>>;
5602
5602
  }, "strip", z.ZodTypeAny, {
5603
- success: boolean;
5604
5603
  error: string;
5604
+ success: boolean;
5605
5605
  operation: "retrieve_database";
5606
5606
  database?: {
5607
5607
  object: "database";
@@ -5642,8 +5642,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5642
5642
  type: "workspace";
5643
5643
  workspace: true;
5644
5644
  };
5645
- created_time: string;
5646
5645
  last_edited_time: string;
5646
+ created_time: string;
5647
5647
  data_sources: {
5648
5648
  name: string;
5649
5649
  id: string;
@@ -5680,7 +5680,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5680
5680
  };
5681
5681
  } | null | undefined;
5682
5682
  }[];
5683
- url?: string | undefined;
5684
5683
  description?: {
5685
5684
  type: "text" | "mention" | "equation";
5686
5685
  text?: {
@@ -5700,6 +5699,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5700
5699
  } | undefined;
5701
5700
  href?: string | null | undefined;
5702
5701
  }[] | undefined;
5702
+ url?: string | undefined;
5703
5703
  is_locked?: boolean | undefined;
5704
5704
  icon?: {
5705
5705
  type: "emoji";
@@ -5734,12 +5734,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5734
5734
  };
5735
5735
  } | null | undefined;
5736
5736
  in_trash?: boolean | undefined;
5737
- public_url?: string | null | undefined;
5738
5737
  is_inline?: boolean | undefined;
5738
+ public_url?: string | null | undefined;
5739
5739
  } | undefined;
5740
5740
  }, {
5741
- success: boolean;
5742
5741
  error: string;
5742
+ success: boolean;
5743
5743
  operation: "retrieve_database";
5744
5744
  database?: {
5745
5745
  object: "database";
@@ -5780,8 +5780,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5780
5780
  type: "workspace";
5781
5781
  workspace: true;
5782
5782
  };
5783
- created_time: string;
5784
5783
  last_edited_time: string;
5784
+ created_time: string;
5785
5785
  data_sources: {
5786
5786
  name: string;
5787
5787
  id: string;
@@ -5818,7 +5818,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5818
5818
  };
5819
5819
  } | null | undefined;
5820
5820
  }[];
5821
- url?: string | undefined;
5822
5821
  description?: {
5823
5822
  type: "text" | "mention" | "equation";
5824
5823
  text?: {
@@ -5838,6 +5837,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5838
5837
  } | undefined;
5839
5838
  href?: string | null | undefined;
5840
5839
  }[] | undefined;
5840
+ url?: string | undefined;
5841
5841
  is_locked?: boolean | undefined;
5842
5842
  icon?: {
5843
5843
  type: "emoji";
@@ -5872,8 +5872,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5872
5872
  };
5873
5873
  } | null | undefined;
5874
5874
  in_trash?: boolean | undefined;
5875
- public_url?: string | null | undefined;
5876
5875
  is_inline?: boolean | undefined;
5876
+ public_url?: string | null | undefined;
5877
5877
  } | undefined;
5878
5878
  }>, z.ZodObject<{
5879
5879
  operation: z.ZodLiteral<"retrieve_data_source">;
@@ -7219,8 +7219,8 @@ 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
- success: boolean;
7223
7222
  error: string;
7223
+ success: boolean;
7224
7224
  operation: "retrieve_data_source";
7225
7225
  data_source?: z.objectOutputType<{
7226
7226
  object: z.ZodLiteral<"data_source">;
@@ -7670,8 +7670,8 @@ 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
- success: boolean;
7674
7673
  error: string;
7674
+ success: boolean;
7675
7675
  operation: "retrieve_data_source";
7676
7676
  data_source?: z.objectInputType<{
7677
7677
  object: z.ZodLiteral<"data_source">;
@@ -8179,8 +8179,8 @@ 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
- success: boolean;
8183
8182
  error: string;
8183
+ success: boolean;
8184
8184
  operation: "query_data_source";
8185
8185
  next_cursor?: string | null | undefined;
8186
8186
  has_more?: boolean | undefined;
@@ -8203,8 +8203,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
8203
8203
  in_trash: z.ZodOptional<z.ZodBoolean>;
8204
8204
  }, z.ZodTypeAny, "passthrough">[] | undefined;
8205
8205
  }, {
8206
- success: boolean;
8207
8206
  error: string;
8207
+ success: boolean;
8208
8208
  operation: "query_data_source";
8209
8209
  next_cursor?: string | null | undefined;
8210
8210
  has_more?: boolean | undefined;
@@ -9570,8 +9570,8 @@ 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
- success: boolean;
9574
9573
  error: string;
9574
+ success: boolean;
9575
9575
  operation: "create_data_source";
9576
9576
  dataSource?: z.objectOutputType<{
9577
9577
  object: z.ZodLiteral<"data_source">;
@@ -10021,8 +10021,8 @@ 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
- success: boolean;
10025
10024
  error: string;
10025
+ success: boolean;
10026
10026
  operation: "create_data_source";
10027
10027
  dataSource?: z.objectInputType<{
10028
10028
  object: z.ZodLiteral<"data_source">;
@@ -11815,8 +11815,8 @@ 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
- success: boolean;
11819
11818
  error: string;
11819
+ success: boolean;
11820
11820
  operation: "update_data_source";
11821
11821
  dataSource?: z.objectOutputType<{
11822
11822
  object: z.ZodLiteral<"data_source">;
@@ -12266,8 +12266,8 @@ 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
- success: boolean;
12270
12269
  error: string;
12270
+ success: boolean;
12271
12271
  operation: "update_data_source";
12272
12272
  dataSource?: z.objectInputType<{
12273
12273
  object: z.ZodLiteral<"data_source">;
@@ -13290,8 +13290,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13290
13290
  type: "workspace";
13291
13291
  workspace: true;
13292
13292
  };
13293
- created_time: string;
13294
13293
  last_edited_time: string;
13294
+ created_time: string;
13295
13295
  data_sources: {
13296
13296
  name: string;
13297
13297
  id: string;
@@ -13328,7 +13328,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13328
13328
  };
13329
13329
  } | null | undefined;
13330
13330
  }[];
13331
- url?: string | undefined;
13332
13331
  description?: {
13333
13332
  type: "text" | "mention" | "equation";
13334
13333
  text?: {
@@ -13348,6 +13347,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13348
13347
  } | undefined;
13349
13348
  href?: string | null | undefined;
13350
13349
  }[] | undefined;
13350
+ url?: string | undefined;
13351
13351
  is_locked?: boolean | undefined;
13352
13352
  icon?: {
13353
13353
  type: "emoji";
@@ -13382,8 +13382,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13382
13382
  };
13383
13383
  } | null | undefined;
13384
13384
  in_trash?: boolean | undefined;
13385
- public_url?: string | null | undefined;
13386
13385
  is_inline?: boolean | undefined;
13386
+ public_url?: string | null | undefined;
13387
13387
  }, {
13388
13388
  object: "database";
13389
13389
  title: {
@@ -13423,8 +13423,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13423
13423
  type: "workspace";
13424
13424
  workspace: true;
13425
13425
  };
13426
- created_time: string;
13427
13426
  last_edited_time: string;
13427
+ created_time: string;
13428
13428
  data_sources: {
13429
13429
  name: string;
13430
13430
  id: string;
@@ -13461,7 +13461,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13461
13461
  };
13462
13462
  } | null | undefined;
13463
13463
  }[];
13464
- url?: string | undefined;
13465
13464
  description?: {
13466
13465
  type: "text" | "mention" | "equation";
13467
13466
  text?: {
@@ -13481,6 +13480,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13481
13480
  } | undefined;
13482
13481
  href?: string | null | undefined;
13483
13482
  }[] | undefined;
13483
+ url?: string | undefined;
13484
13484
  is_locked?: boolean | undefined;
13485
13485
  icon?: {
13486
13486
  type: "emoji";
@@ -13515,12 +13515,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13515
13515
  };
13516
13516
  } | null | undefined;
13517
13517
  in_trash?: boolean | undefined;
13518
- public_url?: string | null | undefined;
13519
13518
  is_inline?: boolean | undefined;
13519
+ public_url?: string | null | undefined;
13520
13520
  }>>;
13521
13521
  }, "strip", z.ZodTypeAny, {
13522
- success: boolean;
13523
13522
  error: string;
13523
+ success: boolean;
13524
13524
  operation: "create_database";
13525
13525
  database?: {
13526
13526
  object: "database";
@@ -13561,8 +13561,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13561
13561
  type: "workspace";
13562
13562
  workspace: true;
13563
13563
  };
13564
- created_time: string;
13565
13564
  last_edited_time: string;
13565
+ created_time: string;
13566
13566
  data_sources: {
13567
13567
  name: string;
13568
13568
  id: string;
@@ -13599,7 +13599,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13599
13599
  };
13600
13600
  } | null | undefined;
13601
13601
  }[];
13602
- url?: string | undefined;
13603
13602
  description?: {
13604
13603
  type: "text" | "mention" | "equation";
13605
13604
  text?: {
@@ -13619,6 +13618,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13619
13618
  } | undefined;
13620
13619
  href?: string | null | undefined;
13621
13620
  }[] | undefined;
13621
+ url?: string | undefined;
13622
13622
  is_locked?: boolean | undefined;
13623
13623
  icon?: {
13624
13624
  type: "emoji";
@@ -13653,12 +13653,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13653
13653
  };
13654
13654
  } | null | undefined;
13655
13655
  in_trash?: boolean | undefined;
13656
- public_url?: string | null | undefined;
13657
13656
  is_inline?: boolean | undefined;
13657
+ public_url?: string | null | undefined;
13658
13658
  } | undefined;
13659
13659
  }, {
13660
- success: boolean;
13661
13660
  error: string;
13661
+ success: boolean;
13662
13662
  operation: "create_database";
13663
13663
  database?: {
13664
13664
  object: "database";
@@ -13699,8 +13699,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13699
13699
  type: "workspace";
13700
13700
  workspace: true;
13701
13701
  };
13702
- created_time: string;
13703
13702
  last_edited_time: string;
13703
+ created_time: string;
13704
13704
  data_sources: {
13705
13705
  name: string;
13706
13706
  id: string;
@@ -13737,7 +13737,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13737
13737
  };
13738
13738
  } | null | undefined;
13739
13739
  }[];
13740
- url?: string | undefined;
13741
13740
  description?: {
13742
13741
  type: "text" | "mention" | "equation";
13743
13742
  text?: {
@@ -13757,6 +13756,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13757
13756
  } | undefined;
13758
13757
  href?: string | null | undefined;
13759
13758
  }[] | undefined;
13759
+ url?: string | undefined;
13760
13760
  is_locked?: boolean | undefined;
13761
13761
  icon?: {
13762
13762
  type: "emoji";
@@ -13791,8 +13791,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13791
13791
  };
13792
13792
  } | null | undefined;
13793
13793
  in_trash?: boolean | undefined;
13794
- public_url?: string | null | undefined;
13795
13794
  is_inline?: boolean | undefined;
13795
+ public_url?: string | null | undefined;
13796
13796
  } | undefined;
13797
13797
  }>, z.ZodObject<{
13798
13798
  operation: z.ZodLiteral<"update_database">;
@@ -14368,8 +14368,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14368
14368
  type: "workspace";
14369
14369
  workspace: true;
14370
14370
  };
14371
- created_time: string;
14372
14371
  last_edited_time: string;
14372
+ created_time: string;
14373
14373
  data_sources: {
14374
14374
  name: string;
14375
14375
  id: string;
@@ -14406,7 +14406,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14406
14406
  };
14407
14407
  } | null | undefined;
14408
14408
  }[];
14409
- url?: string | undefined;
14410
14409
  description?: {
14411
14410
  type: "text" | "mention" | "equation";
14412
14411
  text?: {
@@ -14426,6 +14425,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14426
14425
  } | undefined;
14427
14426
  href?: string | null | undefined;
14428
14427
  }[] | undefined;
14428
+ url?: string | undefined;
14429
14429
  is_locked?: boolean | undefined;
14430
14430
  icon?: {
14431
14431
  type: "emoji";
@@ -14460,8 +14460,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14460
14460
  };
14461
14461
  } | null | undefined;
14462
14462
  in_trash?: boolean | undefined;
14463
- public_url?: string | null | undefined;
14464
14463
  is_inline?: boolean | undefined;
14464
+ public_url?: string | null | undefined;
14465
14465
  }, {
14466
14466
  object: "database";
14467
14467
  title: {
@@ -14501,8 +14501,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14501
14501
  type: "workspace";
14502
14502
  workspace: true;
14503
14503
  };
14504
- created_time: string;
14505
14504
  last_edited_time: string;
14505
+ created_time: string;
14506
14506
  data_sources: {
14507
14507
  name: string;
14508
14508
  id: string;
@@ -14539,7 +14539,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14539
14539
  };
14540
14540
  } | null | undefined;
14541
14541
  }[];
14542
- url?: string | undefined;
14543
14542
  description?: {
14544
14543
  type: "text" | "mention" | "equation";
14545
14544
  text?: {
@@ -14559,6 +14558,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14559
14558
  } | undefined;
14560
14559
  href?: string | null | undefined;
14561
14560
  }[] | undefined;
14561
+ url?: string | undefined;
14562
14562
  is_locked?: boolean | undefined;
14563
14563
  icon?: {
14564
14564
  type: "emoji";
@@ -14593,12 +14593,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14593
14593
  };
14594
14594
  } | null | undefined;
14595
14595
  in_trash?: boolean | undefined;
14596
- public_url?: string | null | undefined;
14597
14596
  is_inline?: boolean | undefined;
14597
+ public_url?: string | null | undefined;
14598
14598
  }>>;
14599
14599
  }, "strip", z.ZodTypeAny, {
14600
- success: boolean;
14601
14600
  error: string;
14601
+ success: boolean;
14602
14602
  operation: "update_database";
14603
14603
  database?: {
14604
14604
  object: "database";
@@ -14639,8 +14639,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14639
14639
  type: "workspace";
14640
14640
  workspace: true;
14641
14641
  };
14642
- created_time: string;
14643
14642
  last_edited_time: string;
14643
+ created_time: string;
14644
14644
  data_sources: {
14645
14645
  name: string;
14646
14646
  id: string;
@@ -14677,7 +14677,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14677
14677
  };
14678
14678
  } | null | undefined;
14679
14679
  }[];
14680
- url?: string | undefined;
14681
14680
  description?: {
14682
14681
  type: "text" | "mention" | "equation";
14683
14682
  text?: {
@@ -14697,6 +14696,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14697
14696
  } | undefined;
14698
14697
  href?: string | null | undefined;
14699
14698
  }[] | undefined;
14699
+ url?: string | undefined;
14700
14700
  is_locked?: boolean | undefined;
14701
14701
  icon?: {
14702
14702
  type: "emoji";
@@ -14731,12 +14731,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14731
14731
  };
14732
14732
  } | null | undefined;
14733
14733
  in_trash?: boolean | undefined;
14734
- public_url?: string | null | undefined;
14735
14734
  is_inline?: boolean | undefined;
14735
+ public_url?: string | null | undefined;
14736
14736
  } | undefined;
14737
14737
  }, {
14738
- success: boolean;
14739
14738
  error: string;
14739
+ success: boolean;
14740
14740
  operation: "update_database";
14741
14741
  database?: {
14742
14742
  object: "database";
@@ -14777,8 +14777,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14777
14777
  type: "workspace";
14778
14778
  workspace: true;
14779
14779
  };
14780
- created_time: string;
14781
14780
  last_edited_time: string;
14781
+ created_time: string;
14782
14782
  data_sources: {
14783
14783
  name: string;
14784
14784
  id: string;
@@ -14815,7 +14815,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14815
14815
  };
14816
14816
  } | null | undefined;
14817
14817
  }[];
14818
- url?: string | undefined;
14819
14818
  description?: {
14820
14819
  type: "text" | "mention" | "equation";
14821
14820
  text?: {
@@ -14835,6 +14834,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14835
14834
  } | undefined;
14836
14835
  href?: string | null | undefined;
14837
14836
  }[] | undefined;
14837
+ url?: string | undefined;
14838
14838
  is_locked?: boolean | undefined;
14839
14839
  icon?: {
14840
14840
  type: "emoji";
@@ -14869,8 +14869,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14869
14869
  };
14870
14870
  } | null | undefined;
14871
14871
  in_trash?: boolean | undefined;
14872
- public_url?: string | null | undefined;
14873
14872
  is_inline?: boolean | undefined;
14873
+ public_url?: string | null | undefined;
14874
14874
  } | undefined;
14875
14875
  }>, z.ZodObject<{
14876
14876
  operation: z.ZodLiteral<"append_block_children">;
@@ -15480,8 +15480,8 @@ 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
- success: boolean;
15484
15483
  error: string;
15484
+ success: boolean;
15485
15485
  operation: "append_block_children";
15486
15486
  blocks?: z.objectOutputType<{
15487
15487
  object: z.ZodLiteral<"block">;
@@ -15687,8 +15687,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15687
15687
  next_cursor?: string | null | undefined;
15688
15688
  has_more?: boolean | undefined;
15689
15689
  }, {
15690
- success: boolean;
15691
15690
  error: string;
15691
+ success: boolean;
15692
15692
  operation: "append_block_children";
15693
15693
  blocks?: z.objectInputType<{
15694
15694
  object: z.ZodLiteral<"block">;
@@ -16501,8 +16501,8 @@ 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
- success: boolean;
16505
16504
  error: string;
16505
+ success: boolean;
16506
16506
  operation: "retrieve_block_children";
16507
16507
  blocks?: z.objectOutputType<{
16508
16508
  object: z.ZodLiteral<"block">;
@@ -16708,8 +16708,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16708
16708
  next_cursor?: string | null | undefined;
16709
16709
  has_more?: boolean | undefined;
16710
16710
  }, {
16711
- success: boolean;
16712
16711
  error: string;
16712
+ success: boolean;
16713
16713
  operation: "retrieve_block_children";
16714
16714
  blocks?: z.objectInputType<{
16715
16715
  object: z.ZodLiteral<"block">;
@@ -17520,8 +17520,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17520
17520
  type: z.ZodString;
17521
17521
  }, z.ZodTypeAny, "passthrough">>>;
17522
17522
  }, "strip", z.ZodTypeAny, {
17523
- success: boolean;
17524
17523
  error: string;
17524
+ success: boolean;
17525
17525
  operation: "retrieve_block";
17526
17526
  block?: z.objectOutputType<{
17527
17527
  object: z.ZodLiteral<"block">;
@@ -17725,8 +17725,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17725
17725
  type: z.ZodString;
17726
17726
  }, z.ZodTypeAny, "passthrough"> | undefined;
17727
17727
  }, {
17728
- success: boolean;
17729
17728
  error: string;
17729
+ success: boolean;
17730
17730
  operation: "retrieve_block";
17731
17731
  block?: z.objectInputType<{
17732
17732
  object: z.ZodLiteral<"block">;
@@ -18535,8 +18535,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
18535
18535
  type: z.ZodString;
18536
18536
  }, z.ZodTypeAny, "passthrough">>>;
18537
18537
  }, "strip", z.ZodTypeAny, {
18538
- success: boolean;
18539
18538
  error: string;
18539
+ success: boolean;
18540
18540
  operation: "update_block";
18541
18541
  block?: z.objectOutputType<{
18542
18542
  object: z.ZodLiteral<"block">;
@@ -18740,8 +18740,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
18740
18740
  type: z.ZodString;
18741
18741
  }, z.ZodTypeAny, "passthrough"> | undefined;
18742
18742
  }, {
18743
- success: boolean;
18744
18743
  error: string;
18744
+ success: boolean;
18745
18745
  operation: "update_block";
18746
18746
  block?: z.objectInputType<{
18747
18747
  object: z.ZodLiteral<"block">;
@@ -19131,26 +19131,6 @@ 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;
19154
19134
  rich_text: {
19155
19135
  type: "text" | "mention" | "equation";
19156
19136
  text?: {
@@ -19170,18 +19150,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19170
19150
  } | undefined;
19171
19151
  href?: string | null | undefined;
19172
19152
  }[];
19173
- }, {
19174
- object: "comment";
19175
- id: string;
19176
- parent: {
19177
- type: "block_id" | "page_id";
19178
- block_id?: string | undefined;
19179
- page_id?: string | undefined;
19180
- } & {
19181
- [k: string]: unknown;
19182
- };
19183
- created_time: string;
19184
19153
  last_edited_time: string;
19154
+ created_time: string;
19185
19155
  created_by: {
19186
19156
  object: "user";
19187
19157
  id: string;
@@ -19200,6 +19170,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19200
19170
  } | undefined;
19201
19171
  };
19202
19172
  discussion_id: string;
19173
+ }, {
19174
+ object: "comment";
19175
+ id: string;
19176
+ parent: {
19177
+ type: "block_id" | "page_id";
19178
+ block_id?: string | undefined;
19179
+ page_id?: string | undefined;
19180
+ } & {
19181
+ [k: string]: unknown;
19182
+ };
19203
19183
  rich_text: {
19204
19184
  type: "text" | "mention" | "equation";
19205
19185
  text?: {
@@ -19219,23 +19199,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19219
19199
  } | undefined;
19220
19200
  href?: string | null | undefined;
19221
19201
  }[];
19222
- }>>;
19223
- }, "strip", z.ZodTypeAny, {
19224
- success: boolean;
19225
- error: string;
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
- created_time: string;
19238
19202
  last_edited_time: string;
19203
+ created_time: string;
19239
19204
  created_by: {
19240
19205
  object: "user";
19241
19206
  id: string;
@@ -19254,6 +19219,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19254
19219
  } | undefined;
19255
19220
  };
19256
19221
  discussion_id: string;
19222
+ }>>;
19223
+ }, "strip", z.ZodTypeAny, {
19224
+ error: string;
19225
+ success: boolean;
19226
+ operation: "create_comment";
19227
+ comment?: {
19228
+ object: "comment";
19229
+ id: string;
19230
+ parent: {
19231
+ type: "block_id" | "page_id";
19232
+ block_id?: string | undefined;
19233
+ page_id?: string | undefined;
19234
+ } & {
19235
+ [k: string]: unknown;
19236
+ };
19257
19237
  rich_text: {
19258
19238
  type: "text" | "mention" | "equation";
19259
19239
  text?: {
@@ -19273,23 +19253,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19273
19253
  } | undefined;
19274
19254
  href?: string | null | undefined;
19275
19255
  }[];
19276
- } | undefined;
19277
- }, {
19278
- success: boolean;
19279
- error: string;
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
- created_time: string;
19292
19256
  last_edited_time: string;
19257
+ created_time: string;
19293
19258
  created_by: {
19294
19259
  object: "user";
19295
19260
  id: string;
@@ -19308,6 +19273,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19308
19273
  } | undefined;
19309
19274
  };
19310
19275
  discussion_id: string;
19276
+ } | undefined;
19277
+ }, {
19278
+ error: string;
19279
+ success: boolean;
19280
+ operation: "create_comment";
19281
+ comment?: {
19282
+ object: "comment";
19283
+ id: string;
19284
+ parent: {
19285
+ type: "block_id" | "page_id";
19286
+ block_id?: string | undefined;
19287
+ page_id?: string | undefined;
19288
+ } & {
19289
+ [k: string]: unknown;
19290
+ };
19311
19291
  rich_text: {
19312
19292
  type: "text" | "mention" | "equation";
19313
19293
  text?: {
@@ -19327,6 +19307,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19327
19307
  } | undefined;
19328
19308
  href?: string | null | undefined;
19329
19309
  }[];
19310
+ last_edited_time: string;
19311
+ created_time: string;
19312
+ created_by: {
19313
+ object: "user";
19314
+ id: string;
19315
+ type?: "person" | "bot" | undefined;
19316
+ name?: string | undefined;
19317
+ person?: {
19318
+ email?: string | undefined;
19319
+ } | undefined;
19320
+ avatar_url?: string | null | undefined;
19321
+ bot?: {
19322
+ owner?: {
19323
+ type: "user" | "workspace";
19324
+ workspace?: boolean | undefined;
19325
+ } | undefined;
19326
+ workspace_name?: string | undefined;
19327
+ } | undefined;
19328
+ };
19329
+ discussion_id: string;
19330
19330
  } | undefined;
19331
19331
  }>, z.ZodObject<{
19332
19332
  operation: z.ZodLiteral<"retrieve_comment">;
@@ -19515,26 +19515,6 @@ 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;
19538
19518
  rich_text: {
19539
19519
  type: "text" | "mention" | "equation";
19540
19520
  text?: {
@@ -19554,18 +19534,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19554
19534
  } | undefined;
19555
19535
  href?: string | null | undefined;
19556
19536
  }[];
19557
- }, {
19558
- object: "comment";
19559
- id: string;
19560
- parent: {
19561
- type: "block_id" | "page_id";
19562
- block_id?: string | undefined;
19563
- page_id?: string | undefined;
19564
- } & {
19565
- [k: string]: unknown;
19566
- };
19567
- created_time: string;
19568
19537
  last_edited_time: string;
19538
+ created_time: string;
19569
19539
  created_by: {
19570
19540
  object: "user";
19571
19541
  id: string;
@@ -19584,6 +19554,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19584
19554
  } | undefined;
19585
19555
  };
19586
19556
  discussion_id: string;
19557
+ }, {
19558
+ object: "comment";
19559
+ id: string;
19560
+ parent: {
19561
+ type: "block_id" | "page_id";
19562
+ block_id?: string | undefined;
19563
+ page_id?: string | undefined;
19564
+ } & {
19565
+ [k: string]: unknown;
19566
+ };
19587
19567
  rich_text: {
19588
19568
  type: "text" | "mention" | "equation";
19589
19569
  text?: {
@@ -19603,23 +19583,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19603
19583
  } | undefined;
19604
19584
  href?: string | null | undefined;
19605
19585
  }[];
19606
- }>>;
19607
- }, "strip", z.ZodTypeAny, {
19608
- success: boolean;
19609
- error: string;
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
- created_time: string;
19622
19586
  last_edited_time: string;
19587
+ created_time: string;
19623
19588
  created_by: {
19624
19589
  object: "user";
19625
19590
  id: string;
@@ -19638,6 +19603,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19638
19603
  } | undefined;
19639
19604
  };
19640
19605
  discussion_id: string;
19606
+ }>>;
19607
+ }, "strip", z.ZodTypeAny, {
19608
+ error: string;
19609
+ success: boolean;
19610
+ operation: "retrieve_comment";
19611
+ comment?: {
19612
+ object: "comment";
19613
+ id: string;
19614
+ parent: {
19615
+ type: "block_id" | "page_id";
19616
+ block_id?: string | undefined;
19617
+ page_id?: string | undefined;
19618
+ } & {
19619
+ [k: string]: unknown;
19620
+ };
19641
19621
  rich_text: {
19642
19622
  type: "text" | "mention" | "equation";
19643
19623
  text?: {
@@ -19657,23 +19637,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19657
19637
  } | undefined;
19658
19638
  href?: string | null | undefined;
19659
19639
  }[];
19660
- } | undefined;
19661
- }, {
19662
- success: boolean;
19663
- error: string;
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
- created_time: string;
19676
19640
  last_edited_time: string;
19641
+ created_time: string;
19677
19642
  created_by: {
19678
19643
  object: "user";
19679
19644
  id: string;
@@ -19692,6 +19657,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19692
19657
  } | undefined;
19693
19658
  };
19694
19659
  discussion_id: string;
19660
+ } | undefined;
19661
+ }, {
19662
+ error: string;
19663
+ success: boolean;
19664
+ operation: "retrieve_comment";
19665
+ comment?: {
19666
+ object: "comment";
19667
+ id: string;
19668
+ parent: {
19669
+ type: "block_id" | "page_id";
19670
+ block_id?: string | undefined;
19671
+ page_id?: string | undefined;
19672
+ } & {
19673
+ [k: string]: unknown;
19674
+ };
19695
19675
  rich_text: {
19696
19676
  type: "text" | "mention" | "equation";
19697
19677
  text?: {
@@ -19711,6 +19691,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19711
19691
  } | undefined;
19712
19692
  href?: string | null | undefined;
19713
19693
  }[];
19694
+ last_edited_time: string;
19695
+ created_time: string;
19696
+ created_by: {
19697
+ object: "user";
19698
+ id: string;
19699
+ type?: "person" | "bot" | undefined;
19700
+ name?: string | undefined;
19701
+ person?: {
19702
+ email?: string | undefined;
19703
+ } | undefined;
19704
+ avatar_url?: string | null | undefined;
19705
+ bot?: {
19706
+ owner?: {
19707
+ type: "user" | "workspace";
19708
+ workspace?: boolean | undefined;
19709
+ } | undefined;
19710
+ workspace_name?: string | undefined;
19711
+ } | undefined;
19712
+ };
19713
+ discussion_id: string;
19714
19714
  } | undefined;
19715
19715
  }>, z.ZodObject<{
19716
19716
  operation: z.ZodLiteral<"list_users">;
@@ -19790,8 +19790,8 @@ 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
- success: boolean;
19794
19793
  error: string;
19794
+ success: boolean;
19795
19795
  operation: "list_users";
19796
19796
  users?: {
19797
19797
  object: "user";
@@ -19813,8 +19813,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19813
19813
  next_cursor?: string | null | undefined;
19814
19814
  has_more?: boolean | undefined;
19815
19815
  }, {
19816
- success: boolean;
19817
19816
  error: string;
19817
+ success: boolean;
19818
19818
  operation: "list_users";
19819
19819
  users?: {
19820
19820
  object: "user";
@@ -19894,8 +19894,8 @@ 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
- success: boolean;
19898
19897
  error: string;
19898
+ success: boolean;
19899
19899
  operation: "search";
19900
19900
  next_cursor?: string | null | undefined;
19901
19901
  has_more?: boolean | undefined;
@@ -19918,8 +19918,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19918
19918
  in_trash: z.ZodOptional<z.ZodBoolean>;
19919
19919
  }, z.ZodTypeAny, "passthrough">[] | undefined;
19920
19920
  }, {
19921
- success: boolean;
19922
19921
  error: string;
19922
+ success: boolean;
19923
19923
  operation: "search";
19924
19924
  next_cursor?: string | null | undefined;
19925
19925
  has_more?: boolean | undefined;
@@ -20183,6 +20183,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20183
20183
  type: "emoji";
20184
20184
  emoji: string;
20185
20185
  } | undefined;
20186
+ children?: unknown[] | undefined;
20186
20187
  cover?: {
20187
20188
  type: "file";
20188
20189
  file: {
@@ -20200,7 +20201,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20200
20201
  url: string;
20201
20202
  };
20202
20203
  } | undefined;
20203
- children?: unknown[] | undefined;
20204
20204
  }, {
20205
20205
  parent: {
20206
20206
  type: "page_id";
@@ -20242,6 +20242,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20242
20242
  type: "emoji";
20243
20243
  emoji: string;
20244
20244
  } | undefined;
20245
+ children?: unknown[] | undefined;
20245
20246
  cover?: {
20246
20247
  type: "file";
20247
20248
  file: {
@@ -20259,7 +20260,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20259
20260
  url: string;
20260
20261
  };
20261
20262
  } | undefined;
20262
- children?: unknown[] | undefined;
20263
20263
  }>, z.ZodObject<{
20264
20264
  operation: z.ZodLiteral<"retrieve_page">;
20265
20265
  page_id: z.ZodString;
@@ -21225,21 +21225,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21225
21225
  page_id: z.ZodOptional<z.ZodString>;
21226
21226
  workspace: z.ZodOptional<z.ZodLiteral<true>>;
21227
21227
  }, "strip", z.ZodTypeAny, {
21228
- type: "workspace" | "page_id";
21229
- workspace?: true | undefined;
21228
+ type: "page_id" | "workspace";
21230
21229
  page_id?: string | undefined;
21231
- }, {
21232
- type: "workspace" | "page_id";
21233
21230
  workspace?: true | undefined;
21231
+ }, {
21232
+ type: "page_id" | "workspace";
21234
21233
  page_id?: string | undefined;
21235
- }>, {
21236
- type: "workspace" | "page_id";
21237
21234
  workspace?: true | undefined;
21235
+ }>, {
21236
+ type: "page_id" | "workspace";
21238
21237
  page_id?: string | undefined;
21239
- }, {
21240
- type: "workspace" | "page_id";
21241
21238
  workspace?: true | undefined;
21239
+ }, {
21240
+ type: "page_id" | "workspace";
21242
21241
  page_id?: string | undefined;
21242
+ workspace?: true | undefined;
21243
21243
  }>, {
21244
21244
  type: "workspace";
21245
21245
  workspace: boolean;
@@ -21249,9 +21249,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21249
21249
  page_id: string;
21250
21250
  workspace?: undefined;
21251
21251
  }, {
21252
- type: "workspace" | "page_id";
21253
- workspace?: true | undefined;
21252
+ type: "page_id" | "workspace";
21254
21253
  page_id?: string | undefined;
21254
+ workspace?: true | undefined;
21255
21255
  }>;
21256
21256
  initial_data_source: z.ZodObject<{
21257
21257
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -21654,9 +21654,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21654
21654
  } | undefined;
21655
21655
  }, {
21656
21656
  parent: {
21657
- type: "workspace" | "page_id";
21658
- workspace?: true | undefined;
21657
+ type: "page_id" | "workspace";
21659
21658
  page_id?: string | undefined;
21659
+ workspace?: true | undefined;
21660
21660
  };
21661
21661
  operation: "create_database";
21662
21662
  initial_data_source: {
@@ -22959,8 +22959,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22959
22959
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22960
22960
  }, "strip", z.ZodTypeAny, {
22961
22961
  object: "page";
22962
- url: string;
22963
22962
  properties: Record<string, unknown>;
22963
+ url: string;
22964
22964
  id: string;
22965
22965
  parent: {
22966
22966
  type: "page_id";
@@ -22979,8 +22979,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22979
22979
  type: "workspace";
22980
22980
  workspace: true;
22981
22981
  };
22982
- created_time: string;
22982
+ archived: boolean;
22983
22983
  last_edited_time: string;
22984
+ created_time: string;
22984
22985
  created_by: {
22985
22986
  object: "user";
22986
22987
  id: string;
@@ -23015,7 +23016,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23015
23016
  workspace_name?: string | undefined;
23016
23017
  } | undefined;
23017
23018
  };
23018
- archived: boolean;
23019
23019
  icon?: {
23020
23020
  type: "emoji";
23021
23021
  emoji: string;
@@ -23052,8 +23052,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23052
23052
  public_url?: string | null | undefined;
23053
23053
  }, {
23054
23054
  object: "page";
23055
- url: string;
23056
23055
  properties: Record<string, unknown>;
23056
+ url: string;
23057
23057
  id: string;
23058
23058
  parent: {
23059
23059
  type: "page_id";
@@ -23072,8 +23072,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23072
23072
  type: "workspace";
23073
23073
  workspace: true;
23074
23074
  };
23075
- created_time: string;
23075
+ archived: boolean;
23076
23076
  last_edited_time: string;
23077
+ created_time: string;
23077
23078
  created_by: {
23078
23079
  object: "user";
23079
23080
  id: string;
@@ -23108,7 +23109,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23108
23109
  workspace_name?: string | undefined;
23109
23110
  } | undefined;
23110
23111
  };
23111
- archived: boolean;
23112
23112
  icon?: {
23113
23113
  type: "emoji";
23114
23114
  emoji: string;
@@ -23145,13 +23145,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23145
23145
  public_url?: string | null | undefined;
23146
23146
  }>>;
23147
23147
  }, "strip", z.ZodTypeAny, {
23148
- success: boolean;
23149
23148
  error: string;
23149
+ success: boolean;
23150
23150
  operation: "create_page";
23151
23151
  page?: {
23152
23152
  object: "page";
23153
- url: string;
23154
23153
  properties: Record<string, unknown>;
23154
+ url: string;
23155
23155
  id: string;
23156
23156
  parent: {
23157
23157
  type: "page_id";
@@ -23170,8 +23170,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23170
23170
  type: "workspace";
23171
23171
  workspace: true;
23172
23172
  };
23173
- created_time: string;
23173
+ archived: boolean;
23174
23174
  last_edited_time: string;
23175
+ created_time: string;
23175
23176
  created_by: {
23176
23177
  object: "user";
23177
23178
  id: string;
@@ -23206,7 +23207,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23206
23207
  workspace_name?: string | undefined;
23207
23208
  } | undefined;
23208
23209
  };
23209
- archived: boolean;
23210
23210
  icon?: {
23211
23211
  type: "emoji";
23212
23212
  emoji: string;
@@ -23243,13 +23243,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23243
23243
  public_url?: string | null | undefined;
23244
23244
  } | undefined;
23245
23245
  }, {
23246
- success: boolean;
23247
23246
  error: string;
23247
+ success: boolean;
23248
23248
  operation: "create_page";
23249
23249
  page?: {
23250
23250
  object: "page";
23251
- url: string;
23252
23251
  properties: Record<string, unknown>;
23252
+ url: string;
23253
23253
  id: string;
23254
23254
  parent: {
23255
23255
  type: "page_id";
@@ -23268,8 +23268,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23268
23268
  type: "workspace";
23269
23269
  workspace: true;
23270
23270
  };
23271
- created_time: string;
23271
+ archived: boolean;
23272
23272
  last_edited_time: string;
23273
+ created_time: string;
23273
23274
  created_by: {
23274
23275
  object: "user";
23275
23276
  id: string;
@@ -23304,7 +23305,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23304
23305
  workspace_name?: string | undefined;
23305
23306
  } | undefined;
23306
23307
  };
23307
- archived: boolean;
23308
23308
  icon?: {
23309
23309
  type: "emoji";
23310
23310
  emoji: string;
@@ -23663,8 +23663,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23663
23663
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23664
23664
  }, "strip", z.ZodTypeAny, {
23665
23665
  object: "page";
23666
- url: string;
23667
23666
  properties: Record<string, unknown>;
23667
+ url: string;
23668
23668
  id: string;
23669
23669
  parent: {
23670
23670
  type: "page_id";
@@ -23683,8 +23683,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23683
23683
  type: "workspace";
23684
23684
  workspace: true;
23685
23685
  };
23686
- created_time: string;
23686
+ archived: boolean;
23687
23687
  last_edited_time: string;
23688
+ created_time: string;
23688
23689
  created_by: {
23689
23690
  object: "user";
23690
23691
  id: string;
@@ -23719,7 +23720,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23719
23720
  workspace_name?: string | undefined;
23720
23721
  } | undefined;
23721
23722
  };
23722
- archived: boolean;
23723
23723
  icon?: {
23724
23724
  type: "emoji";
23725
23725
  emoji: string;
@@ -23756,8 +23756,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23756
23756
  public_url?: string | null | undefined;
23757
23757
  }, {
23758
23758
  object: "page";
23759
- url: string;
23760
23759
  properties: Record<string, unknown>;
23760
+ url: string;
23761
23761
  id: string;
23762
23762
  parent: {
23763
23763
  type: "page_id";
@@ -23776,8 +23776,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23776
23776
  type: "workspace";
23777
23777
  workspace: true;
23778
23778
  };
23779
- created_time: string;
23779
+ archived: boolean;
23780
23780
  last_edited_time: string;
23781
+ created_time: string;
23781
23782
  created_by: {
23782
23783
  object: "user";
23783
23784
  id: string;
@@ -23812,7 +23813,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23812
23813
  workspace_name?: string | undefined;
23813
23814
  } | undefined;
23814
23815
  };
23815
- archived: boolean;
23816
23816
  icon?: {
23817
23817
  type: "emoji";
23818
23818
  emoji: string;
@@ -23849,13 +23849,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23849
23849
  public_url?: string | null | undefined;
23850
23850
  }>>;
23851
23851
  }, "strip", z.ZodTypeAny, {
23852
- success: boolean;
23853
23852
  error: string;
23853
+ success: boolean;
23854
23854
  operation: "retrieve_page";
23855
23855
  page?: {
23856
23856
  object: "page";
23857
- url: string;
23858
23857
  properties: Record<string, unknown>;
23858
+ url: string;
23859
23859
  id: string;
23860
23860
  parent: {
23861
23861
  type: "page_id";
@@ -23874,8 +23874,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23874
23874
  type: "workspace";
23875
23875
  workspace: true;
23876
23876
  };
23877
- created_time: string;
23877
+ archived: boolean;
23878
23878
  last_edited_time: string;
23879
+ created_time: string;
23879
23880
  created_by: {
23880
23881
  object: "user";
23881
23882
  id: string;
@@ -23910,7 +23911,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23910
23911
  workspace_name?: string | undefined;
23911
23912
  } | undefined;
23912
23913
  };
23913
- archived: boolean;
23914
23914
  icon?: {
23915
23915
  type: "emoji";
23916
23916
  emoji: string;
@@ -23947,13 +23947,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23947
23947
  public_url?: string | null | undefined;
23948
23948
  } | undefined;
23949
23949
  }, {
23950
- success: boolean;
23951
23950
  error: string;
23951
+ success: boolean;
23952
23952
  operation: "retrieve_page";
23953
23953
  page?: {
23954
23954
  object: "page";
23955
- url: string;
23956
23955
  properties: Record<string, unknown>;
23956
+ url: string;
23957
23957
  id: string;
23958
23958
  parent: {
23959
23959
  type: "page_id";
@@ -23972,8 +23972,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23972
23972
  type: "workspace";
23973
23973
  workspace: true;
23974
23974
  };
23975
- created_time: string;
23975
+ archived: boolean;
23976
23976
  last_edited_time: string;
23977
+ created_time: string;
23977
23978
  created_by: {
23978
23979
  object: "user";
23979
23980
  id: string;
@@ -24008,7 +24009,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24008
24009
  workspace_name?: string | undefined;
24009
24010
  } | undefined;
24010
24011
  };
24011
- archived: boolean;
24012
24012
  icon?: {
24013
24013
  type: "emoji";
24014
24014
  emoji: string;
@@ -24367,8 +24367,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24367
24367
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24368
24368
  }, "strip", z.ZodTypeAny, {
24369
24369
  object: "page";
24370
- url: string;
24371
24370
  properties: Record<string, unknown>;
24371
+ url: string;
24372
24372
  id: string;
24373
24373
  parent: {
24374
24374
  type: "page_id";
@@ -24387,8 +24387,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24387
24387
  type: "workspace";
24388
24388
  workspace: true;
24389
24389
  };
24390
- created_time: string;
24390
+ archived: boolean;
24391
24391
  last_edited_time: string;
24392
+ created_time: string;
24392
24393
  created_by: {
24393
24394
  object: "user";
24394
24395
  id: string;
@@ -24423,7 +24424,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24423
24424
  workspace_name?: string | undefined;
24424
24425
  } | undefined;
24425
24426
  };
24426
- archived: boolean;
24427
24427
  icon?: {
24428
24428
  type: "emoji";
24429
24429
  emoji: string;
@@ -24460,8 +24460,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24460
24460
  public_url?: string | null | undefined;
24461
24461
  }, {
24462
24462
  object: "page";
24463
- url: string;
24464
24463
  properties: Record<string, unknown>;
24464
+ url: string;
24465
24465
  id: string;
24466
24466
  parent: {
24467
24467
  type: "page_id";
@@ -24480,8 +24480,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24480
24480
  type: "workspace";
24481
24481
  workspace: true;
24482
24482
  };
24483
- created_time: string;
24483
+ archived: boolean;
24484
24484
  last_edited_time: string;
24485
+ created_time: string;
24485
24486
  created_by: {
24486
24487
  object: "user";
24487
24488
  id: string;
@@ -24516,7 +24517,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24516
24517
  workspace_name?: string | undefined;
24517
24518
  } | undefined;
24518
24519
  };
24519
- archived: boolean;
24520
24520
  icon?: {
24521
24521
  type: "emoji";
24522
24522
  emoji: string;
@@ -24553,13 +24553,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24553
24553
  public_url?: string | null | undefined;
24554
24554
  }>>;
24555
24555
  }, "strip", z.ZodTypeAny, {
24556
- success: boolean;
24557
24556
  error: string;
24557
+ success: boolean;
24558
24558
  operation: "update_page";
24559
24559
  page?: {
24560
24560
  object: "page";
24561
- url: string;
24562
24561
  properties: Record<string, unknown>;
24562
+ url: string;
24563
24563
  id: string;
24564
24564
  parent: {
24565
24565
  type: "page_id";
@@ -24578,8 +24578,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24578
24578
  type: "workspace";
24579
24579
  workspace: true;
24580
24580
  };
24581
- created_time: string;
24581
+ archived: boolean;
24582
24582
  last_edited_time: string;
24583
+ created_time: string;
24583
24584
  created_by: {
24584
24585
  object: "user";
24585
24586
  id: string;
@@ -24614,7 +24615,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24614
24615
  workspace_name?: string | undefined;
24615
24616
  } | undefined;
24616
24617
  };
24617
- archived: boolean;
24618
24618
  icon?: {
24619
24619
  type: "emoji";
24620
24620
  emoji: string;
@@ -24651,13 +24651,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24651
24651
  public_url?: string | null | undefined;
24652
24652
  } | undefined;
24653
24653
  }, {
24654
- success: boolean;
24655
24654
  error: string;
24655
+ success: boolean;
24656
24656
  operation: "update_page";
24657
24657
  page?: {
24658
24658
  object: "page";
24659
- url: string;
24660
24659
  properties: Record<string, unknown>;
24660
+ url: string;
24661
24661
  id: string;
24662
24662
  parent: {
24663
24663
  type: "page_id";
@@ -24676,8 +24676,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24676
24676
  type: "workspace";
24677
24677
  workspace: true;
24678
24678
  };
24679
- created_time: string;
24679
+ archived: boolean;
24680
24680
  last_edited_time: string;
24681
+ created_time: string;
24681
24682
  created_by: {
24682
24683
  object: "user";
24683
24684
  id: string;
@@ -24712,7 +24713,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24712
24713
  workspace_name?: string | undefined;
24713
24714
  } | undefined;
24714
24715
  };
24715
- archived: boolean;
24716
24716
  icon?: {
24717
24717
  type: "emoji";
24718
24718
  emoji: string;
@@ -25322,8 +25322,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25322
25322
  type: "workspace";
25323
25323
  workspace: true;
25324
25324
  };
25325
- created_time: string;
25326
25325
  last_edited_time: string;
25326
+ created_time: string;
25327
25327
  data_sources: {
25328
25328
  name: string;
25329
25329
  id: string;
@@ -25360,7 +25360,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25360
25360
  };
25361
25361
  } | null | undefined;
25362
25362
  }[];
25363
- url?: string | undefined;
25364
25363
  description?: {
25365
25364
  type: "text" | "mention" | "equation";
25366
25365
  text?: {
@@ -25380,6 +25379,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25380
25379
  } | undefined;
25381
25380
  href?: string | null | undefined;
25382
25381
  }[] | undefined;
25382
+ url?: string | undefined;
25383
25383
  is_locked?: boolean | undefined;
25384
25384
  icon?: {
25385
25385
  type: "emoji";
@@ -25414,8 +25414,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25414
25414
  };
25415
25415
  } | null | undefined;
25416
25416
  in_trash?: boolean | undefined;
25417
- public_url?: string | null | undefined;
25418
25417
  is_inline?: boolean | undefined;
25418
+ public_url?: string | null | undefined;
25419
25419
  }, {
25420
25420
  object: "database";
25421
25421
  title: {
@@ -25455,8 +25455,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25455
25455
  type: "workspace";
25456
25456
  workspace: true;
25457
25457
  };
25458
- created_time: string;
25459
25458
  last_edited_time: string;
25459
+ created_time: string;
25460
25460
  data_sources: {
25461
25461
  name: string;
25462
25462
  id: string;
@@ -25493,7 +25493,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25493
25493
  };
25494
25494
  } | null | undefined;
25495
25495
  }[];
25496
- url?: string | undefined;
25497
25496
  description?: {
25498
25497
  type: "text" | "mention" | "equation";
25499
25498
  text?: {
@@ -25513,6 +25512,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25513
25512
  } | undefined;
25514
25513
  href?: string | null | undefined;
25515
25514
  }[] | undefined;
25515
+ url?: string | undefined;
25516
25516
  is_locked?: boolean | undefined;
25517
25517
  icon?: {
25518
25518
  type: "emoji";
@@ -25547,12 +25547,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25547
25547
  };
25548
25548
  } | null | undefined;
25549
25549
  in_trash?: boolean | undefined;
25550
- public_url?: string | null | undefined;
25551
25550
  is_inline?: boolean | undefined;
25551
+ public_url?: string | null | undefined;
25552
25552
  }>>;
25553
25553
  }, "strip", z.ZodTypeAny, {
25554
- success: boolean;
25555
25554
  error: string;
25555
+ success: boolean;
25556
25556
  operation: "retrieve_database";
25557
25557
  database?: {
25558
25558
  object: "database";
@@ -25593,8 +25593,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25593
25593
  type: "workspace";
25594
25594
  workspace: true;
25595
25595
  };
25596
- created_time: string;
25597
25596
  last_edited_time: string;
25597
+ created_time: string;
25598
25598
  data_sources: {
25599
25599
  name: string;
25600
25600
  id: string;
@@ -25631,7 +25631,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25631
25631
  };
25632
25632
  } | null | undefined;
25633
25633
  }[];
25634
- url?: string | undefined;
25635
25634
  description?: {
25636
25635
  type: "text" | "mention" | "equation";
25637
25636
  text?: {
@@ -25651,6 +25650,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25651
25650
  } | undefined;
25652
25651
  href?: string | null | undefined;
25653
25652
  }[] | undefined;
25653
+ url?: string | undefined;
25654
25654
  is_locked?: boolean | undefined;
25655
25655
  icon?: {
25656
25656
  type: "emoji";
@@ -25685,12 +25685,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25685
25685
  };
25686
25686
  } | null | undefined;
25687
25687
  in_trash?: boolean | undefined;
25688
- public_url?: string | null | undefined;
25689
25688
  is_inline?: boolean | undefined;
25689
+ public_url?: string | null | undefined;
25690
25690
  } | undefined;
25691
25691
  }, {
25692
- success: boolean;
25693
25692
  error: string;
25693
+ success: boolean;
25694
25694
  operation: "retrieve_database";
25695
25695
  database?: {
25696
25696
  object: "database";
@@ -25731,8 +25731,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25731
25731
  type: "workspace";
25732
25732
  workspace: true;
25733
25733
  };
25734
- created_time: string;
25735
25734
  last_edited_time: string;
25735
+ created_time: string;
25736
25736
  data_sources: {
25737
25737
  name: string;
25738
25738
  id: string;
@@ -25769,7 +25769,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25769
25769
  };
25770
25770
  } | null | undefined;
25771
25771
  }[];
25772
- url?: string | undefined;
25773
25772
  description?: {
25774
25773
  type: "text" | "mention" | "equation";
25775
25774
  text?: {
@@ -25789,6 +25788,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25789
25788
  } | undefined;
25790
25789
  href?: string | null | undefined;
25791
25790
  }[] | undefined;
25791
+ url?: string | undefined;
25792
25792
  is_locked?: boolean | undefined;
25793
25793
  icon?: {
25794
25794
  type: "emoji";
@@ -25823,8 +25823,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25823
25823
  };
25824
25824
  } | null | undefined;
25825
25825
  in_trash?: boolean | undefined;
25826
- public_url?: string | null | undefined;
25827
25826
  is_inline?: boolean | undefined;
25827
+ public_url?: string | null | undefined;
25828
25828
  } | undefined;
25829
25829
  }>, z.ZodObject<{
25830
25830
  operation: z.ZodLiteral<"retrieve_data_source">;
@@ -27170,8 +27170,8 @@ 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
- success: boolean;
27174
27173
  error: string;
27174
+ success: boolean;
27175
27175
  operation: "retrieve_data_source";
27176
27176
  data_source?: z.objectOutputType<{
27177
27177
  object: z.ZodLiteral<"data_source">;
@@ -27621,8 +27621,8 @@ 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
- success: boolean;
27625
27624
  error: string;
27625
+ success: boolean;
27626
27626
  operation: "retrieve_data_source";
27627
27627
  data_source?: z.objectInputType<{
27628
27628
  object: z.ZodLiteral<"data_source">;
@@ -28130,8 +28130,8 @@ 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
- success: boolean;
28134
28133
  error: string;
28134
+ success: boolean;
28135
28135
  operation: "query_data_source";
28136
28136
  next_cursor?: string | null | undefined;
28137
28137
  has_more?: boolean | undefined;
@@ -28154,8 +28154,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28154
28154
  in_trash: z.ZodOptional<z.ZodBoolean>;
28155
28155
  }, z.ZodTypeAny, "passthrough">[] | undefined;
28156
28156
  }, {
28157
- success: boolean;
28158
28157
  error: string;
28158
+ success: boolean;
28159
28159
  operation: "query_data_source";
28160
28160
  next_cursor?: string | null | undefined;
28161
28161
  has_more?: boolean | undefined;
@@ -29521,8 +29521,8 @@ 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
- success: boolean;
29525
29524
  error: string;
29525
+ success: boolean;
29526
29526
  operation: "create_data_source";
29527
29527
  dataSource?: z.objectOutputType<{
29528
29528
  object: z.ZodLiteral<"data_source">;
@@ -29972,8 +29972,8 @@ 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
- success: boolean;
29976
29975
  error: string;
29976
+ success: boolean;
29977
29977
  operation: "create_data_source";
29978
29978
  dataSource?: z.objectInputType<{
29979
29979
  object: z.ZodLiteral<"data_source">;
@@ -31766,8 +31766,8 @@ 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
- success: boolean;
31770
31769
  error: string;
31770
+ success: boolean;
31771
31771
  operation: "update_data_source";
31772
31772
  dataSource?: z.objectOutputType<{
31773
31773
  object: z.ZodLiteral<"data_source">;
@@ -32217,8 +32217,8 @@ 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
- success: boolean;
32221
32220
  error: string;
32221
+ success: boolean;
32222
32222
  operation: "update_data_source";
32223
32223
  dataSource?: z.objectInputType<{
32224
32224
  object: z.ZodLiteral<"data_source">;
@@ -33241,8 +33241,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33241
33241
  type: "workspace";
33242
33242
  workspace: true;
33243
33243
  };
33244
- created_time: string;
33245
33244
  last_edited_time: string;
33245
+ created_time: string;
33246
33246
  data_sources: {
33247
33247
  name: string;
33248
33248
  id: string;
@@ -33279,7 +33279,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33279
33279
  };
33280
33280
  } | null | undefined;
33281
33281
  }[];
33282
- url?: string | undefined;
33283
33282
  description?: {
33284
33283
  type: "text" | "mention" | "equation";
33285
33284
  text?: {
@@ -33299,6 +33298,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33299
33298
  } | undefined;
33300
33299
  href?: string | null | undefined;
33301
33300
  }[] | undefined;
33301
+ url?: string | undefined;
33302
33302
  is_locked?: boolean | undefined;
33303
33303
  icon?: {
33304
33304
  type: "emoji";
@@ -33333,8 +33333,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33333
33333
  };
33334
33334
  } | null | undefined;
33335
33335
  in_trash?: boolean | undefined;
33336
- public_url?: string | null | undefined;
33337
33336
  is_inline?: boolean | undefined;
33337
+ public_url?: string | null | undefined;
33338
33338
  }, {
33339
33339
  object: "database";
33340
33340
  title: {
@@ -33374,8 +33374,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33374
33374
  type: "workspace";
33375
33375
  workspace: true;
33376
33376
  };
33377
- created_time: string;
33378
33377
  last_edited_time: string;
33378
+ created_time: string;
33379
33379
  data_sources: {
33380
33380
  name: string;
33381
33381
  id: string;
@@ -33412,7 +33412,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33412
33412
  };
33413
33413
  } | null | undefined;
33414
33414
  }[];
33415
- url?: string | undefined;
33416
33415
  description?: {
33417
33416
  type: "text" | "mention" | "equation";
33418
33417
  text?: {
@@ -33432,6 +33431,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33432
33431
  } | undefined;
33433
33432
  href?: string | null | undefined;
33434
33433
  }[] | undefined;
33434
+ url?: string | undefined;
33435
33435
  is_locked?: boolean | undefined;
33436
33436
  icon?: {
33437
33437
  type: "emoji";
@@ -33466,12 +33466,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33466
33466
  };
33467
33467
  } | null | undefined;
33468
33468
  in_trash?: boolean | undefined;
33469
- public_url?: string | null | undefined;
33470
33469
  is_inline?: boolean | undefined;
33470
+ public_url?: string | null | undefined;
33471
33471
  }>>;
33472
33472
  }, "strip", z.ZodTypeAny, {
33473
- success: boolean;
33474
33473
  error: string;
33474
+ success: boolean;
33475
33475
  operation: "create_database";
33476
33476
  database?: {
33477
33477
  object: "database";
@@ -33512,8 +33512,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33512
33512
  type: "workspace";
33513
33513
  workspace: true;
33514
33514
  };
33515
- created_time: string;
33516
33515
  last_edited_time: string;
33516
+ created_time: string;
33517
33517
  data_sources: {
33518
33518
  name: string;
33519
33519
  id: string;
@@ -33550,7 +33550,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33550
33550
  };
33551
33551
  } | null | undefined;
33552
33552
  }[];
33553
- url?: string | undefined;
33554
33553
  description?: {
33555
33554
  type: "text" | "mention" | "equation";
33556
33555
  text?: {
@@ -33570,6 +33569,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33570
33569
  } | undefined;
33571
33570
  href?: string | null | undefined;
33572
33571
  }[] | undefined;
33572
+ url?: string | undefined;
33573
33573
  is_locked?: boolean | undefined;
33574
33574
  icon?: {
33575
33575
  type: "emoji";
@@ -33604,12 +33604,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33604
33604
  };
33605
33605
  } | null | undefined;
33606
33606
  in_trash?: boolean | undefined;
33607
- public_url?: string | null | undefined;
33608
33607
  is_inline?: boolean | undefined;
33608
+ public_url?: string | null | undefined;
33609
33609
  } | undefined;
33610
33610
  }, {
33611
- success: boolean;
33612
33611
  error: string;
33612
+ success: boolean;
33613
33613
  operation: "create_database";
33614
33614
  database?: {
33615
33615
  object: "database";
@@ -33650,8 +33650,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33650
33650
  type: "workspace";
33651
33651
  workspace: true;
33652
33652
  };
33653
- created_time: string;
33654
33653
  last_edited_time: string;
33654
+ created_time: string;
33655
33655
  data_sources: {
33656
33656
  name: string;
33657
33657
  id: string;
@@ -33688,7 +33688,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33688
33688
  };
33689
33689
  } | null | undefined;
33690
33690
  }[];
33691
- url?: string | undefined;
33692
33691
  description?: {
33693
33692
  type: "text" | "mention" | "equation";
33694
33693
  text?: {
@@ -33708,6 +33707,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33708
33707
  } | undefined;
33709
33708
  href?: string | null | undefined;
33710
33709
  }[] | undefined;
33710
+ url?: string | undefined;
33711
33711
  is_locked?: boolean | undefined;
33712
33712
  icon?: {
33713
33713
  type: "emoji";
@@ -33742,8 +33742,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33742
33742
  };
33743
33743
  } | null | undefined;
33744
33744
  in_trash?: boolean | undefined;
33745
- public_url?: string | null | undefined;
33746
33745
  is_inline?: boolean | undefined;
33746
+ public_url?: string | null | undefined;
33747
33747
  } | undefined;
33748
33748
  }>, z.ZodObject<{
33749
33749
  operation: z.ZodLiteral<"update_database">;
@@ -34319,8 +34319,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34319
34319
  type: "workspace";
34320
34320
  workspace: true;
34321
34321
  };
34322
- created_time: string;
34323
34322
  last_edited_time: string;
34323
+ created_time: string;
34324
34324
  data_sources: {
34325
34325
  name: string;
34326
34326
  id: string;
@@ -34357,7 +34357,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34357
34357
  };
34358
34358
  } | null | undefined;
34359
34359
  }[];
34360
- url?: string | undefined;
34361
34360
  description?: {
34362
34361
  type: "text" | "mention" | "equation";
34363
34362
  text?: {
@@ -34377,6 +34376,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34377
34376
  } | undefined;
34378
34377
  href?: string | null | undefined;
34379
34378
  }[] | undefined;
34379
+ url?: string | undefined;
34380
34380
  is_locked?: boolean | undefined;
34381
34381
  icon?: {
34382
34382
  type: "emoji";
@@ -34411,8 +34411,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34411
34411
  };
34412
34412
  } | null | undefined;
34413
34413
  in_trash?: boolean | undefined;
34414
- public_url?: string | null | undefined;
34415
34414
  is_inline?: boolean | undefined;
34415
+ public_url?: string | null | undefined;
34416
34416
  }, {
34417
34417
  object: "database";
34418
34418
  title: {
@@ -34452,8 +34452,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34452
34452
  type: "workspace";
34453
34453
  workspace: true;
34454
34454
  };
34455
- created_time: string;
34456
34455
  last_edited_time: string;
34456
+ created_time: string;
34457
34457
  data_sources: {
34458
34458
  name: string;
34459
34459
  id: string;
@@ -34490,7 +34490,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34490
34490
  };
34491
34491
  } | null | undefined;
34492
34492
  }[];
34493
- url?: string | undefined;
34494
34493
  description?: {
34495
34494
  type: "text" | "mention" | "equation";
34496
34495
  text?: {
@@ -34510,6 +34509,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34510
34509
  } | undefined;
34511
34510
  href?: string | null | undefined;
34512
34511
  }[] | undefined;
34512
+ url?: string | undefined;
34513
34513
  is_locked?: boolean | undefined;
34514
34514
  icon?: {
34515
34515
  type: "emoji";
@@ -34544,12 +34544,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34544
34544
  };
34545
34545
  } | null | undefined;
34546
34546
  in_trash?: boolean | undefined;
34547
- public_url?: string | null | undefined;
34548
34547
  is_inline?: boolean | undefined;
34548
+ public_url?: string | null | undefined;
34549
34549
  }>>;
34550
34550
  }, "strip", z.ZodTypeAny, {
34551
- success: boolean;
34552
34551
  error: string;
34552
+ success: boolean;
34553
34553
  operation: "update_database";
34554
34554
  database?: {
34555
34555
  object: "database";
@@ -34590,8 +34590,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34590
34590
  type: "workspace";
34591
34591
  workspace: true;
34592
34592
  };
34593
- created_time: string;
34594
34593
  last_edited_time: string;
34594
+ created_time: string;
34595
34595
  data_sources: {
34596
34596
  name: string;
34597
34597
  id: string;
@@ -34628,7 +34628,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34628
34628
  };
34629
34629
  } | null | undefined;
34630
34630
  }[];
34631
- url?: string | undefined;
34632
34631
  description?: {
34633
34632
  type: "text" | "mention" | "equation";
34634
34633
  text?: {
@@ -34648,6 +34647,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34648
34647
  } | undefined;
34649
34648
  href?: string | null | undefined;
34650
34649
  }[] | undefined;
34650
+ url?: string | undefined;
34651
34651
  is_locked?: boolean | undefined;
34652
34652
  icon?: {
34653
34653
  type: "emoji";
@@ -34682,12 +34682,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34682
34682
  };
34683
34683
  } | null | undefined;
34684
34684
  in_trash?: boolean | undefined;
34685
- public_url?: string | null | undefined;
34686
34685
  is_inline?: boolean | undefined;
34686
+ public_url?: string | null | undefined;
34687
34687
  } | undefined;
34688
34688
  }, {
34689
- success: boolean;
34690
34689
  error: string;
34690
+ success: boolean;
34691
34691
  operation: "update_database";
34692
34692
  database?: {
34693
34693
  object: "database";
@@ -34728,8 +34728,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34728
34728
  type: "workspace";
34729
34729
  workspace: true;
34730
34730
  };
34731
- created_time: string;
34732
34731
  last_edited_time: string;
34732
+ created_time: string;
34733
34733
  data_sources: {
34734
34734
  name: string;
34735
34735
  id: string;
@@ -34766,7 +34766,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34766
34766
  };
34767
34767
  } | null | undefined;
34768
34768
  }[];
34769
- url?: string | undefined;
34770
34769
  description?: {
34771
34770
  type: "text" | "mention" | "equation";
34772
34771
  text?: {
@@ -34786,6 +34785,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34786
34785
  } | undefined;
34787
34786
  href?: string | null | undefined;
34788
34787
  }[] | undefined;
34788
+ url?: string | undefined;
34789
34789
  is_locked?: boolean | undefined;
34790
34790
  icon?: {
34791
34791
  type: "emoji";
@@ -34820,8 +34820,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34820
34820
  };
34821
34821
  } | null | undefined;
34822
34822
  in_trash?: boolean | undefined;
34823
- public_url?: string | null | undefined;
34824
34823
  is_inline?: boolean | undefined;
34824
+ public_url?: string | null | undefined;
34825
34825
  } | undefined;
34826
34826
  }>, z.ZodObject<{
34827
34827
  operation: z.ZodLiteral<"append_block_children">;
@@ -35431,8 +35431,8 @@ 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
- success: boolean;
35435
35434
  error: string;
35435
+ success: boolean;
35436
35436
  operation: "append_block_children";
35437
35437
  blocks?: z.objectOutputType<{
35438
35438
  object: z.ZodLiteral<"block">;
@@ -35638,8 +35638,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35638
35638
  next_cursor?: string | null | undefined;
35639
35639
  has_more?: boolean | undefined;
35640
35640
  }, {
35641
- success: boolean;
35642
35641
  error: string;
35642
+ success: boolean;
35643
35643
  operation: "append_block_children";
35644
35644
  blocks?: z.objectInputType<{
35645
35645
  object: z.ZodLiteral<"block">;
@@ -36452,8 +36452,8 @@ 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
- success: boolean;
36456
36455
  error: string;
36456
+ success: boolean;
36457
36457
  operation: "retrieve_block_children";
36458
36458
  blocks?: z.objectOutputType<{
36459
36459
  object: z.ZodLiteral<"block">;
@@ -36659,8 +36659,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
36659
36659
  next_cursor?: string | null | undefined;
36660
36660
  has_more?: boolean | undefined;
36661
36661
  }, {
36662
- success: boolean;
36663
36662
  error: string;
36663
+ success: boolean;
36664
36664
  operation: "retrieve_block_children";
36665
36665
  blocks?: z.objectInputType<{
36666
36666
  object: z.ZodLiteral<"block">;
@@ -37471,8 +37471,8 @@ 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
- success: boolean;
37475
37474
  error: string;
37475
+ success: boolean;
37476
37476
  operation: "retrieve_block";
37477
37477
  block?: z.objectOutputType<{
37478
37478
  object: z.ZodLiteral<"block">;
@@ -37676,8 +37676,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
37676
37676
  type: z.ZodString;
37677
37677
  }, z.ZodTypeAny, "passthrough"> | undefined;
37678
37678
  }, {
37679
- success: boolean;
37680
37679
  error: string;
37680
+ success: boolean;
37681
37681
  operation: "retrieve_block";
37682
37682
  block?: z.objectInputType<{
37683
37683
  object: z.ZodLiteral<"block">;
@@ -38486,8 +38486,8 @@ 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
- success: boolean;
38490
38489
  error: string;
38490
+ success: boolean;
38491
38491
  operation: "update_block";
38492
38492
  block?: z.objectOutputType<{
38493
38493
  object: z.ZodLiteral<"block">;
@@ -38691,8 +38691,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
38691
38691
  type: z.ZodString;
38692
38692
  }, z.ZodTypeAny, "passthrough"> | undefined;
38693
38693
  }, {
38694
- success: boolean;
38695
38694
  error: string;
38695
+ success: boolean;
38696
38696
  operation: "update_block";
38697
38697
  block?: z.objectInputType<{
38698
38698
  object: z.ZodLiteral<"block">;
@@ -39082,26 +39082,6 @@ 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;
39105
39085
  rich_text: {
39106
39086
  type: "text" | "mention" | "equation";
39107
39087
  text?: {
@@ -39121,18 +39101,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39121
39101
  } | undefined;
39122
39102
  href?: string | null | undefined;
39123
39103
  }[];
39124
- }, {
39125
- object: "comment";
39126
- id: string;
39127
- parent: {
39128
- type: "block_id" | "page_id";
39129
- block_id?: string | undefined;
39130
- page_id?: string | undefined;
39131
- } & {
39132
- [k: string]: unknown;
39133
- };
39134
- created_time: string;
39135
39104
  last_edited_time: string;
39105
+ created_time: string;
39136
39106
  created_by: {
39137
39107
  object: "user";
39138
39108
  id: string;
@@ -39151,6 +39121,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39151
39121
  } | undefined;
39152
39122
  };
39153
39123
  discussion_id: string;
39124
+ }, {
39125
+ object: "comment";
39126
+ id: string;
39127
+ parent: {
39128
+ type: "block_id" | "page_id";
39129
+ block_id?: string | undefined;
39130
+ page_id?: string | undefined;
39131
+ } & {
39132
+ [k: string]: unknown;
39133
+ };
39154
39134
  rich_text: {
39155
39135
  type: "text" | "mention" | "equation";
39156
39136
  text?: {
@@ -39170,23 +39150,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39170
39150
  } | undefined;
39171
39151
  href?: string | null | undefined;
39172
39152
  }[];
39173
- }>>;
39174
- }, "strip", z.ZodTypeAny, {
39175
- success: boolean;
39176
- error: string;
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
- created_time: string;
39189
39153
  last_edited_time: string;
39154
+ created_time: string;
39190
39155
  created_by: {
39191
39156
  object: "user";
39192
39157
  id: string;
@@ -39205,6 +39170,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39205
39170
  } | undefined;
39206
39171
  };
39207
39172
  discussion_id: string;
39173
+ }>>;
39174
+ }, "strip", z.ZodTypeAny, {
39175
+ error: string;
39176
+ success: boolean;
39177
+ operation: "create_comment";
39178
+ comment?: {
39179
+ object: "comment";
39180
+ id: string;
39181
+ parent: {
39182
+ type: "block_id" | "page_id";
39183
+ block_id?: string | undefined;
39184
+ page_id?: string | undefined;
39185
+ } & {
39186
+ [k: string]: unknown;
39187
+ };
39208
39188
  rich_text: {
39209
39189
  type: "text" | "mention" | "equation";
39210
39190
  text?: {
@@ -39224,23 +39204,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39224
39204
  } | undefined;
39225
39205
  href?: string | null | undefined;
39226
39206
  }[];
39227
- } | undefined;
39228
- }, {
39229
- success: boolean;
39230
- error: string;
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
- created_time: string;
39243
39207
  last_edited_time: string;
39208
+ created_time: string;
39244
39209
  created_by: {
39245
39210
  object: "user";
39246
39211
  id: string;
@@ -39259,6 +39224,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39259
39224
  } | undefined;
39260
39225
  };
39261
39226
  discussion_id: string;
39227
+ } | undefined;
39228
+ }, {
39229
+ error: string;
39230
+ success: boolean;
39231
+ operation: "create_comment";
39232
+ comment?: {
39233
+ object: "comment";
39234
+ id: string;
39235
+ parent: {
39236
+ type: "block_id" | "page_id";
39237
+ block_id?: string | undefined;
39238
+ page_id?: string | undefined;
39239
+ } & {
39240
+ [k: string]: unknown;
39241
+ };
39262
39242
  rich_text: {
39263
39243
  type: "text" | "mention" | "equation";
39264
39244
  text?: {
@@ -39278,6 +39258,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39278
39258
  } | undefined;
39279
39259
  href?: string | null | undefined;
39280
39260
  }[];
39261
+ last_edited_time: string;
39262
+ created_time: string;
39263
+ created_by: {
39264
+ object: "user";
39265
+ id: string;
39266
+ type?: "person" | "bot" | undefined;
39267
+ name?: string | undefined;
39268
+ person?: {
39269
+ email?: string | undefined;
39270
+ } | undefined;
39271
+ avatar_url?: string | null | undefined;
39272
+ bot?: {
39273
+ owner?: {
39274
+ type: "user" | "workspace";
39275
+ workspace?: boolean | undefined;
39276
+ } | undefined;
39277
+ workspace_name?: string | undefined;
39278
+ } | undefined;
39279
+ };
39280
+ discussion_id: string;
39281
39281
  } | undefined;
39282
39282
  }>, z.ZodObject<{
39283
39283
  operation: z.ZodLiteral<"retrieve_comment">;
@@ -39466,26 +39466,6 @@ 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;
39489
39469
  rich_text: {
39490
39470
  type: "text" | "mention" | "equation";
39491
39471
  text?: {
@@ -39505,18 +39485,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39505
39485
  } | undefined;
39506
39486
  href?: string | null | undefined;
39507
39487
  }[];
39508
- }, {
39509
- object: "comment";
39510
- id: string;
39511
- parent: {
39512
- type: "block_id" | "page_id";
39513
- block_id?: string | undefined;
39514
- page_id?: string | undefined;
39515
- } & {
39516
- [k: string]: unknown;
39517
- };
39518
- created_time: string;
39519
39488
  last_edited_time: string;
39489
+ created_time: string;
39520
39490
  created_by: {
39521
39491
  object: "user";
39522
39492
  id: string;
@@ -39535,6 +39505,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39535
39505
  } | undefined;
39536
39506
  };
39537
39507
  discussion_id: string;
39508
+ }, {
39509
+ object: "comment";
39510
+ id: string;
39511
+ parent: {
39512
+ type: "block_id" | "page_id";
39513
+ block_id?: string | undefined;
39514
+ page_id?: string | undefined;
39515
+ } & {
39516
+ [k: string]: unknown;
39517
+ };
39538
39518
  rich_text: {
39539
39519
  type: "text" | "mention" | "equation";
39540
39520
  text?: {
@@ -39554,23 +39534,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39554
39534
  } | undefined;
39555
39535
  href?: string | null | undefined;
39556
39536
  }[];
39557
- }>>;
39558
- }, "strip", z.ZodTypeAny, {
39559
- success: boolean;
39560
- error: string;
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
- created_time: string;
39573
39537
  last_edited_time: string;
39538
+ created_time: string;
39574
39539
  created_by: {
39575
39540
  object: "user";
39576
39541
  id: string;
@@ -39589,6 +39554,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39589
39554
  } | undefined;
39590
39555
  };
39591
39556
  discussion_id: string;
39557
+ }>>;
39558
+ }, "strip", z.ZodTypeAny, {
39559
+ error: string;
39560
+ success: boolean;
39561
+ operation: "retrieve_comment";
39562
+ comment?: {
39563
+ object: "comment";
39564
+ id: string;
39565
+ parent: {
39566
+ type: "block_id" | "page_id";
39567
+ block_id?: string | undefined;
39568
+ page_id?: string | undefined;
39569
+ } & {
39570
+ [k: string]: unknown;
39571
+ };
39592
39572
  rich_text: {
39593
39573
  type: "text" | "mention" | "equation";
39594
39574
  text?: {
@@ -39608,23 +39588,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39608
39588
  } | undefined;
39609
39589
  href?: string | null | undefined;
39610
39590
  }[];
39611
- } | undefined;
39612
- }, {
39613
- success: boolean;
39614
- error: string;
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
- created_time: string;
39627
39591
  last_edited_time: string;
39592
+ created_time: string;
39628
39593
  created_by: {
39629
39594
  object: "user";
39630
39595
  id: string;
@@ -39643,6 +39608,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39643
39608
  } | undefined;
39644
39609
  };
39645
39610
  discussion_id: string;
39611
+ } | undefined;
39612
+ }, {
39613
+ error: string;
39614
+ success: boolean;
39615
+ operation: "retrieve_comment";
39616
+ comment?: {
39617
+ object: "comment";
39618
+ id: string;
39619
+ parent: {
39620
+ type: "block_id" | "page_id";
39621
+ block_id?: string | undefined;
39622
+ page_id?: string | undefined;
39623
+ } & {
39624
+ [k: string]: unknown;
39625
+ };
39646
39626
  rich_text: {
39647
39627
  type: "text" | "mention" | "equation";
39648
39628
  text?: {
@@ -39662,6 +39642,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39662
39642
  } | undefined;
39663
39643
  href?: string | null | undefined;
39664
39644
  }[];
39645
+ last_edited_time: string;
39646
+ created_time: string;
39647
+ created_by: {
39648
+ object: "user";
39649
+ id: string;
39650
+ type?: "person" | "bot" | undefined;
39651
+ name?: string | undefined;
39652
+ person?: {
39653
+ email?: string | undefined;
39654
+ } | undefined;
39655
+ avatar_url?: string | null | undefined;
39656
+ bot?: {
39657
+ owner?: {
39658
+ type: "user" | "workspace";
39659
+ workspace?: boolean | undefined;
39660
+ } | undefined;
39661
+ workspace_name?: string | undefined;
39662
+ } | undefined;
39663
+ };
39664
+ discussion_id: string;
39665
39665
  } | undefined;
39666
39666
  }>, z.ZodObject<{
39667
39667
  operation: z.ZodLiteral<"list_users">;
@@ -39741,8 +39741,8 @@ 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
- success: boolean;
39745
39744
  error: string;
39745
+ success: boolean;
39746
39746
  operation: "list_users";
39747
39747
  users?: {
39748
39748
  object: "user";
@@ -39764,8 +39764,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39764
39764
  next_cursor?: string | null | undefined;
39765
39765
  has_more?: boolean | undefined;
39766
39766
  }, {
39767
- success: boolean;
39768
39767
  error: string;
39768
+ success: boolean;
39769
39769
  operation: "list_users";
39770
39770
  users?: {
39771
39771
  object: "user";
@@ -39845,8 +39845,8 @@ 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
- success: boolean;
39849
39848
  error: string;
39849
+ success: boolean;
39850
39850
  operation: "search";
39851
39851
  next_cursor?: string | null | undefined;
39852
39852
  has_more?: boolean | undefined;
@@ -39869,8 +39869,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39869
39869
  in_trash: z.ZodOptional<z.ZodBoolean>;
39870
39870
  }, z.ZodTypeAny, "passthrough">[] | undefined;
39871
39871
  }, {
39872
- success: boolean;
39873
39872
  error: string;
39873
+ success: boolean;
39874
39874
  operation: "search";
39875
39875
  next_cursor?: string | null | undefined;
39876
39876
  has_more?: boolean | undefined;