@keystrokehq/snowflake_basic 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/describe-table.cjs +4 -4
  4. package/dist/actions/describe-table.cjs.map +1 -1
  5. package/dist/actions/describe-table.d.cts +21 -3
  6. package/dist/actions/describe-table.d.cts.map +1 -1
  7. package/dist/actions/describe-table.d.mts +21 -3
  8. package/dist/actions/describe-table.d.mts.map +1 -1
  9. package/dist/actions/describe-table.mjs +4 -4
  10. package/dist/actions/describe-table.mjs.map +1 -1
  11. package/dist/actions/explore-columns.cjs.map +1 -1
  12. package/dist/actions/explore-columns.d.cts +17 -3
  13. package/dist/actions/explore-columns.d.cts.map +1 -1
  14. package/dist/actions/explore-columns.d.mts +17 -3
  15. package/dist/actions/explore-columns.d.mts.map +1 -1
  16. package/dist/actions/explore-columns.mjs.map +1 -1
  17. package/dist/actions/run-query.cjs.map +1 -1
  18. package/dist/actions/run-query.d.cts +13 -3
  19. package/dist/actions/run-query.d.cts.map +1 -1
  20. package/dist/actions/run-query.d.mts +13 -3
  21. package/dist/actions/run-query.d.mts.map +1 -1
  22. package/dist/actions/run-query.mjs.map +1 -1
  23. package/dist/actions/show-databases.cjs +6 -6
  24. package/dist/actions/show-databases.cjs.map +1 -1
  25. package/dist/actions/show-databases.d.cts +15 -3
  26. package/dist/actions/show-databases.d.cts.map +1 -1
  27. package/dist/actions/show-databases.d.mts +15 -3
  28. package/dist/actions/show-databases.d.mts.map +1 -1
  29. package/dist/actions/show-databases.mjs +6 -6
  30. package/dist/actions/show-databases.mjs.map +1 -1
  31. package/dist/actions/show-schemas.cjs +6 -6
  32. package/dist/actions/show-schemas.cjs.map +1 -1
  33. package/dist/actions/show-schemas.d.cts +19 -3
  34. package/dist/actions/show-schemas.d.cts.map +1 -1
  35. package/dist/actions/show-schemas.d.mts +19 -3
  36. package/dist/actions/show-schemas.d.mts.map +1 -1
  37. package/dist/actions/show-schemas.mjs +6 -6
  38. package/dist/actions/show-schemas.mjs.map +1 -1
  39. package/dist/actions/show-tables.cjs +3 -3
  40. package/dist/actions/show-tables.cjs.map +1 -1
  41. package/dist/actions/show-tables.d.cts +15 -3
  42. package/dist/actions/show-tables.d.cts.map +1 -1
  43. package/dist/actions/show-tables.d.mts +15 -3
  44. package/dist/actions/show-tables.d.mts.map +1 -1
  45. package/dist/actions/show-tables.mjs +3 -3
  46. package/dist/actions/show-tables.mjs.map +1 -1
  47. package/dist/catalog.cjs +16 -1
  48. package/dist/catalog.cjs.map +1 -1
  49. package/dist/catalog.d.cts +15 -0
  50. package/dist/catalog.d.mts +15 -0
  51. package/dist/catalog.mjs +16 -1
  52. package/dist/catalog.mjs.map +1 -1
  53. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["snowflakeBasic","executeSnowflakeBasicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["snowflakeBasic","executeSnowflakeBasicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -7,10 +7,10 @@ const SnowflakeBasicDescribeTableInput = zod.z.object({
7
7
  schema_name: zod.z.string().describe("The name of the schema within the database that contains the table.")
8
8
  });
9
9
  const SnowflakeBasicDescribeTable_ColumnItemSchema = zod.z.object({
10
- kind: zod.z.string().describe("Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN')."),
11
- name: zod.z.string().describe("Name of the column."),
12
- dataType: zod.z.string().describe("Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE)."),
13
- nullable: zod.z.boolean().describe("True if the column can store NULL values."),
10
+ kind: zod.z.string().describe("Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').").nullable(),
11
+ name: zod.z.string().describe("Name of the column.").nullable(),
12
+ dataType: zod.z.string().describe("Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).").nullable(),
13
+ nullable: zod.z.boolean().describe("True if the column can store NULL values.").nullable(),
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()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\"),\n name: z.string().describe(\"Name of the column.\"),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\"),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\"),\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.ZodTypeAny = 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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC1E,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,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,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});\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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/describe-table.d.ts
4
- declare const SnowflakeBasicDescribeTableInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicDescribeTableOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicDescribeTableInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ table_name: z.ZodString;
7
+ schema_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
10
+ columns: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
11
+ kind: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ dataType: z.ZodNullable<z.ZodString>;
14
+ nullable: z.ZodNullable<z.ZodBoolean>;
15
+ uniqueKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
+ primaryKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>>>>>;
19
+ }, z.core.$strip>;
20
+ declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ database: string;
22
+ table_name: string;
23
+ schema_name: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { snowflakeBasicDescribeTable };
9
27
  //# sourceMappingURL=describe-table.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.d.cts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAUW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"describe-table.d.cts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/describe-table.d.ts
4
- declare const SnowflakeBasicDescribeTableInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicDescribeTableOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicDescribeTableInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ table_name: z.ZodString;
7
+ schema_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
10
+ columns: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
11
+ kind: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ dataType: z.ZodNullable<z.ZodString>;
14
+ nullable: z.ZodNullable<z.ZodBoolean>;
15
+ uniqueKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
+ primaryKey: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>>>>>;
19
+ }, z.core.$strip>;
20
+ declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ database: string;
22
+ table_name: string;
23
+ schema_name: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { snowflakeBasicDescribeTable };
9
27
  //# sourceMappingURL=describe-table.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.d.mts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAUW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"describe-table.d.mts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -7,10 +7,10 @@ const SnowflakeBasicDescribeTableInput = z.object({
7
7
  schema_name: z.string().describe("The name of the schema within the database that contains the table.")
8
8
  });
