@keystrokehq/snowflake 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-statement-execution.cjs +5 -5
- package/dist/actions/cancel-statement-execution.cjs.map +1 -1
- package/dist/actions/cancel-statement-execution.d.cts +15 -3
- package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
- package/dist/actions/cancel-statement-execution.d.mts +15 -3
- package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
- package/dist/actions/cancel-statement-execution.mjs +5 -5
- package/dist/actions/cancel-statement-execution.mjs.map +1 -1
- package/dist/actions/check-statement-status.cjs +11 -11
- package/dist/actions/check-statement-status.cjs.map +1 -1
- package/dist/actions/check-statement-status.d.cts +41 -3
- package/dist/actions/check-statement-status.d.cts.map +1 -1
- package/dist/actions/check-statement-status.d.mts +41 -3
- package/dist/actions/check-statement-status.d.mts.map +1 -1
- package/dist/actions/check-statement-status.mjs +11 -11
- package/dist/actions/check-statement-status.mjs.map +1 -1
- package/dist/actions/drop-warehouse.cjs.map +1 -1
- package/dist/actions/drop-warehouse.d.cts +14 -3
- package/dist/actions/drop-warehouse.d.cts.map +1 -1
- package/dist/actions/drop-warehouse.d.mts +14 -3
- package/dist/actions/drop-warehouse.d.mts.map +1 -1
- package/dist/actions/drop-warehouse.mjs.map +1 -1
- package/dist/actions/execute-sql.cjs +11 -11
- package/dist/actions/execute-sql.cjs.map +1 -1
- package/dist/actions/execute-sql.d.cts +52 -3
- package/dist/actions/execute-sql.d.cts.map +1 -1
- package/dist/actions/execute-sql.d.mts +52 -3
- package/dist/actions/execute-sql.d.mts.map +1 -1
- package/dist/actions/execute-sql.mjs +11 -11
- package/dist/actions/execute-sql.mjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.cts +18 -3
- package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.mts +18 -3
- package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
- package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.cjs +22 -22
- package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.cts +35 -3
- package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.mts +35 -3
- package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.mjs +22 -22
- package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.cjs +24 -24
- package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.cts +44 -3
- package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.mts +44 -3
- package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.mjs +24 -24
- package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-component-status.cjs +14 -14
- package/dist/actions/get-component-status.cjs.map +1 -1
- package/dist/actions/get-component-status.d.cts +29 -3
- package/dist/actions/get-component-status.d.cts.map +1 -1
- package/dist/actions/get-component-status.d.mts +29 -3
- package/dist/actions/get-component-status.d.mts.map +1 -1
- package/dist/actions/get-component-status.mjs +14 -14
- package/dist/actions/get-component-status.mjs.map +1 -1
- package/dist/actions/get-status-rollup.cjs +7 -7
- package/dist/actions/get-status-rollup.cjs.map +1 -1
- package/dist/actions/get-status-rollup.d.cts +15 -3
- package/dist/actions/get-status-rollup.d.cts.map +1 -1
- package/dist/actions/get-status-rollup.d.mts +15 -3
- package/dist/actions/get-status-rollup.d.mts.map +1 -1
- package/dist/actions/get-status-rollup.mjs +7 -7
- package/dist/actions/get-status-rollup.mjs.map +1 -1
- package/dist/actions/get-status-summary.cjs.map +1 -1
- package/dist/actions/get-status-summary.d.cts +75 -3
- package/dist/actions/get-status-summary.d.cts.map +1 -1
- package/dist/actions/get-status-summary.d.mts +75 -3
- package/dist/actions/get-status-summary.d.mts.map +1 -1
- package/dist/actions/get-status-summary.mjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.cjs +20 -20
- package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.cts +32 -3
- package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.mts +32 -3
- package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
- package/dist/actions/get-unresolved-incidents.mjs +20 -20
- package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs +22 -22
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +34 -3
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +34 -3
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs +22 -22
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/show-databases.cjs.map +1 -1
- package/dist/actions/show-databases.d.cts +26 -3
- package/dist/actions/show-databases.d.cts.map +1 -1
- package/dist/actions/show-databases.d.mts +26 -3
- package/dist/actions/show-databases.d.mts.map +1 -1
- package/dist/actions/show-databases.mjs.map +1 -1
- package/dist/actions/show-schemas.cjs.map +1 -1
- package/dist/actions/show-schemas.d.cts +30 -3
- package/dist/actions/show-schemas.d.cts.map +1 -1
- package/dist/actions/show-schemas.d.mts +30 -3
- package/dist/actions/show-schemas.d.mts.map +1 -1
- package/dist/actions/show-schemas.mjs.map +1 -1
- package/dist/actions/show-tables.cjs.map +1 -1
- package/dist/actions/show-tables.d.cts +32 -3
- package/dist/actions/show-tables.d.cts.map +1 -1
- package/dist/actions/show-tables.d.mts +32 -3
- package/dist/actions/show-tables.d.mts.map +1 -1
- package/dist/actions/show-tables.mjs.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 +7 -3
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +7 -3
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,35 +3,35 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-active-scheduled-maintenances.ts
|
|
4
4
|
const SnowflakeGetActiveScheduledMaintenancesInput = z.object({});
|
|
5
5
|
const SnowflakeGetActiveScheduledMaintenances_PageSchema = z.object({
|
|
6
|
-
id: z.string().describe("The unique identifier of the status page."),
|
|
7
|
-
url: z.string().describe("The URL of the status page."),
|
|
8
|
-
name: z.string().describe("The name of the status page."),
|
|
9
|
-
time_zone: z.string().describe("The time zone of the status page."),
|
|
10
|
-
updated_at: z.string().describe("The last update time of the status page.")
|
|
6
|
+
id: z.string().describe("The unique identifier 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 last update time of the status page.").nullable()
|
|
11
11
|
});
|
|
12
12
|
const SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
13
|
-
id: z.string().describe("The unique identifier of the incident update."),
|
|
14
|
-
body: z.string().describe("The body of the incident update."),
|
|
15
|
-
status: z.string().describe("The status of the incident update."),
|
|
16
|
-
created_at: z.string().describe("The creation time of the incident update."),
|
|
17
|
-
display_at: z.string().describe("The display time of the incident update."),
|
|
18
|
-
updated_at: z.string().describe("The last update time of the incident update."),
|
|
19
|
-
incident_id: z.string().describe("The unique identifier of the incident.")
|
|
13
|
+
id: z.string().describe("The unique identifier of the incident update.").nullable(),
|
|
14
|
+
body: z.string().describe("The body of the incident update.").nullable(),
|
|
15
|
+
status: z.string().describe("The status of the incident update.").nullable(),
|
|
16
|
+
created_at: z.string().describe("The creation time of the incident update.").nullable(),
|
|
17
|
+
display_at: z.string().describe("The display time of the incident update.").nullable(),
|
|
18
|
+
updated_at: z.string().describe("The last update time of the incident update.").nullable(),
|
|
19
|
+
incident_id: z.string().describe("The unique identifier of the incident.").nullable()
|
|
20
20
|
});
|
|
21
21
|
const SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
22
|
-
id: z.string().describe("The unique identifier of the maintenance."),
|
|
23
|
-
name: z.string().describe("The name of the maintenance."),
|
|
24
|
-
impact: z.string().describe("The impact level of the maintenance."),
|
|
25
|
-
status: z.string().describe("The current status of the maintenance."),
|
|
26
|
-
page_id: z.string().describe("The unique identifier of the status page."),
|
|
27
|
-
shortlink: z.string().describe("A short URL link to the maintenance details."),
|
|
28
|
-
created_at: z.string().describe("The creation time of the maintenance."),
|
|
22
|
+
id: z.string().describe("The unique identifier of the maintenance.").nullable(),
|
|
23
|
+
name: z.string().describe("The name of the maintenance.").nullable(),
|
|
24
|
+
impact: z.string().describe("The impact level of the maintenance.").nullable(),
|
|
25
|
+
status: z.string().describe("The current status of the maintenance.").nullable(),
|
|
26
|
+
page_id: z.string().describe("The unique identifier of the status page.").nullable(),
|
|
27
|
+
shortlink: z.string().describe("A short URL link to the maintenance details.").nullable(),
|
|
28
|
+
created_at: z.string().describe("The creation time of the maintenance.").nullable(),
|
|
29
29
|
started_at: z.string().describe("The actual start time of the maintenance.").nullable().optional(),
|
|
30
|
-
updated_at: z.string().describe("The last update time of the maintenance."),
|
|
30
|
+
updated_at: z.string().describe("The last update time of the maintenance.").nullable(),
|
|
31
31
|
resolved_at: z.string().describe("The time when the maintenance was resolved.").nullable().optional(),
|
|
32
32
|
monitoring_at: z.string().describe("The time when monitoring started for the maintenance.").nullable().optional(),
|
|
33
|
-
scheduled_for: z.string().describe("The scheduled start time of the maintenance."),
|
|
34
|
-
scheduled_until: z.string().describe("The scheduled end time of the maintenance."),
|
|
33
|
+
scheduled_for: z.string().describe("The scheduled start time of the maintenance.").nullable(),
|
|
34
|
+
scheduled_until: z.string().describe("The scheduled end time of the maintenance.").nullable(),
|
|
35
35
|
incident_updates: z.array(SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema).describe("A list of updates related to the maintenance.")
|
|
36
36
|
});
|
|
37
37
|
const snowflakeGetActiveScheduledMaintenances = action("SNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCES", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetActiveScheduledMaintenancesInput
|
|
1
|
+
{"version":3,"file":"get-active-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetActiveScheduledMaintenancesInput = z.object({});\nconst SnowflakeGetActiveScheduledMaintenances_PageSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 last update time of the status page.\").nullable(),\n});\nconst SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The unique identifier 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 creation time of the incident update.\").nullable(),\n display_at: z.string().describe(\"The display time of the incident update.\").nullable(),\n updated_at: z.string().describe(\"The last update time of the incident update.\").nullable(),\n incident_id: z.string().describe(\"The unique identifier of the incident.\").nullable(),\n});\nconst SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the maintenance.\").nullable(),\n name: z.string().describe(\"The name of the maintenance.\").nullable(),\n impact: z.string().describe(\"The impact level of the maintenance.\").nullable(),\n status: z.string().describe(\"The current status of the maintenance.\").nullable(),\n page_id: z.string().describe(\"The unique identifier of the status page.\").nullable(),\n shortlink: z.string().describe(\"A short URL link to the maintenance details.\").nullable(),\n created_at: z.string().describe(\"The creation time of the maintenance.\").nullable(),\n started_at: z.string().describe(\"The actual start time of the maintenance.\").nullable().optional(),\n updated_at: z.string().describe(\"The last update time of the maintenance.\").nullable(),\n resolved_at: z.string().describe(\"The time when the maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The time when monitoring started for the maintenance.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The scheduled start time of the maintenance.\").nullable(),\n scheduled_until: z.string().describe(\"The scheduled end time of the maintenance.\").nullable(),\n incident_updates: z.array(SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of updates related to the maintenance.\"),\n});\nexport const SnowflakeGetActiveScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetActiveScheduledMaintenances_PageSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of active scheduled maintenances currently in progress or being verified.\"),\n});\n\nexport const snowflakeGetActiveScheduledMaintenances = action(\"SNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-active-scheduled-maintenances\",\n name: \"Get Active Scheduled Maintenances\",\n description: \"Retrieves a list of any active scheduled maintenances currently in the In Progress or Verifying state.\",\n input: SnowflakeGetActiveScheduledMaintenancesInput,\n output: SnowflakeGetActiveScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+C,EAAE,OAAO,CAAC,CAAC;AACvE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,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,0CAA0C,CAAC,CAAC,SAAS;AACvF,CAAC;AACD,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC;AACD,MAAM,qEAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;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#region src/actions/get-all-scheduled-maintenances.ts
|
|
4
4
|
const SnowflakeGetAllScheduledMaintenancesInput = zod.z.object({});
|
|
5
5
|
const SnowflakeGetAllScheduledMaintenances_PageSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The ID of the page."),
|
|
7
|
-
url: zod.z.string().describe("The URL of the page."),
|
|
8
|
-
name: zod.z.string().describe("The name of the page."),
|
|
9
|
-
time_zone: zod.z.string().describe("The time zone of the page."),
|
|
10
|
-
updated_at: zod.z.string().describe("The timestamp of the last update.")
|
|
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
11
|
});
|
|
12
12
|
const SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = zod.z.object({
|
|
13
|
-
code: zod.z.string().describe("The code of the affected component."),
|
|
14
|
-
name: zod.z.string().describe("The name of the affected component."),
|
|
15
|
-
new_status: zod.z.string().describe("The new status of the component."),
|
|
16
|
-
old_status: zod.z.string().describe("The previous status of the component.")
|
|
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
17
|
});
|
|
18
18
|
const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("The ID of the incident update."),
|
|
20
|
-
body: zod.z.string().describe("The body of the incident update."),
|
|
21
|
-
status: zod.z.string().describe("The status of the incident update."),
|
|
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
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."),
|
|
24
|
-
display_at: zod.z.string().describe("The timestamp to display the incident update."),
|
|
25
|
-
updated_at: zod.z.string().describe("The timestamp of the last update."),
|
|
26
|
-
incident_id: zod.z.string().describe("The ID of the incident."),
|
|
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
27
|
custom_tweet: zod.z.string().describe("Custom tweet text if available.").nullable().optional(),
|
|
28
28
|
affected_components: zod.z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe("List of affected components with their status changes.").nullable().optional(),
|
|
29
29
|
deliver_notifications: zod.z.boolean().default(false).describe("Whether notifications were delivered for this update.").nullable().optional()
|
|
30
30
|
});
|
|
31
31
|
const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
32
|
-
id: zod.z.string().describe("The ID of the scheduled maintenance."),
|
|
33
|
-
name: zod.z.string().describe("The name of the scheduled maintenance."),
|
|
34
|
-
impact: zod.z.string().describe("The impact of the scheduled maintenance."),
|
|
35
|
-
status: zod.z.string().describe("The status of the scheduled maintenance."),
|
|
36
|
-
page_id: zod.z.string().describe("The ID of the page."),
|
|
37
|
-
shortlink: zod.z.string().describe("The shortlink of the scheduled maintenance."),
|
|
38
|
-
created_at: zod.z.string().describe("The timestamp of the scheduled maintenance creation."),
|
|
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
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."),
|
|
40
|
+
updated_at: zod.z.string().describe("The timestamp of the last update.").nullable(),
|
|
41
41
|
resolved_at: zod.z.string().describe("The timestamp of the resolution.").nullable().optional(),
|
|
42
42
|
monitoring_at: zod.z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
|
|
43
43
|
scheduled_for: zod.z.string().describe("The timestamp of the scheduled maintenance.").nullable().optional(),
|
|
@@ -1 +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
|
|
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,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E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B;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"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-scheduled-maintenances.d.ts
|
|
4
|
-
declare const SnowflakeGetAllScheduledMaintenancesInput: z.
|
|
5
|
-
declare const SnowflakeGetAllScheduledMaintenancesOutput: z.
|
|
6
|
-
|
|
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]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { snowflakeGetAllScheduledMaintenances };
|
|
9
50
|
//# sourceMappingURL=get-all-scheduled-maintenances.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"mappings":";;;cAIa,yCAAA,
|
|
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"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-scheduled-maintenances.d.ts
|
|
4
|
-
declare const SnowflakeGetAllScheduledMaintenancesInput: z.
|
|
5
|
-
declare const SnowflakeGetAllScheduledMaintenancesOutput: z.
|
|
6
|
-
|
|
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]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { snowflakeGetAllScheduledMaintenances };
|
|
9
50
|
//# sourceMappingURL=get-all-scheduled-maintenances.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-all-scheduled-maintenances.ts"],"mappings":";;;cAIa,yCAAA,
|
|
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"}
|
|
@@ -3,41 +3,41 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-all-scheduled-maintenances.ts
|
|
4
4
|
const SnowflakeGetAllScheduledMaintenancesInput = z.object({});
|
|
5
5
|
const SnowflakeGetAllScheduledMaintenances_PageSchema = z.object({
|
|
6
|
-
id: z.string().describe("The ID of the page."),
|
|
7
|
-
url: z.string().describe("The URL of the page."),
|
|
8
|
-
name: z.string().describe("The name of the page."),
|
|
9
|
-
time_zone: z.string().describe("The time zone of the page."),
|
|
10
|
-
updated_at: z.string().describe("The timestamp of the last update.")
|
|
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
11
|
});
|
|
12
12
|
const SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = z.object({
|
|
13
|
-
code: z.string().describe("The code of the affected component."),
|
|
14
|
-
name: z.string().describe("The name of the affected component."),
|
|
15
|
-
new_status: z.string().describe("The new status of the component."),
|
|
16
|
-
old_status: z.string().describe("The previous status of the component.")
|
|
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
17
|
});
|
|
18
18
|
const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
19
|
-
id: z.string().describe("The ID of the incident update."),
|
|
20
|
-
body: z.string().describe("The body of the incident update."),
|
|
21
|
-
status: z.string().describe("The status of the incident update."),
|
|
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
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."),
|
|
24
|
-
display_at: z.string().describe("The timestamp to display the incident update."),
|
|
25
|
-
updated_at: z.string().describe("The timestamp of the last update."),
|
|
26
|
-
incident_id: z.string().describe("The ID of the incident."),
|
|
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
27
|
custom_tweet: z.string().describe("Custom tweet text if available.").nullable().optional(),
|
|
28
28
|
affected_components: z.array(SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema).describe("List of affected components with their status changes.").nullable().optional(),
|
|
29
29
|
deliver_notifications: z.boolean().default(false).describe("Whether notifications were delivered for this update.").nullable().optional()
|
|
30
30
|
});
|
|
31
31
|
const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
32
|
-
id: z.string().describe("The ID of the scheduled maintenance."),
|
|
33
|
-
name: z.string().describe("The name of the scheduled maintenance."),
|
|
34
|
-
impact: z.string().describe("The impact of the scheduled maintenance."),
|
|
35
|
-
status: z.string().describe("The status of the scheduled maintenance."),
|
|
36
|
-
page_id: z.string().describe("The ID of the page."),
|
|
37
|
-
shortlink: z.string().describe("The shortlink of the scheduled maintenance."),
|
|
38
|
-
created_at: z.string().describe("The timestamp of the scheduled maintenance creation."),
|
|
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
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."),
|
|
40
|
+
updated_at: z.string().describe("The timestamp of the last update.").nullable(),
|
|
41
41
|
resolved_at: z.string().describe("The timestamp of the resolution.").nullable().optional(),
|
|
42
42
|
monitoring_at: z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
|
|
43
43
|
scheduled_for: z.string().describe("The timestamp of the scheduled maintenance.").nullable().optional(),
|
|
@@ -1 +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
|
|
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;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAg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AE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,6BAA6B;AAC7H,CAAC;AAMD,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,gDAAgD,SAAS;EAC/D,wBAAwB,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC;CAC/I,CAOU;AACV,CAAC"}
|
|
@@ -3,25 +3,25 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-component-status.ts
|
|
4
4
|
const SnowflakeGetComponentStatusInput = zod.z.object({ limit: zod.z.number().int().describe("Limit number of components returned.").optional() });
|
|
5
5
|
const SnowflakeGetComponentStatus_PageSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The unique identifier of the page."),
|
|
7
|
-
url: zod.z.string().describe("The URL of the page."),
|
|
8
|
-
name: zod.z.string().describe("The name of the page."),
|
|
9
|
-
updated_at: zod.z.string().describe("The timestamp when the page was last updated.")
|
|
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
10
|
});
|
|
11
11
|
const SnowflakeGetComponentStatus_ComponentSchema = zod.z.object({
|
|
12
|
-
id: zod.z.string().describe("The unique identifier of the component."),
|
|
13
|
-
name: zod.z.string().describe("The name of the component."),
|
|
14
|
-
group: zod.z.boolean().describe("Indicates if the component is a group."),
|
|
15
|
-
status: zod.z.string().describe("The current status of the component."),
|
|
16
|
-
page_id: zod.z.string().describe("The unique identifier of the page the component belongs to."),
|
|
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
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."),
|
|
19
|
-
showcase: zod.z.boolean().describe("Indicates if the component is showcased."),
|
|
20
|
-
created_at: zod.z.string().describe("The timestamp when the component was created."),
|
|
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
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."),
|
|
22
|
+
updated_at: zod.z.string().describe("The timestamp when the component was last updated.").nullable(),
|
|
23
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.")
|
|
24
|
+
only_show_if_degraded: zod.z.boolean().describe("Indicates if the component should only be shown if it is degraded.").nullable()
|
|
25
25
|
});
|
|
26
26
|
const SnowflakeGetComponentStatusOutput = zod.z.object({
|
|
27
27
|
page: SnowflakeGetComponentStatus_PageSchema.nullable(),
|
|
@@ -1 +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
|
|
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,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC7H,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,uCAAuC,SAAS;CACtD,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD;AAC5H,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-component-status.d.ts
|
|
4
|
-
declare const SnowflakeGetComponentStatusInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
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]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { snowflakeGetComponentStatus };
|
|
9
35
|
//# sourceMappingURL=get-component-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-component-status.d.cts","names":[],"sources":["../../src/actions/get-component-status.ts"],"mappings":";;;cAIa,gCAAA,
|
|
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"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-component-status.d.ts
|
|
4
|
-
declare const SnowflakeGetComponentStatusInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
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]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { snowflakeGetComponentStatus };
|
|
9
35
|
//# sourceMappingURL=get-component-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-component-status.d.mts","names":[],"sources":["../../src/actions/get-component-status.ts"],"mappings":";;;cAIa,gCAAA,
|
|
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"}
|