@keystrokehq/snowflake_basic 0.1.2 → 0.1.4

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 (43) hide show
  1. package/dist/actions/describe-table.cjs +2 -2
  2. package/dist/actions/describe-table.cjs.map +1 -1
  3. package/dist/actions/describe-table.d.cts +2 -2
  4. package/dist/actions/describe-table.d.mts +2 -2
  5. package/dist/actions/describe-table.mjs +2 -2
  6. package/dist/actions/describe-table.mjs.map +1 -1
  7. package/dist/actions/explore-columns.cjs +1 -1
  8. package/dist/actions/explore-columns.cjs.map +1 -1
  9. package/dist/actions/explore-columns.d.cts +2 -2
  10. package/dist/actions/explore-columns.d.mts +2 -2
  11. package/dist/actions/explore-columns.mjs +1 -1
  12. package/dist/actions/explore-columns.mjs.map +1 -1
  13. package/dist/actions/run-query.cjs +1 -1
  14. package/dist/actions/run-query.cjs.map +1 -1
  15. package/dist/actions/run-query.d.cts +1 -1
  16. package/dist/actions/run-query.d.mts +1 -1
  17. package/dist/actions/run-query.mjs +1 -1
  18. package/dist/actions/run-query.mjs.map +1 -1
  19. package/dist/actions/show-databases.cjs +2 -2
  20. package/dist/actions/show-databases.cjs.map +1 -1
  21. package/dist/actions/show-databases.d.cts +2 -2
  22. package/dist/actions/show-databases.d.mts +2 -2
  23. package/dist/actions/show-databases.mjs +2 -2
  24. package/dist/actions/show-databases.mjs.map +1 -1
  25. package/dist/actions/show-schemas.cjs +2 -2
  26. package/dist/actions/show-schemas.cjs.map +1 -1
  27. package/dist/actions/show-schemas.d.cts +2 -2
  28. package/dist/actions/show-schemas.d.mts +2 -2
  29. package/dist/actions/show-schemas.mjs +2 -2
  30. package/dist/actions/show-schemas.mjs.map +1 -1
  31. package/dist/actions/show-tables.cjs +2 -2
  32. package/dist/actions/show-tables.cjs.map +1 -1
  33. package/dist/actions/show-tables.d.cts +2 -2
  34. package/dist/actions/show-tables.d.mts +2 -2
  35. package/dist/actions/show-tables.mjs +2 -2
  36. package/dist/actions/show-tables.mjs.map +1 -1
  37. package/dist/catalog.cjs +1 -1
  38. package/dist/catalog.cjs.map +1 -1
  39. package/dist/catalog.d.cts +1 -1
  40. package/dist/catalog.d.mts +1 -1
  41. package/dist/catalog.mjs +1 -1
  42. package/dist/catalog.mjs.map +1 -1
  43. package/package.json +1 -1
@@ -14,8 +14,8 @@ const SnowflakeBasicDescribeTable_ColumnItemSchema = zod.z.object({
14
14
  uniqueKey: zod.z.boolean().default(false).describe("True if the column is part of a unique key constraint.").nullable().optional(),
15
15
  primaryKey: zod.z.boolean().default(false).describe("True if the column is part of the table's primary key.").nullable().optional(),
16
16
  defaultValue: zod.z.string().describe("Default value of the column as a string, or `None` if not defined.").nullable().optional()
17
- });
18
- const SnowflakeBasicDescribeTableOutput = zod.z.object({ columns: zod.z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe("List of objects, each detailing a column's properties in the specified table.").nullable().optional() });
17
+ }).passthrough();
18
+ const SnowflakeBasicDescribeTableOutput = zod.z.object({ columns: zod.z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe("List of objects, each detailing a column's properties in the specified table.").nullable().optional() }).passthrough();
19
19
  const snowflakeBasicDescribeTable = require_action.action("SNOWFLAKE_BASIC_DESCRIBE_TABLE", {
20
20
  slug: "snowflake_basic-describe-table",
21
21
  name: "Describe table",
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.cjs","names":["z","action"],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n});\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n});\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-table.cjs","names":["z","action"],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,8 +15,8 @@ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
15
15
  uniqueKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
16
  primaryKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
17
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  database: string;
22
22
  table_name: string;
@@ -15,8 +15,8 @@ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
15
15
  uniqueKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
16
  primaryKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
17
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  database: string;
22
22
  table_name: string;
@@ -14,13 +14,13 @@ const SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({
14
14
  uniqueKey: z.boolean().default(false).describe("True if the column is part of a unique key constraint.").nullable().optional(),
15
15
  primaryKey: z.boolean().default(false).describe("True if the column is part of the table's primary key.").nullable().optional(),
16
16
  defaultValue: z.string().describe("Default value of the column as a string, or `None` if not defined.").nullable().optional()
17
- });
17
+ }).passthrough();
18
18
  const snowflakeBasicDescribeTable = action("SNOWFLAKE_BASIC_DESCRIBE_TABLE", {
19
19
  slug: "snowflake_basic-describe-table",
20
20
  name: "Describe table",
21
21
  description: "Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.",
22
22
  input: SnowflakeBasicDescribeTableInput,
23
- output: z.object({ columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe("List of objects, each detailing a column's properties in the specified table.").nullable().optional() })
23
+ output: z.object({ columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe("List of objects, each detailing a column's properties in the specified table.").nullable().optional() }).passthrough()
24
24
  });
