@bubblelab/bubble-core 0.1.285 → 0.1.287
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 +2 -2
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +17 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/capability-pipeline.js +10 -0
- package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
- package/dist/bubbles.json +1 -1
- package/dist/capabilities/define-capability.d.ts +7 -0
- package/dist/capabilities/define-capability.d.ts.map +1 -1
- package/dist/capabilities/define-capability.js.map +1 -1
- package/package.json +2 -2
- package/dist/bubble-trigger/index.d.ts +0 -2
- package/dist/bubble-trigger/index.d.ts.map +0 -1
- package/dist/bubble-trigger/index.js +0 -2
- package/dist/bubble-trigger/index.js.map +0 -1
- package/dist/bubble-trigger/types.d.ts +0 -87
- package/dist/bubble-trigger/types.d.ts.map +0 -1
- package/dist/bubble-trigger/types.js +0 -14
- package/dist/bubble-trigger/types.js.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.js +0 -904
- package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
- package/dist/bubbles/service-bubble/looker/index.d.ts +0 -3
- package/dist/bubbles/service-bubble/looker/index.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/looker/index.js +0 -3
- package/dist/bubbles/service-bubble/looker/index.js.map +0 -1
- package/dist/bubbles/service-bubble/looker/looker.d.ts +0 -768
- package/dist/bubbles/service-bubble/looker/looker.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/looker/looker.js +0 -319
- package/dist/bubbles/service-bubble/looker/looker.js.map +0 -1
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +0 -735
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/looker/looker.schema.js +0 -264
- package/dist/bubbles/service-bubble/looker/looker.schema.js.map +0 -1
- package/dist/bubbles/service-bubble/pylon/index.d.ts +0 -3
- package/dist/bubbles/service-bubble/pylon/index.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/pylon/index.js +0 -3
- package/dist/bubbles/service-bubble/pylon/index.js.map +0 -1
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts +0 -435
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/pylon/pylon.js +0 -375
- package/dist/bubbles/service-bubble/pylon/pylon.js.map +0 -1
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +0 -408
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js +0 -249
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +0 -1
- package/dist/bubbles/service-bubble/slack.d.ts +0 -5869
- package/dist/bubbles/service-bubble/slack.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/slack.js +0 -1536
- package/dist/bubbles/service-bubble/slack.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +0 -3
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +0 -3
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +0 -160
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +0 -706
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +0 -93
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +0 -50
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -777
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
- package/dist/types/ai-models.d.ts +0 -4
- package/dist/types/ai-models.d.ts.map +0 -1
- package/dist/types/ai-models.js +0 -16
- package/dist/types/ai-models.js.map +0 -1
- package/dist/utils/param-helper.d.ts +0 -2
- package/dist/utils/param-helper.d.ts.map +0 -1
- package/dist/utils/param-helper.js +0 -5
- package/dist/utils/param-helper.js.map +0 -1
|
@@ -1,435 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|