@keystrokehq/snowflake 0.1.0 → 0.1.3

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 (131) 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 +6 -6
  4. package/dist/actions/cancel-statement-execution.cjs.map +1 -1
  5. package/dist/actions/cancel-statement-execution.d.cts +15 -3
  6. package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
  7. package/dist/actions/cancel-statement-execution.d.mts +15 -3
  8. package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
  9. package/dist/actions/cancel-statement-execution.mjs +6 -6
  10. package/dist/actions/cancel-statement-execution.mjs.map +1 -1
  11. package/dist/actions/check-statement-status.cjs +15 -15
  12. package/dist/actions/check-statement-status.cjs.map +1 -1
  13. package/dist/actions/check-statement-status.d.cts +41 -3
  14. package/dist/actions/check-statement-status.d.cts.map +1 -1
  15. package/dist/actions/check-statement-status.d.mts +41 -3
  16. package/dist/actions/check-statement-status.d.mts.map +1 -1
  17. package/dist/actions/check-statement-status.mjs +15 -15
  18. package/dist/actions/check-statement-status.mjs.map +1 -1
  19. package/dist/actions/drop-warehouse.cjs +1 -1
  20. package/dist/actions/drop-warehouse.cjs.map +1 -1
  21. package/dist/actions/drop-warehouse.d.cts +14 -3
  22. package/dist/actions/drop-warehouse.d.cts.map +1 -1
  23. package/dist/actions/drop-warehouse.d.mts +14 -3
  24. package/dist/actions/drop-warehouse.d.mts.map +1 -1
  25. package/dist/actions/drop-warehouse.mjs +1 -1
  26. package/dist/actions/drop-warehouse.mjs.map +1 -1
  27. package/dist/actions/execute-sql.cjs +15 -15
  28. package/dist/actions/execute-sql.cjs.map +1 -1
  29. package/dist/actions/execute-sql.d.cts +52 -3
  30. package/dist/actions/execute-sql.d.cts.map +1 -1
  31. package/dist/actions/execute-sql.d.mts +52 -3
  32. package/dist/actions/execute-sql.d.mts.map +1 -1
  33. package/dist/actions/execute-sql.mjs +15 -15
  34. package/dist/actions/execute-sql.mjs.map +1 -1
  35. package/dist/actions/fetch-catalog-integration.cjs +2 -2
  36. package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
  37. package/dist/actions/fetch-catalog-integration.d.cts +18 -3
  38. package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
  39. package/dist/actions/fetch-catalog-integration.d.mts +18 -3
  40. package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
  41. package/dist/actions/fetch-catalog-integration.mjs +2 -2
  42. package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
  43. package/dist/actions/get-active-scheduled-maintenances.cjs +26 -26
  44. package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
  45. package/dist/actions/get-active-scheduled-maintenances.d.cts +35 -3
  46. package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
  47. package/dist/actions/get-active-scheduled-maintenances.d.mts +35 -3
  48. package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
  49. package/dist/actions/get-active-scheduled-maintenances.mjs +26 -26
  50. package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
  51. package/dist/actions/get-all-scheduled-maintenances.cjs +29 -29
  52. package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
  53. package/dist/actions/get-all-scheduled-maintenances.d.cts +44 -3
  54. package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
  55. package/dist/actions/get-all-scheduled-maintenances.d.mts +44 -3
  56. package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
  57. package/dist/actions/get-all-scheduled-maintenances.mjs +29 -29
  58. package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
  59. package/dist/actions/get-component-status.cjs +17 -17
  60. package/dist/actions/get-component-status.cjs.map +1 -1
  61. package/dist/actions/get-component-status.d.cts +29 -3
  62. package/dist/actions/get-component-status.d.cts.map +1 -1
  63. package/dist/actions/get-component-status.d.mts +29 -3
  64. package/dist/actions/get-component-status.d.mts.map +1 -1
  65. package/dist/actions/get-component-status.mjs +17 -17
  66. package/dist/actions/get-component-status.mjs.map +1 -1
  67. package/dist/actions/get-status-rollup.cjs +10 -10
  68. package/dist/actions/get-status-rollup.cjs.map +1 -1
  69. package/dist/actions/get-status-rollup.d.cts +15 -3
  70. package/dist/actions/get-status-rollup.d.cts.map +1 -1
  71. package/dist/actions/get-status-rollup.d.mts +15 -3
  72. package/dist/actions/get-status-rollup.d.mts.map +1 -1
  73. package/dist/actions/get-status-rollup.mjs +10 -10
  74. package/dist/actions/get-status-rollup.mjs.map +1 -1
  75. package/dist/actions/get-status-summary.cjs +7 -7
  76. package/dist/actions/get-status-summary.cjs.map +1 -1
  77. package/dist/actions/get-status-summary.d.cts +75 -3
  78. package/dist/actions/get-status-summary.d.cts.map +1 -1
  79. package/dist/actions/get-status-summary.d.mts +75 -3
  80. package/dist/actions/get-status-summary.d.mts.map +1 -1
  81. package/dist/actions/get-status-summary.mjs +7 -7
  82. package/dist/actions/get-status-summary.mjs.map +1 -1
  83. package/dist/actions/get-unresolved-incidents.cjs +24 -24
  84. package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
  85. package/dist/actions/get-unresolved-incidents.d.cts +32 -3
  86. package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
  87. package/dist/actions/get-unresolved-incidents.d.mts +32 -3
  88. package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
  89. package/dist/actions/get-unresolved-incidents.mjs +24 -24
  90. package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
  91. package/dist/actions/get-upcoming-scheduled-maintenances.cjs +26 -26
  92. package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
  93. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +34 -3
  94. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
  95. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +34 -3
  96. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
  97. package/dist/actions/get-upcoming-scheduled-maintenances.mjs +26 -26
  98. package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
  99. package/dist/actions/show-databases.cjs +1 -1
  100. package/dist/actions/show-databases.cjs.map +1 -1
  101. package/dist/actions/show-databases.d.cts +26 -3
  102. package/dist/actions/show-databases.d.cts.map +1 -1
  103. package/dist/actions/show-databases.d.mts +26 -3
  104. package/dist/actions/show-databases.d.mts.map +1 -1
  105. package/dist/actions/show-databases.mjs +1 -1
  106. package/dist/actions/show-databases.mjs.map +1 -1
  107. package/dist/actions/show-schemas.cjs +1 -1
  108. package/dist/actions/show-schemas.cjs.map +1 -1
  109. package/dist/actions/show-schemas.d.cts +30 -3
  110. package/dist/actions/show-schemas.d.cts.map +1 -1
  111. package/dist/actions/show-schemas.d.mts +30 -3
  112. package/dist/actions/show-schemas.d.mts.map +1 -1
  113. package/dist/actions/show-schemas.mjs +1 -1
  114. package/dist/actions/show-schemas.mjs.map +1 -1
  115. package/dist/actions/show-tables.cjs +1 -1
  116. package/dist/actions/show-tables.cjs.map +1 -1
  117. package/dist/actions/show-tables.d.cts +32 -3
  118. package/dist/actions/show-tables.d.cts.map +1 -1
  119. package/dist/actions/show-tables.d.mts +32 -3
  120. package/dist/actions/show-tables.d.mts.map +1 -1
  121. package/dist/actions/show-tables.mjs +1 -1
  122. package/dist/actions/show-tables.mjs.map +1 -1
  123. package/dist/actions/validate-credential.cjs +2 -2
  124. package/dist/actions/validate-credential.cjs.map +1 -1
  125. package/dist/actions/validate-credential.d.cts +7 -3
  126. package/dist/actions/validate-credential.d.cts.map +1 -1
  127. package/dist/actions/validate-credential.d.mts +7 -3
  128. package/dist/actions/validate-credential.d.mts.map +1 -1
  129. package/dist/actions/validate-credential.mjs +2 -2
  130. package/dist/actions/validate-credential.mjs.map +1 -1
  131. package/package.json +2 -2
