@keystrokehq/snowflake 0.1.0 → 0.1.3

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 (131) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-statement-execution.cjs +6 -6
  4. package/dist/actions/cancel-statement-execution.cjs.map +1 -1
  5. package/dist/actions/cancel-statement-execution.d.cts +15 -3
  6. package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
  7. package/dist/actions/cancel-statement-execution.d.mts +15 -3
  8. package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
  9. package/dist/actions/cancel-statement-execution.mjs +6 -6
  10. package/dist/actions/cancel-statement-execution.mjs.map +1 -1
  11. package/dist/actions/check-statement-status.cjs +15 -15
  12. package/dist/actions/check-statement-status.cjs.map +1 -1
  13. package/dist/actions/check-statement-status.d.cts +41 -3
  14. package/dist/actions/check-statement-status.d.cts.map +1 -1
  15. package/dist/actions/check-statement-status.d.mts +41 -3
  16. package/dist/actions/check-statement-status.d.mts.map +1 -1
  17. package/dist/actions/check-statement-status.mjs +15 -15
  18. package/dist/actions/check-statement-status.mjs.map +1 -1
  19. package/dist/actions/drop-warehouse.cjs +1 -1
  20. package/dist/actions/drop-warehouse.cjs.map +1 -1
  21. package/dist/actions/drop-warehouse.d.cts +14 -3
  22. package/dist/actions/drop-warehouse.d.cts.map +1 -1
  23. package/dist/actions/drop-warehouse.d.mts +14 -3
  24. package/dist/actions/drop-warehouse.d.mts.map +1 -1
  25. package/dist/actions/drop-warehouse.mjs +1 -1
  26. package/dist/actions/drop-warehouse.mjs.map +1 -1
  27. package/dist/actions/execute-sql.cjs +15 -15
  28. package/dist/actions/execute-sql.cjs.map +1 -1
  29. package/dist/actions/execute-sql.d.cts +52 -3
  30. package/dist/actions/execute-sql.d.cts.map +1 -1
  31. package/dist/actions/execute-sql.d.mts +52 -3
  32. package/dist/actions/execute-sql.d.mts.map +1 -1
  33. package/dist/actions/execute-sql.mjs +15 -15
  34. package/dist/actions/execute-sql.mjs.map +1 -1
  35. package/dist/actions/fetch-catalog-integration.cjs +2 -2
  36. package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
  37. package/dist/actions/fetch-catalog-integration.d.cts +18 -3
  38. package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
  39. package/dist/actions/fetch-catalog-integration.d.mts +18 -3
  40. package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
  41. package/dist/actions/fetch-catalog-integration.mjs +2 -2
  42. package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
  43. package/dist/actions/get-active-scheduled-maintenances.cjs +26 -26
  44. package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
  45. package/dist/actions/get-active-scheduled-maintenances.d.cts +35 -3
  46. package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
  47. package/dist/actions/get-active-scheduled-maintenances.d.mts +35 -3
  48. package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
  49. package/dist/actions/get-active-scheduled-maintenances.mjs +26 -26
  50. package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
  51. package/dist/actions/get-all-scheduled-maintenances.cjs +29 -29
  52. package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
  53. package/dist/actions/get-all-scheduled-maintenances.d.cts +44 -3
  54. package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
  55. package/dist/actions/get-all-scheduled-maintenances.d.mts +44 -3
  56. package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
  57. package/dist/actions/get-all-scheduled-maintenances.mjs +29 -29
  58. package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
  59. package/dist/actions/get-component-status.cjs +17 -17
  60. package/dist/actions/get-component-status.cjs.map +1 -1
  61. package/dist/actions/get-component-status.d.cts +29 -3
  62. package/dist/actions/get-component-status.d.cts.map +1 -1
  63. package/dist/actions/get-component-status.d.mts +29 -3
  64. package/dist/actions/get-component-status.d.mts.map +1 -1
  65. package/dist/actions/get-component-status.mjs +17 -17
  66. package/dist/actions/get-component-status.mjs.map +1 -1
  67. package/dist/actions/get-status-rollup.cjs +10 -10
  68. package/dist/actions/get-status-rollup.cjs.map +1 -1
  69. package/dist/actions/get-status-rollup.d.cts +15 -3
  70. package/dist/actions/get-status-rollup.d.cts.map +1 -1
  71. package/dist/actions/get-status-rollup.d.mts +15 -3
  72. package/dist/actions/get-status-rollup.d.mts.map +1 -1
  73. package/dist/actions/get-status-rollup.mjs +10 -10
  74. package/dist/actions/get-status-rollup.mjs.map +1 -1
  75. package/dist/actions/get-status-summary.cjs +7 -7
  76. package/dist/actions/get-status-summary.cjs.map +1 -1
  77. package/dist/actions/get-status-summary.d.cts +75 -3
  78. package/dist/actions/get-status-summary.d.cts.map +1 -1
  79. package/dist/actions/get-status-summary.d.mts +75 -3
  80. package/dist/actions/get-status-summary.d.mts.map +1 -1
  81. package/dist/actions/get-status-summary.mjs +7 -7
  82. package/dist/actions/get-status-summary.mjs.map +1 -1
  83. package/dist/actions/get-unresolved-incidents.cjs +24 -24
  84. package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
  85. package/dist/actions/get-unresolved-incidents.d.cts +32 -3
  86. package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
  87. package/dist/actions/get-unresolved-incidents.d.mts +32 -3
  88. package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
  89. package/dist/actions/get-unresolved-incidents.mjs +24 -24
  90. package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
  91. package/dist/actions/get-upcoming-scheduled-maintenances.cjs +26 -26
  92. package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
  93. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +34 -3
  94. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
  95. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +34 -3
  96. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
  97. package/dist/actions/get-upcoming-scheduled-maintenances.mjs +26 -26
  98. package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
  99. package/dist/actions/show-databases.cjs +1 -1
  100. package/dist/actions/show-databases.cjs.map +1 -1
  101. package/dist/actions/show-databases.d.cts +26 -3
  102. package/dist/actions/show-databases.d.cts.map +1 -1
  103. package/dist/actions/show-databases.d.mts +26 -3
  104. package/dist/actions/show-databases.d.mts.map +1 -1
  105. package/dist/actions/show-databases.mjs +1 -1
  106. package/dist/actions/show-databases.mjs.map +1 -1
  107. package/dist/actions/show-schemas.cjs +1 -1
  108. package/dist/actions/show-schemas.cjs.map +1 -1
  109. package/dist/actions/show-schemas.d.cts +30 -3
  110. package/dist/actions/show-schemas.d.cts.map +1 -1
  111. package/dist/actions/show-schemas.d.mts +30 -3
  112. package/dist/actions/show-schemas.d.mts.map +1 -1
  113. package/dist/actions/show-schemas.mjs +1 -1
  114. package/dist/actions/show-schemas.mjs.map +1 -1
  115. package/dist/actions/show-tables.cjs +1 -1
  116. package/dist/actions/show-tables.cjs.map +1 -1
  117. package/dist/actions/show-tables.d.cts +32 -3
  118. package/dist/actions/show-tables.d.cts.map +1 -1
  119. package/dist/actions/show-tables.d.mts +32 -3
  120. package/dist/actions/show-tables.d.mts.map +1 -1
  121. package/dist/actions/show-tables.mjs +1 -1
  122. package/dist/actions/show-tables.mjs.map +1 -1
  123. package/dist/actions/validate-credential.cjs +2 -2
  124. package/dist/actions/validate-credential.cjs.map +1 -1
  125. package/dist/actions/validate-credential.d.cts +7 -3
  126. package/dist/actions/validate-credential.d.cts.map +1 -1
  127. package/dist/actions/validate-credential.d.mts +7 -3
  128. package/dist/actions/validate-credential.d.mts.map +1 -1
  129. package/dist/actions/validate-credential.mjs +2 -2
  130. package/dist/actions/validate-credential.mjs.map +1 -1
  131. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;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/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uB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AS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -23,7 +23,7 @@ const SnowflakeShowTablesOutput = zod.z.object({
23
23
  zod.z.boolean()
24
24
  ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
25
25
  columns: zod.z.array(zod.z.string()).describe("Column names in the result set.").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const snowflakeShowTables = require_action.action("SNOWFLAKE_SHOW_TABLES", {
28
28
  slug: "snowflake-show-tables",
29
29
  name: "Show Tables",
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAC/P,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CA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O;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-tables.d.ts
4
- declare const SnowflakeShowTablesInput: z.ZodTypeAny;
5
- declare const SnowflakeShowTablesOutput: z.ZodTypeAny;
6
- declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeShowTablesInput: z.ZodObject<{
5
+ role: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ schema: z.ZodOptional<z.ZodString>;
9
+ history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ timeout: z.ZodOptional<z.ZodNumber>;
11
+ database: z.ZodOptional<z.ZodString>;
12
+ in_scope: z.ZodOptional<z.ZodString>;
13
+ from_name: z.ZodOptional<z.ZodString>;
14
+ warehouse: z.ZodOptional<z.ZodString>;
15
+ starts_with: z.ZodOptional<z.ZodString>;
16
+ like_pattern: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const SnowflakeShowTablesOutput: z.ZodObject<{
19
+ data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
20
+ columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ }, z.core.$loose>;
22
+ declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ role?: string | undefined;
24
+ limit?: number | undefined;
25
+ terse?: boolean | undefined;
26
+ schema?: string | undefined;
27
+ history?: boolean | undefined;
28
+ timeout?: number | undefined;
29
+ database?: string | undefined;
30
+ in_scope?: string | undefined;
31
+ from_name?: string | undefined;
32
+ warehouse?: string | undefined;
33
+ starts_with?: string | undefined;
34
+ like_pattern?: string | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { snowflakeShowTables };
9
38
  //# sourceMappingURL=show-tables.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAavC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-tables.d.ts
4
- declare const SnowflakeShowTablesInput: z.ZodTypeAny;
5
- declare const SnowflakeShowTablesOutput: z.ZodTypeAny;
6
- declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeShowTablesInput: z.ZodObject<{
5
+ role: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ schema: z.ZodOptional<z.ZodString>;
9
+ history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ timeout: z.ZodOptional<z.ZodNumber>;
11
+ database: z.ZodOptional<z.ZodString>;
12
+ in_scope: z.ZodOptional<z.ZodString>;
13
+ from_name: z.ZodOptional<z.ZodString>;
14
+ warehouse: z.ZodOptional<z.ZodString>;
15
+ starts_with: z.ZodOptional<z.ZodString>;
16
+ like_pattern: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const SnowflakeShowTablesOutput: z.ZodObject<{
19
+ data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
20
+ columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ }, z.core.$loose>;
22
+ declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ role?: string | undefined;
24
+ limit?: number | undefined;
25
+ terse?: boolean | undefined;
26
+ schema?: string | undefined;
27
+ history?: boolean | undefined;
28
+ timeout?: number | undefined;
29
+ database?: string | undefined;
30
+ in_scope?: string | undefined;
31
+ from_name?: string | undefined;
32
+ warehouse?: string | undefined;
33
+ starts_with?: string | undefined;
34
+ like_pattern?: string | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { snowflakeShowTables };
9
38
  //# sourceMappingURL=show-tables.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAavC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -26,7 +26,7 @@ const snowflakeShowTables = action("SNOWFLAKE_SHOW_TABLES", {
26
26
  z.boolean()
27
27
  ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
28
28
  columns: z.array(z.string()).describe("Column names in the result set.").nullable().optional()
29
- })
29
+ }).passthrough()
30
30
  });