25
25
  //#endregion
26
26
  export { snowflakeBasicDescribeTable };
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.mjs","names":[],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n});\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n});\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC;AAKD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"describe-table.mjs","names":[],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SnowflakeBasicExploreColumnsInput = zod.z.object({
8
8
  schema_name: zod.z.string().describe("The name of the schema within the specified database."),
9
9
  column_names: zod.z.array(zod.z.string()).default([]).describe("A list of specific column names to explore. If left empty, all columns in the table will be explored.").optional()
10
10
  });
11
- const SnowflakeBasicExploreColumnsOutput = zod.z.object({ values: zod.z.object({}).describe("A dictionary mapping column names to a list of distinct values found in that column.") });
11
+ const SnowflakeBasicExploreColumnsOutput = zod.z.object({ values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A dictionary mapping column names to a list of distinct values found in that column.") }).passthrough();
12
12
  const snowflakeBasicExploreColumns = require_action.action("SNOWFLAKE_BASIC_EXPLORE_COLUMNS", {
13
13
  slug: "snowflake_basic-explore-columns",
14
14
  name: "Explore Columns",
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.cjs","names":["z","action"],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.object({}).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n});\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC3K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,EACtH,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"explore-columns.cjs","names":["z","action"],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC3K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
9
9
  column_names: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
10
10
  }, z.core.$strip>;
11
11
  declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
- values: z.ZodObject<{}, z.core.$strip>;
13
- }, z.core.$strip>;
12
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$loose>;
14
14
  declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  database: string;
16
16
  table_name: string;
@@ -9,8 +9,8 @@ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
9
9
  column_names: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
10
10
  }, z.core.$strip>;
11
11
  declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
- values: z.ZodObject<{}, z.core.$strip>;
13
- }, z.core.$strip>;
12
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$loose>;
14
14
  declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  database: string;
16
16
  table_name: string;
@@ -11,7 +11,7 @@ const snowflakeBasicExploreColumns = action("SNOWFLAKE_BASIC_EXPLORE_COLUMNS", {
11
11
  schema_name: z.string().describe("The name of the schema within the specified database."),
12
12
  column_names: z.array(z.string()).default([]).describe("A list of specific column names to explore. If left empty, all columns in the table will be explored.").optional()
13
13
  }),
14
- output: z.object({ values: z.object({}).describe("A dictionary mapping column names to a list of distinct values found in that column.") })
14
+ output: z.object({ values: z.record(z.string(), z.unknown()).describe("A dictionary mapping column names to a list of distinct values found in that column.") }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { snowflakeBasicExploreColumns };
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.mjs","names":[],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.object({}).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n});\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC3K,CASS;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,EACtH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"explore-columns.mjs","names":[],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC3K,CASS;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,7 +6,7 @@ const SnowflakeBasicRunQueryInput = zod.z.object({
6
6
  database: zod.z.string().describe("Name of the Snowflake database."),
7
7
  schema_name: zod.z.string().describe("Name of the schema within the specified database.")
8
8
  });
