@bubblelab/shared-schemas 0.1.10 → 0.1.12
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/agent-memory.d.ts +21 -0
- package/dist/agent-memory.d.ts.map +1 -0
- package/dist/agent-memory.js +11 -0
- package/dist/agent-memory.js.map +1 -0
- package/dist/ai-models.d.ts +1 -1
- package/dist/ai-models.d.ts.map +1 -1
- package/dist/ai-models.js +12 -0
- package/dist/ai-models.js.map +1 -1
- package/dist/api-schema.d.ts +2 -2
- package/dist/bubble-definition-schema.d.ts +559 -75
- package/dist/bubble-definition-schema.d.ts.map +1 -1
- package/dist/bubble-definition-schema.js +186 -0
- package/dist/bubble-definition-schema.js.map +1 -1
- package/dist/bubbleflow-execution-schema.d.ts +594 -147
- package/dist/bubbleflow-execution-schema.d.ts.map +1 -1
- package/dist/bubbleflow-execution-schema.js +46 -26
- package/dist/bubbleflow-execution-schema.js.map +1 -1
- package/dist/bubbleflow-generation-prompts.d.ts +5 -16
- package/dist/bubbleflow-generation-prompts.d.ts.map +1 -1
- package/dist/bubbleflow-generation-prompts.js +14 -54
- package/dist/bubbleflow-generation-prompts.js.map +1 -1
- package/dist/bubbleflow-schema.d.ts +1081 -92
- package/dist/bubbleflow-schema.d.ts.map +1 -1
- package/dist/bubbleflow-schema.js +94 -4
- package/dist/bubbleflow-schema.js.map +1 -1
- package/dist/coffee.d.ts +2201 -0
- package/dist/coffee.d.ts.map +1 -0
- package/dist/coffee.js +257 -0
- package/dist/coffee.js.map +1 -0
- package/dist/credential-schema.d.ts +172 -3
- package/dist/credential-schema.d.ts.map +1 -1
- package/dist/credential-schema.js +509 -5
- package/dist/credential-schema.js.map +1 -1
- package/dist/database-definition-schema.d.ts +8 -8
- package/dist/error-enhancer.d.ts +6 -0
- package/dist/error-enhancer.d.ts.map +1 -0
- package/dist/error-enhancer.js +88 -0
- package/dist/error-enhancer.js.map +1 -0
- package/dist/generate-bubbleflow-schema.d.ts +974 -52
- package/dist/generate-bubbleflow-schema.d.ts.map +1 -1
- package/dist/generate-bubbleflow-schema.js +23 -7
- package/dist/generate-bubbleflow-schema.js.map +1 -1
- package/dist/hash-utils.d.ts +26 -0
- package/dist/hash-utils.d.ts.map +1 -0
- package/dist/hash-utils.js +37 -0
- package/dist/hash-utils.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/milk-tea.d.ts +22 -24
- package/dist/milk-tea.d.ts.map +1 -1
- package/dist/milk-tea.js +1 -4
- package/dist/milk-tea.js.map +1 -1
- package/dist/oauth-schema.d.ts +2 -2
- package/dist/param-utils.d.ts +10 -0
- package/dist/param-utils.d.ts.map +1 -0
- package/dist/param-utils.js +13 -0
- package/dist/param-utils.js.map +1 -0
- package/dist/pearl.d.ts +96 -29
- package/dist/pearl.d.ts.map +1 -1
- package/dist/pearl.js +20 -9
- package/dist/pearl.js.map +1 -1
- package/dist/rice.d.ts +100 -0
- package/dist/rice.d.ts.map +1 -0
- package/dist/rice.js +65 -0
- package/dist/rice.js.map +1 -0
- package/dist/storage-utils.d.ts +19 -0
- package/dist/storage-utils.d.ts.map +1 -0
- package/dist/storage-utils.js +54 -0
- package/dist/storage-utils.js.map +1 -0
- package/dist/streaming-events.d.ts +36 -2
- package/dist/streaming-events.d.ts.map +1 -1
- package/dist/subscription-status-schema.d.ts +192 -32
- package/dist/subscription-status-schema.d.ts.map +1 -1
- package/dist/subscription-status-schema.js +85 -7
- package/dist/subscription-status-schema.js.map +1 -1
- package/dist/trigger.d.ts +45 -51
- package/dist/trigger.d.ts.map +1 -1
- package/dist/trigger.js +0 -2
- package/dist/trigger.js.map +1 -1
- package/dist/types.d.ts +13 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +18 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/dist/general-chat.d.ts +0 -81
- package/dist/general-chat.d.ts.map +0 -1
- package/dist/general-chat.js +0 -58
- package/dist/general-chat.js.map +0 -1
- package/dist/generation-result-schema.d.ts +0 -73
- package/dist/generation-result-schema.d.ts.map +0 -1
- package/dist/generation-result-schema.js +0 -55
- package/dist/generation-result-schema.js.map +0 -1
- package/dist/mock-data-generator.test.d.ts +0 -2
- package/dist/mock-data-generator.test.d.ts.map +0 -1
- package/dist/mock-data-generator.test.js +0 -176
- package/dist/mock-data-generator.test.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from '@hono/zod-openapi';
|
|
2
2
|
import { BubbleParameterType } from './bubble-definition-schema.js';
|
|
3
3
|
import { CredentialType } from './types.js';
|
|
4
|
+
import type { BubbleName } from './types.js';
|
|
4
5
|
export declare const createBubbleFlowSchema: z.ZodObject<{
|
|
5
6
|
name: z.ZodString;
|
|
6
7
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -9,6 +10,153 @@ export declare const createBubbleFlowSchema: z.ZodObject<{
|
|
|
9
10
|
eventType: z.ZodString;
|
|
10
11
|
webhookPath: z.ZodOptional<z.ZodString>;
|
|
11
12
|
webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
|
+
bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14
|
+
variableName: z.ZodString;
|
|
15
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
16
|
+
className: z.ZodString;
|
|
17
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
18
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
startLine: z.ZodNumber;
|
|
20
|
+
startCol: z.ZodNumber;
|
|
21
|
+
endLine: z.ZodNumber;
|
|
22
|
+
endCol: z.ZodNumber;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
startLine: number;
|
|
25
|
+
startCol: number;
|
|
26
|
+
endLine: number;
|
|
27
|
+
endCol: number;
|
|
28
|
+
}, {
|
|
29
|
+
startLine: number;
|
|
30
|
+
startCol: number;
|
|
31
|
+
endLine: number;
|
|
32
|
+
endCol: number;
|
|
33
|
+
}>>;
|
|
34
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
37
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
38
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
type: BubbleParameterType;
|
|
41
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
42
|
+
name: string;
|
|
43
|
+
location?: {
|
|
44
|
+
startLine: number;
|
|
45
|
+
startCol: number;
|
|
46
|
+
endLine: number;
|
|
47
|
+
endCol: number;
|
|
48
|
+
} | undefined;
|
|
49
|
+
variableId?: number | undefined;
|
|
50
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
type: BubbleParameterType;
|
|
53
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
54
|
+
name: string;
|
|
55
|
+
location?: {
|
|
56
|
+
startLine: number;
|
|
57
|
+
startCol: number;
|
|
58
|
+
endLine: number;
|
|
59
|
+
endCol: number;
|
|
60
|
+
} | undefined;
|
|
61
|
+
variableId?: number | undefined;
|
|
62
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
63
|
+
}>, "many">;
|
|
64
|
+
hasAwait: z.ZodBoolean;
|
|
65
|
+
hasActionCall: z.ZodBoolean;
|
|
66
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
67
|
+
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
68
|
+
variableId: z.ZodNumber;
|
|
69
|
+
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
70
|
+
location: z.ZodObject<{
|
|
71
|
+
startLine: z.ZodNumber;
|
|
72
|
+
startCol: z.ZodNumber;
|
|
73
|
+
endLine: z.ZodNumber;
|
|
74
|
+
endCol: z.ZodNumber;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
startLine: number;
|
|
77
|
+
startCol: number;
|
|
78
|
+
endLine: number;
|
|
79
|
+
endCol: number;
|
|
80
|
+
}, {
|
|
81
|
+
startLine: number;
|
|
82
|
+
startCol: number;
|
|
83
|
+
endLine: number;
|
|
84
|
+
endCol: number;
|
|
85
|
+
}>;
|
|
86
|
+
description: z.ZodOptional<z.ZodString>;
|
|
87
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
88
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
location: {
|
|
93
|
+
startLine: number;
|
|
94
|
+
startCol: number;
|
|
95
|
+
endLine: number;
|
|
96
|
+
endCol: number;
|
|
97
|
+
};
|
|
98
|
+
variableId: number;
|
|
99
|
+
variableName: string;
|
|
100
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
101
|
+
className: string;
|
|
102
|
+
parameters: {
|
|
103
|
+
type: BubbleParameterType;
|
|
104
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
105
|
+
name: string;
|
|
106
|
+
location?: {
|
|
107
|
+
startLine: number;
|
|
108
|
+
startCol: number;
|
|
109
|
+
endLine: number;
|
|
110
|
+
endCol: number;
|
|
111
|
+
} | undefined;
|
|
112
|
+
variableId?: number | undefined;
|
|
113
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
114
|
+
}[];
|
|
115
|
+
hasAwait: boolean;
|
|
116
|
+
hasActionCall: boolean;
|
|
117
|
+
bubbleName: BubbleName;
|
|
118
|
+
description?: string | undefined;
|
|
119
|
+
dependencies?: BubbleName[] | undefined;
|
|
120
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
121
|
+
invocationCallSiteKey?: string | undefined;
|
|
122
|
+
clonedFromVariableId?: number | undefined;
|
|
123
|
+
isInsideCustomTool?: boolean | undefined;
|
|
124
|
+
containingCustomToolId?: string | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
location: {
|
|
127
|
+
startLine: number;
|
|
128
|
+
startCol: number;
|
|
129
|
+
endLine: number;
|
|
130
|
+
endCol: number;
|
|
131
|
+
};
|
|
132
|
+
variableId: number;
|
|
133
|
+
variableName: string;
|
|
134
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
135
|
+
className: string;
|
|
136
|
+
parameters: {
|
|
137
|
+
type: BubbleParameterType;
|
|
138
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
139
|
+
name: string;
|
|
140
|
+
location?: {
|
|
141
|
+
startLine: number;
|
|
142
|
+
startCol: number;
|
|
143
|
+
endLine: number;
|
|
144
|
+
endCol: number;
|
|
145
|
+
} | undefined;
|
|
146
|
+
variableId?: number | undefined;
|
|
147
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
148
|
+
}[];
|
|
149
|
+
hasAwait: boolean;
|
|
150
|
+
hasActionCall: boolean;
|
|
151
|
+
bubbleName: BubbleName;
|
|
152
|
+
description?: string | undefined;
|
|
153
|
+
dependencies?: BubbleName[] | undefined;
|
|
154
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
155
|
+
invocationCallSiteKey?: string | undefined;
|
|
156
|
+
clonedFromVariableId?: number | undefined;
|
|
157
|
+
isInsideCustomTool?: boolean | undefined;
|
|
158
|
+
containingCustomToolId?: string | undefined;
|
|
159
|
+
}>>>;
|
|
12
160
|
}, "strip", z.ZodTypeAny, {
|
|
13
161
|
code: string;
|
|
14
162
|
name: string;
|
|
@@ -17,6 +165,41 @@ export declare const createBubbleFlowSchema: z.ZodObject<{
|
|
|
17
165
|
prompt?: string | undefined;
|
|
18
166
|
webhookPath?: string | undefined;
|
|
19
167
|
webhookActive?: boolean | undefined;
|
|
168
|
+
bubbleParameters?: Record<string, {
|
|
169
|
+
location: {
|
|
170
|
+
startLine: number;
|
|
171
|
+
startCol: number;
|
|
172
|
+
endLine: number;
|
|
173
|
+
endCol: number;
|
|
174
|
+
};
|
|
175
|
+
variableId: number;
|
|
176
|
+
variableName: string;
|
|
177
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
178
|
+
className: string;
|
|
179
|
+
parameters: {
|
|
180
|
+
type: BubbleParameterType;
|
|
181
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
182
|
+
name: string;
|
|
183
|
+
location?: {
|
|
184
|
+
startLine: number;
|
|
185
|
+
startCol: number;
|
|
186
|
+
endLine: number;
|
|
187
|
+
endCol: number;
|
|
188
|
+
} | undefined;
|
|
189
|
+
variableId?: number | undefined;
|
|
190
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
191
|
+
}[];
|
|
192
|
+
hasAwait: boolean;
|
|
193
|
+
hasActionCall: boolean;
|
|
194
|
+
bubbleName: BubbleName;
|
|
195
|
+
description?: string | undefined;
|
|
196
|
+
dependencies?: BubbleName[] | undefined;
|
|
197
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
198
|
+
invocationCallSiteKey?: string | undefined;
|
|
199
|
+
clonedFromVariableId?: number | undefined;
|
|
200
|
+
isInsideCustomTool?: boolean | undefined;
|
|
201
|
+
containingCustomToolId?: string | undefined;
|
|
202
|
+
}> | undefined;
|
|
20
203
|
}, {
|
|
21
204
|
code: string;
|
|
22
205
|
name: string;
|
|
@@ -25,12 +208,69 @@ export declare const createBubbleFlowSchema: z.ZodObject<{
|
|
|
25
208
|
prompt?: string | undefined;
|
|
26
209
|
webhookPath?: string | undefined;
|
|
27
210
|
webhookActive?: boolean | undefined;
|
|
211
|
+
bubbleParameters?: Record<string, {
|
|
212
|
+
location: {
|
|
213
|
+
startLine: number;
|
|
214
|
+
startCol: number;
|
|
215
|
+
endLine: number;
|
|
216
|
+
endCol: number;
|
|
217
|
+
};
|
|
218
|
+
variableId: number;
|
|
219
|
+
variableName: string;
|
|
220
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
221
|
+
className: string;
|
|
222
|
+
parameters: {
|
|
223
|
+
type: BubbleParameterType;
|
|
224
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
225
|
+
name: string;
|
|
226
|
+
location?: {
|
|
227
|
+
startLine: number;
|
|
228
|
+
startCol: number;
|
|
229
|
+
endLine: number;
|
|
230
|
+
endCol: number;
|
|
231
|
+
} | undefined;
|
|
232
|
+
variableId?: number | undefined;
|
|
233
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
234
|
+
}[];
|
|
235
|
+
hasAwait: boolean;
|
|
236
|
+
hasActionCall: boolean;
|
|
237
|
+
bubbleName: BubbleName;
|
|
238
|
+
description?: string | undefined;
|
|
239
|
+
dependencies?: BubbleName[] | undefined;
|
|
240
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
241
|
+
invocationCallSiteKey?: string | undefined;
|
|
242
|
+
clonedFromVariableId?: number | undefined;
|
|
243
|
+
isInsideCustomTool?: boolean | undefined;
|
|
244
|
+
containingCustomToolId?: string | undefined;
|
|
245
|
+
}> | undefined;
|
|
246
|
+
}>;
|
|
247
|
+
export declare const createEmptyBubbleFlowSchema: z.ZodObject<{
|
|
248
|
+
name: z.ZodString;
|
|
249
|
+
description: z.ZodOptional<z.ZodString>;
|
|
250
|
+
prompt: z.ZodString;
|
|
251
|
+
eventType: z.ZodString;
|
|
252
|
+
webhookPath: z.ZodOptional<z.ZodString>;
|
|
253
|
+
webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
name: string;
|
|
256
|
+
prompt: string;
|
|
257
|
+
eventType: string;
|
|
258
|
+
description?: string | undefined;
|
|
259
|
+
webhookPath?: string | undefined;
|
|
260
|
+
webhookActive?: boolean | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
name: string;
|
|
263
|
+
prompt: string;
|
|
264
|
+
eventType: string;
|
|
265
|
+
description?: string | undefined;
|
|
266
|
+
webhookPath?: string | undefined;
|
|
267
|
+
webhookActive?: boolean | undefined;
|
|
28
268
|
}>;
|
|
29
269
|
export declare const executeBubbleFlowSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30
270
|
export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
31
271
|
bubbleParameters: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
32
272
|
variableName: z.ZodString;
|
|
33
|
-
bubbleName: z.
|
|
273
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
34
274
|
className: z.ZodString;
|
|
35
275
|
parameters: z.ZodArray<z.ZodObject<{
|
|
36
276
|
location: z.ZodOptional<z.ZodObject<{
|
|
@@ -53,9 +293,10 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
53
293
|
name: z.ZodString;
|
|
54
294
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
55
295
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
296
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
56
297
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
58
298
|
type: BubbleParameterType;
|
|
299
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
59
300
|
name: string;
|
|
60
301
|
location?: {
|
|
61
302
|
startLine: number;
|
|
@@ -64,9 +305,10 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
64
305
|
endCol: number;
|
|
65
306
|
} | undefined;
|
|
66
307
|
variableId?: number | undefined;
|
|
308
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
67
309
|
}, {
|
|
68
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
69
310
|
type: BubbleParameterType;
|
|
311
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
70
312
|
name: string;
|
|
71
313
|
location?: {
|
|
72
314
|
startLine: number;
|
|
@@ -75,10 +317,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
75
317
|
endCol: number;
|
|
76
318
|
} | undefined;
|
|
77
319
|
variableId?: number | undefined;
|
|
320
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
78
321
|
}>, "many">;
|
|
79
322
|
hasAwait: z.ZodBoolean;
|
|
80
323
|
hasActionCall: z.ZodBoolean;
|
|
81
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
324
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
82
325
|
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
83
326
|
variableId: z.ZodNumber;
|
|
84
327
|
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
@@ -98,6 +341,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
98
341
|
endLine: number;
|
|
99
342
|
endCol: number;
|
|
100
343
|
}>;
|
|
344
|
+
description: z.ZodOptional<z.ZodString>;
|
|
345
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
346
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
101
349
|
}, "strip", z.ZodTypeAny, {
|
|
102
350
|
location: {
|
|
103
351
|
startLine: number;
|
|
@@ -107,11 +355,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
107
355
|
};
|
|
108
356
|
variableId: number;
|
|
109
357
|
variableName: string;
|
|
110
|
-
|
|
358
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
111
359
|
className: string;
|
|
112
360
|
parameters: {
|
|
113
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
114
361
|
type: BubbleParameterType;
|
|
362
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
115
363
|
name: string;
|
|
116
364
|
location?: {
|
|
117
365
|
startLine: number;
|
|
@@ -120,12 +368,18 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
120
368
|
endCol: number;
|
|
121
369
|
} | undefined;
|
|
122
370
|
variableId?: number | undefined;
|
|
371
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
123
372
|
}[];
|
|
124
373
|
hasAwait: boolean;
|
|
125
374
|
hasActionCall: boolean;
|
|
126
|
-
|
|
127
|
-
|
|
375
|
+
bubbleName: BubbleName;
|
|
376
|
+
description?: string | undefined;
|
|
377
|
+
dependencies?: BubbleName[] | undefined;
|
|
128
378
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
379
|
+
invocationCallSiteKey?: string | undefined;
|
|
380
|
+
clonedFromVariableId?: number | undefined;
|
|
381
|
+
isInsideCustomTool?: boolean | undefined;
|
|
382
|
+
containingCustomToolId?: string | undefined;
|
|
129
383
|
}, {
|
|
130
384
|
location: {
|
|
131
385
|
startLine: number;
|
|
@@ -135,11 +389,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
135
389
|
};
|
|
136
390
|
variableId: number;
|
|
137
391
|
variableName: string;
|
|
138
|
-
|
|
392
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
139
393
|
className: string;
|
|
140
394
|
parameters: {
|
|
141
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
142
395
|
type: BubbleParameterType;
|
|
396
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
143
397
|
name: string;
|
|
144
398
|
location?: {
|
|
145
399
|
startLine: number;
|
|
@@ -148,15 +402,21 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
148
402
|
endCol: number;
|
|
149
403
|
} | undefined;
|
|
150
404
|
variableId?: number | undefined;
|
|
405
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
151
406
|
}[];
|
|
152
407
|
hasAwait: boolean;
|
|
153
408
|
hasActionCall: boolean;
|
|
154
|
-
|
|
155
|
-
|
|
409
|
+
bubbleName: BubbleName;
|
|
410
|
+
description?: string | undefined;
|
|
411
|
+
dependencies?: BubbleName[] | undefined;
|
|
156
412
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
413
|
+
invocationCallSiteKey?: string | undefined;
|
|
414
|
+
clonedFromVariableId?: number | undefined;
|
|
415
|
+
isInsideCustomTool?: boolean | undefined;
|
|
416
|
+
containingCustomToolId?: string | undefined;
|
|
157
417
|
}>, z.ZodObject<{
|
|
158
418
|
variableName: z.ZodString;
|
|
159
|
-
bubbleName: z.
|
|
419
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
160
420
|
className: z.ZodString;
|
|
161
421
|
parameters: z.ZodArray<z.ZodObject<{
|
|
162
422
|
location: z.ZodOptional<z.ZodObject<{
|
|
@@ -179,9 +439,10 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
179
439
|
name: z.ZodString;
|
|
180
440
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
181
441
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
442
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
182
443
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
184
444
|
type: BubbleParameterType;
|
|
445
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
185
446
|
name: string;
|
|
186
447
|
location?: {
|
|
187
448
|
startLine: number;
|
|
@@ -190,9 +451,10 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
190
451
|
endCol: number;
|
|
191
452
|
} | undefined;
|
|
192
453
|
variableId?: number | undefined;
|
|
454
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
193
455
|
}, {
|
|
194
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
195
456
|
type: BubbleParameterType;
|
|
457
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
196
458
|
name: string;
|
|
197
459
|
location?: {
|
|
198
460
|
startLine: number;
|
|
@@ -201,18 +463,18 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
201
463
|
endCol: number;
|
|
202
464
|
} | undefined;
|
|
203
465
|
variableId?: number | undefined;
|
|
466
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
204
467
|
}>, "many">;
|
|
205
468
|
hasAwait: z.ZodBoolean;
|
|
206
469
|
hasActionCall: z.ZodBoolean;
|
|
207
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
470
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
208
471
|
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
209
472
|
}, "strip", z.ZodTypeAny, {
|
|
210
473
|
variableName: string;
|
|
211
|
-
bubbleName: string;
|
|
212
474
|
className: string;
|
|
213
475
|
parameters: {
|
|
214
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
215
476
|
type: BubbleParameterType;
|
|
477
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
216
478
|
name: string;
|
|
217
479
|
location?: {
|
|
218
480
|
startLine: number;
|
|
@@ -221,18 +483,19 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
221
483
|
endCol: number;
|
|
222
484
|
} | undefined;
|
|
223
485
|
variableId?: number | undefined;
|
|
486
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
224
487
|
}[];
|
|
225
488
|
hasAwait: boolean;
|
|
226
489
|
hasActionCall: boolean;
|
|
227
|
-
|
|
490
|
+
bubbleName: BubbleName;
|
|
491
|
+
dependencies?: BubbleName[] | undefined;
|
|
228
492
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
229
493
|
}, {
|
|
230
494
|
variableName: string;
|
|
231
|
-
bubbleName: string;
|
|
232
495
|
className: string;
|
|
233
496
|
parameters: {
|
|
234
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
235
497
|
type: BubbleParameterType;
|
|
498
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
236
499
|
name: string;
|
|
237
500
|
location?: {
|
|
238
501
|
startLine: number;
|
|
@@ -241,20 +504,21 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
241
504
|
endCol: number;
|
|
242
505
|
} | undefined;
|
|
243
506
|
variableId?: number | undefined;
|
|
507
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
244
508
|
}[];
|
|
245
509
|
hasAwait: boolean;
|
|
246
510
|
hasActionCall: boolean;
|
|
247
|
-
|
|
511
|
+
bubbleName: BubbleName;
|
|
512
|
+
dependencies?: BubbleName[] | undefined;
|
|
248
513
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
249
514
|
}>]>>;
|
|
250
515
|
}, "strip", z.ZodTypeAny, {
|
|
251
516
|
bubbleParameters: Record<string, {
|
|
252
517
|
variableName: string;
|
|
253
|
-
bubbleName: string;
|
|
254
518
|
className: string;
|
|
255
519
|
parameters: {
|
|
256
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
257
520
|
type: BubbleParameterType;
|
|
521
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
258
522
|
name: string;
|
|
259
523
|
location?: {
|
|
260
524
|
startLine: number;
|
|
@@ -263,10 +527,12 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
263
527
|
endCol: number;
|
|
264
528
|
} | undefined;
|
|
265
529
|
variableId?: number | undefined;
|
|
530
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
266
531
|
}[];
|
|
267
532
|
hasAwait: boolean;
|
|
268
533
|
hasActionCall: boolean;
|
|
269
|
-
|
|
534
|
+
bubbleName: BubbleName;
|
|
535
|
+
dependencies?: BubbleName[] | undefined;
|
|
270
536
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
271
537
|
} | {
|
|
272
538
|
location: {
|
|
@@ -277,11 +543,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
277
543
|
};
|
|
278
544
|
variableId: number;
|
|
279
545
|
variableName: string;
|
|
280
|
-
|
|
546
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
281
547
|
className: string;
|
|
282
548
|
parameters: {
|
|
283
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
284
549
|
type: BubbleParameterType;
|
|
550
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
285
551
|
name: string;
|
|
286
552
|
location?: {
|
|
287
553
|
startLine: number;
|
|
@@ -290,21 +556,26 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
290
556
|
endCol: number;
|
|
291
557
|
} | undefined;
|
|
292
558
|
variableId?: number | undefined;
|
|
559
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
293
560
|
}[];
|
|
294
561
|
hasAwait: boolean;
|
|
295
562
|
hasActionCall: boolean;
|
|
296
|
-
|
|
297
|
-
|
|
563
|
+
bubbleName: BubbleName;
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
dependencies?: BubbleName[] | undefined;
|
|
298
566
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
567
|
+
invocationCallSiteKey?: string | undefined;
|
|
568
|
+
clonedFromVariableId?: number | undefined;
|
|
569
|
+
isInsideCustomTool?: boolean | undefined;
|
|
570
|
+
containingCustomToolId?: string | undefined;
|
|
299
571
|
}>;
|
|
300
572
|
}, {
|
|
301
573
|
bubbleParameters: Record<string, {
|
|
302
574
|
variableName: string;
|
|
303
|
-
bubbleName: string;
|
|
304
575
|
className: string;
|
|
305
576
|
parameters: {
|
|
306
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
307
577
|
type: BubbleParameterType;
|
|
578
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
308
579
|
name: string;
|
|
309
580
|
location?: {
|
|
310
581
|
startLine: number;
|
|
@@ -313,10 +584,12 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
313
584
|
endCol: number;
|
|
314
585
|
} | undefined;
|
|
315
586
|
variableId?: number | undefined;
|
|
587
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
316
588
|
}[];
|
|
317
589
|
hasAwait: boolean;
|
|
318
590
|
hasActionCall: boolean;
|
|
319
|
-
|
|
591
|
+
bubbleName: BubbleName;
|
|
592
|
+
dependencies?: BubbleName[] | undefined;
|
|
320
593
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
321
594
|
} | {
|
|
322
595
|
location: {
|
|
@@ -327,11 +600,11 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
327
600
|
};
|
|
328
601
|
variableId: number;
|
|
329
602
|
variableName: string;
|
|
330
|
-
|
|
603
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
331
604
|
className: string;
|
|
332
605
|
parameters: {
|
|
333
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
334
606
|
type: BubbleParameterType;
|
|
607
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
335
608
|
name: string;
|
|
336
609
|
location?: {
|
|
337
610
|
startLine: number;
|
|
@@ -340,12 +613,18 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
340
613
|
endCol: number;
|
|
341
614
|
} | undefined;
|
|
342
615
|
variableId?: number | undefined;
|
|
616
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
343
617
|
}[];
|
|
344
618
|
hasAwait: boolean;
|
|
345
619
|
hasActionCall: boolean;
|
|
346
|
-
|
|
347
|
-
|
|
620
|
+
bubbleName: BubbleName;
|
|
621
|
+
description?: string | undefined;
|
|
622
|
+
dependencies?: BubbleName[] | undefined;
|
|
348
623
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
624
|
+
invocationCallSiteKey?: string | undefined;
|
|
625
|
+
clonedFromVariableId?: number | undefined;
|
|
626
|
+
isInsideCustomTool?: boolean | undefined;
|
|
627
|
+
containingCustomToolId?: string | undefined;
|
|
349
628
|
}>;
|
|
350
629
|
}>;
|
|
351
630
|
export declare const updateBubbleFlowNameSchema: z.ZodObject<{
|
|
@@ -361,7 +640,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
361
640
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
362
641
|
bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
363
642
|
variableName: z.ZodString;
|
|
364
|
-
bubbleName: z.
|
|
643
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
365
644
|
className: z.ZodString;
|
|
366
645
|
parameters: z.ZodArray<z.ZodObject<{
|
|
367
646
|
location: z.ZodOptional<z.ZodObject<{
|
|
@@ -384,9 +663,10 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
384
663
|
name: z.ZodString;
|
|
385
664
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
386
665
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
666
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
387
667
|
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
389
668
|
type: BubbleParameterType;
|
|
669
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
390
670
|
name: string;
|
|
391
671
|
location?: {
|
|
392
672
|
startLine: number;
|
|
@@ -395,9 +675,10 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
395
675
|
endCol: number;
|
|
396
676
|
} | undefined;
|
|
397
677
|
variableId?: number | undefined;
|
|
678
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
398
679
|
}, {
|
|
399
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
400
680
|
type: BubbleParameterType;
|
|
681
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
401
682
|
name: string;
|
|
402
683
|
location?: {
|
|
403
684
|
startLine: number;
|
|
@@ -406,10 +687,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
406
687
|
endCol: number;
|
|
407
688
|
} | undefined;
|
|
408
689
|
variableId?: number | undefined;
|
|
690
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
409
691
|
}>, "many">;
|
|
410
692
|
hasAwait: z.ZodBoolean;
|
|
411
693
|
hasActionCall: z.ZodBoolean;
|
|
412
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
694
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
413
695
|
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
414
696
|
variableId: z.ZodNumber;
|
|
415
697
|
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
@@ -429,6 +711,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
429
711
|
endLine: number;
|
|
430
712
|
endCol: number;
|
|
431
713
|
}>;
|
|
714
|
+
description: z.ZodOptional<z.ZodString>;
|
|
715
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
716
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
717
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
432
719
|
}, "strip", z.ZodTypeAny, {
|
|
433
720
|
location: {
|
|
434
721
|
startLine: number;
|
|
@@ -438,11 +725,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
438
725
|
};
|
|
439
726
|
variableId: number;
|
|
440
727
|
variableName: string;
|
|
441
|
-
|
|
728
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
442
729
|
className: string;
|
|
443
730
|
parameters: {
|
|
444
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
445
731
|
type: BubbleParameterType;
|
|
732
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
446
733
|
name: string;
|
|
447
734
|
location?: {
|
|
448
735
|
startLine: number;
|
|
@@ -451,12 +738,18 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
451
738
|
endCol: number;
|
|
452
739
|
} | undefined;
|
|
453
740
|
variableId?: number | undefined;
|
|
741
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
454
742
|
}[];
|
|
455
743
|
hasAwait: boolean;
|
|
456
744
|
hasActionCall: boolean;
|
|
457
|
-
|
|
458
|
-
|
|
745
|
+
bubbleName: BubbleName;
|
|
746
|
+
description?: string | undefined;
|
|
747
|
+
dependencies?: BubbleName[] | undefined;
|
|
459
748
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
749
|
+
invocationCallSiteKey?: string | undefined;
|
|
750
|
+
clonedFromVariableId?: number | undefined;
|
|
751
|
+
isInsideCustomTool?: boolean | undefined;
|
|
752
|
+
containingCustomToolId?: string | undefined;
|
|
460
753
|
}, {
|
|
461
754
|
location: {
|
|
462
755
|
startLine: number;
|
|
@@ -466,11 +759,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
466
759
|
};
|
|
467
760
|
variableId: number;
|
|
468
761
|
variableName: string;
|
|
469
|
-
|
|
762
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
470
763
|
className: string;
|
|
471
764
|
parameters: {
|
|
472
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
473
765
|
type: BubbleParameterType;
|
|
766
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
474
767
|
name: string;
|
|
475
768
|
location?: {
|
|
476
769
|
startLine: number;
|
|
@@ -479,12 +772,242 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
479
772
|
endCol: number;
|
|
480
773
|
} | undefined;
|
|
481
774
|
variableId?: number | undefined;
|
|
775
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
482
776
|
}[];
|
|
483
777
|
hasAwait: boolean;
|
|
484
778
|
hasActionCall: boolean;
|
|
485
|
-
|
|
486
|
-
|
|
779
|
+
bubbleName: BubbleName;
|
|
780
|
+
description?: string | undefined;
|
|
781
|
+
dependencies?: BubbleName[] | undefined;
|
|
487
782
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
783
|
+
invocationCallSiteKey?: string | undefined;
|
|
784
|
+
clonedFromVariableId?: number | undefined;
|
|
785
|
+
isInsideCustomTool?: boolean | undefined;
|
|
786
|
+
containingCustomToolId?: string | undefined;
|
|
787
|
+
}>>;
|
|
788
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
789
|
+
root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">;
|
|
790
|
+
bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
791
|
+
variableName: z.ZodString;
|
|
792
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
793
|
+
className: z.ZodString;
|
|
794
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
795
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
796
|
+
startLine: z.ZodNumber;
|
|
797
|
+
startCol: z.ZodNumber;
|
|
798
|
+
endLine: z.ZodNumber;
|
|
799
|
+
endCol: z.ZodNumber;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
startLine: number;
|
|
802
|
+
startCol: number;
|
|
803
|
+
endLine: number;
|
|
804
|
+
endCol: number;
|
|
805
|
+
}, {
|
|
806
|
+
startLine: number;
|
|
807
|
+
startCol: number;
|
|
808
|
+
endLine: number;
|
|
809
|
+
endCol: number;
|
|
810
|
+
}>>;
|
|
811
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
812
|
+
name: z.ZodString;
|
|
813
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
814
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
815
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
816
|
+
}, "strip", z.ZodTypeAny, {
|
|
817
|
+
type: BubbleParameterType;
|
|
818
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
819
|
+
name: string;
|
|
820
|
+
location?: {
|
|
821
|
+
startLine: number;
|
|
822
|
+
startCol: number;
|
|
823
|
+
endLine: number;
|
|
824
|
+
endCol: number;
|
|
825
|
+
} | undefined;
|
|
826
|
+
variableId?: number | undefined;
|
|
827
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
828
|
+
}, {
|
|
829
|
+
type: BubbleParameterType;
|
|
830
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
831
|
+
name: string;
|
|
832
|
+
location?: {
|
|
833
|
+
startLine: number;
|
|
834
|
+
startCol: number;
|
|
835
|
+
endLine: number;
|
|
836
|
+
endCol: number;
|
|
837
|
+
} | undefined;
|
|
838
|
+
variableId?: number | undefined;
|
|
839
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
840
|
+
}>, "many">;
|
|
841
|
+
hasAwait: z.ZodBoolean;
|
|
842
|
+
hasActionCall: z.ZodBoolean;
|
|
843
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
844
|
+
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
845
|
+
variableId: z.ZodNumber;
|
|
846
|
+
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
847
|
+
location: z.ZodObject<{
|
|
848
|
+
startLine: z.ZodNumber;
|
|
849
|
+
startCol: z.ZodNumber;
|
|
850
|
+
endLine: z.ZodNumber;
|
|
851
|
+
endCol: z.ZodNumber;
|
|
852
|
+
}, "strip", z.ZodTypeAny, {
|
|
853
|
+
startLine: number;
|
|
854
|
+
startCol: number;
|
|
855
|
+
endLine: number;
|
|
856
|
+
endCol: number;
|
|
857
|
+
}, {
|
|
858
|
+
startLine: number;
|
|
859
|
+
startCol: number;
|
|
860
|
+
endLine: number;
|
|
861
|
+
endCol: number;
|
|
862
|
+
}>;
|
|
863
|
+
description: z.ZodOptional<z.ZodString>;
|
|
864
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
865
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
866
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
867
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
location: {
|
|
870
|
+
startLine: number;
|
|
871
|
+
startCol: number;
|
|
872
|
+
endLine: number;
|
|
873
|
+
endCol: number;
|
|
874
|
+
};
|
|
875
|
+
variableId: number;
|
|
876
|
+
variableName: string;
|
|
877
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
878
|
+
className: string;
|
|
879
|
+
parameters: {
|
|
880
|
+
type: BubbleParameterType;
|
|
881
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
882
|
+
name: string;
|
|
883
|
+
location?: {
|
|
884
|
+
startLine: number;
|
|
885
|
+
startCol: number;
|
|
886
|
+
endLine: number;
|
|
887
|
+
endCol: number;
|
|
888
|
+
} | undefined;
|
|
889
|
+
variableId?: number | undefined;
|
|
890
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
891
|
+
}[];
|
|
892
|
+
hasAwait: boolean;
|
|
893
|
+
hasActionCall: boolean;
|
|
894
|
+
bubbleName: BubbleName;
|
|
895
|
+
description?: string | undefined;
|
|
896
|
+
dependencies?: BubbleName[] | undefined;
|
|
897
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
898
|
+
invocationCallSiteKey?: string | undefined;
|
|
899
|
+
clonedFromVariableId?: number | undefined;
|
|
900
|
+
isInsideCustomTool?: boolean | undefined;
|
|
901
|
+
containingCustomToolId?: string | undefined;
|
|
902
|
+
}, {
|
|
903
|
+
location: {
|
|
904
|
+
startLine: number;
|
|
905
|
+
startCol: number;
|
|
906
|
+
endLine: number;
|
|
907
|
+
endCol: number;
|
|
908
|
+
};
|
|
909
|
+
variableId: number;
|
|
910
|
+
variableName: string;
|
|
911
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
912
|
+
className: string;
|
|
913
|
+
parameters: {
|
|
914
|
+
type: BubbleParameterType;
|
|
915
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
916
|
+
name: string;
|
|
917
|
+
location?: {
|
|
918
|
+
startLine: number;
|
|
919
|
+
startCol: number;
|
|
920
|
+
endLine: number;
|
|
921
|
+
endCol: number;
|
|
922
|
+
} | undefined;
|
|
923
|
+
variableId?: number | undefined;
|
|
924
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
925
|
+
}[];
|
|
926
|
+
hasAwait: boolean;
|
|
927
|
+
hasActionCall: boolean;
|
|
928
|
+
bubbleName: BubbleName;
|
|
929
|
+
description?: string | undefined;
|
|
930
|
+
dependencies?: BubbleName[] | undefined;
|
|
931
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
932
|
+
invocationCallSiteKey?: string | undefined;
|
|
933
|
+
clonedFromVariableId?: number | undefined;
|
|
934
|
+
isInsideCustomTool?: boolean | undefined;
|
|
935
|
+
containingCustomToolId?: string | undefined;
|
|
936
|
+
}>>;
|
|
937
|
+
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
939
|
+
bubbles: Record<number, {
|
|
940
|
+
location: {
|
|
941
|
+
startLine: number;
|
|
942
|
+
startCol: number;
|
|
943
|
+
endLine: number;
|
|
944
|
+
endCol: number;
|
|
945
|
+
};
|
|
946
|
+
variableId: number;
|
|
947
|
+
variableName: string;
|
|
948
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
949
|
+
className: string;
|
|
950
|
+
parameters: {
|
|
951
|
+
type: BubbleParameterType;
|
|
952
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
953
|
+
name: string;
|
|
954
|
+
location?: {
|
|
955
|
+
startLine: number;
|
|
956
|
+
startCol: number;
|
|
957
|
+
endLine: number;
|
|
958
|
+
endCol: number;
|
|
959
|
+
} | undefined;
|
|
960
|
+
variableId?: number | undefined;
|
|
961
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
962
|
+
}[];
|
|
963
|
+
hasAwait: boolean;
|
|
964
|
+
hasActionCall: boolean;
|
|
965
|
+
bubbleName: BubbleName;
|
|
966
|
+
description?: string | undefined;
|
|
967
|
+
dependencies?: BubbleName[] | undefined;
|
|
968
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
969
|
+
invocationCallSiteKey?: string | undefined;
|
|
970
|
+
clonedFromVariableId?: number | undefined;
|
|
971
|
+
isInsideCustomTool?: boolean | undefined;
|
|
972
|
+
containingCustomToolId?: string | undefined;
|
|
973
|
+
}>;
|
|
974
|
+
}, {
|
|
975
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
976
|
+
bubbles: Record<number, {
|
|
977
|
+
location: {
|
|
978
|
+
startLine: number;
|
|
979
|
+
startCol: number;
|
|
980
|
+
endLine: number;
|
|
981
|
+
endCol: number;
|
|
982
|
+
};
|
|
983
|
+
variableId: number;
|
|
984
|
+
variableName: string;
|
|
985
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
986
|
+
className: string;
|
|
987
|
+
parameters: {
|
|
988
|
+
type: BubbleParameterType;
|
|
989
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
990
|
+
name: string;
|
|
991
|
+
location?: {
|
|
992
|
+
startLine: number;
|
|
993
|
+
startCol: number;
|
|
994
|
+
endLine: number;
|
|
995
|
+
endCol: number;
|
|
996
|
+
} | undefined;
|
|
997
|
+
variableId?: number | undefined;
|
|
998
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
999
|
+
}[];
|
|
1000
|
+
hasAwait: boolean;
|
|
1001
|
+
hasActionCall: boolean;
|
|
1002
|
+
bubbleName: BubbleName;
|
|
1003
|
+
description?: string | undefined;
|
|
1004
|
+
dependencies?: BubbleName[] | undefined;
|
|
1005
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1006
|
+
invocationCallSiteKey?: string | undefined;
|
|
1007
|
+
clonedFromVariableId?: number | undefined;
|
|
1008
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1009
|
+
containingCustomToolId?: string | undefined;
|
|
1010
|
+
}>;
|
|
488
1011
|
}>>;
|
|
489
1012
|
requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>;
|
|
490
1013
|
eventType: z.ZodString;
|
|
@@ -517,11 +1040,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
517
1040
|
};
|
|
518
1041
|
variableId: number;
|
|
519
1042
|
variableName: string;
|
|
520
|
-
|
|
1043
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
521
1044
|
className: string;
|
|
522
1045
|
parameters: {
|
|
523
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
524
1046
|
type: BubbleParameterType;
|
|
1047
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
525
1048
|
name: string;
|
|
526
1049
|
location?: {
|
|
527
1050
|
startLine: number;
|
|
@@ -530,13 +1053,57 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
530
1053
|
endCol: number;
|
|
531
1054
|
} | undefined;
|
|
532
1055
|
variableId?: number | undefined;
|
|
1056
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
533
1057
|
}[];
|
|
534
1058
|
hasAwait: boolean;
|
|
535
1059
|
hasActionCall: boolean;
|
|
536
|
-
|
|
537
|
-
|
|
1060
|
+
bubbleName: BubbleName;
|
|
1061
|
+
description?: string | undefined;
|
|
1062
|
+
dependencies?: BubbleName[] | undefined;
|
|
538
1063
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1064
|
+
invocationCallSiteKey?: string | undefined;
|
|
1065
|
+
clonedFromVariableId?: number | undefined;
|
|
1066
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1067
|
+
containingCustomToolId?: string | undefined;
|
|
539
1068
|
}>;
|
|
1069
|
+
workflow?: {
|
|
1070
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1071
|
+
bubbles: Record<number, {
|
|
1072
|
+
location: {
|
|
1073
|
+
startLine: number;
|
|
1074
|
+
startCol: number;
|
|
1075
|
+
endLine: number;
|
|
1076
|
+
endCol: number;
|
|
1077
|
+
};
|
|
1078
|
+
variableId: number;
|
|
1079
|
+
variableName: string;
|
|
1080
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1081
|
+
className: string;
|
|
1082
|
+
parameters: {
|
|
1083
|
+
type: BubbleParameterType;
|
|
1084
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1085
|
+
name: string;
|
|
1086
|
+
location?: {
|
|
1087
|
+
startLine: number;
|
|
1088
|
+
startCol: number;
|
|
1089
|
+
endLine: number;
|
|
1090
|
+
endCol: number;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
variableId?: number | undefined;
|
|
1093
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1094
|
+
}[];
|
|
1095
|
+
hasAwait: boolean;
|
|
1096
|
+
hasActionCall: boolean;
|
|
1097
|
+
bubbleName: BubbleName;
|
|
1098
|
+
description?: string | undefined;
|
|
1099
|
+
dependencies?: BubbleName[] | undefined;
|
|
1100
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1101
|
+
invocationCallSiteKey?: string | undefined;
|
|
1102
|
+
clonedFromVariableId?: number | undefined;
|
|
1103
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1104
|
+
containingCustomToolId?: string | undefined;
|
|
1105
|
+
}>;
|
|
1106
|
+
} | undefined;
|
|
540
1107
|
inputSchema?: Record<string, unknown> | undefined;
|
|
541
1108
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
542
1109
|
webhook?: {
|
|
@@ -558,11 +1125,11 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
558
1125
|
};
|
|
559
1126
|
variableId: number;
|
|
560
1127
|
variableName: string;
|
|
561
|
-
|
|
1128
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
562
1129
|
className: string;
|
|
563
1130
|
parameters: {
|
|
564
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
565
1131
|
type: BubbleParameterType;
|
|
1132
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
566
1133
|
name: string;
|
|
567
1134
|
location?: {
|
|
568
1135
|
startLine: number;
|
|
@@ -571,13 +1138,57 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
571
1138
|
endCol: number;
|
|
572
1139
|
} | undefined;
|
|
573
1140
|
variableId?: number | undefined;
|
|
1141
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
574
1142
|
}[];
|
|
575
1143
|
hasAwait: boolean;
|
|
576
1144
|
hasActionCall: boolean;
|
|
577
|
-
|
|
578
|
-
|
|
1145
|
+
bubbleName: BubbleName;
|
|
1146
|
+
description?: string | undefined;
|
|
1147
|
+
dependencies?: BubbleName[] | undefined;
|
|
579
1148
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1149
|
+
invocationCallSiteKey?: string | undefined;
|
|
1150
|
+
clonedFromVariableId?: number | undefined;
|
|
1151
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1152
|
+
containingCustomToolId?: string | undefined;
|
|
580
1153
|
}>;
|
|
1154
|
+
workflow?: {
|
|
1155
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1156
|
+
bubbles: Record<number, {
|
|
1157
|
+
location: {
|
|
1158
|
+
startLine: number;
|
|
1159
|
+
startCol: number;
|
|
1160
|
+
endLine: number;
|
|
1161
|
+
endCol: number;
|
|
1162
|
+
};
|
|
1163
|
+
variableId: number;
|
|
1164
|
+
variableName: string;
|
|
1165
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1166
|
+
className: string;
|
|
1167
|
+
parameters: {
|
|
1168
|
+
type: BubbleParameterType;
|
|
1169
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1170
|
+
name: string;
|
|
1171
|
+
location?: {
|
|
1172
|
+
startLine: number;
|
|
1173
|
+
startCol: number;
|
|
1174
|
+
endLine: number;
|
|
1175
|
+
endCol: number;
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
variableId?: number | undefined;
|
|
1178
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1179
|
+
}[];
|
|
1180
|
+
hasAwait: boolean;
|
|
1181
|
+
hasActionCall: boolean;
|
|
1182
|
+
bubbleName: BubbleName;
|
|
1183
|
+
description?: string | undefined;
|
|
1184
|
+
dependencies?: BubbleName[] | undefined;
|
|
1185
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1186
|
+
invocationCallSiteKey?: string | undefined;
|
|
1187
|
+
clonedFromVariableId?: number | undefined;
|
|
1188
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1189
|
+
containingCustomToolId?: string | undefined;
|
|
1190
|
+
}>;
|
|
1191
|
+
} | undefined;
|
|
581
1192
|
inputSchema?: Record<string, unknown> | undefined;
|
|
582
1193
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
583
1194
|
webhook?: {
|
|
@@ -587,6 +1198,44 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
587
1198
|
active: boolean;
|
|
588
1199
|
} | undefined;
|
|
589
1200
|
}>;
|
|
1201
|
+
export declare const createEmptyBubbleFlowResponseSchema: z.ZodObject<{
|
|
1202
|
+
id: z.ZodNumber;
|
|
1203
|
+
message: z.ZodString;
|
|
1204
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
1205
|
+
id: z.ZodNumber;
|
|
1206
|
+
url: z.ZodString;
|
|
1207
|
+
path: z.ZodString;
|
|
1208
|
+
active: z.ZodBoolean;
|
|
1209
|
+
}, "strip", z.ZodTypeAny, {
|
|
1210
|
+
path: string;
|
|
1211
|
+
url: string;
|
|
1212
|
+
id: number;
|
|
1213
|
+
active: boolean;
|
|
1214
|
+
}, {
|
|
1215
|
+
path: string;
|
|
1216
|
+
url: string;
|
|
1217
|
+
id: number;
|
|
1218
|
+
active: boolean;
|
|
1219
|
+
}>>;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
message: string;
|
|
1222
|
+
id: number;
|
|
1223
|
+
webhook?: {
|
|
1224
|
+
path: string;
|
|
1225
|
+
url: string;
|
|
1226
|
+
id: number;
|
|
1227
|
+
active: boolean;
|
|
1228
|
+
} | undefined;
|
|
1229
|
+
}, {
|
|
1230
|
+
message: string;
|
|
1231
|
+
id: number;
|
|
1232
|
+
webhook?: {
|
|
1233
|
+
path: string;
|
|
1234
|
+
url: string;
|
|
1235
|
+
id: number;
|
|
1236
|
+
active: boolean;
|
|
1237
|
+
} | undefined;
|
|
1238
|
+
}>;
|
|
590
1239
|
export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
591
1240
|
id: z.ZodNumber;
|
|
592
1241
|
name: z.ZodString;
|
|
@@ -594,6 +1243,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
594
1243
|
prompt: z.ZodOptional<z.ZodString>;
|
|
595
1244
|
eventType: z.ZodString;
|
|
596
1245
|
code: z.ZodString;
|
|
1246
|
+
generationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
1247
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
598
1248
|
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
1249
|
cronActive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -621,7 +1271,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
621
1271
|
hasActionCall: z.ZodBoolean;
|
|
622
1272
|
}, "strip", z.ZodTypeAny, {
|
|
623
1273
|
variableName: string;
|
|
624
|
-
bubbleName: string;
|
|
625
1274
|
className: string;
|
|
626
1275
|
parameters: {
|
|
627
1276
|
type: BubbleParameterType;
|
|
@@ -630,9 +1279,9 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
630
1279
|
}[];
|
|
631
1280
|
hasAwait: boolean;
|
|
632
1281
|
hasActionCall: boolean;
|
|
1282
|
+
bubbleName: string;
|
|
633
1283
|
}, {
|
|
634
1284
|
variableName: string;
|
|
635
|
-
bubbleName: string;
|
|
636
1285
|
className: string;
|
|
637
1286
|
parameters: {
|
|
638
1287
|
type: BubbleParameterType;
|
|
@@ -641,10 +1290,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
641
1290
|
}[];
|
|
642
1291
|
hasAwait: boolean;
|
|
643
1292
|
hasActionCall: boolean;
|
|
1293
|
+
bubbleName: string;
|
|
644
1294
|
}>>>;
|
|
645
1295
|
bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
646
1296
|
variableName: z.ZodString;
|
|
647
|
-
bubbleName: z.
|
|
1297
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
648
1298
|
className: z.ZodString;
|
|
649
1299
|
parameters: z.ZodArray<z.ZodObject<{
|
|
650
1300
|
location: z.ZodOptional<z.ZodObject<{
|
|
@@ -667,9 +1317,10 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
667
1317
|
name: z.ZodString;
|
|
668
1318
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
669
1319
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
1320
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
670
1321
|
}, "strip", z.ZodTypeAny, {
|
|
671
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
672
1322
|
type: BubbleParameterType;
|
|
1323
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
673
1324
|
name: string;
|
|
674
1325
|
location?: {
|
|
675
1326
|
startLine: number;
|
|
@@ -678,9 +1329,10 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
678
1329
|
endCol: number;
|
|
679
1330
|
} | undefined;
|
|
680
1331
|
variableId?: number | undefined;
|
|
1332
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
681
1333
|
}, {
|
|
682
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
683
1334
|
type: BubbleParameterType;
|
|
1335
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
684
1336
|
name: string;
|
|
685
1337
|
location?: {
|
|
686
1338
|
startLine: number;
|
|
@@ -689,10 +1341,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
689
1341
|
endCol: number;
|
|
690
1342
|
} | undefined;
|
|
691
1343
|
variableId?: number | undefined;
|
|
1344
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
692
1345
|
}>, "many">;
|
|
693
1346
|
hasAwait: z.ZodBoolean;
|
|
694
1347
|
hasActionCall: z.ZodBoolean;
|
|
695
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1348
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
696
1349
|
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
697
1350
|
variableId: z.ZodNumber;
|
|
698
1351
|
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
@@ -712,6 +1365,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
712
1365
|
endLine: number;
|
|
713
1366
|
endCol: number;
|
|
714
1367
|
}>;
|
|
1368
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
1372
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
715
1373
|
}, "strip", z.ZodTypeAny, {
|
|
716
1374
|
location: {
|
|
717
1375
|
startLine: number;
|
|
@@ -721,11 +1379,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
721
1379
|
};
|
|
722
1380
|
variableId: number;
|
|
723
1381
|
variableName: string;
|
|
724
|
-
|
|
1382
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
725
1383
|
className: string;
|
|
726
1384
|
parameters: {
|
|
727
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
728
1385
|
type: BubbleParameterType;
|
|
1386
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
729
1387
|
name: string;
|
|
730
1388
|
location?: {
|
|
731
1389
|
startLine: number;
|
|
@@ -734,12 +1392,18 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
734
1392
|
endCol: number;
|
|
735
1393
|
} | undefined;
|
|
736
1394
|
variableId?: number | undefined;
|
|
1395
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
737
1396
|
}[];
|
|
738
1397
|
hasAwait: boolean;
|
|
739
1398
|
hasActionCall: boolean;
|
|
740
|
-
|
|
741
|
-
|
|
1399
|
+
bubbleName: BubbleName;
|
|
1400
|
+
description?: string | undefined;
|
|
1401
|
+
dependencies?: BubbleName[] | undefined;
|
|
742
1402
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1403
|
+
invocationCallSiteKey?: string | undefined;
|
|
1404
|
+
clonedFromVariableId?: number | undefined;
|
|
1405
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1406
|
+
containingCustomToolId?: string | undefined;
|
|
743
1407
|
}, {
|
|
744
1408
|
location: {
|
|
745
1409
|
startLine: number;
|
|
@@ -749,11 +1413,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
749
1413
|
};
|
|
750
1414
|
variableId: number;
|
|
751
1415
|
variableName: string;
|
|
752
|
-
|
|
1416
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
753
1417
|
className: string;
|
|
754
1418
|
parameters: {
|
|
755
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
756
1419
|
type: BubbleParameterType;
|
|
1420
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
757
1421
|
name: string;
|
|
758
1422
|
location?: {
|
|
759
1423
|
startLine: number;
|
|
@@ -762,13 +1426,244 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
762
1426
|
endCol: number;
|
|
763
1427
|
} | undefined;
|
|
764
1428
|
variableId?: number | undefined;
|
|
1429
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
765
1430
|
}[];
|
|
766
1431
|
hasAwait: boolean;
|
|
767
1432
|
hasActionCall: boolean;
|
|
768
|
-
|
|
769
|
-
|
|
1433
|
+
bubbleName: BubbleName;
|
|
1434
|
+
description?: string | undefined;
|
|
1435
|
+
dependencies?: BubbleName[] | undefined;
|
|
770
1436
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1437
|
+
invocationCallSiteKey?: string | undefined;
|
|
1438
|
+
clonedFromVariableId?: number | undefined;
|
|
1439
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1440
|
+
containingCustomToolId?: string | undefined;
|
|
1441
|
+
}>>;
|
|
1442
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
1443
|
+
root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">;
|
|
1444
|
+
bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
1445
|
+
variableName: z.ZodString;
|
|
1446
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
1447
|
+
className: z.ZodString;
|
|
1448
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
1449
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
1450
|
+
startLine: z.ZodNumber;
|
|
1451
|
+
startCol: z.ZodNumber;
|
|
1452
|
+
endLine: z.ZodNumber;
|
|
1453
|
+
endCol: z.ZodNumber;
|
|
1454
|
+
}, "strip", z.ZodTypeAny, {
|
|
1455
|
+
startLine: number;
|
|
1456
|
+
startCol: number;
|
|
1457
|
+
endLine: number;
|
|
1458
|
+
endCol: number;
|
|
1459
|
+
}, {
|
|
1460
|
+
startLine: number;
|
|
1461
|
+
startCol: number;
|
|
1462
|
+
endLine: number;
|
|
1463
|
+
endCol: number;
|
|
1464
|
+
}>>;
|
|
1465
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
name: z.ZodString;
|
|
1467
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
1468
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
1469
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
1470
|
+
}, "strip", z.ZodTypeAny, {
|
|
1471
|
+
type: BubbleParameterType;
|
|
1472
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1473
|
+
name: string;
|
|
1474
|
+
location?: {
|
|
1475
|
+
startLine: number;
|
|
1476
|
+
startCol: number;
|
|
1477
|
+
endLine: number;
|
|
1478
|
+
endCol: number;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
variableId?: number | undefined;
|
|
1481
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1482
|
+
}, {
|
|
1483
|
+
type: BubbleParameterType;
|
|
1484
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1485
|
+
name: string;
|
|
1486
|
+
location?: {
|
|
1487
|
+
startLine: number;
|
|
1488
|
+
startCol: number;
|
|
1489
|
+
endLine: number;
|
|
1490
|
+
endCol: number;
|
|
1491
|
+
} | undefined;
|
|
1492
|
+
variableId?: number | undefined;
|
|
1493
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1494
|
+
}>, "many">;
|
|
1495
|
+
hasAwait: z.ZodBoolean;
|
|
1496
|
+
hasActionCall: z.ZodBoolean;
|
|
1497
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
1498
|
+
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
1499
|
+
variableId: z.ZodNumber;
|
|
1500
|
+
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
1501
|
+
location: z.ZodObject<{
|
|
1502
|
+
startLine: z.ZodNumber;
|
|
1503
|
+
startCol: z.ZodNumber;
|
|
1504
|
+
endLine: z.ZodNumber;
|
|
1505
|
+
endCol: z.ZodNumber;
|
|
1506
|
+
}, "strip", z.ZodTypeAny, {
|
|
1507
|
+
startLine: number;
|
|
1508
|
+
startCol: number;
|
|
1509
|
+
endLine: number;
|
|
1510
|
+
endCol: number;
|
|
1511
|
+
}, {
|
|
1512
|
+
startLine: number;
|
|
1513
|
+
startCol: number;
|
|
1514
|
+
endLine: number;
|
|
1515
|
+
endCol: number;
|
|
1516
|
+
}>;
|
|
1517
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
1520
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
1521
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
}, "strip", z.ZodTypeAny, {
|
|
1523
|
+
location: {
|
|
1524
|
+
startLine: number;
|
|
1525
|
+
startCol: number;
|
|
1526
|
+
endLine: number;
|
|
1527
|
+
endCol: number;
|
|
1528
|
+
};
|
|
1529
|
+
variableId: number;
|
|
1530
|
+
variableName: string;
|
|
1531
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1532
|
+
className: string;
|
|
1533
|
+
parameters: {
|
|
1534
|
+
type: BubbleParameterType;
|
|
1535
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1536
|
+
name: string;
|
|
1537
|
+
location?: {
|
|
1538
|
+
startLine: number;
|
|
1539
|
+
startCol: number;
|
|
1540
|
+
endLine: number;
|
|
1541
|
+
endCol: number;
|
|
1542
|
+
} | undefined;
|
|
1543
|
+
variableId?: number | undefined;
|
|
1544
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1545
|
+
}[];
|
|
1546
|
+
hasAwait: boolean;
|
|
1547
|
+
hasActionCall: boolean;
|
|
1548
|
+
bubbleName: BubbleName;
|
|
1549
|
+
description?: string | undefined;
|
|
1550
|
+
dependencies?: BubbleName[] | undefined;
|
|
1551
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1552
|
+
invocationCallSiteKey?: string | undefined;
|
|
1553
|
+
clonedFromVariableId?: number | undefined;
|
|
1554
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1555
|
+
containingCustomToolId?: string | undefined;
|
|
1556
|
+
}, {
|
|
1557
|
+
location: {
|
|
1558
|
+
startLine: number;
|
|
1559
|
+
startCol: number;
|
|
1560
|
+
endLine: number;
|
|
1561
|
+
endCol: number;
|
|
1562
|
+
};
|
|
1563
|
+
variableId: number;
|
|
1564
|
+
variableName: string;
|
|
1565
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1566
|
+
className: string;
|
|
1567
|
+
parameters: {
|
|
1568
|
+
type: BubbleParameterType;
|
|
1569
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1570
|
+
name: string;
|
|
1571
|
+
location?: {
|
|
1572
|
+
startLine: number;
|
|
1573
|
+
startCol: number;
|
|
1574
|
+
endLine: number;
|
|
1575
|
+
endCol: number;
|
|
1576
|
+
} | undefined;
|
|
1577
|
+
variableId?: number | undefined;
|
|
1578
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1579
|
+
}[];
|
|
1580
|
+
hasAwait: boolean;
|
|
1581
|
+
hasActionCall: boolean;
|
|
1582
|
+
bubbleName: BubbleName;
|
|
1583
|
+
description?: string | undefined;
|
|
1584
|
+
dependencies?: BubbleName[] | undefined;
|
|
1585
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1586
|
+
invocationCallSiteKey?: string | undefined;
|
|
1587
|
+
clonedFromVariableId?: number | undefined;
|
|
1588
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1589
|
+
containingCustomToolId?: string | undefined;
|
|
1590
|
+
}>>;
|
|
1591
|
+
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1593
|
+
bubbles: Record<number, {
|
|
1594
|
+
location: {
|
|
1595
|
+
startLine: number;
|
|
1596
|
+
startCol: number;
|
|
1597
|
+
endLine: number;
|
|
1598
|
+
endCol: number;
|
|
1599
|
+
};
|
|
1600
|
+
variableId: number;
|
|
1601
|
+
variableName: string;
|
|
1602
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1603
|
+
className: string;
|
|
1604
|
+
parameters: {
|
|
1605
|
+
type: BubbleParameterType;
|
|
1606
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1607
|
+
name: string;
|
|
1608
|
+
location?: {
|
|
1609
|
+
startLine: number;
|
|
1610
|
+
startCol: number;
|
|
1611
|
+
endLine: number;
|
|
1612
|
+
endCol: number;
|
|
1613
|
+
} | undefined;
|
|
1614
|
+
variableId?: number | undefined;
|
|
1615
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1616
|
+
}[];
|
|
1617
|
+
hasAwait: boolean;
|
|
1618
|
+
hasActionCall: boolean;
|
|
1619
|
+
bubbleName: BubbleName;
|
|
1620
|
+
description?: string | undefined;
|
|
1621
|
+
dependencies?: BubbleName[] | undefined;
|
|
1622
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1623
|
+
invocationCallSiteKey?: string | undefined;
|
|
1624
|
+
clonedFromVariableId?: number | undefined;
|
|
1625
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1626
|
+
containingCustomToolId?: string | undefined;
|
|
1627
|
+
}>;
|
|
1628
|
+
}, {
|
|
1629
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1630
|
+
bubbles: Record<number, {
|
|
1631
|
+
location: {
|
|
1632
|
+
startLine: number;
|
|
1633
|
+
startCol: number;
|
|
1634
|
+
endLine: number;
|
|
1635
|
+
endCol: number;
|
|
1636
|
+
};
|
|
1637
|
+
variableId: number;
|
|
1638
|
+
variableName: string;
|
|
1639
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1640
|
+
className: string;
|
|
1641
|
+
parameters: {
|
|
1642
|
+
type: BubbleParameterType;
|
|
1643
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1644
|
+
name: string;
|
|
1645
|
+
location?: {
|
|
1646
|
+
startLine: number;
|
|
1647
|
+
startCol: number;
|
|
1648
|
+
endLine: number;
|
|
1649
|
+
endCol: number;
|
|
1650
|
+
} | undefined;
|
|
1651
|
+
variableId?: number | undefined;
|
|
1652
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1653
|
+
}[];
|
|
1654
|
+
hasAwait: boolean;
|
|
1655
|
+
hasActionCall: boolean;
|
|
1656
|
+
bubbleName: BubbleName;
|
|
1657
|
+
description?: string | undefined;
|
|
1658
|
+
dependencies?: BubbleName[] | undefined;
|
|
1659
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1660
|
+
invocationCallSiteKey?: string | undefined;
|
|
1661
|
+
clonedFromVariableId?: number | undefined;
|
|
1662
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1663
|
+
containingCustomToolId?: string | undefined;
|
|
1664
|
+
}>;
|
|
771
1665
|
}>>;
|
|
1666
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
772
1667
|
createdAt: z.ZodString;
|
|
773
1668
|
updatedAt: z.ZodString;
|
|
774
1669
|
webhook_url: z.ZodString;
|
|
@@ -790,11 +1685,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
790
1685
|
};
|
|
791
1686
|
variableId: number;
|
|
792
1687
|
variableName: string;
|
|
793
|
-
|
|
1688
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
794
1689
|
className: string;
|
|
795
1690
|
parameters: {
|
|
796
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
797
1691
|
type: BubbleParameterType;
|
|
1692
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
798
1693
|
name: string;
|
|
799
1694
|
location?: {
|
|
800
1695
|
startLine: number;
|
|
@@ -803,23 +1698,68 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
803
1698
|
endCol: number;
|
|
804
1699
|
} | undefined;
|
|
805
1700
|
variableId?: number | undefined;
|
|
1701
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
806
1702
|
}[];
|
|
807
1703
|
hasAwait: boolean;
|
|
808
1704
|
hasActionCall: boolean;
|
|
809
|
-
|
|
810
|
-
|
|
1705
|
+
bubbleName: BubbleName;
|
|
1706
|
+
description?: string | undefined;
|
|
1707
|
+
dependencies?: BubbleName[] | undefined;
|
|
811
1708
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1709
|
+
invocationCallSiteKey?: string | undefined;
|
|
1710
|
+
clonedFromVariableId?: number | undefined;
|
|
1711
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1712
|
+
containingCustomToolId?: string | undefined;
|
|
812
1713
|
}>;
|
|
813
1714
|
isActive: boolean;
|
|
814
1715
|
description?: string | undefined;
|
|
1716
|
+
metadata?: Record<string, unknown> | undefined;
|
|
815
1717
|
prompt?: string | undefined;
|
|
1718
|
+
workflow?: {
|
|
1719
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1720
|
+
bubbles: Record<number, {
|
|
1721
|
+
location: {
|
|
1722
|
+
startLine: number;
|
|
1723
|
+
startCol: number;
|
|
1724
|
+
endLine: number;
|
|
1725
|
+
endCol: number;
|
|
1726
|
+
};
|
|
1727
|
+
variableId: number;
|
|
1728
|
+
variableName: string;
|
|
1729
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1730
|
+
className: string;
|
|
1731
|
+
parameters: {
|
|
1732
|
+
type: BubbleParameterType;
|
|
1733
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1734
|
+
name: string;
|
|
1735
|
+
location?: {
|
|
1736
|
+
startLine: number;
|
|
1737
|
+
startCol: number;
|
|
1738
|
+
endLine: number;
|
|
1739
|
+
endCol: number;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
variableId?: number | undefined;
|
|
1742
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1743
|
+
}[];
|
|
1744
|
+
hasAwait: boolean;
|
|
1745
|
+
hasActionCall: boolean;
|
|
1746
|
+
bubbleName: BubbleName;
|
|
1747
|
+
description?: string | undefined;
|
|
1748
|
+
dependencies?: BubbleName[] | undefined;
|
|
1749
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1750
|
+
invocationCallSiteKey?: string | undefined;
|
|
1751
|
+
clonedFromVariableId?: number | undefined;
|
|
1752
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1753
|
+
containingCustomToolId?: string | undefined;
|
|
1754
|
+
}>;
|
|
1755
|
+
} | undefined;
|
|
816
1756
|
defaultInputs?: Record<string, unknown> | undefined;
|
|
817
1757
|
inputSchema?: Record<string, unknown> | undefined;
|
|
818
1758
|
cron?: string | null | undefined;
|
|
819
1759
|
cronActive?: boolean | undefined;
|
|
1760
|
+
generationError?: string | null | undefined;
|
|
820
1761
|
displayedBubbleParameters?: Record<string, {
|
|
821
1762
|
variableName: string;
|
|
822
|
-
bubbleName: string;
|
|
823
1763
|
className: string;
|
|
824
1764
|
parameters: {
|
|
825
1765
|
type: BubbleParameterType;
|
|
@@ -828,6 +1768,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
828
1768
|
}[];
|
|
829
1769
|
hasAwait: boolean;
|
|
830
1770
|
hasActionCall: boolean;
|
|
1771
|
+
bubbleName: string;
|
|
831
1772
|
}> | undefined;
|
|
832
1773
|
}, {
|
|
833
1774
|
code: string;
|
|
@@ -847,11 +1788,11 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
847
1788
|
};
|
|
848
1789
|
variableId: number;
|
|
849
1790
|
variableName: string;
|
|
850
|
-
|
|
1791
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
851
1792
|
className: string;
|
|
852
1793
|
parameters: {
|
|
853
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
854
1794
|
type: BubbleParameterType;
|
|
1795
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
855
1796
|
name: string;
|
|
856
1797
|
location?: {
|
|
857
1798
|
startLine: number;
|
|
@@ -860,23 +1801,68 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
860
1801
|
endCol: number;
|
|
861
1802
|
} | undefined;
|
|
862
1803
|
variableId?: number | undefined;
|
|
1804
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
863
1805
|
}[];
|
|
864
1806
|
hasAwait: boolean;
|
|
865
1807
|
hasActionCall: boolean;
|
|
866
|
-
|
|
867
|
-
|
|
1808
|
+
bubbleName: BubbleName;
|
|
1809
|
+
description?: string | undefined;
|
|
1810
|
+
dependencies?: BubbleName[] | undefined;
|
|
868
1811
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1812
|
+
invocationCallSiteKey?: string | undefined;
|
|
1813
|
+
clonedFromVariableId?: number | undefined;
|
|
1814
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1815
|
+
containingCustomToolId?: string | undefined;
|
|
869
1816
|
}>;
|
|
870
1817
|
isActive: boolean;
|
|
871
1818
|
description?: string | undefined;
|
|
1819
|
+
metadata?: Record<string, unknown> | undefined;
|
|
872
1820
|
prompt?: string | undefined;
|
|
1821
|
+
workflow?: {
|
|
1822
|
+
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
1823
|
+
bubbles: Record<number, {
|
|
1824
|
+
location: {
|
|
1825
|
+
startLine: number;
|
|
1826
|
+
startCol: number;
|
|
1827
|
+
endLine: number;
|
|
1828
|
+
endCol: number;
|
|
1829
|
+
};
|
|
1830
|
+
variableId: number;
|
|
1831
|
+
variableName: string;
|
|
1832
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1833
|
+
className: string;
|
|
1834
|
+
parameters: {
|
|
1835
|
+
type: BubbleParameterType;
|
|
1836
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1837
|
+
name: string;
|
|
1838
|
+
location?: {
|
|
1839
|
+
startLine: number;
|
|
1840
|
+
startCol: number;
|
|
1841
|
+
endLine: number;
|
|
1842
|
+
endCol: number;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
variableId?: number | undefined;
|
|
1845
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
1846
|
+
}[];
|
|
1847
|
+
hasAwait: boolean;
|
|
1848
|
+
hasActionCall: boolean;
|
|
1849
|
+
bubbleName: BubbleName;
|
|
1850
|
+
description?: string | undefined;
|
|
1851
|
+
dependencies?: BubbleName[] | undefined;
|
|
1852
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
1853
|
+
invocationCallSiteKey?: string | undefined;
|
|
1854
|
+
clonedFromVariableId?: number | undefined;
|
|
1855
|
+
isInsideCustomTool?: boolean | undefined;
|
|
1856
|
+
containingCustomToolId?: string | undefined;
|
|
1857
|
+
}>;
|
|
1858
|
+
} | undefined;
|
|
873
1859
|
defaultInputs?: Record<string, unknown> | undefined;
|
|
874
1860
|
inputSchema?: Record<string, unknown> | undefined;
|
|
875
1861
|
cron?: string | null | undefined;
|
|
876
1862
|
cronActive?: boolean | undefined;
|
|
1863
|
+
generationError?: string | null | undefined;
|
|
877
1864
|
displayedBubbleParameters?: Record<string, {
|
|
878
1865
|
variableName: string;
|
|
879
|
-
bubbleName: string;
|
|
880
1866
|
className: string;
|
|
881
1867
|
parameters: {
|
|
882
1868
|
type: BubbleParameterType;
|
|
@@ -885,6 +1871,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
885
1871
|
}[];
|
|
886
1872
|
hasAwait: boolean;
|
|
887
1873
|
hasActionCall: boolean;
|
|
1874
|
+
bubbleName: string;
|
|
888
1875
|
}> | undefined;
|
|
889
1876
|
}>;
|
|
890
1877
|
export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
@@ -899,14 +1886,14 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
899
1886
|
webhookFailureCount: z.ZodNumber;
|
|
900
1887
|
executionCount: z.ZodNumber;
|
|
901
1888
|
bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
902
|
-
bubbleName: z.
|
|
1889
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
903
1890
|
className: z.ZodString;
|
|
904
1891
|
}, "strip", z.ZodTypeAny, {
|
|
905
|
-
bubbleName: string;
|
|
906
1892
|
className: string;
|
|
1893
|
+
bubbleName: BubbleName;
|
|
907
1894
|
}, {
|
|
908
|
-
bubbleName: string;
|
|
909
1895
|
className: string;
|
|
1896
|
+
bubbleName: BubbleName;
|
|
910
1897
|
}>, "many">>;
|
|
911
1898
|
createdAt: z.ZodString;
|
|
912
1899
|
updatedAt: z.ZodString;
|
|
@@ -923,8 +1910,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
923
1910
|
executionCount: number;
|
|
924
1911
|
description?: string | undefined;
|
|
925
1912
|
bubbles?: {
|
|
926
|
-
bubbleName: string;
|
|
927
1913
|
className: string;
|
|
1914
|
+
bubbleName: BubbleName;
|
|
928
1915
|
}[] | undefined;
|
|
929
1916
|
cronSchedule?: string | undefined;
|
|
930
1917
|
}, {
|
|
@@ -940,8 +1927,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
940
1927
|
executionCount: number;
|
|
941
1928
|
description?: string | undefined;
|
|
942
1929
|
bubbles?: {
|
|
943
|
-
bubbleName: string;
|
|
944
1930
|
className: string;
|
|
1931
|
+
bubbleName: BubbleName;
|
|
945
1932
|
}[] | undefined;
|
|
946
1933
|
cronSchedule?: string | undefined;
|
|
947
1934
|
}>;
|
|
@@ -958,14 +1945,14 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
958
1945
|
webhookFailureCount: z.ZodNumber;
|
|
959
1946
|
executionCount: z.ZodNumber;
|
|
960
1947
|
bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
961
|
-
bubbleName: z.
|
|
1948
|
+
bubbleName: z.ZodType<BubbleName>;
|
|
962
1949
|
className: z.ZodString;
|
|
963
1950
|
}, "strip", z.ZodTypeAny, {
|
|
964
|
-
bubbleName: string;
|
|
965
1951
|
className: string;
|
|
1952
|
+
bubbleName: BubbleName;
|
|
966
1953
|
}, {
|
|
967
|
-
bubbleName: string;
|
|
968
1954
|
className: string;
|
|
1955
|
+
bubbleName: BubbleName;
|
|
969
1956
|
}>, "many">>;
|
|
970
1957
|
createdAt: z.ZodString;
|
|
971
1958
|
updatedAt: z.ZodString;
|
|
@@ -982,8 +1969,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
982
1969
|
executionCount: number;
|
|
983
1970
|
description?: string | undefined;
|
|
984
1971
|
bubbles?: {
|
|
985
|
-
bubbleName: string;
|
|
986
1972
|
className: string;
|
|
1973
|
+
bubbleName: BubbleName;
|
|
987
1974
|
}[] | undefined;
|
|
988
1975
|
cronSchedule?: string | undefined;
|
|
989
1976
|
}, {
|
|
@@ -999,8 +1986,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
999
1986
|
executionCount: number;
|
|
1000
1987
|
description?: string | undefined;
|
|
1001
1988
|
bubbles?: {
|
|
1002
|
-
bubbleName: string;
|
|
1003
1989
|
className: string;
|
|
1990
|
+
bubbleName: BubbleName;
|
|
1004
1991
|
}[] | undefined;
|
|
1005
1992
|
cronSchedule?: string | undefined;
|
|
1006
1993
|
}>, "many">>;
|
|
@@ -1025,8 +2012,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1025
2012
|
executionCount: number;
|
|
1026
2013
|
description?: string | undefined;
|
|
1027
2014
|
bubbles?: {
|
|
1028
|
-
bubbleName: string;
|
|
1029
2015
|
className: string;
|
|
2016
|
+
bubbleName: BubbleName;
|
|
1030
2017
|
}[] | undefined;
|
|
1031
2018
|
cronSchedule?: string | undefined;
|
|
1032
2019
|
}[];
|
|
@@ -1050,8 +2037,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1050
2037
|
executionCount: number;
|
|
1051
2038
|
description?: string | undefined;
|
|
1052
2039
|
bubbles?: {
|
|
1053
|
-
bubbleName: string;
|
|
1054
2040
|
className: string;
|
|
2041
|
+
bubbleName: BubbleName;
|
|
1055
2042
|
}[] | undefined;
|
|
1056
2043
|
cronSchedule?: string | undefined;
|
|
1057
2044
|
}[] | undefined;
|
|
@@ -1072,6 +2059,8 @@ export declare const activateBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
1072
2059
|
export type ActivateBubbleFlowResponse = z.infer<typeof activateBubbleFlowResponseSchema>;
|
|
1073
2060
|
export type CreateBubbleFlowResponse = z.infer<typeof createBubbleFlowResponseSchema>;
|
|
1074
2061
|
export type CreateBubbleFlowRequest = z.infer<typeof createBubbleFlowSchema>;
|
|
2062
|
+
export type CreateEmptyBubbleFlowRequest = z.infer<typeof createEmptyBubbleFlowSchema>;
|
|
2063
|
+
export type CreateEmptyBubbleFlowResponse = z.infer<typeof createEmptyBubbleFlowResponseSchema>;
|
|
1075
2064
|
export type ExecuteBubbleFlowRequest = z.infer<typeof executeBubbleFlowSchema>;
|
|
1076
2065
|
export type UpdateBubbleFlowParametersRequest = z.infer<typeof updateBubbleFlowParametersSchema>;
|
|
1077
2066
|
export type UpdateBubbleFlowParametersResponse = z.infer<typeof updateBubbleFlowParametersSchema>;
|