9
9
  const SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({
10
- kind: z.string().describe("Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN')."),
11
- name: z.string().describe("Name of the column."),
12
- dataType: z.string().describe("Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE)."),
13
- nullable: z.boolean().describe("True if the column can store NULL values."),
10
+ kind: z.string().describe("Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').").nullable(),
11
+ name: z.string().describe("Name of the column.").nullable(),
12
+ dataType: z.string().describe("Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).").nullable(),
13
+ nullable: z.boolean().describe("True if the column can store NULL values.").nullable(),
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()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\"),\n name: z.string().describe(\"Name of the column.\"),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\"),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\"),\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.ZodTypeAny = 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,mCAAiD,EAAE,OAAO;CACrE,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,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC1E,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,QAT6D,EAAE,OAAO,EACtE,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});\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 +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.ZodTypeAny = 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.ZodTypeAny = 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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,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.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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/explore-columns.d.ts
4
- declare const SnowflakeBasicExploreColumnsInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicExploreColumnsOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ database: z.ZodString;
7
+ table_name: z.ZodString;
8
+ schema_name: z.ZodString;
9
+ column_names: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
10
+ }, z.core.$strip>;
11
+ declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
+ values: z.ZodObject<{}, z.core.$strip>;
13
+ }, z.core.$strip>;
14
+ declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ database: string;
16
+ table_name: string;
17
+ schema_name: string;
18
+ limit?: number | undefined;
19
+ column_names?: string[] | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { snowflakeBasicExploreColumns };
9
23
  //# sourceMappingURL=explore-columns.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.d.cts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"explore-columns.d.cts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/explore-columns.d.ts
4
- declare const SnowflakeBasicExploreColumnsInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicExploreColumnsOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ database: z.ZodString;
7
+ table_name: z.ZodString;
8
+ schema_name: z.ZodString;
9
+ column_names: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
10
+ }, z.core.$strip>;
11
+ declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
+ values: z.ZodObject<{}, z.core.$strip>;
13
+ }, z.core.$strip>;
14
+ declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ database: string;
16
+ table_name: string;
17
+ schema_name: string;
18
+ limit?: number | undefined;
19
+ column_names?: string[] | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { snowflakeBasicExploreColumns };
9
23
  //# sourceMappingURL=explore-columns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.d.mts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"explore-columns.d.mts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAf6D,EAAE,OAAO;EACtE,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,QAT8D,EAAE,OAAO,EACvE,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.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 +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.ZodTypeAny = 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.ZodTypeAny = 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,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});\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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/run-query.d.ts