31
31
  //#endregion
32
32
  export { snowflakeShowTables };
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAUS;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -4,9 +4,9 @@ let zod = require("zod");
4
4
  const SnowflakeValidateCredentialInput = zod.z.object({}).describe("Request model for validating Snowflake credentials.");
5
5
  const SnowflakeValidateCredentialOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Additional status message or error details").nullable().optional(),
7
- is_valid: zod.z.boolean().describe("Indicates whether the credentials are valid and the session is active"),
7
+ is_valid: zod.z.boolean().describe("Indicates whether the credentials are valid and the session is active").nullable(),
8
8
  session_id: zod.z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
9
- }).describe("Response model for credential validation.");
9
+ }).passthrough().describe("Response model for credential validation.");
10
10
  const snowflakeValidateCredential = require_action.action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
11
11
  slug: "snowflake-validate-credential",
12
12
  name: "Validate Credential",
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\"),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACzI,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3H,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/validate-credential.d.ts
4
- declare const SnowflakeValidateCredentialInput: z.ZodTypeAny;
5
- declare const SnowflakeValidateCredentialOutput: z.ZodTypeAny;
6
- declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeValidateCredentialInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
6
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ is_valid: z.ZodNullable<z.ZodBoolean>;
8
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>;
10
+ declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { snowflakeValidateCredential };
9
13
  //# sourceMappingURL=validate-credential.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAyF;AAAA,cAC7H,iCAAA,EAAmC,CAAA,CAAE,UAIM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/validate-credential.d.ts
