@bubblelab/shared-schemas 0.1.12 → 0.1.14
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 +4 -4
- package/dist/bubble-definition-schema.d.ts +38 -38
- package/dist/bubbleflow-execution-schema.d.ts +70 -70
- package/dist/bubbleflow-schema.d.ts +162 -162
- package/dist/coffee.d.ts +144 -144
- package/dist/credential-schema.d.ts +50 -50
- package/dist/credential-schema.d.ts.map +1 -1
- package/dist/database-definition-schema.d.ts +8 -8
- package/dist/generate-bubbleflow-schema.d.ts +129 -129
- package/dist/index.js +3553 -30
- package/dist/index.js.map +1 -1
- package/dist/milk-tea.d.ts +12 -12
- package/dist/oauth-schema.d.ts +2 -2
- package/dist/pearl.d.ts +32 -32
- package/dist/rice.d.ts +17 -17
- package/dist/trigger.d.ts +59 -0
- package/dist/trigger.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/agent-memory.js +0 -11
- package/dist/agent-memory.js.map +0 -1
- package/dist/ai-models.js +0 -31
- package/dist/ai-models.js.map +0 -1
- package/dist/api-schema.js +0 -26
- package/dist/api-schema.js.map +0 -1
- package/dist/bubble-definition-schema.js +0 -299
- package/dist/bubble-definition-schema.js.map +0 -1
- package/dist/bubbleflow-execution-schema.js +0 -360
- package/dist/bubbleflow-execution-schema.js.map +0 -1
- package/dist/bubbleflow-generation-prompts.js +0 -17
- package/dist/bubbleflow-generation-prompts.js.map +0 -1
- package/dist/bubbleflow-schema.js +0 -336
- package/dist/bubbleflow-schema.js.map +0 -1
- package/dist/coffee.js +0 -257
- package/dist/coffee.js.map +0 -1
- package/dist/credential-schema.js +0 -829
- package/dist/credential-schema.js.map +0 -1
- package/dist/cron-utils.js +0 -228
- package/dist/cron-utils.js.map +0 -1
- package/dist/database-definition-schema.js +0 -36
- package/dist/database-definition-schema.js.map +0 -1
- package/dist/error-enhancer.js +0 -88
- package/dist/error-enhancer.js.map +0 -1
- package/dist/generate-bubbleflow-schema.js +0 -304
- package/dist/generate-bubbleflow-schema.js.map +0 -1
- package/dist/hash-utils.js +0 -37
- package/dist/hash-utils.js.map +0 -1
- package/dist/milk-tea.js +0 -71
- package/dist/milk-tea.js.map +0 -1
- package/dist/mock-data-generator.js +0 -335
- package/dist/mock-data-generator.js.map +0 -1
- package/dist/oauth-schema.js +0 -75
- package/dist/oauth-schema.js.map +0 -1
- package/dist/param-utils.js +0 -13
- package/dist/param-utils.js.map +0 -1
- package/dist/pearl.js +0 -90
- package/dist/pearl.js.map +0 -1
- package/dist/rice.js +0 -65
- package/dist/rice.js.map +0 -1
- package/dist/storage-utils.js +0 -54
- package/dist/storage-utils.js.map +0 -1
- package/dist/streaming-events.js +0 -5
- package/dist/streaming-events.js.map +0 -1
- package/dist/subscription-status-schema.js +0 -144
- package/dist/subscription-status-schema.js.map +0 -1
- package/dist/trigger.js +0 -12
- package/dist/trigger.js.map +0 -1
- package/dist/types.js +0 -47
- package/dist/types.js.map +0 -1
- package/dist/waitlist-schema.js +0 -39
- package/dist/waitlist-schema.js.map +0 -1
- package/dist/webhook-schema.js +0 -50
- package/dist/webhook-schema.js.map +0 -1
package/dist/agent-memory.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
7
7
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
content: string;
|
|
11
10
|
role: "user" | "assistant" | "tool";
|
|
12
|
-
|
|
11
|
+
content: string;
|
|
13
12
|
toolCallId?: string | undefined;
|
|
13
|
+
name?: string | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
content: string;
|
|
16
15
|
role: "user" | "assistant" | "tool";
|
|
17
|
-
|
|
16
|
+
content: string;
|
|
18
17
|
toolCallId?: string | undefined;
|
|
18
|
+
name?: string | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
export type ConversationMessage = z.infer<typeof ConversationMessageSchema>;
|
|
21
21
|
//# sourceMappingURL=agent-memory.d.ts.map
|
|
@@ -56,9 +56,9 @@ export declare const BubbleParameterSchema: z.ZodObject<{
|
|
|
56
56
|
*/
|
|
57
57
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
type: BubbleParameterType;
|
|
60
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
61
59
|
name: string;
|
|
60
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
61
|
+
type: BubbleParameterType;
|
|
62
62
|
location?: {
|
|
63
63
|
startLine: number;
|
|
64
64
|
startCol: number;
|
|
@@ -68,9 +68,9 @@ export declare const BubbleParameterSchema: z.ZodObject<{
|
|
|
68
68
|
variableId?: number | undefined;
|
|
69
69
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
type: BubbleParameterType;
|
|
72
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
73
71
|
name: string;
|
|
72
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
73
|
+
type: BubbleParameterType;
|
|
74
74
|
location?: {
|
|
75
75
|
startLine: number;
|
|
76
76
|
startCol: number;
|
|
@@ -168,9 +168,9 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
168
168
|
*/
|
|
169
169
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
type: BubbleParameterType;
|
|
172
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
173
171
|
name: string;
|
|
172
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
173
|
+
type: BubbleParameterType;
|
|
174
174
|
location?: {
|
|
175
175
|
startLine: number;
|
|
176
176
|
startCol: number;
|
|
@@ -180,9 +180,9 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
180
180
|
variableId?: number | undefined;
|
|
181
181
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
182
182
|
}, {
|
|
183
|
-
type: BubbleParameterType;
|
|
184
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
185
183
|
name: string;
|
|
184
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
185
|
+
type: BubbleParameterType;
|
|
186
186
|
location?: {
|
|
187
187
|
startLine: number;
|
|
188
188
|
startCol: number;
|
|
@@ -200,9 +200,9 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
200
200
|
variableName: string;
|
|
201
201
|
className: string;
|
|
202
202
|
parameters: {
|
|
203
|
-
type: BubbleParameterType;
|
|
204
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
205
203
|
name: string;
|
|
204
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
205
|
+
type: BubbleParameterType;
|
|
206
206
|
location?: {
|
|
207
207
|
startLine: number;
|
|
208
208
|
startCol: number;
|
|
@@ -221,9 +221,9 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
221
221
|
variableName: string;
|
|
222
222
|
className: string;
|
|
223
223
|
parameters: {
|
|
224
|
-
type: BubbleParameterType;
|
|
225
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
226
224
|
name: string;
|
|
225
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
226
|
+
type: BubbleParameterType;
|
|
227
227
|
location?: {
|
|
228
228
|
startLine: number;
|
|
229
229
|
startCol: number;
|
|
@@ -295,9 +295,9 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
295
295
|
*/
|
|
296
296
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
type: BubbleParameterType;
|
|
299
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
300
298
|
name: string;
|
|
299
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
300
|
+
type: BubbleParameterType;
|
|
301
301
|
location?: {
|
|
302
302
|
startLine: number;
|
|
303
303
|
startCol: number;
|
|
@@ -307,9 +307,9 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
307
307
|
variableId?: number | undefined;
|
|
308
308
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
type: BubbleParameterType;
|
|
311
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
312
310
|
name: string;
|
|
311
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
312
|
+
type: BubbleParameterType;
|
|
313
313
|
location?: {
|
|
314
314
|
startLine: number;
|
|
315
315
|
startCol: number;
|
|
@@ -355,12 +355,12 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
355
355
|
};
|
|
356
356
|
variableId: number;
|
|
357
357
|
variableName: string;
|
|
358
|
-
nodeType: "
|
|
358
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
359
359
|
className: string;
|
|
360
360
|
parameters: {
|
|
361
|
-
type: BubbleParameterType;
|
|
362
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
363
361
|
name: string;
|
|
362
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
363
|
+
type: BubbleParameterType;
|
|
364
364
|
location?: {
|
|
365
365
|
startLine: number;
|
|
366
366
|
startCol: number;
|
|
@@ -389,12 +389,12 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
389
389
|
};
|
|
390
390
|
variableId: number;
|
|
391
391
|
variableName: string;
|
|
392
|
-
nodeType: "
|
|
392
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
393
393
|
className: string;
|
|
394
394
|
parameters: {
|
|
395
|
-
type: BubbleParameterType;
|
|
396
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
397
395
|
name: string;
|
|
396
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
397
|
+
type: BubbleParameterType;
|
|
398
398
|
location?: {
|
|
399
399
|
startLine: number;
|
|
400
400
|
startCol: number;
|
|
@@ -642,9 +642,9 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
642
642
|
*/
|
|
643
643
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
644
644
|
}, "strip", z.ZodTypeAny, {
|
|
645
|
-
type: BubbleParameterType;
|
|
646
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
647
645
|
name: string;
|
|
646
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
647
|
+
type: BubbleParameterType;
|
|
648
648
|
location?: {
|
|
649
649
|
startLine: number;
|
|
650
650
|
startCol: number;
|
|
@@ -654,9 +654,9 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
654
654
|
variableId?: number | undefined;
|
|
655
655
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
656
656
|
}, {
|
|
657
|
-
type: BubbleParameterType;
|
|
658
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
659
657
|
name: string;
|
|
658
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
659
|
+
type: BubbleParameterType;
|
|
660
660
|
location?: {
|
|
661
661
|
startLine: number;
|
|
662
662
|
startCol: number;
|
|
@@ -702,12 +702,12 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
702
702
|
};
|
|
703
703
|
variableId: number;
|
|
704
704
|
variableName: string;
|
|
705
|
-
nodeType: "
|
|
705
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
706
706
|
className: string;
|
|
707
707
|
parameters: {
|
|
708
|
-
type: BubbleParameterType;
|
|
709
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
710
708
|
name: string;
|
|
709
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
710
|
+
type: BubbleParameterType;
|
|
711
711
|
location?: {
|
|
712
712
|
startLine: number;
|
|
713
713
|
startCol: number;
|
|
@@ -736,12 +736,12 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
736
736
|
};
|
|
737
737
|
variableId: number;
|
|
738
738
|
variableName: string;
|
|
739
|
-
nodeType: "
|
|
739
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
740
740
|
className: string;
|
|
741
741
|
parameters: {
|
|
742
|
-
type: BubbleParameterType;
|
|
743
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
744
742
|
name: string;
|
|
743
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
744
|
+
type: BubbleParameterType;
|
|
745
745
|
location?: {
|
|
746
746
|
startLine: number;
|
|
747
747
|
startCol: number;
|
|
@@ -773,12 +773,12 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
773
773
|
};
|
|
774
774
|
variableId: number;
|
|
775
775
|
variableName: string;
|
|
776
|
-
nodeType: "
|
|
776
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
777
777
|
className: string;
|
|
778
778
|
parameters: {
|
|
779
|
-
type: BubbleParameterType;
|
|
780
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
781
779
|
name: string;
|
|
780
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
781
|
+
type: BubbleParameterType;
|
|
782
782
|
location?: {
|
|
783
783
|
startLine: number;
|
|
784
784
|
startCol: number;
|
|
@@ -810,12 +810,12 @@ export declare const ParsedWorkflowSchema: z.ZodObject<{
|
|
|
810
810
|
};
|
|
811
811
|
variableId: number;
|
|
812
812
|
variableName: string;
|
|
813
|
-
nodeType: "
|
|
813
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
814
814
|
className: string;
|
|
815
815
|
parameters: {
|
|
816
|
-
type: BubbleParameterType;
|
|
817
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
818
816
|
name: string;
|
|
817
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
818
|
+
type: BubbleParameterType;
|
|
819
819
|
location?: {
|
|
820
820
|
startLine: number;
|
|
821
821
|
startCol: number;
|
|
@@ -82,12 +82,12 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
82
82
|
message: z.ZodString;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
message: string;
|
|
85
|
-
duration: number;
|
|
86
85
|
lineNumber: number;
|
|
86
|
+
duration: number;
|
|
87
87
|
}, {
|
|
88
88
|
message: string;
|
|
89
|
-
duration: number;
|
|
90
89
|
lineNumber: number;
|
|
90
|
+
duration: number;
|
|
91
91
|
}>, "many">>;
|
|
92
92
|
memoryPeakUsage: z.ZodOptional<z.ZodAny>;
|
|
93
93
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
@@ -163,8 +163,8 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
163
163
|
averageLineExecutionTime?: number | undefined;
|
|
164
164
|
slowestLines?: {
|
|
165
165
|
message: string;
|
|
166
|
-
duration: number;
|
|
167
166
|
lineNumber: number;
|
|
167
|
+
duration: number;
|
|
168
168
|
}[] | undefined;
|
|
169
169
|
memoryPeakUsage?: any;
|
|
170
170
|
startTime?: number | undefined;
|
|
@@ -212,8 +212,8 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
212
212
|
averageLineExecutionTime?: number | undefined;
|
|
213
213
|
slowestLines?: {
|
|
214
214
|
message: string;
|
|
215
|
-
duration: number;
|
|
216
215
|
lineNumber: number;
|
|
216
|
+
duration: number;
|
|
217
217
|
}[] | undefined;
|
|
218
218
|
memoryPeakUsage?: any;
|
|
219
219
|
startTime?: number | undefined;
|
|
@@ -247,24 +247,24 @@ export declare const bubbleFlowExecutionSchema: z.ZodObject<{
|
|
|
247
247
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
248
248
|
code: z.ZodOptional<z.ZodString>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
status: "
|
|
250
|
+
status: "error" | "running" | "success";
|
|
251
251
|
id: number;
|
|
252
252
|
payload: Record<string, any>;
|
|
253
253
|
startedAt: string;
|
|
254
254
|
webhook_url: string;
|
|
255
255
|
code?: string | undefined;
|
|
256
|
-
result?: any;
|
|
257
256
|
error?: string | undefined;
|
|
257
|
+
result?: any;
|
|
258
258
|
completedAt?: string | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
status: "
|
|
260
|
+
status: "error" | "running" | "success";
|
|
261
261
|
id: number;
|
|
262
262
|
payload: Record<string, any>;
|
|
263
263
|
startedAt: string;
|
|
264
264
|
webhook_url: string;
|
|
265
265
|
code?: string | undefined;
|
|
266
|
-
result?: any;
|
|
267
266
|
error?: string | undefined;
|
|
267
|
+
result?: any;
|
|
268
268
|
completedAt?: string | undefined;
|
|
269
269
|
}>;
|
|
270
270
|
export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -278,24 +278,24 @@ export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObj
|
|
|
278
278
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
279
279
|
code: z.ZodOptional<z.ZodString>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
status: "
|
|
281
|
+
status: "error" | "running" | "success";
|
|
282
282
|
id: number;
|
|
283
283
|
payload: Record<string, any>;
|
|
284
284
|
startedAt: string;
|
|
285
285
|
webhook_url: string;
|
|
286
286
|
code?: string | undefined;
|
|
287
|
-
result?: any;
|
|
288
287
|
error?: string | undefined;
|
|
288
|
+
result?: any;
|
|
289
289
|
completedAt?: string | undefined;
|
|
290
290
|
}, {
|
|
291
|
-
status: "
|
|
291
|
+
status: "error" | "running" | "success";
|
|
292
292
|
id: number;
|
|
293
293
|
payload: Record<string, any>;
|
|
294
294
|
startedAt: string;
|
|
295
295
|
webhook_url: string;
|
|
296
296
|
code?: string | undefined;
|
|
297
|
-
result?: any;
|
|
298
297
|
error?: string | undefined;
|
|
298
|
+
result?: any;
|
|
299
299
|
completedAt?: string | undefined;
|
|
300
300
|
}>, "many">;
|
|
301
301
|
export type ListBubbleFlowExecutionsResponse = z.infer<typeof listBubbleFlowExecutionsResponseSchema>;
|
|
@@ -312,25 +312,25 @@ export declare const bubbleFlowExecutionDetailSchema: z.ZodObject<{
|
|
|
312
312
|
} & {
|
|
313
313
|
executionLogs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
status: "
|
|
315
|
+
status: "error" | "running" | "success";
|
|
316
316
|
id: number;
|
|
317
317
|
payload: Record<string, any>;
|
|
318
318
|
startedAt: string;
|
|
319
319
|
webhook_url: string;
|
|
320
320
|
code?: string | undefined;
|
|
321
|
-
result?: any;
|
|
322
321
|
error?: string | undefined;
|
|
322
|
+
result?: any;
|
|
323
323
|
completedAt?: string | undefined;
|
|
324
324
|
executionLogs?: any[] | undefined;
|
|
325
325
|
}, {
|
|
326
|
-
status: "
|
|
326
|
+
status: "error" | "running" | "success";
|
|
327
327
|
id: number;
|
|
328
328
|
payload: Record<string, any>;
|
|
329
329
|
startedAt: string;
|
|
330
330
|
webhook_url: string;
|
|
331
331
|
code?: string | undefined;
|
|
332
|
-
result?: any;
|
|
333
332
|
error?: string | undefined;
|
|
333
|
+
result?: any;
|
|
334
334
|
completedAt?: string | undefined;
|
|
335
335
|
executionLogs?: any[] | undefined;
|
|
336
336
|
}>;
|
|
@@ -398,12 +398,12 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
398
398
|
message: z.ZodString;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
message: string;
|
|
401
|
-
duration: number;
|
|
402
401
|
lineNumber: number;
|
|
402
|
+
duration: number;
|
|
403
403
|
}, {
|
|
404
404
|
message: string;
|
|
405
|
-
duration: number;
|
|
406
405
|
lineNumber: number;
|
|
406
|
+
duration: number;
|
|
407
407
|
}>, "many">>;
|
|
408
408
|
memoryPeakUsage: z.ZodOptional<z.ZodAny>;
|
|
409
409
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
@@ -479,8 +479,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
479
479
|
averageLineExecutionTime?: number | undefined;
|
|
480
480
|
slowestLines?: {
|
|
481
481
|
message: string;
|
|
482
|
-
duration: number;
|
|
483
482
|
lineNumber: number;
|
|
483
|
+
duration: number;
|
|
484
484
|
}[] | undefined;
|
|
485
485
|
memoryPeakUsage?: any;
|
|
486
486
|
startTime?: number | undefined;
|
|
@@ -528,8 +528,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
528
528
|
averageLineExecutionTime?: number | undefined;
|
|
529
529
|
slowestLines?: {
|
|
530
530
|
message: string;
|
|
531
|
-
duration: number;
|
|
532
531
|
lineNumber: number;
|
|
532
|
+
duration: number;
|
|
533
533
|
}[] | undefined;
|
|
534
534
|
memoryPeakUsage?: any;
|
|
535
535
|
startTime?: number | undefined;
|
|
@@ -584,8 +584,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
584
584
|
averageLineExecutionTime?: number | undefined;
|
|
585
585
|
slowestLines?: {
|
|
586
586
|
message: string;
|
|
587
|
-
duration: number;
|
|
588
587
|
lineNumber: number;
|
|
588
|
+
duration: number;
|
|
589
589
|
}[] | undefined;
|
|
590
590
|
memoryPeakUsage?: any;
|
|
591
591
|
startTime?: number | undefined;
|
|
@@ -639,8 +639,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
639
639
|
averageLineExecutionTime?: number | undefined;
|
|
640
640
|
slowestLines?: {
|
|
641
641
|
message: string;
|
|
642
|
-
duration: number;
|
|
643
642
|
lineNumber: number;
|
|
643
|
+
duration: number;
|
|
644
644
|
}[] | undefined;
|
|
645
645
|
memoryPeakUsage?: any;
|
|
646
646
|
startTime?: number | undefined;
|
|
@@ -741,9 +741,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
741
741
|
type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>;
|
|
742
742
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
743
743
|
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
745
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
746
744
|
name: string;
|
|
745
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
746
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
747
747
|
location?: {
|
|
748
748
|
startLine: number;
|
|
749
749
|
startCol: number;
|
|
@@ -753,9 +753,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
753
753
|
variableId?: number | undefined;
|
|
754
754
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
755
755
|
}, {
|
|
756
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
757
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
758
756
|
name: string;
|
|
757
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
758
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
759
759
|
location?: {
|
|
760
760
|
startLine: number;
|
|
761
761
|
startCol: number;
|
|
@@ -801,12 +801,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
801
801
|
};
|
|
802
802
|
variableId: number;
|
|
803
803
|
variableName: string;
|
|
804
|
-
nodeType: "
|
|
804
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
805
805
|
className: string;
|
|
806
806
|
parameters: {
|
|
807
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
808
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
809
807
|
name: string;
|
|
808
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
809
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
810
810
|
location?: {
|
|
811
811
|
startLine: number;
|
|
812
812
|
startCol: number;
|
|
@@ -835,12 +835,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
835
835
|
};
|
|
836
836
|
variableId: number;
|
|
837
837
|
variableName: string;
|
|
838
|
-
nodeType: "
|
|
838
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
839
839
|
className: string;
|
|
840
840
|
parameters: {
|
|
841
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
842
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
843
841
|
name: string;
|
|
842
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
843
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
844
844
|
location?: {
|
|
845
845
|
startLine: number;
|
|
846
846
|
startCol: number;
|
|
@@ -890,9 +890,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
890
890
|
type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>;
|
|
891
891
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
892
892
|
}, "strip", z.ZodTypeAny, {
|
|
893
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
894
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
895
893
|
name: string;
|
|
894
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
895
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
896
896
|
location?: {
|
|
897
897
|
startLine: number;
|
|
898
898
|
startCol: number;
|
|
@@ -902,9 +902,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
902
902
|
variableId?: number | undefined;
|
|
903
903
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
904
904
|
}, {
|
|
905
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
906
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
907
905
|
name: string;
|
|
906
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
907
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
908
908
|
location?: {
|
|
909
909
|
startLine: number;
|
|
910
910
|
startCol: number;
|
|
@@ -950,12 +950,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
950
950
|
};
|
|
951
951
|
variableId: number;
|
|
952
952
|
variableName: string;
|
|
953
|
-
nodeType: "
|
|
953
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
954
954
|
className: string;
|
|
955
955
|
parameters: {
|
|
956
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
957
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
958
956
|
name: string;
|
|
957
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
958
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
959
959
|
location?: {
|
|
960
960
|
startLine: number;
|
|
961
961
|
startCol: number;
|
|
@@ -984,12 +984,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
984
984
|
};
|
|
985
985
|
variableId: number;
|
|
986
986
|
variableName: string;
|
|
987
|
-
nodeType: "
|
|
987
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
988
988
|
className: string;
|
|
989
989
|
parameters: {
|
|
990
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
991
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
992
990
|
name: string;
|
|
991
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
992
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
993
993
|
location?: {
|
|
994
994
|
startLine: number;
|
|
995
995
|
startCol: number;
|
|
@@ -1021,12 +1021,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1021
1021
|
};
|
|
1022
1022
|
variableId: number;
|
|
1023
1023
|
variableName: string;
|
|
1024
|
-
nodeType: "
|
|
1024
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1025
1025
|
className: string;
|
|
1026
1026
|
parameters: {
|
|
1027
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1028
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1029
1027
|
name: string;
|
|
1028
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1029
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1030
1030
|
location?: {
|
|
1031
1031
|
startLine: number;
|
|
1032
1032
|
startCol: number;
|
|
@@ -1058,12 +1058,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1058
1058
|
};
|
|
1059
1059
|
variableId: number;
|
|
1060
1060
|
variableName: string;
|
|
1061
|
-
nodeType: "
|
|
1061
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1062
1062
|
className: string;
|
|
1063
1063
|
parameters: {
|
|
1064
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1065
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1066
1064
|
name: string;
|
|
1065
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1066
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1067
1067
|
location?: {
|
|
1068
1068
|
startLine: number;
|
|
1069
1069
|
startCol: number;
|
|
@@ -1109,17 +1109,17 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1109
1109
|
error: z.ZodString;
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
1111
|
valid: boolean;
|
|
1112
|
+
error: string;
|
|
1113
|
+
success: boolean;
|
|
1114
|
+
eventType: string;
|
|
1115
|
+
webhookPath: string;
|
|
1116
|
+
inputSchema: Record<string, unknown>;
|
|
1112
1117
|
metadata: {
|
|
1113
1118
|
strictMode: boolean;
|
|
1114
1119
|
validatedAt: string;
|
|
1115
1120
|
codeLength: number;
|
|
1116
1121
|
flowUpdated?: boolean | undefined;
|
|
1117
1122
|
};
|
|
1118
|
-
success: boolean;
|
|
1119
|
-
error: string;
|
|
1120
|
-
eventType: string;
|
|
1121
|
-
webhookPath: string;
|
|
1122
|
-
inputSchema: Record<string, unknown>;
|
|
1123
1123
|
workflow?: {
|
|
1124
1124
|
root: import("./bubble-definition-schema").WorkflowNode[];
|
|
1125
1125
|
bubbles: Record<number, {
|
|
@@ -1131,12 +1131,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1131
1131
|
};
|
|
1132
1132
|
variableId: number;
|
|
1133
1133
|
variableName: string;
|
|
1134
|
-
nodeType: "
|
|
1134
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1135
1135
|
className: string;
|
|
1136
1136
|
parameters: {
|
|
1137
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1138
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1139
1137
|
name: string;
|
|
1138
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1139
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1140
1140
|
location?: {
|
|
1141
1141
|
startLine: number;
|
|
1142
1142
|
startCol: number;
|
|
@@ -1167,12 +1167,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1167
1167
|
};
|
|
1168
1168
|
variableId: number;
|
|
1169
1169
|
variableName: string;
|
|
1170
|
-
nodeType: "
|
|
1170
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1171
1171
|
className: string;
|
|
1172
1172
|
parameters: {
|
|
1173
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1174
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1175
1173
|
name: string;
|
|
1174
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1175
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1176
1176
|
location?: {
|
|
1177
1177
|
startLine: number;
|
|
1178
1178
|
startCol: number;
|
|
@@ -1201,17 +1201,17 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1201
1201
|
cronActive?: boolean | undefined;
|
|
1202
1202
|
}, {
|
|
1203
1203
|
valid: boolean;
|
|
1204
|
+
error: string;
|
|
1205
|
+
success: boolean;
|
|
1206
|
+
eventType: string;
|
|
1207
|
+
webhookPath: string;
|
|
1208
|
+
inputSchema: Record<string, unknown>;
|
|
1204
1209
|
metadata: {
|
|
1205
1210
|
strictMode: boolean;
|
|
1206
1211
|
validatedAt: string;
|
|
1207
1212
|
codeLength: number;
|
|
1208
1213
|
flowUpdated?: boolean | undefined;
|
|
1209
1214
|
};
|
|
1210
|
-
success: boolean;
|
|
1211
|
-
error: string;
|
|
1212
|
-
eventType: string;
|
|
1213
|
-
webhookPath: string;
|
|
1214
|
-
inputSchema: Record<string, unknown>;
|
|
1215
1215
|
workflow?: {
|
|
1216
1216
|
root: import("./bubble-definition-schema").WorkflowNode[];
|
|
1217
1217
|
bubbles: Record<number, {
|
|
@@ -1223,12 +1223,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1223
1223
|
};
|
|
1224
1224
|
variableId: number;
|
|
1225
1225
|
variableName: string;
|
|
1226
|
-
nodeType: "
|
|
1226
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1227
1227
|
className: string;
|
|
1228
1228
|
parameters: {
|
|
1229
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1230
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1231
1229
|
name: string;
|
|
1230
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1231
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1232
1232
|
location?: {
|
|
1233
1233
|
startLine: number;
|
|
1234
1234
|
startCol: number;
|
|
@@ -1259,12 +1259,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1259
1259
|
};
|
|
1260
1260
|
variableId: number;
|
|
1261
1261
|
variableName: string;
|
|
1262
|
-
nodeType: "
|
|
1262
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
1263
1263
|
className: string;
|
|
1264
1264
|
parameters: {
|
|
1265
|
-
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1266
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1267
1265
|
name: string;
|
|
1266
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1267
|
+
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1268
1268
|
location?: {
|
|
1269
1269
|
startLine: number;
|
|
1270
1270
|
startCol: number;
|