@keystrokehq/snowflake 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/actions/cancel-statement-execution.cjs +1 -1
  2. package/dist/actions/cancel-statement-execution.cjs.map +1 -1
  3. package/dist/actions/cancel-statement-execution.d.cts +1 -1
  4. package/dist/actions/cancel-statement-execution.d.mts +1 -1
  5. package/dist/actions/cancel-statement-execution.mjs +1 -1
  6. package/dist/actions/cancel-statement-execution.mjs.map +1 -1
  7. package/dist/actions/check-statement-status.cjs +4 -4
  8. package/dist/actions/check-statement-status.cjs.map +1 -1
  9. package/dist/actions/check-statement-status.d.cts +4 -4
  10. package/dist/actions/check-statement-status.d.mts +4 -4
  11. package/dist/actions/check-statement-status.mjs +4 -4
  12. package/dist/actions/check-statement-status.mjs.map +1 -1
  13. package/dist/actions/drop-warehouse.cjs +1 -1
  14. package/dist/actions/drop-warehouse.cjs.map +1 -1
  15. package/dist/actions/drop-warehouse.d.cts +1 -1
  16. package/dist/actions/drop-warehouse.d.mts +1 -1
  17. package/dist/actions/drop-warehouse.mjs +1 -1
  18. package/dist/actions/drop-warehouse.mjs.map +1 -1
  19. package/dist/actions/execute-sql.cjs +4 -4
  20. package/dist/actions/execute-sql.cjs.map +1 -1
  21. package/dist/actions/execute-sql.d.cts +4 -4
  22. package/dist/actions/execute-sql.d.mts +4 -4
  23. package/dist/actions/execute-sql.mjs +4 -4
  24. package/dist/actions/execute-sql.mjs.map +1 -1
  25. package/dist/actions/fetch-catalog-integration.cjs +2 -2
  26. package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
  27. package/dist/actions/fetch-catalog-integration.d.cts +2 -2
  28. package/dist/actions/fetch-catalog-integration.d.mts +2 -2
  29. package/dist/actions/fetch-catalog-integration.mjs +2 -2
  30. package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
  31. package/dist/actions/get-active-scheduled-maintenances.cjs +4 -4
  32. package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
  33. package/dist/actions/get-active-scheduled-maintenances.d.cts +4 -4
  34. package/dist/actions/get-active-scheduled-maintenances.d.mts +4 -4
  35. package/dist/actions/get-active-scheduled-maintenances.mjs +4 -4
  36. package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
  37. package/dist/actions/get-all-scheduled-maintenances.cjs +5 -5
  38. package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
  39. package/dist/actions/get-all-scheduled-maintenances.d.cts +5 -5
  40. package/dist/actions/get-all-scheduled-maintenances.d.mts +5 -5
  41. package/dist/actions/get-all-scheduled-maintenances.mjs +5 -5
  42. package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
  43. package/dist/actions/get-component-status.cjs +3 -3
  44. package/dist/actions/get-component-status.cjs.map +1 -1
  45. package/dist/actions/get-component-status.d.cts +3 -3
  46. package/dist/actions/get-component-status.d.mts +3 -3
  47. package/dist/actions/get-component-status.mjs +3 -3
  48. package/dist/actions/get-component-status.mjs.map +1 -1
  49. package/dist/actions/get-status-rollup.cjs +3 -3
  50. package/dist/actions/get-status-rollup.cjs.map +1 -1
  51. package/dist/actions/get-status-rollup.d.cts +3 -3
  52. package/dist/actions/get-status-rollup.d.mts +3 -3
  53. package/dist/actions/get-status-rollup.mjs +3 -3
  54. package/dist/actions/get-status-rollup.mjs.map +1 -1
  55. package/dist/actions/get-status-summary.cjs +7 -7
  56. package/dist/actions/get-status-summary.cjs.map +1 -1
  57. package/dist/actions/get-status-summary.d.cts +8 -8
  58. package/dist/actions/get-status-summary.d.mts +8 -8
  59. package/dist/actions/get-status-summary.mjs +7 -7
  60. package/dist/actions/get-status-summary.mjs.map +1 -1
  61. package/dist/actions/get-unresolved-incidents.cjs +4 -4
  62. package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
  63. package/dist/actions/get-unresolved-incidents.d.cts +4 -4
  64. package/dist/actions/get-unresolved-incidents.d.mts +4 -4
  65. package/dist/actions/get-unresolved-incidents.mjs +4 -4
  66. package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
  67. package/dist/actions/get-upcoming-scheduled-maintenances.cjs +4 -4
  68. package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
  69. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +4 -4
  70. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +4 -4
  71. package/dist/actions/get-upcoming-scheduled-maintenances.mjs +4 -4
  72. package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
  73. package/dist/actions/show-databases.cjs +1 -1
  74. package/dist/actions/show-databases.cjs.map +1 -1
  75. package/dist/actions/show-databases.d.cts +1 -1
  76. package/dist/actions/show-databases.d.mts +1 -1
  77. package/dist/actions/show-databases.mjs +1 -1
  78. package/dist/actions/show-databases.mjs.map +1 -1
  79. package/dist/actions/show-schemas.cjs +1 -1
  80. package/dist/actions/show-schemas.cjs.map +1 -1
  81. package/dist/actions/show-schemas.d.cts +1 -1
  82. package/dist/actions/show-schemas.d.mts +1 -1
  83. package/dist/actions/show-schemas.mjs +1 -1
  84. package/dist/actions/show-schemas.mjs.map +1 -1
  85. package/dist/actions/show-tables.cjs +1 -1
  86. package/dist/actions/show-tables.cjs.map +1 -1
  87. package/dist/actions/show-tables.d.cts +1 -1
  88. package/dist/actions/show-tables.d.mts +1 -1
  89. package/dist/actions/show-tables.mjs +1 -1
  90. package/dist/actions/show-tables.mjs.map +1 -1
  91. package/dist/actions/validate-credential.cjs +1 -1
  92. package/dist/actions/validate-credential.cjs.map +1 -1
  93. package/dist/actions/validate-credential.d.cts +1 -1
  94. package/dist/actions/validate-credential.d.mts +1 -1
  95. package/dist/actions/validate-credential.mjs +1 -1
  96. package/dist/actions/validate-credential.mjs.map +1 -1
  97. package/package.json +1 -1