4
- declare const SnowflakeBasicRunQueryInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicRunQueryOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ database: z.ZodString;
7
+ schema_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
+ data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
+ }, z.core.$strip>;
12
+ declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ query: string;
14
+ database: string;
15
+ schema_name: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { snowflakeBasicRunQuery };
9
19
  //# sourceMappingURL=run-query.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.d.cts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAI1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAE3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"run-query.d.cts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/run-query.d.ts
4
- declare const SnowflakeBasicRunQueryInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicRunQueryOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ database: z.ZodString;
7
+ schema_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
+ data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
+ }, z.core.$strip>;
12
+ declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ query: string;
14
+ database: string;
15
+ schema_name: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { snowflakeBasicRunQuery };
9
19
  //# sourceMappingURL=run-query.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.d.mts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAI1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAE3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"run-query.d.mts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAbuD,EAAE,OAAO;EAChE,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,QATwD,EAAE,OAAO,EACjE,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});\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"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/show-databases.ts
4
4
  const SnowflakeBasicShowDatabasesInput = zod.z.object({}).describe("Request model for showing databases.\nNo parameters required as this shows all accessible databases.");
5
5
  const SnowflakeBasicShowDatabases_DatabaseItemSchema = zod.z.object({
6
- name: zod.z.string().describe("The name of the database."),
7
- owner: zod.z.string().describe("The owner/role that owns this database."),
8
- origin: zod.z.string().describe("The origin of the database (e.g., 'SNOWFLAKE')."),
6
+ name: zod.z.string().describe("The name of the database.").nullable(),
7
+ owner: zod.z.string().describe("The owner/role that owns this database.").nullable(),
8
+ origin: zod.z.string().describe("The origin of the database (e.g., 'SNOWFLAKE').").nullable(),
9
9
  comment: zod.z.string().default("").describe("Any comments associated with the database.").nullable().optional(),
10
10
  options: zod.z.string().default("").describe("Database options.").nullable().optional(),
11
- created_on: zod.z.string().describe("When the database was created."),
12
- is_current: zod.z.string().describe("Whether this is the current database (Y/N)."),
13
- is_default: zod.z.string().describe("Whether this is the default database (Y/N)."),
11
+ created_on: zod.z.string().describe("When the database was created.").nullable(),
12
+ is_current: zod.z.string().describe("Whether this is the current database (Y/N).").nullable(),
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
15
  });
16
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() });
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the database.\"),\n owner: z.string().describe(\"The owner/role that owns this database.\"),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\"),\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.\"),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\"),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\"),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowDatabasesOutput: z.ZodTypeAny = 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,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC1L,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,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;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,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});\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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-databases.d.ts
4
- declare const SnowflakeBasicShowDatabasesInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowDatabasesOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowDatabasesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
6
+ databases: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodNullable<z.ZodString>;
8
+ owner: z.ZodNullable<z.ZodString>;
9
+ origin: z.ZodNullable<z.ZodString>;
10
+ comment: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11
+ options: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12
+ created_on: z.ZodNullable<z.ZodString>;
13
+ is_current: z.ZodNullable<z.ZodString>;
14
+ is_default: z.ZodNullable<z.ZodString>;
15
+ retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
+ }, z.core.$strip>>>>>;
17
+ }, z.core.$strip>;
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]>;
7
19
  //#endregion
8
20
  export { snowflakeBasicShowDatabases };
9
21
  //# sourceMappingURL=show-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA0I;AAAA,cAY9K,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-databases.d.ts
4
- declare const SnowflakeBasicShowDatabasesInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowDatabasesOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowDatabasesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
6
+ databases: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodNullable<z.ZodString>;
8
+ owner: z.ZodNullable<z.ZodString>;
9
+ origin: z.ZodNullable<z.ZodString>;
10
+ comment: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11
+ options: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12
+ created_on: z.ZodNullable<z.ZodString>;
13
+ is_current: z.ZodNullable<z.ZodString>;
14
+ is_default: z.ZodNullable<z.ZodString>;
15
+ retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
+ }, z.core.$strip>>>>>;
17
+ }, z.core.$strip>;
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]>;
7
19
  //#endregion