@@ -1,9 +1,81 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-status-summary.d.ts
4
- declare const SnowflakeGetStatusSummaryInput: z.ZodTypeAny;
5
- declare const SnowflakeGetStatusSummaryOutput: z.ZodTypeAny;
6
- declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeGetStatusSummaryInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
6
+ page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>;
13
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ indicator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ incidents: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ impact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ shortlink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ incident_updates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>>>>>;
37
+ }, z.core.$loose>>>>>;
38
+ components: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
39
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ group: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ showcase: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
48
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ only_show_if_degraded: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ }, z.core.$loose>>>>>;
54
+ scheduled_maintenances: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
55
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ impact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ shortlink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ incident_updates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
68
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ }, z.core.$loose>>>>>;
76
+ }, z.core.$loose>>>>>;
77
+ }, z.core.$loose>;
78
+ declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
79
  //#endregion
8
80
  export { snowflakeGetStatusSummary };
9
81
  //# sourceMappingURL=get-status-summary.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-status-summary.d.cts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAyB;AAAA,cAiE3D,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-status-summary.d.cts","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,9 +1,81 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-status-summary.d.ts
4
- declare const SnowflakeGetStatusSummaryInput: z.ZodTypeAny;
5
- declare const SnowflakeGetStatusSummaryOutput: z.ZodTypeAny;
6
- declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeGetStatusSummaryInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeGetStatusSummaryOutput: z.ZodObject<{
6
+ page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>>;
13
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ indicator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ incidents: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
18
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ impact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ shortlink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ incident_updates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>>>>>;
37
+ }, z.core.$loose>>>>>;
38
+ components: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
39
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ group: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ showcase: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
+ components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
48
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ only_show_if_degraded: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ }, z.core.$loose>>>>>;
54
+ scheduled_maintenances: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
55
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ impact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ shortlink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ incident_updates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
68
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ display_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ }, z.core.$loose>>>>>;
76
+ }, z.core.$loose>>>>>;
77
+ }, z.core.$loose>;
78
+ declare const snowflakeGetStatusSummary: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
79
  //#endregion