9
- const SnowflakeBasicRunQueryOutput = zod.z.object({ data: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).default([]).describe("A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.").nullable().optional() });
9
+ const SnowflakeBasicRunQueryOutput = zod.z.object({ data: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).default([]).describe("A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.").nullable().optional() }).passthrough();
10
10
  const snowflakeBasicRunQuery = require_action.action("SNOWFLAKE_BASIC_RUN_QUERY", {
11
11
  slug: "snowflake_basic-run-query",
12
12
  name: "Run Query",
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.cjs","names":["z","action"],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n});\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"run-query.cjs","names":["z","action"],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
10
  data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  query: string;
14
14
  database: string;
@@ -8,7 +8,7 @@ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
10
  data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  query: string;
14
14
  database: string;
@@ -9,7 +9,7 @@ const snowflakeBasicRunQuery = action("SNOWFLAKE_BASIC_RUN_QUERY", {
9
9
  database: z.string().describe("Name of the Snowflake database."),
10
10
  schema_name: z.string().describe("Name of the schema within the specified database.")
11
11
  }),
12
- output: z.object({ data: z.array(z.record(z.string(), z.unknown())).default([]).describe("A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.").nullable().optional() })
12
+ output: z.object({ data: z.array(z.record(z.string(), z.unknown())).default([]).describe("A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.").nullable().optional() }).passthrough()
13
13
  });
14
14
  //#endregion
15
15
  export { snowflakeBasicRunQuery };
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.mjs","names":[],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n});\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"run-query.mjs","names":[],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -12,8 +12,8 @@ const SnowflakeBasicShowDatabases_DatabaseItemSchema = zod.z.object({
12
12
  is_current: zod.z.string().describe("Whether this is the current database (Y/N).").nullable(),
13
13
  is_default: zod.z.string().describe("Whether this is the default database (Y/N).").nullable(),
14
14
  retention_time: zod.z.string().default("").describe("Data retention time for the database.").nullable().optional()
15
- });
16
- const SnowflakeBasicShowDatabasesOutput = zod.z.object({ databases: zod.z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe("A list of databases available in the Snowflake account.").nullable().optional() });
15
+ }).passthrough();
16
+ const SnowflakeBasicShowDatabasesOutput = zod.z.object({ databases: zod.z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe("A list of databases available in the Snowflake account.").nullable().optional() }).passthrough();
17
17
  const snowflakeBasicShowDatabases = require_action.action("SNOWFLAKE_BASIC_SHOW_DATABASES", {
18
18
  slug: "snowflake_basic-show-databases",
19
19
  name: "Show databases",
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,8 +13,8 @@ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
13
13
  is_current: z.ZodNullable<z.ZodString>;
14
14
  is_default: z.ZodNullable<z.ZodString>;
15
15
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
- }, z.core.$strip>>>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>>>;
17
+ }, z.core.$loose>;
18
18
  declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { snowflakeBasicShowDatabases };
@@ -13,8 +13,8 @@ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
13
13
  is_current: z.ZodNullable<z.ZodString>;
14
14
  is_default: z.ZodNullable<z.ZodString>;
15
15
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
- }, z.core.$strip>>>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>>>;
17
+ }, z.core.$loose>;
18
18
  declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { snowflakeBasicShowDatabases };