8
20
  export { snowflakeBasicShowDatabases };
9
21
  //# sourceMappingURL=show-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA0I;AAAA,cAY9K,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/show-databases.ts
4
4
  const SnowflakeBasicShowDatabasesInput = z.object({}).describe("Request model for showing databases.\nNo parameters required as this shows all accessible databases.");
5
5
  const SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({
6
- name: z.string().describe("The name of the database."),
7
- owner: z.string().describe("The owner/role that owns this database."),
8
- origin: z.string().describe("The origin of the database (e.g., 'SNOWFLAKE')."),
6
+ name: z.string().describe("The name of the database.").nullable(),
7
+ owner: z.string().describe("The owner/role that owns this database.").nullable(),
8
+ origin: z.string().describe("The origin of the database (e.g., 'SNOWFLAKE').").nullable(),
9
9
  comment: z.string().default("").describe("Any comments associated with the database.").nullable().optional(),
10
10
  options: z.string().default("").describe("Database options.").nullable().optional(),
11
- created_on: z.string().describe("When the database was created."),
12
- is_current: z.string().describe("Whether this is the current database (Y/N)."),
13
- is_default: z.string().describe("Whether this is the default database (Y/N)."),
11
+ created_on: z.string().describe("When the database was created.").nullable(),
12
+ is_current: z.string().describe("Whether this is the current database (Y/N).").nullable(),
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
  });
16
16
  const snowflakeBasicShowDatabases = action("SNOWFLAKE_BASIC_SHOW_DATABASES", {
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the database.\"),\n owner: z.string().describe(\"The owner/role that owns this database.\"),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\"),\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.\"),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\"),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\"),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowDatabasesOutput: z.ZodTypeAny = 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,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC1L,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,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;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,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,QAT6D,EAAE,OAAO,EACtE,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});\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"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/show-schemas.ts
4
4
  const SnowflakeBasicShowSchemasInput = zod.z.object({ database: zod.z.string().describe("The name of the database for which to list schemas.") });
5
5
  const SnowflakeBasicShowSchemas_SchemaItemSchema = zod.z.object({
6
- name: zod.z.string().describe("The name of the schema."),
7
- owner: zod.z.string().describe("The owner/role that owns this schema."),
6
+ name: zod.z.string().describe("The name of the schema.").nullable(),
7
+ owner: zod.z.string().describe("The owner/role that owns this schema.").nullable(),
8
8
  comment: zod.z.string().default("").describe("Any comments associated with the schema.").nullable().optional(),
9
9
  options: zod.z.string().default("").describe("Schema options.").nullable().optional(),
10
- created_on: zod.z.string().describe("When the schema was created."),
11
- is_current: zod.z.string().describe("Whether this is the current schema (Y/N)."),
12
- is_default: zod.z.string().describe("Whether this is the default schema (Y/N)."),
13
- database_name: zod.z.string().describe("The name of the database containing this schema."),
10
+ created_on: zod.z.string().describe("When the schema was created.").nullable(),
11
+ is_current: zod.z.string().describe("Whether this is the current schema (Y/N).").nullable(),
12
+ is_default: zod.z.string().describe("Whether this is the default schema (Y/N).").nullable(),
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
15
  });
16
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() });
@@ -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.ZodTypeAny = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the schema.\"),\n owner: z.string().describe(\"The owner/role that owns this schema.\"),\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.\"),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\"),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\"),\n database_name: z.string().describe(\"The name of the database containing this schema.\"),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowSchemasOutput: z.ZodTypeAny = 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,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,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;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,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});\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,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-schemas.d.ts
4
- declare const SnowflakeBasicShowSchemasInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowSchemasOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowSchemasInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
8
+ schemas: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ owner: z.ZodNullable<z.ZodString>;
11
+ comment: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12
+ options: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
+ created_on: z.ZodNullable<z.ZodString>;
14
+ is_current: z.ZodNullable<z.ZodString>;
15
+ is_default: z.ZodNullable<z.ZodString>;
16
+ database_name: z.ZodNullable<z.ZodString>;
17
+ retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
+ }, z.core.$strip>>>>>;
19
+ }, z.core.$strip>;
20
+ declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ database: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { snowflakeBasicShowSchemas };
9
25
  //# sourceMappingURL=show-schemas.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAYW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-schemas.d.ts
