@bubblelab/bubble-core 0.1.250 → 0.1.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +130 -89
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +3 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +56 -56
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +385 -385
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js +6 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +2 -2
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +2 -2
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/firecrawl.d.ts +176 -176
- package/dist/bubbles/service-bubble/followupboss.d.ts +8 -8
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +64 -64
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
- package/dist/bubbles/service-bubble/jira/jira.d.ts +57 -38
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +77 -13
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.d.ts +376 -376
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +2 -2
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack/slack.d.ts +102 -102
- package/dist/bubbles/service-bubble/snowflake/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/snowflake/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/index.js +4 -0
- package/dist/bubbles/service-bubble/snowflake/index.js.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +354 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.js +285 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.js.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +321 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.js +198 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.utils.d.ts +44 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.utils.js +97 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +14 -14
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +34 -34
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +10 -10
- package/dist/bubbles.json +516 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflake.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/snowflake/snowflake.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GAItB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,OAAO,eAEX,SAAQ,aAGT;IACC,MAAM,CAAU,IAAI,GAAG,SAAkB,CAAC;IAC1C,MAAM,CAAU,OAAO,GAAG,WAAW,CAAC;IACtC,MAAM,CAAU,QAAQ,GAAG,QAAiB,CAAC;IAC7C,MAAM,CAAU,UAAU,GAAG,WAAW,CAAC;IACzC,MAAM,CAAU,MAAM,GAAG,qBAAqB,CAAC;IAC/C,MAAM,CAAU,YAAY,GAAG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AG,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC;QAEjD,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YACtC,MAAM,WAAW,GAAG,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACzD,MAAM,KAAK,GAAG,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;YACzD,OAAO;gBACL,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE;gBAC/C,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE;gBAC/C,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS;gBACrE,OAAO,EAAE,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,IAAI,IAAI;gBACvD,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS;gBAC5D,OAAO,EAAE,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,IAAI,IAAI;aACxD,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,OAAO;YACL,SAAS,EAAE,gBAAgB;YAC3B,OAAO,EAAE,IAAI;YACb,OAAO;YACP,KAAK,EAAE,EAAE;SACV,CAAC;IACJ,CAAC"}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
export declare const SnowflakeColumnSchema: z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
type: z.ZodString;
|
|
6
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
type: string;
|
|
9
|
+
name: string;
|
|
10
|
+
nullable?: boolean | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
type: string;
|
|
13
|
+
name: string;
|
|
14
|
+
nullable?: boolean | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const SnowflakeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
17
|
+
operation: z.ZodLiteral<"execute_sql">;
|
|
18
|
+
statement: z.ZodString;
|
|
19
|
+
database: z.ZodOptional<z.ZodString>;
|
|
20
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
21
|
+
warehouse: z.ZodOptional<z.ZodString>;
|
|
22
|
+
role: z.ZodOptional<z.ZodString>;
|
|
23
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
24
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
timeout: number;
|
|
27
|
+
operation: "execute_sql";
|
|
28
|
+
statement: string;
|
|
29
|
+
schema?: string | undefined;
|
|
30
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
31
|
+
role?: string | undefined;
|
|
32
|
+
database?: string | undefined;
|
|
33
|
+
warehouse?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
operation: "execute_sql";
|
|
36
|
+
statement: string;
|
|
37
|
+
schema?: string | undefined;
|
|
38
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
39
|
+
timeout?: number | undefined;
|
|
40
|
+
role?: string | undefined;
|
|
41
|
+
database?: string | undefined;
|
|
42
|
+
warehouse?: string | undefined;
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
operation: z.ZodLiteral<"list_databases">;
|
|
45
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
operation: "list_databases";
|
|
48
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
operation: "list_databases";
|
|
51
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
52
|
+
}>, z.ZodObject<{
|
|
53
|
+
operation: z.ZodLiteral<"list_schemas">;
|
|
54
|
+
database: z.ZodString;
|
|
55
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
operation: "list_schemas";
|
|
58
|
+
database: string;
|
|
59
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
operation: "list_schemas";
|
|
62
|
+
database: string;
|
|
63
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
+
}>, z.ZodObject<{
|
|
65
|
+
operation: z.ZodLiteral<"list_tables">;
|
|
66
|
+
database: z.ZodString;
|
|
67
|
+
schema: z.ZodString;
|
|
68
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
schema: string;
|
|
71
|
+
operation: "list_tables";
|
|
72
|
+
database: string;
|
|
73
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
schema: string;
|
|
76
|
+
operation: "list_tables";
|
|
77
|
+
database: string;
|
|
78
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
79
|
+
}>, z.ZodObject<{
|
|
80
|
+
operation: z.ZodLiteral<"describe_table">;
|
|
81
|
+
database: z.ZodString;
|
|
82
|
+
schema: z.ZodString;
|
|
83
|
+
table: z.ZodString;
|
|
84
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
schema: string;
|
|
87
|
+
operation: "describe_table";
|
|
88
|
+
table: string;
|
|
89
|
+
database: string;
|
|
90
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
schema: string;
|
|
93
|
+
operation: "describe_table";
|
|
94
|
+
table: string;
|
|
95
|
+
database: string;
|
|
96
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
97
|
+
}>]>;
|
|
98
|
+
export declare const SnowflakeResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
99
|
+
operation: z.ZodLiteral<"execute_sql">;
|
|
100
|
+
success: z.ZodBoolean;
|
|
101
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
type: z.ZodString;
|
|
104
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
type: string;
|
|
107
|
+
name: string;
|
|
108
|
+
nullable?: boolean | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
type: string;
|
|
111
|
+
name: string;
|
|
112
|
+
nullable?: boolean | undefined;
|
|
113
|
+
}>, "many">>;
|
|
114
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNull]>, "many">, "many">>;
|
|
115
|
+
num_rows: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
statement_handle: z.ZodOptional<z.ZodString>;
|
|
117
|
+
error: z.ZodString;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
error: string;
|
|
120
|
+
success: boolean;
|
|
121
|
+
operation: "execute_sql";
|
|
122
|
+
rows?: (string | null)[][] | undefined;
|
|
123
|
+
columns?: {
|
|
124
|
+
type: string;
|
|
125
|
+
name: string;
|
|
126
|
+
nullable?: boolean | undefined;
|
|
127
|
+
}[] | undefined;
|
|
128
|
+
num_rows?: number | undefined;
|
|
129
|
+
statement_handle?: string | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
error: string;
|
|
132
|
+
success: boolean;
|
|
133
|
+
operation: "execute_sql";
|
|
134
|
+
rows?: (string | null)[][] | undefined;
|
|
135
|
+
columns?: {
|
|
136
|
+
type: string;
|
|
137
|
+
name: string;
|
|
138
|
+
nullable?: boolean | undefined;
|
|
139
|
+
}[] | undefined;
|
|
140
|
+
num_rows?: number | undefined;
|
|
141
|
+
statement_handle?: string | undefined;
|
|
142
|
+
}>, z.ZodObject<{
|
|
143
|
+
operation: z.ZodLiteral<"list_databases">;
|
|
144
|
+
success: z.ZodBoolean;
|
|
145
|
+
databases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
148
|
+
created_on: z.ZodOptional<z.ZodString>;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
name: string;
|
|
151
|
+
owner?: string | undefined;
|
|
152
|
+
created_on?: string | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
name: string;
|
|
155
|
+
owner?: string | undefined;
|
|
156
|
+
created_on?: string | undefined;
|
|
157
|
+
}>, "many">>;
|
|
158
|
+
error: z.ZodString;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
error: string;
|
|
161
|
+
success: boolean;
|
|
162
|
+
operation: "list_databases";
|
|
163
|
+
databases?: {
|
|
164
|
+
name: string;
|
|
165
|
+
owner?: string | undefined;
|
|
166
|
+
created_on?: string | undefined;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
error: string;
|
|
170
|
+
success: boolean;
|
|
171
|
+
operation: "list_databases";
|
|
172
|
+
databases?: {
|
|
173
|
+
name: string;
|
|
174
|
+
owner?: string | undefined;
|
|
175
|
+
created_on?: string | undefined;
|
|
176
|
+
}[] | undefined;
|
|
177
|
+
}>, z.ZodObject<{
|
|
178
|
+
operation: z.ZodLiteral<"list_schemas">;
|
|
179
|
+
success: z.ZodBoolean;
|
|
180
|
+
schemas: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
+
name: z.ZodString;
|
|
182
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
183
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
184
|
+
created_on: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
name: string;
|
|
187
|
+
owner?: string | undefined;
|
|
188
|
+
created_on?: string | undefined;
|
|
189
|
+
database_name?: string | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
name: string;
|
|
192
|
+
owner?: string | undefined;
|
|
193
|
+
created_on?: string | undefined;
|
|
194
|
+
database_name?: string | undefined;
|
|
195
|
+
}>, "many">>;
|
|
196
|
+
error: z.ZodString;
|
|
197
|
+
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
error: string;
|
|
199
|
+
success: boolean;
|
|
200
|
+
operation: "list_schemas";
|
|
201
|
+
schemas?: {
|
|
202
|
+
name: string;
|
|
203
|
+
owner?: string | undefined;
|
|
204
|
+
created_on?: string | undefined;
|
|
205
|
+
database_name?: string | undefined;
|
|
206
|
+
}[] | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
error: string;
|
|
209
|
+
success: boolean;
|
|
210
|
+
operation: "list_schemas";
|
|
211
|
+
schemas?: {
|
|
212
|
+
name: string;
|
|
213
|
+
owner?: string | undefined;
|
|
214
|
+
created_on?: string | undefined;
|
|
215
|
+
database_name?: string | undefined;
|
|
216
|
+
}[] | undefined;
|
|
217
|
+
}>, z.ZodObject<{
|
|
218
|
+
operation: z.ZodLiteral<"list_tables">;
|
|
219
|
+
success: z.ZodBoolean;
|
|
220
|
+
tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
|
+
name: z.ZodString;
|
|
222
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
223
|
+
schema_name: z.ZodOptional<z.ZodString>;
|
|
224
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
225
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
created_on: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
name: string;
|
|
229
|
+
rows?: number | undefined;
|
|
230
|
+
created_on?: string | undefined;
|
|
231
|
+
database_name?: string | undefined;
|
|
232
|
+
schema_name?: string | undefined;
|
|
233
|
+
kind?: string | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
name: string;
|
|
236
|
+
rows?: number | undefined;
|
|
237
|
+
created_on?: string | undefined;
|
|
238
|
+
database_name?: string | undefined;
|
|
239
|
+
schema_name?: string | undefined;
|
|
240
|
+
kind?: string | undefined;
|
|
241
|
+
}>, "many">>;
|
|
242
|
+
error: z.ZodString;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
error: string;
|
|
245
|
+
success: boolean;
|
|
246
|
+
operation: "list_tables";
|
|
247
|
+
tables?: {
|
|
248
|
+
name: string;
|
|
249
|
+
rows?: number | undefined;
|
|
250
|
+
created_on?: string | undefined;
|
|
251
|
+
database_name?: string | undefined;
|
|
252
|
+
schema_name?: string | undefined;
|
|
253
|
+
kind?: string | undefined;
|
|
254
|
+
}[] | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
error: string;
|
|
257
|
+
success: boolean;
|
|
258
|
+
operation: "list_tables";
|
|
259
|
+
tables?: {
|
|
260
|
+
name: string;
|
|
261
|
+
rows?: number | undefined;
|
|
262
|
+
created_on?: string | undefined;
|
|
263
|
+
database_name?: string | undefined;
|
|
264
|
+
schema_name?: string | undefined;
|
|
265
|
+
kind?: string | undefined;
|
|
266
|
+
}[] | undefined;
|
|
267
|
+
}>, z.ZodObject<{
|
|
268
|
+
operation: z.ZodLiteral<"describe_table">;
|
|
269
|
+
success: z.ZodBoolean;
|
|
270
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
type: z.ZodString;
|
|
273
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
275
|
+
primary_key: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
type: string;
|
|
279
|
+
name: string;
|
|
280
|
+
default?: string | null | undefined;
|
|
281
|
+
nullable?: boolean | undefined;
|
|
282
|
+
comment?: string | null | undefined;
|
|
283
|
+
primary_key?: boolean | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
type: string;
|
|
286
|
+
name: string;
|
|
287
|
+
default?: string | null | undefined;
|
|
288
|
+
nullable?: boolean | undefined;
|
|
289
|
+
comment?: string | null | undefined;
|
|
290
|
+
primary_key?: boolean | undefined;
|
|
291
|
+
}>, "many">>;
|
|
292
|
+
error: z.ZodString;
|
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
error: string;
|
|
295
|
+
success: boolean;
|
|
296
|
+
operation: "describe_table";
|
|
297
|
+
columns?: {
|
|
298
|
+
type: string;
|
|
299
|
+
name: string;
|
|
300
|
+
default?: string | null | undefined;
|
|
301
|
+
nullable?: boolean | undefined;
|
|
302
|
+
comment?: string | null | undefined;
|
|
303
|
+
primary_key?: boolean | undefined;
|
|
304
|
+
}[] | undefined;
|
|
305
|
+
}, {
|
|
306
|
+
error: string;
|
|
307
|
+
success: boolean;
|
|
308
|
+
operation: "describe_table";
|
|
309
|
+
columns?: {
|
|
310
|
+
type: string;
|
|
311
|
+
name: string;
|
|
312
|
+
default?: string | null | undefined;
|
|
313
|
+
nullable?: boolean | undefined;
|
|
314
|
+
comment?: string | null | undefined;
|
|
315
|
+
primary_key?: boolean | undefined;
|
|
316
|
+
}[] | undefined;
|
|
317
|
+
}>]>;
|
|
318
|
+
export type SnowflakeResult = z.output<typeof SnowflakeResultSchema>;
|
|
319
|
+
export type SnowflakeParams = z.output<typeof SnowflakeParamsSchema>;
|
|
320
|
+
export type SnowflakeParamsInput = z.input<typeof SnowflakeParamsSchema>;
|
|
321
|
+
//# sourceMappingURL=snowflake.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflake.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/snowflake/snowflake.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAMsB,CAAC;AAGzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2FhC,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2GhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
// Base credentials schema that all operations share
|
|
4
|
+
const BaseCredentialsSchema = z
|
|
5
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
6
|
+
.optional()
|
|
7
|
+
.describe('Object mapping credential types to values (injected at runtime)');
|
|
8
|
+
// Column metadata schema for result sets
|
|
9
|
+
export const SnowflakeColumnSchema = z
|
|
10
|
+
.object({
|
|
11
|
+
name: z.string().describe('Column name'),
|
|
12
|
+
type: z.string().describe('Snowflake data type'),
|
|
13
|
+
nullable: z.boolean().optional().describe('Whether the column is nullable'),
|
|
14
|
+
})
|
|
15
|
+
.describe('Column metadata from Snowflake result set');
|
|
16
|
+
// Define the parameters schema for Snowflake operations
|
|
17
|
+
export const SnowflakeParamsSchema = z.discriminatedUnion('operation', [
|
|
18
|
+
// Execute SQL operation
|
|
19
|
+
z.object({
|
|
20
|
+
operation: z
|
|
21
|
+
.literal('execute_sql')
|
|
22
|
+
.describe('Execute a SQL statement against Snowflake'),
|
|
23
|
+
statement: z
|
|
24
|
+
.string()
|
|
25
|
+
.min(1, 'SQL statement is required')
|
|
26
|
+
.describe('The SQL statement to execute'),
|
|
27
|
+
database: z
|
|
28
|
+
.string()
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('Database to use for this query (overrides credential default)'),
|
|
31
|
+
schema: z
|
|
32
|
+
.string()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('Schema to use for this query (overrides credential default)'),
|
|
35
|
+
warehouse: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('Warehouse to use for this query (overrides credential default)'),
|
|
39
|
+
role: z
|
|
40
|
+
.string()
|
|
41
|
+
.optional()
|
|
42
|
+
.describe('Role to use for this query (overrides credential default)'),
|
|
43
|
+
timeout: z
|
|
44
|
+
.number()
|
|
45
|
+
.optional()
|
|
46
|
+
.default(60)
|
|
47
|
+
.describe('Query timeout in seconds (default 60)'),
|
|
48
|
+
credentials: BaseCredentialsSchema,
|
|
49
|
+
}),
|
|
50
|
+
// List databases operation
|
|
51
|
+
z.object({
|
|
52
|
+
operation: z
|
|
53
|
+
.literal('list_databases')
|
|
54
|
+
.describe('List all databases in the Snowflake account'),
|
|
55
|
+
credentials: BaseCredentialsSchema,
|
|
56
|
+
}),
|
|
57
|
+
// List schemas operation
|
|
58
|
+
z.object({
|
|
59
|
+
operation: z
|
|
60
|
+
.literal('list_schemas')
|
|
61
|
+
.describe('List all schemas in a database'),
|
|
62
|
+
database: z
|
|
63
|
+
.string()
|
|
64
|
+
.min(1, 'Database name is required')
|
|
65
|
+
.describe('Database to list schemas from'),
|
|
66
|
+
credentials: BaseCredentialsSchema,
|
|
67
|
+
}),
|
|
68
|
+
// List tables operation
|
|
69
|
+
z.object({
|
|
70
|
+
operation: z.literal('list_tables').describe('List all tables in a schema'),
|
|
71
|
+
database: z
|
|
72
|
+
.string()
|
|
73
|
+
.min(1, 'Database name is required')
|
|
74
|
+
.describe('Database containing the schema'),
|
|
75
|
+
schema: z
|
|
76
|
+
.string()
|
|
77
|
+
.min(1, 'Schema name is required')
|
|
78
|
+
.describe('Schema to list tables from'),
|
|
79
|
+
credentials: BaseCredentialsSchema,
|
|
80
|
+
}),
|
|
81
|
+
// Describe table operation
|
|
82
|
+
z.object({
|
|
83
|
+
operation: z
|
|
84
|
+
.literal('describe_table')
|
|
85
|
+
.describe('Get column definitions for a table'),
|
|
86
|
+
database: z
|
|
87
|
+
.string()
|
|
88
|
+
.min(1, 'Database name is required')
|
|
89
|
+
.describe('Database containing the table'),
|
|
90
|
+
schema: z
|
|
91
|
+
.string()
|
|
92
|
+
.min(1, 'Schema name is required')
|
|
93
|
+
.describe('Schema containing the table'),
|
|
94
|
+
table: z
|
|
95
|
+
.string()
|
|
96
|
+
.min(1, 'Table name is required')
|
|
97
|
+
.describe('Table to describe'),
|
|
98
|
+
credentials: BaseCredentialsSchema,
|
|
99
|
+
}),
|
|
100
|
+
]);
|
|
101
|
+
// Define result schemas for different operations
|
|
102
|
+
export const SnowflakeResultSchema = z.discriminatedUnion('operation', [
|
|
103
|
+
z.object({
|
|
104
|
+
operation: z
|
|
105
|
+
.literal('execute_sql')
|
|
106
|
+
.describe('Execute a SQL statement against Snowflake'),
|
|
107
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
108
|
+
columns: z
|
|
109
|
+
.array(SnowflakeColumnSchema)
|
|
110
|
+
.optional()
|
|
111
|
+
.describe('Column metadata for the result set'),
|
|
112
|
+
rows: z
|
|
113
|
+
.array(z.array(z.union([z.string(), z.null()])))
|
|
114
|
+
.optional()
|
|
115
|
+
.describe('Result rows as arrays of string values'),
|
|
116
|
+
num_rows: z.number().optional().describe('Total number of rows returned'),
|
|
117
|
+
statement_handle: z
|
|
118
|
+
.string()
|
|
119
|
+
.optional()
|
|
120
|
+
.describe('Snowflake statement handle for the executed query'),
|
|
121
|
+
error: z.string().describe('Error message if operation failed'),
|
|
122
|
+
}),
|
|
123
|
+
z.object({
|
|
124
|
+
operation: z
|
|
125
|
+
.literal('list_databases')
|
|
126
|
+
.describe('List all databases in the Snowflake account'),
|
|
127
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
128
|
+
databases: z
|
|
129
|
+
.array(z.object({
|
|
130
|
+
name: z.string().describe('Database name'),
|
|
131
|
+
owner: z.string().optional().describe('Database owner'),
|
|
132
|
+
created_on: z.string().optional().describe('Creation timestamp'),
|
|
133
|
+
}))
|
|
134
|
+
.optional()
|
|
135
|
+
.describe('List of databases'),
|
|
136
|
+
error: z.string().describe('Error message if operation failed'),
|
|
137
|
+
}),
|
|
138
|
+
z.object({
|
|
139
|
+
operation: z
|
|
140
|
+
.literal('list_schemas')
|
|
141
|
+
.describe('List all schemas in a database'),
|
|
142
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
143
|
+
schemas: z
|
|
144
|
+
.array(z.object({
|
|
145
|
+
name: z.string().describe('Schema name'),
|
|
146
|
+
database_name: z.string().optional().describe('Parent database name'),
|
|
147
|
+
owner: z.string().optional().describe('Schema owner'),
|
|
148
|
+
created_on: z.string().optional().describe('Creation timestamp'),
|
|
149
|
+
}))
|
|
150
|
+
.optional()
|
|
151
|
+
.describe('List of schemas'),
|
|
152
|
+
error: z.string().describe('Error message if operation failed'),
|
|
153
|
+
}),
|
|
154
|
+
z.object({
|
|
155
|
+
operation: z.literal('list_tables').describe('List all tables in a schema'),
|
|
156
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
157
|
+
tables: z
|
|
158
|
+
.array(z.object({
|
|
159
|
+
name: z.string().describe('Table name'),
|
|
160
|
+
database_name: z.string().optional().describe('Parent database name'),
|
|
161
|
+
schema_name: z.string().optional().describe('Parent schema name'),
|
|
162
|
+
kind: z
|
|
163
|
+
.string()
|
|
164
|
+
.optional()
|
|
165
|
+
.describe('Table kind (TABLE, VIEW, etc.)'),
|
|
166
|
+
rows: z.number().optional().describe('Approximate row count'),
|
|
167
|
+
created_on: z.string().optional().describe('Creation timestamp'),
|
|
168
|
+
}))
|
|
169
|
+
.optional()
|
|
170
|
+
.describe('List of tables'),
|
|
171
|
+
error: z.string().describe('Error message if operation failed'),
|
|
172
|
+
}),
|
|
173
|
+
z.object({
|
|
174
|
+
operation: z
|
|
175
|
+
.literal('describe_table')
|
|
176
|
+
.describe('Get column definitions for a table'),
|
|
177
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
178
|
+
columns: z
|
|
179
|
+
.array(z.object({
|
|
180
|
+
name: z.string().describe('Column name'),
|
|
181
|
+
type: z.string().describe('Data type'),
|
|
182
|
+
nullable: z
|
|
183
|
+
.boolean()
|
|
184
|
+
.optional()
|
|
185
|
+
.describe('Whether column is nullable'),
|
|
186
|
+
default: z.string().nullable().optional().describe('Default value'),
|
|
187
|
+
primary_key: z
|
|
188
|
+
.boolean()
|
|
189
|
+
.optional()
|
|
190
|
+
.describe('Whether column is a primary key'),
|
|
191
|
+
comment: z.string().nullable().optional().describe('Column comment'),
|
|
192
|
+
}))
|
|
193
|
+
.optional()
|
|
194
|
+
.describe('Column definitions'),
|
|
195
|
+
error: z.string().describe('Error message if operation failed'),
|
|
196
|
+
}),
|
|
197
|
+
]);
|
|
198
|
+
//# sourceMappingURL=snowflake.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflake.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/snowflake/snowflake.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,oDAAoD;AACpD,MAAM,qBAAqB,GAAG,CAAC;KAC5B,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KAChD,QAAQ,EAAE;KACV,QAAQ,CAAC,iEAAiE,CAAC,CAAC;AAE/E,yCAAyC;AACzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAChD,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC5E,CAAC;KACD,QAAQ,CAAC,2CAA2C,CAAC,CAAC;AAEzD,wDAAwD;AACxD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,kBAAkB,CAAC,WAAW,EAAE;IACrE,wBAAwB;IACxB,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC;aACT,OAAO,CAAC,aAAa,CAAC;aACtB,QAAQ,CAAC,2CAA2C,CAAC;QACxD,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,EAAE,2BAA2B,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Q,CAAC,oBAAoB,CAAC;QACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;KAChE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface SnowflakeCredentials {
|
|
2
|
+
account: string;
|
|
3
|
+
username: string;
|
|
4
|
+
privateKey: string;
|
|
5
|
+
privateKeyPassword?: string;
|
|
6
|
+
warehouse?: string;
|
|
7
|
+
database?: string;
|
|
8
|
+
schema?: string;
|
|
9
|
+
role?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Parse a multi-field credential value into typed Snowflake fields.
|
|
13
|
+
* Uses the shared decodeCredentialPayload() which handles both
|
|
14
|
+
* base64 (injection path) and raw JSON (validator path).
|
|
15
|
+
*/
|
|
16
|
+
export declare function parseSnowflakeCredential(value: string): SnowflakeCredentials;
|
|
17
|
+
/**
|
|
18
|
+
* Generate a JWT token for Snowflake key-pair authentication.
|
|
19
|
+
*
|
|
20
|
+
* The JWT contains:
|
|
21
|
+
* - iss: <ACCOUNT>.<USER>.SHA256:<public_key_fingerprint>
|
|
22
|
+
* - sub: <ACCOUNT>.<USER>
|
|
23
|
+
* - iat: current timestamp
|
|
24
|
+
* - exp: current timestamp + 1 hour
|
|
25
|
+
*/
|
|
26
|
+
export declare function generateSnowflakeJWT(creds: SnowflakeCredentials): string;
|
|
27
|
+
/**
|
|
28
|
+
* Build the Snowflake SQL API base URL from the account identifier.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getSnowflakeBaseUrl(account: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* Find a column index by name in a SHOW command result.
|
|
33
|
+
* SHOW commands return variable column layouts — this finds by name safely.
|
|
34
|
+
*/
|
|
35
|
+
export declare function findColumnIndex(rowType: Array<{
|
|
36
|
+
name: string;
|
|
37
|
+
}>, columnName: string): number;
|
|
38
|
+
/**
|
|
39
|
+
* Get a cell value from a row by column name, returning undefined if not found.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getCellByName(row: Array<string | null>, rowType: Array<{
|
|
42
|
+
name: string;
|
|
43
|
+
}>, columnName: string): string | undefined;
|
|
44
|
+
//# sourceMappingURL=snowflake.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflake.utils.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/snowflake/snowflake.utils.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,CAiB5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAsDxE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAChC,UAAU,EAAE,MAAM,GACjB,MAAM,CAIR;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EACzB,OAAO,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAChC,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAIpB"}
|