@keystrokehq/snowflake 0.1.3 → 0.1.5

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.
Files changed (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-statement-execution.cjs +1 -0
  4. package/dist/actions/cancel-statement-execution.cjs.map +1 -1
  5. package/dist/actions/cancel-statement-execution.d.cts +3 -4
  6. package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
  7. package/dist/actions/cancel-statement-execution.d.mts +3 -4
  8. package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
  9. package/dist/actions/cancel-statement-execution.mjs +1 -0
  10. package/dist/actions/cancel-statement-execution.mjs.map +1 -1
  11. package/dist/actions/check-statement-status.cjs +1 -0
  12. package/dist/actions/check-statement-status.cjs.map +1 -1
  13. package/dist/actions/check-statement-status.d.cts +3 -5
  14. package/dist/actions/check-statement-status.d.cts.map +1 -1
  15. package/dist/actions/check-statement-status.d.mts +3 -5
  16. package/dist/actions/check-statement-status.d.mts.map +1 -1
  17. package/dist/actions/check-statement-status.mjs +1 -0
  18. package/dist/actions/check-statement-status.mjs.map +1 -1
  19. package/dist/actions/drop-warehouse.cjs +1 -0
  20. package/dist/actions/drop-warehouse.cjs.map +1 -1
  21. package/dist/actions/drop-warehouse.d.cts +3 -4
  22. package/dist/actions/drop-warehouse.d.cts.map +1 -1
  23. package/dist/actions/drop-warehouse.d.mts +3 -4
  24. package/dist/actions/drop-warehouse.d.mts.map +1 -1
  25. package/dist/actions/drop-warehouse.mjs +1 -0
  26. package/dist/actions/drop-warehouse.mjs.map +1 -1
  27. package/dist/actions/execute-sql.cjs +1 -0
  28. package/dist/actions/execute-sql.cjs.map +1 -1
  29. package/dist/actions/execute-sql.d.cts +3 -10
  30. package/dist/actions/execute-sql.d.cts.map +1 -1
  31. package/dist/actions/execute-sql.d.mts +3 -10
  32. package/dist/actions/execute-sql.d.mts.map +1 -1
  33. package/dist/actions/execute-sql.mjs +1 -0
  34. package/dist/actions/execute-sql.mjs.map +1 -1
  35. package/dist/actions/fetch-catalog-integration.cjs +1 -0
  36. package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
  37. package/dist/actions/fetch-catalog-integration.d.cts +3 -3
  38. package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
  39. package/dist/actions/fetch-catalog-integration.d.mts +3 -3
  40. package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
  41. package/dist/actions/fetch-catalog-integration.mjs +1 -0
  42. package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
  43. package/dist/actions/get-active-scheduled-maintenances.cjs +1 -0
  44. package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
  45. package/dist/actions/get-active-scheduled-maintenances.d.cts +3 -1
  46. package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
  47. package/dist/actions/get-active-scheduled-maintenances.d.mts +3 -1
  48. package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
  49. package/dist/actions/get-active-scheduled-maintenances.mjs +1 -0
  50. package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
  51. package/dist/actions/get-all-scheduled-maintenances.cjs +1 -0
  52. package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
  53. package/dist/actions/get-all-scheduled-maintenances.d.cts +3 -1
  54. package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
  55. package/dist/actions/get-all-scheduled-maintenances.d.mts +3 -1
  56. package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
  57. package/dist/actions/get-all-scheduled-maintenances.mjs +1 -0
  58. package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
  59. package/dist/actions/get-component-status.cjs +1 -0
  60. package/dist/actions/get-component-status.cjs.map +1 -1
  61. package/dist/actions/get-component-status.d.cts +3 -3
  62. package/dist/actions/get-component-status.d.cts.map +1 -1
  63. package/dist/actions/get-component-status.d.mts +3 -3
  64. package/dist/actions/get-component-status.d.mts.map +1 -1
  65. package/dist/actions/get-component-status.mjs +1 -0
  66. package/dist/actions/get-component-status.mjs.map +1 -1
  67. package/dist/actions/get-status-rollup.cjs +1 -0
  68. package/dist/actions/get-status-rollup.cjs.map +1 -1
  69. package/dist/actions/get-status-rollup.d.cts +3 -1
  70. package/dist/actions/get-status-rollup.d.cts.map +1 -1
  71. package/dist/actions/get-status-rollup.d.mts +3 -1
  72. package/dist/actions/get-status-rollup.d.mts.map +1 -1
  73. package/dist/actions/get-status-rollup.mjs +1 -0
  74. package/dist/actions/get-status-rollup.mjs.map +1 -1
  75. package/dist/actions/get-status-summary.cjs +1 -0
  76. package/dist/actions/get-status-summary.cjs.map +1 -1
  77. package/dist/actions/get-status-summary.d.cts +3 -1
  78. package/dist/actions/get-status-summary.d.cts.map +1 -1
  79. package/dist/actions/get-status-summary.d.mts +3 -1
  80. package/dist/actions/get-status-summary.d.mts.map +1 -1
  81. package/dist/actions/get-status-summary.mjs +1 -0
  82. package/dist/actions/get-status-summary.mjs.map +1 -1
  83. package/dist/actions/get-unresolved-incidents.cjs +1 -0
  84. package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
  85. package/dist/actions/get-unresolved-incidents.d.cts +3 -1
  86. package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
  87. package/dist/actions/get-unresolved-incidents.d.mts +3 -1
  88. package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
  89. package/dist/actions/get-unresolved-incidents.mjs +1 -0
  90. package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
  91. package/dist/actions/get-upcoming-scheduled-maintenances.cjs +1 -0
  92. package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
  93. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +3 -1
  94. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
  95. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +3 -1
  96. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
  97. package/dist/actions/get-upcoming-scheduled-maintenances.mjs +1 -0
  98. package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
  99. package/dist/actions/show-databases.cjs +1 -0
  100. package/dist/actions/show-databases.cjs.map +1 -1
  101. package/dist/actions/show-databases.d.cts +3 -11
  102. package/dist/actions/show-databases.d.cts.map +1 -1
  103. package/dist/actions/show-databases.d.mts +3 -11
  104. package/dist/actions/show-databases.d.mts.map +1 -1
  105. package/dist/actions/show-databases.mjs +1 -0
  106. package/dist/actions/show-databases.mjs.map +1 -1
  107. package/dist/actions/show-schemas.cjs +1 -0
  108. package/dist/actions/show-schemas.cjs.map +1 -1
  109. package/dist/actions/show-schemas.d.cts +3 -13
  110. package/dist/actions/show-schemas.d.cts.map +1 -1
  111. package/dist/actions/show-schemas.d.mts +3 -13
  112. package/dist/actions/show-schemas.d.mts.map +1 -1
  113. package/dist/actions/show-schemas.mjs +1 -0
  114. package/dist/actions/show-schemas.mjs.map +1 -1
  115. package/dist/actions/show-tables.cjs +1 -0
  116. package/dist/actions/show-tables.cjs.map +1 -1
  117. package/dist/actions/show-tables.d.cts +3 -14
  118. package/dist/actions/show-tables.d.cts.map +1 -1
  119. package/dist/actions/show-tables.d.mts +3 -14
  120. package/dist/actions/show-tables.d.mts.map +1 -1
  121. package/dist/actions/show-tables.mjs +1 -0
  122. package/dist/actions/show-tables.mjs.map +1 -1
  123. package/dist/actions/validate-credential.cjs +1 -0
  124. package/dist/actions/validate-credential.cjs.map +1 -1
  125. package/dist/actions/validate-credential.d.cts +3 -1
  126. package/dist/actions/validate-credential.d.cts.map +1 -1
  127. package/dist/actions/validate-credential.d.mts +3 -1
  128. package/dist/actions/validate-credential.d.mts.map +1 -1
  129. package/dist/actions/validate-credential.mjs +1 -0
  130. package/dist/actions/validate-credential.mjs.map +1 -1
  131. package/dist/app.cjs +5 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +7 -1
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +7 -1
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +3 -2
  138. package/dist/app.mjs.map +1 -1
  139. package/dist/index.d.cts +1 -1
  140. package/dist/index.d.mts +1 -1
  141. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-status-summary.d.ts
@@ -75,7 +77,7 @@ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
75
77
  }, z.core.$loose>>>>>;