@@ -8,7 +8,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = zod.z.object({
8
8
  name: zod.z.string().describe("The name of the status page.").nullable(),
9
9
  time_zone: zod.z.string().describe("The time zone of the status page.").nullable(),
10
10
  updated_at: zod.z.string().describe("The timestamp when the status page was last updated.").nullable()
11
- });
11
+ }).passthrough();
12
12
  const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
13
13
  id: zod.z.string().describe("The ID of the incident update.").nullable(),
14
14
  body: zod.z.string().describe("The body of the incident update.").nullable(),
@@ -17,7 +17,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = zod.z.obj
17
17
  display_at: zod.z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
18
18
  updated_at: zod.z.string().describe("The timestamp when the incident update was last updated.").nullable(),
19
19
  incident_id: zod.z.string().describe("The ID of the incident.").nullable()
20
- });
20
+ }).passthrough();
21
21
  const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
22
22
  id: zod.z.string().describe("The ID of the scheduled maintenance.").nullable(),
23
23
  name: zod.z.string().describe("The name of the scheduled maintenance.").nullable(),
@@ -32,11 +32,11 @@ const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = zod
32
32
  scheduled_for: zod.z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
33
33
  scheduled_until: zod.z.string().describe("The timestamp when the maintenance is scheduled until.").nullable(),
34
34
  incident_updates: zod.z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates for the scheduled maintenance.")
35
- });
35
+ }).passthrough();
36
36
  const SnowflakeGetUpcomingScheduledMaintenancesOutput = zod.z.object({
37
37
  page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),
38
38
  scheduled_maintenances: zod.z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.")
39
- });
39
+ }).passthrough();
40
40
  const snowflakeGetUpcomingScheduledMaintenances = require_action.action("SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES", {
41
41
  slug: "snowflake-get-upcoming-scheduled-maintenances",
42
42
  name: "Get Upcoming Scheduled Maintenances",
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n});\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n});\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":"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"}
@@ -9,7 +9,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  time_zone: z.ZodNullable<z.ZodString>;
11
11
  updated_at: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  scheduled_maintenances: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
@@ -31,9 +31,9 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
31
31
  display_at: z.ZodNullable<z.ZodString>;
32
32
  updated_at: z.ZodNullable<z.ZodString>;
33
33
  incident_id: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
37
  declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
