@bubblelab/bubble-core 0.1.221 → 0.1.224
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 +241 -202
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +3 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-trigger/index.d.ts +2 -0
- package/dist/bubble-trigger/index.d.ts.map +1 -0
- package/dist/bubble-trigger/index.js +2 -0
- package/dist/bubble-trigger/index.js.map +1 -0
- package/dist/bubble-trigger/types.d.ts +87 -0
- package/dist/bubble-trigger/types.d.ts.map +1 -0
- package/dist/bubble-trigger/types.js +14 -0
- package/dist/bubble-trigger/types.js.map +1 -0
- package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +42 -42
- package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +144 -144
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets.js +904 -0
- package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +18 -18
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/index.js +3 -0
- package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
- package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slab/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/slab/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/index.js +3 -0
- package/dist/bubbles/service-bubble/slab/index.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts +617 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.js +379 -0
- package/dist/bubbles/service-bubble/slab/slab.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +703 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js +226 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +558 -558
- package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slack.js +1536 -0
- package/dist/bubbles/service-bubble/slack.js.map +1 -0
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +183 -183
- package/dist/bubbles/service-bubble/telegram.d.ts +1561 -1561
- package/dist/bubbles/service-bubble/xero/xero.d.ts +30 -30
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +93 -93
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +93 -93
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +567 -567
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +697 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/ai-models.d.ts +4 -0
- package/dist/types/ai-models.d.ts.map +1 -0
- package/dist/types/ai-models.js +16 -0
- package/dist/types/ai-models.js.map +1 -0
- package/dist/utils/param-helper.d.ts +2 -0
- package/dist/utils/param-helper.d.ts.map +1 -0
- package/dist/utils/param-helper.js +5 -0
- package/dist/utils/param-helper.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
2
|
+
import { ServiceBubble } from '../../../types/service-bubble-class.js';
|
|
3
|
+
import type { BubbleContext } from '../../../types/bubble.js';
|
|
4
|
+
import { type SlabParamsInput, type SlabResult } from './slab.schema.js';
|
|
5
|
+
/**
|
|
6
|
+
* SlabBubble - Integration with Slab knowledge management platform
|
|
7
|
+
*
|
|
8
|
+
* Provides operations for interacting with Slab:
|
|
9
|
+
* - Search posts across the workspace
|
|
10
|
+
* - Get specific post details
|
|
11
|
+
* - List all organization posts
|
|
12
|
+
* - Get posts within a topic
|
|
13
|
+
* - List all topics
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* // Search for posts
|
|
18
|
+
* const result = await new SlabBubble({
|
|
19
|
+
* operation: 'search_posts',
|
|
20
|
+
* query: 'onboarding guide',
|
|
21
|
+
* first: 10,
|
|
22
|
+
* }).action();
|
|
23
|
+
*
|
|
24
|
+
* // Get a specific post
|
|
25
|
+
* const post = await new SlabBubble({
|
|
26
|
+
* operation: 'get_post',
|
|
27
|
+
* post_id: 'abc123',
|
|
28
|
+
* }).action();
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class SlabBubble<T extends SlabParamsInput = SlabParamsInput> extends ServiceBubble<T, Extract<SlabResult, {
|
|
32
|
+
operation: T['operation'];
|
|
33
|
+
}>> {
|
|
34
|
+
static readonly service = "slab";
|
|
35
|
+
static readonly authType: "basic";
|
|
36
|
+
static readonly bubbleName: "slab";
|
|
37
|
+
static readonly type: "service";
|
|
38
|
+
static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
39
|
+
operation: import("zod").ZodLiteral<"search_posts">;
|
|
40
|
+
query: import("zod").ZodString;
|
|
41
|
+
first: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
42
|
+
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
44
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
45
|
+
query: string;
|
|
46
|
+
operation: "search_posts";
|
|
47
|
+
first: number;
|
|
48
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
49
|
+
after?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
query: string;
|
|
52
|
+
operation: "search_posts";
|
|
53
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
54
|
+
after?: string | undefined;
|
|
55
|
+
first?: number | undefined;
|
|
56
|
+
}>, import("zod").ZodObject<{
|
|
57
|
+
operation: import("zod").ZodLiteral<"get_post">;
|
|
58
|
+
post_id: import("zod").ZodString;
|
|
59
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
60
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
61
|
+
operation: "get_post";
|
|
62
|
+
post_id: string;
|
|
63
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
operation: "get_post";
|
|
66
|
+
post_id: string;
|
|
67
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
68
|
+
}>, import("zod").ZodObject<{
|
|
69
|
+
operation: import("zod").ZodLiteral<"list_posts">;
|
|
70
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
71
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
72
|
+
operation: "list_posts";
|
|
73
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
operation: "list_posts";
|
|
76
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
77
|
+
}>, import("zod").ZodObject<{
|
|
78
|
+
operation: import("zod").ZodLiteral<"get_topic_posts">;
|
|
79
|
+
topic_id: import("zod").ZodString;
|
|
80
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
81
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
82
|
+
operation: "get_topic_posts";
|
|
83
|
+
topic_id: string;
|
|
84
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
operation: "get_topic_posts";
|
|
87
|
+
topic_id: string;
|
|
88
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
89
|
+
}>, import("zod").ZodObject<{
|
|
90
|
+
operation: import("zod").ZodLiteral<"list_topics">;
|
|
91
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
92
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
93
|
+
operation: "list_topics";
|
|
94
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
operation: "list_topics";
|
|
97
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
98
|
+
}>]>;
|
|
99
|
+
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
100
|
+
operation: import("zod").ZodLiteral<"search_posts">;
|
|
101
|
+
success: import("zod").ZodBoolean;
|
|
102
|
+
posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
103
|
+
id: import("zod").ZodString;
|
|
104
|
+
title: import("zod").ZodString;
|
|
105
|
+
highlight: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
|
|
106
|
+
content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
|
|
107
|
+
insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
108
|
+
publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
109
|
+
owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
110
|
+
id: import("zod").ZodString;
|
|
111
|
+
name: import("zod").ZodString;
|
|
112
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
113
|
+
name: string;
|
|
114
|
+
id: string;
|
|
115
|
+
}, {
|
|
116
|
+
name: string;
|
|
117
|
+
id: string;
|
|
118
|
+
}>>>;
|
|
119
|
+
topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
120
|
+
id: import("zod").ZodString;
|
|
121
|
+
name: import("zod").ZodString;
|
|
122
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
123
|
+
name: string;
|
|
124
|
+
id: string;
|
|
125
|
+
}, {
|
|
126
|
+
name: string;
|
|
127
|
+
id: string;
|
|
128
|
+
}>, "many">>>;
|
|
129
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
130
|
+
title: string;
|
|
131
|
+
id: string;
|
|
132
|
+
content?: unknown;
|
|
133
|
+
owner?: {
|
|
134
|
+
name: string;
|
|
135
|
+
id: string;
|
|
136
|
+
} | null | undefined;
|
|
137
|
+
publishedAt?: string | null | undefined;
|
|
138
|
+
highlight?: unknown;
|
|
139
|
+
insertedAt?: string | null | undefined;
|
|
140
|
+
topics?: {
|
|
141
|
+
name: string;
|
|
142
|
+
id: string;
|
|
143
|
+
}[] | null | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
title: string;
|
|
146
|
+
id: string;
|
|
147
|
+
content?: unknown;
|
|
148
|
+
owner?: {
|
|
149
|
+
name: string;
|
|
150
|
+
id: string;
|
|
151
|
+
} | null | undefined;
|
|
152
|
+
publishedAt?: string | null | undefined;
|
|
153
|
+
highlight?: unknown;
|
|
154
|
+
insertedAt?: string | null | undefined;
|
|
155
|
+
topics?: {
|
|
156
|
+
name: string;
|
|
157
|
+
id: string;
|
|
158
|
+
}[] | null | undefined;
|
|
159
|
+
}>, "many">>;
|
|
160
|
+
has_more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
161
|
+
end_cursor: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
162
|
+
error: import("zod").ZodString;
|
|
163
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
164
|
+
success: boolean;
|
|
165
|
+
error: string;
|
|
166
|
+
operation: "search_posts";
|
|
167
|
+
has_more?: boolean | undefined;
|
|
168
|
+
posts?: {
|
|
169
|
+
title: string;
|
|
170
|
+
id: string;
|
|
171
|
+
content?: unknown;
|
|
172
|
+
owner?: {
|
|
173
|
+
name: string;
|
|
174
|
+
id: string;
|
|
175
|
+
} | null | undefined;
|
|
176
|
+
publishedAt?: string | null | undefined;
|
|
177
|
+
highlight?: unknown;
|
|
178
|
+
insertedAt?: string | null | undefined;
|
|
179
|
+
topics?: {
|
|
180
|
+
name: string;
|
|
181
|
+
id: string;
|
|
182
|
+
}[] | null | undefined;
|
|
183
|
+
}[] | undefined;
|
|
184
|
+
end_cursor?: string | null | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
success: boolean;
|
|
187
|
+
error: string;
|
|
188
|
+
operation: "search_posts";
|
|
189
|
+
has_more?: boolean | undefined;
|
|
190
|
+
posts?: {
|
|
191
|
+
title: string;
|
|
192
|
+
id: string;
|
|
193
|
+
content?: unknown;
|
|
194
|
+
owner?: {
|
|
195
|
+
name: string;
|
|
196
|
+
id: string;
|
|
197
|
+
} | null | undefined;
|
|
198
|
+
publishedAt?: string | null | undefined;
|
|
199
|
+
highlight?: unknown;
|
|
200
|
+
insertedAt?: string | null | undefined;
|
|
201
|
+
topics?: {
|
|
202
|
+
name: string;
|
|
203
|
+
id: string;
|
|
204
|
+
}[] | null | undefined;
|
|
205
|
+
}[] | undefined;
|
|
206
|
+
end_cursor?: string | null | undefined;
|
|
207
|
+
}>, import("zod").ZodObject<{
|
|
208
|
+
operation: import("zod").ZodLiteral<"get_post">;
|
|
209
|
+
success: import("zod").ZodBoolean;
|
|
210
|
+
post: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
211
|
+
id: import("zod").ZodString;
|
|
212
|
+
title: import("zod").ZodString;
|
|
213
|
+
content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
|
|
214
|
+
insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
215
|
+
publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
216
|
+
updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
217
|
+
archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
218
|
+
owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
219
|
+
id: import("zod").ZodString;
|
|
220
|
+
name: import("zod").ZodString;
|
|
221
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
222
|
+
name: string;
|
|
223
|
+
id: string;
|
|
224
|
+
}, {
|
|
225
|
+
name: string;
|
|
226
|
+
id: string;
|
|
227
|
+
}>>>;
|
|
228
|
+
version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
229
|
+
topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
230
|
+
id: import("zod").ZodString;
|
|
231
|
+
name: import("zod").ZodString;
|
|
232
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
233
|
+
name: string;
|
|
234
|
+
id: string;
|
|
235
|
+
}, {
|
|
236
|
+
name: string;
|
|
237
|
+
id: string;
|
|
238
|
+
}>, "many">>>;
|
|
239
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
240
|
+
title: string;
|
|
241
|
+
id: string;
|
|
242
|
+
content?: unknown;
|
|
243
|
+
owner?: {
|
|
244
|
+
name: string;
|
|
245
|
+
id: string;
|
|
246
|
+
} | null | undefined;
|
|
247
|
+
publishedAt?: string | null | undefined;
|
|
248
|
+
version?: number | null | undefined;
|
|
249
|
+
updatedAt?: string | null | undefined;
|
|
250
|
+
insertedAt?: string | null | undefined;
|
|
251
|
+
topics?: {
|
|
252
|
+
name: string;
|
|
253
|
+
id: string;
|
|
254
|
+
}[] | null | undefined;
|
|
255
|
+
archivedAt?: string | null | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
title: string;
|
|
258
|
+
id: string;
|
|
259
|
+
content?: unknown;
|
|
260
|
+
owner?: {
|
|
261
|
+
name: string;
|
|
262
|
+
id: string;
|
|
263
|
+
} | null | undefined;
|
|
264
|
+
publishedAt?: string | null | undefined;
|
|
265
|
+
version?: number | null | undefined;
|
|
266
|
+
updatedAt?: string | null | undefined;
|
|
267
|
+
insertedAt?: string | null | undefined;
|
|
268
|
+
topics?: {
|
|
269
|
+
name: string;
|
|
270
|
+
id: string;
|
|
271
|
+
}[] | null | undefined;
|
|
272
|
+
archivedAt?: string | null | undefined;
|
|
273
|
+
}>>;
|
|
274
|
+
error: import("zod").ZodString;
|
|
275
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
276
|
+
success: boolean;
|
|
277
|
+
error: string;
|
|
278
|
+
operation: "get_post";
|
|
279
|
+
post?: {
|
|
280
|
+
title: string;
|
|
281
|
+
id: string;
|
|
282
|
+
content?: unknown;
|
|
283
|
+
owner?: {
|
|
284
|
+
name: string;
|
|
285
|
+
id: string;
|
|
286
|
+
} | null | undefined;
|
|
287
|
+
publishedAt?: string | null | undefined;
|
|
288
|
+
version?: number | null | undefined;
|
|
289
|
+
updatedAt?: string | null | undefined;
|
|
290
|
+
insertedAt?: string | null | undefined;
|
|
291
|
+
topics?: {
|
|
292
|
+
name: string;
|
|
293
|
+
id: string;
|
|
294
|
+
}[] | null | undefined;
|
|
295
|
+
archivedAt?: string | null | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
success: boolean;
|
|
299
|
+
error: string;
|
|
300
|
+
operation: "get_post";
|
|
301
|
+
post?: {
|
|
302
|
+
title: string;
|
|
303
|
+
id: string;
|
|
304
|
+
content?: unknown;
|
|
305
|
+
owner?: {
|
|
306
|
+
name: string;
|
|
307
|
+
id: string;
|
|
308
|
+
} | null | undefined;
|
|
309
|
+
publishedAt?: string | null | undefined;
|
|
310
|
+
version?: number | null | undefined;
|
|
311
|
+
updatedAt?: string | null | undefined;
|
|
312
|
+
insertedAt?: string | null | undefined;
|
|
313
|
+
topics?: {
|
|
314
|
+
name: string;
|
|
315
|
+
id: string;
|
|
316
|
+
}[] | null | undefined;
|
|
317
|
+
archivedAt?: string | null | undefined;
|
|
318
|
+
} | undefined;
|
|
319
|
+
}>, import("zod").ZodObject<{
|
|
320
|
+
operation: import("zod").ZodLiteral<"list_posts">;
|
|
321
|
+
success: import("zod").ZodBoolean;
|
|
322
|
+
posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
323
|
+
id: import("zod").ZodString;
|
|
324
|
+
title: import("zod").ZodString;
|
|
325
|
+
content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
|
|
326
|
+
insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
327
|
+
publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
328
|
+
updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
329
|
+
archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
330
|
+
owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
331
|
+
id: import("zod").ZodString;
|
|
332
|
+
name: import("zod").ZodString;
|
|
333
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
334
|
+
name: string;
|
|
335
|
+
id: string;
|
|
336
|
+
}, {
|
|
337
|
+
name: string;
|
|
338
|
+
id: string;
|
|
339
|
+
}>>>;
|
|
340
|
+
version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
341
|
+
topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
342
|
+
id: import("zod").ZodString;
|
|
343
|
+
name: import("zod").ZodString;
|
|
344
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
345
|
+
name: string;
|
|
346
|
+
id: string;
|
|
347
|
+
}, {
|
|
348
|
+
name: string;
|
|
349
|
+
id: string;
|
|
350
|
+
}>, "many">>>;
|
|
351
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
352
|
+
title: string;
|
|
353
|
+
id: string;
|
|
354
|
+
content?: unknown;
|
|
355
|
+
owner?: {
|
|
356
|
+
name: string;
|
|
357
|
+
id: string;
|
|
358
|
+
} | null | undefined;
|
|
359
|
+
publishedAt?: string | null | undefined;
|
|
360
|
+
version?: number | null | undefined;
|
|
361
|
+
updatedAt?: string | null | undefined;
|
|
362
|
+
insertedAt?: string | null | undefined;
|
|
363
|
+
topics?: {
|
|
364
|
+
name: string;
|
|
365
|
+
id: string;
|
|
366
|
+
}[] | null | undefined;
|
|
367
|
+
archivedAt?: string | null | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
title: string;
|
|
370
|
+
id: string;
|
|
371
|
+
content?: unknown;
|
|
372
|
+
owner?: {
|
|
373
|
+
name: string;
|
|
374
|
+
id: string;
|
|
375
|
+
} | null | undefined;
|
|
376
|
+
publishedAt?: string | null | undefined;
|
|
377
|
+
version?: number | null | undefined;
|
|
378
|
+
updatedAt?: string | null | undefined;
|
|
379
|
+
insertedAt?: string | null | undefined;
|
|
380
|
+
topics?: {
|
|
381
|
+
name: string;
|
|
382
|
+
id: string;
|
|
383
|
+
}[] | null | undefined;
|
|
384
|
+
archivedAt?: string | null | undefined;
|
|
385
|
+
}>, "many">>;
|
|
386
|
+
error: import("zod").ZodString;
|
|
387
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
388
|
+
success: boolean;
|
|
389
|
+
error: string;
|
|
390
|
+
operation: "list_posts";
|
|
391
|
+
posts?: {
|
|
392
|
+
title: string;
|
|
393
|
+
id: string;
|
|
394
|
+
content?: unknown;
|
|
395
|
+
owner?: {
|
|
396
|
+
name: string;
|
|
397
|
+
id: string;
|
|
398
|
+
} | null | undefined;
|
|
399
|
+
publishedAt?: string | null | undefined;
|
|
400
|
+
version?: number | null | undefined;
|
|
401
|
+
updatedAt?: string | null | undefined;
|
|
402
|
+
insertedAt?: string | null | undefined;
|
|
403
|
+
topics?: {
|
|
404
|
+
name: string;
|
|
405
|
+
id: string;
|
|
406
|
+
}[] | null | undefined;
|
|
407
|
+
archivedAt?: string | null | undefined;
|
|
408
|
+
}[] | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
success: boolean;
|
|
411
|
+
error: string;
|
|
412
|
+
operation: "list_posts";
|
|
413
|
+
posts?: {
|
|
414
|
+
title: string;
|
|
415
|
+
id: string;
|
|
416
|
+
content?: unknown;
|
|
417
|
+
owner?: {
|
|
418
|
+
name: string;
|
|
419
|
+
id: string;
|
|
420
|
+
} | null | undefined;
|
|
421
|
+
publishedAt?: string | null | undefined;
|
|
422
|
+
version?: number | null | undefined;
|
|
423
|
+
updatedAt?: string | null | undefined;
|
|
424
|
+
insertedAt?: string | null | undefined;
|
|
425
|
+
topics?: {
|
|
426
|
+
name: string;
|
|
427
|
+
id: string;
|
|
428
|
+
}[] | null | undefined;
|
|
429
|
+
archivedAt?: string | null | undefined;
|
|
430
|
+
}[] | undefined;
|
|
431
|
+
}>, import("zod").ZodObject<{
|
|
432
|
+
operation: import("zod").ZodLiteral<"get_topic_posts">;
|
|
433
|
+
success: import("zod").ZodBoolean;
|
|
434
|
+
posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
435
|
+
id: import("zod").ZodString;
|
|
436
|
+
title: import("zod").ZodString;
|
|
437
|
+
content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
|
|
438
|
+
insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
439
|
+
publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
440
|
+
updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
441
|
+
archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
442
|
+
owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
443
|
+
id: import("zod").ZodString;
|
|
444
|
+
name: import("zod").ZodString;
|
|
445
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
446
|
+
name: string;
|
|
447
|
+
id: string;
|
|
448
|
+
}, {
|
|
449
|
+
name: string;
|
|
450
|
+
id: string;
|
|
451
|
+
}>>>;
|
|
452
|
+
version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
453
|
+
topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
454
|
+
id: import("zod").ZodString;
|
|
455
|
+
name: import("zod").ZodString;
|
|
456
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
457
|
+
name: string;
|
|
458
|
+
id: string;
|
|
459
|
+
}, {
|
|
460
|
+
name: string;
|
|
461
|
+
id: string;
|
|
462
|
+
}>, "many">>>;
|
|
463
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
464
|
+
title: string;
|
|
465
|
+
id: string;
|
|
466
|
+
content?: unknown;
|
|
467
|
+
owner?: {
|
|
468
|
+
name: string;
|
|
469
|
+
id: string;
|
|
470
|
+
} | null | undefined;
|
|
471
|
+
publishedAt?: string | null | undefined;
|
|
472
|
+
version?: number | null | undefined;
|
|
473
|
+
updatedAt?: string | null | undefined;
|
|
474
|
+
insertedAt?: string | null | undefined;
|
|
475
|
+
topics?: {
|
|
476
|
+
name: string;
|
|
477
|
+
id: string;
|
|
478
|
+
}[] | null | undefined;
|
|
479
|
+
archivedAt?: string | null | undefined;
|
|
480
|
+
}, {
|
|
481
|
+
title: string;
|
|
482
|
+
id: string;
|
|
483
|
+
content?: unknown;
|
|
484
|
+
owner?: {
|
|
485
|
+
name: string;
|
|
486
|
+
id: string;
|
|
487
|
+
} | null | undefined;
|
|
488
|
+
publishedAt?: string | null | undefined;
|
|
489
|
+
version?: number | null | undefined;
|
|
490
|
+
updatedAt?: string | null | undefined;
|
|
491
|
+
insertedAt?: string | null | undefined;
|
|
492
|
+
topics?: {
|
|
493
|
+
name: string;
|
|
494
|
+
id: string;
|
|
495
|
+
}[] | null | undefined;
|
|
496
|
+
archivedAt?: string | null | undefined;
|
|
497
|
+
}>, "many">>;
|
|
498
|
+
error: import("zod").ZodString;
|
|
499
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
500
|
+
success: boolean;
|
|
501
|
+
error: string;
|
|
502
|
+
operation: "get_topic_posts";
|
|
503
|
+
posts?: {
|
|
504
|
+
title: string;
|
|
505
|
+
id: string;
|
|
506
|
+
content?: unknown;
|
|
507
|
+
owner?: {
|
|
508
|
+
name: string;
|
|
509
|
+
id: string;
|
|
510
|
+
} | null | undefined;
|
|
511
|
+
publishedAt?: string | null | undefined;
|
|
512
|
+
version?: number | null | undefined;
|
|
513
|
+
updatedAt?: string | null | undefined;
|
|
514
|
+
insertedAt?: string | null | undefined;
|
|
515
|
+
topics?: {
|
|
516
|
+
name: string;
|
|
517
|
+
id: string;
|
|
518
|
+
}[] | null | undefined;
|
|
519
|
+
archivedAt?: string | null | undefined;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
success: boolean;
|
|
523
|
+
error: string;
|
|
524
|
+
operation: "get_topic_posts";
|
|
525
|
+
posts?: {
|
|
526
|
+
title: string;
|
|
527
|
+
id: string;
|
|
528
|
+
content?: unknown;
|
|
529
|
+
owner?: {
|
|
530
|
+
name: string;
|
|
531
|
+
id: string;
|
|
532
|
+
} | null | undefined;
|
|
533
|
+
publishedAt?: string | null | undefined;
|
|
534
|
+
version?: number | null | undefined;
|
|
535
|
+
updatedAt?: string | null | undefined;
|
|
536
|
+
insertedAt?: string | null | undefined;
|
|
537
|
+
topics?: {
|
|
538
|
+
name: string;
|
|
539
|
+
id: string;
|
|
540
|
+
}[] | null | undefined;
|
|
541
|
+
archivedAt?: string | null | undefined;
|
|
542
|
+
}[] | undefined;
|
|
543
|
+
}>, import("zod").ZodObject<{
|
|
544
|
+
operation: import("zod").ZodLiteral<"list_topics">;
|
|
545
|
+
success: import("zod").ZodBoolean;
|
|
546
|
+
topics: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
547
|
+
id: import("zod").ZodString;
|
|
548
|
+
name: import("zod").ZodString;
|
|
549
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
550
|
+
name: string;
|
|
551
|
+
id: string;
|
|
552
|
+
}, {
|
|
553
|
+
name: string;
|
|
554
|
+
id: string;
|
|
555
|
+
}>, "many">>;
|
|
556
|
+
error: import("zod").ZodString;
|
|
557
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
558
|
+
success: boolean;
|
|
559
|
+
error: string;
|
|
560
|
+
operation: "list_topics";
|
|
561
|
+
topics?: {
|
|
562
|
+
name: string;
|
|
563
|
+
id: string;
|
|
564
|
+
}[] | undefined;
|
|
565
|
+
}, {
|
|
566
|
+
success: boolean;
|
|
567
|
+
error: string;
|
|
568
|
+
operation: "list_topics";
|
|
569
|
+
topics?: {
|
|
570
|
+
name: string;
|
|
571
|
+
id: string;
|
|
572
|
+
}[] | undefined;
|
|
573
|
+
}>]>;
|
|
574
|
+
static readonly shortDescription = "Slab knowledge management for searching and managing posts";
|
|
575
|
+
static readonly longDescription = "\n Slab is a knowledge management platform for modern teams.\n This bubble provides operations for:\n - Searching posts across the workspace\n - Retrieving specific post details and content\n - Listing all organization posts\n - Getting posts within specific topics\n - Listing all topics in the organization\n\n Authentication:\n - Uses API token (available on Business/Enterprise plans)\n - Token is passed via Authorization header\n\n Use Cases:\n - Search internal knowledge base from automated workflows\n - Sync documentation with external systems\n - Build AI assistants that leverage internal knowledge\n - Automate content updates across the organization\n ";
|
|
576
|
+
static readonly alias = "slab-kb";
|
|
577
|
+
constructor(params?: T, context?: BubbleContext);
|
|
578
|
+
/**
|
|
579
|
+
* Choose the appropriate credential for Slab API
|
|
580
|
+
*/
|
|
581
|
+
protected chooseCredential(): string | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* Test if the credential is valid by making a simple API call
|
|
584
|
+
*/
|
|
585
|
+
testCredential(): Promise<boolean>;
|
|
586
|
+
/**
|
|
587
|
+
* Perform the Slab operation
|
|
588
|
+
*/
|
|
589
|
+
protected performAction(context?: BubbleContext): Promise<Extract<SlabResult, {
|
|
590
|
+
operation: T['operation'];
|
|
591
|
+
}>>;
|
|
592
|
+
/**
|
|
593
|
+
* Make an authenticated GraphQL request to Slab
|
|
594
|
+
*/
|
|
595
|
+
private makeSlabRequest;
|
|
596
|
+
/**
|
|
597
|
+
* Search posts by query
|
|
598
|
+
*/
|
|
599
|
+
private searchPosts;
|
|
600
|
+
/**
|
|
601
|
+
* Get a specific post by ID
|
|
602
|
+
*/
|
|
603
|
+
private getPost;
|
|
604
|
+
/**
|
|
605
|
+
* List all organization posts
|
|
606
|
+
*/
|
|
607
|
+
private listPosts;
|
|
608
|
+
/**
|
|
609
|
+
* Get posts within a specific topic
|
|
610
|
+
*/
|
|
611
|
+
private getTopicPosts;
|
|
612
|
+
/**
|
|
613
|
+
* List all topics in the organization
|
|
614
|
+
*/
|
|
615
|
+
private listTopics;
|
|
616
|
+
}
|
|
617
|
+
//# sourceMappingURL=slab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slab.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/slab/slab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,UAAU,EAMhB,MAAM,kBAAkB,CAAC;AAK1B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,UAAU,CACrB,CAAC,SAAS,eAAe,GAAG,eAAe,CAC3C,SAAQ,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;IAE5E,MAAM,CAAC,QAAQ,CAAC,OAAO,UAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,OAAO,CAAU;IAC5C,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAG,MAAM,CAAU;IAC7C,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAoB;IAC1C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAoB;IAChD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,gEAC+B;IAC/D,MAAM,CAAC,QAAQ,CAAC,eAAe,8sBAkB7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,aAAa;gBAGhC,MAAM,GAAE,CAGF,EACN,OAAO,CAAC,EAAE,aAAa;IAKzB;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAShD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAoBxC;;OAEG;cACa,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;IAgD9D;;OAEG;YACW,eAAe;IAoC7B;;OAEG;YACW,WAAW;IAmFzB;;OAEG;YACW,OAAO;IAwDrB;;OAEG;YACW,SAAS;IAqCvB;;OAEG;YACW,aAAa;IA8C3B;;OAEG;YACW,UAAU;CA+BzB"}
|