4
- declare const SnowflakeBasicShowSchemasInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowSchemasOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowSchemasInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
8
+ schemas: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ owner: z.ZodNullable<z.ZodString>;
11
+ comment: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12
+ options: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
+ created_on: z.ZodNullable<z.ZodString>;
14
+ is_current: z.ZodNullable<z.ZodString>;
15
+ is_default: z.ZodNullable<z.ZodString>;
16
+ database_name: z.ZodNullable<z.ZodString>;
17
+ retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
+ }, z.core.$strip>>>>>;
19
+ }, z.core.$strip>;
20
+ declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ database: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { snowflakeBasicShowSchemas };
9
25
  //# sourceMappingURL=show-schemas.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAYW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/show-schemas.ts
4
4
  const SnowflakeBasicShowSchemasInput = z.object({ database: z.string().describe("The name of the database for which to list schemas.") });
5
5
  const SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({
6
- name: z.string().describe("The name of the schema."),
7
- owner: z.string().describe("The owner/role that owns this schema."),
6
+ name: z.string().describe("The name of the schema.").nullable(),
7
+ owner: z.string().describe("The owner/role that owns this schema.").nullable(),
8
8
  comment: z.string().default("").describe("Any comments associated with the schema.").nullable().optional(),
9
9
  options: z.string().default("").describe("Schema options.").nullable().optional(),
10
- created_on: z.string().describe("When the schema was created."),
11
- is_current: z.string().describe("Whether this is the current schema (Y/N)."),
12
- is_default: z.string().describe("Whether this is the default schema (Y/N)."),
13
- database_name: z.string().describe("The name of the database containing this schema."),
10
+ created_on: z.string().describe("When the schema was created.").nullable(),
11
+ is_current: z.string().describe("Whether this is the current schema (Y/N).").nullable(),
12
+ is_default: z.string().describe("Whether this is the default schema (Y/N).").nullable(),
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
  });
16
16
  const snowflakeBasicShowSchemas = action("SNOWFLAKE_BASIC_SHOW_SCHEMAS", {
@@ -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.ZodTypeAny = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the schema.\"),\n owner: z.string().describe(\"The owner/role that owns this schema.\"),\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.\"),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\"),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\"),\n database_name: z.string().describe(\"The name of the database containing this schema.\"),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n});\nexport const SnowflakeBasicShowSchemasOutput: z.ZodTypeAny = 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,iCAA+C,EAAE,OAAO,EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,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;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,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,QAT2D,EAAE,OAAO,EACpE,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});\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"}
@@ -6,9 +6,9 @@ const SnowflakeBasicShowTablesInput = zod.z.object({
6
6
  schema_name: zod.z.string().describe("The name of the schema within the specified database for which to list tables.")
7
7
  });
8
8
  const SnowflakeBasicShowTables_TableItemSchema = zod.z.object({
9
- name: zod.z.string().describe("The name of the table."),
10
- bytes: zod.z.number().int().describe("The size of the table in bytes."),
11
- rowCount: zod.z.number().int().describe("The total number of rows in the table.")
9
+ name: zod.z.string().describe("The name of the table.").nullable(),
10
+ bytes: zod.z.number().int().describe("The size of the table in bytes.").nullable(),
11
+ rowCount: zod.z.number().int().describe("The total number of rows in the table.").nullable()
12
12
  });
13
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() });
14
14
  const snowflakeBasicShowTables = require_action.action("SNOWFLAKE_BASIC_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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the table.\"),\n bytes: z.number().int().describe(\"The size of the table in bytes.\"),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\"),\n});\nexport const SnowflakeBasicShowTablesOutput: z.ZodTypeAny = 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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAC9E,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,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});\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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-tables.d.ts
4
- declare const SnowflakeBasicShowTablesInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowTablesOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowTablesInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ schema_name: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
9
+ tables: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ bytes: z.ZodNullable<z.ZodNumber>;
12
+ rowCount: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>>>>;
14
+ }, z.core.$strip>;
15
+ declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ database: string;
17
+ schema_name: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { snowflakeBasicShowTables };
9
21
  //# 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,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAMW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/show-tables.d.ts
