@keystrokehq/snowflake 0.0.16 → 0.0.17

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.
Files changed (100) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +9 -233
  3. package/dist/actions/index.cjs +18 -0
  4. package/dist/actions/index.d.cts +2 -0
  5. package/dist/actions/index.d.mts +2 -0
  6. package/dist/actions/index.mjs +2 -0
  7. package/dist/actions-BGkaZb6a.cjs +801 -0
  8. package/dist/actions-BGkaZb6a.cjs.map +1 -0
  9. package/dist/actions-BR_JWhT_.mjs +700 -0
  10. package/dist/actions-BR_JWhT_.mjs.map +1 -0
  11. package/dist/index-DUGCZPGQ.d.cts +443 -0
  12. package/dist/index-DUGCZPGQ.d.cts.map +1 -0
  13. package/dist/index-RhOmpRxD.d.mts +445 -0
  14. package/dist/index-RhOmpRxD.d.mts.map +1 -0
  15. package/dist/index.cjs +34 -0
  16. package/dist/index.cjs.map +1 -0
  17. package/dist/index.d.cts +19 -0
  18. package/dist/index.d.cts.map +1 -0
  19. package/dist/index.d.mts +19 -4
  20. package/dist/index.d.mts.map +1 -0
  21. package/dist/index.mjs +15 -5
  22. package/dist/index.mjs.map +1 -0
  23. package/package.json +39 -171
  24. package/dist/accounts/index.d.mts +0 -40
  25. package/dist/accounts/index.mjs +0 -51
  26. package/dist/bulk/index.d.mts +0 -71
  27. package/dist/bulk/index.mjs +0 -65
  28. package/dist/catalog/index.d.mts +0 -144
  29. package/dist/catalog/index.mjs +0 -158
  30. package/dist/client/index.d.mts +0 -44
  31. package/dist/client/index.mjs +0 -273
  32. package/dist/common-DfpCwJx5.mjs +0 -92
  33. package/dist/credential-sets/index.d.mts +0 -3
  34. package/dist/credential-sets/index.mjs +0 -4
  35. package/dist/databases/index.d.mts +0 -2
  36. package/dist/databases/index.mjs +0 -3
  37. package/dist/errors-60AsF7Su.mjs +0 -95
  38. package/dist/events/index.d.mts +0 -382
  39. package/dist/events/index.mjs +0 -291
  40. package/dist/file-formats/index.d.mts +0 -39
  41. package/dist/file-formats/index.mjs +0 -48
  42. package/dist/functions/index.d.mts +0 -53
  43. package/dist/functions/index.mjs +0 -56
  44. package/dist/grants/index.d.mts +0 -93
  45. package/dist/grants/index.mjs +0 -102
  46. package/dist/operations/index.d.mts +0 -1
  47. package/dist/operations/index.mjs +0 -1
  48. package/dist/org-admin/index.d.mts +0 -80
  49. package/dist/org-admin/index.mjs +0 -79
  50. package/dist/pipes/index.d.mts +0 -119
  51. package/dist/pipes/index.mjs +0 -106
  52. package/dist/procedures/index.d.mts +0 -61
  53. package/dist/procedures/index.mjs +0 -79
  54. package/dist/results/index.d.mts +0 -16
  55. package/dist/results/index.mjs +0 -64
  56. package/dist/retry-B4-9MZIp.mjs +0 -164
  57. package/dist/retry-w7cTp1QL.d.mts +0 -10
  58. package/dist/roles/index.d.mts +0 -60
  59. package/dist/roles/index.mjs +0 -74
  60. package/dist/rows/index.d.mts +0 -106
  61. package/dist/rows/index.mjs +0 -223
  62. package/dist/schemas/index.d.mts +0 -2
  63. package/dist/schemas/index.mjs +0 -4
  64. package/dist/schemas-catalog/index.d.mts +0 -2
  65. package/dist/schemas-catalog/index.mjs +0 -3
  66. package/dist/shares/index.d.mts +0 -56
  67. package/dist/shares/index.mjs +0 -77
  68. package/dist/snowflake-s3-sns-webhook.credential-set-D6bLAWy5.d.mts +0 -50
  69. package/dist/snowflake-s3-sns-webhook.credential-set-DzR7oWNK.mjs +0 -44
  70. package/dist/snowflake.credential-set-BxT7Gf3A.d.mts +0 -114
  71. package/dist/snowflake.credential-set-DE3gXf-a.mjs +0 -106
  72. package/dist/sql/index.d.mts +0 -84
  73. package/dist/sql/index.mjs +0 -209
  74. package/dist/sql-options-2k5xQ-oS.d.mts +0 -32
  75. package/dist/sql-options-D6GEa21F.mjs +0 -79
  76. package/dist/sql-safety-BZpAPsq6.mjs +0 -56
  77. package/dist/stages/index.d.mts +0 -64
  78. package/dist/stages/index.mjs +0 -81
  79. package/dist/statements-BumhMhN4.mjs +0 -81
  80. package/dist/statements-DJL0qVNA.d.mts +0 -238
  81. package/dist/status-page/index.d.mts +0 -510
  82. package/dist/status-page/index.mjs +0 -261
  83. package/dist/streaming/index.d.mts +0 -70
  84. package/dist/streaming/index.mjs +0 -56
  85. package/dist/streams/index.d.mts +0 -71
  86. package/dist/streams/index.mjs +0 -78
  87. package/dist/tables/index.d.mts +0 -2
  88. package/dist/tables/index.mjs +0 -3
  89. package/dist/tasks/index.d.mts +0 -79
  90. package/dist/tasks/index.mjs +0 -104
  91. package/dist/triggers/index.d.mts +0 -381
  92. package/dist/triggers/index.mjs +0 -1100
  93. package/dist/users/index.d.mts +0 -61
  94. package/dist/users/index.mjs +0 -67
  95. package/dist/verification/index.d.mts +0 -201
  96. package/dist/verification/index.mjs +0 -512
  97. package/dist/views/index.d.mts +0 -2
  98. package/dist/views/index.mjs +0 -3
  99. package/dist/warehouses/index.d.mts +0 -68
  100. package/dist/warehouses/index.mjs +0 -101