76
78
  }, z.core.$loose>>>>>;
77
79
  }, z.core.$loose>;
78
- declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
80
+ declare const snowflakeGetStatusSummary: AppAction<typeof SnowflakeGetStatusSummaryInput, typeof SnowflakeGetStatusSummaryOutput, typeof snowflake.credential>;
79
81
  //#endregion
80
82
  export { snowflakeGetStatusSummary };
81
83
  //# sourceMappingURL=get-status-summary.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-status-summary.d.mts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-status-summary.d.mts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-status-summary.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusSummaryInput = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_StatusSchema = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ComponentSchema = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeGetStatusSummaryOutput = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeGetStatusSummary = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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AC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO;EACtD,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,EAAE,MAAM,oDAAoD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeGetStatusSummaryInput = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_StatusSchema = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ComponentSchema = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeGetStatusSummaryOutput = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeGetStatusSummary: AppAction<\n typeof SnowflakeGetStatusSummaryInput,\n typeof SnowflakeGetStatusSummaryOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS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CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,EAAE,MAAM,oDAAoD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-unresolved-incidents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.cjs","names":["z","action"],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC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pE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,+CAA+C,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;AACvO,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-unresolved-incidents.cjs","names":["z","action"],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents: AppAction<\n typeof SnowflakeGetUnresolvedIncidentsInput,\n typeof SnowflakeGetUnresolvedIncidentsOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;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D,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,+CAA+C,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;AACvO,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-unresolved-incidents.d.ts