@@ -12,13 +12,13 @@ const SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({
12
12
  is_current: z.string().describe("Whether this is the current database (Y/N).").nullable(),
13
13
  is_default: z.string().describe("Whether this is the default database (Y/N).").nullable(),
14
14
  retention_time: z.string().default("").describe("Data retention time for the database.").nullable().optional()
15
- });
15
+ }).passthrough();
16
16
  const snowflakeBasicShowDatabases = action("SNOWFLAKE_BASIC_SHOW_DATABASES", {
17
17
  slug: "snowflake_basic-show-databases",
18
18
  name: "Show databases",
19
19
  description: "Retrieves a list of all databases available in the Snowflake account.",
20
20
  input: SnowflakeBasicShowDatabasesInput,
21
- output: z.object({ databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe("A list of databases available in the Snowflake account.").nullable().optional() })
21
+ output: z.object({ databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe("A list of databases available in the Snowflake account.").nullable().optional() }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { snowflakeBasicShowDatabases };
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AAKD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -12,8 +12,8 @@ const SnowflakeBasicShowSchemas_SchemaItemSchema = zod.z.object({
12
12
  is_default: zod.z.string().describe("Whether this is the default schema (Y/N).").nullable(),
13
13
  database_name: zod.z.string().describe("The name of the database containing this schema.").nullable(),
14
14
  retention_time: zod.z.string().default("").describe("Data retention time for the schema.").nullable().optional()
15
- });
16
- const SnowflakeBasicShowSchemasOutput = zod.z.object({ schemas: zod.z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe("A list of schemas found in the specified database, including their metadata.").nullable().optional() });
15
+ }).passthrough();
16
+ const SnowflakeBasicShowSchemasOutput = zod.z.object({ schemas: zod.z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe("A list of schemas found in the specified database, including their metadata.").nullable().optional() }).passthrough();
17
17
  const snowflakeBasicShowSchemas = require_action.action("SNOWFLAKE_BASIC_SHOW_SCHEMAS", {
18
18
  slug: "snowflake_basic-show-schemas",
19
19
  name: "Show schemas",
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,8 +15,8 @@ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
15
15
  is_default: z.ZodNullable<z.ZodString>;
16
16
  database_name: z.ZodNullable<z.ZodString>;
17
17
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  database: string;
22
22
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -15,8 +15,8 @@ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
15
15
  is_default: z.ZodNullable<z.ZodString>;
16
16
  database_name: z.ZodNullable<z.ZodString>;
17
17
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  database: string;
22
22
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,13 +12,13 @@ const SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({
12
12
  is_default: z.string().describe("Whether this is the default schema (Y/N).").nullable(),
13
13
  database_name: z.string().describe("The name of the database containing this schema.").nullable(),
14
14
  retention_time: z.string().default("").describe("Data retention time for the schema.").nullable().optional()
15
- });
15
+ }).passthrough();
16
16
  const snowflakeBasicShowSchemas = action("SNOWFLAKE_BASIC_SHOW_SCHEMAS", {
17
17
  slug: "snowflake_basic-show-schemas",
18
18
  name: "Show schemas",
19
19
  description: "Retrieves a list of all schemas within a specified Snowflake database.",
20
20
  input: SnowflakeBasicShowSchemasInput,
21
- output: z.object({ schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe("A list of schemas found in the specified database, including their metadata.").nullable().optional() })
21
+ output: z.object({ schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe("A list of schemas found in the specified database, including their metadata.").nullable().optional() }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { snowflakeBasicShowSchemas };
@@ -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 SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AAKD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,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 SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -9,8 +9,8 @@ const SnowflakeBasicShowTables_TableItemSchema = zod.z.object({
9
9
  name: zod.z.string().describe("The name of the table.").nullable(),
10
10
  bytes: zod.z.number().int().describe("The size of the table in bytes.").nullable(),
11
11
  rowCount: zod.z.number().int().describe("The total number of rows in the table.").nullable()
12
- });
13
- const SnowflakeBasicShowTablesOutput = zod.z.object({ tables: zod.z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe("A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.").nullable().optional() });
12
+ }).passthrough();
13
+ const SnowflakeBasicShowTablesOutput = zod.z.object({ tables: zod.z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe("A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.").nullable().optional() }).passthrough();
14
14
  const snowflakeBasicShowTables = require_action.action("SNOWFLAKE_BASIC_SHOW_TABLES", {
15
15
  slug: "snowflake_basic-show-tables",
16
16
  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 SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n});\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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 SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,8 +10,8 @@ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  bytes: z.ZodNullable<z.ZodNumber>;
12
12
  rowCount: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>>>>;
14
- }, z.core.$strip>;
13
+ }, z.core.$loose>>>>>;
14
+ }, z.core.$loose>;
15
15
  declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  database: string;
17
17
  schema_name: string;
@@ -10,8 +10,8 @@ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  bytes: z.ZodNullable<z.ZodNumber>;
12
12
  rowCount: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>>>>>;
14
- }, z.core.$strip>;
13
+ }, z.core.$loose>>>>>;
14
+ }, z.core.$loose>;
15
15
  declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  database: string;
17
17
  schema_name: string;
