@bubblelab/shared-schemas 0.1.8 → 0.1.9
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/ai-models.d.ts +4 -0
- package/dist/ai-models.d.ts.map +1 -0
- package/dist/ai-models.js +20 -0
- package/dist/ai-models.js.map +1 -0
- package/dist/bubble-definition-schema.d.ts +127 -19
- package/dist/bubble-definition-schema.d.ts.map +1 -1
- package/dist/bubble-definition-schema.js +7 -0
- package/dist/bubble-definition-schema.js.map +1 -1
- package/dist/bubbleflow-execution-schema.d.ts +99 -47
- package/dist/bubbleflow-execution-schema.d.ts.map +1 -1
- package/dist/bubbleflow-schema.d.ts +388 -119
- package/dist/bubbleflow-schema.d.ts.map +1 -1
- package/dist/bubbleflow-schema.js +19 -0
- package/dist/bubbleflow-schema.js.map +1 -1
- package/dist/credential-schema.d.ts +46 -46
- package/dist/credential-schema.d.ts.map +1 -1
- package/dist/credential-schema.js +7 -0
- package/dist/credential-schema.js.map +1 -1
- package/dist/cron-utils.d.ts +47 -0
- package/dist/cron-utils.d.ts.map +1 -0
- package/dist/cron-utils.js +228 -0
- package/dist/cron-utils.js.map +1 -0
- package/dist/general-chat.d.ts +81 -0
- package/dist/general-chat.d.ts.map +1 -0
- package/dist/general-chat.js +58 -0
- package/dist/general-chat.js.map +1 -0
- package/dist/generate-bubbleflow-schema.d.ts +106 -54
- package/dist/generate-bubbleflow-schema.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/milk-tea.d.ts +108 -0
- package/dist/milk-tea.d.ts.map +1 -0
- package/dist/milk-tea.js +74 -0
- package/dist/milk-tea.js.map +1 -0
- package/dist/pearl.d.ts +276 -0
- package/dist/pearl.d.ts.map +1 -0
- package/dist/pearl.js +75 -0
- package/dist/pearl.js.map +1 -0
- package/dist/streaming-events.d.ts +70 -0
- package/dist/streaming-events.d.ts.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,16 +10,16 @@ export declare const createBubbleFlowSchema: z.ZodObject<{
|
|
|
10
10
|
webhookPath: z.ZodOptional<z.ZodString>;
|
|
11
11
|
webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
name: string;
|
|
14
13
|
code: string;
|
|
14
|
+
name: string;
|
|
15
15
|
eventType: string;
|
|
16
16
|
description?: string | undefined;
|
|
17
17
|
prompt?: string | undefined;
|
|
18
18
|
webhookPath?: string | undefined;
|
|
19
19
|
webhookActive?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
name: string;
|
|
22
21
|
code: string;
|
|
22
|
+
name: string;
|
|
23
23
|
eventType: string;
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
prompt?: string | undefined;
|
|
@@ -33,19 +33,47 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
33
33
|
bubbleName: z.ZodString;
|
|
34
34
|
className: z.ZodString;
|
|
35
35
|
parameters: z.ZodArray<z.ZodObject<{
|
|
36
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
startLine: z.ZodNumber;
|
|
38
|
+
startCol: z.ZodNumber;
|
|
39
|
+
endLine: z.ZodNumber;
|
|
40
|
+
endCol: z.ZodNumber;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
startLine: number;
|
|
43
|
+
startCol: number;
|
|
44
|
+
endLine: number;
|
|
45
|
+
endCol: number;
|
|
46
|
+
}, {
|
|
47
|
+
startLine: number;
|
|
48
|
+
startCol: number;
|
|
49
|
+
endLine: number;
|
|
50
|
+
endCol: number;
|
|
51
|
+
}>>;
|
|
36
52
|
variableId: z.ZodOptional<z.ZodNumber>;
|
|
37
53
|
name: z.ZodString;
|
|
38
54
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
39
55
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
40
56
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
name: string;
|
|
42
57
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
43
58
|
type: BubbleParameterType;
|
|
59
|
+
name: string;
|
|
60
|
+
location?: {
|
|
61
|
+
startLine: number;
|
|
62
|
+
startCol: number;
|
|
63
|
+
endLine: number;
|
|
64
|
+
endCol: number;
|
|
65
|
+
} | undefined;
|
|
44
66
|
variableId?: number | undefined;
|
|
45
67
|
}, {
|
|
46
|
-
name: string;
|
|
47
68
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
48
69
|
type: BubbleParameterType;
|
|
70
|
+
name: string;
|
|
71
|
+
location?: {
|
|
72
|
+
startLine: number;
|
|
73
|
+
startCol: number;
|
|
74
|
+
endLine: number;
|
|
75
|
+
endCol: number;
|
|
76
|
+
} | undefined;
|
|
49
77
|
variableId?: number | undefined;
|
|
50
78
|
}>, "many">;
|
|
51
79
|
hasAwait: z.ZodBoolean;
|
|
@@ -71,47 +99,59 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
71
99
|
endCol: number;
|
|
72
100
|
}>;
|
|
73
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
location: {
|
|
103
|
+
startLine: number;
|
|
104
|
+
startCol: number;
|
|
105
|
+
endLine: number;
|
|
106
|
+
endCol: number;
|
|
107
|
+
};
|
|
74
108
|
variableId: number;
|
|
75
109
|
variableName: string;
|
|
76
110
|
bubbleName: string;
|
|
77
111
|
className: string;
|
|
78
112
|
parameters: {
|
|
79
|
-
name: string;
|
|
80
113
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
81
114
|
type: BubbleParameterType;
|
|
115
|
+
name: string;
|
|
116
|
+
location?: {
|
|
117
|
+
startLine: number;
|
|
118
|
+
startCol: number;
|
|
119
|
+
endLine: number;
|
|
120
|
+
endCol: number;
|
|
121
|
+
} | undefined;
|
|
82
122
|
variableId?: number | undefined;
|
|
83
123
|
}[];
|
|
84
124
|
hasAwait: boolean;
|
|
85
125
|
hasActionCall: boolean;
|
|
86
126
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
127
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
128
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
129
|
+
}, {
|
|
87
130
|
location: {
|
|
88
131
|
startLine: number;
|
|
89
132
|
startCol: number;
|
|
90
133
|
endLine: number;
|
|
91
134
|
endCol: number;
|
|
92
135
|
};
|
|
93
|
-
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
94
|
-
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
95
|
-
}, {
|
|
96
136
|
variableId: number;
|
|
97
137
|
variableName: string;
|
|
98
138
|
bubbleName: string;
|
|
99
139
|
className: string;
|
|
100
140
|
parameters: {
|
|
101
|
-
name: string;
|
|
102
141
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
103
142
|
type: BubbleParameterType;
|
|
143
|
+
name: string;
|
|
144
|
+
location?: {
|
|
145
|
+
startLine: number;
|
|
146
|
+
startCol: number;
|
|
147
|
+
endLine: number;
|
|
148
|
+
endCol: number;
|
|
149
|
+
} | undefined;
|
|
104
150
|
variableId?: number | undefined;
|
|
105
151
|
}[];
|
|
106
152
|
hasAwait: boolean;
|
|
107
153
|
hasActionCall: boolean;
|
|
108
154
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
109
|
-
location: {
|
|
110
|
-
startLine: number;
|
|
111
|
-
startCol: number;
|
|
112
|
-
endLine: number;
|
|
113
|
-
endCol: number;
|
|
114
|
-
};
|
|
115
155
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
116
156
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
117
157
|
}>, z.ZodObject<{
|
|
@@ -119,19 +159,47 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
119
159
|
bubbleName: z.ZodString;
|
|
120
160
|
className: z.ZodString;
|
|
121
161
|
parameters: z.ZodArray<z.ZodObject<{
|
|
162
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
startLine: z.ZodNumber;
|
|
164
|
+
startCol: z.ZodNumber;
|
|
165
|
+
endLine: z.ZodNumber;
|
|
166
|
+
endCol: z.ZodNumber;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
startLine: number;
|
|
169
|
+
startCol: number;
|
|
170
|
+
endLine: number;
|
|
171
|
+
endCol: number;
|
|
172
|
+
}, {
|
|
173
|
+
startLine: number;
|
|
174
|
+
startCol: number;
|
|
175
|
+
endLine: number;
|
|
176
|
+
endCol: number;
|
|
177
|
+
}>>;
|
|
122
178
|
variableId: z.ZodOptional<z.ZodNumber>;
|
|
123
179
|
name: z.ZodString;
|
|
124
180
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
125
181
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
126
182
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
name: string;
|
|
128
183
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
129
184
|
type: BubbleParameterType;
|
|
185
|
+
name: string;
|
|
186
|
+
location?: {
|
|
187
|
+
startLine: number;
|
|
188
|
+
startCol: number;
|
|
189
|
+
endLine: number;
|
|
190
|
+
endCol: number;
|
|
191
|
+
} | undefined;
|
|
130
192
|
variableId?: number | undefined;
|
|
131
193
|
}, {
|
|
132
|
-
name: string;
|
|
133
194
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
134
195
|
type: BubbleParameterType;
|
|
196
|
+
name: string;
|
|
197
|
+
location?: {
|
|
198
|
+
startLine: number;
|
|
199
|
+
startCol: number;
|
|
200
|
+
endLine: number;
|
|
201
|
+
endCol: number;
|
|
202
|
+
} | undefined;
|
|
135
203
|
variableId?: number | undefined;
|
|
136
204
|
}>, "many">;
|
|
137
205
|
hasAwait: z.ZodBoolean;
|
|
@@ -143,9 +211,15 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
143
211
|
bubbleName: string;
|
|
144
212
|
className: string;
|
|
145
213
|
parameters: {
|
|
146
|
-
name: string;
|
|
147
214
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
148
215
|
type: BubbleParameterType;
|
|
216
|
+
name: string;
|
|
217
|
+
location?: {
|
|
218
|
+
startLine: number;
|
|
219
|
+
startCol: number;
|
|
220
|
+
endLine: number;
|
|
221
|
+
endCol: number;
|
|
222
|
+
} | undefined;
|
|
149
223
|
variableId?: number | undefined;
|
|
150
224
|
}[];
|
|
151
225
|
hasAwait: boolean;
|
|
@@ -157,9 +231,15 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
157
231
|
bubbleName: string;
|
|
158
232
|
className: string;
|
|
159
233
|
parameters: {
|
|
160
|
-
name: string;
|
|
161
234
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
162
235
|
type: BubbleParameterType;
|
|
236
|
+
name: string;
|
|
237
|
+
location?: {
|
|
238
|
+
startLine: number;
|
|
239
|
+
startCol: number;
|
|
240
|
+
endLine: number;
|
|
241
|
+
endCol: number;
|
|
242
|
+
} | undefined;
|
|
163
243
|
variableId?: number | undefined;
|
|
164
244
|
}[];
|
|
165
245
|
hasAwait: boolean;
|
|
@@ -173,9 +253,15 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
173
253
|
bubbleName: string;
|
|
174
254
|
className: string;
|
|
175
255
|
parameters: {
|
|
176
|
-
name: string;
|
|
177
256
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
178
257
|
type: BubbleParameterType;
|
|
258
|
+
name: string;
|
|
259
|
+
location?: {
|
|
260
|
+
startLine: number;
|
|
261
|
+
startCol: number;
|
|
262
|
+
endLine: number;
|
|
263
|
+
endCol: number;
|
|
264
|
+
} | undefined;
|
|
179
265
|
variableId?: number | undefined;
|
|
180
266
|
}[];
|
|
181
267
|
hasAwait: boolean;
|
|
@@ -183,25 +269,31 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
183
269
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
184
270
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
185
271
|
} | {
|
|
272
|
+
location: {
|
|
273
|
+
startLine: number;
|
|
274
|
+
startCol: number;
|
|
275
|
+
endLine: number;
|
|
276
|
+
endCol: number;
|
|
277
|
+
};
|
|
186
278
|
variableId: number;
|
|
187
279
|
variableName: string;
|
|
188
280
|
bubbleName: string;
|
|
189
281
|
className: string;
|
|
190
282
|
parameters: {
|
|
191
|
-
name: string;
|
|
192
283
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
193
284
|
type: BubbleParameterType;
|
|
285
|
+
name: string;
|
|
286
|
+
location?: {
|
|
287
|
+
startLine: number;
|
|
288
|
+
startCol: number;
|
|
289
|
+
endLine: number;
|
|
290
|
+
endCol: number;
|
|
291
|
+
} | undefined;
|
|
194
292
|
variableId?: number | undefined;
|
|
195
293
|
}[];
|
|
196
294
|
hasAwait: boolean;
|
|
197
295
|
hasActionCall: boolean;
|
|
198
296
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
199
|
-
location: {
|
|
200
|
-
startLine: number;
|
|
201
|
-
startCol: number;
|
|
202
|
-
endLine: number;
|
|
203
|
-
endCol: number;
|
|
204
|
-
};
|
|
205
297
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
206
298
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
207
299
|
}>;
|
|
@@ -211,9 +303,15 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
211
303
|
bubbleName: string;
|
|
212
304
|
className: string;
|
|
213
305
|
parameters: {
|
|
214
|
-
name: string;
|
|
215
306
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
216
307
|
type: BubbleParameterType;
|
|
308
|
+
name: string;
|
|
309
|
+
location?: {
|
|
310
|
+
startLine: number;
|
|
311
|
+
startCol: number;
|
|
312
|
+
endLine: number;
|
|
313
|
+
endCol: number;
|
|
314
|
+
} | undefined;
|
|
217
315
|
variableId?: number | undefined;
|
|
218
316
|
}[];
|
|
219
317
|
hasAwait: boolean;
|
|
@@ -221,29 +319,42 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
221
319
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
222
320
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
223
321
|
} | {
|
|
322
|
+
location: {
|
|
323
|
+
startLine: number;
|
|
324
|
+
startCol: number;
|
|
325
|
+
endLine: number;
|
|
326
|
+
endCol: number;
|
|
327
|
+
};
|
|
224
328
|
variableId: number;
|
|
225
329
|
variableName: string;
|
|
226
330
|
bubbleName: string;
|
|
227
331
|
className: string;
|
|
228
332
|
parameters: {
|
|
229
|
-
name: string;
|
|
230
333
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
231
334
|
type: BubbleParameterType;
|
|
335
|
+
name: string;
|
|
336
|
+
location?: {
|
|
337
|
+
startLine: number;
|
|
338
|
+
startCol: number;
|
|
339
|
+
endLine: number;
|
|
340
|
+
endCol: number;
|
|
341
|
+
} | undefined;
|
|
232
342
|
variableId?: number | undefined;
|
|
233
343
|
}[];
|
|
234
344
|
hasAwait: boolean;
|
|
235
345
|
hasActionCall: boolean;
|
|
236
346
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
237
|
-
location: {
|
|
238
|
-
startLine: number;
|
|
239
|
-
startCol: number;
|
|
240
|
-
endLine: number;
|
|
241
|
-
endCol: number;
|
|
242
|
-
};
|
|
243
347
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
244
348
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
245
349
|
}>;
|
|
246
350
|
}>;
|
|
351
|
+
export declare const updateBubbleFlowNameSchema: z.ZodObject<{
|
|
352
|
+
name: z.ZodString;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
name: string;
|
|
355
|
+
}, {
|
|
356
|
+
name: string;
|
|
357
|
+
}>;
|
|
247
358
|
export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
248
359
|
id: z.ZodNumber;
|
|
249
360
|
message: z.ZodString;
|
|
@@ -253,19 +364,47 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
253
364
|
bubbleName: z.ZodString;
|
|
254
365
|
className: z.ZodString;
|
|
255
366
|
parameters: z.ZodArray<z.ZodObject<{
|
|
367
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
startLine: z.ZodNumber;
|
|
369
|
+
startCol: z.ZodNumber;
|
|
370
|
+
endLine: z.ZodNumber;
|
|
371
|
+
endCol: z.ZodNumber;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
startLine: number;
|
|
374
|
+
startCol: number;
|
|
375
|
+
endLine: number;
|
|
376
|
+
endCol: number;
|
|
377
|
+
}, {
|
|
378
|
+
startLine: number;
|
|
379
|
+
startCol: number;
|
|
380
|
+
endLine: number;
|
|
381
|
+
endCol: number;
|
|
382
|
+
}>>;
|
|
256
383
|
variableId: z.ZodOptional<z.ZodNumber>;
|
|
257
384
|
name: z.ZodString;
|
|
258
385
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
259
386
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
260
387
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
name: string;
|
|
262
388
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
263
389
|
type: BubbleParameterType;
|
|
390
|
+
name: string;
|
|
391
|
+
location?: {
|
|
392
|
+
startLine: number;
|
|
393
|
+
startCol: number;
|
|
394
|
+
endLine: number;
|
|
395
|
+
endCol: number;
|
|
396
|
+
} | undefined;
|
|
264
397
|
variableId?: number | undefined;
|
|
265
398
|
}, {
|
|
266
|
-
name: string;
|
|
267
399
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
268
400
|
type: BubbleParameterType;
|
|
401
|
+
name: string;
|
|
402
|
+
location?: {
|
|
403
|
+
startLine: number;
|
|
404
|
+
startCol: number;
|
|
405
|
+
endLine: number;
|
|
406
|
+
endCol: number;
|
|
407
|
+
} | undefined;
|
|
269
408
|
variableId?: number | undefined;
|
|
270
409
|
}>, "many">;
|
|
271
410
|
hasAwait: z.ZodBoolean;
|
|
@@ -291,47 +430,59 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
291
430
|
endCol: number;
|
|
292
431
|
}>;
|
|
293
432
|
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
location: {
|
|
434
|
+
startLine: number;
|
|
435
|
+
startCol: number;
|
|
436
|
+
endLine: number;
|
|
437
|
+
endCol: number;
|
|
438
|
+
};
|
|
294
439
|
variableId: number;
|
|
295
440
|
variableName: string;
|
|
296
441
|
bubbleName: string;
|
|
297
442
|
className: string;
|
|
298
443
|
parameters: {
|
|
299
|
-
name: string;
|
|
300
444
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
301
445
|
type: BubbleParameterType;
|
|
446
|
+
name: string;
|
|
447
|
+
location?: {
|
|
448
|
+
startLine: number;
|
|
449
|
+
startCol: number;
|
|
450
|
+
endLine: number;
|
|
451
|
+
endCol: number;
|
|
452
|
+
} | undefined;
|
|
302
453
|
variableId?: number | undefined;
|
|
303
454
|
}[];
|
|
304
455
|
hasAwait: boolean;
|
|
305
456
|
hasActionCall: boolean;
|
|
306
457
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
458
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
459
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
460
|
+
}, {
|
|
307
461
|
location: {
|
|
308
462
|
startLine: number;
|
|
309
463
|
startCol: number;
|
|
310
464
|
endLine: number;
|
|
311
465
|
endCol: number;
|
|
312
466
|
};
|
|
313
|
-
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
314
|
-
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
315
|
-
}, {
|
|
316
467
|
variableId: number;
|
|
317
468
|
variableName: string;
|
|
318
469
|
bubbleName: string;
|
|
319
470
|
className: string;
|
|
320
471
|
parameters: {
|
|
321
|
-
name: string;
|
|
322
472
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
323
473
|
type: BubbleParameterType;
|
|
474
|
+
name: string;
|
|
475
|
+
location?: {
|
|
476
|
+
startLine: number;
|
|
477
|
+
startCol: number;
|
|
478
|
+
endLine: number;
|
|
479
|
+
endCol: number;
|
|
480
|
+
} | undefined;
|
|
324
481
|
variableId?: number | undefined;
|
|
325
482
|
}[];
|
|
326
483
|
hasAwait: boolean;
|
|
327
484
|
hasActionCall: boolean;
|
|
328
485
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
329
|
-
location: {
|
|
330
|
-
startLine: number;
|
|
331
|
-
startCol: number;
|
|
332
|
-
endLine: number;
|
|
333
|
-
endCol: number;
|
|
334
|
-
};
|
|
335
486
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
336
487
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
337
488
|
}>>;
|
|
@@ -343,38 +494,44 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
343
494
|
active: z.ZodBoolean;
|
|
344
495
|
}, "strip", z.ZodTypeAny, {
|
|
345
496
|
path: string;
|
|
346
|
-
id: number;
|
|
347
497
|
url: string;
|
|
498
|
+
id: number;
|
|
348
499
|
active: boolean;
|
|
349
500
|
}, {
|
|
350
501
|
path: string;
|
|
351
|
-
id: number;
|
|
352
502
|
url: string;
|
|
503
|
+
id: number;
|
|
353
504
|
active: boolean;
|
|
354
505
|
}>>;
|
|
355
506
|
}, "strip", z.ZodTypeAny, {
|
|
356
507
|
message: string;
|
|
357
508
|
id: number;
|
|
358
509
|
bubbleParameters: Record<string, {
|
|
510
|
+
location: {
|
|
511
|
+
startLine: number;
|
|
512
|
+
startCol: number;
|
|
513
|
+
endLine: number;
|
|
514
|
+
endCol: number;
|
|
515
|
+
};
|
|
359
516
|
variableId: number;
|
|
360
517
|
variableName: string;
|
|
361
518
|
bubbleName: string;
|
|
362
519
|
className: string;
|
|
363
520
|
parameters: {
|
|
364
|
-
name: string;
|
|
365
521
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
366
522
|
type: BubbleParameterType;
|
|
523
|
+
name: string;
|
|
524
|
+
location?: {
|
|
525
|
+
startLine: number;
|
|
526
|
+
startCol: number;
|
|
527
|
+
endLine: number;
|
|
528
|
+
endCol: number;
|
|
529
|
+
} | undefined;
|
|
367
530
|
variableId?: number | undefined;
|
|
368
531
|
}[];
|
|
369
532
|
hasAwait: boolean;
|
|
370
533
|
hasActionCall: boolean;
|
|
371
534
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
372
|
-
location: {
|
|
373
|
-
startLine: number;
|
|
374
|
-
startCol: number;
|
|
375
|
-
endLine: number;
|
|
376
|
-
endCol: number;
|
|
377
|
-
};
|
|
378
535
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
379
536
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
380
537
|
}>;
|
|
@@ -382,33 +539,39 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
382
539
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
383
540
|
webhook?: {
|
|
384
541
|
path: string;
|
|
385
|
-
id: number;
|
|
386
542
|
url: string;
|
|
543
|
+
id: number;
|
|
387
544
|
active: boolean;
|
|
388
545
|
} | undefined;
|
|
389
546
|
}, {
|
|
390
547
|
message: string;
|
|
391
548
|
id: number;
|
|
392
549
|
bubbleParameters: Record<string, {
|
|
550
|
+
location: {
|
|
551
|
+
startLine: number;
|
|
552
|
+
startCol: number;
|
|
553
|
+
endLine: number;
|
|
554
|
+
endCol: number;
|
|
555
|
+
};
|
|
393
556
|
variableId: number;
|
|
394
557
|
variableName: string;
|
|
395
558
|
bubbleName: string;
|
|
396
559
|
className: string;
|
|
397
560
|
parameters: {
|
|
398
|
-
name: string;
|
|
399
561
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
400
562
|
type: BubbleParameterType;
|
|
563
|
+
name: string;
|
|
564
|
+
location?: {
|
|
565
|
+
startLine: number;
|
|
566
|
+
startCol: number;
|
|
567
|
+
endLine: number;
|
|
568
|
+
endCol: number;
|
|
569
|
+
} | undefined;
|
|
401
570
|
variableId?: number | undefined;
|
|
402
571
|
}[];
|
|
403
572
|
hasAwait: boolean;
|
|
404
573
|
hasActionCall: boolean;
|
|
405
574
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
406
|
-
location: {
|
|
407
|
-
startLine: number;
|
|
408
|
-
startCol: number;
|
|
409
|
-
endLine: number;
|
|
410
|
-
endCol: number;
|
|
411
|
-
};
|
|
412
575
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
413
576
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
414
577
|
}>;
|
|
@@ -416,8 +579,8 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
416
579
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
417
580
|
webhook?: {
|
|
418
581
|
path: string;
|
|
419
|
-
id: number;
|
|
420
582
|
url: string;
|
|
583
|
+
id: number;
|
|
421
584
|
active: boolean;
|
|
422
585
|
} | undefined;
|
|
423
586
|
}>;
|
|
@@ -440,12 +603,12 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
440
603
|
value: z.ZodUnknown;
|
|
441
604
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
442
605
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
name: string;
|
|
444
606
|
type: BubbleParameterType;
|
|
607
|
+
name: string;
|
|
445
608
|
value?: unknown;
|
|
446
609
|
}, {
|
|
447
|
-
name: string;
|
|
448
610
|
type: BubbleParameterType;
|
|
611
|
+
name: string;
|
|
449
612
|
value?: unknown;
|
|
450
613
|
}>, "many">;
|
|
451
614
|
hasAwait: z.ZodBoolean;
|
|
@@ -455,8 +618,8 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
455
618
|
bubbleName: string;
|
|
456
619
|
className: string;
|
|
457
620
|
parameters: {
|
|
458
|
-
name: string;
|
|
459
621
|
type: BubbleParameterType;
|
|
622
|
+
name: string;
|
|
460
623
|
value?: unknown;
|
|
461
624
|
}[];
|
|
462
625
|
hasAwait: boolean;
|
|
@@ -466,8 +629,8 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
466
629
|
bubbleName: string;
|
|
467
630
|
className: string;
|
|
468
631
|
parameters: {
|
|
469
|
-
name: string;
|
|
470
632
|
type: BubbleParameterType;
|
|
633
|
+
name: string;
|
|
471
634
|
value?: unknown;
|
|
472
635
|
}[];
|
|
473
636
|
hasAwait: boolean;
|
|
@@ -478,19 +641,47 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
478
641
|
bubbleName: z.ZodString;
|
|
479
642
|
className: z.ZodString;
|
|
480
643
|
parameters: z.ZodArray<z.ZodObject<{
|
|
644
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
645
|
+
startLine: z.ZodNumber;
|
|
646
|
+
startCol: z.ZodNumber;
|
|
647
|
+
endLine: z.ZodNumber;
|
|
648
|
+
endCol: z.ZodNumber;
|
|
649
|
+
}, "strip", z.ZodTypeAny, {
|
|
650
|
+
startLine: number;
|
|
651
|
+
startCol: number;
|
|
652
|
+
endLine: number;
|
|
653
|
+
endCol: number;
|
|
654
|
+
}, {
|
|
655
|
+
startLine: number;
|
|
656
|
+
startCol: number;
|
|
657
|
+
endLine: number;
|
|
658
|
+
endCol: number;
|
|
659
|
+
}>>;
|
|
481
660
|
variableId: z.ZodOptional<z.ZodNumber>;
|
|
482
661
|
name: z.ZodString;
|
|
483
662
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
484
663
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
485
664
|
}, "strip", z.ZodTypeAny, {
|
|
486
|
-
name: string;
|
|
487
665
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
488
666
|
type: BubbleParameterType;
|
|
667
|
+
name: string;
|
|
668
|
+
location?: {
|
|
669
|
+
startLine: number;
|
|
670
|
+
startCol: number;
|
|
671
|
+
endLine: number;
|
|
672
|
+
endCol: number;
|
|
673
|
+
} | undefined;
|
|
489
674
|
variableId?: number | undefined;
|
|
490
675
|
}, {
|
|
491
|
-
name: string;
|
|
492
676
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
493
677
|
type: BubbleParameterType;
|
|
678
|
+
name: string;
|
|
679
|
+
location?: {
|
|
680
|
+
startLine: number;
|
|
681
|
+
startCol: number;
|
|
682
|
+
endLine: number;
|
|
683
|
+
endCol: number;
|
|
684
|
+
} | undefined;
|
|
494
685
|
variableId?: number | undefined;
|
|
495
686
|
}>, "many">;
|
|
496
687
|
hasAwait: z.ZodBoolean;
|
|
@@ -516,47 +707,59 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
516
707
|
endCol: number;
|
|
517
708
|
}>;
|
|
518
709
|
}, "strip", z.ZodTypeAny, {
|
|
710
|
+
location: {
|
|
711
|
+
startLine: number;
|
|
712
|
+
startCol: number;
|
|
713
|
+
endLine: number;
|
|
714
|
+
endCol: number;
|
|
715
|
+
};
|
|
519
716
|
variableId: number;
|
|
520
717
|
variableName: string;
|
|
521
718
|
bubbleName: string;
|
|
522
719
|
className: string;
|
|
523
720
|
parameters: {
|
|
524
|
-
name: string;
|
|
525
721
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
526
722
|
type: BubbleParameterType;
|
|
723
|
+
name: string;
|
|
724
|
+
location?: {
|
|
725
|
+
startLine: number;
|
|
726
|
+
startCol: number;
|
|
727
|
+
endLine: number;
|
|
728
|
+
endCol: number;
|
|
729
|
+
} | undefined;
|
|
527
730
|
variableId?: number | undefined;
|
|
528
731
|
}[];
|
|
529
732
|
hasAwait: boolean;
|
|
530
733
|
hasActionCall: boolean;
|
|
531
734
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
735
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
736
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
737
|
+
}, {
|
|
532
738
|
location: {
|
|
533
739
|
startLine: number;
|
|
534
740
|
startCol: number;
|
|
535
741
|
endLine: number;
|
|
536
742
|
endCol: number;
|
|
537
743
|
};
|
|
538
|
-
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
539
|
-
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
540
|
-
}, {
|
|
541
744
|
variableId: number;
|
|
542
745
|
variableName: string;
|
|
543
746
|
bubbleName: string;
|
|
544
747
|
className: string;
|
|
545
748
|
parameters: {
|
|
546
|
-
name: string;
|
|
547
749
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
548
750
|
type: BubbleParameterType;
|
|
751
|
+
name: string;
|
|
752
|
+
location?: {
|
|
753
|
+
startLine: number;
|
|
754
|
+
startCol: number;
|
|
755
|
+
endLine: number;
|
|
756
|
+
endCol: number;
|
|
757
|
+
} | undefined;
|
|
549
758
|
variableId?: number | undefined;
|
|
550
759
|
}[];
|
|
551
760
|
hasAwait: boolean;
|
|
552
761
|
hasActionCall: boolean;
|
|
553
762
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
554
|
-
location: {
|
|
555
|
-
startLine: number;
|
|
556
|
-
startCol: number;
|
|
557
|
-
endLine: number;
|
|
558
|
-
endCol: number;
|
|
559
|
-
};
|
|
560
763
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
561
764
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
562
765
|
}>>;
|
|
@@ -564,96 +767,108 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
564
767
|
updatedAt: z.ZodString;
|
|
565
768
|
webhook_url: z.ZodString;
|
|
566
769
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
name: string;
|
|
568
770
|
code: string;
|
|
771
|
+
name: string;
|
|
569
772
|
id: number;
|
|
773
|
+
createdAt: string;
|
|
774
|
+
updatedAt: string;
|
|
570
775
|
webhook_url: string;
|
|
571
776
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
572
777
|
eventType: string;
|
|
573
778
|
bubbleParameters: Record<string, {
|
|
779
|
+
location: {
|
|
780
|
+
startLine: number;
|
|
781
|
+
startCol: number;
|
|
782
|
+
endLine: number;
|
|
783
|
+
endCol: number;
|
|
784
|
+
};
|
|
574
785
|
variableId: number;
|
|
575
786
|
variableName: string;
|
|
576
787
|
bubbleName: string;
|
|
577
788
|
className: string;
|
|
578
789
|
parameters: {
|
|
579
|
-
name: string;
|
|
580
790
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
581
791
|
type: BubbleParameterType;
|
|
792
|
+
name: string;
|
|
793
|
+
location?: {
|
|
794
|
+
startLine: number;
|
|
795
|
+
startCol: number;
|
|
796
|
+
endLine: number;
|
|
797
|
+
endCol: number;
|
|
798
|
+
} | undefined;
|
|
582
799
|
variableId?: number | undefined;
|
|
583
800
|
}[];
|
|
584
801
|
hasAwait: boolean;
|
|
585
802
|
hasActionCall: boolean;
|
|
586
803
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
587
|
-
location: {
|
|
588
|
-
startLine: number;
|
|
589
|
-
startCol: number;
|
|
590
|
-
endLine: number;
|
|
591
|
-
endCol: number;
|
|
592
|
-
};
|
|
593
804
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
594
805
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
595
806
|
}>;
|
|
596
807
|
isActive: boolean;
|
|
597
|
-
createdAt: string;
|
|
598
|
-
updatedAt: string;
|
|
599
808
|
description?: string | undefined;
|
|
600
|
-
inputSchema?: Record<string, unknown> | undefined;
|
|
601
809
|
prompt?: string | undefined;
|
|
810
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
602
811
|
displayedBubbleParameters?: Record<string, {
|
|
603
812
|
variableName: string;
|
|
604
813
|
bubbleName: string;
|
|
605
814
|
className: string;
|
|
606
815
|
parameters: {
|
|
607
|
-
name: string;
|
|
608
816
|
type: BubbleParameterType;
|
|
817
|
+
name: string;
|
|
609
818
|
value?: unknown;
|
|
610
819
|
}[];
|
|
611
820
|
hasAwait: boolean;
|
|
612
821
|
hasActionCall: boolean;
|
|
613
822
|
}> | undefined;
|
|
614
823
|
}, {
|
|
615
|
-
name: string;
|
|
616
824
|
code: string;
|
|
825
|
+
name: string;
|
|
617
826
|
id: number;
|
|
827
|
+
createdAt: string;
|
|
828
|
+
updatedAt: string;
|
|
618
829
|
webhook_url: string;
|
|
619
830
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
620
831
|
eventType: string;
|
|
621
832
|
bubbleParameters: Record<string, {
|
|
833
|
+
location: {
|
|
834
|
+
startLine: number;
|
|
835
|
+
startCol: number;
|
|
836
|
+
endLine: number;
|
|
837
|
+
endCol: number;
|
|
838
|
+
};
|
|
622
839
|
variableId: number;
|
|
623
840
|
variableName: string;
|
|
624
841
|
bubbleName: string;
|
|
625
842
|
className: string;
|
|
626
843
|
parameters: {
|
|
627
|
-
name: string;
|
|
628
844
|
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
629
845
|
type: BubbleParameterType;
|
|
846
|
+
name: string;
|
|
847
|
+
location?: {
|
|
848
|
+
startLine: number;
|
|
849
|
+
startCol: number;
|
|
850
|
+
endLine: number;
|
|
851
|
+
endCol: number;
|
|
852
|
+
} | undefined;
|
|
630
853
|
variableId?: number | undefined;
|
|
631
854
|
}[];
|
|
632
855
|
hasAwait: boolean;
|
|
633
856
|
hasActionCall: boolean;
|
|
634
857
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
635
|
-
location: {
|
|
636
|
-
startLine: number;
|
|
637
|
-
startCol: number;
|
|
638
|
-
endLine: number;
|
|
639
|
-
endCol: number;
|
|
640
|
-
};
|
|
641
858
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
642
859
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
643
860
|
}>;
|
|
644
861
|
isActive: boolean;
|
|
645
|
-
createdAt: string;
|
|
646
|
-
updatedAt: string;
|
|
647
862
|
description?: string | undefined;
|
|
648
|
-
inputSchema?: Record<string, unknown> | undefined;
|
|
649
863
|
prompt?: string | undefined;
|
|
864
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
650
865
|
displayedBubbleParameters?: Record<string, {
|
|
651
866
|
variableName: string;
|
|
652
867
|
bubbleName: string;
|
|
653
868
|
className: string;
|
|
654
869
|
parameters: {
|
|
655
|
-
name: string;
|
|
656
870
|
type: BubbleParameterType;
|
|
871
|
+
name: string;
|
|
657
872
|
value?: unknown;
|
|
658
873
|
}[];
|
|
659
874
|
hasAwait: boolean;
|
|
@@ -668,28 +883,49 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
668
883
|
isActive: z.ZodBoolean;
|
|
669
884
|
webhookExecutionCount: z.ZodNumber;
|
|
670
885
|
webhookFailureCount: z.ZodNumber;
|
|
886
|
+
executionCount: z.ZodNumber;
|
|
887
|
+
bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
888
|
+
bubbleName: z.ZodString;
|
|
889
|
+
className: z.ZodString;
|
|
890
|
+
}, "strip", z.ZodTypeAny, {
|
|
891
|
+
bubbleName: string;
|
|
892
|
+
className: string;
|
|
893
|
+
}, {
|
|
894
|
+
bubbleName: string;
|
|
895
|
+
className: string;
|
|
896
|
+
}>, "many">>;
|
|
671
897
|
createdAt: z.ZodString;
|
|
672
898
|
updatedAt: z.ZodString;
|
|
673
899
|
}, "strip", z.ZodTypeAny, {
|
|
674
900
|
name: string;
|
|
675
901
|
id: number;
|
|
676
|
-
eventType: string;
|
|
677
|
-
isActive: boolean;
|
|
678
902
|
createdAt: string;
|
|
679
903
|
updatedAt: string;
|
|
904
|
+
eventType: string;
|
|
905
|
+
isActive: boolean;
|
|
680
906
|
webhookExecutionCount: number;
|
|
681
907
|
webhookFailureCount: number;
|
|
908
|
+
executionCount: number;
|
|
682
909
|
description?: string | undefined;
|
|
910
|
+
bubbles?: {
|
|
911
|
+
bubbleName: string;
|
|
912
|
+
className: string;
|
|
913
|
+
}[] | undefined;
|
|
683
914
|
}, {
|
|
684
915
|
name: string;
|
|
685
916
|
id: number;
|
|
686
|
-
eventType: string;
|
|
687
|
-
isActive: boolean;
|
|
688
917
|
createdAt: string;
|
|
689
918
|
updatedAt: string;
|
|
919
|
+
eventType: string;
|
|
920
|
+
isActive: boolean;
|
|
690
921
|
webhookExecutionCount: number;
|
|
691
922
|
webhookFailureCount: number;
|
|
923
|
+
executionCount: number;
|
|
692
924
|
description?: string | undefined;
|
|
925
|
+
bubbles?: {
|
|
926
|
+
bubbleName: string;
|
|
927
|
+
className: string;
|
|
928
|
+
}[] | undefined;
|
|
693
929
|
}>;
|
|
694
930
|
export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
695
931
|
bubbleFlows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -700,28 +936,49 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
700
936
|
isActive: z.ZodBoolean;
|
|
701
937
|
webhookExecutionCount: z.ZodNumber;
|
|
702
938
|
webhookFailureCount: z.ZodNumber;
|
|
939
|
+
executionCount: z.ZodNumber;
|
|
940
|
+
bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
941
|
+
bubbleName: z.ZodString;
|
|
942
|
+
className: z.ZodString;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
bubbleName: string;
|
|
945
|
+
className: string;
|
|
946
|
+
}, {
|
|
947
|
+
bubbleName: string;
|
|
948
|
+
className: string;
|
|
949
|
+
}>, "many">>;
|
|
703
950
|
createdAt: z.ZodString;
|
|
704
951
|
updatedAt: z.ZodString;
|
|
705
952
|
}, "strip", z.ZodTypeAny, {
|
|
706
953
|
name: string;
|
|
707
954
|
id: number;
|
|
708
|
-
eventType: string;
|
|
709
|
-
isActive: boolean;
|
|
710
955
|
createdAt: string;
|
|
711
956
|
updatedAt: string;
|
|
957
|
+
eventType: string;
|
|
958
|
+
isActive: boolean;
|
|
712
959
|
webhookExecutionCount: number;
|
|
713
960
|
webhookFailureCount: number;
|
|
961
|
+
executionCount: number;
|
|
714
962
|
description?: string | undefined;
|
|
963
|
+
bubbles?: {
|
|
964
|
+
bubbleName: string;
|
|
965
|
+
className: string;
|
|
966
|
+
}[] | undefined;
|
|
715
967
|
}, {
|
|
716
968
|
name: string;
|
|
717
969
|
id: number;
|
|
718
|
-
eventType: string;
|
|
719
|
-
isActive: boolean;
|
|
720
970
|
createdAt: string;
|
|
721
971
|
updatedAt: string;
|
|
972
|
+
eventType: string;
|
|
973
|
+
isActive: boolean;
|
|
722
974
|
webhookExecutionCount: number;
|
|
723
975
|
webhookFailureCount: number;
|
|
976
|
+
executionCount: number;
|
|
724
977
|
description?: string | undefined;
|
|
978
|
+
bubbles?: {
|
|
979
|
+
bubbleName: string;
|
|
980
|
+
className: string;
|
|
981
|
+
}[] | undefined;
|
|
725
982
|
}>, "many">>;
|
|
726
983
|
userMonthlyUsage: z.ZodObject<{
|
|
727
984
|
count: z.ZodNumber;
|
|
@@ -734,13 +991,18 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
734
991
|
bubbleFlows: {
|
|
735
992
|
name: string;
|
|
736
993
|
id: number;
|
|
737
|
-
eventType: string;
|
|
738
|
-
isActive: boolean;
|
|
739
994
|
createdAt: string;
|
|
740
995
|
updatedAt: string;
|
|
996
|
+
eventType: string;
|
|
997
|
+
isActive: boolean;
|
|
741
998
|
webhookExecutionCount: number;
|
|
742
999
|
webhookFailureCount: number;
|
|
1000
|
+
executionCount: number;
|
|
743
1001
|
description?: string | undefined;
|
|
1002
|
+
bubbles?: {
|
|
1003
|
+
bubbleName: string;
|
|
1004
|
+
className: string;
|
|
1005
|
+
}[] | undefined;
|
|
744
1006
|
}[];
|
|
745
1007
|
userMonthlyUsage: {
|
|
746
1008
|
count: number;
|
|
@@ -752,13 +1014,18 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
752
1014
|
bubbleFlows?: {
|
|
753
1015
|
name: string;
|
|
754
1016
|
id: number;
|
|
755
|
-
eventType: string;
|
|
756
|
-
isActive: boolean;
|
|
757
1017
|
createdAt: string;
|
|
758
1018
|
updatedAt: string;
|
|
1019
|
+
eventType: string;
|
|
1020
|
+
isActive: boolean;
|
|
759
1021
|
webhookExecutionCount: number;
|
|
760
1022
|
webhookFailureCount: number;
|
|
1023
|
+
executionCount: number;
|
|
761
1024
|
description?: string | undefined;
|
|
1025
|
+
bubbles?: {
|
|
1026
|
+
bubbleName: string;
|
|
1027
|
+
className: string;
|
|
1028
|
+
}[] | undefined;
|
|
762
1029
|
}[] | undefined;
|
|
763
1030
|
}>;
|
|
764
1031
|
export declare const activateBubbleFlowResponseSchema: z.ZodObject<{
|
|
@@ -779,6 +1046,8 @@ export type CreateBubbleFlowResponse = z.infer<typeof createBubbleFlowResponseSc
|
|
|
779
1046
|
export type CreateBubbleFlowRequest = z.infer<typeof createBubbleFlowSchema>;
|
|
780
1047
|
export type ExecuteBubbleFlowRequest = z.infer<typeof executeBubbleFlowSchema>;
|
|
781
1048
|
export type UpdateBubbleFlowParametersRequest = z.infer<typeof updateBubbleFlowParametersSchema>;
|
|
1049
|
+
export type UpdateBubbleFlowParametersResponse = z.infer<typeof updateBubbleFlowParametersSchema>;
|
|
1050
|
+
export type UpdateBubbleFlowNameRequest = z.infer<typeof updateBubbleFlowNameSchema>;
|
|
782
1051
|
export type BubbleFlowDetailsResponse = z.infer<typeof bubbleFlowDetailsResponseSchema>;
|
|
783
1052
|
export type BubbleFlowListResponse = z.infer<typeof bubbleFlowListResponseSchema>;
|
|
784
1053
|
export type BubbleFlowListItem = z.infer<typeof bubbleFlowListItemSchema>;
|