@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
|
@@ -23,17 +23,17 @@ const SnowflakeExecuteSql_RowTypeMetadataSchema = z.object({
|
|
|
23
23
|
collation: z.string().describe("Collation for text types").nullable().optional(),
|
|
24
24
|
precision: z.number().int().describe("Precision for numeric types").nullable().optional(),
|
|
25
25
|
byteLength: z.number().int().describe("Byte length for text types").nullable().optional()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const SnowflakeExecuteSql_PartitionInfoSchema = z.object({
|
|
28
28
|
rowCount: z.number().int().describe("Number of rows in this partition").nullable(),
|
|
29
29
|
uncompressedSize: z.number().int().describe("Uncompressed size in bytes").nullable()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const SnowflakeExecuteSql_ResultSetMetaDataSchema = z.object({
|
|
32
32
|
format: z.string().describe("Format of the result data (e.g., 'jsonv2')").nullable(),
|
|
33
33
|
numRows: z.number().int().describe("Total number of rows in the result set").nullable(),
|
|
34
34
|
rowType: z.array(SnowflakeExecuteSql_RowTypeMetadataSchema).describe("Metadata for each column in the result set"),
|
|
35
35
|
partitionInfo: z.array(SnowflakeExecuteSql_PartitionInfoSchema).describe("Information about data partitions")
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
37
|
const snowflakeExecuteSql = action("SNOWFLAKE_EXECUTE_SQL", {
|
|
38
38
|
slug: "snowflake-execute-sql",
|
|
39
39
|
name: "Execute SQL",
|
|
@@ -55,7 +55,7 @@ const snowflakeExecuteSql = action("SNOWFLAKE_EXECUTE_SQL", {
|
|
|
55
55
|
resultSetMetaData: SnowflakeExecuteSql_ResultSetMetaDataSchema.nullable().optional(),
|
|
56
56
|
statementStatusUrl: z.string().describe("URL to check the execution status").nullable().optional(),
|
|
57
57
|
composio_execution_message: z.string().describe("Additional execution information from Composio").nullable().optional()
|
|
58
|
-
})
|
|
58
|
+
}).passthrough()
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { snowflakeExecuteSql };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-sql.mjs","names":[],"sources":["../../src/actions/execute-sql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeExecuteSqlInput = z.object({\n role: z.string().describe(\"Role name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_ROLE setting.\").optional(),\n timeout: z.number().int().describe(\"Execution timeout in seconds. Set to 0 for maximum timeout (604800 seconds). If not specified, uses the default timeout.\").optional(),\n bindings: z.record(z.string(), z.unknown()).describe(\"Values of bind variables in the SQL statement. Use this for parameterized queries to prevent SQL injection.\").optional(),\n database: z.string().describe(\"Database name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_NAMESPACE setting.\").optional(),\n statement: z.string().describe(\"SQL statement(s) to execute. Supports SELECT queries, DDL (CREATE, ALTER, DROP), and DML (INSERT, UPDATE, DELETE). Multiple statements can be separated by semicolons; they will be executed in sequence automatically. When querying INFORMATION_SCHEMA, always filter on both `table_schema` and `table_catalog` and wrap mixed AND/OR conditions in parentheses. For multi-statement batches, test critical sections in isolation first — a single failing statement obscures root cause.\"),\n warehouse: z.string().describe(\"Warehouse name to use for query execution (case-sensitive). Required for queries that need compute resources. If not specified, uses the user's DEFAULT_WAREHOUSE setting. Suspended or undersized warehouses cause high latency or timeouts; verify the warehouse is active and appropriately sized before execution.\").optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Session parameters to set for the statement execution. These are Snowflake session-level parameters.\").optional(),\n schema_name: z.string().describe(\"Schema name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_NAMESPACE setting.\").optional(),\n});\nconst SnowflakeExecuteSql_RowTypeMetadataSchema = z.object({\n name: z.string().describe(\"Column name\").nullable(),\n type: z.string().describe(\"Data type of the column\").nullable(),\n scale: z.number().int().describe(\"Scale for numeric types\").nullable().optional(),\n table: z.string().describe(\"Table name\").nullable(),\n length: z.number().int().describe(\"Length for text types\").nullable().optional(),\n schema: z.string().describe(\"Schema name\").nullable(),\n database: z.string().describe(\"Database name\").nullable(),\n nullable: z.boolean().describe(\"Whether the column is nullable\").nullable(),\n collation: z.string().describe(\"Collation for text types\").nullable().optional(),\n precision: z.number().int().describe(\"Precision for numeric types\").nullable().optional(),\n byteLength: z.number().int().describe(\"Byte length for text types\").nullable().optional(),\n});\nconst SnowflakeExecuteSql_PartitionInfoSchema = z.object({\n rowCount: z.number().int().describe(\"Number of rows in this partition\").nullable(),\n uncompressedSize: z.number().int().describe(\"Uncompressed size in bytes\").nullable(),\n});\nconst SnowflakeExecuteSql_ResultSetMetaDataSchema = z.object({\n format: z.string().describe(\"Format of the result data (e.g., 'jsonv2')\").nullable(),\n numRows: z.number().int().describe(\"Total number of rows in the result set\").nullable(),\n rowType: z.array(SnowflakeExecuteSql_RowTypeMetadataSchema).describe(\"Metadata for each column in the result set\"),\n partitionInfo: z.array(SnowflakeExecuteSql_PartitionInfoSchema).describe(\"Information about data partitions\"),\n});\nexport const SnowflakeExecuteSqlOutput = z.object({\n code: z.string().describe(\"Status code from Snowflake (e.g., '090001' for success)\").nullable().optional(),\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"The result set rows (single statement only). For multi-statement execution, use statementHandles to retrieve results individually.\").nullable().optional(),\n message: z.string().describe(\"Execution status message\").nullable().optional(),\n sqlState: z.string().describe(\"SQL state code (e.g., '00000' for success)\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds since epoch when the statement was created\").nullable().optional(),\n statementHandle: z.string().describe(\"Unique identifier for the executed statement (single statement only)\").nullable().optional(),\n statementHandles: z.array(z.string()).describe(\"Array of statement handles for multi-statement execution. Use these handles with CHECK_STATEMENT_STATUS to retrieve results for each statement.\").nullable().optional(),\n resultSetMetaData: SnowflakeExecuteSql_ResultSetMetaDataSchema.nullable().optional(),\n statementStatusUrl: z.string().describe(\"URL to check the execution status\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Additional execution information from Composio\").nullable().optional(),\n});\n\nexport const snowflakeExecuteSql = action(\"SNOWFLAKE_EXECUTE_SQL\", {\n slug: \"snowflake-execute-sql\",\n name: \"Execute SQL\",\n description: \"Execute SQL statements in Snowflake and retrieve results. Supports SELECT queries for data retrieval, DDL statements (CREATE, ALTER, DROP) for schema management, and DML statements (INSERT, UPDATE, DELETE) for data modification. Returns comprehensive result metadata including column types, row counts, and execution status. Unquoted SQL identifiers are auto-uppercased by Snowflake — use matching case in `database`, `schema_name`, `warehouse`, and `role` parameters to avoid 'object not found' errors. Always apply explicit time-range filters and a LIMIT clause to unbounded SELECT queries to prevent large, slow result sets.\",\n input: SnowflakeExecuteSqlInput,\n output: SnowflakeExecuteSqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACxK,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC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,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;
|
|
1
|
+
{"version":3,"file":"execute-sql.mjs","names":[],"sources":["../../src/actions/execute-sql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeExecuteSqlInput = z.object({\n role: z.string().describe(\"Role name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_ROLE setting.\").optional(),\n timeout: z.number().int().describe(\"Execution timeout in seconds. Set to 0 for maximum timeout (604800 seconds). If not specified, uses the default timeout.\").optional(),\n bindings: z.record(z.string(), z.unknown()).describe(\"Values of bind variables in the SQL statement. Use this for parameterized queries to prevent SQL injection.\").optional(),\n database: z.string().describe(\"Database name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_NAMESPACE setting.\").optional(),\n statement: z.string().describe(\"SQL statement(s) to execute. Supports SELECT queries, DDL (CREATE, ALTER, DROP), and DML (INSERT, UPDATE, DELETE). Multiple statements can be separated by semicolons; they will be executed in sequence automatically. When querying INFORMATION_SCHEMA, always filter on both `table_schema` and `table_catalog` and wrap mixed AND/OR conditions in parentheses. For multi-statement batches, test critical sections in isolation first — a single failing statement obscures root cause.\"),\n warehouse: z.string().describe(\"Warehouse name to use for query execution (case-sensitive). Required for queries that need compute resources. If not specified, uses the user's DEFAULT_WAREHOUSE setting. Suspended or undersized warehouses cause high latency or timeouts; verify the warehouse is active and appropriately sized before execution.\").optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Session parameters to set for the statement execution. These are Snowflake session-level parameters.\").optional(),\n schema_name: z.string().describe(\"Schema name to use for execution (case-sensitive). If not specified, uses the user's DEFAULT_NAMESPACE setting.\").optional(),\n});\nconst SnowflakeExecuteSql_RowTypeMetadataSchema = z.object({\n name: z.string().describe(\"Column name\").nullable(),\n type: z.string().describe(\"Data type of the column\").nullable(),\n scale: z.number().int().describe(\"Scale for numeric types\").nullable().optional(),\n table: z.string().describe(\"Table name\").nullable(),\n length: z.number().int().describe(\"Length for text types\").nullable().optional(),\n schema: z.string().describe(\"Schema name\").nullable(),\n database: z.string().describe(\"Database name\").nullable(),\n nullable: z.boolean().describe(\"Whether the column is nullable\").nullable(),\n collation: z.string().describe(\"Collation for text types\").nullable().optional(),\n precision: z.number().int().describe(\"Precision for numeric types\").nullable().optional(),\n byteLength: z.number().int().describe(\"Byte length for text types\").nullable().optional(),\n}).passthrough();\nconst SnowflakeExecuteSql_PartitionInfoSchema = z.object({\n rowCount: z.number().int().describe(\"Number of rows in this partition\").nullable(),\n uncompressedSize: z.number().int().describe(\"Uncompressed size in bytes\").nullable(),\n}).passthrough();\nconst SnowflakeExecuteSql_ResultSetMetaDataSchema = z.object({\n format: z.string().describe(\"Format of the result data (e.g., 'jsonv2')\").nullable(),\n numRows: z.number().int().describe(\"Total number of rows in the result set\").nullable(),\n rowType: z.array(SnowflakeExecuteSql_RowTypeMetadataSchema).describe(\"Metadata for each column in the result set\"),\n partitionInfo: z.array(SnowflakeExecuteSql_PartitionInfoSchema).describe(\"Information about data partitions\"),\n}).passthrough();\nexport const SnowflakeExecuteSqlOutput = z.object({\n code: z.string().describe(\"Status code from Snowflake (e.g., '090001' for success)\").nullable().optional(),\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"The result set rows (single statement only). For multi-statement execution, use statementHandles to retrieve results individually.\").nullable().optional(),\n message: z.string().describe(\"Execution status message\").nullable().optional(),\n sqlState: z.string().describe(\"SQL state code (e.g., '00000' for success)\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds since epoch when the statement was created\").nullable().optional(),\n statementHandle: z.string().describe(\"Unique identifier for the executed statement (single statement only)\").nullable().optional(),\n statementHandles: z.array(z.string()).describe(\"Array of statement handles for multi-statement execution. Use these handles with CHECK_STATEMENT_STATUS to retrieve results for each statement.\").nullable().optional(),\n resultSetMetaData: SnowflakeExecuteSql_ResultSetMetaDataSchema.nullable().optional(),\n statementStatusUrl: z.string().describe(\"URL to check the execution status\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Additional execution information from Composio\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeExecuteSql = action(\"SNOWFLAKE_EXECUTE_SQL\", {\n slug: \"snowflake-execute-sql\",\n name: \"Execute SQL\",\n description: \"Execute SQL statements in Snowflake and retrieve results. Supports SELECT queries for data retrieval, DDL statements (CREATE, ALTER, DROP) for schema management, and DML statements (INSERT, UPDATE, DELETE) for data modification. Returns comprehensive result metadata including column types, row counts, and execution status. Unquoted SQL identifiers are auto-uppercased by Snowflake — use matching case in `database`, `schema_name`, `warehouse`, and `role` parameters to avoid 'object not found' errors. Always apply explicit time-range filters and a LIMIT clause to unbounded SELECT queries to prevent large, slow result sets.\",\n input: SnowflakeExecuteSqlInput,\n output: SnowflakeExecuteSqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACxK,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC5J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8dAA8d;CAC7f,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;CAClW,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACxK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AAC/J,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAA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C,SAAS;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/fetch-catalog-integration.ts
|
|
4
4
|
const SnowflakeFetchCatalogIntegrationInput = zod.z.object({ name: zod.z.string().describe("The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.") });
|
|
5
|
-
const SnowflakeFetchCatalogIntegration_CatalogSchema = zod.z.object({ catalog_source: zod.z.string().describe("The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).").nullable().optional() });
|
|
5
|
+
const SnowflakeFetchCatalogIntegration_CatalogSchema = zod.z.object({ catalog_source: zod.z.string().describe("The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).").nullable().optional() }).passthrough();
|
|
6
6
|
const SnowflakeFetchCatalogIntegrationOutput = zod.z.object({
|
|
7
7
|
name: zod.z.string().describe("The name (identifier) of the catalog integration.").nullable().optional(),
|
|
8
8
|
type: zod.z.string().describe("The type classification of the integration object.").nullable().optional(),
|
|
@@ -12,7 +12,7 @@ const SnowflakeFetchCatalogIntegrationOutput = zod.z.object({
|
|
|
12
12
|
category: zod.z.string().describe("The category classification of the catalog integration.").nullable().optional(),
|
|
13
13
|
created_on: zod.z.string().describe("ISO 8601 timestamp indicating when the catalog integration was created.").nullable().optional(),
|
|
14
14
|
table_format: zod.z.string().describe("The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const snowflakeFetchCatalogIntegration = require_action.action("SNOWFLAKE_FETCH_CATALOG_INTEGRATION", {
|
|
17
17
|
slug: "snowflake-fetch-catalog-integration",
|
|
18
18
|
name: "Fetch Catalog Integration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-catalog-integration.cjs","names":["z","action"],"sources":["../../src/actions/fetch-catalog-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeFetchCatalogIntegrationInput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.\"),\n});\nconst SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({\n catalog_source: z.string().describe(\"The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).\").nullable().optional(),\n});\nexport const SnowflakeFetchCatalogIntegrationOutput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration.\").nullable().optional(),\n type: z.string().describe(\"The type classification of the integration object.\").nullable().optional(),\n catalog: SnowflakeFetchCatalogIntegration_CatalogSchema.nullable().optional(),\n comment: z.string().describe(\"User-provided comment or description for the catalog integration.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the catalog integration is currently enabled (TRUE) or disabled (FALSE).\").nullable().optional(),\n category: z.string().describe(\"The category classification of the catalog integration.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp indicating when the catalog integration was created.\").nullable().optional(),\n table_format: z.string().describe(\"The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.\").nullable().optional(),\n});\n\nexport const snowflakeFetchCatalogIntegration = action(\"SNOWFLAKE_FETCH_CATALOG_INTEGRATION\", {\n slug: \"snowflake-fetch-catalog-integration\",\n name: \"Fetch Catalog Integration\",\n description: \"Retrieves detailed configuration and metadata for a specific catalog integration. Catalog integrations allow Snowflake to connect to external Apache Iceberg catalogs (AWS Glue, Snowflake Open Catalog/Polaris, or Apache Iceberg REST catalogs) to query Iceberg tables managed by those external systems.\",\n input: SnowflakeFetchCatalogIntegrationInput,\n output: SnowflakeFetchCatalogIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC5H,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC;
|
|
1
|
+
{"version":3,"file":"fetch-catalog-integration.cjs","names":["z","action"],"sources":["../../src/actions/fetch-catalog-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeFetchCatalogIntegrationInput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.\"),\n});\nconst SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({\n catalog_source: z.string().describe(\"The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeFetchCatalogIntegrationOutput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration.\").nullable().optional(),\n type: z.string().describe(\"The type classification of the integration object.\").nullable().optional(),\n catalog: SnowflakeFetchCatalogIntegration_CatalogSchema.nullable().optional(),\n comment: z.string().describe(\"User-provided comment or description for the catalog integration.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the catalog integration is currently enabled (TRUE) or disabled (FALSE).\").nullable().optional(),\n category: z.string().describe(\"The category classification of the catalog integration.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp indicating when the catalog integration was created.\").nullable().optional(),\n table_format: z.string().describe(\"The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeFetchCatalogIntegration = action(\"SNOWFLAKE_FETCH_CATALOG_INTEGRATION\", {\n slug: \"snowflake-fetch-catalog-integration\",\n name: \"Fetch Catalog Integration\",\n description: \"Retrieves detailed configuration and metadata for a specific catalog integration. Catalog integrations allow Snowflake to connect to external Apache Iceberg catalogs (AWS Glue, Snowflake Open Catalog/Polaris, or Apache Iceberg REST catalogs) to query Iceberg tables managed by those external systems.\",\n input: SnowflakeFetchCatalogIntegrationInput,\n output: SnowflakeFetchCatalogIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC5H,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,16 +9,28 @@ declare const SnowflakeFetchCatalogIntegrationOutput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
catalog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
catalog_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
15
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
created_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
table_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const snowflakeFetchCatalogIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { snowflakeFetchCatalogIntegration };
|
|
24
36
|
//# sourceMappingURL=fetch-catalog-integration.d.cts.map
|
|
@@ -9,16 +9,28 @@ declare const SnowflakeFetchCatalogIntegrationOutput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
catalog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
catalog_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
15
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
created_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
table_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const snowflakeFetchCatalogIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { snowflakeFetchCatalogIntegration };
|
|
24
36
|
//# sourceMappingURL=fetch-catalog-integration.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/fetch-catalog-integration.ts
|
|
4
4
|
const SnowflakeFetchCatalogIntegrationInput = z.object({ name: z.string().describe("The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.") });
|
|
5
|
-
const SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({ catalog_source: z.string().describe("The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).").nullable().optional() });
|
|
5
|
+
const SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({ catalog_source: z.string().describe("The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).").nullable().optional() }).passthrough();
|
|
6
6
|
const snowflakeFetchCatalogIntegration = action("SNOWFLAKE_FETCH_CATALOG_INTEGRATION", {
|
|
7
7
|
slug: "snowflake-fetch-catalog-integration",
|
|
8
8
|
name: "Fetch Catalog Integration",
|
|
@@ -17,7 +17,7 @@ const snowflakeFetchCatalogIntegration = action("SNOWFLAKE_FETCH_CATALOG_INTEGRA
|
|
|
17
17
|
category: z.string().describe("The category classification of the catalog integration.").nullable().optional(),
|
|
18
18
|
created_on: z.string().describe("ISO 8601 timestamp indicating when the catalog integration was created.").nullable().optional(),
|
|
19
19
|
table_format: z.string().describe("The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.").nullable().optional()
|
|
20
|
-
})
|
|
20
|
+
}).passthrough()
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { snowflakeFetchCatalogIntegration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-catalog-integration.mjs","names":[],"sources":["../../src/actions/fetch-catalog-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeFetchCatalogIntegrationInput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.\"),\n});\nconst SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({\n catalog_source: z.string().describe(\"The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).\").nullable().optional(),\n});\nexport const SnowflakeFetchCatalogIntegrationOutput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration.\").nullable().optional(),\n type: z.string().describe(\"The type classification of the integration object.\").nullable().optional(),\n catalog: SnowflakeFetchCatalogIntegration_CatalogSchema.nullable().optional(),\n comment: z.string().describe(\"User-provided comment or description for the catalog integration.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the catalog integration is currently enabled (TRUE) or disabled (FALSE).\").nullable().optional(),\n category: z.string().describe(\"The category classification of the catalog integration.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp indicating when the catalog integration was created.\").nullable().optional(),\n table_format: z.string().describe(\"The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.\").nullable().optional(),\n});\n\nexport const snowflakeFetchCatalogIntegration = action(\"SNOWFLAKE_FETCH_CATALOG_INTEGRATION\", {\n slug: \"snowflake-fetch-catalog-integration\",\n name: \"Fetch Catalog Integration\",\n description: \"Retrieves detailed configuration and metadata for a specific catalog integration. Catalog integrations allow Snowflake to connect to external Apache Iceberg catalogs (AWS Glue, Snowflake Open Catalog/Polaris, or Apache Iceberg REST catalogs) to query Iceberg tables managed by those external systems.\",\n input: SnowflakeFetchCatalogIntegrationInput,\n output: SnowflakeFetchCatalogIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC5H,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC;
|
|
1
|
+
{"version":3,"file":"fetch-catalog-integration.mjs","names":[],"sources":["../../src/actions/fetch-catalog-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeFetchCatalogIntegrationInput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration to fetch details for. This is case-sensitive.\"),\n});\nconst SnowflakeFetchCatalogIntegration_CatalogSchema = z.object({\n catalog_source: z.string().describe(\"The catalog source type. Common values include 'GLUE' (AWS Glue), 'POLARIS' (Snowflake Open Catalog), or 'ICEBERG_REST' (Apache Iceberg REST catalog).\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeFetchCatalogIntegrationOutput = z.object({\n name: z.string().describe(\"The name (identifier) of the catalog integration.\").nullable().optional(),\n type: z.string().describe(\"The type classification of the integration object.\").nullable().optional(),\n catalog: SnowflakeFetchCatalogIntegration_CatalogSchema.nullable().optional(),\n comment: z.string().describe(\"User-provided comment or description for the catalog integration.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the catalog integration is currently enabled (TRUE) or disabled (FALSE).\").nullable().optional(),\n category: z.string().describe(\"The category classification of the catalog integration.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp indicating when the catalog integration was created.\").nullable().optional(),\n table_format: z.string().describe(\"The table format supported by this catalog integration. Typically 'ICEBERG' for Apache Iceberg tables.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeFetchCatalogIntegration = action(\"SNOWFLAKE_FETCH_CATALOG_INTEGRATION\", {\n slug: \"snowflake-fetch-catalog-integration\",\n name: \"Fetch Catalog Integration\",\n description: \"Retrieves detailed configuration and metadata for a specific catalog integration. Catalog integrations allow Snowflake to connect to external Apache Iceberg catalogs (AWS Glue, Snowflake Open Catalog/Polaris, or Apache Iceberg REST catalogs) to query Iceberg tables managed by those external systems.\",\n input: SnowflakeFetchCatalogIntegrationInput,\n output: SnowflakeFetchCatalogIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC5H,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetActiveScheduledMaintenances_PageSchema = 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 last update time of the status page.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("The unique identifier of the incident update.").nullable(),
|
|
14
14
|
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = zod.z.objec
|
|
|
17
17
|
display_at: zod.z.string().describe("The display time of the incident update.").nullable(),
|
|
18
18
|
updated_at: zod.z.string().describe("The last update time of the incident update.").nullable(),
|
|
19
19
|
incident_id: zod.z.string().describe("The unique identifier of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
22
22
|
id: zod.z.string().describe("The unique identifier of the maintenance.").nullable(),
|
|
23
23
|
name: zod.z.string().describe("The name of the maintenance.").nullable(),
|
|
@@ -33,11 +33,11 @@ const SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = zod.z
|
|
|
33
33
|
scheduled_for: zod.z.string().describe("The scheduled start time of the maintenance.").nullable(),
|
|
34
34
|
scheduled_until: zod.z.string().describe("The scheduled end time of the maintenance.").nullable(),
|
|
35
35
|
incident_updates: zod.z.array(SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema).describe("A list of updates related to the maintenance.")
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
37
|
const SnowflakeGetActiveScheduledMaintenancesOutput = zod.z.object({
|
|
38
38
|
page: SnowflakeGetActiveScheduledMaintenances_PageSchema.nullable(),
|
|
39
39
|
scheduled_maintenances: zod.z.array(SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of active scheduled maintenances currently in progress or being verified.")
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const snowflakeGetActiveScheduledMaintenances = require_action.action("SNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCES", {
|
|
42
42
|
slug: "snowflake-get-active-scheduled-maintenances",
|
|
43
43
|
name: "Get Active Scheduled Maintenances",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-scheduled-maintenances.cjs","names":["z","action"],"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+CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACvE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,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,0CAA0C,CAAC,CAAC,SAAS;AACvF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-active-scheduled-maintenances.cjs","names":["z","action"],"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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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+CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACvE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,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,0CAA0C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CA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Aa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAM,mDAAmD,SAAS;CAClE,wBAAwBA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kFAAkF;AACjM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0CAA0CC,eAAAA,OAAO,+CAA+C;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetActiveScheduledMaintenancesOutput: 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>;
|
|
@@ -32,10 +32,22 @@ declare const SnowflakeGetActiveScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
32
32
|
display_at: z.ZodNullable<z.ZodString>;
|
|
33
33
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
34
34
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
38
|
-
declare const snowflakeGetActiveScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const snowflakeGetActiveScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
accessToken: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
39
51
|
//#endregion
|
|
40
52
|
export { snowflakeGetActiveScheduledMaintenances };
|
|
41
53
|
//# sourceMappingURL=get-active-scheduled-maintenances.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-active-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetActiveScheduledMaintenancesOutput: 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>;
|
|
@@ -32,10 +32,22 @@ declare const SnowflakeGetActiveScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
32
32
|
display_at: z.ZodNullable<z.ZodString>;
|
|
33
33
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
34
34
|
incident_id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
38
|
-
declare const snowflakeGetActiveScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const snowflakeGetActiveScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
accessToken: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
39
51
|
//#endregion
|
|
40
52
|
export { snowflakeGetActiveScheduledMaintenances };
|
|
41
53
|
//# sourceMappingURL=get-active-scheduled-maintenances.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-active-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-active-scheduled-maintenances.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -8,7 +8,7 @@ const SnowflakeGetActiveScheduledMaintenances_PageSchema = 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 last update time of the status page.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
13
13
|
id: z.string().describe("The unique identifier of the incident update.").nullable(),
|
|
14
14
|
body: z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -17,7 +17,7 @@ const SnowflakeGetActiveScheduledMaintenances_IncidentUpdateSchema = z.object({
|
|
|
17
17
|
display_at: z.string().describe("The display time of the incident update.").nullable(),
|
|
18
18
|
updated_at: z.string().describe("The last update time of the incident update.").nullable(),
|
|
19
19
|
incident_id: z.string().describe("The unique identifier of the incident.").nullable()
|
|
20
|
-
});
|
|
20
|
+
}).passthrough();
|
|
21
21
|
const SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = z.object({
|
|
22
22
|
id: z.string().describe("The unique identifier of the maintenance.").nullable(),
|
|
23
23
|
name: z.string().describe("The name of the maintenance.").nullable(),
|
|
@@ -33,7 +33,7 @@ const SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema = z.obj
|
|
|
33
33
|
scheduled_for: z.string().describe("The scheduled start time of the maintenance.").nullable(),
|
|
34
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
|
+
}).passthrough();
|
|
37
37
|
const snowflakeGetActiveScheduledMaintenances = action("SNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCES", {
|
|
38
38
|
slug: "snowflake-get-active-scheduled-maintenances",
|
|
39
39
|
name: "Get Active Scheduled Maintenances",
|
|
@@ -42,7 +42,7 @@ const snowflakeGetActiveScheduledMaintenances = action("SNOWFLAKE_GET_ACTIVE_SCH
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
page: SnowflakeGetActiveScheduledMaintenances_PageSchema.nullable(),
|
|
44
44
|
scheduled_maintenances: z.array(SnowflakeGetActiveScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of active scheduled maintenances currently in progress or being verified.")
|
|
45
|
-
})
|
|
45
|
+
}).passthrough()
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { snowflakeGetActiveScheduledMaintenances };
|
|
@@ -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 = 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;
|
|
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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\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,CAAC,CAAC,YAAY;AACf,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,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AS,CAAC,CAAC,SAAS;CAChH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,+CAA+C;AAClJ,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,0CAA0C,OAAO,+CAA+C;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,mDAAmD,SAAS;EAClE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kFAAkF;CACjM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const SnowflakeGetAllScheduledMaintenances_PageSchema = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("The name of the page.").nullable(),
|
|
9
9
|
time_zone: zod.z.string().describe("The time zone of the page.").nullable(),
|
|
10
10
|
updated_at: zod.z.string().describe("The timestamp of the last update.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SnowflakeGetAllScheduledMaintenances_AffectedComponentSchema = zod.z.object({
|
|
13
13
|
code: zod.z.string().describe("The code of the affected component.").nullable(),
|
|
14
14
|
name: zod.z.string().describe("The name of the affected component.").nullable(),
|
|
15
15
|
new_status: zod.z.string().describe("The new status of the component.").nullable(),
|
|
16
16
|
old_status: zod.z.string().describe("The previous status of the component.").nullable()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("The ID of the incident update.").nullable(),
|
|
20
20
|
body: zod.z.string().describe("The body of the incident update.").nullable(),
|
|
@@ -27,7 +27,7 @@ const SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema = zod.z.object({
|
|
|
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
|
+
}).passthrough();
|
|
31
31
|
const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.object({
|
|
32
32
|
id: zod.z.string().describe("The ID of the scheduled maintenance.").nullable(),
|
|
33
33
|
name: zod.z.string().describe("The name of the scheduled maintenance.").nullable(),
|
|
@@ -43,11 +43,11 @@ const SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema = zod.z.ob
|
|
|
43
43
|
scheduled_for: zod.z.string().describe("The timestamp of the scheduled maintenance.").nullable().optional(),
|
|
44
44
|
scheduled_until: zod.z.string().describe("The timestamp of the scheduled maintenance end.").nullable().optional(),
|
|
45
45
|
incident_updates: zod.z.array(SnowflakeGetAllScheduledMaintenances_IncidentUpdateSchema).describe("A list of incident updates.")
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const SnowflakeGetAllScheduledMaintenancesOutput = zod.z.object({
|
|
48
48
|
page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),
|
|
49
49
|
scheduled_maintenances: zod.z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe("A list of scheduled maintenances.")
|
|
50
|
-
});
|
|
50
|
+
}).passthrough();
|
|
51
51
|
const snowflakeGetAllScheduledMaintenances = require_action.action("SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCES", {
|
|
52
52
|
slug: "snowflake-get-all-scheduled-maintenances",
|
|
53
53
|
name: "Get All Scheduled Maintenances",
|
|
@@ -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 = 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;
|
|
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}).passthrough();\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}).passthrough();\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}).passthrough();\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}).passthrough();\nexport const SnowflakeGetAllScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetAllScheduledMaintenances_PageSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetAllScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of scheduled maintenances.\"),\n}).passthrough();\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,CAAC,CAAC,YAAY;AACf,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAA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Nullable<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>;
|
|
@@ -39,12 +39,24 @@ declare const SnowflakeGetAllScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
39
39
|
name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
new_status: z.ZodNullable<z.ZodString>;
|
|
41
41
|
old_status: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>>;
|
|
43
43
|
deliver_notifications: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
47
|
-
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
|
+
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
54
|
+
connectionId: z.ZodString;
|
|
55
|
+
entityId: z.ZodString;
|
|
56
|
+
instanceId: z.ZodString;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
accessToken: z.ZodString;
|
|
59
|
+
}, z.core.$strip>>]>;
|
|
48
60
|
//#endregion
|
|
49
61
|
export { snowflakeGetAllScheduledMaintenances };
|
|
50
62
|
//# 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,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,
|
|
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,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -9,7 +9,7 @@ declare const SnowflakeGetAllScheduledMaintenancesOutput: 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>;
|
|
@@ -39,12 +39,24 @@ declare const SnowflakeGetAllScheduledMaintenancesOutput: z.ZodObject<{
|
|
|
39
39
|
name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
new_status: z.ZodNullable<z.ZodString>;
|
|
41
41
|
old_status: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>>;
|
|
43
43
|
deliver_notifications: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
47
|
-
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
|
+
declare const snowflakeGetAllScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake", z.ZodObject<{
|
|
54
|
+
connectionId: z.ZodString;
|
|
55
|
+
entityId: z.ZodString;
|
|
56
|
+
instanceId: z.ZodString;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
accessToken: z.ZodString;
|
|
59
|
+
}, z.core.$strip>>]>;
|
|
48
60
|
//#endregion
|
|
49
61
|
export { snowflakeGetAllScheduledMaintenances };
|
|
50
62
|
//# sourceMappingURL=get-all-scheduled-maintenances.d.mts.map
|