@bubblelab/bubble-core 0.1.141 → 0.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +181 -118
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +9 -1
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +4 -0
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +1 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
- package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +7 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +806 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js +256 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +813 -6
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +8 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +13 -13
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +1 -0
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +44 -37
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +66 -3
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +59 -16
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +19 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +96 -96
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +244 -244
- package/dist/bubbles/service-bubble/followupboss.d.ts +152 -152
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/github.d.ts +148 -148
- package/dist/bubbles/service-bubble/gmail.d.ts +556 -556
- package/dist/bubbles/service-bubble/google-calendar.d.ts +34 -34
- package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/jira/jira.d.ts +92 -92
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/notion/notion.d.ts +647 -647
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/slack/slack.d.ts +496 -496
- package/dist/bubbles/service-bubble/slack/slack.js +2 -2
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +87 -87
- package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +126 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +34 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts +22 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js +57 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +158 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +33 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +161 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +310 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +165 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +45 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +171 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +364 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +24 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +334 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +152 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +23 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +155 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +233 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +1634 -196
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +300 -56
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
- package/dist/bubbles.json +1148 -75
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -192,6 +192,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
192
192
|
}>]>>;
|
|
193
193
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
operation: "create_page";
|
|
195
196
|
parent: {
|
|
196
197
|
type: "page_id";
|
|
197
198
|
page_id: string;
|
|
@@ -209,7 +210,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
209
210
|
type: "workspace";
|
|
210
211
|
workspace: true;
|
|
211
212
|
};
|
|
212
|
-
operation: "create_page";
|
|
213
213
|
properties?: Record<string, unknown> | undefined;
|
|
214
214
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
215
215
|
icon?: {
|
|
@@ -232,7 +232,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
232
232
|
type: "emoji";
|
|
233
233
|
emoji: string;
|
|
234
234
|
} | undefined;
|
|
235
|
-
children?: unknown[] | undefined;
|
|
236
235
|
cover?: {
|
|
237
236
|
type: "file";
|
|
238
237
|
file: {
|
|
@@ -250,7 +249,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
250
249
|
url: string;
|
|
251
250
|
};
|
|
252
251
|
} | undefined;
|
|
252
|
+
children?: unknown[] | undefined;
|
|
253
253
|
}, {
|
|
254
|
+
operation: "create_page";
|
|
254
255
|
parent: {
|
|
255
256
|
type: "page_id";
|
|
256
257
|
page_id: string;
|
|
@@ -268,7 +269,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
268
269
|
type: "workspace";
|
|
269
270
|
workspace: true;
|
|
270
271
|
};
|
|
271
|
-
operation: "create_page";
|
|
272
272
|
properties?: Record<string, unknown> | undefined;
|
|
273
273
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
274
274
|
icon?: {
|
|
@@ -291,7 +291,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
291
291
|
type: "emoji";
|
|
292
292
|
emoji: string;
|
|
293
293
|
} | undefined;
|
|
294
|
-
children?: unknown[] | undefined;
|
|
295
294
|
cover?: {
|
|
296
295
|
type: "file";
|
|
297
296
|
file: {
|
|
@@ -309,6 +308,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
309
308
|
url: string;
|
|
310
309
|
};
|
|
311
310
|
} | undefined;
|
|
311
|
+
children?: unknown[] | undefined;
|
|
312
312
|
}>, z.ZodObject<{
|
|
313
313
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
314
314
|
page_id: z.ZodString;
|
|
@@ -769,12 +769,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
769
769
|
}>]>>;
|
|
770
770
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
771
771
|
}, "strip", z.ZodTypeAny, {
|
|
772
|
+
operation: "create_data_source";
|
|
772
773
|
properties: Record<string, unknown>;
|
|
773
774
|
parent: {
|
|
774
775
|
type: "database_id";
|
|
775
776
|
database_id: string;
|
|
776
777
|
};
|
|
777
|
-
operation: "create_data_source";
|
|
778
778
|
title?: {
|
|
779
779
|
type: "text" | "mention" | "equation";
|
|
780
780
|
text?: {
|
|
@@ -816,12 +816,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
816
816
|
emoji: string;
|
|
817
817
|
} | undefined;
|
|
818
818
|
}, {
|
|
819
|
+
operation: "create_data_source";
|
|
819
820
|
properties: Record<string, unknown>;
|
|
820
821
|
parent: {
|
|
821
822
|
type: "database_id";
|
|
822
823
|
database_id: string;
|
|
823
824
|
};
|
|
824
|
-
operation: "create_data_source";
|
|
825
825
|
title?: {
|
|
826
826
|
type: "text" | "mention" | "equation";
|
|
827
827
|
text?: {
|
|
@@ -1259,21 +1259,21 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1259
1259
|
page_id: z.ZodOptional<z.ZodString>;
|
|
1260
1260
|
workspace: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1261
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1262
|
-
type: "
|
|
1263
|
-
page_id?: string | undefined;
|
|
1262
|
+
type: "workspace" | "page_id";
|
|
1264
1263
|
workspace?: true | undefined;
|
|
1265
|
-
}, {
|
|
1266
|
-
type: "page_id" | "workspace";
|
|
1267
1264
|
page_id?: string | undefined;
|
|
1265
|
+
}, {
|
|
1266
|
+
type: "workspace" | "page_id";
|
|
1268
1267
|
workspace?: true | undefined;
|
|
1269
|
-
}>, {
|
|
1270
|
-
type: "page_id" | "workspace";
|
|
1271
1268
|
page_id?: string | undefined;
|
|
1269
|
+
}>, {
|
|
1270
|
+
type: "workspace" | "page_id";
|
|
1272
1271
|
workspace?: true | undefined;
|
|
1273
|
-
}, {
|
|
1274
|
-
type: "page_id" | "workspace";
|
|
1275
1272
|
page_id?: string | undefined;
|
|
1273
|
+
}, {
|
|
1274
|
+
type: "workspace" | "page_id";
|
|
1276
1275
|
workspace?: true | undefined;
|
|
1276
|
+
page_id?: string | undefined;
|
|
1277
1277
|
}>, {
|
|
1278
1278
|
type: "workspace";
|
|
1279
1279
|
workspace: boolean;
|
|
@@ -1283,9 +1283,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1283
1283
|
page_id: string;
|
|
1284
1284
|
workspace?: undefined;
|
|
1285
1285
|
}, {
|
|
1286
|
-
type: "
|
|
1287
|
-
page_id?: string | undefined;
|
|
1286
|
+
type: "workspace" | "page_id";
|
|
1288
1287
|
workspace?: true | undefined;
|
|
1288
|
+
page_id?: string | undefined;
|
|
1289
1289
|
}>;
|
|
1290
1290
|
initial_data_source: z.ZodObject<{
|
|
1291
1291
|
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1597,6 +1597,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1597
1597
|
}>]>>;
|
|
1598
1598
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1599
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1600
|
+
operation: "create_database";
|
|
1600
1601
|
parent: {
|
|
1601
1602
|
type: "workspace";
|
|
1602
1603
|
workspace: boolean;
|
|
@@ -1606,7 +1607,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1606
1607
|
page_id: string;
|
|
1607
1608
|
workspace?: undefined;
|
|
1608
1609
|
};
|
|
1609
|
-
operation: "create_database";
|
|
1610
1610
|
initial_data_source: {
|
|
1611
1611
|
properties: Record<string, unknown>;
|
|
1612
1612
|
};
|
|
@@ -1687,12 +1687,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1687
1687
|
};
|
|
1688
1688
|
} | undefined;
|
|
1689
1689
|
}, {
|
|
1690
|
+
operation: "create_database";
|
|
1690
1691
|
parent: {
|
|
1691
|
-
type: "
|
|
1692
|
-
page_id?: string | undefined;
|
|
1692
|
+
type: "workspace" | "page_id";
|
|
1693
1693
|
workspace?: true | undefined;
|
|
1694
|
+
page_id?: string | undefined;
|
|
1694
1695
|
};
|
|
1695
|
-
operation: "create_database";
|
|
1696
1696
|
initial_data_source: {
|
|
1697
1697
|
properties: Record<string, unknown>;
|
|
1698
1698
|
};
|
|
@@ -2171,6 +2171,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2171
2171
|
href?: string | null | undefined;
|
|
2172
2172
|
}[] | undefined;
|
|
2173
2173
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2174
|
+
is_locked?: boolean | undefined;
|
|
2174
2175
|
parent?: {
|
|
2175
2176
|
type: "page_id";
|
|
2176
2177
|
page_id: string;
|
|
@@ -2188,7 +2189,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2188
2189
|
type: "workspace";
|
|
2189
2190
|
workspace: true;
|
|
2190
2191
|
} | undefined;
|
|
2191
|
-
is_locked?: boolean | undefined;
|
|
2192
2192
|
icon?: {
|
|
2193
2193
|
type: "file";
|
|
2194
2194
|
file: {
|
|
@@ -2270,6 +2270,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2270
2270
|
href?: string | null | undefined;
|
|
2271
2271
|
}[] | undefined;
|
|
2272
2272
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2273
|
+
is_locked?: boolean | undefined;
|
|
2273
2274
|
parent?: {
|
|
2274
2275
|
type: "page_id";
|
|
2275
2276
|
page_id: string;
|
|
@@ -2287,7 +2288,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2287
2288
|
type: "workspace";
|
|
2288
2289
|
workspace: true;
|
|
2289
2290
|
} | undefined;
|
|
2290
|
-
is_locked?: boolean | undefined;
|
|
2291
2291
|
icon?: {
|
|
2292
2292
|
type: "file";
|
|
2293
2293
|
file: {
|
|
@@ -2517,11 +2517,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2517
2517
|
}>>;
|
|
2518
2518
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
2519
2519
|
}, "strip", z.ZodTypeAny, {
|
|
2520
|
+
operation: "create_comment";
|
|
2520
2521
|
parent: {
|
|
2521
2522
|
block_id?: string | undefined;
|
|
2522
2523
|
page_id?: string | undefined;
|
|
2523
2524
|
};
|
|
2524
|
-
operation: "create_comment";
|
|
2525
2525
|
rich_text: {
|
|
2526
2526
|
type: "text" | "mention" | "equation";
|
|
2527
2527
|
text?: {
|
|
@@ -2541,11 +2541,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2541
2541
|
} | undefined;
|
|
2542
2542
|
href?: string | null | undefined;
|
|
2543
2543
|
}[];
|
|
2544
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2545
2544
|
attachments?: {
|
|
2546
2545
|
file_upload_id: string;
|
|
2547
2546
|
type?: "file_upload" | undefined;
|
|
2548
2547
|
}[] | undefined;
|
|
2548
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2549
2549
|
display_name?: {
|
|
2550
2550
|
type: "custom" | "user" | "integration";
|
|
2551
2551
|
custom?: {
|
|
@@ -2553,11 +2553,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2553
2553
|
} | undefined;
|
|
2554
2554
|
} | undefined;
|
|
2555
2555
|
}, {
|
|
2556
|
+
operation: "create_comment";
|
|
2556
2557
|
parent: {
|
|
2557
2558
|
block_id?: string | undefined;
|
|
2558
2559
|
page_id?: string | undefined;
|
|
2559
2560
|
};
|
|
2560
|
-
operation: "create_comment";
|
|
2561
2561
|
rich_text: {
|
|
2562
2562
|
type: "text" | "mention" | "equation";
|
|
2563
2563
|
text?: {
|
|
@@ -2577,11 +2577,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2577
2577
|
} | undefined;
|
|
2578
2578
|
href?: string | null | undefined;
|
|
2579
2579
|
}[];
|
|
2580
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2581
2580
|
attachments?: {
|
|
2582
2581
|
file_upload_id: string;
|
|
2583
2582
|
type?: "file_upload" | undefined;
|
|
2584
2583
|
}[] | undefined;
|
|
2584
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2585
2585
|
display_name?: {
|
|
2586
2586
|
type: "custom" | "user" | "integration";
|
|
2587
2587
|
custom?: {
|
|
@@ -3013,9 +3013,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3013
3013
|
type: "workspace";
|
|
3014
3014
|
workspace: true;
|
|
3015
3015
|
};
|
|
3016
|
-
archived: boolean;
|
|
3017
|
-
last_edited_time: string;
|
|
3018
3016
|
created_time: string;
|
|
3017
|
+
last_edited_time: string;
|
|
3019
3018
|
created_by: {
|
|
3020
3019
|
object: "user";
|
|
3021
3020
|
id: string;
|
|
@@ -3050,6 +3049,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3050
3049
|
workspace_name?: string | undefined;
|
|
3051
3050
|
} | undefined;
|
|
3052
3051
|
};
|
|
3052
|
+
archived: boolean;
|
|
3053
3053
|
icon?: {
|
|
3054
3054
|
type: "emoji";
|
|
3055
3055
|
emoji: string;
|
|
@@ -3106,9 +3106,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3106
3106
|
type: "workspace";
|
|
3107
3107
|
workspace: true;
|
|
3108
3108
|
};
|
|
3109
|
-
archived: boolean;
|
|
3110
|
-
last_edited_time: string;
|
|
3111
3109
|
created_time: string;
|
|
3110
|
+
last_edited_time: string;
|
|
3112
3111
|
created_by: {
|
|
3113
3112
|
object: "user";
|
|
3114
3113
|
id: string;
|
|
@@ -3143,6 +3142,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3143
3142
|
workspace_name?: string | undefined;
|
|
3144
3143
|
} | undefined;
|
|
3145
3144
|
};
|
|
3145
|
+
archived: boolean;
|
|
3146
3146
|
icon?: {
|
|
3147
3147
|
type: "emoji";
|
|
3148
3148
|
emoji: string;
|
|
@@ -3179,9 +3179,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3179
3179
|
public_url?: string | null | undefined;
|
|
3180
3180
|
}>>;
|
|
3181
3181
|
}, "strip", z.ZodTypeAny, {
|
|
3182
|
+
operation: "create_page";
|
|
3182
3183
|
error: string;
|
|
3183
3184
|
success: boolean;
|
|
3184
|
-
operation: "create_page";
|
|
3185
3185
|
page?: {
|
|
3186
3186
|
object: "page";
|
|
3187
3187
|
properties: Record<string, unknown>;
|
|
@@ -3204,9 +3204,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3204
3204
|
type: "workspace";
|
|
3205
3205
|
workspace: true;
|
|
3206
3206
|
};
|
|
3207
|
-
archived: boolean;
|
|
3208
|
-
last_edited_time: string;
|
|
3209
3207
|
created_time: string;
|
|
3208
|
+
last_edited_time: string;
|
|
3210
3209
|
created_by: {
|
|
3211
3210
|
object: "user";
|
|
3212
3211
|
id: string;
|
|
@@ -3241,6 +3240,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3241
3240
|
workspace_name?: string | undefined;
|
|
3242
3241
|
} | undefined;
|
|
3243
3242
|
};
|
|
3243
|
+
archived: boolean;
|
|
3244
3244
|
icon?: {
|
|
3245
3245
|
type: "emoji";
|
|
3246
3246
|
emoji: string;
|
|
@@ -3277,9 +3277,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3277
3277
|
public_url?: string | null | undefined;
|
|
3278
3278
|
} | undefined;
|
|
3279
3279
|
}, {
|
|
3280
|
+
operation: "create_page";
|
|
3280
3281
|
error: string;
|
|
3281
3282
|
success: boolean;
|
|
3282
|
-
operation: "create_page";
|
|
3283
3283
|
page?: {
|
|
3284
3284
|
object: "page";
|
|
3285
3285
|
properties: Record<string, unknown>;
|
|
@@ -3302,9 +3302,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3302
3302
|
type: "workspace";
|
|
3303
3303
|
workspace: true;
|
|
3304
3304
|
};
|
|
3305
|
-
archived: boolean;
|
|
3306
|
-
last_edited_time: string;
|
|
3307
3305
|
created_time: string;
|
|
3306
|
+
last_edited_time: string;
|
|
3308
3307
|
created_by: {
|
|
3309
3308
|
object: "user";
|
|
3310
3309
|
id: string;
|
|
@@ -3339,6 +3338,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3339
3338
|
workspace_name?: string | undefined;
|
|
3340
3339
|
} | undefined;
|
|
3341
3340
|
};
|
|
3341
|
+
archived: boolean;
|
|
3342
3342
|
icon?: {
|
|
3343
3343
|
type: "emoji";
|
|
3344
3344
|
emoji: string;
|
|
@@ -3717,102 +3717,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3717
3717
|
type: "workspace";
|
|
3718
3718
|
workspace: true;
|
|
3719
3719
|
};
|
|
3720
|
-
archived: boolean;
|
|
3721
|
-
last_edited_time: string;
|
|
3722
3720
|
created_time: string;
|
|
3723
|
-
created_by: {
|
|
3724
|
-
object: "user";
|
|
3725
|
-
id: string;
|
|
3726
|
-
type?: "person" | "bot" | undefined;
|
|
3727
|
-
name?: string | undefined;
|
|
3728
|
-
person?: {
|
|
3729
|
-
email?: string | undefined;
|
|
3730
|
-
} | undefined;
|
|
3731
|
-
avatar_url?: string | null | undefined;
|
|
3732
|
-
bot?: {
|
|
3733
|
-
owner?: {
|
|
3734
|
-
type: "user" | "workspace";
|
|
3735
|
-
workspace?: boolean | undefined;
|
|
3736
|
-
} | undefined;
|
|
3737
|
-
workspace_name?: string | undefined;
|
|
3738
|
-
} | undefined;
|
|
3739
|
-
};
|
|
3740
|
-
last_edited_by: {
|
|
3741
|
-
object: "user";
|
|
3742
|
-
id: string;
|
|
3743
|
-
type?: "person" | "bot" | undefined;
|
|
3744
|
-
name?: string | undefined;
|
|
3745
|
-
person?: {
|
|
3746
|
-
email?: string | undefined;
|
|
3747
|
-
} | undefined;
|
|
3748
|
-
avatar_url?: string | null | undefined;
|
|
3749
|
-
bot?: {
|
|
3750
|
-
owner?: {
|
|
3751
|
-
type: "user" | "workspace";
|
|
3752
|
-
workspace?: boolean | undefined;
|
|
3753
|
-
} | undefined;
|
|
3754
|
-
workspace_name?: string | undefined;
|
|
3755
|
-
} | undefined;
|
|
3756
|
-
};
|
|
3757
|
-
icon?: {
|
|
3758
|
-
type: "emoji";
|
|
3759
|
-
emoji: string;
|
|
3760
|
-
} | {
|
|
3761
|
-
type: "external";
|
|
3762
|
-
external: {
|
|
3763
|
-
url: string;
|
|
3764
|
-
};
|
|
3765
|
-
} | {
|
|
3766
|
-
type: "file";
|
|
3767
|
-
file: {
|
|
3768
|
-
url: string;
|
|
3769
|
-
expiry_time: string;
|
|
3770
|
-
};
|
|
3771
|
-
} | null | undefined;
|
|
3772
|
-
cover?: {
|
|
3773
|
-
type: "file";
|
|
3774
|
-
file: {
|
|
3775
|
-
url: string;
|
|
3776
|
-
expiry_time: string;
|
|
3777
|
-
};
|
|
3778
|
-
} | {
|
|
3779
|
-
type: "file_upload";
|
|
3780
|
-
file_upload: {
|
|
3781
|
-
id: string;
|
|
3782
|
-
};
|
|
3783
|
-
} | {
|
|
3784
|
-
type: "external";
|
|
3785
|
-
external: {
|
|
3786
|
-
url: string;
|
|
3787
|
-
};
|
|
3788
|
-
} | null | undefined;
|
|
3789
|
-
in_trash?: boolean | undefined;
|
|
3790
|
-
public_url?: string | null | undefined;
|
|
3791
|
-
}, {
|
|
3792
|
-
object: "page";
|
|
3793
|
-
properties: Record<string, unknown>;
|
|
3794
|
-
url: string;
|
|
3795
|
-
id: string;
|
|
3796
|
-
parent: {
|
|
3797
|
-
type: "page_id";
|
|
3798
|
-
page_id: string;
|
|
3799
|
-
} | {
|
|
3800
|
-
type: "database_id";
|
|
3801
|
-
database_id: string;
|
|
3802
|
-
} | {
|
|
3803
|
-
type: "data_source_id";
|
|
3804
|
-
data_source_id: string;
|
|
3805
|
-
database_id?: string | undefined;
|
|
3806
|
-
} | {
|
|
3807
|
-
type: "block_id";
|
|
3808
|
-
block_id: string;
|
|
3809
|
-
} | {
|
|
3810
|
-
type: "workspace";
|
|
3811
|
-
workspace: true;
|
|
3812
|
-
};
|
|
3813
|
-
archived: boolean;
|
|
3814
3721
|
last_edited_time: string;
|
|
3815
|
-
created_time: string;
|
|
3816
3722
|
created_by: {
|
|
3817
3723
|
object: "user";
|
|
3818
3724
|
id: string;
|
|
@@ -3847,104 +3753,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3847
3753
|
workspace_name?: string | undefined;
|
|
3848
3754
|
} | undefined;
|
|
3849
3755
|
};
|
|
3850
|
-
icon?: {
|
|
3851
|
-
type: "emoji";
|
|
3852
|
-
emoji: string;
|
|
3853
|
-
} | {
|
|
3854
|
-
type: "external";
|
|
3855
|
-
external: {
|
|
3856
|
-
url: string;
|
|
3857
|
-
};
|
|
3858
|
-
} | {
|
|
3859
|
-
type: "file";
|
|
3860
|
-
file: {
|
|
3861
|
-
url: string;
|
|
3862
|
-
expiry_time: string;
|
|
3863
|
-
};
|
|
3864
|
-
} | null | undefined;
|
|
3865
|
-
cover?: {
|
|
3866
|
-
type: "file";
|
|
3867
|
-
file: {
|
|
3868
|
-
url: string;
|
|
3869
|
-
expiry_time: string;
|
|
3870
|
-
};
|
|
3871
|
-
} | {
|
|
3872
|
-
type: "file_upload";
|
|
3873
|
-
file_upload: {
|
|
3874
|
-
id: string;
|
|
3875
|
-
};
|
|
3876
|
-
} | {
|
|
3877
|
-
type: "external";
|
|
3878
|
-
external: {
|
|
3879
|
-
url: string;
|
|
3880
|
-
};
|
|
3881
|
-
} | null | undefined;
|
|
3882
|
-
in_trash?: boolean | undefined;
|
|
3883
|
-
public_url?: string | null | undefined;
|
|
3884
|
-
}>>;
|
|
3885
|
-
}, "strip", z.ZodTypeAny, {
|
|
3886
|
-
error: string;
|
|
3887
|
-
success: boolean;
|
|
3888
|
-
operation: "retrieve_page";
|
|
3889
|
-
page?: {
|
|
3890
|
-
object: "page";
|
|
3891
|
-
properties: Record<string, unknown>;
|
|
3892
|
-
url: string;
|
|
3893
|
-
id: string;
|
|
3894
|
-
parent: {
|
|
3895
|
-
type: "page_id";
|
|
3896
|
-
page_id: string;
|
|
3897
|
-
} | {
|
|
3898
|
-
type: "database_id";
|
|
3899
|
-
database_id: string;
|
|
3900
|
-
} | {
|
|
3901
|
-
type: "data_source_id";
|
|
3902
|
-
data_source_id: string;
|
|
3903
|
-
database_id?: string | undefined;
|
|
3904
|
-
} | {
|
|
3905
|
-
type: "block_id";
|
|
3906
|
-
block_id: string;
|
|
3907
|
-
} | {
|
|
3908
|
-
type: "workspace";
|
|
3909
|
-
workspace: true;
|
|
3910
|
-
};
|
|
3911
3756
|
archived: boolean;
|
|
3912
|
-
last_edited_time: string;
|
|
3913
|
-
created_time: string;
|
|
3914
|
-
created_by: {
|
|
3915
|
-
object: "user";
|
|
3916
|
-
id: string;
|
|
3917
|
-
type?: "person" | "bot" | undefined;
|
|
3918
|
-
name?: string | undefined;
|
|
3919
|
-
person?: {
|
|
3920
|
-
email?: string | undefined;
|
|
3921
|
-
} | undefined;
|
|
3922
|
-
avatar_url?: string | null | undefined;
|
|
3923
|
-
bot?: {
|
|
3924
|
-
owner?: {
|
|
3925
|
-
type: "user" | "workspace";
|
|
3926
|
-
workspace?: boolean | undefined;
|
|
3927
|
-
} | undefined;
|
|
3928
|
-
workspace_name?: string | undefined;
|
|
3929
|
-
} | undefined;
|
|
3930
|
-
};
|
|
3931
|
-
last_edited_by: {
|
|
3932
|
-
object: "user";
|
|
3933
|
-
id: string;
|
|
3934
|
-
type?: "person" | "bot" | undefined;
|
|
3935
|
-
name?: string | undefined;
|
|
3936
|
-
person?: {
|
|
3937
|
-
email?: string | undefined;
|
|
3938
|
-
} | undefined;
|
|
3939
|
-
avatar_url?: string | null | undefined;
|
|
3940
|
-
bot?: {
|
|
3941
|
-
owner?: {
|
|
3942
|
-
type: "user" | "workspace";
|
|
3943
|
-
workspace?: boolean | undefined;
|
|
3944
|
-
} | undefined;
|
|
3945
|
-
workspace_name?: string | undefined;
|
|
3946
|
-
} | undefined;
|
|
3947
|
-
};
|
|
3948
3757
|
icon?: {
|
|
3949
3758
|
type: "emoji";
|
|
3950
3759
|
emoji: string;
|
|
@@ -3979,12 +3788,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3979
3788
|
} | null | undefined;
|
|
3980
3789
|
in_trash?: boolean | undefined;
|
|
3981
3790
|
public_url?: string | null | undefined;
|
|
3982
|
-
}
|
|
3983
|
-
}, {
|
|
3984
|
-
error: string;
|
|
3985
|
-
success: boolean;
|
|
3986
|
-
operation: "retrieve_page";
|
|
3987
|
-
page?: {
|
|
3791
|
+
}, {
|
|
3988
3792
|
object: "page";
|
|
3989
3793
|
properties: Record<string, unknown>;
|
|
3990
3794
|
url: string;
|
|
@@ -4006,9 +3810,204 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4006
3810
|
type: "workspace";
|
|
4007
3811
|
workspace: true;
|
|
4008
3812
|
};
|
|
3813
|
+
created_time: string;
|
|
3814
|
+
last_edited_time: string;
|
|
3815
|
+
created_by: {
|
|
3816
|
+
object: "user";
|
|
3817
|
+
id: string;
|
|
3818
|
+
type?: "person" | "bot" | undefined;
|
|
3819
|
+
name?: string | undefined;
|
|
3820
|
+
person?: {
|
|
3821
|
+
email?: string | undefined;
|
|
3822
|
+
} | undefined;
|
|
3823
|
+
avatar_url?: string | null | undefined;
|
|
3824
|
+
bot?: {
|
|
3825
|
+
owner?: {
|
|
3826
|
+
type: "user" | "workspace";
|
|
3827
|
+
workspace?: boolean | undefined;
|
|
3828
|
+
} | undefined;
|
|
3829
|
+
workspace_name?: string | undefined;
|
|
3830
|
+
} | undefined;
|
|
3831
|
+
};
|
|
3832
|
+
last_edited_by: {
|
|
3833
|
+
object: "user";
|
|
3834
|
+
id: string;
|
|
3835
|
+
type?: "person" | "bot" | undefined;
|
|
3836
|
+
name?: string | undefined;
|
|
3837
|
+
person?: {
|
|
3838
|
+
email?: string | undefined;
|
|
3839
|
+
} | undefined;
|
|
3840
|
+
avatar_url?: string | null | undefined;
|
|
3841
|
+
bot?: {
|
|
3842
|
+
owner?: {
|
|
3843
|
+
type: "user" | "workspace";
|
|
3844
|
+
workspace?: boolean | undefined;
|
|
3845
|
+
} | undefined;
|
|
3846
|
+
workspace_name?: string | undefined;
|
|
3847
|
+
} | undefined;
|
|
3848
|
+
};
|
|
4009
3849
|
archived: boolean;
|
|
3850
|
+
icon?: {
|
|
3851
|
+
type: "emoji";
|
|
3852
|
+
emoji: string;
|
|
3853
|
+
} | {
|
|
3854
|
+
type: "external";
|
|
3855
|
+
external: {
|
|
3856
|
+
url: string;
|
|
3857
|
+
};
|
|
3858
|
+
} | {
|
|
3859
|
+
type: "file";
|
|
3860
|
+
file: {
|
|
3861
|
+
url: string;
|
|
3862
|
+
expiry_time: string;
|
|
3863
|
+
};
|
|
3864
|
+
} | null | undefined;
|
|
3865
|
+
cover?: {
|
|
3866
|
+
type: "file";
|
|
3867
|
+
file: {
|
|
3868
|
+
url: string;
|
|
3869
|
+
expiry_time: string;
|
|
3870
|
+
};
|
|
3871
|
+
} | {
|
|
3872
|
+
type: "file_upload";
|
|
3873
|
+
file_upload: {
|
|
3874
|
+
id: string;
|
|
3875
|
+
};
|
|
3876
|
+
} | {
|
|
3877
|
+
type: "external";
|
|
3878
|
+
external: {
|
|
3879
|
+
url: string;
|
|
3880
|
+
};
|
|
3881
|
+
} | null | undefined;
|
|
3882
|
+
in_trash?: boolean | undefined;
|
|
3883
|
+
public_url?: string | null | undefined;
|
|
3884
|
+
}>>;
|
|
3885
|
+
}, "strip", z.ZodTypeAny, {
|
|
3886
|
+
operation: "retrieve_page";
|
|
3887
|
+
error: string;
|
|
3888
|
+
success: boolean;
|
|
3889
|
+
page?: {
|
|
3890
|
+
object: "page";
|
|
3891
|
+
properties: Record<string, unknown>;
|
|
3892
|
+
url: string;
|
|
3893
|
+
id: string;
|
|
3894
|
+
parent: {
|
|
3895
|
+
type: "page_id";
|
|
3896
|
+
page_id: string;
|
|
3897
|
+
} | {
|
|
3898
|
+
type: "database_id";
|
|
3899
|
+
database_id: string;
|
|
3900
|
+
} | {
|
|
3901
|
+
type: "data_source_id";
|
|
3902
|
+
data_source_id: string;
|
|
3903
|
+
database_id?: string | undefined;
|
|
3904
|
+
} | {
|
|
3905
|
+
type: "block_id";
|
|
3906
|
+
block_id: string;
|
|
3907
|
+
} | {
|
|
3908
|
+
type: "workspace";
|
|
3909
|
+
workspace: true;
|
|
3910
|
+
};
|
|
3911
|
+
created_time: string;
|
|
4010
3912
|
last_edited_time: string;
|
|
3913
|
+
created_by: {
|
|
3914
|
+
object: "user";
|
|
3915
|
+
id: string;
|
|
3916
|
+
type?: "person" | "bot" | undefined;
|
|
3917
|
+
name?: string | undefined;
|
|
3918
|
+
person?: {
|
|
3919
|
+
email?: string | undefined;
|
|
3920
|
+
} | undefined;
|
|
3921
|
+
avatar_url?: string | null | undefined;
|
|
3922
|
+
bot?: {
|
|
3923
|
+
owner?: {
|
|
3924
|
+
type: "user" | "workspace";
|
|
3925
|
+
workspace?: boolean | undefined;
|
|
3926
|
+
} | undefined;
|
|
3927
|
+
workspace_name?: string | undefined;
|
|
3928
|
+
} | undefined;
|
|
3929
|
+
};
|
|
3930
|
+
last_edited_by: {
|
|
3931
|
+
object: "user";
|
|
3932
|
+
id: string;
|
|
3933
|
+
type?: "person" | "bot" | undefined;
|
|
3934
|
+
name?: string | undefined;
|
|
3935
|
+
person?: {
|
|
3936
|
+
email?: string | undefined;
|
|
3937
|
+
} | undefined;
|
|
3938
|
+
avatar_url?: string | null | undefined;
|
|
3939
|
+
bot?: {
|
|
3940
|
+
owner?: {
|
|
3941
|
+
type: "user" | "workspace";
|
|
3942
|
+
workspace?: boolean | undefined;
|
|
3943
|
+
} | undefined;
|
|
3944
|
+
workspace_name?: string | undefined;
|
|
3945
|
+
} | undefined;
|
|
3946
|
+
};
|
|
3947
|
+
archived: boolean;
|
|
3948
|
+
icon?: {
|
|
3949
|
+
type: "emoji";
|
|
3950
|
+
emoji: string;
|
|
3951
|
+
} | {
|
|
3952
|
+
type: "external";
|
|
3953
|
+
external: {
|
|
3954
|
+
url: string;
|
|
3955
|
+
};
|
|
3956
|
+
} | {
|
|
3957
|
+
type: "file";
|
|
3958
|
+
file: {
|
|
3959
|
+
url: string;
|
|
3960
|
+
expiry_time: string;
|
|
3961
|
+
};
|
|
3962
|
+
} | null | undefined;
|
|
3963
|
+
cover?: {
|
|
3964
|
+
type: "file";
|
|
3965
|
+
file: {
|
|
3966
|
+
url: string;
|
|
3967
|
+
expiry_time: string;
|
|
3968
|
+
};
|
|
3969
|
+
} | {
|
|
3970
|
+
type: "file_upload";
|
|
3971
|
+
file_upload: {
|
|
3972
|
+
id: string;
|
|
3973
|
+
};
|
|
3974
|
+
} | {
|
|
3975
|
+
type: "external";
|
|
3976
|
+
external: {
|
|
3977
|
+
url: string;
|
|
3978
|
+
};
|
|
3979
|
+
} | null | undefined;
|
|
3980
|
+
in_trash?: boolean | undefined;
|
|
3981
|
+
public_url?: string | null | undefined;
|
|
3982
|
+
} | undefined;
|
|
3983
|
+
}, {
|
|
3984
|
+
operation: "retrieve_page";
|
|
3985
|
+
error: string;
|
|
3986
|
+
success: boolean;
|
|
3987
|
+
page?: {
|
|
3988
|
+
object: "page";
|
|
3989
|
+
properties: Record<string, unknown>;
|
|
3990
|
+
url: string;
|
|
3991
|
+
id: string;
|
|
3992
|
+
parent: {
|
|
3993
|
+
type: "page_id";
|
|
3994
|
+
page_id: string;
|
|
3995
|
+
} | {
|
|
3996
|
+
type: "database_id";
|
|
3997
|
+
database_id: string;
|
|
3998
|
+
} | {
|
|
3999
|
+
type: "data_source_id";
|
|
4000
|
+
data_source_id: string;
|
|
4001
|
+
database_id?: string | undefined;
|
|
4002
|
+
} | {
|
|
4003
|
+
type: "block_id";
|
|
4004
|
+
block_id: string;
|
|
4005
|
+
} | {
|
|
4006
|
+
type: "workspace";
|
|
4007
|
+
workspace: true;
|
|
4008
|
+
};
|
|
4011
4009
|
created_time: string;
|
|
4010
|
+
last_edited_time: string;
|
|
4012
4011
|
created_by: {
|
|
4013
4012
|
object: "user";
|
|
4014
4013
|
id: string;
|
|
@@ -4043,6 +4042,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4043
4042
|
workspace_name?: string | undefined;
|
|
4044
4043
|
} | undefined;
|
|
4045
4044
|
};
|
|
4045
|
+
archived: boolean;
|
|
4046
4046
|
icon?: {
|
|
4047
4047
|
type: "emoji";
|
|
4048
4048
|
emoji: string;
|
|
@@ -4421,9 +4421,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4421
4421
|
type: "workspace";
|
|
4422
4422
|
workspace: true;
|
|
4423
4423
|
};
|
|
4424
|
-
archived: boolean;
|
|
4425
|
-
last_edited_time: string;
|
|
4426
4424
|
created_time: string;
|
|
4425
|
+
last_edited_time: string;
|
|
4427
4426
|
created_by: {
|
|
4428
4427
|
object: "user";
|
|
4429
4428
|
id: string;
|
|
@@ -4458,6 +4457,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4458
4457
|
workspace_name?: string | undefined;
|
|
4459
4458
|
} | undefined;
|
|
4460
4459
|
};
|
|
4460
|
+
archived: boolean;
|
|
4461
4461
|
icon?: {
|
|
4462
4462
|
type: "emoji";
|
|
4463
4463
|
emoji: string;
|
|
@@ -4514,9 +4514,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4514
4514
|
type: "workspace";
|
|
4515
4515
|
workspace: true;
|
|
4516
4516
|
};
|
|
4517
|
-
archived: boolean;
|
|
4518
|
-
last_edited_time: string;
|
|
4519
4517
|
created_time: string;
|
|
4518
|
+
last_edited_time: string;
|
|
4520
4519
|
created_by: {
|
|
4521
4520
|
object: "user";
|
|
4522
4521
|
id: string;
|
|
@@ -4551,6 +4550,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4551
4550
|
workspace_name?: string | undefined;
|
|
4552
4551
|
} | undefined;
|
|
4553
4552
|
};
|
|
4553
|
+
archived: boolean;
|
|
4554
4554
|
icon?: {
|
|
4555
4555
|
type: "emoji";
|
|
4556
4556
|
emoji: string;
|
|
@@ -4587,9 +4587,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4587
4587
|
public_url?: string | null | undefined;
|
|
4588
4588
|
}>>;
|
|
4589
4589
|
}, "strip", z.ZodTypeAny, {
|
|
4590
|
+
operation: "update_page";
|
|
4590
4591
|
error: string;
|
|
4591
4592
|
success: boolean;
|
|
4592
|
-
operation: "update_page";
|
|
4593
4593
|
page?: {
|
|
4594
4594
|
object: "page";
|
|
4595
4595
|
properties: Record<string, unknown>;
|
|
@@ -4612,9 +4612,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4612
4612
|
type: "workspace";
|
|
4613
4613
|
workspace: true;
|
|
4614
4614
|
};
|
|
4615
|
-
archived: boolean;
|
|
4616
|
-
last_edited_time: string;
|
|
4617
4615
|
created_time: string;
|
|
4616
|
+
last_edited_time: string;
|
|
4618
4617
|
created_by: {
|
|
4619
4618
|
object: "user";
|
|
4620
4619
|
id: string;
|
|
@@ -4649,6 +4648,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4649
4648
|
workspace_name?: string | undefined;
|
|
4650
4649
|
} | undefined;
|
|
4651
4650
|
};
|
|
4651
|
+
archived: boolean;
|
|
4652
4652
|
icon?: {
|
|
4653
4653
|
type: "emoji";
|
|
4654
4654
|
emoji: string;
|
|
@@ -4685,9 +4685,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4685
4685
|
public_url?: string | null | undefined;
|
|
4686
4686
|
} | undefined;
|
|
4687
4687
|
}, {
|
|
4688
|
+
operation: "update_page";
|
|
4688
4689
|
error: string;
|
|
4689
4690
|
success: boolean;
|
|
4690
|
-
operation: "update_page";
|
|
4691
4691
|
page?: {
|
|
4692
4692
|
object: "page";
|
|
4693
4693
|
properties: Record<string, unknown>;
|
|
@@ -4710,9 +4710,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4710
4710
|
type: "workspace";
|
|
4711
4711
|
workspace: true;
|
|
4712
4712
|
};
|
|
4713
|
-
archived: boolean;
|
|
4714
|
-
last_edited_time: string;
|
|
4715
4713
|
created_time: string;
|
|
4714
|
+
last_edited_time: string;
|
|
4716
4715
|
created_by: {
|
|
4717
4716
|
object: "user";
|
|
4718
4717
|
id: string;
|
|
@@ -4747,6 +4746,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4747
4746
|
workspace_name?: string | undefined;
|
|
4748
4747
|
} | undefined;
|
|
4749
4748
|
};
|
|
4749
|
+
archived: boolean;
|
|
4750
4750
|
icon?: {
|
|
4751
4751
|
type: "emoji";
|
|
4752
4752
|
emoji: string;
|
|
@@ -5356,8 +5356,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5356
5356
|
type: "workspace";
|
|
5357
5357
|
workspace: true;
|
|
5358
5358
|
};
|
|
5359
|
-
last_edited_time: string;
|
|
5360
5359
|
created_time: string;
|
|
5360
|
+
last_edited_time: string;
|
|
5361
5361
|
data_sources: {
|
|
5362
5362
|
name: string;
|
|
5363
5363
|
id: string;
|
|
@@ -5448,8 +5448,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5448
5448
|
};
|
|
5449
5449
|
} | null | undefined;
|
|
5450
5450
|
in_trash?: boolean | undefined;
|
|
5451
|
-
is_inline?: boolean | undefined;
|
|
5452
5451
|
public_url?: string | null | undefined;
|
|
5452
|
+
is_inline?: boolean | undefined;
|
|
5453
5453
|
}, {
|
|
5454
5454
|
object: "database";
|
|
5455
5455
|
title: {
|
|
@@ -5489,8 +5489,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5489
5489
|
type: "workspace";
|
|
5490
5490
|
workspace: true;
|
|
5491
5491
|
};
|
|
5492
|
-
last_edited_time: string;
|
|
5493
5492
|
created_time: string;
|
|
5493
|
+
last_edited_time: string;
|
|
5494
5494
|
data_sources: {
|
|
5495
5495
|
name: string;
|
|
5496
5496
|
id: string;
|
|
@@ -5581,13 +5581,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5581
5581
|
};
|
|
5582
5582
|
} | null | undefined;
|
|
5583
5583
|
in_trash?: boolean | undefined;
|
|
5584
|
-
is_inline?: boolean | undefined;
|
|
5585
5584
|
public_url?: string | null | undefined;
|
|
5585
|
+
is_inline?: boolean | undefined;
|
|
5586
5586
|
}>>;
|
|
5587
5587
|
}, "strip", z.ZodTypeAny, {
|
|
5588
|
+
operation: "retrieve_database";
|
|
5588
5589
|
error: string;
|
|
5589
5590
|
success: boolean;
|
|
5590
|
-
operation: "retrieve_database";
|
|
5591
5591
|
database?: {
|
|
5592
5592
|
object: "database";
|
|
5593
5593
|
title: {
|
|
@@ -5627,8 +5627,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5627
5627
|
type: "workspace";
|
|
5628
5628
|
workspace: true;
|
|
5629
5629
|
};
|
|
5630
|
-
last_edited_time: string;
|
|
5631
5630
|
created_time: string;
|
|
5631
|
+
last_edited_time: string;
|
|
5632
5632
|
data_sources: {
|
|
5633
5633
|
name: string;
|
|
5634
5634
|
id: string;
|
|
@@ -5719,13 +5719,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5719
5719
|
};
|
|
5720
5720
|
} | null | undefined;
|
|
5721
5721
|
in_trash?: boolean | undefined;
|
|
5722
|
-
is_inline?: boolean | undefined;
|
|
5723
5722
|
public_url?: string | null | undefined;
|
|
5723
|
+
is_inline?: boolean | undefined;
|
|
5724
5724
|
} | undefined;
|
|
5725
5725
|
}, {
|
|
5726
|
+
operation: "retrieve_database";
|
|
5726
5727
|
error: string;
|
|
5727
5728
|
success: boolean;
|
|
5728
|
-
operation: "retrieve_database";
|
|
5729
5729
|
database?: {
|
|
5730
5730
|
object: "database";
|
|
5731
5731
|
title: {
|
|
@@ -5765,8 +5765,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5765
5765
|
type: "workspace";
|
|
5766
5766
|
workspace: true;
|
|
5767
5767
|
};
|
|
5768
|
-
last_edited_time: string;
|
|
5769
5768
|
created_time: string;
|
|
5769
|
+
last_edited_time: string;
|
|
5770
5770
|
data_sources: {
|
|
5771
5771
|
name: string;
|
|
5772
5772
|
id: string;
|
|
@@ -5857,8 +5857,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5857
5857
|
};
|
|
5858
5858
|
} | null | undefined;
|
|
5859
5859
|
in_trash?: boolean | undefined;
|
|
5860
|
-
is_inline?: boolean | undefined;
|
|
5861
5860
|
public_url?: string | null | undefined;
|
|
5861
|
+
is_inline?: boolean | undefined;
|
|
5862
5862
|
} | undefined;
|
|
5863
5863
|
}>, z.ZodObject<{
|
|
5864
5864
|
operation: z.ZodLiteral<"query_data_source">;
|
|
@@ -5919,9 +5919,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5919
5919
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5920
5920
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
5921
5921
|
}, "strip", z.ZodTypeAny, {
|
|
5922
|
+
operation: "query_data_source";
|
|
5922
5923
|
error: string;
|
|
5923
5924
|
success: boolean;
|
|
5924
|
-
operation: "query_data_source";
|
|
5925
5925
|
next_cursor?: string | null | undefined;
|
|
5926
5926
|
has_more?: boolean | undefined;
|
|
5927
5927
|
results?: z.objectOutputType<{
|
|
@@ -5943,9 +5943,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5943
5943
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
5944
5944
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
5945
5945
|
}, {
|
|
5946
|
+
operation: "query_data_source";
|
|
5946
5947
|
error: string;
|
|
5947
5948
|
success: boolean;
|
|
5948
|
-
operation: "query_data_source";
|
|
5949
5949
|
next_cursor?: string | null | undefined;
|
|
5950
5950
|
has_more?: boolean | undefined;
|
|
5951
5951
|
results?: z.objectInputType<{
|
|
@@ -7310,9 +7310,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
7310
7310
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7311
7311
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
7312
7312
|
}, "strip", z.ZodTypeAny, {
|
|
7313
|
+
operation: "create_data_source";
|
|
7313
7314
|
error: string;
|
|
7314
7315
|
success: boolean;
|
|
7315
|
-
operation: "create_data_source";
|
|
7316
7316
|
dataSource?: z.objectOutputType<{
|
|
7317
7317
|
object: z.ZodLiteral<"data_source">;
|
|
7318
7318
|
id: z.ZodString;
|
|
@@ -7761,9 +7761,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
7761
7761
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7762
7762
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7763
7763
|
}, {
|
|
7764
|
+
operation: "create_data_source";
|
|
7764
7765
|
error: string;
|
|
7765
7766
|
success: boolean;
|
|
7766
|
-
operation: "create_data_source";
|
|
7767
7767
|
dataSource?: z.objectInputType<{
|
|
7768
7768
|
object: z.ZodLiteral<"data_source">;
|
|
7769
7769
|
id: z.ZodString;
|
|
@@ -9555,9 +9555,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
9555
9555
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9556
9556
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9557
9557
|
}, "strip", z.ZodTypeAny, {
|
|
9558
|
+
operation: "update_data_source";
|
|
9558
9559
|
error: string;
|
|
9559
9560
|
success: boolean;
|
|
9560
|
-
operation: "update_data_source";
|
|
9561
9561
|
dataSource?: z.objectOutputType<{
|
|
9562
9562
|
object: z.ZodLiteral<"data_source">;
|
|
9563
9563
|
id: z.ZodString;
|
|
@@ -10006,9 +10006,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
10006
10006
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10007
10007
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10008
10008
|
}, {
|
|
10009
|
+
operation: "update_data_source";
|
|
10009
10010
|
error: string;
|
|
10010
10011
|
success: boolean;
|
|
10011
|
-
operation: "update_data_source";
|
|
10012
10012
|
dataSource?: z.objectInputType<{
|
|
10013
10013
|
object: z.ZodLiteral<"data_source">;
|
|
10014
10014
|
id: z.ZodString;
|
|
@@ -11030,8 +11030,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11030
11030
|
type: "workspace";
|
|
11031
11031
|
workspace: true;
|
|
11032
11032
|
};
|
|
11033
|
-
last_edited_time: string;
|
|
11034
11033
|
created_time: string;
|
|
11034
|
+
last_edited_time: string;
|
|
11035
11035
|
data_sources: {
|
|
11036
11036
|
name: string;
|
|
11037
11037
|
id: string;
|
|
@@ -11122,8 +11122,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11122
11122
|
};
|
|
11123
11123
|
} | null | undefined;
|
|
11124
11124
|
in_trash?: boolean | undefined;
|
|
11125
|
-
is_inline?: boolean | undefined;
|
|
11126
11125
|
public_url?: string | null | undefined;
|
|
11126
|
+
is_inline?: boolean | undefined;
|
|
11127
11127
|
}, {
|
|
11128
11128
|
object: "database";
|
|
11129
11129
|
title: {
|
|
@@ -11163,8 +11163,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11163
11163
|
type: "workspace";
|
|
11164
11164
|
workspace: true;
|
|
11165
11165
|
};
|
|
11166
|
-
last_edited_time: string;
|
|
11167
11166
|
created_time: string;
|
|
11167
|
+
last_edited_time: string;
|
|
11168
11168
|
data_sources: {
|
|
11169
11169
|
name: string;
|
|
11170
11170
|
id: string;
|
|
@@ -11255,13 +11255,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11255
11255
|
};
|
|
11256
11256
|
} | null | undefined;
|
|
11257
11257
|
in_trash?: boolean | undefined;
|
|
11258
|
-
is_inline?: boolean | undefined;
|
|
11259
11258
|
public_url?: string | null | undefined;
|
|
11259
|
+
is_inline?: boolean | undefined;
|
|
11260
11260
|
}>>;
|
|
11261
11261
|
}, "strip", z.ZodTypeAny, {
|
|
11262
|
+
operation: "create_database";
|
|
11262
11263
|
error: string;
|
|
11263
11264
|
success: boolean;
|
|
11264
|
-
operation: "create_database";
|
|
11265
11265
|
database?: {
|
|
11266
11266
|
object: "database";
|
|
11267
11267
|
title: {
|
|
@@ -11301,8 +11301,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11301
11301
|
type: "workspace";
|
|
11302
11302
|
workspace: true;
|
|
11303
11303
|
};
|
|
11304
|
-
last_edited_time: string;
|
|
11305
11304
|
created_time: string;
|
|
11305
|
+
last_edited_time: string;
|
|
11306
11306
|
data_sources: {
|
|
11307
11307
|
name: string;
|
|
11308
11308
|
id: string;
|
|
@@ -11393,13 +11393,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11393
11393
|
};
|
|
11394
11394
|
} | null | undefined;
|
|
11395
11395
|
in_trash?: boolean | undefined;
|
|
11396
|
-
is_inline?: boolean | undefined;
|
|
11397
11396
|
public_url?: string | null | undefined;
|
|
11397
|
+
is_inline?: boolean | undefined;
|
|
11398
11398
|
} | undefined;
|
|
11399
11399
|
}, {
|
|
11400
|
+
operation: "create_database";
|
|
11400
11401
|
error: string;
|
|
11401
11402
|
success: boolean;
|
|
11402
|
-
operation: "create_database";
|
|
11403
11403
|
database?: {
|
|
11404
11404
|
object: "database";
|
|
11405
11405
|
title: {
|
|
@@ -11439,8 +11439,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11439
11439
|
type: "workspace";
|
|
11440
11440
|
workspace: true;
|
|
11441
11441
|
};
|
|
11442
|
-
last_edited_time: string;
|
|
11443
11442
|
created_time: string;
|
|
11443
|
+
last_edited_time: string;
|
|
11444
11444
|
data_sources: {
|
|
11445
11445
|
name: string;
|
|
11446
11446
|
id: string;
|
|
@@ -11531,8 +11531,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11531
11531
|
};
|
|
11532
11532
|
} | null | undefined;
|
|
11533
11533
|
in_trash?: boolean | undefined;
|
|
11534
|
-
is_inline?: boolean | undefined;
|
|
11535
11534
|
public_url?: string | null | undefined;
|
|
11535
|
+
is_inline?: boolean | undefined;
|
|
11536
11536
|
} | undefined;
|
|
11537
11537
|
}>, z.ZodObject<{
|
|
11538
11538
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -12108,8 +12108,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12108
12108
|
type: "workspace";
|
|
12109
12109
|
workspace: true;
|
|
12110
12110
|
};
|
|
12111
|
-
last_edited_time: string;
|
|
12112
12111
|
created_time: string;
|
|
12112
|
+
last_edited_time: string;
|
|
12113
12113
|
data_sources: {
|
|
12114
12114
|
name: string;
|
|
12115
12115
|
id: string;
|
|
@@ -12200,8 +12200,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12200
12200
|
};
|
|
12201
12201
|
} | null | undefined;
|
|
12202
12202
|
in_trash?: boolean | undefined;
|
|
12203
|
-
is_inline?: boolean | undefined;
|
|
12204
12203
|
public_url?: string | null | undefined;
|
|
12204
|
+
is_inline?: boolean | undefined;
|
|
12205
12205
|
}, {
|
|
12206
12206
|
object: "database";
|
|
12207
12207
|
title: {
|
|
@@ -12241,8 +12241,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12241
12241
|
type: "workspace";
|
|
12242
12242
|
workspace: true;
|
|
12243
12243
|
};
|
|
12244
|
-
last_edited_time: string;
|
|
12245
12244
|
created_time: string;
|
|
12245
|
+
last_edited_time: string;
|
|
12246
12246
|
data_sources: {
|
|
12247
12247
|
name: string;
|
|
12248
12248
|
id: string;
|
|
@@ -12333,13 +12333,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12333
12333
|
};
|
|
12334
12334
|
} | null | undefined;
|
|
12335
12335
|
in_trash?: boolean | undefined;
|
|
12336
|
-
is_inline?: boolean | undefined;
|
|
12337
12336
|
public_url?: string | null | undefined;
|
|
12337
|
+
is_inline?: boolean | undefined;
|
|
12338
12338
|
}>>;
|
|
12339
12339
|
}, "strip", z.ZodTypeAny, {
|
|
12340
|
+
operation: "update_database";
|
|
12340
12341
|
error: string;
|
|
12341
12342
|
success: boolean;
|
|
12342
|
-
operation: "update_database";
|
|
12343
12343
|
database?: {
|
|
12344
12344
|
object: "database";
|
|
12345
12345
|
title: {
|
|
@@ -12379,8 +12379,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12379
12379
|
type: "workspace";
|
|
12380
12380
|
workspace: true;
|
|
12381
12381
|
};
|
|
12382
|
-
last_edited_time: string;
|
|
12383
12382
|
created_time: string;
|
|
12383
|
+
last_edited_time: string;
|
|
12384
12384
|
data_sources: {
|
|
12385
12385
|
name: string;
|
|
12386
12386
|
id: string;
|
|
@@ -12471,13 +12471,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12471
12471
|
};
|
|
12472
12472
|
} | null | undefined;
|
|
12473
12473
|
in_trash?: boolean | undefined;
|
|
12474
|
-
is_inline?: boolean | undefined;
|
|
12475
12474
|
public_url?: string | null | undefined;
|
|
12475
|
+
is_inline?: boolean | undefined;
|
|
12476
12476
|
} | undefined;
|
|
12477
12477
|
}, {
|
|
12478
|
+
operation: "update_database";
|
|
12478
12479
|
error: string;
|
|
12479
12480
|
success: boolean;
|
|
12480
|
-
operation: "update_database";
|
|
12481
12481
|
database?: {
|
|
12482
12482
|
object: "database";
|
|
12483
12483
|
title: {
|
|
@@ -12517,8 +12517,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12517
12517
|
type: "workspace";
|
|
12518
12518
|
workspace: true;
|
|
12519
12519
|
};
|
|
12520
|
-
last_edited_time: string;
|
|
12521
12520
|
created_time: string;
|
|
12521
|
+
last_edited_time: string;
|
|
12522
12522
|
data_sources: {
|
|
12523
12523
|
name: string;
|
|
12524
12524
|
id: string;
|
|
@@ -12609,8 +12609,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12609
12609
|
};
|
|
12610
12610
|
} | null | undefined;
|
|
12611
12611
|
in_trash?: boolean | undefined;
|
|
12612
|
-
is_inline?: boolean | undefined;
|
|
12613
12612
|
public_url?: string | null | undefined;
|
|
12613
|
+
is_inline?: boolean | undefined;
|
|
12614
12614
|
} | undefined;
|
|
12615
12615
|
}>, z.ZodObject<{
|
|
12616
12616
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -13220,9 +13220,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13220
13220
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13221
13221
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
13222
13222
|
}, "strip", z.ZodTypeAny, {
|
|
13223
|
+
operation: "append_block_children";
|
|
13223
13224
|
error: string;
|
|
13224
13225
|
success: boolean;
|
|
13225
|
-
operation: "append_block_children";
|
|
13226
13226
|
blocks?: z.objectOutputType<{
|
|
13227
13227
|
object: z.ZodLiteral<"block">;
|
|
13228
13228
|
id: z.ZodString;
|
|
@@ -13427,9 +13427,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13427
13427
|
next_cursor?: string | null | undefined;
|
|
13428
13428
|
has_more?: boolean | undefined;
|
|
13429
13429
|
}, {
|
|
13430
|
+
operation: "append_block_children";
|
|
13430
13431
|
error: string;
|
|
13431
13432
|
success: boolean;
|
|
13432
|
-
operation: "append_block_children";
|
|
13433
13433
|
blocks?: z.objectInputType<{
|
|
13434
13434
|
object: z.ZodLiteral<"block">;
|
|
13435
13435
|
id: z.ZodString;
|
|
@@ -14241,9 +14241,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14241
14241
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14242
14242
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
14243
14243
|
}, "strip", z.ZodTypeAny, {
|
|
14244
|
+
operation: "retrieve_block_children";
|
|
14244
14245
|
error: string;
|
|
14245
14246
|
success: boolean;
|
|
14246
|
-
operation: "retrieve_block_children";
|
|
14247
14247
|
blocks?: z.objectOutputType<{
|
|
14248
14248
|
object: z.ZodLiteral<"block">;
|
|
14249
14249
|
id: z.ZodString;
|
|
@@ -14448,9 +14448,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14448
14448
|
next_cursor?: string | null | undefined;
|
|
14449
14449
|
has_more?: boolean | undefined;
|
|
14450
14450
|
}, {
|
|
14451
|
+
operation: "retrieve_block_children";
|
|
14451
14452
|
error: string;
|
|
14452
14453
|
success: boolean;
|
|
14453
|
-
operation: "retrieve_block_children";
|
|
14454
14454
|
blocks?: z.objectInputType<{
|
|
14455
14455
|
object: z.ZodLiteral<"block">;
|
|
14456
14456
|
id: z.ZodString;
|
|
@@ -15260,9 +15260,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
15260
15260
|
type: z.ZodString;
|
|
15261
15261
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
15262
15262
|
}, "strip", z.ZodTypeAny, {
|
|
15263
|
+
operation: "retrieve_block";
|
|
15263
15264
|
error: string;
|
|
15264
15265
|
success: boolean;
|
|
15265
|
-
operation: "retrieve_block";
|
|
15266
15266
|
block?: z.objectOutputType<{
|
|
15267
15267
|
object: z.ZodLiteral<"block">;
|
|
15268
15268
|
id: z.ZodString;
|
|
@@ -15465,9 +15465,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
15465
15465
|
type: z.ZodString;
|
|
15466
15466
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15467
15467
|
}, {
|
|
15468
|
+
operation: "retrieve_block";
|
|
15468
15469
|
error: string;
|
|
15469
15470
|
success: boolean;
|
|
15470
|
-
operation: "retrieve_block";
|
|
15471
15471
|
block?: z.objectInputType<{
|
|
15472
15472
|
object: z.ZodLiteral<"block">;
|
|
15473
15473
|
id: z.ZodString;
|
|
@@ -16275,9 +16275,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16275
16275
|
type: z.ZodString;
|
|
16276
16276
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
16277
16277
|
}, "strip", z.ZodTypeAny, {
|
|
16278
|
+
operation: "update_block";
|
|
16278
16279
|
error: string;
|
|
16279
16280
|
success: boolean;
|
|
16280
|
-
operation: "update_block";
|
|
16281
16281
|
block?: z.objectOutputType<{
|
|
16282
16282
|
object: z.ZodLiteral<"block">;
|
|
16283
16283
|
id: z.ZodString;
|
|
@@ -16480,9 +16480,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16480
16480
|
type: z.ZodString;
|
|
16481
16481
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16482
16482
|
}, {
|
|
16483
|
+
operation: "update_block";
|
|
16483
16484
|
error: string;
|
|
16484
16485
|
success: boolean;
|
|
16485
|
-
operation: "update_block";
|
|
16486
16486
|
block?: z.objectInputType<{
|
|
16487
16487
|
object: z.ZodLiteral<"block">;
|
|
16488
16488
|
id: z.ZodString;
|
|
@@ -16871,6 +16871,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16871
16871
|
} & {
|
|
16872
16872
|
[k: string]: unknown;
|
|
16873
16873
|
};
|
|
16874
|
+
created_time: string;
|
|
16875
|
+
last_edited_time: string;
|
|
16876
|
+
created_by: {
|
|
16877
|
+
object: "user";
|
|
16878
|
+
id: string;
|
|
16879
|
+
type?: "person" | "bot" | undefined;
|
|
16880
|
+
name?: string | undefined;
|
|
16881
|
+
person?: {
|
|
16882
|
+
email?: string | undefined;
|
|
16883
|
+
} | undefined;
|
|
16884
|
+
avatar_url?: string | null | undefined;
|
|
16885
|
+
bot?: {
|
|
16886
|
+
owner?: {
|
|
16887
|
+
type: "user" | "workspace";
|
|
16888
|
+
workspace?: boolean | undefined;
|
|
16889
|
+
} | undefined;
|
|
16890
|
+
workspace_name?: string | undefined;
|
|
16891
|
+
} | undefined;
|
|
16892
|
+
};
|
|
16893
|
+
discussion_id: string;
|
|
16874
16894
|
rich_text: {
|
|
16875
16895
|
type: "text" | "mention" | "equation";
|
|
16876
16896
|
text?: {
|
|
@@ -16890,8 +16910,18 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16890
16910
|
} | undefined;
|
|
16891
16911
|
href?: string | null | undefined;
|
|
16892
16912
|
}[];
|
|
16893
|
-
|
|
16913
|
+
}, {
|
|
16914
|
+
object: "comment";
|
|
16915
|
+
id: string;
|
|
16916
|
+
parent: {
|
|
16917
|
+
type: "block_id" | "page_id";
|
|
16918
|
+
block_id?: string | undefined;
|
|
16919
|
+
page_id?: string | undefined;
|
|
16920
|
+
} & {
|
|
16921
|
+
[k: string]: unknown;
|
|
16922
|
+
};
|
|
16894
16923
|
created_time: string;
|
|
16924
|
+
last_edited_time: string;
|
|
16895
16925
|
created_by: {
|
|
16896
16926
|
object: "user";
|
|
16897
16927
|
id: string;
|
|
@@ -16910,16 +16940,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16910
16940
|
} | undefined;
|
|
16911
16941
|
};
|
|
16912
16942
|
discussion_id: string;
|
|
16913
|
-
}, {
|
|
16914
|
-
object: "comment";
|
|
16915
|
-
id: string;
|
|
16916
|
-
parent: {
|
|
16917
|
-
type: "block_id" | "page_id";
|
|
16918
|
-
block_id?: string | undefined;
|
|
16919
|
-
page_id?: string | undefined;
|
|
16920
|
-
} & {
|
|
16921
|
-
[k: string]: unknown;
|
|
16922
|
-
};
|
|
16923
16943
|
rich_text: {
|
|
16924
16944
|
type: "text" | "mention" | "equation";
|
|
16925
16945
|
text?: {
|
|
@@ -16939,8 +16959,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16939
16959
|
} | undefined;
|
|
16940
16960
|
href?: string | null | undefined;
|
|
16941
16961
|
}[];
|
|
16942
|
-
|
|
16962
|
+
}>>;
|
|
16963
|
+
}, "strip", z.ZodTypeAny, {
|
|
16964
|
+
operation: "create_comment";
|
|
16965
|
+
error: string;
|
|
16966
|
+
success: boolean;
|
|
16967
|
+
comment?: {
|
|
16968
|
+
object: "comment";
|
|
16969
|
+
id: string;
|
|
16970
|
+
parent: {
|
|
16971
|
+
type: "block_id" | "page_id";
|
|
16972
|
+
block_id?: string | undefined;
|
|
16973
|
+
page_id?: string | undefined;
|
|
16974
|
+
} & {
|
|
16975
|
+
[k: string]: unknown;
|
|
16976
|
+
};
|
|
16943
16977
|
created_time: string;
|
|
16978
|
+
last_edited_time: string;
|
|
16944
16979
|
created_by: {
|
|
16945
16980
|
object: "user";
|
|
16946
16981
|
id: string;
|
|
@@ -16959,21 +16994,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16959
16994
|
} | undefined;
|
|
16960
16995
|
};
|
|
16961
16996
|
discussion_id: string;
|
|
16962
|
-
}>>;
|
|
16963
|
-
}, "strip", z.ZodTypeAny, {
|
|
16964
|
-
error: string;
|
|
16965
|
-
success: boolean;
|
|
16966
|
-
operation: "create_comment";
|
|
16967
|
-
comment?: {
|
|
16968
|
-
object: "comment";
|
|
16969
|
-
id: string;
|
|
16970
|
-
parent: {
|
|
16971
|
-
type: "block_id" | "page_id";
|
|
16972
|
-
block_id?: string | undefined;
|
|
16973
|
-
page_id?: string | undefined;
|
|
16974
|
-
} & {
|
|
16975
|
-
[k: string]: unknown;
|
|
16976
|
-
};
|
|
16977
16997
|
rich_text: {
|
|
16978
16998
|
type: "text" | "mention" | "equation";
|
|
16979
16999
|
text?: {
|
|
@@ -16993,8 +17013,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16993
17013
|
} | undefined;
|
|
16994
17014
|
href?: string | null | undefined;
|
|
16995
17015
|
}[];
|
|
16996
|
-
|
|
17016
|
+
} | undefined;
|
|
17017
|
+
}, {
|
|
17018
|
+
operation: "create_comment";
|
|
17019
|
+
error: string;
|
|
17020
|
+
success: boolean;
|
|
17021
|
+
comment?: {
|
|
17022
|
+
object: "comment";
|
|
17023
|
+
id: string;
|
|
17024
|
+
parent: {
|
|
17025
|
+
type: "block_id" | "page_id";
|
|
17026
|
+
block_id?: string | undefined;
|
|
17027
|
+
page_id?: string | undefined;
|
|
17028
|
+
} & {
|
|
17029
|
+
[k: string]: unknown;
|
|
17030
|
+
};
|
|
16997
17031
|
created_time: string;
|
|
17032
|
+
last_edited_time: string;
|
|
16998
17033
|
created_by: {
|
|
16999
17034
|
object: "user";
|
|
17000
17035
|
id: string;
|
|
@@ -17013,21 +17048,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17013
17048
|
} | undefined;
|
|
17014
17049
|
};
|
|
17015
17050
|
discussion_id: string;
|
|
17016
|
-
} | undefined;
|
|
17017
|
-
}, {
|
|
17018
|
-
error: string;
|
|
17019
|
-
success: boolean;
|
|
17020
|
-
operation: "create_comment";
|
|
17021
|
-
comment?: {
|
|
17022
|
-
object: "comment";
|
|
17023
|
-
id: string;
|
|
17024
|
-
parent: {
|
|
17025
|
-
type: "block_id" | "page_id";
|
|
17026
|
-
block_id?: string | undefined;
|
|
17027
|
-
page_id?: string | undefined;
|
|
17028
|
-
} & {
|
|
17029
|
-
[k: string]: unknown;
|
|
17030
|
-
};
|
|
17031
17051
|
rich_text: {
|
|
17032
17052
|
type: "text" | "mention" | "equation";
|
|
17033
17053
|
text?: {
|
|
@@ -17047,26 +17067,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17047
17067
|
} | undefined;
|
|
17048
17068
|
href?: string | null | undefined;
|
|
17049
17069
|
}[];
|
|
17050
|
-
last_edited_time: string;
|
|
17051
|
-
created_time: string;
|
|
17052
|
-
created_by: {
|
|
17053
|
-
object: "user";
|
|
17054
|
-
id: string;
|
|
17055
|
-
type?: "person" | "bot" | undefined;
|
|
17056
|
-
name?: string | undefined;
|
|
17057
|
-
person?: {
|
|
17058
|
-
email?: string | undefined;
|
|
17059
|
-
} | undefined;
|
|
17060
|
-
avatar_url?: string | null | undefined;
|
|
17061
|
-
bot?: {
|
|
17062
|
-
owner?: {
|
|
17063
|
-
type: "user" | "workspace";
|
|
17064
|
-
workspace?: boolean | undefined;
|
|
17065
|
-
} | undefined;
|
|
17066
|
-
workspace_name?: string | undefined;
|
|
17067
|
-
} | undefined;
|
|
17068
|
-
};
|
|
17069
|
-
discussion_id: string;
|
|
17070
17070
|
} | undefined;
|
|
17071
17071
|
}>, z.ZodObject<{
|
|
17072
17072
|
operation: z.ZodLiteral<"retrieve_comment">;
|
|
@@ -17255,6 +17255,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17255
17255
|
} & {
|
|
17256
17256
|
[k: string]: unknown;
|
|
17257
17257
|
};
|
|
17258
|
+
created_time: string;
|
|
17259
|
+
last_edited_time: string;
|
|
17260
|
+
created_by: {
|
|
17261
|
+
object: "user";
|
|
17262
|
+
id: string;
|
|
17263
|
+
type?: "person" | "bot" | undefined;
|
|
17264
|
+
name?: string | undefined;
|
|
17265
|
+
person?: {
|
|
17266
|
+
email?: string | undefined;
|
|
17267
|
+
} | undefined;
|
|
17268
|
+
avatar_url?: string | null | undefined;
|
|
17269
|
+
bot?: {
|
|
17270
|
+
owner?: {
|
|
17271
|
+
type: "user" | "workspace";
|
|
17272
|
+
workspace?: boolean | undefined;
|
|
17273
|
+
} | undefined;
|
|
17274
|
+
workspace_name?: string | undefined;
|
|
17275
|
+
} | undefined;
|
|
17276
|
+
};
|
|
17277
|
+
discussion_id: string;
|
|
17258
17278
|
rich_text: {
|
|
17259
17279
|
type: "text" | "mention" | "equation";
|
|
17260
17280
|
text?: {
|
|
@@ -17274,8 +17294,18 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17274
17294
|
} | undefined;
|
|
17275
17295
|
href?: string | null | undefined;
|
|
17276
17296
|
}[];
|
|
17277
|
-
|
|
17297
|
+
}, {
|
|
17298
|
+
object: "comment";
|
|
17299
|
+
id: string;
|
|
17300
|
+
parent: {
|
|
17301
|
+
type: "block_id" | "page_id";
|
|
17302
|
+
block_id?: string | undefined;
|
|
17303
|
+
page_id?: string | undefined;
|
|
17304
|
+
} & {
|
|
17305
|
+
[k: string]: unknown;
|
|
17306
|
+
};
|
|
17278
17307
|
created_time: string;
|
|
17308
|
+
last_edited_time: string;
|
|
17279
17309
|
created_by: {
|
|
17280
17310
|
object: "user";
|
|
17281
17311
|
id: string;
|
|
@@ -17294,16 +17324,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17294
17324
|
} | undefined;
|
|
17295
17325
|
};
|
|
17296
17326
|
discussion_id: string;
|
|
17297
|
-
}, {
|
|
17298
|
-
object: "comment";
|
|
17299
|
-
id: string;
|
|
17300
|
-
parent: {
|
|
17301
|
-
type: "block_id" | "page_id";
|
|
17302
|
-
block_id?: string | undefined;
|
|
17303
|
-
page_id?: string | undefined;
|
|
17304
|
-
} & {
|
|
17305
|
-
[k: string]: unknown;
|
|
17306
|
-
};
|
|
17307
17327
|
rich_text: {
|
|
17308
17328
|
type: "text" | "mention" | "equation";
|
|
17309
17329
|
text?: {
|
|
@@ -17323,8 +17343,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17323
17343
|
} | undefined;
|
|
17324
17344
|
href?: string | null | undefined;
|
|
17325
17345
|
}[];
|
|
17326
|
-
|
|
17346
|
+
}>>;
|
|
17347
|
+
}, "strip", z.ZodTypeAny, {
|
|
17348
|
+
operation: "retrieve_comment";
|
|
17349
|
+
error: string;
|
|
17350
|
+
success: boolean;
|
|
17351
|
+
comment?: {
|
|
17352
|
+
object: "comment";
|
|
17353
|
+
id: string;
|
|
17354
|
+
parent: {
|
|
17355
|
+
type: "block_id" | "page_id";
|
|
17356
|
+
block_id?: string | undefined;
|
|
17357
|
+
page_id?: string | undefined;
|
|
17358
|
+
} & {
|
|
17359
|
+
[k: string]: unknown;
|
|
17360
|
+
};
|
|
17327
17361
|
created_time: string;
|
|
17362
|
+
last_edited_time: string;
|
|
17328
17363
|
created_by: {
|
|
17329
17364
|
object: "user";
|
|
17330
17365
|
id: string;
|
|
@@ -17343,21 +17378,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17343
17378
|
} | undefined;
|
|
17344
17379
|
};
|
|
17345
17380
|
discussion_id: string;
|
|
17346
|
-
}>>;
|
|
17347
|
-
}, "strip", z.ZodTypeAny, {
|
|
17348
|
-
error: string;
|
|
17349
|
-
success: boolean;
|
|
17350
|
-
operation: "retrieve_comment";
|
|
17351
|
-
comment?: {
|
|
17352
|
-
object: "comment";
|
|
17353
|
-
id: string;
|
|
17354
|
-
parent: {
|
|
17355
|
-
type: "block_id" | "page_id";
|
|
17356
|
-
block_id?: string | undefined;
|
|
17357
|
-
page_id?: string | undefined;
|
|
17358
|
-
} & {
|
|
17359
|
-
[k: string]: unknown;
|
|
17360
|
-
};
|
|
17361
17381
|
rich_text: {
|
|
17362
17382
|
type: "text" | "mention" | "equation";
|
|
17363
17383
|
text?: {
|
|
@@ -17377,8 +17397,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17377
17397
|
} | undefined;
|
|
17378
17398
|
href?: string | null | undefined;
|
|
17379
17399
|
}[];
|
|
17380
|
-
|
|
17400
|
+
} | undefined;
|
|
17401
|
+
}, {
|
|
17402
|
+
operation: "retrieve_comment";
|
|
17403
|
+
error: string;
|
|
17404
|
+
success: boolean;
|
|
17405
|
+
comment?: {
|
|
17406
|
+
object: "comment";
|
|
17407
|
+
id: string;
|
|
17408
|
+
parent: {
|
|
17409
|
+
type: "block_id" | "page_id";
|
|
17410
|
+
block_id?: string | undefined;
|
|
17411
|
+
page_id?: string | undefined;
|
|
17412
|
+
} & {
|
|
17413
|
+
[k: string]: unknown;
|
|
17414
|
+
};
|
|
17381
17415
|
created_time: string;
|
|
17416
|
+
last_edited_time: string;
|
|
17382
17417
|
created_by: {
|
|
17383
17418
|
object: "user";
|
|
17384
17419
|
id: string;
|
|
@@ -17397,21 +17432,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17397
17432
|
} | undefined;
|
|
17398
17433
|
};
|
|
17399
17434
|
discussion_id: string;
|
|
17400
|
-
} | undefined;
|
|
17401
|
-
}, {
|
|
17402
|
-
error: string;
|
|
17403
|
-
success: boolean;
|
|
17404
|
-
operation: "retrieve_comment";
|
|
17405
|
-
comment?: {
|
|
17406
|
-
object: "comment";
|
|
17407
|
-
id: string;
|
|
17408
|
-
parent: {
|
|
17409
|
-
type: "block_id" | "page_id";
|
|
17410
|
-
block_id?: string | undefined;
|
|
17411
|
-
page_id?: string | undefined;
|
|
17412
|
-
} & {
|
|
17413
|
-
[k: string]: unknown;
|
|
17414
|
-
};
|
|
17415
17435
|
rich_text: {
|
|
17416
17436
|
type: "text" | "mention" | "equation";
|
|
17417
17437
|
text?: {
|
|
@@ -17431,26 +17451,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17431
17451
|
} | undefined;
|
|
17432
17452
|
href?: string | null | undefined;
|
|
17433
17453
|
}[];
|
|
17434
|
-
last_edited_time: string;
|
|
17435
|
-
created_time: string;
|
|
17436
|
-
created_by: {
|
|
17437
|
-
object: "user";
|
|
17438
|
-
id: string;
|
|
17439
|
-
type?: "person" | "bot" | undefined;
|
|
17440
|
-
name?: string | undefined;
|
|
17441
|
-
person?: {
|
|
17442
|
-
email?: string | undefined;
|
|
17443
|
-
} | undefined;
|
|
17444
|
-
avatar_url?: string | null | undefined;
|
|
17445
|
-
bot?: {
|
|
17446
|
-
owner?: {
|
|
17447
|
-
type: "user" | "workspace";
|
|
17448
|
-
workspace?: boolean | undefined;
|
|
17449
|
-
} | undefined;
|
|
17450
|
-
workspace_name?: string | undefined;
|
|
17451
|
-
} | undefined;
|
|
17452
|
-
};
|
|
17453
|
-
discussion_id: string;
|
|
17454
17454
|
} | undefined;
|
|
17455
17455
|
}>, z.ZodObject<{
|
|
17456
17456
|
operation: z.ZodLiteral<"list_users">;
|
|
@@ -17530,9 +17530,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17530
17530
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17531
17531
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
17532
17532
|
}, "strip", z.ZodTypeAny, {
|
|
17533
|
+
operation: "list_users";
|
|
17533
17534
|
error: string;
|
|
17534
17535
|
success: boolean;
|
|
17535
|
-
operation: "list_users";
|
|
17536
17536
|
users?: {
|
|
17537
17537
|
object: "user";
|
|
17538
17538
|
id: string;
|
|
@@ -17553,9 +17553,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17553
17553
|
next_cursor?: string | null | undefined;
|
|
17554
17554
|
has_more?: boolean | undefined;
|
|
17555
17555
|
}, {
|
|
17556
|
+
operation: "list_users";
|
|
17556
17557
|
error: string;
|
|
17557
17558
|
success: boolean;
|
|
17558
|
-
operation: "list_users";
|
|
17559
17559
|
users?: {
|
|
17560
17560
|
object: "user";
|
|
17561
17561
|
id: string;
|
|
@@ -17634,9 +17634,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17634
17634
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17635
17635
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
17636
17636
|
}, "strip", z.ZodTypeAny, {
|
|
17637
|
+
operation: "search";
|
|
17637
17638
|
error: string;
|
|
17638
17639
|
success: boolean;
|
|
17639
|
-
operation: "search";
|
|
17640
17640
|
next_cursor?: string | null | undefined;
|
|
17641
17641
|
has_more?: boolean | undefined;
|
|
17642
17642
|
results?: z.objectOutputType<{
|
|
@@ -17658,9 +17658,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17658
17658
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
17659
17659
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
17660
17660
|
}, {
|
|
17661
|
+
operation: "search";
|
|
17661
17662
|
error: string;
|
|
17662
17663
|
success: boolean;
|
|
17663
|
-
operation: "search";
|
|
17664
17664
|
next_cursor?: string | null | undefined;
|
|
17665
17665
|
has_more?: boolean | undefined;
|
|
17666
17666
|
results?: z.objectInputType<{
|
|
@@ -17883,6 +17883,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17883
17883
|
}>]>>;
|
|
17884
17884
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
17885
17885
|
}, "strip", z.ZodTypeAny, {
|
|
17886
|
+
operation: "create_page";
|
|
17886
17887
|
parent: {
|
|
17887
17888
|
type: "page_id";
|
|
17888
17889
|
page_id: string;
|
|
@@ -17900,7 +17901,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17900
17901
|
type: "workspace";
|
|
17901
17902
|
workspace: true;
|
|
17902
17903
|
};
|
|
17903
|
-
operation: "create_page";
|
|
17904
17904
|
properties?: Record<string, unknown> | undefined;
|
|
17905
17905
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
17906
17906
|
icon?: {
|
|
@@ -17923,7 +17923,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17923
17923
|
type: "emoji";
|
|
17924
17924
|
emoji: string;
|
|
17925
17925
|
} | undefined;
|
|
17926
|
-
children?: unknown[] | undefined;
|
|
17927
17926
|
cover?: {
|
|
17928
17927
|
type: "file";
|
|
17929
17928
|
file: {
|
|
@@ -17941,7 +17940,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17941
17940
|
url: string;
|
|
17942
17941
|
};
|
|
17943
17942
|
} | undefined;
|
|
17943
|
+
children?: unknown[] | undefined;
|
|
17944
17944
|
}, {
|
|
17945
|
+
operation: "create_page";
|
|
17945
17946
|
parent: {
|
|
17946
17947
|
type: "page_id";
|
|
17947
17948
|
page_id: string;
|
|
@@ -17959,7 +17960,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17959
17960
|
type: "workspace";
|
|
17960
17961
|
workspace: true;
|
|
17961
17962
|
};
|
|
17962
|
-
operation: "create_page";
|
|
17963
17963
|
properties?: Record<string, unknown> | undefined;
|
|
17964
17964
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
17965
17965
|
icon?: {
|
|
@@ -17982,7 +17982,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
17982
17982
|
type: "emoji";
|
|
17983
17983
|
emoji: string;
|
|
17984
17984
|
} | undefined;
|
|
17985
|
-
children?: unknown[] | undefined;
|
|
17986
17985
|
cover?: {
|
|
17987
17986
|
type: "file";
|
|
17988
17987
|
file: {
|
|
@@ -18000,6 +17999,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
18000
17999
|
url: string;
|
|
18001
18000
|
};
|
|
18002
18001
|
} | undefined;
|
|
18002
|
+
children?: unknown[] | undefined;
|
|
18003
18003
|
}>, z.ZodObject<{
|
|
18004
18004
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
18005
18005
|
page_id: z.ZodString;
|
|
@@ -18460,12 +18460,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
18460
18460
|
}>]>>;
|
|
18461
18461
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
18462
18462
|
}, "strip", z.ZodTypeAny, {
|
|
18463
|
+
operation: "create_data_source";
|
|
18463
18464
|
properties: Record<string, unknown>;
|
|
18464
18465
|
parent: {
|
|
18465
18466
|
type: "database_id";
|
|
18466
18467
|
database_id: string;
|
|
18467
18468
|
};
|
|
18468
|
-
operation: "create_data_source";
|
|
18469
18469
|
title?: {
|
|
18470
18470
|
type: "text" | "mention" | "equation";
|
|
18471
18471
|
text?: {
|
|
@@ -18507,12 +18507,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
18507
18507
|
emoji: string;
|
|
18508
18508
|
} | undefined;
|
|
18509
18509
|
}, {
|
|
18510
|
+
operation: "create_data_source";
|
|
18510
18511
|
properties: Record<string, unknown>;
|
|
18511
18512
|
parent: {
|
|
18512
18513
|
type: "database_id";
|
|
18513
18514
|
database_id: string;
|
|
18514
18515
|
};
|
|
18515
|
-
operation: "create_data_source";
|
|
18516
18516
|
title?: {
|
|
18517
18517
|
type: "text" | "mention" | "equation";
|
|
18518
18518
|
text?: {
|
|
@@ -18950,21 +18950,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
18950
18950
|
page_id: z.ZodOptional<z.ZodString>;
|
|
18951
18951
|
workspace: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18952
18952
|
}, "strip", z.ZodTypeAny, {
|
|
18953
|
-
type: "
|
|
18954
|
-
page_id?: string | undefined;
|
|
18953
|
+
type: "workspace" | "page_id";
|
|
18955
18954
|
workspace?: true | undefined;
|
|
18956
|
-
}, {
|
|
18957
|
-
type: "page_id" | "workspace";
|
|
18958
18955
|
page_id?: string | undefined;
|
|
18956
|
+
}, {
|
|
18957
|
+
type: "workspace" | "page_id";
|
|
18959
18958
|
workspace?: true | undefined;
|
|
18960
|
-
}>, {
|
|
18961
|
-
type: "page_id" | "workspace";
|
|
18962
18959
|
page_id?: string | undefined;
|
|
18960
|
+
}>, {
|
|
18961
|
+
type: "workspace" | "page_id";
|
|
18963
18962
|
workspace?: true | undefined;
|
|
18964
|
-
}, {
|
|
18965
|
-
type: "page_id" | "workspace";
|
|
18966
18963
|
page_id?: string | undefined;
|
|
18964
|
+
}, {
|
|
18965
|
+
type: "workspace" | "page_id";
|
|
18967
18966
|
workspace?: true | undefined;
|
|
18967
|
+
page_id?: string | undefined;
|
|
18968
18968
|
}>, {
|
|
18969
18969
|
type: "workspace";
|
|
18970
18970
|
workspace: boolean;
|
|
@@ -18974,9 +18974,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
18974
18974
|
page_id: string;
|
|
18975
18975
|
workspace?: undefined;
|
|
18976
18976
|
}, {
|
|
18977
|
-
type: "
|
|
18978
|
-
page_id?: string | undefined;
|
|
18977
|
+
type: "workspace" | "page_id";
|
|
18979
18978
|
workspace?: true | undefined;
|
|
18979
|
+
page_id?: string | undefined;
|
|
18980
18980
|
}>;
|
|
18981
18981
|
initial_data_source: z.ZodObject<{
|
|
18982
18982
|
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -19288,6 +19288,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19288
19288
|
}>]>>;
|
|
19289
19289
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
19290
19290
|
}, "strip", z.ZodTypeAny, {
|
|
19291
|
+
operation: "create_database";
|
|
19291
19292
|
parent: {
|
|
19292
19293
|
type: "workspace";
|
|
19293
19294
|
workspace: boolean;
|
|
@@ -19297,7 +19298,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19297
19298
|
page_id: string;
|
|
19298
19299
|
workspace?: undefined;
|
|
19299
19300
|
};
|
|
19300
|
-
operation: "create_database";
|
|
19301
19301
|
initial_data_source: {
|
|
19302
19302
|
properties: Record<string, unknown>;
|
|
19303
19303
|
};
|
|
@@ -19378,12 +19378,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19378
19378
|
};
|
|
19379
19379
|
} | undefined;
|
|
19380
19380
|
}, {
|
|
19381
|
+
operation: "create_database";
|
|
19381
19382
|
parent: {
|
|
19382
|
-
type: "
|
|
19383
|
-
page_id?: string | undefined;
|
|
19383
|
+
type: "workspace" | "page_id";
|
|
19384
19384
|
workspace?: true | undefined;
|
|
19385
|
+
page_id?: string | undefined;
|
|
19385
19386
|
};
|
|
19386
|
-
operation: "create_database";
|
|
19387
19387
|
initial_data_source: {
|
|
19388
19388
|
properties: Record<string, unknown>;
|
|
19389
19389
|
};
|
|
@@ -19862,6 +19862,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19862
19862
|
href?: string | null | undefined;
|
|
19863
19863
|
}[] | undefined;
|
|
19864
19864
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19865
|
+
is_locked?: boolean | undefined;
|
|
19865
19866
|
parent?: {
|
|
19866
19867
|
type: "page_id";
|
|
19867
19868
|
page_id: string;
|
|
@@ -19879,7 +19880,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19879
19880
|
type: "workspace";
|
|
19880
19881
|
workspace: true;
|
|
19881
19882
|
} | undefined;
|
|
19882
|
-
is_locked?: boolean | undefined;
|
|
19883
19883
|
icon?: {
|
|
19884
19884
|
type: "file";
|
|
19885
19885
|
file: {
|
|
@@ -19961,6 +19961,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19961
19961
|
href?: string | null | undefined;
|
|
19962
19962
|
}[] | undefined;
|
|
19963
19963
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19964
|
+
is_locked?: boolean | undefined;
|
|
19964
19965
|
parent?: {
|
|
19965
19966
|
type: "page_id";
|
|
19966
19967
|
page_id: string;
|
|
@@ -19978,7 +19979,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
19978
19979
|
type: "workspace";
|
|
19979
19980
|
workspace: true;
|
|
19980
19981
|
} | undefined;
|
|
19981
|
-
is_locked?: boolean | undefined;
|
|
19982
19982
|
icon?: {
|
|
19983
19983
|
type: "file";
|
|
19984
19984
|
file: {
|
|
@@ -20208,11 +20208,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20208
20208
|
}>>;
|
|
20209
20209
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
20210
20210
|
}, "strip", z.ZodTypeAny, {
|
|
20211
|
+
operation: "create_comment";
|
|
20211
20212
|
parent: {
|
|
20212
20213
|
block_id?: string | undefined;
|
|
20213
20214
|
page_id?: string | undefined;
|
|
20214
20215
|
};
|
|
20215
|
-
operation: "create_comment";
|
|
20216
20216
|
rich_text: {
|
|
20217
20217
|
type: "text" | "mention" | "equation";
|
|
20218
20218
|
text?: {
|
|
@@ -20232,11 +20232,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20232
20232
|
} | undefined;
|
|
20233
20233
|
href?: string | null | undefined;
|
|
20234
20234
|
}[];
|
|
20235
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20236
20235
|
attachments?: {
|
|
20237
20236
|
file_upload_id: string;
|
|
20238
20237
|
type?: "file_upload" | undefined;
|
|
20239
20238
|
}[] | undefined;
|
|
20239
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20240
20240
|
display_name?: {
|
|
20241
20241
|
type: "custom" | "user" | "integration";
|
|
20242
20242
|
custom?: {
|
|
@@ -20244,11 +20244,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20244
20244
|
} | undefined;
|
|
20245
20245
|
} | undefined;
|
|
20246
20246
|
}, {
|
|
20247
|
+
operation: "create_comment";
|
|
20247
20248
|
parent: {
|
|
20248
20249
|
block_id?: string | undefined;
|
|
20249
20250
|
page_id?: string | undefined;
|
|
20250
20251
|
};
|
|
20251
|
-
operation: "create_comment";
|
|
20252
20252
|
rich_text: {
|
|
20253
20253
|
type: "text" | "mention" | "equation";
|
|
20254
20254
|
text?: {
|
|
@@ -20268,11 +20268,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20268
20268
|
} | undefined;
|
|
20269
20269
|
href?: string | null | undefined;
|
|
20270
20270
|
}[];
|
|
20271
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20272
20271
|
attachments?: {
|
|
20273
20272
|
file_upload_id: string;
|
|
20274
20273
|
type?: "file_upload" | undefined;
|
|
20275
20274
|
}[] | undefined;
|
|
20275
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20276
20276
|
display_name?: {
|
|
20277
20277
|
type: "custom" | "user" | "integration";
|
|
20278
20278
|
custom?: {
|
|
@@ -20704,9 +20704,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20704
20704
|
type: "workspace";
|
|
20705
20705
|
workspace: true;
|
|
20706
20706
|
};
|
|
20707
|
-
archived: boolean;
|
|
20708
|
-
last_edited_time: string;
|
|
20709
20707
|
created_time: string;
|
|
20708
|
+
last_edited_time: string;
|
|
20710
20709
|
created_by: {
|
|
20711
20710
|
object: "user";
|
|
20712
20711
|
id: string;
|
|
@@ -20741,6 +20740,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20741
20740
|
workspace_name?: string | undefined;
|
|
20742
20741
|
} | undefined;
|
|
20743
20742
|
};
|
|
20743
|
+
archived: boolean;
|
|
20744
20744
|
icon?: {
|
|
20745
20745
|
type: "emoji";
|
|
20746
20746
|
emoji: string;
|
|
@@ -20797,9 +20797,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20797
20797
|
type: "workspace";
|
|
20798
20798
|
workspace: true;
|
|
20799
20799
|
};
|
|
20800
|
-
archived: boolean;
|
|
20801
|
-
last_edited_time: string;
|
|
20802
20800
|
created_time: string;
|
|
20801
|
+
last_edited_time: string;
|
|
20803
20802
|
created_by: {
|
|
20804
20803
|
object: "user";
|
|
20805
20804
|
id: string;
|
|
@@ -20834,6 +20833,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20834
20833
|
workspace_name?: string | undefined;
|
|
20835
20834
|
} | undefined;
|
|
20836
20835
|
};
|
|
20836
|
+
archived: boolean;
|
|
20837
20837
|
icon?: {
|
|
20838
20838
|
type: "emoji";
|
|
20839
20839
|
emoji: string;
|
|
@@ -20870,9 +20870,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20870
20870
|
public_url?: string | null | undefined;
|
|
20871
20871
|
}>>;
|
|
20872
20872
|
}, "strip", z.ZodTypeAny, {
|
|
20873
|
+
operation: "create_page";
|
|
20873
20874
|
error: string;
|
|
20874
20875
|
success: boolean;
|
|
20875
|
-
operation: "create_page";
|
|
20876
20876
|
page?: {
|
|
20877
20877
|
object: "page";
|
|
20878
20878
|
properties: Record<string, unknown>;
|
|
@@ -20895,9 +20895,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20895
20895
|
type: "workspace";
|
|
20896
20896
|
workspace: true;
|
|
20897
20897
|
};
|
|
20898
|
-
archived: boolean;
|
|
20899
|
-
last_edited_time: string;
|
|
20900
20898
|
created_time: string;
|
|
20899
|
+
last_edited_time: string;
|
|
20901
20900
|
created_by: {
|
|
20902
20901
|
object: "user";
|
|
20903
20902
|
id: string;
|
|
@@ -20932,6 +20931,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20932
20931
|
workspace_name?: string | undefined;
|
|
20933
20932
|
} | undefined;
|
|
20934
20933
|
};
|
|
20934
|
+
archived: boolean;
|
|
20935
20935
|
icon?: {
|
|
20936
20936
|
type: "emoji";
|
|
20937
20937
|
emoji: string;
|
|
@@ -20968,9 +20968,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20968
20968
|
public_url?: string | null | undefined;
|
|
20969
20969
|
} | undefined;
|
|
20970
20970
|
}, {
|
|
20971
|
+
operation: "create_page";
|
|
20971
20972
|
error: string;
|
|
20972
20973
|
success: boolean;
|
|
20973
|
-
operation: "create_page";
|
|
20974
20974
|
page?: {
|
|
20975
20975
|
object: "page";
|
|
20976
20976
|
properties: Record<string, unknown>;
|
|
@@ -20993,9 +20993,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20993
20993
|
type: "workspace";
|
|
20994
20994
|
workspace: true;
|
|
20995
20995
|
};
|
|
20996
|
-
archived: boolean;
|
|
20997
|
-
last_edited_time: string;
|
|
20998
20996
|
created_time: string;
|
|
20997
|
+
last_edited_time: string;
|
|
20999
20998
|
created_by: {
|
|
21000
20999
|
object: "user";
|
|
21001
21000
|
id: string;
|
|
@@ -21030,6 +21029,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21030
21029
|
workspace_name?: string | undefined;
|
|
21031
21030
|
} | undefined;
|
|
21032
21031
|
};
|
|
21032
|
+
archived: boolean;
|
|
21033
21033
|
icon?: {
|
|
21034
21034
|
type: "emoji";
|
|
21035
21035
|
emoji: string;
|
|
@@ -21408,9 +21408,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21408
21408
|
type: "workspace";
|
|
21409
21409
|
workspace: true;
|
|
21410
21410
|
};
|
|
21411
|
-
archived: boolean;
|
|
21412
|
-
last_edited_time: string;
|
|
21413
21411
|
created_time: string;
|
|
21412
|
+
last_edited_time: string;
|
|
21414
21413
|
created_by: {
|
|
21415
21414
|
object: "user";
|
|
21416
21415
|
id: string;
|
|
@@ -21445,6 +21444,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21445
21444
|
workspace_name?: string | undefined;
|
|
21446
21445
|
} | undefined;
|
|
21447
21446
|
};
|
|
21447
|
+
archived: boolean;
|
|
21448
21448
|
icon?: {
|
|
21449
21449
|
type: "emoji";
|
|
21450
21450
|
emoji: string;
|
|
@@ -21501,9 +21501,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21501
21501
|
type: "workspace";
|
|
21502
21502
|
workspace: true;
|
|
21503
21503
|
};
|
|
21504
|
-
archived: boolean;
|
|
21505
|
-
last_edited_time: string;
|
|
21506
21504
|
created_time: string;
|
|
21505
|
+
last_edited_time: string;
|
|
21507
21506
|
created_by: {
|
|
21508
21507
|
object: "user";
|
|
21509
21508
|
id: string;
|
|
@@ -21538,6 +21537,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21538
21537
|
workspace_name?: string | undefined;
|
|
21539
21538
|
} | undefined;
|
|
21540
21539
|
};
|
|
21540
|
+
archived: boolean;
|
|
21541
21541
|
icon?: {
|
|
21542
21542
|
type: "emoji";
|
|
21543
21543
|
emoji: string;
|
|
@@ -21574,9 +21574,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21574
21574
|
public_url?: string | null | undefined;
|
|
21575
21575
|
}>>;
|
|
21576
21576
|
}, "strip", z.ZodTypeAny, {
|
|
21577
|
+
operation: "retrieve_page";
|
|
21577
21578
|
error: string;
|
|
21578
21579
|
success: boolean;
|
|
21579
|
-
operation: "retrieve_page";
|
|
21580
21580
|
page?: {
|
|
21581
21581
|
object: "page";
|
|
21582
21582
|
properties: Record<string, unknown>;
|
|
@@ -21599,9 +21599,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21599
21599
|
type: "workspace";
|
|
21600
21600
|
workspace: true;
|
|
21601
21601
|
};
|
|
21602
|
-
archived: boolean;
|
|
21603
|
-
last_edited_time: string;
|
|
21604
21602
|
created_time: string;
|
|
21603
|
+
last_edited_time: string;
|
|
21605
21604
|
created_by: {
|
|
21606
21605
|
object: "user";
|
|
21607
21606
|
id: string;
|
|
@@ -21636,6 +21635,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21636
21635
|
workspace_name?: string | undefined;
|
|
21637
21636
|
} | undefined;
|
|
21638
21637
|
};
|
|
21638
|
+
archived: boolean;
|
|
21639
21639
|
icon?: {
|
|
21640
21640
|
type: "emoji";
|
|
21641
21641
|
emoji: string;
|
|
@@ -21672,9 +21672,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21672
21672
|
public_url?: string | null | undefined;
|
|
21673
21673
|
} | undefined;
|
|
21674
21674
|
}, {
|
|
21675
|
+
operation: "retrieve_page";
|
|
21675
21676
|
error: string;
|
|
21676
21677
|
success: boolean;
|
|
21677
|
-
operation: "retrieve_page";
|
|
21678
21678
|
page?: {
|
|
21679
21679
|
object: "page";
|
|
21680
21680
|
properties: Record<string, unknown>;
|
|
@@ -21697,9 +21697,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21697
21697
|
type: "workspace";
|
|
21698
21698
|
workspace: true;
|
|
21699
21699
|
};
|
|
21700
|
-
archived: boolean;
|
|
21701
|
-
last_edited_time: string;
|
|
21702
21700
|
created_time: string;
|
|
21701
|
+
last_edited_time: string;
|
|
21703
21702
|
created_by: {
|
|
21704
21703
|
object: "user";
|
|
21705
21704
|
id: string;
|
|
@@ -21734,6 +21733,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21734
21733
|
workspace_name?: string | undefined;
|
|
21735
21734
|
} | undefined;
|
|
21736
21735
|
};
|
|
21736
|
+
archived: boolean;
|
|
21737
21737
|
icon?: {
|
|
21738
21738
|
type: "emoji";
|
|
21739
21739
|
emoji: string;
|
|
@@ -22112,9 +22112,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22112
22112
|
type: "workspace";
|
|
22113
22113
|
workspace: true;
|
|
22114
22114
|
};
|
|
22115
|
-
archived: boolean;
|
|
22116
|
-
last_edited_time: string;
|
|
22117
22115
|
created_time: string;
|
|
22116
|
+
last_edited_time: string;
|
|
22118
22117
|
created_by: {
|
|
22119
22118
|
object: "user";
|
|
22120
22119
|
id: string;
|
|
@@ -22149,6 +22148,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22149
22148
|
workspace_name?: string | undefined;
|
|
22150
22149
|
} | undefined;
|
|
22151
22150
|
};
|
|
22151
|
+
archived: boolean;
|
|
22152
22152
|
icon?: {
|
|
22153
22153
|
type: "emoji";
|
|
22154
22154
|
emoji: string;
|
|
@@ -22205,9 +22205,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22205
22205
|
type: "workspace";
|
|
22206
22206
|
workspace: true;
|
|
22207
22207
|
};
|
|
22208
|
-
archived: boolean;
|
|
22209
|
-
last_edited_time: string;
|
|
22210
22208
|
created_time: string;
|
|
22209
|
+
last_edited_time: string;
|
|
22211
22210
|
created_by: {
|
|
22212
22211
|
object: "user";
|
|
22213
22212
|
id: string;
|
|
@@ -22242,6 +22241,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22242
22241
|
workspace_name?: string | undefined;
|
|
22243
22242
|
} | undefined;
|
|
22244
22243
|
};
|
|
22244
|
+
archived: boolean;
|
|
22245
22245
|
icon?: {
|
|
22246
22246
|
type: "emoji";
|
|
22247
22247
|
emoji: string;
|
|
@@ -22278,9 +22278,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22278
22278
|
public_url?: string | null | undefined;
|
|
22279
22279
|
}>>;
|
|
22280
22280
|
}, "strip", z.ZodTypeAny, {
|
|
22281
|
+
operation: "update_page";
|
|
22281
22282
|
error: string;
|
|
22282
22283
|
success: boolean;
|
|
22283
|
-
operation: "update_page";
|
|
22284
22284
|
page?: {
|
|
22285
22285
|
object: "page";
|
|
22286
22286
|
properties: Record<string, unknown>;
|
|
@@ -22303,9 +22303,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22303
22303
|
type: "workspace";
|
|
22304
22304
|
workspace: true;
|
|
22305
22305
|
};
|
|
22306
|
-
archived: boolean;
|
|
22307
|
-
last_edited_time: string;
|
|
22308
22306
|
created_time: string;
|
|
22307
|
+
last_edited_time: string;
|
|
22309
22308
|
created_by: {
|
|
22310
22309
|
object: "user";
|
|
22311
22310
|
id: string;
|
|
@@ -22340,6 +22339,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22340
22339
|
workspace_name?: string | undefined;
|
|
22341
22340
|
} | undefined;
|
|
22342
22341
|
};
|
|
22342
|
+
archived: boolean;
|
|
22343
22343
|
icon?: {
|
|
22344
22344
|
type: "emoji";
|
|
22345
22345
|
emoji: string;
|
|
@@ -22376,9 +22376,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22376
22376
|
public_url?: string | null | undefined;
|
|
22377
22377
|
} | undefined;
|
|
22378
22378
|
}, {
|
|
22379
|
+
operation: "update_page";
|
|
22379
22380
|
error: string;
|
|
22380
22381
|
success: boolean;
|
|
22381
|
-
operation: "update_page";
|
|
22382
22382
|
page?: {
|
|
22383
22383
|
object: "page";
|
|
22384
22384
|
properties: Record<string, unknown>;
|
|
@@ -22401,9 +22401,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22401
22401
|
type: "workspace";
|
|
22402
22402
|
workspace: true;
|
|
22403
22403
|
};
|
|
22404
|
-
archived: boolean;
|
|
22405
|
-
last_edited_time: string;
|
|
22406
22404
|
created_time: string;
|
|
22405
|
+
last_edited_time: string;
|
|
22407
22406
|
created_by: {
|
|
22408
22407
|
object: "user";
|
|
22409
22408
|
id: string;
|
|
@@ -22438,6 +22437,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22438
22437
|
workspace_name?: string | undefined;
|
|
22439
22438
|
} | undefined;
|
|
22440
22439
|
};
|
|
22440
|
+
archived: boolean;
|
|
22441
22441
|
icon?: {
|
|
22442
22442
|
type: "emoji";
|
|
22443
22443
|
emoji: string;
|
|
@@ -23047,8 +23047,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23047
23047
|
type: "workspace";
|
|
23048
23048
|
workspace: true;
|
|
23049
23049
|
};
|
|
23050
|
-
last_edited_time: string;
|
|
23051
23050
|
created_time: string;
|
|
23051
|
+
last_edited_time: string;
|
|
23052
23052
|
data_sources: {
|
|
23053
23053
|
name: string;
|
|
23054
23054
|
id: string;
|
|
@@ -23139,8 +23139,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23139
23139
|
};
|
|
23140
23140
|
} | null | undefined;
|
|
23141
23141
|
in_trash?: boolean | undefined;
|
|
23142
|
-
is_inline?: boolean | undefined;
|
|
23143
23142
|
public_url?: string | null | undefined;
|
|
23143
|
+
is_inline?: boolean | undefined;
|
|
23144
23144
|
}, {
|
|
23145
23145
|
object: "database";
|
|
23146
23146
|
title: {
|
|
@@ -23180,8 +23180,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23180
23180
|
type: "workspace";
|
|
23181
23181
|
workspace: true;
|
|
23182
23182
|
};
|
|
23183
|
-
last_edited_time: string;
|
|
23184
23183
|
created_time: string;
|
|
23184
|
+
last_edited_time: string;
|
|
23185
23185
|
data_sources: {
|
|
23186
23186
|
name: string;
|
|
23187
23187
|
id: string;
|
|
@@ -23272,13 +23272,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23272
23272
|
};
|
|
23273
23273
|
} | null | undefined;
|
|
23274
23274
|
in_trash?: boolean | undefined;
|
|
23275
|
-
is_inline?: boolean | undefined;
|
|
23276
23275
|
public_url?: string | null | undefined;
|
|
23276
|
+
is_inline?: boolean | undefined;
|
|
23277
23277
|
}>>;
|
|
23278
23278
|
}, "strip", z.ZodTypeAny, {
|
|
23279
|
+
operation: "retrieve_database";
|
|
23279
23280
|
error: string;
|
|
23280
23281
|
success: boolean;
|
|
23281
|
-
operation: "retrieve_database";
|
|
23282
23282
|
database?: {
|
|
23283
23283
|
object: "database";
|
|
23284
23284
|
title: {
|
|
@@ -23318,8 +23318,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23318
23318
|
type: "workspace";
|
|
23319
23319
|
workspace: true;
|
|
23320
23320
|
};
|
|
23321
|
-
last_edited_time: string;
|
|
23322
23321
|
created_time: string;
|
|
23322
|
+
last_edited_time: string;
|
|
23323
23323
|
data_sources: {
|
|
23324
23324
|
name: string;
|
|
23325
23325
|
id: string;
|
|
@@ -23410,13 +23410,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23410
23410
|
};
|
|
23411
23411
|
} | null | undefined;
|
|
23412
23412
|
in_trash?: boolean | undefined;
|
|
23413
|
-
is_inline?: boolean | undefined;
|
|
23414
23413
|
public_url?: string | null | undefined;
|
|
23414
|
+
is_inline?: boolean | undefined;
|
|
23415
23415
|
} | undefined;
|
|
23416
23416
|
}, {
|
|
23417
|
+
operation: "retrieve_database";
|
|
23417
23418
|
error: string;
|
|
23418
23419
|
success: boolean;
|
|
23419
|
-
operation: "retrieve_database";
|
|
23420
23420
|
database?: {
|
|
23421
23421
|
object: "database";
|
|
23422
23422
|
title: {
|
|
@@ -23456,8 +23456,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23456
23456
|
type: "workspace";
|
|
23457
23457
|
workspace: true;
|
|
23458
23458
|
};
|
|
23459
|
-
last_edited_time: string;
|
|
23460
23459
|
created_time: string;
|
|
23460
|
+
last_edited_time: string;
|
|
23461
23461
|
data_sources: {
|
|
23462
23462
|
name: string;
|
|
23463
23463
|
id: string;
|
|
@@ -23548,8 +23548,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23548
23548
|
};
|
|
23549
23549
|
} | null | undefined;
|
|
23550
23550
|
in_trash?: boolean | undefined;
|
|
23551
|
-
is_inline?: boolean | undefined;
|
|
23552
23551
|
public_url?: string | null | undefined;
|
|
23552
|
+
is_inline?: boolean | undefined;
|
|
23553
23553
|
} | undefined;
|
|
23554
23554
|
}>, z.ZodObject<{
|
|
23555
23555
|
operation: z.ZodLiteral<"query_data_source">;
|
|
@@ -23610,9 +23610,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23610
23610
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23611
23611
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
23612
23612
|
}, "strip", z.ZodTypeAny, {
|
|
23613
|
+
operation: "query_data_source";
|
|
23613
23614
|
error: string;
|
|
23614
23615
|
success: boolean;
|
|
23615
|
-
operation: "query_data_source";
|
|
23616
23616
|
next_cursor?: string | null | undefined;
|
|
23617
23617
|
has_more?: boolean | undefined;
|
|
23618
23618
|
results?: z.objectOutputType<{
|
|
@@ -23634,9 +23634,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23634
23634
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
23635
23635
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
23636
23636
|
}, {
|
|
23637
|
+
operation: "query_data_source";
|
|
23637
23638
|
error: string;
|
|
23638
23639
|
success: boolean;
|
|
23639
|
-
operation: "query_data_source";
|
|
23640
23640
|
next_cursor?: string | null | undefined;
|
|
23641
23641
|
has_more?: boolean | undefined;
|
|
23642
23642
|
results?: z.objectInputType<{
|
|
@@ -25001,9 +25001,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25001
25001
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25002
25002
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
25003
25003
|
}, "strip", z.ZodTypeAny, {
|
|
25004
|
+
operation: "create_data_source";
|
|
25004
25005
|
error: string;
|
|
25005
25006
|
success: boolean;
|
|
25006
|
-
operation: "create_data_source";
|
|
25007
25007
|
dataSource?: z.objectOutputType<{
|
|
25008
25008
|
object: z.ZodLiteral<"data_source">;
|
|
25009
25009
|
id: z.ZodString;
|
|
@@ -25452,9 +25452,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25452
25452
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25453
25453
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25454
25454
|
}, {
|
|
25455
|
+
operation: "create_data_source";
|
|
25455
25456
|
error: string;
|
|
25456
25457
|
success: boolean;
|
|
25457
|
-
operation: "create_data_source";
|
|
25458
25458
|
dataSource?: z.objectInputType<{
|
|
25459
25459
|
object: z.ZodLiteral<"data_source">;
|
|
25460
25460
|
id: z.ZodString;
|
|
@@ -27246,9 +27246,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
27246
27246
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27247
27247
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
27248
27248
|
}, "strip", z.ZodTypeAny, {
|
|
27249
|
+
operation: "update_data_source";
|
|
27249
27250
|
error: string;
|
|
27250
27251
|
success: boolean;
|
|
27251
|
-
operation: "update_data_source";
|
|
27252
27252
|
dataSource?: z.objectOutputType<{
|
|
27253
27253
|
object: z.ZodLiteral<"data_source">;
|
|
27254
27254
|
id: z.ZodString;
|
|
@@ -27697,9 +27697,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
27697
27697
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27698
27698
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27699
27699
|
}, {
|
|
27700
|
+
operation: "update_data_source";
|
|
27700
27701
|
error: string;
|
|
27701
27702
|
success: boolean;
|
|
27702
|
-
operation: "update_data_source";
|
|
27703
27703
|
dataSource?: z.objectInputType<{
|
|
27704
27704
|
object: z.ZodLiteral<"data_source">;
|
|
27705
27705
|
id: z.ZodString;
|
|
@@ -28721,8 +28721,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28721
28721
|
type: "workspace";
|
|
28722
28722
|
workspace: true;
|
|
28723
28723
|
};
|
|
28724
|
-
last_edited_time: string;
|
|
28725
28724
|
created_time: string;
|
|
28725
|
+
last_edited_time: string;
|
|
28726
28726
|
data_sources: {
|
|
28727
28727
|
name: string;
|
|
28728
28728
|
id: string;
|
|
@@ -28813,8 +28813,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28813
28813
|
};
|
|
28814
28814
|
} | null | undefined;
|
|
28815
28815
|
in_trash?: boolean | undefined;
|
|
28816
|
-
is_inline?: boolean | undefined;
|
|
28817
28816
|
public_url?: string | null | undefined;
|
|
28817
|
+
is_inline?: boolean | undefined;
|
|
28818
28818
|
}, {
|
|
28819
28819
|
object: "database";
|
|
28820
28820
|
title: {
|
|
@@ -28854,8 +28854,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28854
28854
|
type: "workspace";
|
|
28855
28855
|
workspace: true;
|
|
28856
28856
|
};
|
|
28857
|
-
last_edited_time: string;
|
|
28858
28857
|
created_time: string;
|
|
28858
|
+
last_edited_time: string;
|
|
28859
28859
|
data_sources: {
|
|
28860
28860
|
name: string;
|
|
28861
28861
|
id: string;
|
|
@@ -28946,13 +28946,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28946
28946
|
};
|
|
28947
28947
|
} | null | undefined;
|
|
28948
28948
|
in_trash?: boolean | undefined;
|
|
28949
|
-
is_inline?: boolean | undefined;
|
|
28950
28949
|
public_url?: string | null | undefined;
|
|
28950
|
+
is_inline?: boolean | undefined;
|
|
28951
28951
|
}>>;
|
|
28952
28952
|
}, "strip", z.ZodTypeAny, {
|
|
28953
|
+
operation: "create_database";
|
|
28953
28954
|
error: string;
|
|
28954
28955
|
success: boolean;
|
|
28955
|
-
operation: "create_database";
|
|
28956
28956
|
database?: {
|
|
28957
28957
|
object: "database";
|
|
28958
28958
|
title: {
|
|
@@ -28992,8 +28992,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28992
28992
|
type: "workspace";
|
|
28993
28993
|
workspace: true;
|
|
28994
28994
|
};
|
|
28995
|
-
last_edited_time: string;
|
|
28996
28995
|
created_time: string;
|
|
28996
|
+
last_edited_time: string;
|
|
28997
28997
|
data_sources: {
|
|
28998
28998
|
name: string;
|
|
28999
28999
|
id: string;
|
|
@@ -29084,13 +29084,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29084
29084
|
};
|
|
29085
29085
|
} | null | undefined;
|
|
29086
29086
|
in_trash?: boolean | undefined;
|
|
29087
|
-
is_inline?: boolean | undefined;
|
|
29088
29087
|
public_url?: string | null | undefined;
|
|
29088
|
+
is_inline?: boolean | undefined;
|
|
29089
29089
|
} | undefined;
|
|
29090
29090
|
}, {
|
|
29091
|
+
operation: "create_database";
|
|
29091
29092
|
error: string;
|
|
29092
29093
|
success: boolean;
|
|
29093
|
-
operation: "create_database";
|
|
29094
29094
|
database?: {
|
|
29095
29095
|
object: "database";
|
|
29096
29096
|
title: {
|
|
@@ -29130,8 +29130,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29130
29130
|
type: "workspace";
|
|
29131
29131
|
workspace: true;
|
|
29132
29132
|
};
|
|
29133
|
-
last_edited_time: string;
|
|
29134
29133
|
created_time: string;
|
|
29134
|
+
last_edited_time: string;
|
|
29135
29135
|
data_sources: {
|
|
29136
29136
|
name: string;
|
|
29137
29137
|
id: string;
|
|
@@ -29222,8 +29222,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29222
29222
|
};
|
|
29223
29223
|
} | null | undefined;
|
|
29224
29224
|
in_trash?: boolean | undefined;
|
|
29225
|
-
is_inline?: boolean | undefined;
|
|
29226
29225
|
public_url?: string | null | undefined;
|
|
29226
|
+
is_inline?: boolean | undefined;
|
|
29227
29227
|
} | undefined;
|
|
29228
29228
|
}>, z.ZodObject<{
|
|
29229
29229
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -29799,8 +29799,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29799
29799
|
type: "workspace";
|
|
29800
29800
|
workspace: true;
|
|
29801
29801
|
};
|
|
29802
|
-
last_edited_time: string;
|
|
29803
29802
|
created_time: string;
|
|
29803
|
+
last_edited_time: string;
|
|
29804
29804
|
data_sources: {
|
|
29805
29805
|
name: string;
|
|
29806
29806
|
id: string;
|
|
@@ -29891,8 +29891,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29891
29891
|
};
|
|
29892
29892
|
} | null | undefined;
|
|
29893
29893
|
in_trash?: boolean | undefined;
|
|
29894
|
-
is_inline?: boolean | undefined;
|
|
29895
29894
|
public_url?: string | null | undefined;
|
|
29895
|
+
is_inline?: boolean | undefined;
|
|
29896
29896
|
}, {
|
|
29897
29897
|
object: "database";
|
|
29898
29898
|
title: {
|
|
@@ -29932,8 +29932,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29932
29932
|
type: "workspace";
|
|
29933
29933
|
workspace: true;
|
|
29934
29934
|
};
|
|
29935
|
-
last_edited_time: string;
|
|
29936
29935
|
created_time: string;
|
|
29936
|
+
last_edited_time: string;
|
|
29937
29937
|
data_sources: {
|
|
29938
29938
|
name: string;
|
|
29939
29939
|
id: string;
|
|
@@ -30024,13 +30024,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30024
30024
|
};
|
|
30025
30025
|
} | null | undefined;
|
|
30026
30026
|
in_trash?: boolean | undefined;
|
|
30027
|
-
is_inline?: boolean | undefined;
|
|
30028
30027
|
public_url?: string | null | undefined;
|
|
30028
|
+
is_inline?: boolean | undefined;
|
|
30029
30029
|
}>>;
|
|
30030
30030
|
}, "strip", z.ZodTypeAny, {
|
|
30031
|
+
operation: "update_database";
|
|
30031
30032
|
error: string;
|
|
30032
30033
|
success: boolean;
|
|
30033
|
-
operation: "update_database";
|
|
30034
30034
|
database?: {
|
|
30035
30035
|
object: "database";
|
|
30036
30036
|
title: {
|
|
@@ -30070,8 +30070,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30070
30070
|
type: "workspace";
|
|
30071
30071
|
workspace: true;
|
|
30072
30072
|
};
|
|
30073
|
-
last_edited_time: string;
|
|
30074
30073
|
created_time: string;
|
|
30074
|
+
last_edited_time: string;
|
|
30075
30075
|
data_sources: {
|
|
30076
30076
|
name: string;
|
|
30077
30077
|
id: string;
|
|
@@ -30162,13 +30162,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30162
30162
|
};
|
|
30163
30163
|
} | null | undefined;
|
|
30164
30164
|
in_trash?: boolean | undefined;
|
|
30165
|
-
is_inline?: boolean | undefined;
|
|
30166
30165
|
public_url?: string | null | undefined;
|
|
30166
|
+
is_inline?: boolean | undefined;
|
|
30167
30167
|
} | undefined;
|
|
30168
30168
|
}, {
|
|
30169
|
+
operation: "update_database";
|
|
30169
30170
|
error: string;
|
|
30170
30171
|
success: boolean;
|
|
30171
|
-
operation: "update_database";
|
|
30172
30172
|
database?: {
|
|
30173
30173
|
object: "database";
|
|
30174
30174
|
title: {
|
|
@@ -30208,8 +30208,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30208
30208
|
type: "workspace";
|
|
30209
30209
|
workspace: true;
|
|
30210
30210
|
};
|
|
30211
|
-
last_edited_time: string;
|
|
30212
30211
|
created_time: string;
|
|
30212
|
+
last_edited_time: string;
|
|
30213
30213
|
data_sources: {
|
|
30214
30214
|
name: string;
|
|
30215
30215
|
id: string;
|
|
@@ -30300,8 +30300,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30300
30300
|
};
|
|
30301
30301
|
} | null | undefined;
|
|
30302
30302
|
in_trash?: boolean | undefined;
|
|
30303
|
-
is_inline?: boolean | undefined;
|
|
30304
30303
|
public_url?: string | null | undefined;
|
|
30304
|
+
is_inline?: boolean | undefined;
|
|
30305
30305
|
} | undefined;
|
|
30306
30306
|
}>, z.ZodObject<{
|
|
30307
30307
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -30911,9 +30911,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
30911
30911
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30912
30912
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
30913
30913
|
}, "strip", z.ZodTypeAny, {
|
|
30914
|
+
operation: "append_block_children";
|
|
30914
30915
|
error: string;
|
|
30915
30916
|
success: boolean;
|
|
30916
|
-
operation: "append_block_children";
|
|
30917
30917
|
blocks?: z.objectOutputType<{
|
|
30918
30918
|
object: z.ZodLiteral<"block">;
|
|
30919
30919
|
id: z.ZodString;
|
|
@@ -31118,9 +31118,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
31118
31118
|
next_cursor?: string | null | undefined;
|
|
31119
31119
|
has_more?: boolean | undefined;
|
|
31120
31120
|
}, {
|
|
31121
|
+
operation: "append_block_children";
|
|
31121
31122
|
error: string;
|
|
31122
31123
|
success: boolean;
|
|
31123
|
-
operation: "append_block_children";
|
|
31124
31124
|
blocks?: z.objectInputType<{
|
|
31125
31125
|
object: z.ZodLiteral<"block">;
|
|
31126
31126
|
id: z.ZodString;
|
|
@@ -31932,9 +31932,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
31932
31932
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31933
31933
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
31934
31934
|
}, "strip", z.ZodTypeAny, {
|
|
31935
|
+
operation: "retrieve_block_children";
|
|
31935
31936
|
error: string;
|
|
31936
31937
|
success: boolean;
|
|
31937
|
-
operation: "retrieve_block_children";
|
|
31938
31938
|
blocks?: z.objectOutputType<{
|
|
31939
31939
|
object: z.ZodLiteral<"block">;
|
|
31940
31940
|
id: z.ZodString;
|
|
@@ -32139,9 +32139,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
32139
32139
|
next_cursor?: string | null | undefined;
|
|
32140
32140
|
has_more?: boolean | undefined;
|
|
32141
32141
|
}, {
|
|
32142
|
+
operation: "retrieve_block_children";
|
|
32142
32143
|
error: string;
|
|
32143
32144
|
success: boolean;
|
|
32144
|
-
operation: "retrieve_block_children";
|
|
32145
32145
|
blocks?: z.objectInputType<{
|
|
32146
32146
|
object: z.ZodLiteral<"block">;
|
|
32147
32147
|
id: z.ZodString;
|
|
@@ -32951,9 +32951,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
32951
32951
|
type: z.ZodString;
|
|
32952
32952
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
32953
32953
|
}, "strip", z.ZodTypeAny, {
|
|
32954
|
+
operation: "retrieve_block";
|
|
32954
32955
|
error: string;
|
|
32955
32956
|
success: boolean;
|
|
32956
|
-
operation: "retrieve_block";
|
|
32957
32957
|
block?: z.objectOutputType<{
|
|
32958
32958
|
object: z.ZodLiteral<"block">;
|
|
32959
32959
|
id: z.ZodString;
|
|
@@ -33156,9 +33156,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33156
33156
|
type: z.ZodString;
|
|
33157
33157
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
33158
33158
|
}, {
|
|
33159
|
+
operation: "retrieve_block";
|
|
33159
33160
|
error: string;
|
|
33160
33161
|
success: boolean;
|
|
33161
|
-
operation: "retrieve_block";
|
|
33162
33162
|
block?: z.objectInputType<{
|
|
33163
33163
|
object: z.ZodLiteral<"block">;
|
|
33164
33164
|
id: z.ZodString;
|
|
@@ -33966,9 +33966,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33966
33966
|
type: z.ZodString;
|
|
33967
33967
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
33968
33968
|
}, "strip", z.ZodTypeAny, {
|
|
33969
|
+
operation: "update_block";
|
|
33969
33970
|
error: string;
|
|
33970
33971
|
success: boolean;
|
|
33971
|
-
operation: "update_block";
|
|
33972
33972
|
block?: z.objectOutputType<{
|
|
33973
33973
|
object: z.ZodLiteral<"block">;
|
|
33974
33974
|
id: z.ZodString;
|
|
@@ -34171,9 +34171,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34171
34171
|
type: z.ZodString;
|
|
34172
34172
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
34173
34173
|
}, {
|
|
34174
|
+
operation: "update_block";
|
|
34174
34175
|
error: string;
|
|
34175
34176
|
success: boolean;
|
|
34176
|
-
operation: "update_block";
|
|
34177
34177
|
block?: z.objectInputType<{
|
|
34178
34178
|
object: z.ZodLiteral<"block">;
|
|
34179
34179
|
id: z.ZodString;
|
|
@@ -34562,6 +34562,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34562
34562
|
} & {
|
|
34563
34563
|
[k: string]: unknown;
|
|
34564
34564
|
};
|
|
34565
|
+
created_time: string;
|
|
34566
|
+
last_edited_time: string;
|
|
34567
|
+
created_by: {
|
|
34568
|
+
object: "user";
|
|
34569
|
+
id: string;
|
|
34570
|
+
type?: "person" | "bot" | undefined;
|
|
34571
|
+
name?: string | undefined;
|
|
34572
|
+
person?: {
|
|
34573
|
+
email?: string | undefined;
|
|
34574
|
+
} | undefined;
|
|
34575
|
+
avatar_url?: string | null | undefined;
|
|
34576
|
+
bot?: {
|
|
34577
|
+
owner?: {
|
|
34578
|
+
type: "user" | "workspace";
|
|
34579
|
+
workspace?: boolean | undefined;
|
|
34580
|
+
} | undefined;
|
|
34581
|
+
workspace_name?: string | undefined;
|
|
34582
|
+
} | undefined;
|
|
34583
|
+
};
|
|
34584
|
+
discussion_id: string;
|
|
34565
34585
|
rich_text: {
|
|
34566
34586
|
type: "text" | "mention" | "equation";
|
|
34567
34587
|
text?: {
|
|
@@ -34581,8 +34601,18 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34581
34601
|
} | undefined;
|
|
34582
34602
|
href?: string | null | undefined;
|
|
34583
34603
|
}[];
|
|
34584
|
-
|
|
34604
|
+
}, {
|
|
34605
|
+
object: "comment";
|
|
34606
|
+
id: string;
|
|
34607
|
+
parent: {
|
|
34608
|
+
type: "block_id" | "page_id";
|
|
34609
|
+
block_id?: string | undefined;
|
|
34610
|
+
page_id?: string | undefined;
|
|
34611
|
+
} & {
|
|
34612
|
+
[k: string]: unknown;
|
|
34613
|
+
};
|
|
34585
34614
|
created_time: string;
|
|
34615
|
+
last_edited_time: string;
|
|
34586
34616
|
created_by: {
|
|
34587
34617
|
object: "user";
|
|
34588
34618
|
id: string;
|
|
@@ -34601,16 +34631,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34601
34631
|
} | undefined;
|
|
34602
34632
|
};
|
|
34603
34633
|
discussion_id: string;
|
|
34604
|
-
}, {
|
|
34605
|
-
object: "comment";
|
|
34606
|
-
id: string;
|
|
34607
|
-
parent: {
|
|
34608
|
-
type: "block_id" | "page_id";
|
|
34609
|
-
block_id?: string | undefined;
|
|
34610
|
-
page_id?: string | undefined;
|
|
34611
|
-
} & {
|
|
34612
|
-
[k: string]: unknown;
|
|
34613
|
-
};
|
|
34614
34634
|
rich_text: {
|
|
34615
34635
|
type: "text" | "mention" | "equation";
|
|
34616
34636
|
text?: {
|
|
@@ -34630,8 +34650,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34630
34650
|
} | undefined;
|
|
34631
34651
|
href?: string | null | undefined;
|
|
34632
34652
|
}[];
|
|
34633
|
-
|
|
34653
|
+
}>>;
|
|
34654
|
+
}, "strip", z.ZodTypeAny, {
|
|
34655
|
+
operation: "create_comment";
|
|
34656
|
+
error: string;
|
|
34657
|
+
success: boolean;
|
|
34658
|
+
comment?: {
|
|
34659
|
+
object: "comment";
|
|
34660
|
+
id: string;
|
|
34661
|
+
parent: {
|
|
34662
|
+
type: "block_id" | "page_id";
|
|
34663
|
+
block_id?: string | undefined;
|
|
34664
|
+
page_id?: string | undefined;
|
|
34665
|
+
} & {
|
|
34666
|
+
[k: string]: unknown;
|
|
34667
|
+
};
|
|
34634
34668
|
created_time: string;
|
|
34669
|
+
last_edited_time: string;
|
|
34635
34670
|
created_by: {
|
|
34636
34671
|
object: "user";
|
|
34637
34672
|
id: string;
|
|
@@ -34650,21 +34685,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34650
34685
|
} | undefined;
|
|
34651
34686
|
};
|
|
34652
34687
|
discussion_id: string;
|
|
34653
|
-
}>>;
|
|
34654
|
-
}, "strip", z.ZodTypeAny, {
|
|
34655
|
-
error: string;
|
|
34656
|
-
success: boolean;
|
|
34657
|
-
operation: "create_comment";
|
|
34658
|
-
comment?: {
|
|
34659
|
-
object: "comment";
|
|
34660
|
-
id: string;
|
|
34661
|
-
parent: {
|
|
34662
|
-
type: "block_id" | "page_id";
|
|
34663
|
-
block_id?: string | undefined;
|
|
34664
|
-
page_id?: string | undefined;
|
|
34665
|
-
} & {
|
|
34666
|
-
[k: string]: unknown;
|
|
34667
|
-
};
|
|
34668
34688
|
rich_text: {
|
|
34669
34689
|
type: "text" | "mention" | "equation";
|
|
34670
34690
|
text?: {
|
|
@@ -34684,8 +34704,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34684
34704
|
} | undefined;
|
|
34685
34705
|
href?: string | null | undefined;
|
|
34686
34706
|
}[];
|
|
34687
|
-
|
|
34707
|
+
} | undefined;
|
|
34708
|
+
}, {
|
|
34709
|
+
operation: "create_comment";
|
|
34710
|
+
error: string;
|
|
34711
|
+
success: boolean;
|
|
34712
|
+
comment?: {
|
|
34713
|
+
object: "comment";
|
|
34714
|
+
id: string;
|
|
34715
|
+
parent: {
|
|
34716
|
+
type: "block_id" | "page_id";
|
|
34717
|
+
block_id?: string | undefined;
|
|
34718
|
+
page_id?: string | undefined;
|
|
34719
|
+
} & {
|
|
34720
|
+
[k: string]: unknown;
|
|
34721
|
+
};
|
|
34688
34722
|
created_time: string;
|
|
34723
|
+
last_edited_time: string;
|
|
34689
34724
|
created_by: {
|
|
34690
34725
|
object: "user";
|
|
34691
34726
|
id: string;
|
|
@@ -34704,21 +34739,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34704
34739
|
} | undefined;
|
|
34705
34740
|
};
|
|
34706
34741
|
discussion_id: string;
|
|
34707
|
-
} | undefined;
|
|
34708
|
-
}, {
|
|
34709
|
-
error: string;
|
|
34710
|
-
success: boolean;
|
|
34711
|
-
operation: "create_comment";
|
|
34712
|
-
comment?: {
|
|
34713
|
-
object: "comment";
|
|
34714
|
-
id: string;
|
|
34715
|
-
parent: {
|
|
34716
|
-
type: "block_id" | "page_id";
|
|
34717
|
-
block_id?: string | undefined;
|
|
34718
|
-
page_id?: string | undefined;
|
|
34719
|
-
} & {
|
|
34720
|
-
[k: string]: unknown;
|
|
34721
|
-
};
|
|
34722
34742
|
rich_text: {
|
|
34723
34743
|
type: "text" | "mention" | "equation";
|
|
34724
34744
|
text?: {
|
|
@@ -34738,26 +34758,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34738
34758
|
} | undefined;
|
|
34739
34759
|
href?: string | null | undefined;
|
|
34740
34760
|
}[];
|
|
34741
|
-
last_edited_time: string;
|
|
34742
|
-
created_time: string;
|
|
34743
|
-
created_by: {
|
|
34744
|
-
object: "user";
|
|
34745
|
-
id: string;
|
|
34746
|
-
type?: "person" | "bot" | undefined;
|
|
34747
|
-
name?: string | undefined;
|
|
34748
|
-
person?: {
|
|
34749
|
-
email?: string | undefined;
|
|
34750
|
-
} | undefined;
|
|
34751
|
-
avatar_url?: string | null | undefined;
|
|
34752
|
-
bot?: {
|
|
34753
|
-
owner?: {
|
|
34754
|
-
type: "user" | "workspace";
|
|
34755
|
-
workspace?: boolean | undefined;
|
|
34756
|
-
} | undefined;
|
|
34757
|
-
workspace_name?: string | undefined;
|
|
34758
|
-
} | undefined;
|
|
34759
|
-
};
|
|
34760
|
-
discussion_id: string;
|
|
34761
34761
|
} | undefined;
|
|
34762
34762
|
}>, z.ZodObject<{
|
|
34763
34763
|
operation: z.ZodLiteral<"retrieve_comment">;
|
|
@@ -34946,6 +34946,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34946
34946
|
} & {
|
|
34947
34947
|
[k: string]: unknown;
|
|
34948
34948
|
};
|
|
34949
|
+
created_time: string;
|
|
34950
|
+
last_edited_time: string;
|
|
34951
|
+
created_by: {
|
|
34952
|
+
object: "user";
|
|
34953
|
+
id: string;
|
|
34954
|
+
type?: "person" | "bot" | undefined;
|
|
34955
|
+
name?: string | undefined;
|
|
34956
|
+
person?: {
|
|
34957
|
+
email?: string | undefined;
|
|
34958
|
+
} | undefined;
|
|
34959
|
+
avatar_url?: string | null | undefined;
|
|
34960
|
+
bot?: {
|
|
34961
|
+
owner?: {
|
|
34962
|
+
type: "user" | "workspace";
|
|
34963
|
+
workspace?: boolean | undefined;
|
|
34964
|
+
} | undefined;
|
|
34965
|
+
workspace_name?: string | undefined;
|
|
34966
|
+
} | undefined;
|
|
34967
|
+
};
|
|
34968
|
+
discussion_id: string;
|
|
34949
34969
|
rich_text: {
|
|
34950
34970
|
type: "text" | "mention" | "equation";
|
|
34951
34971
|
text?: {
|
|
@@ -34965,8 +34985,18 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34965
34985
|
} | undefined;
|
|
34966
34986
|
href?: string | null | undefined;
|
|
34967
34987
|
}[];
|
|
34968
|
-
|
|
34988
|
+
}, {
|
|
34989
|
+
object: "comment";
|
|
34990
|
+
id: string;
|
|
34991
|
+
parent: {
|
|
34992
|
+
type: "block_id" | "page_id";
|
|
34993
|
+
block_id?: string | undefined;
|
|
34994
|
+
page_id?: string | undefined;
|
|
34995
|
+
} & {
|
|
34996
|
+
[k: string]: unknown;
|
|
34997
|
+
};
|
|
34969
34998
|
created_time: string;
|
|
34999
|
+
last_edited_time: string;
|
|
34970
35000
|
created_by: {
|
|
34971
35001
|
object: "user";
|
|
34972
35002
|
id: string;
|
|
@@ -34985,16 +35015,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34985
35015
|
} | undefined;
|
|
34986
35016
|
};
|
|
34987
35017
|
discussion_id: string;
|
|
34988
|
-
}, {
|
|
34989
|
-
object: "comment";
|
|
34990
|
-
id: string;
|
|
34991
|
-
parent: {
|
|
34992
|
-
type: "block_id" | "page_id";
|
|
34993
|
-
block_id?: string | undefined;
|
|
34994
|
-
page_id?: string | undefined;
|
|
34995
|
-
} & {
|
|
34996
|
-
[k: string]: unknown;
|
|
34997
|
-
};
|
|
34998
35018
|
rich_text: {
|
|
34999
35019
|
type: "text" | "mention" | "equation";
|
|
35000
35020
|
text?: {
|
|
@@ -35014,8 +35034,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35014
35034
|
} | undefined;
|
|
35015
35035
|
href?: string | null | undefined;
|
|
35016
35036
|
}[];
|
|
35017
|
-
|
|
35037
|
+
}>>;
|
|
35038
|
+
}, "strip", z.ZodTypeAny, {
|
|
35039
|
+
operation: "retrieve_comment";
|
|
35040
|
+
error: string;
|
|
35041
|
+
success: boolean;
|
|
35042
|
+
comment?: {
|
|
35043
|
+
object: "comment";
|
|
35044
|
+
id: string;
|
|
35045
|
+
parent: {
|
|
35046
|
+
type: "block_id" | "page_id";
|
|
35047
|
+
block_id?: string | undefined;
|
|
35048
|
+
page_id?: string | undefined;
|
|
35049
|
+
} & {
|
|
35050
|
+
[k: string]: unknown;
|
|
35051
|
+
};
|
|
35018
35052
|
created_time: string;
|
|
35053
|
+
last_edited_time: string;
|
|
35019
35054
|
created_by: {
|
|
35020
35055
|
object: "user";
|
|
35021
35056
|
id: string;
|
|
@@ -35034,21 +35069,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35034
35069
|
} | undefined;
|
|
35035
35070
|
};
|
|
35036
35071
|
discussion_id: string;
|
|
35037
|
-
}>>;
|
|
35038
|
-
}, "strip", z.ZodTypeAny, {
|
|
35039
|
-
error: string;
|
|
35040
|
-
success: boolean;
|
|
35041
|
-
operation: "retrieve_comment";
|
|
35042
|
-
comment?: {
|
|
35043
|
-
object: "comment";
|
|
35044
|
-
id: string;
|
|
35045
|
-
parent: {
|
|
35046
|
-
type: "block_id" | "page_id";
|
|
35047
|
-
block_id?: string | undefined;
|
|
35048
|
-
page_id?: string | undefined;
|
|
35049
|
-
} & {
|
|
35050
|
-
[k: string]: unknown;
|
|
35051
|
-
};
|
|
35052
35072
|
rich_text: {
|
|
35053
35073
|
type: "text" | "mention" | "equation";
|
|
35054
35074
|
text?: {
|
|
@@ -35068,8 +35088,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35068
35088
|
} | undefined;
|
|
35069
35089
|
href?: string | null | undefined;
|
|
35070
35090
|
}[];
|
|
35071
|
-
|
|
35091
|
+
} | undefined;
|
|
35092
|
+
}, {
|
|
35093
|
+
operation: "retrieve_comment";
|
|
35094
|
+
error: string;
|
|
35095
|
+
success: boolean;
|
|
35096
|
+
comment?: {
|
|
35097
|
+
object: "comment";
|
|
35098
|
+
id: string;
|
|
35099
|
+
parent: {
|
|
35100
|
+
type: "block_id" | "page_id";
|
|
35101
|
+
block_id?: string | undefined;
|
|
35102
|
+
page_id?: string | undefined;
|
|
35103
|
+
} & {
|
|
35104
|
+
[k: string]: unknown;
|
|
35105
|
+
};
|
|
35072
35106
|
created_time: string;
|
|
35107
|
+
last_edited_time: string;
|
|
35073
35108
|
created_by: {
|
|
35074
35109
|
object: "user";
|
|
35075
35110
|
id: string;
|
|
@@ -35088,21 +35123,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35088
35123
|
} | undefined;
|
|
35089
35124
|
};
|
|
35090
35125
|
discussion_id: string;
|
|
35091
|
-
} | undefined;
|
|
35092
|
-
}, {
|
|
35093
|
-
error: string;
|
|
35094
|
-
success: boolean;
|
|
35095
|
-
operation: "retrieve_comment";
|
|
35096
|
-
comment?: {
|
|
35097
|
-
object: "comment";
|
|
35098
|
-
id: string;
|
|
35099
|
-
parent: {
|
|
35100
|
-
type: "block_id" | "page_id";
|
|
35101
|
-
block_id?: string | undefined;
|
|
35102
|
-
page_id?: string | undefined;
|
|
35103
|
-
} & {
|
|
35104
|
-
[k: string]: unknown;
|
|
35105
|
-
};
|
|
35106
35126
|
rich_text: {
|
|
35107
35127
|
type: "text" | "mention" | "equation";
|
|
35108
35128
|
text?: {
|
|
@@ -35122,26 +35142,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35122
35142
|
} | undefined;
|
|
35123
35143
|
href?: string | null | undefined;
|
|
35124
35144
|
}[];
|
|
35125
|
-
last_edited_time: string;
|
|
35126
|
-
created_time: string;
|
|
35127
|
-
created_by: {
|
|
35128
|
-
object: "user";
|
|
35129
|
-
id: string;
|
|
35130
|
-
type?: "person" | "bot" | undefined;
|
|
35131
|
-
name?: string | undefined;
|
|
35132
|
-
person?: {
|
|
35133
|
-
email?: string | undefined;
|
|
35134
|
-
} | undefined;
|
|
35135
|
-
avatar_url?: string | null | undefined;
|
|
35136
|
-
bot?: {
|
|
35137
|
-
owner?: {
|
|
35138
|
-
type: "user" | "workspace";
|
|
35139
|
-
workspace?: boolean | undefined;
|
|
35140
|
-
} | undefined;
|
|
35141
|
-
workspace_name?: string | undefined;
|
|
35142
|
-
} | undefined;
|
|
35143
|
-
};
|
|
35144
|
-
discussion_id: string;
|
|
35145
35145
|
} | undefined;
|
|
35146
35146
|
}>, z.ZodObject<{
|
|
35147
35147
|
operation: z.ZodLiteral<"list_users">;
|
|
@@ -35221,9 +35221,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35221
35221
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35222
35222
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
35223
35223
|
}, "strip", z.ZodTypeAny, {
|
|
35224
|
+
operation: "list_users";
|
|
35224
35225
|
error: string;
|
|
35225
35226
|
success: boolean;
|
|
35226
|
-
operation: "list_users";
|
|
35227
35227
|
users?: {
|
|
35228
35228
|
object: "user";
|
|
35229
35229
|
id: string;
|
|
@@ -35244,9 +35244,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35244
35244
|
next_cursor?: string | null | undefined;
|
|
35245
35245
|
has_more?: boolean | undefined;
|
|
35246
35246
|
}, {
|
|
35247
|
+
operation: "list_users";
|
|
35247
35248
|
error: string;
|
|
35248
35249
|
success: boolean;
|
|
35249
|
-
operation: "list_users";
|
|
35250
35250
|
users?: {
|
|
35251
35251
|
object: "user";
|
|
35252
35252
|
id: string;
|
|
@@ -35325,9 +35325,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35325
35325
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35326
35326
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
35327
35327
|
}, "strip", z.ZodTypeAny, {
|
|
35328
|
+
operation: "search";
|
|
35328
35329
|
error: string;
|
|
35329
35330
|
success: boolean;
|
|
35330
|
-
operation: "search";
|
|
35331
35331
|
next_cursor?: string | null | undefined;
|
|
35332
35332
|
has_more?: boolean | undefined;
|
|
35333
35333
|
results?: z.objectOutputType<{
|
|
@@ -35349,9 +35349,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35349
35349
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
35350
35350
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
35351
35351
|
}, {
|
|
35352
|
+
operation: "search";
|
|
35352
35353
|
error: string;
|
|
35353
35354
|
success: boolean;
|
|
35354
|
-
operation: "search";
|
|
35355
35355
|
next_cursor?: string | null | undefined;
|
|
35356
35356
|
has_more?: boolean | undefined;
|
|
35357
35357
|
results?: z.objectInputType<{
|