@@ -9,13 +9,13 @@ const SnowflakeBasicShowTables_TableItemSchema = z.object({
9
9
  name: z.string().describe("The name of the table.").nullable(),
10
10
  bytes: z.number().int().describe("The size of the table in bytes.").nullable(),
11
11
  rowCount: z.number().int().describe("The total number of rows in the table.").nullable()
12
- });
12
+ }).passthrough();
13
13
  const snowflakeBasicShowTables = action("SNOWFLAKE_BASIC_SHOW_TABLES", {
14
14
  slug: "snowflake_basic-show-tables",
15
15
  name: "Show Tables",
16
16
  description: "Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.",
17
17
  input: SnowflakeBasicShowTablesInput,
18
- output: z.object({ tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe("A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.").nullable().optional() })
18
+ output: z.object({ tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe("A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.").nullable().optional() }).passthrough()
19
19
  });
20
20
  //#endregion
21
21
  export { snowflakeBasicShowTables };
@@ -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 SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n});\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n});\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC;AAKD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,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 SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -17,7 +17,7 @@ const snowflakeBasicCatalog = {
17
17
  "label": "Password",
18
18
  "description": "Password for basic auth"
19
19
  },
20
- "account_url": {
20
+ "subdomain": {
21
21
  "label": "Account ID",
22
22
  "description": "Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup."
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeBasicCatalog = {\n \"slug\": \"snowflake_basic\",\n \"name\": \"Snowflake Basic\",\n \"description\": \"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_basic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Username\",\n \"description\": \"Username for basic auth\"\n },\n \"password\": {\n \"label\": \"Password\",\n \"description\": \"Password for basic auth\"\n },\n \"account_url\": {\n \"label\": \"Account ID\",\n \"description\": \"Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,eAAe;GACb,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeBasicCatalog = {\n \"slug\": \"snowflake_basic\",\n \"name\": \"Snowflake Basic\",\n \"description\": \"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_basic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Username\",\n \"description\": \"Username for basic auth\"\n },\n \"password\": {\n \"label\": \"Password\",\n \"description\": \"Password for basic auth\"\n },\n \"subdomain\": {\n \"label\": \"Account ID\",\n \"description\": \"Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,aAAa;GACX,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -17,7 +17,7 @@ declare const snowflakeBasicCatalog: {
17
17
  readonly label: "Password";
18
18
  readonly description: "Password for basic auth";
19
19
  };
20
- readonly account_url: {
20
+ readonly subdomain: {
21
21
  readonly label: "Account ID";
22
22
  readonly description: "Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.";
23
23
  };
@@ -17,7 +17,7 @@ declare const snowflakeBasicCatalog: {
17
17
  readonly label: "Password";
18
18
  readonly description: "Password for basic auth";
19
19
  };
20
- readonly account_url: {
20
+ readonly subdomain: {
21
21
  readonly label: "Account ID";
22
22
  readonly description: "Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.";
23
23
  };
package/dist/catalog.mjs CHANGED
@@ -17,7 +17,7 @@ const snowflakeBasicCatalog = {
17
17
  "label": "Password",
18
18
  "description": "Password for basic auth"
19
19
  },
20
- "account_url": {
20
+ "subdomain": {
21
21
  "label": "Account ID",
22
22
  "description": "Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup."
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeBasicCatalog = {\n \"slug\": \"snowflake_basic\",\n \"name\": \"Snowflake Basic\",\n \"description\": \"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_basic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Username\",\n \"description\": \"Username for basic auth\"\n },\n \"password\": {\n \"label\": \"Password\",\n \"description\": \"Password for basic auth\"\n },\n \"account_url\": {\n \"label\": \"Account ID\",\n \"description\": \"Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,eAAe;GACb,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeBasicCatalog = {\n \"slug\": \"snowflake_basic\",\n \"name\": \"Snowflake Basic\",\n \"description\": \"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_basic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Username\",\n \"description\": \"Username for basic auth\"\n },\n \"password\": {\n \"label\": \"Password\",\n \"description\": \"Password for basic auth\"\n },\n \"subdomain\": {\n \"label\": \"Account ID\",\n \"description\": \"Your Snowflake account ID for authentication. Use the format 'myorganization-myaccount'. To find your account ID, click on your account in the bottom left corner of the Snowflake web interface. The account identifier will be displayed in the account details popup.\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,aAAa;GACX,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake_basic",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"