@@ -32,7 +34,7 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
32
34
  }, z.core.$loose>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const snowflakeGetUnresolvedIncidents: AppAction<typeof SnowflakeGetUnresolvedIncidentsInput, typeof SnowflakeGetUnresolvedIncidentsOutput, typeof snowflake.credential>;
36
38
  //#endregion
37
39
  export { snowflakeGetUnresolvedIncidents };
38
40
  //# sourceMappingURL=get-unresolved-incidents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.d.cts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-unresolved-incidents.d.cts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-unresolved-incidents.d.ts
@@ -32,7 +34,7 @@ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
32
34
  }, z.core.$loose>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const snowflakeGetUnresolvedIncidents: AppAction<typeof SnowflakeGetUnresolvedIncidentsInput, typeof SnowflakeGetUnresolvedIncidentsOutput, typeof snowflake.credential>;
36
38
  //#endregion
37
39
  export { snowflakeGetUnresolvedIncidents };
38
40
  //# sourceMappingURL=get-unresolved-incidents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.d.mts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-unresolved-incidents.d.mts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-unresolved-incidents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC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AC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,+CAA+C,SAAS;EAC9D,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;CACvO,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents: AppAction<\n typeof SnowflakeGetUnresolvedIncidentsInput,\n typeof SnowflakeGetUnresolvedIncidentsOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuD,EAAE,OAAO;CACpE,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,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACxH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,MAAM,+CAA+C,SAAS;EAC9D,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;CACvO,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-upcoming-scheduled-maintenances.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SA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SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAM,yDAAyD,SAAS;CACxE,wBAAwBA,IAAAA,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;AACrM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.cjs","names":["z","action"],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances: AppAction<\n typeof SnowflakeGetUpcomingScheduledMaintenancesInput,\n typeof SnowflakeGetUpcomingScheduledMaintenancesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,O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CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAM,yDAAyD,SAAS;CACxE,wBAAwBA,IAAAA,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;AACrM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4CAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-upcoming-scheduled-maintenances.d.ts
@@ -34,7 +36,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>;
37
- declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ declare const snowflakeGetUpcomingScheduledMaintenances: AppAction<typeof SnowflakeGetUpcomingScheduledMaintenancesInput, typeof SnowflakeGetUpcomingScheduledMaintenancesOutput, typeof snowflake.credential>;
38
40
  //#endregion
39
41
  export { snowflakeGetUpcomingScheduledMaintenances };
40
42
  //# sourceMappingURL=get-upcoming-scheduled-maintenances.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,gCAAyC,wBAAA,CAAA,MAAA,0DAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.d.cts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-upcoming-scheduled-maintenances.d.ts
