@bubblelab/shared-schemas 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-definition-schema.d.ts +22 -22
- package/dist/bubbleflow-execution-schema.d.ts +10 -10
- package/dist/bubbleflow-schema.d.ts +42 -42
- package/dist/credential-schema.d.ts +4 -4
- package/dist/database-definition-schema.d.ts +8 -8
- package/dist/generate-bubbleflow-schema.d.ts +12 -12
- package/dist/subscription-status-schema.d.ts +21 -21
- package/dist/webhook-schema.d.ts +4 -4
- package/package.json +3 -5
|
@@ -70,15 +70,15 @@ export declare const BubbleParameterSchema: z.ZodObject<{
|
|
|
70
70
|
value: z.ZodUnknown;
|
|
71
71
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
name: string;
|
|
74
73
|
type: BubbleParameterType;
|
|
75
|
-
|
|
74
|
+
name: string;
|
|
76
75
|
value?: unknown;
|
|
76
|
+
variableId?: number | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
name: string;
|
|
79
78
|
type: BubbleParameterType;
|
|
80
|
-
|
|
79
|
+
name: string;
|
|
81
80
|
value?: unknown;
|
|
81
|
+
variableId?: number | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
export declare const BubbleNodeTypeSchema: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
84
84
|
export declare const DependencyGraphNodeSchema: z.ZodType<DependencyGraphNode>;
|
|
@@ -92,15 +92,15 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
92
92
|
value: z.ZodUnknown;
|
|
93
93
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
name: string;
|
|
96
95
|
type: BubbleParameterType;
|
|
97
|
-
|
|
96
|
+
name: string;
|
|
98
97
|
value?: unknown;
|
|
98
|
+
variableId?: number | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
name: string;
|
|
101
100
|
type: BubbleParameterType;
|
|
102
|
-
|
|
101
|
+
name: string;
|
|
103
102
|
value?: unknown;
|
|
103
|
+
variableId?: number | undefined;
|
|
104
104
|
}>, "many">;
|
|
105
105
|
hasAwait: z.ZodBoolean;
|
|
106
106
|
hasActionCall: z.ZodBoolean;
|
|
@@ -111,10 +111,10 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
111
111
|
bubbleName: string;
|
|
112
112
|
className: string;
|
|
113
113
|
parameters: {
|
|
114
|
-
name: string;
|
|
115
114
|
type: BubbleParameterType;
|
|
116
|
-
|
|
115
|
+
name: string;
|
|
117
116
|
value?: unknown;
|
|
117
|
+
variableId?: number | undefined;
|
|
118
118
|
}[];
|
|
119
119
|
hasAwait: boolean;
|
|
120
120
|
hasActionCall: boolean;
|
|
@@ -125,10 +125,10 @@ export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
|
125
125
|
bubbleName: string;
|
|
126
126
|
className: string;
|
|
127
127
|
parameters: {
|
|
128
|
-
name: string;
|
|
129
128
|
type: BubbleParameterType;
|
|
130
|
-
|
|
129
|
+
name: string;
|
|
131
130
|
value?: unknown;
|
|
131
|
+
variableId?: number | undefined;
|
|
132
132
|
}[];
|
|
133
133
|
hasAwait: boolean;
|
|
134
134
|
hasActionCall: boolean;
|
|
@@ -155,15 +155,15 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
155
155
|
value: z.ZodUnknown;
|
|
156
156
|
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
name: string;
|
|
159
158
|
type: BubbleParameterType;
|
|
160
|
-
|
|
159
|
+
name: string;
|
|
161
160
|
value?: unknown;
|
|
161
|
+
variableId?: number | undefined;
|
|
162
162
|
}, {
|
|
163
|
-
name: string;
|
|
164
163
|
type: BubbleParameterType;
|
|
165
|
-
|
|
164
|
+
name: string;
|
|
166
165
|
value?: unknown;
|
|
166
|
+
variableId?: number | undefined;
|
|
167
167
|
}>, "many">;
|
|
168
168
|
hasAwait: z.ZodBoolean;
|
|
169
169
|
hasActionCall: z.ZodBoolean;
|
|
@@ -190,17 +190,17 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
191
|
variableId: number;
|
|
192
192
|
variableName: string;
|
|
193
|
-
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
194
193
|
bubbleName: string;
|
|
195
194
|
className: string;
|
|
196
195
|
parameters: {
|
|
197
|
-
name: string;
|
|
198
196
|
type: BubbleParameterType;
|
|
199
|
-
|
|
197
|
+
name: string;
|
|
200
198
|
value?: unknown;
|
|
199
|
+
variableId?: number | undefined;
|
|
201
200
|
}[];
|
|
202
201
|
hasAwait: boolean;
|
|
203
202
|
hasActionCall: boolean;
|
|
203
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
204
204
|
location: {
|
|
205
205
|
startLine: number;
|
|
206
206
|
startCol: number;
|
|
@@ -212,17 +212,17 @@ export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
|
212
212
|
}, {
|
|
213
213
|
variableId: number;
|
|
214
214
|
variableName: string;
|
|
215
|
-
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
216
215
|
bubbleName: string;
|
|
217
216
|
className: string;
|
|
218
217
|
parameters: {
|
|
219
|
-
name: string;
|
|
220
218
|
type: BubbleParameterType;
|
|
221
|
-
|
|
219
|
+
name: string;
|
|
222
220
|
value?: unknown;
|
|
221
|
+
variableId?: number | undefined;
|
|
223
222
|
}[];
|
|
224
223
|
hasAwait: boolean;
|
|
225
224
|
hasActionCall: boolean;
|
|
225
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
226
226
|
location: {
|
|
227
227
|
startLine: number;
|
|
228
228
|
startCol: number;
|
|
@@ -133,7 +133,7 @@ export declare const bubbleFlowExecutionSchema: z.ZodObject<{
|
|
|
133
133
|
webhook_url: z.ZodString;
|
|
134
134
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
status: "
|
|
136
|
+
status: "error" | "running" | "success";
|
|
137
137
|
id: number;
|
|
138
138
|
payload: Record<string, any>;
|
|
139
139
|
startedAt: string;
|
|
@@ -142,7 +142,7 @@ export declare const bubbleFlowExecutionSchema: z.ZodObject<{
|
|
|
142
142
|
result?: any;
|
|
143
143
|
completedAt?: string | undefined;
|
|
144
144
|
}, {
|
|
145
|
-
status: "
|
|
145
|
+
status: "error" | "running" | "success";
|
|
146
146
|
id: number;
|
|
147
147
|
payload: Record<string, any>;
|
|
148
148
|
startedAt: string;
|
|
@@ -161,7 +161,7 @@ export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObj
|
|
|
161
161
|
webhook_url: z.ZodString;
|
|
162
162
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
status: "
|
|
164
|
+
status: "error" | "running" | "success";
|
|
165
165
|
id: number;
|
|
166
166
|
payload: Record<string, any>;
|
|
167
167
|
startedAt: string;
|
|
@@ -170,7 +170,7 @@ export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObj
|
|
|
170
170
|
result?: any;
|
|
171
171
|
completedAt?: string | undefined;
|
|
172
172
|
}, {
|
|
173
|
-
status: "
|
|
173
|
+
status: "error" | "running" | "success";
|
|
174
174
|
id: number;
|
|
175
175
|
payload: Record<string, any>;
|
|
176
176
|
startedAt: string;
|
|
@@ -437,6 +437,7 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
437
437
|
endCol: number;
|
|
438
438
|
}>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
variableId: number;
|
|
440
441
|
variableName: string;
|
|
441
442
|
bubbleName: string;
|
|
442
443
|
className: string;
|
|
@@ -446,7 +447,6 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
446
447
|
value?: unknown;
|
|
447
448
|
variableId?: number | undefined;
|
|
448
449
|
}[];
|
|
449
|
-
variableId: number;
|
|
450
450
|
hasAwait: boolean;
|
|
451
451
|
hasActionCall: boolean;
|
|
452
452
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -459,6 +459,7 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
459
459
|
dependencies?: import("./types").BubbleName[] | undefined;
|
|
460
460
|
dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined;
|
|
461
461
|
}, {
|
|
462
|
+
variableId: number;
|
|
462
463
|
variableName: string;
|
|
463
464
|
bubbleName: string;
|
|
464
465
|
className: string;
|
|
@@ -468,7 +469,6 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
468
469
|
value?: unknown;
|
|
469
470
|
variableId?: number | undefined;
|
|
470
471
|
}[];
|
|
471
|
-
variableId: number;
|
|
472
472
|
hasAwait: boolean;
|
|
473
473
|
hasActionCall: boolean;
|
|
474
474
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -501,9 +501,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
501
501
|
success: z.ZodBoolean;
|
|
502
502
|
error: z.ZodString;
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
error: string;
|
|
504
505
|
valid: boolean;
|
|
505
506
|
success: boolean;
|
|
506
|
-
error: string;
|
|
507
507
|
inputSchema: Record<string, unknown>;
|
|
508
508
|
metadata: {
|
|
509
509
|
strictMode: boolean;
|
|
@@ -514,6 +514,7 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
514
514
|
errors?: string[] | undefined;
|
|
515
515
|
bubbleCount?: number | undefined;
|
|
516
516
|
bubbles?: Record<string, {
|
|
517
|
+
variableId: number;
|
|
517
518
|
variableName: string;
|
|
518
519
|
bubbleName: string;
|
|
519
520
|
className: string;
|
|
@@ -523,7 +524,6 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
523
524
|
value?: unknown;
|
|
524
525
|
variableId?: number | undefined;
|
|
525
526
|
}[];
|
|
526
|
-
variableId: number;
|
|
527
527
|
hasAwait: boolean;
|
|
528
528
|
hasActionCall: boolean;
|
|
529
529
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -538,9 +538,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
538
538
|
}> | undefined;
|
|
539
539
|
requiredCredentials?: Record<string, string[]> | undefined;
|
|
540
540
|
}, {
|
|
541
|
+
error: string;
|
|
541
542
|
valid: boolean;
|
|
542
543
|
success: boolean;
|
|
543
|
-
error: string;
|
|
544
544
|
inputSchema: Record<string, unknown>;
|
|
545
545
|
metadata: {
|
|
546
546
|
strictMode: boolean;
|
|
@@ -551,6 +551,7 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
551
551
|
errors?: string[] | undefined;
|
|
552
552
|
bubbleCount?: number | undefined;
|
|
553
553
|
bubbles?: Record<string, {
|
|
554
|
+
variableId: number;
|
|
554
555
|
variableName: string;
|
|
555
556
|
bubbleName: string;
|
|
556
557
|
className: string;
|
|
@@ -560,7 +561,6 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
560
561
|
value?: unknown;
|
|
561
562
|
variableId?: number | undefined;
|
|
562
563
|
}[];
|
|
563
|
-
variableId: number;
|
|
564
564
|
hasAwait: boolean;
|
|
565
565
|
hasActionCall: boolean;
|
|
566
566
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -71,6 +71,7 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
71
71
|
endCol: number;
|
|
72
72
|
}>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
variableId: number;
|
|
74
75
|
variableName: string;
|
|
75
76
|
bubbleName: string;
|
|
76
77
|
className: string;
|
|
@@ -80,7 +81,6 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
80
81
|
value?: unknown;
|
|
81
82
|
variableId?: number | undefined;
|
|
82
83
|
}[];
|
|
83
|
-
variableId: number;
|
|
84
84
|
hasAwait: boolean;
|
|
85
85
|
hasActionCall: boolean;
|
|
86
86
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -93,6 +93,7 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
93
93
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
94
94
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
95
95
|
}, {
|
|
96
|
+
variableId: number;
|
|
96
97
|
variableName: string;
|
|
97
98
|
bubbleName: string;
|
|
98
99
|
className: string;
|
|
@@ -102,7 +103,6 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
102
103
|
value?: unknown;
|
|
103
104
|
variableId?: number | undefined;
|
|
104
105
|
}[];
|
|
105
|
-
variableId: number;
|
|
106
106
|
hasAwait: boolean;
|
|
107
107
|
hasActionCall: boolean;
|
|
108
108
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -178,19 +178,12 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
178
178
|
value?: unknown;
|
|
179
179
|
variableId?: number | undefined;
|
|
180
180
|
}[];
|
|
181
|
-
variableId: number;
|
|
182
181
|
hasAwait: boolean;
|
|
183
182
|
hasActionCall: boolean;
|
|
184
|
-
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
185
|
-
location: {
|
|
186
|
-
startLine: number;
|
|
187
|
-
startCol: number;
|
|
188
|
-
endLine: number;
|
|
189
|
-
endCol: number;
|
|
190
|
-
};
|
|
191
183
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
192
184
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
193
185
|
} | {
|
|
186
|
+
variableId: number;
|
|
194
187
|
variableName: string;
|
|
195
188
|
bubbleName: string;
|
|
196
189
|
className: string;
|
|
@@ -202,6 +195,13 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
202
195
|
}[];
|
|
203
196
|
hasAwait: boolean;
|
|
204
197
|
hasActionCall: boolean;
|
|
198
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
199
|
+
location: {
|
|
200
|
+
startLine: number;
|
|
201
|
+
startCol: number;
|
|
202
|
+
endLine: number;
|
|
203
|
+
endCol: number;
|
|
204
|
+
};
|
|
205
205
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
206
206
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
207
207
|
}>;
|
|
@@ -216,19 +216,12 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
216
216
|
value?: unknown;
|
|
217
217
|
variableId?: number | undefined;
|
|
218
218
|
}[];
|
|
219
|
-
variableId: number;
|
|
220
219
|
hasAwait: boolean;
|
|
221
220
|
hasActionCall: boolean;
|
|
222
|
-
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
223
|
-
location: {
|
|
224
|
-
startLine: number;
|
|
225
|
-
startCol: number;
|
|
226
|
-
endLine: number;
|
|
227
|
-
endCol: number;
|
|
228
|
-
};
|
|
229
221
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
230
222
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
231
223
|
} | {
|
|
224
|
+
variableId: number;
|
|
232
225
|
variableName: string;
|
|
233
226
|
bubbleName: string;
|
|
234
227
|
className: string;
|
|
@@ -240,6 +233,13 @@ export declare const updateBubbleFlowParametersSchema: z.ZodObject<{
|
|
|
240
233
|
}[];
|
|
241
234
|
hasAwait: boolean;
|
|
242
235
|
hasActionCall: boolean;
|
|
236
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
237
|
+
location: {
|
|
238
|
+
startLine: number;
|
|
239
|
+
startCol: number;
|
|
240
|
+
endLine: number;
|
|
241
|
+
endCol: number;
|
|
242
|
+
};
|
|
243
243
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
244
244
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
245
245
|
}>;
|
|
@@ -291,6 +291,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
291
291
|
endCol: number;
|
|
292
292
|
}>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
variableId: number;
|
|
294
295
|
variableName: string;
|
|
295
296
|
bubbleName: string;
|
|
296
297
|
className: string;
|
|
@@ -300,7 +301,6 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
300
301
|
value?: unknown;
|
|
301
302
|
variableId?: number | undefined;
|
|
302
303
|
}[];
|
|
303
|
-
variableId: number;
|
|
304
304
|
hasAwait: boolean;
|
|
305
305
|
hasActionCall: boolean;
|
|
306
306
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -313,6 +313,7 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
313
313
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
314
314
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
315
315
|
}, {
|
|
316
|
+
variableId: number;
|
|
316
317
|
variableName: string;
|
|
317
318
|
bubbleName: string;
|
|
318
319
|
className: string;
|
|
@@ -322,7 +323,6 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
322
323
|
value?: unknown;
|
|
323
324
|
variableId?: number | undefined;
|
|
324
325
|
}[];
|
|
325
|
-
variableId: number;
|
|
326
326
|
hasAwait: boolean;
|
|
327
327
|
hasActionCall: boolean;
|
|
328
328
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -342,20 +342,21 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
342
342
|
path: z.ZodString;
|
|
343
343
|
active: z.ZodBoolean;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
id: number;
|
|
346
345
|
path: string;
|
|
346
|
+
id: number;
|
|
347
347
|
url: string;
|
|
348
348
|
active: boolean;
|
|
349
349
|
}, {
|
|
350
|
-
id: number;
|
|
351
350
|
path: string;
|
|
351
|
+
id: number;
|
|
352
352
|
url: string;
|
|
353
353
|
active: boolean;
|
|
354
354
|
}>>;
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
id: number;
|
|
357
356
|
message: string;
|
|
357
|
+
id: number;
|
|
358
358
|
bubbleParameters: Record<string, {
|
|
359
|
+
variableId: number;
|
|
359
360
|
variableName: string;
|
|
360
361
|
bubbleName: string;
|
|
361
362
|
className: string;
|
|
@@ -365,7 +366,6 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
365
366
|
value?: unknown;
|
|
366
367
|
variableId?: number | undefined;
|
|
367
368
|
}[];
|
|
368
|
-
variableId: number;
|
|
369
369
|
hasAwait: boolean;
|
|
370
370
|
hasActionCall: boolean;
|
|
371
371
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -381,15 +381,16 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
381
381
|
inputSchema?: Record<string, unknown> | undefined;
|
|
382
382
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
383
383
|
webhook?: {
|
|
384
|
-
id: number;
|
|
385
384
|
path: string;
|
|
385
|
+
id: number;
|
|
386
386
|
url: string;
|
|
387
387
|
active: boolean;
|
|
388
388
|
} | undefined;
|
|
389
389
|
}, {
|
|
390
|
-
id: number;
|
|
391
390
|
message: string;
|
|
391
|
+
id: number;
|
|
392
392
|
bubbleParameters: Record<string, {
|
|
393
|
+
variableId: number;
|
|
393
394
|
variableName: string;
|
|
394
395
|
bubbleName: string;
|
|
395
396
|
className: string;
|
|
@@ -399,7 +400,6 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
399
400
|
value?: unknown;
|
|
400
401
|
variableId?: number | undefined;
|
|
401
402
|
}[];
|
|
402
|
-
variableId: number;
|
|
403
403
|
hasAwait: boolean;
|
|
404
404
|
hasActionCall: boolean;
|
|
405
405
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -415,8 +415,8 @@ export declare const createBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
415
415
|
inputSchema?: Record<string, unknown> | undefined;
|
|
416
416
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
417
417
|
webhook?: {
|
|
418
|
-
id: number;
|
|
419
418
|
path: string;
|
|
419
|
+
id: number;
|
|
420
420
|
url: string;
|
|
421
421
|
active: boolean;
|
|
422
422
|
} | undefined;
|
|
@@ -516,6 +516,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
516
516
|
endCol: number;
|
|
517
517
|
}>;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
|
+
variableId: number;
|
|
519
520
|
variableName: string;
|
|
520
521
|
bubbleName: string;
|
|
521
522
|
className: string;
|
|
@@ -525,7 +526,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
525
526
|
value?: unknown;
|
|
526
527
|
variableId?: number | undefined;
|
|
527
528
|
}[];
|
|
528
|
-
variableId: number;
|
|
529
529
|
hasAwait: boolean;
|
|
530
530
|
hasActionCall: boolean;
|
|
531
531
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -538,6 +538,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
538
538
|
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
539
539
|
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
540
540
|
}, {
|
|
541
|
+
variableId: number;
|
|
541
542
|
variableName: string;
|
|
542
543
|
bubbleName: string;
|
|
543
544
|
className: string;
|
|
@@ -547,7 +548,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
547
548
|
value?: unknown;
|
|
548
549
|
variableId?: number | undefined;
|
|
549
550
|
}[];
|
|
550
|
-
variableId: number;
|
|
551
551
|
hasAwait: boolean;
|
|
552
552
|
hasActionCall: boolean;
|
|
553
553
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -564,13 +564,14 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
564
564
|
updatedAt: z.ZodString;
|
|
565
565
|
webhook_url: z.ZodString;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
id: number;
|
|
568
567
|
code: string;
|
|
569
|
-
webhook_url: string;
|
|
570
568
|
name: string;
|
|
569
|
+
id: number;
|
|
570
|
+
webhook_url: string;
|
|
571
571
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
572
572
|
eventType: string;
|
|
573
573
|
bubbleParameters: Record<string, {
|
|
574
|
+
variableId: number;
|
|
574
575
|
variableName: string;
|
|
575
576
|
bubbleName: string;
|
|
576
577
|
className: string;
|
|
@@ -580,7 +581,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
580
581
|
value?: unknown;
|
|
581
582
|
variableId?: number | undefined;
|
|
582
583
|
}[];
|
|
583
|
-
variableId: number;
|
|
584
584
|
hasAwait: boolean;
|
|
585
585
|
hasActionCall: boolean;
|
|
586
586
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -612,13 +612,14 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
612
612
|
hasActionCall: boolean;
|
|
613
613
|
}> | undefined;
|
|
614
614
|
}, {
|
|
615
|
-
id: number;
|
|
616
615
|
code: string;
|
|
617
|
-
webhook_url: string;
|
|
618
616
|
name: string;
|
|
617
|
+
id: number;
|
|
618
|
+
webhook_url: string;
|
|
619
619
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
620
620
|
eventType: string;
|
|
621
621
|
bubbleParameters: Record<string, {
|
|
622
|
+
variableId: number;
|
|
622
623
|
variableName: string;
|
|
623
624
|
bubbleName: string;
|
|
624
625
|
className: string;
|
|
@@ -628,7 +629,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
628
629
|
value?: unknown;
|
|
629
630
|
variableId?: number | undefined;
|
|
630
631
|
}[];
|
|
631
|
-
variableId: number;
|
|
632
632
|
hasAwait: boolean;
|
|
633
633
|
hasActionCall: boolean;
|
|
634
634
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -671,8 +671,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
671
671
|
createdAt: z.ZodString;
|
|
672
672
|
updatedAt: z.ZodString;
|
|
673
673
|
}, "strip", z.ZodTypeAny, {
|
|
674
|
-
id: number;
|
|
675
674
|
name: string;
|
|
675
|
+
id: number;
|
|
676
676
|
eventType: string;
|
|
677
677
|
isActive: boolean;
|
|
678
678
|
createdAt: string;
|
|
@@ -681,8 +681,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
681
681
|
webhookFailureCount: number;
|
|
682
682
|
description?: string | undefined;
|
|
683
683
|
}, {
|
|
684
|
-
id: number;
|
|
685
684
|
name: string;
|
|
685
|
+
id: number;
|
|
686
686
|
eventType: string;
|
|
687
687
|
isActive: boolean;
|
|
688
688
|
createdAt: string;
|
|
@@ -703,8 +703,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
703
703
|
createdAt: z.ZodString;
|
|
704
704
|
updatedAt: z.ZodString;
|
|
705
705
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
id: number;
|
|
707
706
|
name: string;
|
|
707
|
+
id: number;
|
|
708
708
|
eventType: string;
|
|
709
709
|
isActive: boolean;
|
|
710
710
|
createdAt: string;
|
|
@@ -713,8 +713,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
713
713
|
webhookFailureCount: number;
|
|
714
714
|
description?: string | undefined;
|
|
715
715
|
}, {
|
|
716
|
-
id: number;
|
|
717
716
|
name: string;
|
|
717
|
+
id: number;
|
|
718
718
|
eventType: string;
|
|
719
719
|
isActive: boolean;
|
|
720
720
|
createdAt: string;
|
|
@@ -732,8 +732,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
732
732
|
}>;
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
734
|
bubbleFlows: {
|
|
735
|
-
id: number;
|
|
736
735
|
name: string;
|
|
736
|
+
id: number;
|
|
737
737
|
eventType: string;
|
|
738
738
|
isActive: boolean;
|
|
739
739
|
createdAt: string;
|
|
@@ -750,8 +750,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
750
750
|
count: number;
|
|
751
751
|
};
|
|
752
752
|
bubbleFlows?: {
|
|
753
|
-
id: number;
|
|
754
753
|
name: string;
|
|
754
|
+
id: number;
|
|
755
755
|
eventType: string;
|
|
756
756
|
isActive: boolean;
|
|
757
757
|
createdAt: string;
|
|
@@ -374,21 +374,21 @@ export declare const createCredentialResponseSchema: z.ZodObject<{
|
|
|
374
374
|
id: z.ZodNumber;
|
|
375
375
|
message: z.ZodString;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
id: number;
|
|
378
377
|
message: string;
|
|
379
|
-
}, {
|
|
380
378
|
id: number;
|
|
379
|
+
}, {
|
|
381
380
|
message: string;
|
|
381
|
+
id: number;
|
|
382
382
|
}>;
|
|
383
383
|
export declare const updateCredentialResponseSchema: z.ZodObject<{
|
|
384
384
|
id: z.ZodNumber;
|
|
385
385
|
message: z.ZodString;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
id: number;
|
|
388
387
|
message: string;
|
|
389
|
-
}, {
|
|
390
388
|
id: number;
|
|
389
|
+
}, {
|
|
391
390
|
message: string;
|
|
391
|
+
id: number;
|
|
392
392
|
}>;
|
|
393
393
|
export declare const successMessageResponseSchema: z.ZodObject<{
|
|
394
394
|
message: z.ZodString;
|
|
@@ -51,16 +51,16 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
51
51
|
updatedAt: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
id: string;
|
|
54
|
-
text: string;
|
|
55
|
-
enabled: boolean;
|
|
56
54
|
createdAt: string;
|
|
57
55
|
updatedAt: string;
|
|
58
|
-
}, {
|
|
59
|
-
id: string;
|
|
60
56
|
text: string;
|
|
61
57
|
enabled: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
id: string;
|
|
62
60
|
createdAt: string;
|
|
63
61
|
updatedAt: string;
|
|
62
|
+
text: string;
|
|
63
|
+
enabled: boolean;
|
|
64
64
|
}>, "many">>;
|
|
65
65
|
notes: z.ZodOptional<z.ZodString>;
|
|
66
66
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -71,10 +71,10 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
71
71
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
72
72
|
rules?: {
|
|
73
73
|
id: string;
|
|
74
|
-
text: string;
|
|
75
|
-
enabled: boolean;
|
|
76
74
|
createdAt: string;
|
|
77
75
|
updatedAt: string;
|
|
76
|
+
text: string;
|
|
77
|
+
enabled: boolean;
|
|
78
78
|
}[] | undefined;
|
|
79
79
|
notes?: string | undefined;
|
|
80
80
|
tags?: string[] | undefined;
|
|
@@ -85,10 +85,10 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
85
85
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
86
86
|
rules?: {
|
|
87
87
|
id: string;
|
|
88
|
-
text: string;
|
|
89
|
-
enabled: boolean;
|
|
90
88
|
createdAt: string;
|
|
91
89
|
updatedAt: string;
|
|
90
|
+
text: string;
|
|
91
|
+
enabled: boolean;
|
|
92
92
|
}[] | undefined;
|
|
93
93
|
notes?: string | undefined;
|
|
94
94
|
tags?: string[] | undefined;
|
|
@@ -56,6 +56,7 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
56
56
|
endCol: number;
|
|
57
57
|
}>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
variableId: number;
|
|
59
60
|
variableName: string;
|
|
60
61
|
bubbleName: string;
|
|
61
62
|
className: string;
|
|
@@ -65,7 +66,6 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
65
66
|
value?: unknown;
|
|
66
67
|
variableId?: number | undefined;
|
|
67
68
|
}[];
|
|
68
|
-
variableId: number;
|
|
69
69
|
hasAwait: boolean;
|
|
70
70
|
hasActionCall: boolean;
|
|
71
71
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -78,6 +78,7 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
78
78
|
dependencies?: import("./types").BubbleName[] | undefined;
|
|
79
79
|
dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined;
|
|
80
80
|
}, {
|
|
81
|
+
variableId: number;
|
|
81
82
|
variableName: string;
|
|
82
83
|
bubbleName: string;
|
|
83
84
|
className: string;
|
|
@@ -87,7 +88,6 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
87
88
|
value?: unknown;
|
|
88
89
|
variableId?: number | undefined;
|
|
89
90
|
}[];
|
|
90
|
-
variableId: number;
|
|
91
91
|
hasAwait: boolean;
|
|
92
92
|
hasActionCall: boolean;
|
|
93
93
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -102,10 +102,11 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
102
102
|
}>>;
|
|
103
103
|
requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
success: boolean;
|
|
106
105
|
error: string;
|
|
106
|
+
success: boolean;
|
|
107
107
|
requiredCredentials: Record<string, string[]>;
|
|
108
108
|
bubbleParameters: Record<string, {
|
|
109
|
+
variableId: number;
|
|
109
110
|
variableName: string;
|
|
110
111
|
bubbleName: string;
|
|
111
112
|
className: string;
|
|
@@ -115,7 +116,6 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
115
116
|
value?: unknown;
|
|
116
117
|
variableId?: number | undefined;
|
|
117
118
|
}[];
|
|
118
|
-
variableId: number;
|
|
119
119
|
hasAwait: boolean;
|
|
120
120
|
hasActionCall: boolean;
|
|
121
121
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -131,10 +131,11 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
131
131
|
generatedCode: string;
|
|
132
132
|
isValid: boolean;
|
|
133
133
|
}, {
|
|
134
|
-
success: boolean;
|
|
135
134
|
error: string;
|
|
135
|
+
success: boolean;
|
|
136
136
|
requiredCredentials: Record<string, string[]>;
|
|
137
137
|
bubbleParameters: Record<string, {
|
|
138
|
+
variableId: number;
|
|
138
139
|
variableName: string;
|
|
139
140
|
bubbleName: string;
|
|
140
141
|
className: string;
|
|
@@ -144,7 +145,6 @@ export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
144
145
|
value?: unknown;
|
|
145
146
|
variableId?: number | undefined;
|
|
146
147
|
}[];
|
|
147
|
-
variableId: number;
|
|
148
148
|
hasAwait: boolean;
|
|
149
149
|
hasActionCall: boolean;
|
|
150
150
|
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
@@ -387,20 +387,20 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
387
387
|
path: z.ZodString;
|
|
388
388
|
active: z.ZodBoolean;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
id: number;
|
|
391
390
|
path: string;
|
|
391
|
+
id: number;
|
|
392
392
|
url: string;
|
|
393
393
|
active: boolean;
|
|
394
394
|
}, {
|
|
395
|
-
id: number;
|
|
396
395
|
path: string;
|
|
396
|
+
id: number;
|
|
397
397
|
url: string;
|
|
398
398
|
active: boolean;
|
|
399
399
|
}>>;
|
|
400
400
|
}, "strip", z.ZodTypeAny, {
|
|
401
401
|
description: string;
|
|
402
|
-
id: number;
|
|
403
402
|
name: string;
|
|
403
|
+
id: number;
|
|
404
404
|
eventType: string;
|
|
405
405
|
bubbleParameters: Record<string, {
|
|
406
406
|
variableName: string;
|
|
@@ -430,15 +430,15 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
430
430
|
updatedAt: string;
|
|
431
431
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
432
432
|
webhook?: {
|
|
433
|
-
id: number;
|
|
434
433
|
path: string;
|
|
434
|
+
id: number;
|
|
435
435
|
url: string;
|
|
436
436
|
active: boolean;
|
|
437
437
|
} | undefined;
|
|
438
438
|
}, {
|
|
439
439
|
description: string;
|
|
440
|
-
id: number;
|
|
441
440
|
name: string;
|
|
441
|
+
id: number;
|
|
442
442
|
eventType: string;
|
|
443
443
|
bubbleParameters: Record<string, {
|
|
444
444
|
variableName: string;
|
|
@@ -468,8 +468,8 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
468
468
|
updatedAt: string;
|
|
469
469
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
470
470
|
webhook?: {
|
|
471
|
-
id: number;
|
|
472
471
|
path: string;
|
|
472
|
+
id: number;
|
|
473
473
|
url: string;
|
|
474
474
|
active: boolean;
|
|
475
475
|
} | undefined;
|
|
@@ -15,76 +15,76 @@ export declare const subscriptionStatusResponseSchema: z.ZodObject<{
|
|
|
15
15
|
outputTokens: z.ZodNumber;
|
|
16
16
|
totalTokens: z.ZodNumber;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
modelName: string;
|
|
19
18
|
inputTokens: number;
|
|
20
19
|
outputTokens: number;
|
|
21
20
|
totalTokens: number;
|
|
22
|
-
}, {
|
|
23
21
|
modelName: string;
|
|
22
|
+
}, {
|
|
24
23
|
inputTokens: number;
|
|
25
24
|
outputTokens: number;
|
|
26
25
|
totalTokens: number;
|
|
26
|
+
modelName: string;
|
|
27
27
|
}>, "many">;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
current: number;
|
|
30
|
-
limit: number;
|
|
31
|
-
percentage: number;
|
|
32
|
-
resetDate: string;
|
|
33
29
|
tokenUsage: {
|
|
34
|
-
modelName: string;
|
|
35
30
|
inputTokens: number;
|
|
36
31
|
outputTokens: number;
|
|
37
32
|
totalTokens: number;
|
|
33
|
+
modelName: string;
|
|
38
34
|
}[];
|
|
39
|
-
}, {
|
|
40
35
|
current: number;
|
|
41
36
|
limit: number;
|
|
42
37
|
percentage: number;
|
|
43
38
|
resetDate: string;
|
|
39
|
+
}, {
|
|
44
40
|
tokenUsage: {
|
|
45
|
-
modelName: string;
|
|
46
41
|
inputTokens: number;
|
|
47
42
|
outputTokens: number;
|
|
48
43
|
totalTokens: number;
|
|
44
|
+
modelName: string;
|
|
49
45
|
}[];
|
|
46
|
+
current: number;
|
|
47
|
+
limit: number;
|
|
48
|
+
percentage: number;
|
|
49
|
+
resetDate: string;
|
|
50
50
|
}>;
|
|
51
51
|
isActive: z.ZodBoolean;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
isActive: boolean;
|
|
53
54
|
userId: string;
|
|
54
55
|
plan: string;
|
|
55
56
|
planDisplayName: string;
|
|
56
57
|
features: string[];
|
|
57
58
|
usage: {
|
|
58
|
-
current: number;
|
|
59
|
-
limit: number;
|
|
60
|
-
percentage: number;
|
|
61
|
-
resetDate: string;
|
|
62
59
|
tokenUsage: {
|
|
63
|
-
modelName: string;
|
|
64
60
|
inputTokens: number;
|
|
65
61
|
outputTokens: number;
|
|
66
62
|
totalTokens: number;
|
|
63
|
+
modelName: string;
|
|
67
64
|
}[];
|
|
65
|
+
current: number;
|
|
66
|
+
limit: number;
|
|
67
|
+
percentage: number;
|
|
68
|
+
resetDate: string;
|
|
68
69
|
};
|
|
69
|
-
isActive: boolean;
|
|
70
70
|
}, {
|
|
71
|
+
isActive: boolean;
|
|
71
72
|
userId: string;
|
|
72
73
|
plan: string;
|
|
73
74
|
planDisplayName: string;
|
|
74
75
|
features: string[];
|
|
75
76
|
usage: {
|
|
76
|
-
current: number;
|
|
77
|
-
limit: number;
|
|
78
|
-
percentage: number;
|
|
79
|
-
resetDate: string;
|
|
80
77
|
tokenUsage: {
|
|
81
|
-
modelName: string;
|
|
82
78
|
inputTokens: number;
|
|
83
79
|
outputTokens: number;
|
|
84
80
|
totalTokens: number;
|
|
81
|
+
modelName: string;
|
|
85
82
|
}[];
|
|
83
|
+
current: number;
|
|
84
|
+
limit: number;
|
|
85
|
+
percentage: number;
|
|
86
|
+
resetDate: string;
|
|
86
87
|
};
|
|
87
|
-
isActive: boolean;
|
|
88
88
|
}>;
|
|
89
89
|
export type SubscriptionStatusResponse = z.infer<typeof subscriptionStatusResponseSchema>;
|
|
90
90
|
//# sourceMappingURL=subscription-status-schema.d.ts.map
|
package/dist/webhook-schema.d.ts
CHANGED
|
@@ -66,8 +66,9 @@ export declare const webhookResponseSchema: z.ZodObject<{
|
|
|
66
66
|
method: string;
|
|
67
67
|
}>>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
success?: boolean | undefined;
|
|
70
69
|
error?: string | undefined;
|
|
70
|
+
challenge?: string | undefined;
|
|
71
|
+
success?: boolean | undefined;
|
|
71
72
|
executionId?: number | undefined;
|
|
72
73
|
data?: Record<string, unknown> | undefined;
|
|
73
74
|
webhook?: {
|
|
@@ -76,10 +77,10 @@ export declare const webhookResponseSchema: z.ZodObject<{
|
|
|
76
77
|
triggeredAt: string;
|
|
77
78
|
method: string;
|
|
78
79
|
} | undefined;
|
|
79
|
-
challenge?: string | undefined;
|
|
80
80
|
}, {
|
|
81
|
-
success?: boolean | undefined;
|
|
82
81
|
error?: string | undefined;
|
|
82
|
+
challenge?: string | undefined;
|
|
83
|
+
success?: boolean | undefined;
|
|
83
84
|
executionId?: number | undefined;
|
|
84
85
|
data?: Record<string, unknown> | undefined;
|
|
85
86
|
webhook?: {
|
|
@@ -88,7 +89,6 @@ export declare const webhookResponseSchema: z.ZodObject<{
|
|
|
88
89
|
triggeredAt: string;
|
|
89
90
|
method: string;
|
|
90
91
|
} | undefined;
|
|
91
|
-
challenge?: string | undefined;
|
|
92
92
|
}>;
|
|
93
93
|
export type WebhookResponse = z.infer<typeof webhookResponseSchema>;
|
|
94
94
|
export type WebhookExecutionResponse = z.infer<typeof webhookExecutionResponseSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/shared-schemas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"zod": "
|
|
24
|
+
"zod": "=3.25.76",
|
|
25
|
+
"@hono/zod-openapi": "=0.18.3"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@types/node": "^24.0.15",
|
|
@@ -31,9 +32,6 @@
|
|
|
31
32
|
"typescript": "^5.8.3",
|
|
32
33
|
"vitest": "^2.1.8"
|
|
33
34
|
},
|
|
34
|
-
"peerDependencies": {
|
|
35
|
-
"@hono/zod-openapi": "^1.0.2"
|
|
36
|
-
},
|
|
37
35
|
"scripts": {
|
|
38
36
|
"build": "tsc",
|
|
39
37
|
"dev": "tsc --watch",
|