@keystrokehq/snowflake 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/cancel-statement-execution.cjs +1 -1
- package/dist/actions/cancel-statement-execution.cjs.map +1 -1
- package/dist/actions/cancel-statement-execution.d.cts +14 -2
- package/dist/actions/cancel-statement-execution.d.mts +14 -2
- package/dist/actions/cancel-statement-execution.mjs +1 -1
- package/dist/actions/cancel-statement-execution.mjs.map +1 -1
- package/dist/actions/check-statement-status.cjs +4 -4
- package/dist/actions/check-statement-status.cjs.map +1 -1
- package/dist/actions/check-statement-status.d.cts +17 -5
- package/dist/actions/check-statement-status.d.mts +17 -5
- package/dist/actions/check-statement-status.mjs +4 -4
- 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 -2
- package/dist/actions/drop-warehouse.d.mts +14 -2
- package/dist/actions/drop-warehouse.mjs +1 -1
- package/dist/actions/drop-warehouse.mjs.map +1 -1
- package/dist/actions/execute-sql.cjs +4 -4
- package/dist/actions/execute-sql.cjs.map +1 -1
- package/dist/actions/execute-sql.d.cts +17 -5
- package/dist/actions/execute-sql.d.cts.map +1 -1
- package/dist/actions/execute-sql.d.mts +17 -5
- package/dist/actions/execute-sql.d.mts.map +1 -1
- package/dist/actions/execute-sql.mjs +4 -4
- 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 +15 -3
- package/dist/actions/fetch-catalog-integration.d.mts +15 -3
- 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 +4 -4
- package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.cts +17 -5
- package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.mts +17 -5
- package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.mjs +4 -4
- package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.cjs +5 -5
- package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.cts +18 -6
- package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.mts +18 -6
- package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.mjs +5 -5
- package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-component-status.cjs +3 -3
- package/dist/actions/get-component-status.cjs.map +1 -1
- package/dist/actions/get-component-status.d.cts +16 -4
- package/dist/actions/get-component-status.d.mts +16 -4
- package/dist/actions/get-component-status.mjs +3 -3
- package/dist/actions/get-component-status.mjs.map +1 -1
- package/dist/actions/get-status-rollup.cjs +3 -3
- package/dist/actions/get-status-rollup.cjs.map +1 -1
- package/dist/actions/get-status-rollup.d.cts +16 -4
- package/dist/actions/get-status-rollup.d.cts.map +1 -1
- package/dist/actions/get-status-rollup.d.mts +16 -4
- package/dist/actions/get-status-rollup.d.mts.map +1 -1
- package/dist/actions/get-status-rollup.mjs +3 -3
- 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 +21 -9
- package/dist/actions/get-status-summary.d.cts.map +1 -1
- package/dist/actions/get-status-summary.d.mts +21 -9
- 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 +4 -4
- package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.cts +17 -5
- package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.mts +17 -5
- package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
- package/dist/actions/get-unresolved-incidents.mjs +4 -4
- package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs +4 -4
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +17 -5
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +17 -5
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs +4 -4
- 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 +14 -2
- package/dist/actions/show-databases.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/show-schemas.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/show-tables.d.mts +14 -2
- package/dist/actions/show-tables.mjs +1 -1
- package/dist/actions/show-tables.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -1
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +14 -2
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +14 -2
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9,11 +9,11 @@ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
indicator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
incidents: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,8 +33,8 @@ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
|
|
|
33
33
|
display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>>;
|
|
37
|
+
}, z.core.$loose>>>>>;
|
|
38
38
|
components: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -50,7 +50,7 @@ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
|
|
|
50
50
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
only_show_if_degraded: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>>>;
|
|
54
54
|
scheduled_maintenances: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
55
55
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -72,10 +72,22 @@ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
|
|
|
72
72
|
display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
74
|
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
-
}, z.core.$
|
|
76
|
-
}, z.core.$
|
|
77
|
-
}, z.core.$
|
|
78
|
-
declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
75
|
+
}, z.core.$loose>>>>>;
|
|
76
|
+
}, z.core.$loose>>>>>;
|
|
77
|
+
}, z.core.$loose>;
|
|
78
|
+
declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
79
|
+
connectionId: z.ZodString;
|
|
80
|
+
entityId: z.ZodString;
|
|
81
|
+
instanceId: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
accessToken: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
85
|
+
connectionId: z.ZodString;
|
|
86
|
+
entityId: z.ZodString;
|
|
87
|
+
instanceId: z.ZodString;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
+
accessToken: z.ZodString;
|
|
90
|
+
}, z.core.$strip>>]>;
|
|
79
91
|
//#endregion
|
|
80
92
|
export { snowflakeGetStatusSummary };
|
|
81
93
|
//# sourceMappingURL=get-status-summary.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-status-summary.d.mts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-status-summary.d.mts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -8,11 +8,11 @@ const SnowflakeGetStatusSummary_PageSchema = z.object({
|
|
|
8
8
|
name: z.string().describe("The name of the page.").nullable().optional(),
|
|
9
9
|
time_zone: z.string().describe("The time zone of the page.").nullable().optional(),
|
|
10
10
|
updated_at: z.string().describe("The timestamp of the last update.").nullable().optional()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetStatusSummary_StatusSchema = z.object({
|
|
13
13
|
indicator: z.string().describe("The indicator of the status.").nullable().optional(),
|
|
14
14
|
description: z.string().describe("The description of the status.").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({
|
|
17
17
|
id: z.string().describe("The ID of the incident update.").nullable().optional(),
|
|
18
18
|
body: z.string().describe("The body of the incident update.").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({
|
|
|
21
21
|
display_at: z.string().describe("The timestamp to display the incident update.").nullable().optional(),
|
|
22
22
|
updated_at: z.string().describe("The timestamp of the last update.").nullable().optional(),
|
|
23
23
|
incident_id: z.string().describe("The ID of the incident.").nullable().optional()
|
|
24
|
-
});
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const SnowflakeGetStatusSummary_IncidentSchema = z.object({
|
|
26
26
|
id: z.string().describe("The ID of the incident.").nullable().optional(),
|
|
27
27
|
name: z.string().describe("The name of the incident.").nullable().optional(),
|
|
@@ -34,7 +34,7 @@ const SnowflakeGetStatusSummary_IncidentSchema = z.object({
|
|
|
34
34
|
resolved_at: z.string().describe("The timestamp of the incident resolution.").nullable().optional(),
|
|
35
35
|
monitoring_at: z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
|
|
36
36
|
incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe("A list of incident updates.").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const SnowflakeGetStatusSummary_ComponentSchema = z.object({
|
|
39
39
|
id: z.string().describe("The ID of the component.").nullable().optional(),
|
|
40
40
|
name: z.string().describe("The name of the component.").nullable().optional(),
|
|
@@ -50,7 +50,7 @@ const SnowflakeGetStatusSummary_ComponentSchema = z.object({
|
|
|
50
50
|
updated_at: z.string().describe("The timestamp of the last update.").nullable().optional(),
|
|
51
51
|
description: z.string().describe("The description of the component.").nullable().optional(),
|
|
52
52
|
only_show_if_degraded: z.boolean().describe("Whether to only show this component if it's degraded.").nullable().optional()
|
|
53
|
-
});
|
|
53
|
+
}).passthrough();
|
|
54
54
|
const SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({
|
|
55
55
|
id: z.string().describe("The ID of the scheduled maintenance.").nullable().optional(),
|
|
56
56
|
name: z.string().describe("The name of the scheduled maintenance.").nullable().optional(),
|
|
@@ -65,7 +65,7 @@ const SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({
|
|
|
65
65
|
scheduled_for: z.string().describe("The timestamp of the scheduled maintenance start.").nullable().optional(),
|
|
66
66
|
scheduled_until: z.string().describe("The timestamp of the scheduled maintenance end.").nullable().optional(),
|
|
67
67
|
incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe("A list of incident updates.").nullable().optional()
|
|
68
|
-
});
|
|
68
|
+
}).passthrough();
|
|
69
69
|
const snowflakeGetStatusSummary = action("SNOWFLAKE_GET_STATUS_SUMMARY", {
|
|
70
70
|
slug: "snowflake-get-status-summary",
|
|
71
71
|
name: "Get Status Summary",
|
|
@@ -77,7 +77,7 @@ const snowflakeGetStatusSummary = action("SNOWFLAKE_GET_STATUS_SUMMARY", {
|
|
|
77
77
|
incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe("A list of incidents.").nullable().optional(),
|
|
78
78
|
components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe("A list of components.").nullable().optional(),
|
|
79
79
|
scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe("A list of scheduled maintenances.").nullable().optional()
|
|
80
|
-
})
|
|
80
|
+
}).passthrough()
|
|
81
81
|
});
|
|
82
82
|
//#endregion
|
|
83
83
|
export { snowflakeGetStatusSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusSummaryInput = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_StatusSchema = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_ComponentSchema = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance 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 start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n});\nexport const SnowflakeGetStatusSummaryOutput = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n});\n\nexport const snowflakeGetStatusSummary = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAA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C,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC;AASD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO;EACtD,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,EAAE,MAAM,oDAAoD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusSummaryInput = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_StatusSchema = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ComponentSchema = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance 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 start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeGetStatusSummaryOutput = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeGetStatusSummary = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,S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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetUnresolvedIncidents_PageInfoSchema = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("The name of the service (Snowflake).").nullable(),
|
|
9
9
|
time_zone: zod.z.string().describe("The timezone used for the status page (e.g., Etc/UTC).").nullable(),
|
|
10
10
|
updated_at: zod.z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("The ID of the incident update.").nullable(),
|
|
14
14
|
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = zod.z.object({
|
|
|
17
17
|
display_at: zod.z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
18
|
updated_at: zod.z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
19
|
incident_id: zod.z.string().describe("The ID of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUnresolvedIncidents_IncidentSchema = zod.z.object({
|
|
22
22
|
id: zod.z.string().describe("The ID of the incident.").nullable(),
|
|
23
23
|
name: zod.z.string().describe("The name of the incident.").nullable(),
|
|
@@ -30,11 +30,11 @@ const SnowflakeGetUnresolvedIncidents_IncidentSchema = zod.z.object({
|
|
|
30
30
|
resolved_at: zod.z.string().describe("The timestamp when the incident was resolved.").nullable().optional(),
|
|
31
31
|
monitoring_at: zod.z.string().describe("The timestamp when the incident monitoring started.").nullable().optional(),
|
|
32
32
|
incident_updates: zod.z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe("A list of incident updates.")
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const SnowflakeGetUnresolvedIncidentsOutput = zod.z.object({
|
|
35
35
|
page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),
|
|
36
36
|
incidents: zod.z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe("A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.")
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const snowflakeGetUnresolvedIncidents = require_action.action("SNOWFLAKE_GET_UNRESOLVED_INCIDENTS", {
|
|
39
39
|
slug: "snowflake-get-unresolved-incidents",
|
|
40
40
|
name: "Get Unresolved Incidents",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unresolved-incidents.cjs","names":["z","action"],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n});\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-unresolved-incidents.cjs","names":["z","action"],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_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 SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CA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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,+CAA+C,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;AACvO,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
incidents: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -29,10 +29,22 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
|
|
|
29
29
|
display_at: z.ZodNullable<z.ZodString>;
|
|
30
30
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
31
31
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
36
|
+
connectionId: z.ZodString;
|
|
37
|
+
entityId: z.ZodString;
|
|
38
|
+
instanceId: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
accessToken: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { snowflakeGetUnresolvedIncidents };
|
|
38
50
|
//# sourceMappingURL=get-unresolved-incidents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unresolved-incidents.d.cts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-unresolved-incidents.d.cts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
incidents: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -29,10 +29,22 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
|
|
|
29
29
|
display_at: z.ZodNullable<z.ZodString>;
|
|
30
30
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
31
31
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
35
|
-
declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
36
|
+
connectionId: z.ZodString;
|
|
37
|
+
entityId: z.ZodString;
|
|
38
|
+
instanceId: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
accessToken: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { snowflakeGetUnresolvedIncidents };
|
|
38
50
|
//# sourceMappingURL=get-unresolved-incidents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unresolved-incidents.d.mts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-unresolved-incidents.d.mts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({
|
|
|
8
8
|
name: z.string().describe("The name of the service (Snowflake).").nullable(),
|
|
9
9
|
time_zone: z.string().describe("The timezone used for the status page (e.g., Etc/UTC).").nullable(),
|
|
10
10
|
updated_at: z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({
|
|
13
13
|
id: z.string().describe("The ID of the incident update.").nullable(),
|
|
14
14
|
body: z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({
|
|
|
17
17
|
display_at: z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
18
|
updated_at: z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
19
|
incident_id: z.string().describe("The ID of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({
|
|
22
22
|
id: z.string().describe("The ID of the incident.").nullable(),
|
|
23
23
|
name: z.string().describe("The name of the incident.").nullable(),
|
|
@@ -30,7 +30,7 @@ const SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({
|
|
|
30
30
|
resolved_at: z.string().describe("The timestamp when the incident was resolved.").nullable().optional(),
|
|
31
31
|
monitoring_at: z.string().describe("The timestamp when the incident monitoring started.").nullable().optional(),
|
|
32
32
|
incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe("A list of incident updates.")
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const snowflakeGetUnresolvedIncidents = action("SNOWFLAKE_GET_UNRESOLVED_INCIDENTS", {
|
|
35
35
|
slug: "snowflake-get-unresolved-incidents",
|
|
36
36
|
name: "Get Unresolved Incidents",
|
|
@@ -39,7 +39,7 @@ const snowflakeGetUnresolvedIncidents = action("SNOWFLAKE_GET_UNRESOLVED_INCIDEN
|
|
|
39
39
|
output: z.object({
|
|
40
40
|
page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),
|
|
41
41
|
incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe("A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.")
|
|
42
|
-
})
|
|
42
|
+
}).passthrough()
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { snowflakeGetUnresolvedIncidents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n});\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_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 SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CA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C,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,+CAA+C,SAAS;EAC9D,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;CACvO,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("The name of the status page.").nullable(),
|
|
9
9
|
time_zone: zod.z.string().describe("The time zone of the status page.").nullable(),
|
|
10
10
|
updated_at: zod.z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("The ID of the incident update.").nullable(),
|
|
14
14
|
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = zod.z.obj
|
|
|
17
17
|
display_at: zod.z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
18
|
updated_at: zod.z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
19
|
incident_id: zod.z.string().describe("The ID of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
22
22
|
id: zod.z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
23
23
|
name: zod.z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
@@ -32,11 +32,11 @@ const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = zod
|
|
|
32
32
|
scheduled_for: zod.z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
|
|
33
33
|
scheduled_until: zod.z.string().describe("The timestamp when the maintenance is scheduled until.").nullable(),
|
|
34
34
|
incident_updates: zod.z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates for the scheduled maintenance.")
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const SnowflakeGetUpcomingScheduledMaintenancesOutput = zod.z.object({
|
|
37
37
|
page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),
|
|
38
38
|
scheduled_maintenances: zod.z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.")
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const snowflakeGetUpcomingScheduledMaintenances = require_action.action("SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES", {
|
|
41
41
|
slug: "snowflake-get-upcoming-scheduled-maintenances",
|
|
42
42
|
name: "Get Upcoming Scheduled Maintenances",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-upcoming-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n});\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n});\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n});\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;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;
|
|
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,IAAA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AAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,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"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
scheduled_maintenances: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -31,10 +31,22 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
31
31
|
display_at: z.ZodNullable<z.ZodString>;
|
|
32
32
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
33
33
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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<"snowflake", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
accessToken: z.ZodString;
|
|
43
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
44
|
+
connectionId: z.ZodString;
|
|
45
|
+
entityId: z.ZodString;
|
|
46
|
+
instanceId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
accessToken: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>]>;
|
|
38
50
|
//#endregion
|
|
39
51
|
export { snowflakeGetUpcomingScheduledMaintenances };
|
|
40
52
|
//# 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,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,
|
|
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,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
11
11
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
scheduled_maintenances: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -31,10 +31,22 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
31
31
|
display_at: z.ZodNullable<z.ZodString>;
|
|
32
32
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
33
33
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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<"snowflake", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
accessToken: z.ZodString;
|
|
43
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
44
|
+
connectionId: z.ZodString;
|
|
45
|
+
entityId: z.ZodString;
|
|
46
|
+
instanceId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
accessToken: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>]>;
|
|
38
50
|
//#endregion
|
|
39
51
|
export { snowflakeGetUpcomingScheduledMaintenances };
|
|
40
52
|
//# 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,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,
|
|
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,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({
|
|
|
8
8
|
name: z.string().describe("The name of the status page.").nullable(),
|
|
9
9
|
time_zone: z.string().describe("The time zone of the status page.").nullable(),
|
|
10
10
|
updated_at: z.string().describe("The timestamp when the status page was last updated.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
13
13
|
id: z.string().describe("The ID of the incident update.").nullable(),
|
|
14
14
|
body: z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object(
|
|
|
17
17
|
display_at: z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
|
|
18
18
|
updated_at: z.string().describe("The timestamp when the incident update was last updated.").nullable(),
|
|
19
19
|
incident_id: z.string().describe("The ID of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
22
22
|
id: z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
23
23
|
name: z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
@@ -32,7 +32,7 @@ const SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.o
|
|
|
32
32
|
scheduled_for: z.string().describe("The timestamp when the maintenance is scheduled for.").nullable(),
|
|
33
33
|
scheduled_until: z.string().describe("The timestamp when the maintenance is scheduled until.").nullable(),
|
|
34
34
|
incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates for the scheduled maintenance.")
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const snowflakeGetUpcomingScheduledMaintenances = action("SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES", {
|
|
37
37
|
slug: "snowflake-get-upcoming-scheduled-maintenances",
|
|
38
38
|
name: "Get Upcoming Scheduled Maintenances",
|
|
@@ -41,7 +41,7 @@ const snowflakeGetUpcomingScheduledMaintenances = action("SNOWFLAKE_GET_UPCOMING
|
|
|
41
41
|
output: z.object({
|
|
42
42
|
page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),
|
|
43
43
|
scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.")
|
|
44
|
-
})
|
|
44
|
+
}).passthrough()
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { snowflakeGetUpcomingScheduledMaintenances };
|