@keystrokehq/snowflake 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-statement-execution.cjs +6 -6
- package/dist/actions/cancel-statement-execution.cjs.map +1 -1
- package/dist/actions/cancel-statement-execution.d.cts +15 -3
- package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
- package/dist/actions/cancel-statement-execution.d.mts +15 -3
- package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
- package/dist/actions/cancel-statement-execution.mjs +6 -6
- package/dist/actions/cancel-statement-execution.mjs.map +1 -1
- package/dist/actions/check-statement-status.cjs +15 -15
- package/dist/actions/check-statement-status.cjs.map +1 -1
- package/dist/actions/check-statement-status.d.cts +41 -3
- package/dist/actions/check-statement-status.d.cts.map +1 -1
- package/dist/actions/check-statement-status.d.mts +41 -3
- package/dist/actions/check-statement-status.d.mts.map +1 -1
- package/dist/actions/check-statement-status.mjs +15 -15
- package/dist/actions/check-statement-status.mjs.map +1 -1
- package/dist/actions/drop-warehouse.cjs +1 -1
- package/dist/actions/drop-warehouse.cjs.map +1 -1
- package/dist/actions/drop-warehouse.d.cts +14 -3
- package/dist/actions/drop-warehouse.d.cts.map +1 -1
- package/dist/actions/drop-warehouse.d.mts +14 -3
- package/dist/actions/drop-warehouse.d.mts.map +1 -1
- package/dist/actions/drop-warehouse.mjs +1 -1
- package/dist/actions/drop-warehouse.mjs.map +1 -1
- package/dist/actions/execute-sql.cjs +15 -15
- package/dist/actions/execute-sql.cjs.map +1 -1
- package/dist/actions/execute-sql.d.cts +52 -3
- package/dist/actions/execute-sql.d.cts.map +1 -1
- package/dist/actions/execute-sql.d.mts +52 -3
- package/dist/actions/execute-sql.d.mts.map +1 -1
- package/dist/actions/execute-sql.mjs +15 -15
- package/dist/actions/execute-sql.mjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.cjs +2 -2
- package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.cts +18 -3
- package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.mts +18 -3
- package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
- package/dist/actions/fetch-catalog-integration.mjs +2 -2
- package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.cjs +26 -26
- package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.cts +35 -3
- package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.mts +35 -3
- package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.mjs +26 -26
- package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.cjs +29 -29
- package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.cts +44 -3
- package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.mts +44 -3
- package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.mjs +29 -29
- package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-component-status.cjs +17 -17
- package/dist/actions/get-component-status.cjs.map +1 -1
- package/dist/actions/get-component-status.d.cts +29 -3
- package/dist/actions/get-component-status.d.cts.map +1 -1
- package/dist/actions/get-component-status.d.mts +29 -3
- package/dist/actions/get-component-status.d.mts.map +1 -1
- package/dist/actions/get-component-status.mjs +17 -17
- package/dist/actions/get-component-status.mjs.map +1 -1
- package/dist/actions/get-status-rollup.cjs +10 -10
- package/dist/actions/get-status-rollup.cjs.map +1 -1
- package/dist/actions/get-status-rollup.d.cts +15 -3
- package/dist/actions/get-status-rollup.d.cts.map +1 -1
- package/dist/actions/get-status-rollup.d.mts +15 -3
- package/dist/actions/get-status-rollup.d.mts.map +1 -1
- package/dist/actions/get-status-rollup.mjs +10 -10
- package/dist/actions/get-status-rollup.mjs.map +1 -1
- package/dist/actions/get-status-summary.cjs +7 -7
- package/dist/actions/get-status-summary.cjs.map +1 -1
- package/dist/actions/get-status-summary.d.cts +75 -3
- package/dist/actions/get-status-summary.d.cts.map +1 -1
- package/dist/actions/get-status-summary.d.mts +75 -3
- package/dist/actions/get-status-summary.d.mts.map +1 -1
- package/dist/actions/get-status-summary.mjs +7 -7
- package/dist/actions/get-status-summary.mjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.cjs +24 -24
- package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.cts +32 -3
- package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.mts +32 -3
- package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
- package/dist/actions/get-unresolved-incidents.mjs +24 -24
- package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs +26 -26
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +34 -3
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +34 -3
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs +26 -26
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/show-databases.cjs +1 -1
- package/dist/actions/show-databases.cjs.map +1 -1
- package/dist/actions/show-databases.d.cts +26 -3
- package/dist/actions/show-databases.d.cts.map +1 -1
- package/dist/actions/show-databases.d.mts +26 -3
- package/dist/actions/show-databases.d.mts.map +1 -1
- package/dist/actions/show-databases.mjs +1 -1
- package/dist/actions/show-databases.mjs.map +1 -1
- package/dist/actions/show-schemas.cjs +1 -1
- package/dist/actions/show-schemas.cjs.map +1 -1
- package/dist/actions/show-schemas.d.cts +30 -3
- package/dist/actions/show-schemas.d.cts.map +1 -1
- package/dist/actions/show-schemas.d.mts +30 -3
- package/dist/actions/show-schemas.d.mts.map +1 -1
- package/dist/actions/show-schemas.mjs +1 -1
- package/dist/actions/show-schemas.mjs.map +1 -1
- package/dist/actions/show-tables.cjs +1 -1
- package/dist/actions/show-tables.cjs.map +1 -1
- package/dist/actions/show-tables.d.cts +32 -3
- package/dist/actions/show-tables.d.cts.map +1 -1
- package/dist/actions/show-tables.d.mts +32 -3
- package/dist/actions/show-tables.d.mts.map +1 -1
- package/dist/actions/show-tables.mjs +1 -1
- package/dist/actions/show-tables.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +2 -2
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +7 -3
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +7 -3
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +2 -2
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,40 +3,40 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-upcoming-scheduled-maintenances.ts
|
|
4
4
|
const SnowflakeGetUpcomingScheduledMaintenancesInput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Request model for getting upcoming scheduled maintenances.");
|
|
5
5
|
const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The ID of the Snowflake status page."),
|
|
7
|
-
url: zod.z.string().describe("The URL of the status page."),
|
|
8
|
-
name: zod.z.string().describe("The name of the status page."),
|
|
9
|
-
time_zone: zod.z.string().describe("The time zone of the status page."),
|
|
10
|
-
updated_at: zod.z.string().describe("The timestamp when the status page was last updated.")
|
|
11
|
-
});
|
|
6
|
+
id: zod.z.string().describe("The ID of the Snowflake status page.").nullable(),
|
|
7
|
+
url: zod.z.string().describe("The URL of the status page.").nullable(),
|
|
8
|
+
name: zod.z.string().describe("The name of the status page.").nullable(),
|
|
9
|
+
time_zone: zod.z.string().describe("The time zone of the status page.").nullable(),
|
|
10
|
+
updated_at: zod.z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
13
|
-
id: zod.z.string().describe("The ID of the incident update."),
|
|
14
|
-
body: zod.z.string().describe("The body of the incident update."),
|
|
15
|
-
status: zod.z.string().describe("The status of the incident update."),
|
|
16
|
-
created_at: zod.z.string().describe("The timestamp when the incident update was created."),
|
|
17
|
-
display_at: zod.z.string().describe("The timestamp when the incident update should be displayed."),
|
|
18
|
-
updated_at: zod.z.string().describe("The timestamp when the incident update was last updated."),
|
|
19
|
-
incident_id: zod.z.string().describe("The ID of the incident.")
|
|
20
|
-
});
|
|
13
|
+
id: zod.z.string().describe("The ID of the incident update.").nullable(),
|
|
14
|
+
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
15
|
+
status: zod.z.string().describe("The status of the incident update.").nullable(),
|
|
16
|
+
created_at: zod.z.string().describe("The timestamp when the incident update was created.").nullable(),
|
|
17
|
+
display_at: zod.z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
|
+
updated_at: zod.z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
|
+
incident_id: zod.z.string().describe("The ID of the incident.").nullable()
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
22
|
-
id: zod.z.string().describe("The ID of the scheduled maintenance."),
|
|
23
|
-
name: zod.z.string().describe("The name of the scheduled maintenance."),
|
|
24
|
-
impact: zod.z.string().describe("The impact of the scheduled maintenance."),
|
|
25
|
-
status: zod.z.string().describe("The status of the scheduled maintenance."),
|
|
26
|
-
page_id: zod.z.string().describe("The ID of the page."),
|
|
27
|
-
shortlink: zod.z.string().describe("A short link to the scheduled maintenance."),
|
|
28
|
-
created_at: zod.z.string().describe("The timestamp when the scheduled maintenance was created."),
|
|
29
|
-
updated_at: zod.z.string().describe("The timestamp when the scheduled maintenance was last updated."),
|
|
22
|
+
id: zod.z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
23
|
+
name: zod.z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
24
|
+
impact: zod.z.string().describe("The impact of the scheduled maintenance.").nullable(),
|
|
25
|
+
status: zod.z.string().describe("The status of the scheduled maintenance.").nullable(),
|
|
26
|
+
page_id: zod.z.string().describe("The ID of the page.").nullable(),
|
|
27
|
+
shortlink: zod.z.string().describe("A short link to the scheduled maintenance.").nullable(),
|
|
28
|
+
created_at: zod.z.string().describe("The timestamp when the scheduled maintenance was created.").nullable(),
|
|
29
|
+
updated_at: zod.z.string().describe("The timestamp when the scheduled maintenance was last updated.").nullable(),
|
|
30
30
|
resolved_at: zod.z.string().describe("The timestamp when the scheduled maintenance was resolved.").nullable().optional(),
|
|
31
31
|
monitoring_at: zod.z.string().describe("The timestamp when the scheduled maintenance was last monitored.").nullable().optional(),
|
|
32
|
-
scheduled_for: zod.z.string().describe("The timestamp when the maintenance is scheduled for."),
|
|
33
|
-
scheduled_until: zod.z.string().describe("The timestamp when the maintenance is scheduled until."),
|
|
32
|
+
scheduled_for: zod.z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
|
|
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
|
|
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":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;C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SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAM,yDAAyD,SAAS;CACxE,wBAAwBA,IAAAA,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;AACrM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-upcoming-scheduled-maintenances.d.ts
|
|
4
|
-
declare const SnowflakeGetUpcomingScheduledMaintenancesInput: z.
|
|
5
|
-
declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeGetUpcomingScheduledMaintenancesInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5
|
+
declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
6
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
url: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
scheduled_maintenances: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
impact: z.ZodNullable<z.ZodString>;
|
|
17
|
+
status: z.ZodNullable<z.ZodString>;
|
|
18
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
shortlink: z.ZodNullable<z.ZodString>;
|
|
20
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
scheduled_for: z.ZodNullable<z.ZodString>;
|
|
25
|
+
scheduled_until: z.ZodNullable<z.ZodString>;
|
|
26
|
+
incident_updates: z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodString>;
|
|
28
|
+
body: z.ZodNullable<z.ZodString>;
|
|
29
|
+
status: z.ZodNullable<z.ZodString>;
|
|
30
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
31
|
+
display_at: z.ZodNullable<z.ZodString>;
|
|
32
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
incident_id: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { snowflakeGetUpcomingScheduledMaintenances };
|
|
9
40
|
//# sourceMappingURL=get-upcoming-scheduled-maintenances.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-upcoming-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,
|
|
1
|
+
{"version":3,"file":"get-upcoming-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,gCAAyC,wBAAA,CAAA,MAAA,0DAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-upcoming-scheduled-maintenances.d.ts
|
|
4
|
-
declare const SnowflakeGetUpcomingScheduledMaintenancesInput: z.
|
|
5
|
-
declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeGetUpcomingScheduledMaintenancesInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5
|
+
declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
6
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
url: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
scheduled_maintenances: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
impact: z.ZodNullable<z.ZodString>;
|
|
17
|
+
status: z.ZodNullable<z.ZodString>;
|
|
18
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
shortlink: z.ZodNullable<z.ZodString>;
|
|
20
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
scheduled_for: z.ZodNullable<z.ZodString>;
|
|
25
|
+
scheduled_until: z.ZodNullable<z.ZodString>;
|
|
26
|
+
incident_updates: z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodNullable<z.ZodString>;
|
|
28
|
+
body: z.ZodNullable<z.ZodString>;
|
|
29
|
+
status: z.ZodNullable<z.ZodString>;
|
|
30
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
31
|
+
display_at: z.ZodNullable<z.ZodString>;
|
|
32
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
incident_id: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { snowflakeGetUpcomingScheduledMaintenances };
|
|
9
40
|
//# sourceMappingURL=get-upcoming-scheduled-maintenances.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-upcoming-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,
|
|
1
|
+
{"version":3,"file":"get-upcoming-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,gCAAyC,wBAAA,CAAA,MAAA,0DAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,36 +3,36 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-upcoming-scheduled-maintenances.ts
|
|
4
4
|
const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe("Request model for getting upcoming scheduled maintenances.");
|
|
5
5
|
const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({
|
|
6
|
-
id: z.string().describe("The ID of the Snowflake status page."),
|
|
7
|
-
url: z.string().describe("The URL of the status page."),
|
|
8
|
-
name: z.string().describe("The name of the status page."),
|
|
9
|
-
time_zone: z.string().describe("The time zone of the status page."),
|
|
10
|
-
updated_at: z.string().describe("The timestamp when the status page was last updated.")
|
|
11
|
-
});
|
|
6
|
+
id: z.string().describe("The ID of the Snowflake status page.").nullable(),
|
|
7
|
+
url: z.string().describe("The URL of the status page.").nullable(),
|
|
8
|
+
name: z.string().describe("The name of the status page.").nullable(),
|
|
9
|
+
time_zone: z.string().describe("The time zone of the status page.").nullable(),
|
|
10
|
+
updated_at: z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
13
|
-
id: z.string().describe("The ID of the incident update."),
|
|
14
|
-
body: z.string().describe("The body of the incident update."),
|
|
15
|
-
status: z.string().describe("The status of the incident update."),
|
|
16
|
-
created_at: z.string().describe("The timestamp when the incident update was created."),
|
|
17
|
-
display_at: z.string().describe("The timestamp when the incident update should be displayed."),
|
|
18
|
-
updated_at: z.string().describe("The timestamp when the incident update was last updated."),
|
|
19
|
-
incident_id: z.string().describe("The ID of the incident.")
|
|
20
|
-
});
|
|
13
|
+
id: z.string().describe("The ID of the incident update.").nullable(),
|
|
14
|
+
body: z.string().describe("The body of the incident update.").nullable(),
|
|
15
|
+
status: z.string().describe("The status of the incident update.").nullable(),
|
|
16
|
+
created_at: z.string().describe("The timestamp when the incident update was created.").nullable(),
|
|
17
|
+
display_at: z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
|
+
updated_at: z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
|
+
incident_id: z.string().describe("The ID of the incident.").nullable()
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
22
|
-
id: z.string().describe("The ID of the scheduled maintenance."),
|
|
23
|
-
name: z.string().describe("The name of the scheduled maintenance."),
|
|
24
|
-
impact: z.string().describe("The impact of the scheduled maintenance."),
|
|
25
|
-
status: z.string().describe("The status of the scheduled maintenance."),
|
|
26
|
-
page_id: z.string().describe("The ID of the page."),
|
|
27
|
-
shortlink: z.string().describe("A short link to the scheduled maintenance."),
|
|
28
|
-
created_at: z.string().describe("The timestamp when the scheduled maintenance was created."),
|
|
29
|
-
updated_at: z.string().describe("The timestamp when the scheduled maintenance was last updated."),
|
|
22
|
+
id: z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
23
|
+
name: z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
24
|
+
impact: z.string().describe("The impact of the scheduled maintenance.").nullable(),
|
|
25
|
+
status: z.string().describe("The status of the scheduled maintenance.").nullable(),
|
|
26
|
+
page_id: z.string().describe("The ID of the page.").nullable(),
|
|
27
|
+
shortlink: z.string().describe("A short link to the scheduled maintenance.").nullable(),
|
|
28
|
+
created_at: z.string().describe("The timestamp when the scheduled maintenance was created.").nullable(),
|
|
29
|
+
updated_at: z.string().describe("The timestamp when the scheduled maintenance was last updated.").nullable(),
|
|
30
30
|
resolved_at: z.string().describe("The timestamp when the scheduled maintenance was resolved.").nullable().optional(),
|
|
31
31
|
monitoring_at: z.string().describe("The timestamp when the scheduled maintenance was last monitored.").nullable().optional(),
|
|
32
|
-
scheduled_for: z.string().describe("The timestamp when the maintenance is scheduled for."),
|
|
33
|
-
scheduled_until: z.string().describe("The timestamp when the maintenance is scheduled until."),
|
|
32
|
+
scheduled_for: z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
|
|
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
|
|
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,8BAA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,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
|
|
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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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/show-databases.d.ts
|
|
4
|
-
declare const SnowflakeShowDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeShowDatabasesInput: z.ZodObject<{
|
|
5
|
+
role: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
from_name: z.ZodOptional<z.ZodString>;
|
|
11
|
+
warehouse: z.ZodOptional<z.ZodString>;
|
|
12
|
+
starts_with: z.ZodOptional<z.ZodString>;
|
|
13
|
+
like_pattern: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
17
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
role?: string | undefined;
|
|
21
|
+
limit?: number | undefined;
|
|
22
|
+
terse?: boolean | undefined;
|
|
23
|
+
history?: boolean | undefined;
|
|
24
|
+
timeout?: number | undefined;
|
|
25
|
+
from_name?: string | undefined;
|
|
26
|
+
warehouse?: string | undefined;
|
|
27
|
+
starts_with?: string | undefined;
|
|
28
|
+
like_pattern?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { snowflakeShowDatabases };
|
|
9
32
|
//# sourceMappingURL=show-databases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/show-databases.d.ts
|
|
4
|
-
declare const SnowflakeShowDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeShowDatabasesInput: z.ZodObject<{
|
|
5
|
+
role: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
from_name: z.ZodOptional<z.ZodString>;
|
|
11
|
+
warehouse: z.ZodOptional<z.ZodString>;
|
|
12
|
+
starts_with: z.ZodOptional<z.ZodString>;
|
|
13
|
+
like_pattern: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
|
|
16
|
+
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
17
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
role?: string | undefined;
|
|
21
|
+
limit?: number | undefined;
|
|
22
|
+
terse?: boolean | undefined;
|
|
23
|
+
history?: boolean | undefined;
|
|
24
|
+
timeout?: number | undefined;
|
|
25
|
+
from_name?: string | undefined;
|
|
26
|
+
warehouse?: string | undefined;
|
|
27
|
+
starts_with?: string | undefined;
|
|
28
|
+
like_pattern?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { snowflakeShowDatabases };
|
|
9
32
|
//# sourceMappingURL=show-databases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -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
|
|
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,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utput = 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
|
|
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"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/show-schemas.d.ts
|
|
4
|
-
declare const SnowflakeShowSchemasInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeShowSchemasInput: z.ZodObject<{
|
|
5
|
+
role: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
database: z.ZodOptional<z.ZodString>;
|
|
11
|
+
in_scope: z.ZodOptional<z.ZodString>;
|
|
12
|
+
from_name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
warehouse: z.ZodOptional<z.ZodString>;
|
|
14
|
+
starts_with: z.ZodOptional<z.ZodString>;
|
|
15
|
+
like_pattern: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const SnowflakeShowSchemasOutput: z.ZodObject<{
|
|
18
|
+
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
19
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
role?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
terse?: boolean | undefined;
|
|
25
|
+
history?: boolean | undefined;
|
|
26
|
+
timeout?: number | undefined;
|
|
27
|
+
database?: string | undefined;
|
|
28
|
+
in_scope?: string | undefined;
|
|
29
|
+
from_name?: string | undefined;
|
|
30
|
+
warehouse?: string | undefined;
|
|
31
|
+
starts_with?: string | undefined;
|
|
32
|
+
like_pattern?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { snowflakeShowSchemas };
|
|
9
36
|
//# sourceMappingURL=show-schemas.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/show-schemas.d.ts
|
|
4
|
-
declare const SnowflakeShowSchemasInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SnowflakeShowSchemasInput: z.ZodObject<{
|
|
5
|
+
role: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
terse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
history: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
database: z.ZodOptional<z.ZodString>;
|
|
11
|
+
in_scope: z.ZodOptional<z.ZodString>;
|
|
12
|
+
from_name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
warehouse: z.ZodOptional<z.ZodString>;
|
|
14
|
+
starts_with: z.ZodOptional<z.ZodString>;
|
|
15
|
+
like_pattern: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const SnowflakeShowSchemasOutput: z.ZodObject<{
|
|
18
|
+
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
19
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
role?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
terse?: boolean | undefined;
|
|
25
|
+
history?: boolean | undefined;
|
|
26
|
+
timeout?: number | undefined;
|
|
27
|
+
database?: string | undefined;
|
|
28
|
+
in_scope?: string | undefined;
|
|
29
|
+
from_name?: string | undefined;
|
|
30
|
+
warehouse?: string | undefined;
|
|
31
|
+
starts_with?: string | undefined;
|
|
32
|
+
like_pattern?: string | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { snowflakeShowSchemas };
|
|
9
36
|
//# sourceMappingURL=show-schemas.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -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 };
|