8
80
  export { snowflakeGetStatusSummary };
9
81
  //# 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,EAAgC,CAAA,CAAE,UAAyB;AAAA,cAiE3D,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-status-summary.d.mts","names":[],"sources":["../../src/actions/get-status-summary.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -8,11 +8,11 @@ const SnowflakeGetStatusSummary_PageSchema = z.object({
8
8
  name: z.string().describe("The name of the page.").nullable().optional(),
9
9
  time_zone: z.string().describe("The time zone of the page.").nullable().optional(),
10
10
  updated_at: z.string().describe("The timestamp of the last update.").nullable().optional()
11
- });
11
+ }).passthrough();
12
12
  const SnowflakeGetStatusSummary_StatusSchema = z.object({
13
13
  indicator: z.string().describe("The indicator of the status.").nullable().optional(),
14
14
  description: z.string().describe("The description of the status.").nullable().optional()
15
- });
15
+ }).passthrough();
16
16
  const SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({
17
17
  id: z.string().describe("The ID of the incident update.").nullable().optional(),
18
18
  body: z.string().describe("The body of the incident update.").nullable().optional(),
@@ -21,7 +21,7 @@ const SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({
21
21
  display_at: z.string().describe("The timestamp to display the incident update.").nullable().optional(),
22
22
  updated_at: z.string().describe("The timestamp of the last update.").nullable().optional(),
23
23
  incident_id: z.string().describe("The ID of the incident.").nullable().optional()
24
- });
24
+ }).passthrough();
25
25
  const SnowflakeGetStatusSummary_IncidentSchema = z.object({
26
26
  id: z.string().describe("The ID of the incident.").nullable().optional(),
27
27
  name: z.string().describe("The name of the incident.").nullable().optional(),
@@ -34,7 +34,7 @@ const SnowflakeGetStatusSummary_IncidentSchema = z.object({
34
34
  resolved_at: z.string().describe("The timestamp of the incident resolution.").nullable().optional(),
35
35
  monitoring_at: z.string().describe("The timestamp of the monitoring start.").nullable().optional(),
36
36
  incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe("A list of incident updates.").nullable().optional()
37
- });
37
+ }).passthrough();
38
38
  const SnowflakeGetStatusSummary_ComponentSchema = z.object({
39
39
  id: z.string().describe("The ID of the component.").nullable().optional(),
40
40
  name: z.string().describe("The name of the component.").nullable().optional(),
@@ -50,7 +50,7 @@ const SnowflakeGetStatusSummary_ComponentSchema = z.object({
50
50
  updated_at: z.string().describe("The timestamp of the last update.").nullable().optional(),
51
51
  description: z.string().describe("The description of the component.").nullable().optional(),
52
52
  only_show_if_degraded: z.boolean().describe("Whether to only show this component if it's degraded.").nullable().optional()
53
- });
53
+ }).passthrough();
54
54
  const SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({
55
55
  id: z.string().describe("The ID of the scheduled maintenance.").nullable().optional(),
56
56
  name: z.string().describe("The name of the scheduled maintenance.").nullable().optional(),
@@ -65,7 +65,7 @@ const SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({
65
65
  scheduled_for: z.string().describe("The timestamp of the scheduled maintenance start.").nullable().optional(),
66
66
  scheduled_until: z.string().describe("The timestamp of the scheduled maintenance end.").nullable().optional(),
67
67
  incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe("A list of incident updates.").nullable().optional()
68
- });
68
+ }).passthrough();
69
69
  const snowflakeGetStatusSummary = action("SNOWFLAKE_GET_STATUS_SUMMARY", {
70
70
  slug: "snowflake-get-status-summary",
71
71
  name: "Get Status Summary",
@@ -77,7 +77,7 @@ const snowflakeGetStatusSummary = action("SNOWFLAKE_GET_STATUS_SUMMARY", {
77
77
  incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe("A list of incidents.").nullable().optional(),
78
78
  components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe("A list of components.").nullable().optional(),
79
79
  scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe("A list of scheduled maintenances.").nullable().optional()
80
- })
80
+ }).passthrough()
81
81
  });