@@ -34,7 +36,7 @@ declare const SnowflakeGetUpcomingScheduledMaintenancesOutput: z.ZodObject<{
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>;
37
- declare const snowflakeGetUpcomingScheduledMaintenances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, unknown>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ declare const snowflakeGetUpcomingScheduledMaintenances: AppAction<typeof SnowflakeGetUpcomingScheduledMaintenancesInput, typeof SnowflakeGetUpcomingScheduledMaintenancesOutput, typeof snowflake.credential>;
38
40
  //#endregion
39
41
  export { snowflakeGetUpcomingScheduledMaintenances };
40
42
  //# sourceMappingURL=get-upcoming-scheduled-maintenances.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,gCAAyC,wBAAA,CAAA,MAAA,0DAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.d.mts","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAgC9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-upcoming-scheduled-maintenances.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-upcoming-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,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AAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,yDAAyD,SAAS;EACxE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;CACrM,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-upcoming-scheduled-maintenances.mjs","names":[],"sources":["../../src/actions/get-upcoming-scheduled-maintenances.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeGetUpcomingScheduledMaintenancesInput = z.record(z.string(), z.unknown()).describe(\"Request model for getting upcoming scheduled maintenances.\");\nconst SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema = z.object({\n id: z.string().describe(\"The ID of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the status page.\").nullable(),\n time_zone: z.string().describe(\"The time zone of the status page.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"A short link to the scheduled maintenance.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the scheduled maintenance was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the scheduled maintenance was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the scheduled maintenance was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the scheduled maintenance was last monitored.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp when the maintenance is scheduled for.\").nullable(),\n scheduled_until: z.string().describe(\"The timestamp when the maintenance is scheduled until.\").nullable(),\n incident_updates: z.array(SnowflakeGetUpcomingScheduledMaintenances_IncidentUpdateSchema).describe(\"A list of incident updates for the scheduled maintenance.\"),\n}).passthrough();\nexport const SnowflakeGetUpcomingScheduledMaintenancesOutput = z.object({\n page: SnowflakeGetUpcomingScheduledMaintenances_PageInfoSchema.nullable(),\n scheduled_maintenances: z.array(SnowflakeGetUpcomingScheduledMaintenances_ScheduledMaintenanceSchema).describe(\"A list of upcoming scheduled maintenances that are still in the 'Scheduled' state.\"),\n}).passthrough();\n\nexport const snowflakeGetUpcomingScheduledMaintenances: AppAction<\n typeof SnowflakeGetUpcomingScheduledMaintenancesInput,\n typeof SnowflakeGetUpcomingScheduledMaintenancesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCES\", {\n slug: \"snowflake-get-upcoming-scheduled-maintenances\",\n name: \"Get Upcoming Scheduled Maintenances\",\n description: \"Retrieves upcoming scheduled maintenances from Snowflake's public status page. This action queries the Snowflake status API to get a list of any scheduled maintenance events that are still in the 'Scheduled' state (not yet started or completed). The response includes maintenance details such as impact level, scheduled time windows, incident updates, and direct links to the maintenance notices. Note: This uses Snowflake's public status API and does not require authentication.\",\n input: SnowflakeGetUpcomingScheduledMaintenancesInput,\n output: SnowflakeGetUpcomingScheduledMaintenancesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACrK,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS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DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,kBAAkB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,2DAA2D;AAChK,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,4CAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6D,EAAE,OAAO;EACtE,MAAM,yDAAyD,SAAS;EACxE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,oFAAoF;CACrM,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/show-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAClO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases: AppAction<\n typeof SnowflakeShowDatabasesInput,\n typeof SnowflakeShowDatabasesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAClO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-databases.d.ts
@@ -16,17 +18,7 @@ declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
16
18
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
17
19
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
20
  }, z.core.$loose>;
19
- declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- role?: string | undefined;
21
- limit?: number | undefined;
22
- terse?: boolean | undefined;
23
- history?: boolean | undefined;
24
- timeout?: number | undefined;
25
- from_name?: string | undefined;
26
- warehouse?: string | undefined;
27
- starts_with?: string | undefined;
28
- like_pattern?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const snowflakeShowDatabases: AppAction<typeof SnowflakeShowDatabasesInput, typeof SnowflakeShowDatabasesOutput, typeof snowflake.credential>;
30
22
  //#endregion
31
23
  export { snowflakeShowDatabases };
32
24
  //# sourceMappingURL=show-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-databases.d.ts
@@ -16,17 +18,7 @@ declare const SnowflakeShowDatabasesOutput: z.ZodObject<{
16
18
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
17
19
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
20
  }, z.core.$loose>;