@@ -0,0 +1,445 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cancel-statement-execution.d.ts
4
+ declare const snowflakeCancelStatementExecution: import("@keystrokehq/action").WorkflowActionDefinition<{
5
+ statementHandle: string;
6
+ request_id?: string | undefined;
7
+ }, {
8
+ code: string;
9
+ message: string;
10
+ sqlState: string;
11
+ statementHandle: string;
12
+ statementStatusUrl: string;
13
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ //#endregion
15
+ //#region src/actions/check-statement-status.d.ts
16
+ declare const snowflakeCheckStatementStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ statementHandle: string;
18
+ partition?: number | undefined;
19
+ requestId?: string | undefined;
20
+ }, {
21
+ code?: string | undefined;
22
+ data?: (string | number | boolean | null)[][] | undefined;
23
+ message?: string | undefined;
24
+ sqlState?: string | undefined;
25
+ createdOn?: number | undefined;
26
+ requestId?: string | undefined;
27
+ statementHandle?: string | undefined;
28
+ resultSetMetaData?: {
29
+ format: string;
30
+ numRows: number;
31
+ rowType: {
32
+ name: string;
33
+ type: string;
34
+ table: string;
35
+ schema: string;
36
+ database: string;
37
+ nullable: boolean;
38
+ scale?: number | undefined;
39
+ length?: number | undefined;
40
+ collation?: string | undefined;
41
+ precision?: number | undefined;
42
+ byteLength?: number | undefined;
43
+ }[];
44
+ partitionInfo: {
45
+ rowCount: number;
46
+ uncompressedSize: number;
47
+ }[];
48
+ } | null | undefined;
49
+ statementStatusUrl?: string | undefined;
50
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ //#endregion
52
+ //#region src/actions/drop-warehouse.d.ts
53
+ declare const snowflakeDropWarehouse: import("@keystrokehq/action").WorkflowActionDefinition<{
54
+ name: string;
55
+ if_exists?: boolean | undefined;
56
+ }, {
57
+ code?: string | undefined;
58
+ status?: string | undefined;
59
+ message?: string | undefined;
60
+ resultHandler?: string | undefined;
61
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
62
+ //#endregion
63
+ //#region src/actions/execute-sql.d.ts
64
+ declare const snowflakeExecuteSql: import("@keystrokehq/action").WorkflowActionDefinition<{
65
+ statement: string;
66
+ role?: string | undefined;
67
+ timeout?: number | undefined;
68
+ bindings?: Record<string, unknown> | undefined;
69
+ database?: string | undefined;
70
+ warehouse?: string | undefined;
71
+ parameters?: Record<string, unknown> | undefined;
72
+ schema_name?: string | undefined;
73
+ }, {
74
+ code?: string | undefined;
75
+ data?: (string | number | boolean | null)[][] | undefined;
76
+ message?: string | undefined;
77
+ sqlState?: string | undefined;
78
+ createdOn?: number | undefined;
79
+ statementHandle?: string | undefined;
80
+ statementHandles?: string[] | undefined;
81
+ resultSetMetaData?: {
82
+ format: string;
83
+ numRows: number;
84
+ rowType: {
85
+ name: string;
86
+ type: string;
87
+ table: string;
88
+ schema: string;
89
+ database: string;
90
+ nullable: boolean;
91
+ scale?: number | undefined;
92
+ length?: number | undefined;
93
+ collation?: string | undefined;
94
+ precision?: number | undefined;
95
+ byteLength?: number | undefined;
96
+ }[];
97
+ partitionInfo: {
98
+ rowCount: number;
99
+ uncompressedSize: number;
100
+ }[];
101
+ } | null | undefined;
102
+ statementStatusUrl?: string | undefined;
103
+ composio_execution_message?: string | undefined;
104
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
105
+ //#endregion
106
+ //#region src/actions/fetch-catalog-integration.d.ts
107
+ declare const snowflakeFetchCatalogIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
108
+ name: string;
109
+ }, {
110
+ name?: string | undefined;
111
+ type?: string | undefined;
112
+ catalog?: {
113
+ catalog_source?: string | undefined;
114
+ } | null | undefined;
115
+ comment?: string | undefined;
116
+ enabled?: boolean | undefined;
117
+ category?: string | undefined;
118
+ created_on?: string | undefined;
119
+ table_format?: string | undefined;
120
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
121
+ //#endregion
122
+ //#region src/actions/get-active-scheduled-maintenances.d.ts
123
+ declare const snowflakeGetActiveScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
124
+ page: {
125
+ id: string;
126
+ url: string;
127
+ name: string;
128
+ time_zone: string;
129
+ updated_at: string;
130
+ } | null;
131
+ scheduled_maintenances: {
132
+ id: string;
133
+ name: string;
134
+ impact: string;
135
+ status: string;
136
+ page_id: string;
137
+ shortlink: string;
138
+ created_at: string;
139
+ updated_at: string;
140
+ scheduled_for: string;
141
+ scheduled_until: string;
142
+ incident_updates: {
143
+ id: string;
144
+ body: string;
145
+ status: string;
146
+ created_at: string;
147
+ display_at: string;
148
+ updated_at: string;
149
+ incident_id: string;
150
+ }[];
151
+ started_at?: string | undefined;
152
+ resolved_at?: string | undefined;
153
+ monitoring_at?: string | undefined;
154
+ }[];
155
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
156
+ //#endregion
157
+ //#region src/actions/get-all-scheduled-maintenances.d.ts
158
+ declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
159
+ page: {
160
+ id: string;
161
+ url: string;
162
+ name: string;
163
+ time_zone: string;
164
+ updated_at: string;
165
+ } | null;
166
+ scheduled_maintenances: {
167
+ id: string;
168
+ name: string;
169
+ impact: string;
170
+ status: string;
171
+ page_id: string;
172
+ shortlink: string;
173
+ created_at: string;
174
+ updated_at: string;
175
+ incident_updates: {
176
+ id: string;
177
+ body: string;
178
+ status: string;
179
+ created_at: string;
180
+ display_at: string;
181
+ updated_at: string;
182
+ incident_id: string;
183
+ tweet_id?: string | undefined;
184
+ custom_tweet?: string | undefined;
185
+ affected_components?: {
186
+ code: string;
187
+ name: string;
188
+ new_status: string;
189
+ old_status: string;
190
+ }[] | undefined;
191
+ deliver_notifications?: boolean | undefined;
192
+ }[];
193
+ started_at?: string | undefined;
194
+ resolved_at?: string | undefined;
195
+ monitoring_at?: string | undefined;
196
+ scheduled_for?: string | undefined;
197
+ scheduled_until?: string | undefined;
198
+ }[];
199
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
200
+ //#endregion
201
+ //#region src/actions/get-component-status.d.ts
202
+ declare const snowflakeGetComponentStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
203
+ limit?: number | undefined;
204
+ }, {
205
+ page: {
206
+ id: string;
207
+ url: string;
208
+ name: string;
209
+ updated_at: string;
210
+ } | null;
211
+ components: {
212
+ id: string;
213
+ name: string;
214
+ group: boolean;
215
+ status: string;
216
+ page_id: string;
217
+ position: number;
218
+ showcase: boolean;
219
+ created_at: string;
220
+ updated_at: string;
221
+ only_show_if_degraded: boolean;
222
+ group_id?: string | undefined;
223
+ start_date?: string | undefined;
224
+ description?: string | undefined;
225
+ }[];
226
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
227
+ //#endregion
228
+ //#region src/actions/get-status-rollup.d.ts
229
+ declare const snowflakeGetStatusRollup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
230
+ page: {
231
+ id: string;
232
+ url: string;
233
+ name: string;
234
+ time_zone: string;
235
+ updated_at: string;
236
+ } | null;
237
+ status: {
238
+ indicator: string;
239
+ description: string;
240
+ } | null;
241
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
242
+ //#endregion
243
+ //#region src/actions/get-status-summary.d.ts
244
+ declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
245
+ page?: {
246
+ id?: string | undefined;
247
+ url?: string | undefined;
248
+ name?: string | undefined;
249
+ time_zone?: string | undefined;
250
+ updated_at?: string | undefined;
251
+ } | null | undefined;
252
+ status?: {
253
+ indicator?: string | undefined;
254
+ description?: string | undefined;
255
+ } | null | undefined;
256
+ incidents?: {
257
+ id?: string | undefined;
258
+ name?: string | undefined;
259
+ impact?: string | undefined;
260
+ status?: string | undefined;
261
+ page_id?: string | undefined;
262
+ shortlink?: string | undefined;
263
+ created_at?: string | undefined;
264
+ updated_at?: string | undefined;
265
+ resolved_at?: string | undefined;
266
+ monitoring_at?: string | undefined;
267
+ incident_updates?: {
268
+ id?: string | undefined;
269
+ body?: string | undefined;
270
+ status?: string | undefined;
271
+ created_at?: string | undefined;
272
+ display_at?: string | undefined;
273
+ updated_at?: string | undefined;
274
+ incident_id?: string | undefined;
275
+ }[] | undefined;
276
+ }[] | undefined;
277
+ components?: {
278
+ id?: string | undefined;
279
+ name?: string | undefined;
280
+ group?: boolean | undefined;
281
+ status?: string | undefined;
282
+ page_id?: string | undefined;
283
+ group_id?: string | undefined;
284
+ position?: number | undefined;
285
+ showcase?: boolean | undefined;
286
+ components?: string[] | undefined;
287
+ created_at?: string | undefined;
288
+ start_date?: string | undefined;
289
+ updated_at?: string | undefined;
290
+ description?: string | undefined;
291
+ only_show_if_degraded?: boolean | undefined;
292
+ }[] | undefined;
293
+ scheduled_maintenances?: {
294
+ id?: string | undefined;
295
+ name?: string | undefined;
296
+ impact?: string | undefined;
297
+ status?: string | undefined;
298
+ page_id?: string | undefined;
299
+ shortlink?: string | undefined;
300
+ created_at?: string | undefined;
301
+ updated_at?: string | undefined;
302
+ resolved_at?: string | undefined;
303
+ monitoring_at?: string | undefined;
304
+ scheduled_for?: string | undefined;
305
+ scheduled_until?: string | undefined;
306
+ incident_updates?: {
307
+ id?: string | undefined;
308
+ body?: string | undefined;
309
+ status?: string | undefined;
310
+ created_at?: string | undefined;
311
+ display_at?: string | undefined;
312
+ updated_at?: string | undefined;
313
+ incident_id?: string | undefined;
314
+ }[] | undefined;
315
+ }[] | undefined;
316
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
317
+ //#endregion
318
+ //#region src/actions/get-unresolved-incidents.d.ts
319
+ declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
320
+ page: {
321
+ id: string;
322
+ url: string;
323
+ name: string;
324
+ time_zone: string;
325
+ updated_at: string;
326
+ } | null;
327
+ incidents: {
328
+ id: string;
329
+ name: string;
330
+ impact: string;
331
+ status: string;
332
+ page_id: string;
333
+ shortlink: string;
334
+ created_at: string;
335
+ updated_at: string;
336
+ incident_updates: {
337
+ id: string;
338
+ body: string;
339
+ status: string;
340
+ created_at: string;
341
+ display_at: string;
342
+ updated_at: string;
343
+ incident_id: string;
344
+ }[];
345
+ resolved_at?: string | undefined;
346
+ monitoring_at?: string | undefined;
347
+ }[];
348
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
349
+ //#endregion
350
+ //#region src/actions/get-upcoming-scheduled-maintenances.d.ts
351
+ declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, {
352
+ page: {
353
+ id: string;
354
+ url: string;
355
+ name: string;
356
+ time_zone: string;
357
+ updated_at: string;
358
+ } | null;
359
+ scheduled_maintenances: {
360
+ id: string;
361
+ name: string;
362
+ impact: string;
363
+ status: string;
364
+ page_id: string;
365
+ shortlink: string;
366
+ created_at: string;
367
+ updated_at: string;
368
+ scheduled_for: string;
369
+ scheduled_until: string;
370
+ incident_updates: {
371
+ id: string;
372
+ body: string;
373
+ status: string;
374
+ created_at: string;
375
+ display_at: string;
376
+ updated_at: string;
377
+ incident_id: string;
378
+ }[];
379
+ resolved_at?: string | undefined;
380
+ monitoring_at?: string | undefined;
381
+ }[];
382
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
383
+ //#endregion
384
+ //#region src/actions/show-databases.d.ts
385
+ declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
386
+ role?: string | undefined;
387
+ limit?: number | undefined;
388
+ terse?: boolean | undefined;
389
+ history?: boolean | undefined;
390
+ timeout?: number | undefined;
391
+ from_name?: string | undefined;
392
+ warehouse?: string | undefined;
393
+ starts_with?: string | undefined;
394
+ like_pattern?: string | undefined;
395
+ }, {
396
+ data: (string | number | boolean | null)[][];
397
+ columns?: string[] | undefined;
398
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
399
+ //#endregion
400
+ //#region src/actions/show-schemas.d.ts
401
+ declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
402
+ role?: string | undefined;
403
+ limit?: number | undefined;
404
+ terse?: boolean | undefined;
405
+ history?: boolean | undefined;
406
+ timeout?: number | undefined;
407
+ database?: string | undefined;
408
+ in_scope?: string | undefined;
409
+ from_name?: string | undefined;
410
+ warehouse?: string | undefined;
411
+ starts_with?: string | undefined;
412
+ like_pattern?: string | undefined;
413
+ }, {
414
+ data: (string | number | boolean | null)[][];
415
+ columns?: string[] | undefined;
416
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
417
+ //#endregion
418
+ //#region src/actions/show-tables.d.ts
419
+ declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
420
+ role?: string | undefined;
421
+ limit?: number | undefined;
422
+ terse?: boolean | undefined;
423
+ schema?: string | undefined;
424
+ history?: boolean | undefined;
425
+ timeout?: number | undefined;
426
+ database?: string | undefined;
427
+ in_scope?: string | undefined;
428
+ from_name?: string | undefined;
429
+ warehouse?: string | undefined;
430
+ starts_with?: string | undefined;
431
+ like_pattern?: string | undefined;
432
+ }, {
433
+ data: (string | number | boolean | null)[][];
434
+ columns?: string[] | undefined;
435
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
436
+ //#endregion
437
+ //#region src/actions/validate-credential.d.ts
438
+ declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
439
+ is_valid: boolean;
440
+ message?: string | undefined;
441
+ session_id?: string | undefined;
442
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
443
+ //#endregion
444
+ export { snowflakeGetUpcomingScheduledMaintenances as a, snowflakeGetStatusRollup as c, snowflakeGetActiveScheduledMaintenances as d, snowflakeFetchCatalogIntegration as f, snowflakeCancelStatementExecution as g, snowflakeCheckStatementStatus as h, snowflakeShowDatabases as i, snowflakeGetComponentStatus as l, snowflakeDropWarehouse as m, snowflakeShowTables as n, snowflakeGetUnresolvedIncidents as o, snowflakeExecuteSql as p, snowflakeShowSchemas as r, snowflakeGetStatusSummary as s, snowflakeValidateCredential as t, snowflakeGetAllScheduledMaintenances as u };
445
+ //# sourceMappingURL=index-RhOmpRxD.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-RhOmpRxD.d.mts","names":[],"sources":["../src/actions/cancel-statement-execution.ts","../src/actions/check-statement-status.ts","../src/actions/drop-warehouse.ts","../src/actions/execute-sql.ts","../src/actions/fetch-catalog-integration.ts","../src/actions/get-active-scheduled-maintenances.ts","../src/actions/get-all-scheduled-maintenances.ts","../src/actions/get-component-status.ts","../src/actions/get-status-rollup.ts","../src/actions/get-status-summary.ts","../src/actions/get-unresolved-incidents.ts","../src/actions/get-upcoming-scheduled-maintenances.ts","../src/actions/show-databases.ts","../src/actions/show-schemas.ts","../src/actions/show-tables.ts","../src/actions/validate-credential.ts"],"mappings":";;;cA0Ba,iCAAA,gCAAiC,wBAAA;;;;;;;;;;;;cC6CjC,6BAAA,gCAA6B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCpC7B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;cCgFtB,mBAAA,gCAAmB,wBAAA;;;;aAW9B,MAAA;;;eAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC9EW,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;;;;cCEhC,uCAAA,gCAAuC,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCoBvC,oCAAA,gCAAoC,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC7BpC,2BAAA,gCAA2B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cCf3B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;cCmGxB,yBAAA,gCAAyB,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC5EzB,+BAAA,gCAA+B,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCK/B,yCAAA,gCAAyC,wBAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCKzC,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;cCKtB,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;cCGpB,mBAAA,gCAAmB,wBAAA;;;;;;;;;;;;;;;;;;;cC9CnB,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
package/dist/index.cjs ADDED
@@ -0,0 +1,34 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_actions = require("./actions-BGkaZb6a.cjs");
3
+ //#region src/catalog.ts
4
+ /** Generated — kept in sync with src/app.ts. */
5
+ const snowflakeCatalog = {
6
+ slug: "snowflake",
7
+ name: "Snowflake",
8
+ description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments",
9
+ category: "Databases",
10
+ logo: "https://logos.composio.dev/api/snowflake",
11
+ authKind: "keystroke",
12
+ oauthScopes: []
13
+ };
14
+ //#endregion
15
+ exports.snowflake = require_actions.snowflake;
16
+ exports.snowflakeCancelStatementExecution = require_actions.snowflakeCancelStatementExecution;
17
+ exports.snowflakeCatalog = snowflakeCatalog;
18
+ exports.snowflakeCheckStatementStatus = require_actions.snowflakeCheckStatementStatus;
19
+ exports.snowflakeDropWarehouse = require_actions.snowflakeDropWarehouse;
20
+ exports.snowflakeExecuteSql = require_actions.snowflakeExecuteSql;
21
+ exports.snowflakeFetchCatalogIntegration = require_actions.snowflakeFetchCatalogIntegration;
22
+ exports.snowflakeGetActiveScheduledMaintenances = require_actions.snowflakeGetActiveScheduledMaintenances;
23
+ exports.snowflakeGetAllScheduledMaintenances = require_actions.snowflakeGetAllScheduledMaintenances;
24
+ exports.snowflakeGetComponentStatus = require_actions.snowflakeGetComponentStatus;
25
+ exports.snowflakeGetStatusRollup = require_actions.snowflakeGetStatusRollup;
26
+ exports.snowflakeGetStatusSummary = require_actions.snowflakeGetStatusSummary;
27
+ exports.snowflakeGetUnresolvedIncidents = require_actions.snowflakeGetUnresolvedIncidents;
28
+ exports.snowflakeGetUpcomingScheduledMaintenances = require_actions.snowflakeGetUpcomingScheduledMaintenances;
29
+ exports.snowflakeShowDatabases = require_actions.snowflakeShowDatabases;
30
+ exports.snowflakeShowSchemas = require_actions.snowflakeShowSchemas;
31
+ exports.snowflakeShowTables = require_actions.snowflakeShowTables;
32
+ exports.snowflakeValidateCredential = require_actions.snowflakeValidateCredential;
33
+
34
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeCatalog = {\n slug: \"snowflake\",\n name: \"Snowflake\",\n description:\n \"Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments\",\n category: \"Databases\",\n logo: \"https://logos.composio.dev/api/snowflake\",\n authKind: \"keystroke\",\n oauthScopes: [],\n} as const;\n"],"mappings":";;;;AACA,MAAa,mBAAmB;CAC9B,MAAM;CACN,MAAM;CACN,aACE;CACF,UAAU;CACV,MAAM;CACN,UAAU;CACV,aAAa,CAAC;AAChB"}
@@ -0,0 +1,19 @@
1
+ import { a as snowflakeGetUpcomingScheduledMaintenances, c as snowflakeGetStatusRollup, d as snowflakeGetActiveScheduledMaintenances, f as snowflakeFetchCatalogIntegration, g as snowflakeCancelStatementExecution, h as snowflakeCheckStatementStatus, i as snowflakeShowDatabases, l as snowflakeGetComponentStatus, m as snowflakeDropWarehouse, n as snowflakeShowTables, o as snowflakeGetUnresolvedIncidents, p as snowflakeExecuteSql, r as snowflakeShowSchemas, s as snowflakeGetStatusSummary, t as snowflakeValidateCredential, u as snowflakeGetAllScheduledMaintenances } from "./index-DUGCZPGQ.cjs";
2
+
3
+ //#region src/app.d.ts
4
+ declare const snowflake: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ //#endregion
6
+ //#region src/catalog.d.ts
7
+ /** Generated — kept in sync with src/app.ts. */
8
+ declare const snowflakeCatalog: {
9
+ readonly slug: "snowflake";
10
+ readonly name: "Snowflake";
11
+ readonly description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments";
12
+ readonly category: "Databases";
13
+ readonly logo: "https://logos.composio.dev/api/snowflake";
14
+ readonly authKind: "keystroke";
15
+ readonly oauthScopes: readonly [];
16
+ };
17
+ //#endregion
18
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
19
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/app.ts","../src/catalog.ts"],"mappings":";;;cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA;;;;cCDT,gBAAA;EAAA"}
package/dist/index.d.mts CHANGED
@@ -1,4 +1,19 @@
1
- import { a as snowflakeAuthSchema, i as snowflakeAuthModeSchema, n as SnowflakeCredentials, o as snowflakeCredentialSet, r as parseSnowflakeCredentials, t as SnowflakeAuthMode } from "./snowflake.credential-set-BxT7Gf3A.mjs";
2
- import { C as resultSetMetaDataSchema, D as sqlBindingValueSchema, E as snowflakeObjectRowSchema, O as sqlBindingsSchema, S as partitionInfoSchema, T as snowflakeIdentifier, _ as SnowflakeObjectRow, a as SubmitStatementInput, b as StatementContext, c as statementStatus, d as HydratedRow, f as PartitionResponse, g as ResultSetMetaData, h as PartitionInfo, i as StatementTerminalStatus, k as statementContextSchema, l as statementStatusCodeSchema, m as ColumnMeta, n as StatementResponse, o as cancelStatementResponseSchema, p as partitionResponseSchema, r as StatementStatus, s as statementResponseSchema, t as CancelStatementResponse, u as submitStatementInputSchema, v as SqlBinding, w as snowflakeFqn, x as columnMetaSchema, y as SqlBindings } from "./statements-DJL0qVNA.mjs";
3
- import { a as SnowflakeAzureEventGridWebhookCredentials, i as snowflakeGcsPubSubWebhookCredentialSet, n as snowflakeS3SnsWebhookCredentialSet, o as snowflakeAzureEventGridWebhookCredentialSet, r as SnowflakeGcsPubSubWebhookCredentials, t as SnowflakeS3SnsWebhookCredentials } from "./snowflake-s3-sns-webhook.credential-set-D6bLAWy5.mjs";
4
- export { CancelStatementResponse, ColumnMeta, HydratedRow, PartitionInfo, PartitionResponse, ResultSetMetaData, SnowflakeAuthMode, SnowflakeAzureEventGridWebhookCredentials, SnowflakeCredentials, SnowflakeGcsPubSubWebhookCredentials, SnowflakeObjectRow, SnowflakeS3SnsWebhookCredentials, SqlBinding, SqlBindings, StatementContext, StatementResponse, StatementStatus, StatementTerminalStatus, SubmitStatementInput, cancelStatementResponseSchema, columnMetaSchema, parseSnowflakeCredentials, partitionInfoSchema, partitionResponseSchema, resultSetMetaDataSchema, snowflakeAuthModeSchema, snowflakeAuthSchema, snowflakeAzureEventGridWebhookCredentialSet, snowflakeCredentialSet, snowflakeFqn, snowflakeGcsPubSubWebhookCredentialSet, snowflakeIdentifier, snowflakeObjectRowSchema, snowflakeS3SnsWebhookCredentialSet, sqlBindingValueSchema, sqlBindingsSchema, statementContextSchema, statementResponseSchema, statementStatus, statementStatusCodeSchema, submitStatementInputSchema };
1
+ import { a as snowflakeGetUpcomingScheduledMaintenances, c as snowflakeGetStatusRollup, d as snowflakeGetActiveScheduledMaintenances, f as snowflakeFetchCatalogIntegration, g as snowflakeCancelStatementExecution, h as snowflakeCheckStatementStatus, i as snowflakeShowDatabases, l as snowflakeGetComponentStatus, m as snowflakeDropWarehouse, n as snowflakeShowTables, o as snowflakeGetUnresolvedIncidents, p as snowflakeExecuteSql, r as snowflakeShowSchemas, s as snowflakeGetStatusSummary, t as snowflakeValidateCredential, u as snowflakeGetAllScheduledMaintenances } from "./index-RhOmpRxD.mjs";
2
+
3
+ //#region src/app.d.ts
4
+ declare const snowflake: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ //#endregion
6
+ //#region src/catalog.d.ts
7
+ /** Generated — kept in sync with src/app.ts. */
8
+ declare const snowflakeCatalog: {
9
+ readonly slug: "snowflake";
10
+ readonly name: "Snowflake";
11
+ readonly description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments";
12
+ readonly category: "Databases";
13
+ readonly logo: "https://logos.composio.dev/api/snowflake";
14
+ readonly authKind: "keystroke";
15
+ readonly oauthScopes: readonly [];
16
+ };
17
+ //#endregion
18
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
19
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/app.ts","../src/catalog.ts"],"mappings":";;;cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA;;;;cCDT,gBAAA;EAAA"}
package/dist/index.mjs CHANGED
@@ -1,6 +1,16 @@
1
- import { i as snowflakeCredentialSet, n as snowflakeAuthModeSchema, r as snowflakeAuthSchema, t as parseSnowflakeCredentials } from "./snowflake.credential-set-DE3gXf-a.mjs";
2
- import { n as snowflakeGcsPubSubWebhookCredentialSet, r as snowflakeAzureEventGridWebhookCredentialSet, t as snowflakeS3SnsWebhookCredentialSet } from "./snowflake-s3-sns-webhook.credential-set-DzR7oWNK.mjs";
3
- import { a as snowflakeIdentifier, c as sqlBindingsSchema, i as snowflakeFqn, l as statementContextSchema, n as partitionInfoSchema, o as snowflakeObjectRowSchema, r as resultSetMetaDataSchema, s as sqlBindingValueSchema, t as columnMetaSchema } from "./common-DfpCwJx5.mjs";
4
- import { a as submitStatementInputSchema, i as statementStatusCodeSchema, n as statementResponseSchema, o as partitionResponseSchema, r as statementStatus, t as cancelStatementResponseSchema } from "./statements-BumhMhN4.mjs";
1
+ import { _ as snowflake, a as snowflakeGetUpcomingScheduledMaintenances, c as snowflakeGetStatusRollup, d as snowflakeGetActiveScheduledMaintenances, f as snowflakeFetchCatalogIntegration, g as snowflakeCancelStatementExecution, h as snowflakeCheckStatementStatus, i as snowflakeShowDatabases, l as snowflakeGetComponentStatus, m as snowflakeDropWarehouse, n as snowflakeShowTables, o as snowflakeGetUnresolvedIncidents, p as snowflakeExecuteSql, r as snowflakeShowSchemas, s as snowflakeGetStatusSummary, t as snowflakeValidateCredential, u as snowflakeGetAllScheduledMaintenances } from "./actions-BR_JWhT_.mjs";
2
+ //#region src/catalog.ts
3
+ /** Generated kept in sync with src/app.ts. */
4
+ const snowflakeCatalog = {
5
+ slug: "snowflake",
6
+ name: "Snowflake",
7
+ description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments",
8
+ category: "Databases",
9
+ logo: "https://logos.composio.dev/api/snowflake",
10
+ authKind: "keystroke",
11
+ oauthScopes: []
12
+ };
13
+ //#endregion
14
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
5
15
 
6
- export { cancelStatementResponseSchema, columnMetaSchema, parseSnowflakeCredentials, partitionInfoSchema, partitionResponseSchema, resultSetMetaDataSchema, snowflakeAuthModeSchema, snowflakeAuthSchema, snowflakeAzureEventGridWebhookCredentialSet, snowflakeCredentialSet, snowflakeFqn, snowflakeGcsPubSubWebhookCredentialSet, snowflakeIdentifier, snowflakeObjectRowSchema, snowflakeS3SnsWebhookCredentialSet, sqlBindingValueSchema, sqlBindingsSchema, statementContextSchema, statementResponseSchema, statementStatus, statementStatusCodeSchema, submitStatementInputSchema };
16
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeCatalog = {\n slug: \"snowflake\",\n name: \"Snowflake\",\n description:\n \"Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments\",\n category: \"Databases\",\n logo: \"https://logos.composio.dev/api/snowflake\",\n authKind: \"keystroke\",\n oauthScopes: [],\n} as const;\n"],"mappings":";;;AACA,MAAa,mBAAmB;CAC9B,MAAM;CACN,MAAM;CACN,aACE;CACF,UAAU;CACV,MAAM;CACN,UAAU;CACV,aAAa,CAAC;AAChB"}