38
  //#endregion
39
39
  export { snowflakeGetUpcomingScheduledMaintenances };
@@ -9,7 +9,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  time_zone: z.ZodNullable<z.ZodString>;
11
11
  updated_at: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  scheduled_maintenances: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
@@ -31,9 +31,9 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
31
31
  display_at: z.ZodNullable<z.ZodString>;
32
32
  updated_at: z.ZodNullable<z.ZodString>;
33
33
  incident_id: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
37
  declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
38
  //#endregion
39
39
  export { snowflakeGetUpcomingScheduledMaintenances };
@@ -8,7 +8,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({
8
8
  name: z.string().describe("The name of the status page.").nullable(),
9
9
  time_zone: z.string().describe("The time zone of the status page.").nullable(),
10
10
  updated_at: z.string().describe("The timestamp when the status page was last updated.").nullable()
11
- });
11
+ }).passthrough();
12
12
  const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({
13
13
  id: z.string().describe("The ID of the incident update.").nullable(),
14
14
  body: z.string().describe("The body of the incident update.").nullable(),
@@ -17,7 +17,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object(
17
17
  display_at: z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
18
18
  updated_at: z.string().describe("The timestamp when the incident update was last updated.").nullable(),
19
19
  incident_id: z.string().describe("The ID of the incident.").nullable()
20
- });
20
+ }).passthrough();
21
21
  const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
22
22
  id: z.string().describe("The ID of the scheduled maintenance.").nullable(),
23
23
  name: z.string().describe("The name of the scheduled maintenance.").nullable(),
@@ -32,7 +32,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.o
32
32
  scheduled_for: z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
33
33
  scheduled_until: z.string().describe("The timestamp when the maintenance is scheduled until.").nullable(),
34
34
  incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates for the scheduled maintenance.")
35
- });
35
+ }).passthrough();
36
36
  const snowflakeGetUpcomingScheduledMaintenances = action("SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES", {
37
37
  slug: "snowflake-get-upcoming-scheduled-maintenances",
38
38
  name: "Get Upcoming Scheduled Maintenances",
@@ -41,7 +41,7 @@ const snowflakeGetUpcomingScheduledMaintenances = action("SNOWFLAKE_GET_UPCOMING
41
41
  output: z.object({
42
42
  page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),
43
43
  scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.")
44
- })
44
+ }).passthrough()
45
45
  });
46
46
  //#endregion
47
47
  export { snowflakeGetUpcomingScheduledMaintenances };
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n});\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n});\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACvE,CAAC;AACD,MAAM,uEAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC;AAMD,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,yDAAyD,SAAS;EACxE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;CACrM,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iEAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uEAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,yDAAyD,SAAS;EACxE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;CACrM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,7 +20,7 @@ const SnowflakeShowDatabasesOutput = zod.z.object({
20
20
  zod.z.boolean()
21
21
  ]).nullable())).describe("List of databases with their metadata. Each row contains database information like name, creation date, owner, etc."),
22
22
  columns: zod.z.array(zod.z.string()).describe("Column names in the result set.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const snowflakeShowDatabases = require_action.action("SNOWFLAKE_SHOW_DATABASES", {
25
25
  slug: "snowflake-show-databases",
26
26
  name: "Show Databases",
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAClO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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 SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAClO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const SnowflakeShowDatabasesInput: z.ZodObject<{
15
15
  declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
16
16
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
17
17
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  role?: string | undefined;
21
21
  limit?: number | undefined;
@@ -15,7 +15,7 @@ declare const SnowflakeShowDatabasesInput: z.ZodObject<{
15
15
  declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
16
16
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
17
17
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  role?: string | undefined;
21
21
  limit?: number | undefined;
@@ -23,7 +23,7 @@ const snowflakeShowDatabases = action("SNOWFLAKE_SHOW_DATABASES", {
23
23
  z.boolean()
24
24
  ]).nullable())).describe("List of databases with their metadata. Each row contains database information like name, creation date, owner, etc."),
25
25
  columns: z.array(z.string()).describe("Column names in the result set.").nullable().optional()
26
- })
26
+ }).passthrough()
27
27
  });
28
28
  //#endregion
29
29
  export { snowflakeShowDatabases };
