@bubblelab/bubble-core 0.1.222 → 0.1.225
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 +182 -182
- 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/slab.d.ts +38 -38
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
- 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 +570 -570
- 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 +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,435 @@
|
|
|
1
|
+
import { ServiceBubble } from '../../../types/service-bubble-class.js';
|
|
2
|
+
import type { BubbleContext } from '../../../types/bubble.js';
|
|
3
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
4
|
+
import { type PylonParamsInput, type PylonResult } from './pylon.schema.js';
|
|
5
|
+
export declare class PylonBubble<T extends PylonParamsInput = PylonParamsInput> extends ServiceBubble<T, Extract<PylonResult, {
|
|
6
|
+
operation: T['operation'];
|
|
7
|
+
}>> {
|
|
8
|
+
static readonly type: "service";
|
|
9
|
+
static readonly service = "pylon";
|
|
10
|
+
static readonly authType: "apikey";
|
|
11
|
+
static readonly bubbleName = "pylon";
|
|
12
|
+
static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
13
|
+
operation: import("zod").ZodLiteral<"create_issue">;
|
|
14
|
+
title: import("zod").ZodString;
|
|
15
|
+
body_html: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
assignee_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
|
|
18
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
19
|
+
account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
requester_email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
22
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
23
|
+
operation: "create_issue";
|
|
24
|
+
title: string;
|
|
25
|
+
body_html?: string | undefined;
|
|
26
|
+
assignee_id?: string | undefined;
|
|
27
|
+
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
28
|
+
tags?: string[] | undefined;
|
|
29
|
+
account_id?: string | undefined;
|
|
30
|
+
requester_email?: string | undefined;
|
|
31
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
operation: "create_issue";
|
|
34
|
+
title: string;
|
|
35
|
+
body_html?: string | undefined;
|
|
36
|
+
assignee_id?: string | undefined;
|
|
37
|
+
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
38
|
+
tags?: string[] | undefined;
|
|
39
|
+
account_id?: string | undefined;
|
|
40
|
+
requester_email?: string | undefined;
|
|
41
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
42
|
+
}>, import("zod").ZodObject<{
|
|
43
|
+
operation: import("zod").ZodLiteral<"list_issues">;
|
|
44
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
45
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
state: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed", "snoozed"]>>;
|
|
47
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
operation: "list_issues";
|
|
50
|
+
limit: number;
|
|
51
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
52
|
+
cursor?: string | undefined;
|
|
53
|
+
state?: "open" | "closed" | "snoozed" | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
operation: "list_issues";
|
|
56
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
57
|
+
limit?: number | undefined;
|
|
58
|
+
cursor?: string | undefined;
|
|
59
|
+
state?: "open" | "closed" | "snoozed" | undefined;
|
|
60
|
+
}>, import("zod").ZodObject<{
|
|
61
|
+
operation: import("zod").ZodLiteral<"get_issue">;
|
|
62
|
+
issue_id: import("zod").ZodString;
|
|
63
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
64
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
65
|
+
operation: "get_issue";
|
|
66
|
+
issue_id: string;
|
|
67
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
operation: "get_issue";
|
|
70
|
+
issue_id: string;
|
|
71
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
|
+
}>, import("zod").ZodObject<{
|
|
73
|
+
operation: import("zod").ZodLiteral<"update_issue">;
|
|
74
|
+
issue_id: import("zod").ZodString;
|
|
75
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
76
|
+
state: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed", "snoozed"]>>;
|
|
77
|
+
priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
|
|
78
|
+
assignee_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
79
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
80
|
+
tags_apply_mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["append_only", "remove_only", "replace"]>>>;
|
|
81
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
82
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
83
|
+
operation: "update_issue";
|
|
84
|
+
issue_id: string;
|
|
85
|
+
tags_apply_mode: "replace" | "append_only" | "remove_only";
|
|
86
|
+
title?: string | undefined;
|
|
87
|
+
assignee_id?: string | undefined;
|
|
88
|
+
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
89
|
+
tags?: string[] | undefined;
|
|
90
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
91
|
+
state?: "open" | "closed" | "snoozed" | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
operation: "update_issue";
|
|
94
|
+
issue_id: string;
|
|
95
|
+
title?: string | undefined;
|
|
96
|
+
assignee_id?: string | undefined;
|
|
97
|
+
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
98
|
+
tags?: string[] | undefined;
|
|
99
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
100
|
+
state?: "open" | "closed" | "snoozed" | undefined;
|
|
101
|
+
tags_apply_mode?: "replace" | "append_only" | "remove_only" | undefined;
|
|
102
|
+
}>, import("zod").ZodObject<{
|
|
103
|
+
operation: import("zod").ZodLiteral<"send_message">;
|
|
104
|
+
issue_id: import("zod").ZodString;
|
|
105
|
+
body_html: import("zod").ZodString;
|
|
106
|
+
is_private: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
107
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
108
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
109
|
+
operation: "send_message";
|
|
110
|
+
body_html: string;
|
|
111
|
+
issue_id: string;
|
|
112
|
+
is_private: boolean;
|
|
113
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
operation: "send_message";
|
|
116
|
+
body_html: string;
|
|
117
|
+
issue_id: string;
|
|
118
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
119
|
+
is_private?: boolean | undefined;
|
|
120
|
+
}>, import("zod").ZodObject<{
|
|
121
|
+
operation: import("zod").ZodLiteral<"list_messages">;
|
|
122
|
+
issue_id: import("zod").ZodString;
|
|
123
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
124
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
125
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
127
|
+
operation: "list_messages";
|
|
128
|
+
limit: number;
|
|
129
|
+
issue_id: string;
|
|
130
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
131
|
+
cursor?: string | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
operation: "list_messages";
|
|
134
|
+
issue_id: string;
|
|
135
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
136
|
+
limit?: number | undefined;
|
|
137
|
+
cursor?: string | undefined;
|
|
138
|
+
}>, import("zod").ZodObject<{
|
|
139
|
+
operation: import("zod").ZodLiteral<"create_account">;
|
|
140
|
+
name: import("zod").ZodString;
|
|
141
|
+
owner_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
142
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
143
|
+
custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
144
|
+
slug: import("zod").ZodString;
|
|
145
|
+
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
146
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
147
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
148
|
+
slug: string;
|
|
149
|
+
value?: string | undefined;
|
|
150
|
+
values?: string[] | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
slug: string;
|
|
153
|
+
value?: string | undefined;
|
|
154
|
+
values?: string[] | undefined;
|
|
155
|
+
}>, "many">>;
|
|
156
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
157
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
158
|
+
operation: "create_account";
|
|
159
|
+
name: string;
|
|
160
|
+
tags?: string[] | undefined;
|
|
161
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
162
|
+
owner_id?: string | undefined;
|
|
163
|
+
custom_fields?: {
|
|
164
|
+
slug: string;
|
|
165
|
+
value?: string | undefined;
|
|
166
|
+
values?: string[] | undefined;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
operation: "create_account";
|
|
170
|
+
name: string;
|
|
171
|
+
tags?: string[] | undefined;
|
|
172
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
173
|
+
owner_id?: string | undefined;
|
|
174
|
+
custom_fields?: {
|
|
175
|
+
slug: string;
|
|
176
|
+
value?: string | undefined;
|
|
177
|
+
values?: string[] | undefined;
|
|
178
|
+
}[] | undefined;
|
|
179
|
+
}>, import("zod").ZodObject<{
|
|
180
|
+
operation: import("zod").ZodLiteral<"list_accounts">;
|
|
181
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
182
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
185
|
+
operation: "list_accounts";
|
|
186
|
+
limit: number;
|
|
187
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
188
|
+
cursor?: string | undefined;
|
|
189
|
+
}, {
|
|
190
|
+
operation: "list_accounts";
|
|
191
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
192
|
+
limit?: number | undefined;
|
|
193
|
+
cursor?: string | undefined;
|
|
194
|
+
}>, import("zod").ZodObject<{
|
|
195
|
+
operation: import("zod").ZodLiteral<"update_account">;
|
|
196
|
+
account_id: import("zod").ZodString;
|
|
197
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
198
|
+
owner_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
199
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
200
|
+
tags_apply_mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["append_only", "remove_only", "replace"]>>>;
|
|
201
|
+
custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
202
|
+
slug: import("zod").ZodString;
|
|
203
|
+
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
204
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
205
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
206
|
+
slug: string;
|
|
207
|
+
value?: string | undefined;
|
|
208
|
+
values?: string[] | undefined;
|
|
209
|
+
}, {
|
|
210
|
+
slug: string;
|
|
211
|
+
value?: string | undefined;
|
|
212
|
+
values?: string[] | undefined;
|
|
213
|
+
}>, "many">>;
|
|
214
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
215
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
216
|
+
operation: "update_account";
|
|
217
|
+
account_id: string;
|
|
218
|
+
tags_apply_mode: "replace" | "append_only" | "remove_only";
|
|
219
|
+
tags?: string[] | undefined;
|
|
220
|
+
name?: string | undefined;
|
|
221
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
222
|
+
owner_id?: string | undefined;
|
|
223
|
+
custom_fields?: {
|
|
224
|
+
slug: string;
|
|
225
|
+
value?: string | undefined;
|
|
226
|
+
values?: string[] | undefined;
|
|
227
|
+
}[] | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
operation: "update_account";
|
|
230
|
+
account_id: string;
|
|
231
|
+
tags?: string[] | undefined;
|
|
232
|
+
name?: string | undefined;
|
|
233
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
234
|
+
tags_apply_mode?: "replace" | "append_only" | "remove_only" | undefined;
|
|
235
|
+
owner_id?: string | undefined;
|
|
236
|
+
custom_fields?: {
|
|
237
|
+
slug: string;
|
|
238
|
+
value?: string | undefined;
|
|
239
|
+
values?: string[] | undefined;
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
}>, import("zod").ZodObject<{
|
|
242
|
+
operation: import("zod").ZodLiteral<"list_contacts">;
|
|
243
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
244
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
245
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
|
|
246
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
247
|
+
operation: "list_contacts";
|
|
248
|
+
limit: number;
|
|
249
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
250
|
+
cursor?: string | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
operation: "list_contacts";
|
|
253
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
254
|
+
limit?: number | undefined;
|
|
255
|
+
cursor?: string | undefined;
|
|
256
|
+
}>]>;
|
|
257
|
+
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
258
|
+
operation: import("zod").ZodLiteral<"create_issue">;
|
|
259
|
+
success: import("zod").ZodBoolean;
|
|
260
|
+
issue_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
261
|
+
error: import("zod").ZodString;
|
|
262
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
263
|
+
operation: "create_issue";
|
|
264
|
+
success: boolean;
|
|
265
|
+
error: string;
|
|
266
|
+
issue_id?: string | undefined;
|
|
267
|
+
}, {
|
|
268
|
+
operation: "create_issue";
|
|
269
|
+
success: boolean;
|
|
270
|
+
error: string;
|
|
271
|
+
issue_id?: string | undefined;
|
|
272
|
+
}>, import("zod").ZodObject<{
|
|
273
|
+
operation: import("zod").ZodLiteral<"list_issues">;
|
|
274
|
+
success: import("zod").ZodBoolean;
|
|
275
|
+
issues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
276
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
277
|
+
error: import("zod").ZodString;
|
|
278
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
279
|
+
operation: "list_issues";
|
|
280
|
+
success: boolean;
|
|
281
|
+
error: string;
|
|
282
|
+
issues?: Record<string, unknown>[] | undefined;
|
|
283
|
+
cursor?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
operation: "list_issues";
|
|
286
|
+
success: boolean;
|
|
287
|
+
error: string;
|
|
288
|
+
issues?: Record<string, unknown>[] | undefined;
|
|
289
|
+
cursor?: string | undefined;
|
|
290
|
+
}>, import("zod").ZodObject<{
|
|
291
|
+
operation: import("zod").ZodLiteral<"get_issue">;
|
|
292
|
+
success: import("zod").ZodBoolean;
|
|
293
|
+
issue: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
294
|
+
error: import("zod").ZodString;
|
|
295
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
296
|
+
operation: "get_issue";
|
|
297
|
+
success: boolean;
|
|
298
|
+
error: string;
|
|
299
|
+
issue?: Record<string, unknown> | undefined;
|
|
300
|
+
}, {
|
|
301
|
+
operation: "get_issue";
|
|
302
|
+
success: boolean;
|
|
303
|
+
error: string;
|
|
304
|
+
issue?: Record<string, unknown> | undefined;
|
|
305
|
+
}>, import("zod").ZodObject<{
|
|
306
|
+
operation: import("zod").ZodLiteral<"update_issue">;
|
|
307
|
+
success: import("zod").ZodBoolean;
|
|
308
|
+
error: import("zod").ZodString;
|
|
309
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
310
|
+
operation: "update_issue";
|
|
311
|
+
success: boolean;
|
|
312
|
+
error: string;
|
|
313
|
+
}, {
|
|
314
|
+
operation: "update_issue";
|
|
315
|
+
success: boolean;
|
|
316
|
+
error: string;
|
|
317
|
+
}>, import("zod").ZodObject<{
|
|
318
|
+
operation: import("zod").ZodLiteral<"send_message">;
|
|
319
|
+
success: import("zod").ZodBoolean;
|
|
320
|
+
message_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
321
|
+
error: import("zod").ZodString;
|
|
322
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
323
|
+
operation: "send_message";
|
|
324
|
+
success: boolean;
|
|
325
|
+
error: string;
|
|
326
|
+
message_id?: string | undefined;
|
|
327
|
+
}, {
|
|
328
|
+
operation: "send_message";
|
|
329
|
+
success: boolean;
|
|
330
|
+
error: string;
|
|
331
|
+
message_id?: string | undefined;
|
|
332
|
+
}>, import("zod").ZodObject<{
|
|
333
|
+
operation: import("zod").ZodLiteral<"list_messages">;
|
|
334
|
+
success: import("zod").ZodBoolean;
|
|
335
|
+
messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
336
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
337
|
+
error: import("zod").ZodString;
|
|
338
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
339
|
+
operation: "list_messages";
|
|
340
|
+
success: boolean;
|
|
341
|
+
error: string;
|
|
342
|
+
cursor?: string | undefined;
|
|
343
|
+
messages?: Record<string, unknown>[] | undefined;
|
|
344
|
+
}, {
|
|
345
|
+
operation: "list_messages";
|
|
346
|
+
success: boolean;
|
|
347
|
+
error: string;
|
|
348
|
+
cursor?: string | undefined;
|
|
349
|
+
messages?: Record<string, unknown>[] | undefined;
|
|
350
|
+
}>, import("zod").ZodObject<{
|
|
351
|
+
operation: import("zod").ZodLiteral<"create_account">;
|
|
352
|
+
success: import("zod").ZodBoolean;
|
|
353
|
+
account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
354
|
+
error: import("zod").ZodString;
|
|
355
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
356
|
+
operation: "create_account";
|
|
357
|
+
success: boolean;
|
|
358
|
+
error: string;
|
|
359
|
+
account_id?: string | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
operation: "create_account";
|
|
362
|
+
success: boolean;
|
|
363
|
+
error: string;
|
|
364
|
+
account_id?: string | undefined;
|
|
365
|
+
}>, import("zod").ZodObject<{
|
|
366
|
+
operation: import("zod").ZodLiteral<"list_accounts">;
|
|
367
|
+
success: import("zod").ZodBoolean;
|
|
368
|
+
accounts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
369
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
370
|
+
error: import("zod").ZodString;
|
|
371
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
372
|
+
operation: "list_accounts";
|
|
373
|
+
success: boolean;
|
|
374
|
+
error: string;
|
|
375
|
+
cursor?: string | undefined;
|
|
376
|
+
accounts?: Record<string, unknown>[] | undefined;
|
|
377
|
+
}, {
|
|
378
|
+
operation: "list_accounts";
|
|
379
|
+
success: boolean;
|
|
380
|
+
error: string;
|
|
381
|
+
cursor?: string | undefined;
|
|
382
|
+
accounts?: Record<string, unknown>[] | undefined;
|
|
383
|
+
}>, import("zod").ZodObject<{
|
|
384
|
+
operation: import("zod").ZodLiteral<"update_account">;
|
|
385
|
+
success: import("zod").ZodBoolean;
|
|
386
|
+
error: import("zod").ZodString;
|
|
387
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
388
|
+
operation: "update_account";
|
|
389
|
+
success: boolean;
|
|
390
|
+
error: string;
|
|
391
|
+
}, {
|
|
392
|
+
operation: "update_account";
|
|
393
|
+
success: boolean;
|
|
394
|
+
error: string;
|
|
395
|
+
}>, import("zod").ZodObject<{
|
|
396
|
+
operation: import("zod").ZodLiteral<"list_contacts">;
|
|
397
|
+
success: import("zod").ZodBoolean;
|
|
398
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
399
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
400
|
+
error: import("zod").ZodString;
|
|
401
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
402
|
+
operation: "list_contacts";
|
|
403
|
+
success: boolean;
|
|
404
|
+
error: string;
|
|
405
|
+
cursor?: string | undefined;
|
|
406
|
+
contacts?: Record<string, unknown>[] | undefined;
|
|
407
|
+
}, {
|
|
408
|
+
operation: "list_contacts";
|
|
409
|
+
success: boolean;
|
|
410
|
+
error: string;
|
|
411
|
+
cursor?: string | undefined;
|
|
412
|
+
contacts?: Record<string, unknown>[] | undefined;
|
|
413
|
+
}>]>;
|
|
414
|
+
static readonly shortDescription = "Pylon B2B support platform for managing issues, messages, accounts, and contacts";
|
|
415
|
+
static readonly longDescription = "\n Pylon is a B2B customer support platform that tracks customer issues across\n multiple channels (Slack, Email, Microsoft Teams, Chat Widget).\n\n Supported operations:\n - Issues: Create, list, get, and update support issues\n - Messages: Send replies and list messages on issues\n - Accounts: Create, list, and update customer accounts\n - Contacts: List contacts\n\n Features:\n - Tagging and custom field support\n - Priority and state management for issues\n - Internal notes via private messages\n - Cursor-based pagination\n ";
|
|
416
|
+
static readonly alias = "pylon";
|
|
417
|
+
constructor(params?: T, context?: BubbleContext);
|
|
418
|
+
testCredential(): Promise<boolean>;
|
|
419
|
+
protected chooseCredential(): string | undefined;
|
|
420
|
+
private makeApiRequest;
|
|
421
|
+
protected performAction(context?: BubbleContext): Promise<Extract<PylonResult, {
|
|
422
|
+
operation: T['operation'];
|
|
423
|
+
}>>;
|
|
424
|
+
private createIssue;
|
|
425
|
+
private listIssues;
|
|
426
|
+
private getIssue;
|
|
427
|
+
private updateIssue;
|
|
428
|
+
private sendMessage;
|
|
429
|
+
private listMessages;
|
|
430
|
+
private createAccount;
|
|
431
|
+
private listAccounts;
|
|
432
|
+
private updateAccount;
|
|
433
|
+
private listContacts;
|
|
434
|
+
}
|
|
435
|
+
//# sourceMappingURL=pylon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pylon.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/pylon/pylon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAI3B,qBAAa,WAAW,CACtB,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,CAC7C,SAAQ,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,WAAW,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;IAC7E,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,OAAO,WAAW;IAClC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,QAAQ,CAAU;IAC7C,MAAM,CAAC,QAAQ,CAAC,UAAU,WAAW;IACrC,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAqB;IAC3C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAqB;IACjD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,sFACqD;IACrF,MAAM,CAAC,QAAQ,CAAC,eAAe,ikBAe7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAW;gBAG9B,MAAM,GAAE,CAEF,EACN,OAAO,CAAC,EAAE,aAAa;IAKZ,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAmB/C,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;YAYlC,cAAc;cAgCZ,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;YAmEjD,WAAW;YAgCX,UAAU;YA4BV,QAAQ;YAwBR,WAAW;YAmCX,WAAW;YA+BX,YAAY;YAkCZ,aAAa;YA6Bb,YAAY;YA2BZ,aAAa;YAkCb,YAAY;CA0B3B"}
|