82
82
  //#endregion
83
83
  export { snowflakeGetStatusSummary };
@@ -1 +1 @@
1
- {"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusSummaryInput: z.ZodTypeAny = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_StatusSchema: z.ZodTypeAny = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_IncidentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_ComponentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n});\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n});\nexport const SnowflakeGetStatusSummaryOutput: z.ZodTypeAny = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n});\n\nexport const snowflakeGetStatusSummary = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC;AACvE,MAAM,uCAAqD,EAAE,OAAO;CAClE,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;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,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,EAAE,MAAM,oDAAoD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-status-summary.mjs","names":[],"sources":["../../src/actions/get-status-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetStatusSummaryInput = z.object({});\nconst SnowflakeGetStatusSummary_PageSchema = z.object({\n id: z.string().describe(\"The ID of the page.\").nullable().optional(),\n url: z.string().describe(\"The URL of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n time_zone: z.string().describe(\"The time zone of the page.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_StatusSchema = z.object({\n indicator: z.string().describe(\"The indicator of the status.\").nullable().optional(),\n description: z.string().describe(\"The description of the status.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable().optional(),\n body: z.string().describe(\"The body of the incident update.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident update.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident update creation.\").nullable().optional(),\n display_at: z.string().describe(\"The timestamp to display the incident update.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable().optional(),\n name: z.string().describe(\"The name of the incident.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the incident.\").nullable().optional(),\n status: z.string().describe(\"The status of the incident.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the incident belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the incident.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the incident creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the incident resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ComponentSchema = z.object({\n id: z.string().describe(\"The ID of the component.\").nullable().optional(),\n name: z.string().describe(\"The name of the component.\").nullable().optional(),\n group: z.boolean().describe(\"Whether this component is a group containing other components.\").nullable().optional(),\n status: z.string().describe(\"The status of the component.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the component belongs to.\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group this component belongs to.\").nullable().optional(),\n position: z.number().int().describe(\"The position of the component.\").nullable().optional(),\n showcase: z.boolean().describe(\"Whether the component is showcased on the status page.\").nullable().optional(),\n components: z.array(z.string()).describe(\"List of component IDs that belong to this group (if this is a group component).\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the component creation.\").nullable().optional(),\n start_date: z.string().describe(\"The start date of the component.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n description: z.string().describe(\"The description of the component.\").nullable().optional(),\n only_show_if_degraded: z.boolean().describe(\"Whether to only show this component if it's degraded.\").nullable().optional(),\n}).passthrough();\nconst SnowflakeGetStatusSummary_ScheduledMaintenanceSchema = z.object({\n id: z.string().describe(\"The ID of the scheduled maintenance.\").nullable().optional(),\n name: z.string().describe(\"The name of the scheduled maintenance.\").nullable().optional(),\n impact: z.string().describe(\"The impact of the scheduled maintenance.\").nullable().optional(),\n status: z.string().describe(\"The status of the scheduled maintenance.\").nullable().optional(),\n page_id: z.string().describe(\"The ID of the page the scheduled maintenance belongs to.\").nullable().optional(),\n shortlink: z.string().describe(\"The shortlink of the scheduled maintenance.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp of the scheduled maintenance creation.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp of the last update.\").nullable().optional(),\n resolved_at: z.string().describe(\"The timestamp of the scheduled maintenance resolution.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp of the monitoring start.\").nullable().optional(),\n scheduled_for: z.string().describe(\"The timestamp of the scheduled maintenance start.\").nullable().optional(),\n scheduled_until: z.string().describe(\"The timestamp of the scheduled maintenance end.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetStatusSummary_IncidentUpdateSchema).default([]).describe(\"A list of incident updates.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeGetStatusSummaryOutput = z.object({\n page: SnowflakeGetStatusSummary_PageSchema.nullable().optional(),\n status: SnowflakeGetStatusSummary_StatusSchema.nullable().optional(),\n incidents: z.array(SnowflakeGetStatusSummary_IncidentSchema).default([]).describe(\"A list of incidents.\").nullable().optional(),\n components: z.array(SnowflakeGetStatusSummary_ComponentSchema).default([]).describe(\"A list of components.\").nullable().optional(),\n scheduled_maintenances: z.array(SnowflakeGetStatusSummary_ScheduledMaintenanceSchema).default([]).describe(\"A list of scheduled maintenances.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeGetStatusSummary = action(\"SNOWFLAKE_GET_STATUS_SUMMARY\", {\n slug: \"snowflake-get-status-summary\",\n name: \"Get Status Summary\",\n description: \"Retrieves the current status summary from Snowflake's public status page (status.snowflake.com). Returns overall system status, operational status of all regional components (AWS, Azure, GCP regions), any unresolved incidents, and upcoming or in-progress scheduled maintenances. This is a public endpoint that provides global Snowflake service status, not account-specific information.\",\n input: SnowflakeGetStatusSummaryInput,\n output: SnowflakeGetStatusSummaryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,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CAA8C,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"}
@@ -3,38 +3,38 @@ let zod = require("zod");
3
3
  //#region src/actions/get-unresolved-incidents.ts
4
4
  const SnowflakeGetUnresolvedIncidentsInput = zod.z.object({});
5
5
  const SnowflakeGetUnresolvedIncidents_PageInfoSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the Snowflake status page."),
7
- url: zod.z.string().describe("The URL of the status page."),
8
- name: zod.z.string().describe("The name of the service (Snowflake)."),
9
- time_zone: zod.z.string().describe("The timezone used for the status page (e.g., Etc/UTC)."),
10
- updated_at: zod.z.string().describe("The timestamp when the status page was last updated.")
11
- });
6
+ id: zod.z.string().describe("The unique identifier of the Snowflake status page.").nullable(),
7
+ url: zod.z.string().describe("The URL of the status page.").nullable(),
8
+ name: zod.z.string().describe("The name of the service (Snowflake).").nullable(),
9
+ time_zone: zod.z.string().describe("The timezone used for the status page (e.g., Etc/UTC).").nullable(),
10
+ updated_at: zod.z.string().describe("The timestamp when the status page was last updated.").nullable()
11
+ }).passthrough();
12
12
  const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = zod.z.object({
13
- id: zod.z.string().describe("The ID of the incident update."),
14
- body: zod.z.string().describe("The body of the incident update."),
15
- status: zod.z.string().describe("The status of the incident update."),
16
- created_at: zod.z.string().describe("The timestamp when the incident update was created."),
17
- display_at: zod.z.string().describe("The timestamp when the incident update should be displayed."),
18
- updated_at: zod.z.string().describe("The timestamp when the incident update was last updated."),
19
- incident_id: zod.z.string().describe("The ID of the incident.")
20
- });
13
+ id: zod.z.string().describe("The ID of the incident update.").nullable(),
14
+ body: zod.z.string().describe("The body of the incident update.").nullable(),
15
+ status: zod.z.string().describe("The status of the incident update.").nullable(),
16
+ created_at: zod.z.string().describe("The timestamp when the incident update was created.").nullable(),
17
+ display_at: zod.z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
18
+ updated_at: zod.z.string().describe("The timestamp when the incident update was last updated.").nullable(),
19
+ incident_id: zod.z.string().describe("The ID of the incident.").nullable()
20
+ }).passthrough();
21
21
  const SnowflakeGetUnresolvedIncidents_IncidentSchema = zod.z.object({
22
- id: zod.z.string().describe("The ID of the incident."),
23
- name: zod.z.string().describe("The name of the incident."),
24
- impact: zod.z.string().describe("The impact of the incident."),
25
- status: zod.z.string().describe("The status of the incident."),
26
- page_id: zod.z.string().describe("The ID of the page."),
27
- shortlink: zod.z.string().describe("The shortlink for the incident."),
28
- created_at: zod.z.string().describe("The timestamp when the incident was created."),
29
- updated_at: zod.z.string().describe("The timestamp when the incident was last updated."),
22
+ id: zod.z.string().describe("The ID of the incident.").nullable(),
23
+ name: zod.z.string().describe("The name of the incident.").nullable(),
24
+ impact: zod.z.string().describe("The impact of the incident.").nullable(),
25
+ status: zod.z.string().describe("The status of the incident.").nullable(),
26
+ page_id: zod.z.string().describe("The ID of the page.").nullable(),
27
+ shortlink: zod.z.string().describe("The shortlink for the incident.").nullable(),
28
+ created_at: zod.z.string().describe("The timestamp when the incident was created.").nullable(),
29
+ updated_at: zod.z.string().describe("The timestamp when the incident was last updated.").nullable(),
30
30
  resolved_at: zod.z.string().describe("The timestamp when the incident was resolved.").nullable().optional(),
31
31
  monitoring_at: zod.z.string().describe("The timestamp when the incident monitoring started.").nullable().optional(),
32
32
  incident_updates: zod.z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe("A list of incident updates.")
33
- });
33
+ }).passthrough();
34
34
  const SnowflakeGetUnresolvedIncidentsOutput = zod.z.object({
35
35
  page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),
36
36
  incidents: zod.z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe("A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.")
37
- });
37
+ }).passthrough();
38
38
  const snowflakeGetUnresolvedIncidents = require_action.action("SNOWFLAKE_GET_UNRESOLVED_INCIDENTS", {
39
39
  slug: "snowflake-get-unresolved-incidents",
40
40
  name: "Get Unresolved Incidents",
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.cjs","names":["z","action"],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput: z.ZodTypeAny = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\"),\n url: z.string().describe(\"The URL of the status page.\"),\n name: z.string().describe(\"The name of the service (Snowflake).\"),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\"),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\"),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident update.\"),\n body: z.string().describe(\"The body of the incident update.\"),\n status: z.string().describe(\"The status of the incident update.\"),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\"),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\"),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\"),\n incident_id: z.string().describe(\"The ID of the incident.\"),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident.\"),\n name: z.string().describe(\"The name of the incident.\"),\n impact: z.string().describe(\"The impact of the incident.\"),\n status: z.string().describe(\"The status of the incident.\"),\n page_id: z.string().describe(\"The ID of the page.\"),\n shortlink: z.string().describe(\"The shortlink for the incident.\"),\n created_at: z.string().describe(\"The timestamp when the incident was created.\"),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\"),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetUnresolvedIncidentsOutput: z.ZodTypeAny = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n});\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n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AWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,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;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAM,+CAA+C,SAAS;CAC9D,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;AACvO,CAAC;AAED,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 { 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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-unresolved-incidents.d.ts
4
- declare const SnowflakeGetUnresolvedIncidentsInput: z.ZodTypeAny;
5
- declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodTypeAny;
6
- declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeGetUnresolvedIncidentsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
6
+ page: z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ url: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ time_zone: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ incidents: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ impact: z.ZodNullable<z.ZodString>;
17
+ status: z.ZodNullable<z.ZodString>;
18
+ page_id: z.ZodNullable<z.ZodString>;
19
+ shortlink: z.ZodNullable<z.ZodString>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ updated_at: z.ZodNullable<z.ZodString>;
22
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ incident_updates: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ body: z.ZodNullable<z.ZodString>;
27
+ status: z.ZodNullable<z.ZodString>;
28
+ created_at: z.ZodNullable<z.ZodString>;
29
+ display_at: z.ZodNullable<z.ZodString>;
30
+ updated_at: z.ZodNullable<z.ZodString>;
31
+ incident_id: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { snowflakeGetUnresolvedIncidents };
9
38
  //# 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,EAAsC,CAAA,CAAE,UAAyB;AAAA,cA8BjE,qCAAA,EAAuC,CAAA,CAAE,UAGpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-unresolved-incidents.d.cts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-unresolved-incidents.d.ts
4
- declare const SnowflakeGetUnresolvedIncidentsInput: z.ZodTypeAny;
5
- declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodTypeAny;
6
- declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SnowflakeGetUnresolvedIncidentsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SnowflakeGetUnresolvedIncidentsOutput: z.ZodObject<{
6
+ page: z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ url: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ time_zone: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ incidents: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ impact: z.ZodNullable<z.ZodString>;
17
+ status: z.ZodNullable<z.ZodString>;
18
+ page_id: z.ZodNullable<z.ZodString>;
19
+ shortlink: z.ZodNullable<z.ZodString>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ updated_at: z.ZodNullable<z.ZodString>;
22
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ monitoring_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ incident_updates: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ body: z.ZodNullable<z.ZodString>;
27
+ status: z.ZodNullable<z.ZodString>;
28
+ created_at: z.ZodNullable<z.ZodString>;
29
+ display_at: z.ZodNullable<z.ZodString>;
30
+ updated_at: z.ZodNullable<z.ZodString>;
31
+ incident_id: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const snowflakeGetUnresolvedIncidents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { snowflakeGetUnresolvedIncidents };
9
38
  //# 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,EAAsC,CAAA,CAAE,UAAyB;AAAA,cA8BjE,qCAAA,EAAuC,CAAA,CAAE,UAGpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-unresolved-incidents.d.mts","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,34 +3,34 @@ import { z } from "zod";
3
3
  //#region src/actions/get-unresolved-incidents.ts
4
4
  const SnowflakeGetUnresolvedIncidentsInput = z.object({});
5
5
  const SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({
6
- id: z.string().describe("The unique identifier of the Snowflake status page."),
7
- url: z.string().describe("The URL of the status page."),
8
- name: z.string().describe("The name of the service (Snowflake)."),
9
- time_zone: z.string().describe("The timezone used for the status page (e.g., Etc/UTC)."),
10
- updated_at: z.string().describe("The timestamp when the status page was last updated.")
11
- });
6
+ id: z.string().describe("The unique identifier of the Snowflake status page.").nullable(),
7
+ url: z.string().describe("The URL of the status page.").nullable(),
8
+ name: z.string().describe("The name of the service (Snowflake).").nullable(),
9
+ time_zone: z.string().describe("The timezone used for the status page (e.g., Etc/UTC).").nullable(),
10
+ updated_at: z.string().describe("The timestamp when the status page was last updated.").nullable()
11
+ }).passthrough();
12
12
  const SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({
13
- id: z.string().describe("The ID of the incident update."),
14
- body: z.string().describe("The body of the incident update."),
15
- status: z.string().describe("The status of the incident update."),
16
- created_at: z.string().describe("The timestamp when the incident update was created."),
17
- display_at: z.string().describe("The timestamp when the incident update should be displayed."),
18
- updated_at: z.string().describe("The timestamp when the incident update was last updated."),
19
- incident_id: z.string().describe("The ID of the incident.")
20
- });
13
+ id: z.string().describe("The ID of the incident update.").nullable(),
14
+ body: z.string().describe("The body of the incident update.").nullable(),
15
+ status: z.string().describe("The status of the incident update.").nullable(),
16
+ created_at: z.string().describe("The timestamp when the incident update was created.").nullable(),
17
+ display_at: z.string().describe("The timestamp when the incident update should be displayed.").nullable(),
18
+ updated_at: z.string().describe("The timestamp when the incident update was last updated.").nullable(),
19
+ incident_id: z.string().describe("The ID of the incident.").nullable()
20
+ }).passthrough();
21
21
  const SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({
22
- id: z.string().describe("The ID of the incident."),
23
- name: z.string().describe("The name of the incident."),
24
- impact: z.string().describe("The impact of the incident."),
25
- status: z.string().describe("The status of the incident."),
26
- page_id: z.string().describe("The ID of the page."),
27
- shortlink: z.string().describe("The shortlink for the incident."),
28
- created_at: z.string().describe("The timestamp when the incident was created."),
29
- updated_at: z.string().describe("The timestamp when the incident was last updated."),
22
+ id: z.string().describe("The ID of the incident.").nullable(),
23
+ name: z.string().describe("The name of the incident.").nullable(),
24
+ impact: z.string().describe("The impact of the incident.").nullable(),
25
+ status: z.string().describe("The status of the incident.").nullable(),
26
+ page_id: z.string().describe("The ID of the page.").nullable(),
27
+ shortlink: z.string().describe("The shortlink for the incident.").nullable(),
28
+ created_at: z.string().describe("The timestamp when the incident was created.").nullable(),
29
+ updated_at: z.string().describe("The timestamp when the incident was last updated.").nullable(),
30
30
  resolved_at: z.string().describe("The timestamp when the incident was resolved.").nullable().optional(),
31
31
  monitoring_at: z.string().describe("The timestamp when the incident monitoring started.").nullable().optional(),
32
32
  incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe("A list of incident updates.")
33
- });
33
+ }).passthrough();
34
34
  const snowflakeGetUnresolvedIncidents = action("SNOWFLAKE_GET_UNRESOLVED_INCIDENTS", {
35
35
  slug: "snowflake-get-unresolved-incidents",
36
36
  name: "Get Unresolved Incidents",
@@ -39,7 +39,7 @@ const snowflakeGetUnresolvedIncidents = action("SNOWFLAKE_GET_UNRESOLVED_INCIDEN
39
39
  output: z.object({
40
40
  page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),
41
41
  incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe("A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.")
42
- })
42
+ }).passthrough()
43
43
  });
