@keystrokehq/snowflake 0.0.22 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/cancel-statement-execution.cjs +25 -0
- package/dist/actions/cancel-statement-execution.cjs.map +1 -0
- package/dist/actions/cancel-statement-execution.d.cts +21 -0
- package/dist/actions/cancel-statement-execution.d.cts.map +1 -0
- package/dist/actions/cancel-statement-execution.d.mts +21 -0
- package/dist/actions/cancel-statement-execution.d.mts.map +1 -0
- package/dist/actions/cancel-statement-execution.mjs +22 -0
- package/dist/actions/cancel-statement-execution.mjs.map +1 -0
- package/dist/actions/check-statement-status.cjs +58 -0
- package/dist/actions/check-statement-status.cjs.map +1 -0
- package/dist/actions/check-statement-status.d.cts +47 -0
- package/dist/actions/check-statement-status.d.cts.map +1 -0
- package/dist/actions/check-statement-status.d.mts +47 -0
- package/dist/actions/check-statement-status.d.mts.map +1 -0
- package/dist/actions/check-statement-status.mjs +57 -0
- package/dist/actions/check-statement-status.mjs.map +1 -0
- package/dist/actions/drop-warehouse.cjs +24 -0
- package/dist/actions/drop-warehouse.cjs.map +1 -0
- package/dist/actions/drop-warehouse.d.cts +20 -0
- package/dist/actions/drop-warehouse.d.cts.map +1 -0
- package/dist/actions/drop-warehouse.d.mts +20 -0
- package/dist/actions/drop-warehouse.d.mts.map +1 -0
- package/dist/actions/drop-warehouse.mjs +21 -0
- package/dist/actions/drop-warehouse.mjs.map +1 -0
- package/dist/actions/execute-sql.cjs +64 -0
- package/dist/actions/execute-sql.cjs.map +1 -0
- package/dist/actions/execute-sql.d.cts +58 -0
- package/dist/actions/execute-sql.d.cts.map +1 -0
- package/dist/actions/execute-sql.d.mts +58 -0
- package/dist/actions/execute-sql.d.mts.map +1 -0
- package/dist/actions/execute-sql.mjs +63 -0
- package/dist/actions/execute-sql.mjs.map +1 -0
- package/dist/actions/fetch-catalog-integration.cjs +26 -0
- package/dist/actions/fetch-catalog-integration.cjs.map +1 -0
- package/dist/actions/fetch-catalog-integration.d.cts +24 -0
- package/dist/actions/fetch-catalog-integration.d.cts.map +1 -0
- package/dist/actions/fetch-catalog-integration.d.mts +24 -0
- package/dist/actions/fetch-catalog-integration.d.mts.map +1 -0
- package/dist/actions/fetch-catalog-integration.mjs +25 -0
- package/dist/actions/fetch-catalog-integration.mjs.map +1 -0
- package/dist/actions/get-active-scheduled-maintenances.cjs +51 -0
- package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -0
- package/dist/actions/get-active-scheduled-maintenances.d.cts +41 -0
- package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -0
- package/dist/actions/get-active-scheduled-maintenances.d.mts +41 -0
- package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -0
- package/dist/actions/get-active-scheduled-maintenances.mjs +50 -0
- package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -0
- package/dist/actions/get-all-scheduled-maintenances.cjs +61 -0
- package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -0
- package/dist/actions/get-all-scheduled-maintenances.d.cts +50 -0
- package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -0
- package/dist/actions/get-all-scheduled-maintenances.d.mts +50 -0
- package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -0
- package/dist/actions/get-all-scheduled-maintenances.mjs +60 -0
- package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -0
- package/dist/actions/get-component-status.cjs +40 -0
- package/dist/actions/get-component-status.cjs.map +1 -0
- package/dist/actions/get-component-status.d.cts +35 -0
- package/dist/actions/get-component-status.d.cts.map +1 -0
- package/dist/actions/get-component-status.d.mts +35 -0
- package/dist/actions/get-component-status.d.mts.map +1 -0
- package/dist/actions/get-component-status.mjs +39 -0
- package/dist/actions/get-component-status.mjs.map +1 -0
- package/dist/actions/get-status-rollup.cjs +30 -0
- package/dist/actions/get-status-rollup.cjs.map +1 -0
- package/dist/actions/get-status-rollup.d.cts +21 -0
- package/dist/actions/get-status-rollup.d.cts.map +1 -0
- package/dist/actions/get-status-rollup.d.mts +21 -0
- package/dist/actions/get-status-rollup.d.mts.map +1 -0
- package/dist/actions/get-status-rollup.mjs +29 -0
- package/dist/actions/get-status-rollup.mjs.map +1 -0
- package/dist/actions/get-status-summary.cjs +86 -0
- package/dist/actions/get-status-summary.cjs.map +1 -0
- package/dist/actions/get-status-summary.d.cts +81 -0
- package/dist/actions/get-status-summary.d.cts.map +1 -0
- package/dist/actions/get-status-summary.d.mts +81 -0
- package/dist/actions/get-status-summary.d.mts.map +1 -0
- package/dist/actions/get-status-summary.mjs +85 -0
- package/dist/actions/get-status-summary.mjs.map +1 -0
- package/dist/actions/get-unresolved-incidents.cjs +48 -0
- package/dist/actions/get-unresolved-incidents.cjs.map +1 -0
- package/dist/actions/get-unresolved-incidents.d.cts +38 -0
- package/dist/actions/get-unresolved-incidents.d.cts.map +1 -0
- package/dist/actions/get-unresolved-incidents.d.mts +38 -0
- package/dist/actions/get-unresolved-incidents.d.mts.map +1 -0
- package/dist/actions/get-unresolved-incidents.mjs +47 -0
- package/dist/actions/get-unresolved-incidents.mjs.map +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs +50 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +40 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +40 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs +49 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -0
- package/dist/actions/index.cjs +33 -0
- package/dist/actions/index.d.cts +17 -0
- package/dist/actions/index.d.mts +17 -0
- package/dist/actions/index.mjs +17 -0
- package/dist/actions/show-databases.cjs +34 -0
- package/dist/actions/show-databases.cjs.map +1 -0
- package/dist/actions/show-databases.d.cts +32 -0
- package/dist/actions/show-databases.d.cts.map +1 -0
- package/dist/actions/show-databases.d.mts +32 -0
- package/dist/actions/show-databases.d.mts.map +1 -0
- package/dist/actions/show-databases.mjs +31 -0
- package/dist/actions/show-databases.mjs.map +1 -0
- package/dist/actions/show-schemas.cjs +36 -0
- package/dist/actions/show-schemas.cjs.map +1 -0
- package/dist/actions/show-schemas.d.cts +36 -0
- package/dist/actions/show-schemas.d.cts.map +1 -0
- package/dist/actions/show-schemas.d.mts +36 -0
- package/dist/actions/show-schemas.d.mts.map +1 -0
- package/dist/actions/show-schemas.mjs +33 -0
- package/dist/actions/show-schemas.mjs.map +1 -0
- package/dist/actions/show-tables.cjs +37 -0
- package/dist/actions/show-tables.cjs.map +1 -0
- package/dist/actions/show-tables.d.cts +38 -0
- package/dist/actions/show-tables.d.cts.map +1 -0
- package/dist/actions/show-tables.d.mts +38 -0
- package/dist/actions/show-tables.d.mts.map +1 -0
- package/dist/actions/show-tables.mjs +34 -0
- package/dist/actions/show-tables.mjs.map +1 -0
- package/dist/actions/validate-credential.cjs +20 -0
- package/dist/actions/validate-credential.cjs.map +1 -0
- package/dist/actions/validate-credential.d.cts +13 -0
- package/dist/actions/validate-credential.d.cts.map +1 -0
- package/dist/actions/validate-credential.d.mts +13 -0
- package/dist/actions/validate-credential.d.mts.map +1 -0
- package/dist/actions/validate-credential.mjs +17 -0
- package/dist/actions/validate-credential.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +38 -0
- package/dist/index.d.cts +19 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.mjs +20 -0
- package/package.json +11 -18
- package/LICENSE +0 -21
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-all-scheduled-maintenances.ts
|
|
4
|
+
const SnowflakeGetAllScheduledMaintenancesInput = zod.z.object({});
|
|
5
|
+
const SnowflakeGetAllScheduledMaintenances_PageSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The ID of the page.").nullable(),
|
|
7
|
+
url: zod.z.string().describe("The URL of the page.").nullable(),
|
|
8
|
+
name: zod.z.string().describe("The name of the page.").nullable(),
|
|
9
|
+
time_zone: zod.z.string().describe("The time zone of the page.").nullable(),
|
|
10
|
+
updated_at: zod.z.string().describe("The timestamp of the last update.").nullable()
|
|
11
|
+
});
|
|
12
|
+
const SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = zod.z.object({
|
|
13
|
+
code: zod.z.string().describe("The code of the affected component.").nullable(),
|
|
14
|
+
name: zod.z.string().describe("The name of the affected component.").nullable(),
|
|
15
|
+
new_status: zod.z.string().describe("The new status of the component.").nullable(),
|
|
16
|
+
old_status: zod.z.string().describe("The previous status of the component.").nullable()
|
|
17
|
+
});
|
|
18
|
+
const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
19
|
+
id: zod.z.string().describe("The ID of the incident update.").nullable(),
|
|
20
|
+
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
21
|
+
status: zod.z.string().describe("The status of the incident update.").nullable(),
|
|
22
|
+
tweet_id: zod.z.string().describe("Twitter tweet ID if posted.").nullable().optional(),
|
|
23
|
+
created_at: zod.z.string().describe("The timestamp of the incident update creation.").nullable(),
|
|
24
|
+
display_at: zod.z.string().describe("The timestamp to display the incident update.").nullable(),
|
|
25
|
+
updated_at: zod.z.string().describe("The timestamp of the last update.").nullable(),
|
|
26
|
+
incident_id: zod.z.string().describe("The ID of the incident.").nullable(),
|
|
27
|
+
custom_tweet: zod.z.string().describe("Custom tweet text if available.").nullable().optional(),
|
|
28
|
+
affected_components: zod.z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe("List of affected components with their status changes.").nullable().optional(),
|
|
29
|
+
deliver_notifications: zod.z.boolean().default(false).describe("Whether notifications were delivered for this update.").nullable().optional()
|
|
30
|
+
});
|
|
31
|
+
const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
32
|
+
id: zod.z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
33
|
+
name: zod.z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
34
|
+
impact: zod.z.string().describe("The impact of the scheduled maintenance.").nullable(),
|
|
35
|
+
status: zod.z.string().describe("The status of the scheduled maintenance.").nullable(),
|
|
36
|
+
page_id: zod.z.string().describe("The ID of the page.").nullable(),
|
|
37
|
+
shortlink: zod.z.string().describe("The shortlink of the scheduled maintenance.").nullable(),
|
|
38
|
+
created_at: zod.z.string().describe("The timestamp of the scheduled maintenance creation.").nullable(),
|
|
39
|
+
started_at: zod.z.string().describe("The timestamp when the maintenance actually started.").nullable().optional(),
|
|
40
|
+
updated_at: zod.z.string().describe("The timestamp of the last update.").nullable(),
|
|
41
|
+
resolved_at: zod.z.string().describe("The timestamp of the resolution.").nullable().optional(),
|
|
42
|
+
monitoring_at: zod.z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
|
|
43
|
+
scheduled_for: zod.z.string().describe("The timestamp of the scheduled maintenance.").nullable().optional(),
|
|
44
|
+
scheduled_until: zod.z.string().describe("The timestamp of the scheduled maintenance end.").nullable().optional(),
|
|
45
|
+
incident_updates: zod.z.array(SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates.")
|
|
46
|
+
});
|
|
47
|
+
const SnowflakeGetAllScheduledMaintenancesOutput = zod.z.object({
|
|
48
|
+
page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),
|
|
49
|
+
scheduled_maintenances: zod.z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of scheduled maintenances.")
|
|
50
|
+
});
|
|
51
|
+
const snowflakeGetAllScheduledMaintenances = require_action.action("SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCES", {
|
|
52
|
+
slug: "snowflake-get-all-scheduled-maintenances",
|
|
53
|
+
name: "Get All Scheduled Maintenances",
|
|
54
|
+
description: "Retrieves a list of the 50 most recent scheduled maintenances, including those in the Completed state.",
|
|
55
|
+
input: SnowflakeGetAllScheduledMaintenancesInput,
|
|
56
|
+
output: SnowflakeGetAllScheduledMaintenancesOutput
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
59
|
+
exports.snowflakeGetAllScheduledMaintenances = snowflakeGetAllScheduledMaintenances;
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=get-all-scheduled-maintenances.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetAllScheduledMaintenancesInput = z.object({});\nconst SnowflakeGetAllScheduledMaintenances_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable(),\n url: z.string().describe(\"The URL of the page.\").nullable(),\n name: z.string().describe(\"The name of the page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n});\nconst SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = z.object({\n code: z.string().describe(\"The code of the affected component.\").nullable(),\n name: z.string().describe(\"The name of the affected component.\").nullable(),\n new_status: z.string().describe(\"The new status of the component.\").nullable(),\n old_status: z.string().describe(\"The previous status of the component.\").nullable(),\n});\nconst SnowflakeGetAllScheduledMaintenances_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 tweet_id: z.string().describe(\"Twitter tweet ID if posted.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n custom_tweet: z.string().describe(\"Custom tweet text if available.\").nullable().optional(),\n affected_components: z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe(\"List of affected components with their status changes.\").nullable().optional(),\n deliver_notifications: z.boolean().default(false).describe(\"Whether notifications were delivered for this update.\").nullable().optional(),\n});\nconst SnowflakeGetAllScheduledMaintenances_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(\"The shortlink of the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable(),\n started_at: z.string().describe(\"The timestamp when the maintenance actually started.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp of the resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetAllScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of scheduled maintenances.\"),\n});\n\nexport const snowflakeGetAllScheduledMaintenances = action(\"SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-all-scheduled-maintenances\",\n name: \"Get All Scheduled Maintenances\",\n description: \"Retrieves a list of the 50 most recent scheduled maintenances, including those in the Completed state.\",\n input: SnowflakeGetAllScheduledMaintenancesInput,\n output: SnowflakeGetAllScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACpE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,O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BA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,6BAA6B;AAC7H,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,gDAAgD,SAAS;CAC/D,wBAAwBA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC;AAC/I,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-all-scheduled-maintenances.d.ts
|
|
4
|
+
declare const SnowflakeGetAllScheduledMaintenancesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SnowflakeGetAllScheduledMaintenancesOutput: 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.$strip>>;
|
|
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
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
23
|
+
resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
incident_updates: z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodNullable<z.ZodString>;
|
|
29
|
+
body: z.ZodNullable<z.ZodString>;
|
|
30
|
+
status: z.ZodNullable<z.ZodString>;
|
|
31
|
+
tweet_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
display_at: z.ZodNullable<z.ZodString>;
|
|
34
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
35
|
+
incident_id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
custom_tweet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
affected_components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
code: z.ZodNullable<z.ZodString>;
|
|
39
|
+
name: z.ZodNullable<z.ZodString>;
|
|
40
|
+
new_status: z.ZodNullable<z.ZodString>;
|
|
41
|
+
old_status: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>>>>;
|
|
43
|
+
deliver_notifications: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { snowflakeGetAllScheduledMaintenances };
|
|
50
|
+
//# sourceMappingURL=get-all-scheduled-maintenances.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA2CzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-all-scheduled-maintenances.d.ts
|
|
4
|
+
declare const SnowflakeGetAllScheduledMaintenancesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SnowflakeGetAllScheduledMaintenancesOutput: 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.$strip>>;
|
|
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
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
23
|
+
resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
incident_updates: z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodNullable<z.ZodString>;
|
|
29
|
+
body: z.ZodNullable<z.ZodString>;
|
|
30
|
+
status: z.ZodNullable<z.ZodString>;
|
|
31
|
+
tweet_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
display_at: z.ZodNullable<z.ZodString>;
|
|
34
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
35
|
+
incident_id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
custom_tweet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
affected_components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
code: z.ZodNullable<z.ZodString>;
|
|
39
|
+
name: z.ZodNullable<z.ZodString>;
|
|
40
|
+
new_status: z.ZodNullable<z.ZodString>;
|
|
41
|
+
old_status: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>>>>;
|
|
43
|
+
deliver_notifications: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { snowflakeGetAllScheduledMaintenances };
|
|
50
|
+
//# sourceMappingURL=get-all-scheduled-maintenances.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA2CzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-all-scheduled-maintenances.ts
|
|
4
|
+
const SnowflakeGetAllScheduledMaintenancesInput = z.object({});
|
|
5
|
+
const SnowflakeGetAllScheduledMaintenances_PageSchema = z.object({
|
|
6
|
+
id: z.string().describe("The ID of the page.").nullable(),
|
|
7
|
+
url: z.string().describe("The URL of the page.").nullable(),
|
|
8
|
+
name: z.string().describe("The name of the page.").nullable(),
|
|
9
|
+
time_zone: z.string().describe("The time zone of the page.").nullable(),
|
|
10
|
+
updated_at: z.string().describe("The timestamp of the last update.").nullable()
|
|
11
|
+
});
|
|
12
|
+
const SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = z.object({
|
|
13
|
+
code: z.string().describe("The code of the affected component.").nullable(),
|
|
14
|
+
name: z.string().describe("The name of the affected component.").nullable(),
|
|
15
|
+
new_status: z.string().describe("The new status of the component.").nullable(),
|
|
16
|
+
old_status: z.string().describe("The previous status of the component.").nullable()
|
|
17
|
+
});
|
|
18
|
+
const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
19
|
+
id: z.string().describe("The ID of the incident update.").nullable(),
|
|
20
|
+
body: z.string().describe("The body of the incident update.").nullable(),
|
|
21
|
+
status: z.string().describe("The status of the incident update.").nullable(),
|
|
22
|
+
tweet_id: z.string().describe("Twitter tweet ID if posted.").nullable().optional(),
|
|
23
|
+
created_at: z.string().describe("The timestamp of the incident update creation.").nullable(),
|
|
24
|
+
display_at: z.string().describe("The timestamp to display the incident update.").nullable(),
|
|
25
|
+
updated_at: z.string().describe("The timestamp of the last update.").nullable(),
|
|
26
|
+
incident_id: z.string().describe("The ID of the incident.").nullable(),
|
|
27
|
+
custom_tweet: z.string().describe("Custom tweet text if available.").nullable().optional(),
|
|
28
|
+
affected_components: z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe("List of affected components with their status changes.").nullable().optional(),
|
|
29
|
+
deliver_notifications: z.boolean().default(false).describe("Whether notifications were delivered for this update.").nullable().optional()
|
|
30
|
+
});
|
|
31
|
+
const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
32
|
+
id: z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
33
|
+
name: z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
34
|
+
impact: z.string().describe("The impact of the scheduled maintenance.").nullable(),
|
|
35
|
+
status: z.string().describe("The status of the scheduled maintenance.").nullable(),
|
|
36
|
+
page_id: z.string().describe("The ID of the page.").nullable(),
|
|
37
|
+
shortlink: z.string().describe("The shortlink of the scheduled maintenance.").nullable(),
|
|
38
|
+
created_at: z.string().describe("The timestamp of the scheduled maintenance creation.").nullable(),
|
|
39
|
+
started_at: z.string().describe("The timestamp when the maintenance actually started.").nullable().optional(),
|
|
40
|
+
updated_at: z.string().describe("The timestamp of the last update.").nullable(),
|
|
41
|
+
resolved_at: z.string().describe("The timestamp of the resolution.").nullable().optional(),
|
|
42
|
+
monitoring_at: z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
|
|
43
|
+
scheduled_for: z.string().describe("The timestamp of the scheduled maintenance.").nullable().optional(),
|
|
44
|
+
scheduled_until: z.string().describe("The timestamp of the scheduled maintenance end.").nullable().optional(),
|
|
45
|
+
incident_updates: z.array(SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates.")
|
|
46
|
+
});
|
|
47
|
+
const snowflakeGetAllScheduledMaintenances = action("SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCES", {
|
|
48
|
+
slug: "snowflake-get-all-scheduled-maintenances",
|
|
49
|
+
name: "Get All Scheduled Maintenances",
|
|
50
|
+
description: "Retrieves a list of the 50 most recent scheduled maintenances, including those in the Completed state.",
|
|
51
|
+
input: SnowflakeGetAllScheduledMaintenancesInput,
|
|
52
|
+
output: z.object({
|
|
53
|
+
page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),
|
|
54
|
+
scheduled_maintenances: z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of scheduled maintenances.")
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
export { snowflakeGetAllScheduledMaintenances };
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=get-all-scheduled-maintenances.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetAllScheduledMaintenancesInput = z.object({});\nconst SnowflakeGetAllScheduledMaintenances_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable(),\n url: z.string().describe(\"The URL of the page.\").nullable(),\n name: z.string().describe(\"The name of the page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n});\nconst SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = z.object({\n code: z.string().describe(\"The code of the affected component.\").nullable(),\n name: z.string().describe(\"The name of the affected component.\").nullable(),\n new_status: z.string().describe(\"The new status of the component.\").nullable(),\n old_status: z.string().describe(\"The previous status of the component.\").nullable(),\n});\nconst SnowflakeGetAllScheduledMaintenances_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 tweet_id: z.string().describe(\"Twitter tweet ID if posted.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n custom_tweet: z.string().describe(\"Custom tweet text if available.\").nullable().optional(),\n affected_components: z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe(\"List of affected components with their status changes.\").nullable().optional(),\n deliver_notifications: z.boolean().default(false).describe(\"Whether notifications were delivered for this update.\").nullable().optional(),\n});\nconst SnowflakeGetAllScheduledMaintenances_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(\"The shortlink of the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable(),\n started_at: z.string().describe(\"The timestamp when the maintenance actually started.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp of the resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetAllScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of scheduled maintenances.\"),\n});\n\nexport const snowflakeGetAllScheduledMaintenances = action(\"SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-all-scheduled-maintenances\",\n name: \"Get All Scheduled Maintenances\",\n description: \"Retrieves a list of the 50 most recent scheduled maintenances, including those in the Completed state.\",\n input: SnowflakeGetAllScheduledMaintenancesInput,\n output: SnowflakeGetAllScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO,CAAC,CAAC;AACpE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1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
|
3
|
+
//#region src/actions/get-component-status.ts
|
|
4
|
+
const SnowflakeGetComponentStatusInput = zod.z.object({ limit: zod.z.number().int().describe("Limit number of components returned.").optional() });
|
|
5
|
+
const SnowflakeGetComponentStatus_PageSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the page.").nullable(),
|
|
7
|
+
url: zod.z.string().describe("The URL of the page.").nullable(),
|
|
8
|
+
name: zod.z.string().describe("The name of the page.").nullable(),
|
|
9
|
+
updated_at: zod.z.string().describe("The timestamp when the page was last updated.").nullable()
|
|
10
|
+
});
|
|
11
|
+
const SnowflakeGetComponentStatus_ComponentSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("The unique identifier of the component.").nullable(),
|
|
13
|
+
name: zod.z.string().describe("The name of the component.").nullable(),
|
|
14
|
+
group: zod.z.boolean().describe("Indicates if the component is a group.").nullable(),
|
|
15
|
+
status: zod.z.string().describe("The current status of the component.").nullable(),
|
|
16
|
+
page_id: zod.z.string().describe("The unique identifier of the page the component belongs to.").nullable(),
|
|
17
|
+
group_id: zod.z.string().describe("The unique identifier of the group the component belongs to.").nullable().optional(),
|
|
18
|
+
position: zod.z.number().int().describe("The position of the component.").nullable(),
|
|
19
|
+
showcase: zod.z.boolean().describe("Indicates if the component is showcased.").nullable(),
|
|
20
|
+
created_at: zod.z.string().describe("The timestamp when the component was created.").nullable(),
|
|
21
|
+
start_date: zod.z.string().describe("The start date of the component.").nullable().optional(),
|
|
22
|
+
updated_at: zod.z.string().describe("The timestamp when the component was last updated.").nullable(),
|
|
23
|
+
description: zod.z.string().describe("A description of the component.").nullable().optional(),
|
|
24
|
+
only_show_if_degraded: zod.z.boolean().describe("Indicates if the component should only be shown if it is degraded.").nullable()
|
|
25
|
+
});
|
|
26
|
+
const SnowflakeGetComponentStatusOutput = zod.z.object({
|
|
27
|
+
page: SnowflakeGetComponentStatus_PageSchema.nullable(),
|
|
28
|
+
components: zod.z.array(SnowflakeGetComponentStatus_ComponentSchema).describe("A list of components and their current status.")
|
|
29
|
+
});
|
|
30
|
+
const snowflakeGetComponentStatus = require_action.action("SNOWFLAKE_GET_COMPONENT_STATUS", {
|
|
31
|
+
slug: "snowflake-get-component-status",
|
|
32
|
+
name: "Get Component Status",
|
|
33
|
+
description: "Retrieves the status of individual components, each listed with its current status.",
|
|
34
|
+
input: SnowflakeGetComponentStatusInput,
|
|
35
|
+
output: SnowflakeGetComponentStatusOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.snowflakeGetComponentStatus = snowflakeGetComponentStatus;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=get-component-status.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-status.cjs","names":["z","action"],"sources":["../../src/actions/get-component-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetComponentStatusInput = z.object({\n limit: z.number().int().describe(\"Limit number of components returned.\").optional(),\n});\nconst SnowflakeGetComponentStatus_PageSchema = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable(),\n url: z.string().describe(\"The URL of the page.\").nullable(),\n name: z.string().describe(\"The name of the page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the page was last updated.\").nullable(),\n});\nconst SnowflakeGetComponentStatus_ComponentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the component.\").nullable(),\n name: z.string().describe(\"The name of the component.\").nullable(),\n group: z.boolean().describe(\"Indicates if the component is a group.\").nullable(),\n status: z.string().describe(\"The current status of the component.\").nullable(),\n page_id: z.string().describe(\"The unique identifier of the page the component belongs to.\").nullable(),\n group_id: z.string().describe(\"The unique identifier of the group the component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable(),\n showcase: z.boolean().describe(\"Indicates if the component is showcased.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the component was created.\").nullable(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the component was last updated.\").nullable(),\n description: z.string().describe(\"A description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Indicates if the component should only be shown if it is degraded.\").nullable(),\n});\nexport const SnowflakeGetComponentStatusOutput = z.object({\n page: SnowflakeGetComponentStatus_PageSchema.nullable(),\n components: z.array(SnowflakeGetComponentStatus_ComponentSchema).describe(\"A list of components and their current status.\"),\n});\n\nexport const snowflakeGetComponentStatus = action(\"SNOWFLAKE_GET_COMPONENT_STATUS\", {\n slug: \"snowflake-get-component-status\",\n name: \"Get Component Status\",\n description: \"Retrieves the status of individual components, each listed with its current status.\",\n input: SnowflakeGetComponentStatusInput,\n output: SnowflakeGetComponentStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACpF,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAA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/actions/get-component-status.d.ts
|
|
4
|
+
declare const SnowflakeGetComponentStatusInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SnowflakeGetComponentStatusOutput: z.ZodObject<{
|
|
8
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
url: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
components: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
group: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
status: z.ZodNullable<z.ZodString>;
|
|
19
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
position: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
showcase: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
26
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
only_show_if_degraded: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const snowflakeGetComponentStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { snowflakeGetComponentStatus };
|
|
35
|
+
//# sourceMappingURL=get-component-status.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-status.d.cts","names":[],"sources":["../../src/actions/get-component-status.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-component-status.d.ts
|
|
4
|
+
declare const SnowflakeGetComponentStatusInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SnowflakeGetComponentStatusOutput: z.ZodObject<{
|
|
8
|
+
page: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
url: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
components: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
group: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
status: z.ZodNullable<z.ZodString>;
|
|
19
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
position: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
showcase: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
26
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
only_show_if_degraded: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const snowflakeGetComponentStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { snowflakeGetComponentStatus };
|
|
35
|
+
//# sourceMappingURL=get-component-status.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-status.d.mts","names":[],"sources":["../../src/actions/get-component-status.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAwBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-component-status.ts
|
|
4
|
+
const SnowflakeGetComponentStatusInput = z.object({ limit: z.number().int().describe("Limit number of components returned.").optional() });
|
|
5
|
+
const SnowflakeGetComponentStatus_PageSchema = z.object({
|
|
6
|
+
id: z.string().describe("The unique identifier of the page.").nullable(),
|
|
7
|
+
url: z.string().describe("The URL of the page.").nullable(),
|
|
8
|
+
name: z.string().describe("The name of the page.").nullable(),
|
|
9
|
+
updated_at: z.string().describe("The timestamp when the page was last updated.").nullable()
|
|
10
|
+
});
|
|
11
|
+
const SnowflakeGetComponentStatus_ComponentSchema = z.object({
|
|
12
|
+
id: z.string().describe("The unique identifier of the component.").nullable(),
|
|
13
|
+
name: z.string().describe("The name of the component.").nullable(),
|
|
14
|
+
group: z.boolean().describe("Indicates if the component is a group.").nullable(),
|
|
15
|
+
status: z.string().describe("The current status of the component.").nullable(),
|
|
16
|
+
page_id: z.string().describe("The unique identifier of the page the component belongs to.").nullable(),
|
|
17
|
+
group_id: z.string().describe("The unique identifier of the group the component belongs to.").nullable().optional(),
|
|
18
|
+
position: z.number().int().describe("The position of the component.").nullable(),
|
|
19
|
+
showcase: z.boolean().describe("Indicates if the component is showcased.").nullable(),
|
|
20
|
+
created_at: z.string().describe("The timestamp when the component was created.").nullable(),
|
|
21
|
+
start_date: z.string().describe("The start date of the component.").nullable().optional(),
|
|
22
|
+
updated_at: z.string().describe("The timestamp when the component was last updated.").nullable(),
|
|
23
|
+
description: z.string().describe("A description of the component.").nullable().optional(),
|
|
24
|
+
only_show_if_degraded: z.boolean().describe("Indicates if the component should only be shown if it is degraded.").nullable()
|
|
25
|
+
});
|
|
26
|
+
const snowflakeGetComponentStatus = action("SNOWFLAKE_GET_COMPONENT_STATUS", {
|
|
27
|
+
slug: "snowflake-get-component-status",
|
|
28
|
+
name: "Get Component Status",
|
|
29
|
+
description: "Retrieves the status of individual components, each listed with its current status.",
|
|
30
|
+
input: SnowflakeGetComponentStatusInput,
|
|
31
|
+
output: z.object({
|
|
32
|
+
page: SnowflakeGetComponentStatus_PageSchema.nullable(),
|
|
33
|
+
components: z.array(SnowflakeGetComponentStatus_ComponentSchema).describe("A list of components and their current status.")
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { snowflakeGetComponentStatus };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=get-component-status.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-status.mjs","names":[],"sources":["../../src/actions/get-component-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetComponentStatusInput = z.object({\n limit: z.number().int().describe(\"Limit number of components returned.\").optional(),\n});\nconst SnowflakeGetComponentStatus_PageSchema = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable(),\n url: z.string().describe(\"The URL of the page.\").nullable(),\n name: z.string().describe(\"The name of the page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the page was last updated.\").nullable(),\n});\nconst SnowflakeGetComponentStatus_ComponentSchema = z.object({\n id: z.string().describe(\"The unique identifier of the component.\").nullable(),\n name: z.string().describe(\"The name of the component.\").nullable(),\n group: z.boolean().describe(\"Indicates if the component is a group.\").nullable(),\n status: z.string().describe(\"The current status of the component.\").nullable(),\n page_id: z.string().describe(\"The unique identifier of the page the component belongs to.\").nullable(),\n group_id: z.string().describe(\"The unique identifier of the group the component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable(),\n showcase: z.boolean().describe(\"Indicates if the component is showcased.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the component was created.\").nullable(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the component was last updated.\").nullable(),\n description: z.string().describe(\"A description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Indicates if the component should only be shown if it is degraded.\").nullable(),\n});\nexport const SnowflakeGetComponentStatusOutput = z.object({\n page: SnowflakeGetComponentStatus_PageSchema.nullable(),\n components: z.array(SnowflakeGetComponentStatus_ComponentSchema).describe(\"A list of components and their current status.\"),\n});\n\nexport const snowflakeGetComponentStatus = action(\"SNOWFLAKE_GET_COMPONENT_STATUS\", {\n slug: \"snowflake-get-component-status\",\n name: \"Get Component Status\",\n description: \"Retrieves the status of individual components, each listed with its current status.\",\n input: SnowflakeGetComponentStatusInput,\n output: SnowflakeGetComponentStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,S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iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC7H,CAAC;AAMD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,uCAAuC,SAAS;EACtD,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD;CAC5H,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-status-rollup.ts
|
|
4
|
+
const SnowflakeGetStatusRollupInput = zod.z.object({});
|
|
5
|
+
const SnowflakeGetStatusRollup_PageSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The ID of the 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 of the last update in ISO 8601 format.").nullable()
|
|
11
|
+
});
|
|
12
|
+
const SnowflakeGetStatusRollup_StatusSchema = zod.z.object({
|
|
13
|
+
indicator: zod.z.string().describe("An indicator of the system status. Possible values include 'none' (all systems operational), 'minor' (minor issues), 'major' (major outage), 'critical' (critical outage).").nullable(),
|
|
14
|
+
description: zod.z.string().describe("A human-readable description of the overall system status.").nullable()
|
|
15
|
+
});
|
|
16
|
+
const SnowflakeGetStatusRollupOutput = zod.z.object({
|
|
17
|
+
page: SnowflakeGetStatusRollup_PageSchema.nullable(),
|
|
18
|
+
status: SnowflakeGetStatusRollup_StatusSchema.nullable()
|
|
19
|
+
});
|
|
20
|
+
const snowflakeGetStatusRollup = require_action.action("SNOWFLAKE_GET_STATUS_ROLLUP", {
|
|
21
|
+
slug: "snowflake-get-status-rollup",
|
|
22
|
+
name: "Get Status Rollup",
|
|
23
|
+
description: "Retrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.",
|
|
24
|
+
input: SnowflakeGetStatusRollupInput,
|
|
25
|
+
output: SnowflakeGetStatusRollupOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.snowflakeGetStatusRollup = snowflakeGetStatusRollup;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-status-rollup.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-status-rollup.cjs","names":["z","action"],"sources":["../../src/actions/get-status-rollup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusRollupInput = z.object({});\nconst SnowflakeGetStatusRollup_PageSchema = z.object({\n id: z.string().describe(\"The ID of the 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 of the last update in ISO 8601 format.\").nullable(),\n});\nconst SnowflakeGetStatusRollup_StatusSchema = z.object({\n indicator: z.string().describe(\"An indicator of the system status. Possible values include 'none' (all systems operational), 'minor' (minor issues), 'major' (major outage), 'critical' (critical outage).\").nullable(),\n description: z.string().describe(\"A human-readable description of the overall system status.\").nullable(),\n});\nexport const SnowflakeGetStatusRollupOutput = z.object({\n page: SnowflakeGetStatusRollup_PageSchema.nullable(),\n status: SnowflakeGetStatusRollup_StatusSchema.nullable(),\n});\n\nexport const snowflakeGetStatusRollup = action(\"SNOWFLAKE_GET_STATUS_ROLLUP\", {\n slug: \"snowflake-get-status-rollup\",\n name: \"Get Status Rollup\",\n description: \"Retrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.\",\n input: SnowflakeGetStatusRollupInput,\n output: SnowflakeGetStatusRollupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,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;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACtN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,oCAAoC,SAAS;CACnD,QAAQ,sCAAsC,SAAS;AACzD,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-status-rollup.d.ts
|
|
4
|
+
declare const SnowflakeGetStatusRollupInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SnowflakeGetStatusRollupOutput: 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.$strip>>;
|
|
13
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
indicator: z.ZodNullable<z.ZodString>;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const snowflakeGetStatusRollup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { snowflakeGetStatusRollup };
|
|
21
|
+
//# sourceMappingURL=get-status-rollup.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-status-rollup.d.cts","names":[],"sources":["../../src/actions/get-status-rollup.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-status-rollup.d.ts
|
|
4
|
+
declare const SnowflakeGetStatusRollupInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SnowflakeGetStatusRollupOutput: 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.$strip>>;
|
|
13
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
indicator: z.ZodNullable<z.ZodString>;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const snowflakeGetStatusRollup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { snowflakeGetStatusRollup };
|
|
21
|
+
//# sourceMappingURL=get-status-rollup.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-status-rollup.d.mts","names":[],"sources":["../../src/actions/get-status-rollup.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-status-rollup.ts
|
|
4
|
+
const SnowflakeGetStatusRollupInput = z.object({});
|
|
5
|
+
const SnowflakeGetStatusRollup_PageSchema = z.object({
|
|
6
|
+
id: z.string().describe("The ID of the 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 of the last update in ISO 8601 format.").nullable()
|
|
11
|
+
});
|
|
12
|
+
const SnowflakeGetStatusRollup_StatusSchema = z.object({
|
|
13
|
+
indicator: z.string().describe("An indicator of the system status. Possible values include 'none' (all systems operational), 'minor' (minor issues), 'major' (major outage), 'critical' (critical outage).").nullable(),
|
|
14
|
+
description: z.string().describe("A human-readable description of the overall system status.").nullable()
|
|
15
|
+
});
|
|
16
|
+
const snowflakeGetStatusRollup = action("SNOWFLAKE_GET_STATUS_ROLLUP", {
|
|
17
|
+
slug: "snowflake-get-status-rollup",
|
|
18
|
+
name: "Get Status Rollup",
|
|
19
|
+
description: "Retrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.",
|
|
20
|
+
input: SnowflakeGetStatusRollupInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
page: SnowflakeGetStatusRollup_PageSchema.nullable(),
|
|
23
|
+
status: SnowflakeGetStatusRollup_StatusSchema.nullable()
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { snowflakeGetStatusRollup };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-status-rollup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-status-rollup.mjs","names":[],"sources":["../../src/actions/get-status-rollup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusRollupInput = z.object({});\nconst SnowflakeGetStatusRollup_PageSchema = z.object({\n id: z.string().describe(\"The ID of the 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 of the last update in ISO 8601 format.\").nullable(),\n});\nconst SnowflakeGetStatusRollup_StatusSchema = z.object({\n indicator: z.string().describe(\"An indicator of the system status. Possible values include 'none' (all systems operational), 'minor' (minor issues), 'major' (major outage), 'critical' (critical outage).\").nullable(),\n description: z.string().describe(\"A human-readable description of the overall system status.\").nullable(),\n});\nexport const SnowflakeGetStatusRollupOutput = z.object({\n page: SnowflakeGetStatusRollup_PageSchema.nullable(),\n status: SnowflakeGetStatusRollup_StatusSchema.nullable(),\n});\n\nexport const snowflakeGetStatusRollup = action(\"SNOWFLAKE_GET_STATUS_ROLLUP\", {\n slug: \"snowflake-get-status-rollup\",\n name: \"Get Status Rollup\",\n description: \"Retrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.\",\n input: SnowflakeGetStatusRollupInput,\n output: SnowflakeGetStatusRollupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC;AACxD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,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,wCAAwC,EAAE,OAAO;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACtN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1G,CAAC;AAMD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,oCAAoC,SAAS;EACnD,QAAQ,sCAAsC,SAAS;CACzD,CAOU;AACV,CAAC"}
|