4
- declare const SnowflakeBasicShowTablesInput: z.ZodTypeAny;
5
- declare const SnowflakeBasicShowTablesOutput: z.ZodTypeAny;
6
- declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeBasicShowTablesInput: z.ZodObject<{
5
+ database: z.ZodString;
6
+ schema_name: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
9
+ tables: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ bytes: z.ZodNullable<z.ZodNumber>;
12
+ rowCount: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>>>>;
14
+ }, z.core.$strip>;
15
+ declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ database: string;
17
+ schema_name: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { snowflakeBasicShowTables };
9
21
  //# 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,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAMW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,9 +6,9 @@ const SnowflakeBasicShowTablesInput = z.object({
6
6
  schema_name: z.string().describe("The name of the schema within the specified database for which to list tables.")
7
7
  });
8
8
  const SnowflakeBasicShowTables_TableItemSchema = z.object({
9
- name: z.string().describe("The name of the table."),
10
- bytes: z.number().int().describe("The size of the table in bytes."),
11
- rowCount: z.number().int().describe("The total number of rows in the table.")
9
+ name: z.string().describe("The name of the table.").nullable(),
10
+ bytes: z.number().int().describe("The size of the table in bytes.").nullable(),
11
+ rowCount: z.number().int().describe("The total number of rows in the table.").nullable()
12
12
  });
13
13
  const snowflakeBasicShowTables = action("SNOWFLAKE_BASIC_SHOW_TABLES", {
14
14
  slug: "snowflake_basic-show-tables",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the table.\"),\n bytes: z.number().int().describe(\"The size of the table in bytes.\"),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\"),\n});\nexport const SnowflakeBasicShowTablesOutput: z.ZodTypeAny = 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,gCAA8C,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAC9E,CAAC;AAKD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,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});\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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,22 @@ const snowflakeBasicCatalog = {
7
7
  "category": "Databases",
8
8
  "logo": "https://logos.composio.dev/api/snowflake_basic",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "username": {
13
+ "label": "Username",
14
+ "description": "Username for basic auth"
15
+ },
16
+ "password": {
17
+ "label": "Password",
18
+ "description": "Password for basic auth"
19
+ },
20
+ "account_url": {
21
+ "label": "Account ID",
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
+ }
24
+ },
25
+ "credentialScheme": "BASIC"
11
26
  };
12
27
  //#endregion
13
28
  exports.snowflakeBasicCatalog = snowflakeBasicCatalog;
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
@@ -8,6 +8,21 @@ declare const snowflakeBasicCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/snowflake_basic";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly username: {
13
+ readonly label: "Username";
14
+ readonly description: "Username for basic auth";
15
+ };
16
+ readonly password: {
17
+ readonly label: "Password";
18
+ readonly description: "Password for basic auth";
19
+ };
20
+ readonly account_url: {
21
+ readonly label: "Account ID";
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
+ };
24
+ };
25
+ readonly credentialScheme: "BASIC";
11
26
  };
12
27
  //#endregion
13
28
  export { snowflakeBasicCatalog };
@@ -8,6 +8,21 @@ declare const snowflakeBasicCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/snowflake_basic";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly username: {
13
+ readonly label: "Username";
14
+ readonly description: "Username for basic auth";
15
+ };
16
+ readonly password: {
17
+ readonly label: "Password";
18
+ readonly description: "Password for basic auth";
19
+ };
20
+ readonly account_url: {
21
+ readonly label: "Account ID";
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
+ };
24
+ };
25
+ readonly credentialScheme: "BASIC";
11
26
  };
12
27
  //#endregion
13
28
  export { snowflakeBasicCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,22 @@ const snowflakeBasicCatalog = {
7
7
  "category": "Databases",
8
8
  "logo": "https://logos.composio.dev/api/snowflake_basic",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "username": {
13
+ "label": "Username",
14
+ "description": "Username for basic auth"
15
+ },
16
+ "password": {
17
+ "label": "Password",
18
+ "description": "Password for basic auth"
19
+ },
20
+ "account_url": {
21
+ "label": "Account ID",
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
+ }
24
+ },
25
+ "credentialScheme": "BASIC"
11
26
  };
12
27
  //#endregion
13
28
  export { snowflakeBasicCatalog };
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake_basic",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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": {