@@ -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 SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,CAUS;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;EAClO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,CAUS;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;EAClO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -22,7 +22,7 @@ const SnowflakeShowSchemasOutput = zod.z.object({
22
22
  zod.z.boolean()
23
23
  ]).nullable())).describe("List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc."),
24
24
  columns: zod.z.array(zod.z.string()).describe("Column names in the result set.").nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const snowflakeShowSchemas = require_action.action("SNOWFLAKE_SHOW_SCHEMAS", {
27
27
  slug: "snowflake-show-schemas",
28
28
  name: "Show Schemas",
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;CACxO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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 SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;CACxO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,7 +17,7 @@ declare const SnowflakeShowSchemasInput: z.ZodObject<{
17
17
  declare const SnowflakeShowSchemasOutput: z.ZodObject<{
18
18
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
19
19
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  role?: string | undefined;
23
23
  limit?: number | undefined;
@@ -17,7 +17,7 @@ declare const SnowflakeShowSchemasInput: z.ZodObject<{
17
17
  declare const SnowflakeShowSchemasOutput: z.ZodObject<{
18
18
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
19
19
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  role?: string | undefined;
23
23
  limit?: number | undefined;
@@ -25,7 +25,7 @@ const snowflakeShowSchemas = action("SNOWFLAKE_SHOW_SCHEMAS", {
25
25
  z.boolean()
26
26
  ]).nullable())).describe("List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc."),
27
27
  columns: z.array(z.string()).describe("Column names in the result set.").nullable().optional()
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { snowflakeShowSchemas };
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;EACxO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;EACxO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -23,7 +23,7 @@ const SnowflakeShowTablesOutput = zod.z.object({
23
23
  zod.z.boolean()
24
24
  ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
25
25
  columns: zod.z.array(zod.z.string()).describe("Column names in the result set.").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const snowflakeShowTables = require_action.action("SNOWFLAKE_SHOW_TABLES", {
28
28
  slug: "snowflake-show-tables",
29
29
  name: "Show Tables",
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAC/P,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAC/P,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const SnowflakeShowTablesInput: z.ZodObject<{
18
18
  declare const SnowflakeShowTablesOutput: z.ZodObject<{
19
19
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
20
20
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  role?: string | undefined;
24
24
  limit?: number | undefined;
@@ -18,7 +18,7 @@ declare const SnowflakeShowTablesInput: z.ZodObject<{
18
18
  declare const SnowflakeShowTablesOutput: z.ZodObject<{
19
19
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
20
20
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  role?: string | undefined;
24
24
  limit?: number | undefined;
@@ -26,7 +26,7 @@ const snowflakeShowTables = action("SNOWFLAKE_SHOW_TABLES", {
26
26
  z.boolean()
27
27
  ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
28
28
  columns: z.array(z.string()).describe("Column names in the result set.").nullable().optional()
29
- })
29
+ }).passthrough()
30
30
  });
31
31
  //#endregion
32
32
  export { snowflakeShowTables };
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,7 +6,7 @@ const SnowflakeValidateCredentialOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Additional status message or error details").nullable().optional(),
7
7
  is_valid: zod.z.boolean().describe("Indicates whether the credentials are valid and the session is active").nullable(),
8
8
  session_id: zod.z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
9
- }).describe("Response model for credential validation.");
9
+ }).passthrough().describe("Response model for credential validation.");
10
10
  const snowflakeValidateCredential = require_action.action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
11
11
  slug: "snowflake-validate-credential",
12
12
  name: "Validate Credential",
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3H,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3H,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
6
6
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  is_valid: z.ZodNullable<z.ZodBoolean>;
8
8
  session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
11
  //#endregion
12
12
  export { snowflakeValidateCredential };
@@ -6,7 +6,7 @@ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
6
6
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  is_valid: z.ZodNullable<z.ZodBoolean>;
8
8
  session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
11
  //#endregion
12
12
  export { snowflakeValidateCredential };
@@ -9,7 +9,7 @@ const snowflakeValidateCredential = action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
9
9
  message: z.string().describe("Additional status message or error details").nullable().optional(),
10
10
  is_valid: z.boolean().describe("Indicates whether the credentials are valid and the session is active").nullable(),
11
11
  session_id: z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
12
- }).describe("Response model for credential validation.")
12
+ }).passthrough().describe("Response model for credential validation.")
13
13
  });
14
14
  //#endregion
15
15
  export { snowflakeValidateCredential };
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAW7D;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAW7D;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"