19
- declare const snowflakeShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- role?: string | undefined;
21
- limit?: number | undefined;
22
- terse?: boolean | undefined;
23
- history?: boolean | undefined;
24
- timeout?: number | undefined;
25
- from_name?: string | undefined;
26
- warehouse?: string | undefined;
27
- starts_with?: string | undefined;
28
- like_pattern?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const snowflakeShowDatabases: AppAction<typeof SnowflakeShowDatabasesInput, typeof SnowflakeShowDatabasesOutput, typeof snowflake.credential>;
30
22
  //#endregion
31
23
  export { snowflakeShowDatabases };
32
24
  //# sourceMappingURL=show-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const snowflakeShowDatabases = action("SNOWFLAKE_SHOW_DATABASES", {
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,CAUS;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;EAClO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeShowDatabasesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped databases that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from databases whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by databases whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by database name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowDatabasesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of databases with their metadata. Each row contains database information like name, creation date, owner, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowDatabases: AppAction<\n typeof SnowflakeShowDatabasesInput,\n typeof SnowflakeShowDatabasesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_DATABASES\", {\n slug: \"snowflake-show-databases\",\n name: \"Show Databases\",\n description: \"Lists all databases for which you have access privileges. Shows database metadata including name, creation date, owner, retention time, and more. Can filter results and include dropped databases within Time Travel retention period.\",\n input: SnowflakeShowDatabasesInput,\n output: SnowflakeShowDatabasesOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,CAcS;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;EAClO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/show-schemas.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE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BC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas: AppAction<\n typeof SnowflakeShowSchemasInput,\n typeof SnowflakeShowSchemasOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC/I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACvI,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;CACxO,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-schemas.d.ts
@@ -18,19 +20,7 @@ declare const SnowflakeShowSchemasOutput: z.ZodObject<{
18
20
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
19
21
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
22
  }, z.core.$loose>;
21
- declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- role?: string | undefined;
23
- limit?: number | undefined;
24
- terse?: boolean | undefined;
25
- history?: boolean | undefined;
26
- timeout?: number | undefined;
27
- database?: string | undefined;
28
- in_scope?: string | undefined;
29
- from_name?: string | undefined;
30
- warehouse?: string | undefined;
31
- starts_with?: string | undefined;
32
- like_pattern?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const snowflakeShowSchemas: AppAction<typeof SnowflakeShowSchemasInput, typeof SnowflakeShowSchemasOutput, typeof snowflake.credential>;
34
24
  //#endregion
35
25
  export { snowflakeShowSchemas };
36
26
  //# sourceMappingURL=show-schemas.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflake } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-schemas.d.ts
@@ -18,19 +20,7 @@ declare const SnowflakeShowSchemasOutput: z.ZodObject<{
18
20
  data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
19
21
  columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
22
  }, z.core.$loose>;
21
- declare const snowflakeShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- role?: string | undefined;
23
- limit?: number | undefined;
24
- terse?: boolean | undefined;
25
- history?: boolean | undefined;
26
- timeout?: number | undefined;
27
- database?: string | undefined;
28
- in_scope?: string | undefined;
29
- from_name?: string | undefined;
30
- warehouse?: string | undefined;
31
- starts_with?: string | undefined;
32
- like_pattern?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const snowflakeShowSchemas: AppAction<typeof SnowflakeShowSchemasInput, typeof SnowflakeShowSchemasOutput, typeof snowflake.credential>;
34
24
  //#endregion
35
25
  export { snowflakeShowSchemas };
36
26
  //# sourceMappingURL=show-schemas.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const snowflakeShowSchemas = action("SNOWFLAKE_SHOW_SCHEMAS", {
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC/I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;EACxO,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeShowSchemasInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped schemas that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from schemas whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by schemas whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowSchemasOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowSchemas: AppAction<\n typeof SnowflakeShowSchemasInput,\n typeof SnowflakeShowSchemasOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_SCHEMAS\", {\n slug: \"snowflake-show-schemas\",\n name: \"Show Schemas\",\n description: \"Lists all schemas for which you have access privileges. Shows schema metadata including name, creation date, owner, database, retention time, and more. Can filter results and include dropped schemas within Time Travel retention period.\",\n input: SnowflakeShowSchemasInput,\n output: SnowflakeShowSchemasOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,C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