44
44
  //#endregion
45
45
  export { snowflakeGetUnresolvedIncidents };
@@ -1 +1 @@
1
- {"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput: z.ZodTypeAny = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\"),\n url: z.string().describe(\"The URL of the status page.\"),\n name: z.string().describe(\"The name of the service (Snowflake).\"),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\"),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\"),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident update.\"),\n body: z.string().describe(\"The body of the incident update.\"),\n status: z.string().describe(\"The status of the incident update.\"),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\"),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\"),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\"),\n incident_id: z.string().describe(\"The ID of the incident.\"),\n});\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the incident.\"),\n name: z.string().describe(\"The name of the incident.\"),\n impact: z.string().describe(\"The impact of the incident.\"),\n status: z.string().describe(\"The status of the incident.\"),\n page_id: z.string().describe(\"The ID of the page.\"),\n shortlink: z.string().describe(\"The shortlink for the incident.\"),\n created_at: z.string().describe(\"The timestamp when the incident was created.\"),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\"),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n});\nexport const SnowflakeGetUnresolvedIncidentsOutput: z.ZodTypeAny = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n});\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,CAAC,CAAC;AAC7E,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC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CACP,QAViE,EAAE,OAAO;EAC1E,MAAM,+CAA+C,SAAS;EAC9D,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yJAAyJ;CACvO,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-unresolved-incidents.mjs","names":[],"sources":["../../src/actions/get-unresolved-incidents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeGetUnresolvedIncidentsInput = z.object({});\nconst SnowflakeGetUnresolvedIncidents_PageInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier of the Snowflake status page.\").nullable(),\n url: z.string().describe(\"The URL of the status page.\").nullable(),\n name: z.string().describe(\"The name of the service (Snowflake).\").nullable(),\n time_zone: z.string().describe(\"The timezone used for the status page (e.g., Etc/UTC).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the status page was last updated.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema = z.object({\n id: z.string().describe(\"The ID of the incident update.\").nullable(),\n body: z.string().describe(\"The body of the incident update.\").nullable(),\n status: z.string().describe(\"The status of the incident update.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident update was created.\").nullable(),\n display_at: z.string().describe(\"The timestamp when the incident update should be displayed.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident update was last updated.\").nullable(),\n incident_id: z.string().describe(\"The ID of the incident.\").nullable(),\n}).passthrough();\nconst SnowflakeGetUnresolvedIncidents_IncidentSchema = z.object({\n id: z.string().describe(\"The ID of the incident.\").nullable(),\n name: z.string().describe(\"The name of the incident.\").nullable(),\n impact: z.string().describe(\"The impact of the incident.\").nullable(),\n status: z.string().describe(\"The status of the incident.\").nullable(),\n page_id: z.string().describe(\"The ID of the page.\").nullable(),\n shortlink: z.string().describe(\"The shortlink for the incident.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the incident was created.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the incident was last updated.\").nullable(),\n resolved_at: z.string().describe(\"The timestamp when the incident was resolved.\").nullable().optional(),\n monitoring_at: z.string().describe(\"The timestamp when the incident monitoring started.\").nullable().optional(),\n incident_updates: z.array(SnowflakeGetUnresolvedIncidents_IncidentUpdateSchema).describe(\"A list of incident updates.\"),\n}).passthrough();\nexport const SnowflakeGetUnresolvedIncidentsOutput = z.object({\n page: SnowflakeGetUnresolvedIncidents_PageInfoSchema.nullable(),\n incidents: z.array(SnowflakeGetUnresolvedIncidents_IncidentSchema).describe(\"A list of unresolved incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents.\"),\n}).passthrough();\n\nexport const snowflakeGetUnresolvedIncidents = action(\"SNOWFLAKE_GET_UNRESOLVED_INCIDENTS\", {\n slug: \"snowflake-get-unresolved-incidents\",\n name: \"Get Unresolved Incidents\",\n description: \"Retrieves a list of any unresolved incidents from the Snowflake status page. This endpoint returns incidents currently in the Investigating, Identified, or Monitoring state. Returns an empty list if there are no active incidents. This is a public status page API that does not require authentication.\",\n input: SnowflakeGetUnresolvedIncidentsInput,\n output: SnowflakeGetUnresolvedIncidentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,CAAC,CAAC;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS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