4
- declare const SnowflakeValidateCredentialInput: z.ZodTypeAny;
5
- declare const SnowflakeValidateCredentialOutput: z.ZodTypeAny;
6
- declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeValidateCredentialInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
6
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ is_valid: z.ZodNullable<z.ZodBoolean>;
8
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$loose>;
10
+ declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { snowflakeValidateCredential };
9
13
  //# sourceMappingURL=validate-credential.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAyF;AAAA,cAC7H,iCAAA,EAAmC,CAAA,CAAE,UAIM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -7,9 +7,9 @@ const snowflakeValidateCredential = action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
7
7
  input: z.object({}).describe("Request model for validating Snowflake credentials."),
8
8
  output: z.object({
9
9
  message: z.string().describe("Additional status message or error details").nullable().optional(),
10
- is_valid: z.boolean().describe("Indicates whether the credentials are valid and the session is active"),
10
+ is_valid: z.boolean().describe("Indicates whether the credentials are valid and the session is active").nullable(),
11
11
  session_id: z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
12
- }).describe("Response model for credential validation.")
12
+ }).passthrough().describe("Response model for credential validation.")
13
13
  });
14
14
  //#endregion
15
15
  export { snowflakeValidateCredential };
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\"),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAW3E;CACP,QAX6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAW7D;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {