@onlyflows/servicenow-mcp 2.2.0-dev.5 → 2.2.0

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 (251) hide show
  1. package/.env.example +6 -3
  2. package/CHANGELOG.md +312 -0
  3. package/README.md +504 -101
  4. package/dist/atf-form.d.ts +3 -15
  5. package/dist/atf-form.d.ts.map +1 -1
  6. package/dist/atf-result-cache.d.ts +23 -59
  7. package/dist/atf-result-cache.d.ts.map +1 -1
  8. package/dist/auth.d.ts +1 -0
  9. package/dist/auth.d.ts.map +1 -1
  10. package/dist/auth.js +17 -0
  11. package/dist/auth.js.map +1 -1
  12. package/dist/batch-limits.d.ts +18 -0
  13. package/dist/batch-limits.d.ts.map +1 -0
  14. package/dist/batch-limits.js +21 -0
  15. package/dist/batch-limits.js.map +1 -0
  16. package/dist/bounded-input.d.ts +49 -0
  17. package/dist/bounded-input.d.ts.map +1 -0
  18. package/dist/bounded-input.js +81 -0
  19. package/dist/bounded-input.js.map +1 -0
  20. package/dist/client.d.ts +25 -0
  21. package/dist/client.d.ts.map +1 -1
  22. package/dist/client.js +92 -18
  23. package/dist/client.js.map +1 -1
  24. package/dist/command-resolution.d.ts +53 -0
  25. package/dist/command-resolution.d.ts.map +1 -0
  26. package/dist/command-resolution.js +154 -0
  27. package/dist/command-resolution.js.map +1 -0
  28. package/dist/encoded-query-policy.d.ts +11 -0
  29. package/dist/encoded-query-policy.d.ts.map +1 -1
  30. package/dist/encoded-query-policy.js +10 -1
  31. package/dist/encoded-query-policy.js.map +1 -1
  32. package/dist/field-policy.d.ts +82 -3
  33. package/dist/field-policy.d.ts.map +1 -1
  34. package/dist/field-policy.js +609 -80
  35. package/dist/field-policy.js.map +1 -1
  36. package/dist/html-response.d.ts +34 -0
  37. package/dist/html-response.d.ts.map +1 -0
  38. package/dist/html-response.js +72 -0
  39. package/dist/html-response.js.map +1 -0
  40. package/dist/http-runtime.d.ts.map +1 -1
  41. package/dist/http-runtime.js +8 -0
  42. package/dist/http-runtime.js.map +1 -1
  43. package/dist/incident-journal-policy.d.ts +27 -5
  44. package/dist/incident-journal-policy.d.ts.map +1 -1
  45. package/dist/incident-journal-policy.js +34 -21
  46. package/dist/incident-journal-policy.js.map +1 -1
  47. package/dist/json-shape-limits.d.ts +71 -0
  48. package/dist/json-shape-limits.d.ts.map +1 -0
  49. package/dist/json-shape-limits.js +131 -0
  50. package/dist/json-shape-limits.js.map +1 -0
  51. package/dist/metadata-cache.d.ts +46 -21
  52. package/dist/metadata-cache.d.ts.map +1 -1
  53. package/dist/metadata-cache.js +228 -195
  54. package/dist/metadata-cache.js.map +1 -1
  55. package/dist/policy-card.d.ts +131 -0
  56. package/dist/policy-card.d.ts.map +1 -0
  57. package/dist/policy-card.js +409 -0
  58. package/dist/policy-card.js.map +1 -0
  59. package/dist/profile-admin.d.ts.map +1 -1
  60. package/dist/profile-admin.js +3 -0
  61. package/dist/profile-admin.js.map +1 -1
  62. package/dist/profile-manager.d.ts +17 -3
  63. package/dist/profile-manager.d.ts.map +1 -1
  64. package/dist/profile-manager.js +98 -6
  65. package/dist/profile-manager.js.map +1 -1
  66. package/dist/record-identifier-policy.d.ts +2 -8
  67. package/dist/record-identifier-policy.d.ts.map +1 -1
  68. package/dist/risky-grants.d.ts +25 -0
  69. package/dist/risky-grants.d.ts.map +1 -0
  70. package/dist/risky-grants.js +77 -0
  71. package/dist/risky-grants.js.map +1 -0
  72. package/dist/server.d.ts.map +1 -1
  73. package/dist/server.js +74 -0
  74. package/dist/server.js.map +1 -1
  75. package/dist/setup-prompts.js +1 -0
  76. package/dist/setup-prompts.js.map +1 -1
  77. package/dist/setup.d.ts +8 -1
  78. package/dist/setup.d.ts.map +1 -1
  79. package/dist/setup.js +492 -111
  80. package/dist/setup.js.map +1 -1
  81. package/dist/stdio-runtime.d.ts +15 -0
  82. package/dist/stdio-runtime.d.ts.map +1 -1
  83. package/dist/stdio-runtime.js +60 -0
  84. package/dist/stdio-runtime.js.map +1 -1
  85. package/dist/structured-query.d.ts +100 -115
  86. package/dist/structured-query.d.ts.map +1 -1
  87. package/dist/structured-query.js +132 -16
  88. package/dist/structured-query.js.map +1 -1
  89. package/dist/table-policy.d.ts +10 -4
  90. package/dist/table-policy.d.ts.map +1 -1
  91. package/dist/table-policy.js +1 -1
  92. package/dist/table-policy.js.map +1 -1
  93. package/dist/tool-error.d.ts +18 -0
  94. package/dist/tool-error.d.ts.map +1 -1
  95. package/dist/tool-error.js +69 -0
  96. package/dist/tool-error.js.map +1 -1
  97. package/dist/tool-table-access.d.ts.map +1 -1
  98. package/dist/tool-table-access.js +32 -2
  99. package/dist/tool-table-access.js.map +1 -1
  100. package/dist/tools/aggregate.d.ts +13 -19
  101. package/dist/tools/aggregate.d.ts.map +1 -1
  102. package/dist/tools/aggregate.js +2 -3
  103. package/dist/tools/aggregate.js.map +1 -1
  104. package/dist/tools/all-fields-cap.d.ts.map +1 -1
  105. package/dist/tools/all-fields-cap.js +3 -38
  106. package/dist/tools/all-fields-cap.js.map +1 -1
  107. package/dist/tools/atf-author-module.d.ts +28 -7
  108. package/dist/tools/atf-author-module.d.ts.map +1 -1
  109. package/dist/tools/atf-author-module.js +4 -2
  110. package/dist/tools/atf-author-module.js.map +1 -1
  111. package/dist/tools/atf-contracts.d.ts +135 -829
  112. package/dist/tools/atf-contracts.d.ts.map +1 -1
  113. package/dist/tools/atf-shared.js +2 -2
  114. package/dist/tools/atf-shared.js.map +1 -1
  115. package/dist/tools/atf-step-catalog.d.ts +3 -7
  116. package/dist/tools/atf-step-catalog.d.ts.map +1 -1
  117. package/dist/tools/atf-step-catalog.js +12 -5
  118. package/dist/tools/atf-step-catalog.js.map +1 -1
  119. package/dist/tools/atf.d.ts +8 -24
  120. package/dist/tools/atf.d.ts.map +1 -1
  121. package/dist/tools/atf.js +2 -2
  122. package/dist/tools/atf.js.map +1 -1
  123. package/dist/tools/attach.d.ts +6 -22
  124. package/dist/tools/attach.d.ts.map +1 -1
  125. package/dist/tools/batch.d.ts +18 -71
  126. package/dist/tools/batch.d.ts.map +1 -1
  127. package/dist/tools/batch.js +544 -96
  128. package/dist/tools/batch.js.map +1 -1
  129. package/dist/tools/catalog.d.ts +2 -2
  130. package/dist/tools/catalog.d.ts.map +1 -1
  131. package/dist/tools/catalog.js +7 -1
  132. package/dist/tools/catalog.js.map +1 -1
  133. package/dist/tools/codesearch.d.ts +1 -13
  134. package/dist/tools/codesearch.d.ts.map +1 -1
  135. package/dist/tools/create-module.d.ts +9 -14
  136. package/dist/tools/create-module.d.ts.map +1 -1
  137. package/dist/tools/create-module.js +4 -8
  138. package/dist/tools/create-module.js.map +1 -1
  139. package/dist/tools/delete.d.ts +1 -9
  140. package/dist/tools/delete.d.ts.map +1 -1
  141. package/dist/tools/delete.js +2 -3
  142. package/dist/tools/delete.js.map +1 -1
  143. package/dist/tools/discover.d.ts +6 -14
  144. package/dist/tools/discover.d.ts.map +1 -1
  145. package/dist/tools/flow-view-contracts.d.ts +1023 -0
  146. package/dist/tools/flow-view-contracts.d.ts.map +1 -0
  147. package/dist/tools/flow-view-contracts.js +570 -0
  148. package/dist/tools/flow-view-contracts.js.map +1 -0
  149. package/dist/tools/flow-view-graph.d.ts +86 -0
  150. package/dist/tools/flow-view-graph.d.ts.map +1 -0
  151. package/dist/tools/flow-view-graph.js +993 -0
  152. package/dist/tools/flow-view-graph.js.map +1 -0
  153. package/dist/tools/flow-view-gzip.d.ts +52 -0
  154. package/dist/tools/flow-view-gzip.d.ts.map +1 -0
  155. package/dist/tools/flow-view-gzip.js +179 -0
  156. package/dist/tools/flow-view-gzip.js.map +1 -0
  157. package/dist/tools/flow-view-mermaid.d.ts +37 -0
  158. package/dist/tools/flow-view-mermaid.d.ts.map +1 -0
  159. package/dist/tools/flow-view-mermaid.js +337 -0
  160. package/dist/tools/flow-view-mermaid.js.map +1 -0
  161. package/dist/tools/flow-view-module.d.ts +61 -0
  162. package/dist/tools/flow-view-module.d.ts.map +1 -0
  163. package/dist/tools/flow-view-module.js +378 -0
  164. package/dist/tools/flow-view-module.js.map +1 -0
  165. package/dist/tools/flow-view-policy.d.ts +106 -0
  166. package/dist/tools/flow-view-policy.d.ts.map +1 -0
  167. package/dist/tools/flow-view-policy.js +461 -0
  168. package/dist/tools/flow-view-policy.js.map +1 -0
  169. package/dist/tools/flow-view-renderers.d.ts +68 -0
  170. package/dist/tools/flow-view-renderers.d.ts.map +1 -0
  171. package/dist/tools/flow-view-renderers.js +513 -0
  172. package/dist/tools/flow-view-renderers.js.map +1 -0
  173. package/dist/tools/flow-view-table.d.ts +115 -0
  174. package/dist/tools/flow-view-table.d.ts.map +1 -0
  175. package/dist/tools/flow-view-table.js +1002 -0
  176. package/dist/tools/flow-view-table.js.map +1 -0
  177. package/dist/tools/get-module.d.ts +36 -42
  178. package/dist/tools/get-module.d.ts.map +1 -1
  179. package/dist/tools/health.d.ts +9 -6
  180. package/dist/tools/health.d.ts.map +1 -1
  181. package/dist/tools/incident-journal-module.d.ts +8 -7
  182. package/dist/tools/incident-journal-module.d.ts.map +1 -1
  183. package/dist/tools/index.d.ts +4 -4
  184. package/dist/tools/index.d.ts.map +1 -1
  185. package/dist/tools/index.js +43 -6
  186. package/dist/tools/index.js.map +1 -1
  187. package/dist/tools/markdown.d.ts +27 -0
  188. package/dist/tools/markdown.d.ts.map +1 -1
  189. package/dist/tools/markdown.js +104 -1
  190. package/dist/tools/markdown.js.map +1 -1
  191. package/dist/tools/nl.d.ts +1 -11
  192. package/dist/tools/nl.d.ts.map +1 -1
  193. package/dist/tools/profile.d.ts +1 -1
  194. package/dist/tools/profile.d.ts.map +1 -1
  195. package/dist/tools/profile.js +19 -1
  196. package/dist/tools/profile.js.map +1 -1
  197. package/dist/tools/query-module.d.ts +59 -71
  198. package/dist/tools/query-module.d.ts.map +1 -1
  199. package/dist/tools/query-module.js +2 -2
  200. package/dist/tools/query-module.js.map +1 -1
  201. package/dist/tools/record-write-shared.d.ts.map +1 -1
  202. package/dist/tools/record-write-shared.js +19 -2
  203. package/dist/tools/record-write-shared.js.map +1 -1
  204. package/dist/tools/relationships.d.ts +6 -22
  205. package/dist/tools/relationships.d.ts.map +1 -1
  206. package/dist/tools/result-envelope.d.ts +2255 -1357
  207. package/dist/tools/result-envelope.d.ts.map +1 -1
  208. package/dist/tools/result-envelope.js +24 -2
  209. package/dist/tools/result-envelope.js.map +1 -1
  210. package/dist/tools/schema-module.d.ts +36 -21
  211. package/dist/tools/schema-module.d.ts.map +1 -1
  212. package/dist/tools/schema-module.js +106 -65
  213. package/dist/tools/schema-module.js.map +1 -1
  214. package/dist/tools/script.d.ts +1 -11
  215. package/dist/tools/script.d.ts.map +1 -1
  216. package/dist/tools/syslog.d.ts +11 -18
  217. package/dist/tools/syslog.d.ts.map +1 -1
  218. package/dist/tools/syslog.js +2 -3
  219. package/dist/tools/syslog.js.map +1 -1
  220. package/dist/tools/table-hierarchy.d.ts +35 -0
  221. package/dist/tools/table-hierarchy.d.ts.map +1 -0
  222. package/dist/tools/table-hierarchy.js +74 -0
  223. package/dist/tools/table-hierarchy.js.map +1 -0
  224. package/dist/tools/tool-module.d.ts +40 -15
  225. package/dist/tools/tool-module.d.ts.map +1 -1
  226. package/dist/tools/tool-module.js +755 -205
  227. package/dist/tools/tool-module.js.map +1 -1
  228. package/dist/tools/update-module.d.ts +11 -17
  229. package/dist/tools/update-module.d.ts.map +1 -1
  230. package/dist/tools/update-module.js +10 -12
  231. package/dist/tools/update-module.js.map +1 -1
  232. package/dist/version.d.ts +1 -1
  233. package/dist/version.d.ts.map +1 -1
  234. package/dist/version.js +1 -1
  235. package/dist/version.js.map +1 -1
  236. package/dist/write-value-policy.d.ts +20 -12
  237. package/dist/write-value-policy.d.ts.map +1 -1
  238. package/dist/write-value-policy.js +179 -67
  239. package/dist/write-value-policy.js.map +1 -1
  240. package/docs/ADDING-TOOLS.md +22 -13
  241. package/docs/CLIENT-SETUP.md +110 -52
  242. package/docs/CROSS-CLIENT-RELEASE-MATRIX.md +2 -2
  243. package/docs/FLOW-VIEW.md +214 -0
  244. package/docs/PRODUCTION-SECURITY.md +154 -25
  245. package/docs/RELEASE-VALIDATION.md +2 -2
  246. package/docs/TESTING-OAUTH.md +1 -1
  247. package/docs/V2-MIGRATION.md +404 -30
  248. package/package.json +21 -6
  249. package/scripts/release-validate.mjs +56 -0
  250. package/server.json +22 -0
  251. package/tools/inspector/package-lock.json +163 -201
@@ -2,36 +2,20 @@ import { z } from "zod";
2
2
  export declare const atfComparisonSchema: z.ZodObject<{
3
3
  previous_run: z.ZodString;
4
4
  current_run: z.ZodString;
5
- new_failures: z.ZodArray<z.ZodString, "many">;
6
- fixed: z.ZodArray<z.ZodString, "many">;
7
- still_failing: z.ZodArray<z.ZodString, "many">;
8
- flaky: z.ZodArray<z.ZodString, "many">;
9
- status_changed: z.ZodArray<z.ZodString, "many">;
5
+ new_failures: z.ZodArray<z.ZodString>;
6
+ fixed: z.ZodArray<z.ZodString>;
7
+ still_failing: z.ZodArray<z.ZodString>;
8
+ flaky: z.ZodArray<z.ZodString>;
9
+ status_changed: z.ZodArray<z.ZodString>;
10
10
  duration_change_ms: z.ZodNumber;
11
11
  duration_regression: z.ZodBoolean;
12
- }, "strict", z.ZodTypeAny, {
13
- fixed: string[];
14
- previous_run: string;
15
- current_run: string;
16
- new_failures: string[];
17
- still_failing: string[];
18
- flaky: string[];
19
- status_changed: string[];
20
- duration_change_ms: number;
21
- duration_regression: boolean;
22
- }, {
23
- fixed: string[];
24
- previous_run: string;
25
- current_run: string;
26
- new_failures: string[];
27
- still_failing: string[];
28
- flaky: string[];
29
- status_changed: string[];
30
- duration_change_ms: number;
31
- duration_regression: boolean;
32
- }>;
12
+ }, z.core.$strict>;
33
13
  export declare const atfExecutionResultSchema: z.ZodObject<{
34
- outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
14
+ outcome: z.ZodEnum<{
15
+ running: "running";
16
+ completed: "completed";
17
+ unavailable: "unavailable";
18
+ }>;
35
19
  progress_id: z.ZodOptional<z.ZodString>;
36
20
  result_id: z.ZodOptional<z.ZodString>;
37
21
  suite_id: z.ZodOptional<z.ZodString>;
@@ -41,74 +25,38 @@ export declare const atfExecutionResultSchema: z.ZodObject<{
41
25
  suiteId: z.ZodString;
42
26
  startedAt: z.ZodString;
43
27
  finishedAt: z.ZodOptional<z.ZodString>;
44
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
28
+ status: z.ZodEnum<{
29
+ error: "error";
30
+ success: "success";
31
+ pending: "pending";
32
+ running: "running";
33
+ failure: "failure";
34
+ skipped: "skipped";
35
+ canceled: "canceled";
36
+ success_with_warnings: "success_with_warnings";
37
+ }>;
45
38
  durationMs: z.ZodNumber;
46
39
  counts: z.ZodObject<{
47
40
  passed: z.ZodNumber;
48
41
  failed: z.ZodNumber;
49
42
  errors: z.ZodNumber;
50
43
  skipped: z.ZodNumber;
51
- }, "strict", z.ZodTypeAny, {
52
- skipped: number;
53
- passed: number;
54
- failed: number;
55
- errors: number;
56
- }, {
57
- skipped: number;
58
- passed: number;
59
- failed: number;
60
- errors: number;
61
- }>;
44
+ }, z.core.$strict>;
62
45
  tests: z.ZodArray<z.ZodObject<{
63
46
  testId: z.ZodString;
64
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
47
+ status: z.ZodEnum<{
48
+ error: "error";
49
+ success: "success";
50
+ pending: "pending";
51
+ running: "running";
52
+ failure: "failure";
53
+ skipped: "skipped";
54
+ canceled: "canceled";
55
+ success_with_warnings: "success_with_warnings";
56
+ }>;
65
57
  firstFailure: z.ZodOptional<z.ZodString>;
66
- }, "strict", z.ZodTypeAny, {
67
- testId: string;
68
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
69
- firstFailure?: string | undefined;
70
- }, {
71
- testId: string;
72
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
73
- firstFailure?: string | undefined;
74
- }>, "many">;
75
- }, "strict", z.ZodTypeAny, {
76
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
77
- runId: string;
78
- suiteId: string;
79
- startedAt: string;
80
- durationMs: number;
81
- counts: {
82
- skipped: number;
83
- passed: number;
84
- failed: number;
85
- errors: number;
86
- };
87
- tests: {
88
- testId: string;
89
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
90
- firstFailure?: string | undefined;
91
- }[];
92
- finishedAt?: string | undefined;
93
- }, {
94
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
95
- runId: string;
96
- suiteId: string;
97
- startedAt: string;
98
- durationMs: number;
99
- counts: {
100
- skipped: number;
101
- passed: number;
102
- failed: number;
103
- errors: number;
104
- };
105
- tests: {
106
- testId: string;
107
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
108
- firstFailure?: string | undefined;
109
- }[];
110
- finishedAt?: string | undefined;
111
- }>>;
58
+ }, z.core.$strict>>;
59
+ }, z.core.$strict>>;
112
60
  failures: z.ZodArray<z.ZodObject<{
113
61
  test_id: z.ZodString;
114
62
  test_name: z.ZodString;
@@ -118,25 +66,7 @@ export declare const atfExecutionResultSchema: z.ZodObject<{
118
66
  test_result_id: z.ZodString;
119
67
  step_result_id: z.ZodOptional<z.ZodString>;
120
68
  step_id: z.ZodOptional<z.ZodString>;
121
- }, "strict", z.ZodTypeAny, {
122
- message: string;
123
- step: string;
124
- test_id: string;
125
- test_name: string;
126
- message_truncated: boolean;
127
- test_result_id: string;
128
- step_result_id?: string | undefined;
129
- step_id?: string | undefined;
130
- }, {
131
- message: string;
132
- step: string;
133
- test_id: string;
134
- test_name: string;
135
- message_truncated: boolean;
136
- test_result_id: string;
137
- step_result_id?: string | undefined;
138
- step_id?: string | undefined;
139
- }>, "many">;
69
+ }, z.core.$strict>>;
140
70
  pagination: z.ZodOptional<z.ZodObject<{
141
71
  tests_total: z.ZodNumber;
142
72
  tests_offset: z.ZodNumber;
@@ -144,202 +74,48 @@ export declare const atfExecutionResultSchema: z.ZodObject<{
144
74
  failures_total: z.ZodNumber;
145
75
  failures_offset: z.ZodNumber;
146
76
  failures_next_offset: z.ZodOptional<z.ZodNumber>;
147
- }, "strict", z.ZodTypeAny, {
148
- tests_total: number;
149
- tests_offset: number;
150
- failures_total: number;
151
- failures_offset: number;
152
- tests_next_offset?: number | undefined;
153
- failures_next_offset?: number | undefined;
154
- }, {
155
- tests_total: number;
156
- tests_offset: number;
157
- failures_total: number;
158
- failures_offset: number;
159
- tests_next_offset?: number | undefined;
160
- failures_next_offset?: number | undefined;
161
- }>>;
77
+ }, z.core.$strict>>;
162
78
  comparison: z.ZodOptional<z.ZodObject<{
163
79
  previous_run: z.ZodString;
164
80
  current_run: z.ZodString;
165
- new_failures: z.ZodArray<z.ZodString, "many">;
166
- fixed: z.ZodArray<z.ZodString, "many">;
167
- still_failing: z.ZodArray<z.ZodString, "many">;
168
- flaky: z.ZodArray<z.ZodString, "many">;
169
- status_changed: z.ZodArray<z.ZodString, "many">;
81
+ new_failures: z.ZodArray<z.ZodString>;
82
+ fixed: z.ZodArray<z.ZodString>;
83
+ still_failing: z.ZodArray<z.ZodString>;
84
+ flaky: z.ZodArray<z.ZodString>;
85
+ status_changed: z.ZodArray<z.ZodString>;
170
86
  duration_change_ms: z.ZodNumber;
171
87
  duration_regression: z.ZodBoolean;
172
- }, "strict", z.ZodTypeAny, {
173
- fixed: string[];
174
- previous_run: string;
175
- current_run: string;
176
- new_failures: string[];
177
- still_failing: string[];
178
- flaky: string[];
179
- status_changed: string[];
180
- duration_change_ms: number;
181
- duration_regression: boolean;
182
- }, {
183
- fixed: string[];
184
- previous_run: string;
185
- current_run: string;
186
- new_failures: string[];
187
- still_failing: string[];
188
- flaky: string[];
189
- status_changed: string[];
190
- duration_change_ms: number;
191
- duration_regression: boolean;
192
- }>>;
193
- warnings: z.ZodArray<z.ZodString, "many">;
194
- }, "strict", z.ZodTypeAny, {
195
- outcome: "running" | "completed" | "unavailable";
196
- failures: {
197
- message: string;
198
- step: string;
199
- test_id: string;
200
- test_name: string;
201
- message_truncated: boolean;
202
- test_result_id: string;
203
- step_result_id?: string | undefined;
204
- step_id?: string | undefined;
205
- }[];
206
- warnings: string[];
207
- run?: {
208
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
209
- runId: string;
210
- suiteId: string;
211
- startedAt: string;
212
- durationMs: number;
213
- counts: {
214
- skipped: number;
215
- passed: number;
216
- failed: number;
217
- errors: number;
218
- };
219
- tests: {
220
- testId: string;
221
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
222
- firstFailure?: string | undefined;
223
- }[];
224
- finishedAt?: string | undefined;
225
- } | undefined;
226
- suite_name?: string | undefined;
227
- progress_id?: string | undefined;
228
- result_id?: string | undefined;
229
- suite_id?: string | undefined;
230
- pagination?: {
231
- tests_total: number;
232
- tests_offset: number;
233
- failures_total: number;
234
- failures_offset: number;
235
- tests_next_offset?: number | undefined;
236
- failures_next_offset?: number | undefined;
237
- } | undefined;
238
- comparison?: {
239
- fixed: string[];
240
- previous_run: string;
241
- current_run: string;
242
- new_failures: string[];
243
- still_failing: string[];
244
- flaky: string[];
245
- status_changed: string[];
246
- duration_change_ms: number;
247
- duration_regression: boolean;
248
- } | undefined;
249
- }, {
250
- outcome: "running" | "completed" | "unavailable";
251
- failures: {
252
- message: string;
253
- step: string;
254
- test_id: string;
255
- test_name: string;
256
- message_truncated: boolean;
257
- test_result_id: string;
258
- step_result_id?: string | undefined;
259
- step_id?: string | undefined;
260
- }[];
261
- warnings: string[];
262
- run?: {
263
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
264
- runId: string;
265
- suiteId: string;
266
- startedAt: string;
267
- durationMs: number;
268
- counts: {
269
- skipped: number;
270
- passed: number;
271
- failed: number;
272
- errors: number;
273
- };
274
- tests: {
275
- testId: string;
276
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
277
- firstFailure?: string | undefined;
278
- }[];
279
- finishedAt?: string | undefined;
280
- } | undefined;
281
- suite_name?: string | undefined;
282
- progress_id?: string | undefined;
283
- result_id?: string | undefined;
284
- suite_id?: string | undefined;
285
- pagination?: {
286
- tests_total: number;
287
- tests_offset: number;
288
- failures_total: number;
289
- failures_offset: number;
290
- tests_next_offset?: number | undefined;
291
- failures_next_offset?: number | undefined;
292
- } | undefined;
293
- comparison?: {
294
- fixed: string[];
295
- previous_run: string;
296
- current_run: string;
297
- new_failures: string[];
298
- still_failing: string[];
299
- flaky: string[];
300
- status_changed: string[];
301
- duration_change_ms: number;
302
- duration_regression: boolean;
303
- } | undefined;
304
- }>;
88
+ }, z.core.$strict>>;
89
+ warnings: z.ZodArray<z.ZodString>;
90
+ }, z.core.$strict>;
305
91
  export declare const atfResultsSchema: z.ZodObject<{
306
- action: z.ZodEnum<["get", "step", "history", "compare"]>;
92
+ action: z.ZodEnum<{
93
+ get: "get";
94
+ step: "step";
95
+ history: "history";
96
+ compare: "compare";
97
+ }>;
307
98
  step_detail: z.ZodOptional<z.ZodObject<{
308
99
  step_result_id: z.ZodString;
309
100
  test_result_id: z.ZodString;
310
101
  step_id: z.ZodOptional<z.ZodString>;
311
102
  step: z.ZodString;
312
103
  status: z.ZodString;
313
- field: z.ZodEnum<["summary", "output"]>;
104
+ field: z.ZodEnum<{
105
+ output: "output";
106
+ summary: "summary";
107
+ }>;
314
108
  text: z.ZodString;
315
109
  offset: z.ZodNumber;
316
110
  total_characters: z.ZodNumber;
317
111
  next_offset: z.ZodOptional<z.ZodNumber>;
318
- }, "strict", z.ZodTypeAny, {
319
- status: string;
320
- text: string;
321
- field: "output" | "summary";
322
- step: string;
323
- offset: number;
324
- test_result_id: string;
325
- step_result_id: string;
326
- total_characters: number;
327
- step_id?: string | undefined;
328
- next_offset?: number | undefined;
329
- }, {
330
- status: string;
331
- text: string;
332
- field: "output" | "summary";
333
- step: string;
334
- offset: number;
335
- test_result_id: string;
336
- step_result_id: string;
337
- total_characters: number;
338
- step_id?: string | undefined;
339
- next_offset?: number | undefined;
340
- }>>;
112
+ }, z.core.$strict>>;
341
113
  execution: z.ZodOptional<z.ZodObject<{
342
- outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
114
+ outcome: z.ZodEnum<{
115
+ running: "running";
116
+ completed: "completed";
117
+ unavailable: "unavailable";
118
+ }>;
343
119
  progress_id: z.ZodOptional<z.ZodString>;
344
120
  result_id: z.ZodOptional<z.ZodString>;
345
121
  suite_id: z.ZodOptional<z.ZodString>;
@@ -349,74 +125,38 @@ export declare const atfResultsSchema: z.ZodObject<{
349
125
  suiteId: z.ZodString;
350
126
  startedAt: z.ZodString;
351
127
  finishedAt: z.ZodOptional<z.ZodString>;
352
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
128
+ status: z.ZodEnum<{
129
+ error: "error";
130
+ success: "success";
131
+ pending: "pending";
132
+ running: "running";
133
+ failure: "failure";
134
+ skipped: "skipped";
135
+ canceled: "canceled";
136
+ success_with_warnings: "success_with_warnings";
137
+ }>;
353
138
  durationMs: z.ZodNumber;
354
139
  counts: z.ZodObject<{
355
140
  passed: z.ZodNumber;
356
141
  failed: z.ZodNumber;
357
142
  errors: z.ZodNumber;
358
143
  skipped: z.ZodNumber;
359
- }, "strict", z.ZodTypeAny, {
360
- skipped: number;
361
- passed: number;
362
- failed: number;
363
- errors: number;
364
- }, {
365
- skipped: number;
366
- passed: number;
367
- failed: number;
368
- errors: number;
369
- }>;
144
+ }, z.core.$strict>;
370
145
  tests: z.ZodArray<z.ZodObject<{
371
146
  testId: z.ZodString;
372
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
147
+ status: z.ZodEnum<{
148
+ error: "error";
149
+ success: "success";
150
+ pending: "pending";
151
+ running: "running";
152
+ failure: "failure";
153
+ skipped: "skipped";
154
+ canceled: "canceled";
155
+ success_with_warnings: "success_with_warnings";
156
+ }>;
373
157
  firstFailure: z.ZodOptional<z.ZodString>;
374
- }, "strict", z.ZodTypeAny, {
375
- testId: string;
376
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
377
- firstFailure?: string | undefined;
378
- }, {
379
- testId: string;
380
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
381
- firstFailure?: string | undefined;
382
- }>, "many">;
383
- }, "strict", z.ZodTypeAny, {
384
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
385
- runId: string;
386
- suiteId: string;
387
- startedAt: string;
388
- durationMs: number;
389
- counts: {
390
- skipped: number;
391
- passed: number;
392
- failed: number;
393
- errors: number;
394
- };
395
- tests: {
396
- testId: string;
397
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
398
- firstFailure?: string | undefined;
399
- }[];
400
- finishedAt?: string | undefined;
401
- }, {
402
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
403
- runId: string;
404
- suiteId: string;
405
- startedAt: string;
406
- durationMs: number;
407
- counts: {
408
- skipped: number;
409
- passed: number;
410
- failed: number;
411
- errors: number;
412
- };
413
- tests: {
414
- testId: string;
415
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
416
- firstFailure?: string | undefined;
417
- }[];
418
- finishedAt?: string | undefined;
419
- }>>;
158
+ }, z.core.$strict>>;
159
+ }, z.core.$strict>>;
420
160
  failures: z.ZodArray<z.ZodObject<{
421
161
  test_id: z.ZodString;
422
162
  test_name: z.ZodString;
@@ -426,25 +166,7 @@ export declare const atfResultsSchema: z.ZodObject<{
426
166
  test_result_id: z.ZodString;
427
167
  step_result_id: z.ZodOptional<z.ZodString>;
428
168
  step_id: z.ZodOptional<z.ZodString>;
429
- }, "strict", z.ZodTypeAny, {
430
- message: string;
431
- step: string;
432
- test_id: string;
433
- test_name: string;
434
- message_truncated: boolean;
435
- test_result_id: string;
436
- step_result_id?: string | undefined;
437
- step_id?: string | undefined;
438
- }, {
439
- message: string;
440
- step: string;
441
- test_id: string;
442
- test_name: string;
443
- message_truncated: boolean;
444
- test_result_id: string;
445
- step_result_id?: string | undefined;
446
- step_id?: string | undefined;
447
- }>, "many">;
169
+ }, z.core.$strict>>;
448
170
  pagination: z.ZodOptional<z.ZodObject<{
449
171
  tests_total: z.ZodNumber;
450
172
  tests_offset: z.ZodNumber;
@@ -452,501 +174,85 @@ export declare const atfResultsSchema: z.ZodObject<{
452
174
  failures_total: z.ZodNumber;
453
175
  failures_offset: z.ZodNumber;
454
176
  failures_next_offset: z.ZodOptional<z.ZodNumber>;
455
- }, "strict", z.ZodTypeAny, {
456
- tests_total: number;
457
- tests_offset: number;
458
- failures_total: number;
459
- failures_offset: number;
460
- tests_next_offset?: number | undefined;
461
- failures_next_offset?: number | undefined;
462
- }, {
463
- tests_total: number;
464
- tests_offset: number;
465
- failures_total: number;
466
- failures_offset: number;
467
- tests_next_offset?: number | undefined;
468
- failures_next_offset?: number | undefined;
469
- }>>;
177
+ }, z.core.$strict>>;
470
178
  comparison: z.ZodOptional<z.ZodObject<{
471
179
  previous_run: z.ZodString;
472
180
  current_run: z.ZodString;
473
- new_failures: z.ZodArray<z.ZodString, "many">;
474
- fixed: z.ZodArray<z.ZodString, "many">;
475
- still_failing: z.ZodArray<z.ZodString, "many">;
476
- flaky: z.ZodArray<z.ZodString, "many">;
477
- status_changed: z.ZodArray<z.ZodString, "many">;
181
+ new_failures: z.ZodArray<z.ZodString>;
182
+ fixed: z.ZodArray<z.ZodString>;
183
+ still_failing: z.ZodArray<z.ZodString>;
184
+ flaky: z.ZodArray<z.ZodString>;
185
+ status_changed: z.ZodArray<z.ZodString>;
478
186
  duration_change_ms: z.ZodNumber;
479
187
  duration_regression: z.ZodBoolean;
480
- }, "strict", z.ZodTypeAny, {
481
- fixed: string[];
482
- previous_run: string;
483
- current_run: string;
484
- new_failures: string[];
485
- still_failing: string[];
486
- flaky: string[];
487
- status_changed: string[];
488
- duration_change_ms: number;
489
- duration_regression: boolean;
490
- }, {
491
- fixed: string[];
492
- previous_run: string;
493
- current_run: string;
494
- new_failures: string[];
495
- still_failing: string[];
496
- flaky: string[];
497
- status_changed: string[];
498
- duration_change_ms: number;
499
- duration_regression: boolean;
500
- }>>;
501
- warnings: z.ZodArray<z.ZodString, "many">;
502
- }, "strict", z.ZodTypeAny, {
503
- outcome: "running" | "completed" | "unavailable";
504
- failures: {
505
- message: string;
506
- step: string;
507
- test_id: string;
508
- test_name: string;
509
- message_truncated: boolean;
510
- test_result_id: string;
511
- step_result_id?: string | undefined;
512
- step_id?: string | undefined;
513
- }[];
514
- warnings: string[];
515
- run?: {
516
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
517
- runId: string;
518
- suiteId: string;
519
- startedAt: string;
520
- durationMs: number;
521
- counts: {
522
- skipped: number;
523
- passed: number;
524
- failed: number;
525
- errors: number;
526
- };
527
- tests: {
528
- testId: string;
529
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
530
- firstFailure?: string | undefined;
531
- }[];
532
- finishedAt?: string | undefined;
533
- } | undefined;
534
- suite_name?: string | undefined;
535
- progress_id?: string | undefined;
536
- result_id?: string | undefined;
537
- suite_id?: string | undefined;
538
- pagination?: {
539
- tests_total: number;
540
- tests_offset: number;
541
- failures_total: number;
542
- failures_offset: number;
543
- tests_next_offset?: number | undefined;
544
- failures_next_offset?: number | undefined;
545
- } | undefined;
546
- comparison?: {
547
- fixed: string[];
548
- previous_run: string;
549
- current_run: string;
550
- new_failures: string[];
551
- still_failing: string[];
552
- flaky: string[];
553
- status_changed: string[];
554
- duration_change_ms: number;
555
- duration_regression: boolean;
556
- } | undefined;
557
- }, {
558
- outcome: "running" | "completed" | "unavailable";
559
- failures: {
560
- message: string;
561
- step: string;
562
- test_id: string;
563
- test_name: string;
564
- message_truncated: boolean;
565
- test_result_id: string;
566
- step_result_id?: string | undefined;
567
- step_id?: string | undefined;
568
- }[];
569
- warnings: string[];
570
- run?: {
571
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
572
- runId: string;
573
- suiteId: string;
574
- startedAt: string;
575
- durationMs: number;
576
- counts: {
577
- skipped: number;
578
- passed: number;
579
- failed: number;
580
- errors: number;
581
- };
582
- tests: {
583
- testId: string;
584
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
585
- firstFailure?: string | undefined;
586
- }[];
587
- finishedAt?: string | undefined;
588
- } | undefined;
589
- suite_name?: string | undefined;
590
- progress_id?: string | undefined;
591
- result_id?: string | undefined;
592
- suite_id?: string | undefined;
593
- pagination?: {
594
- tests_total: number;
595
- tests_offset: number;
596
- failures_total: number;
597
- failures_offset: number;
598
- tests_next_offset?: number | undefined;
599
- failures_next_offset?: number | undefined;
600
- } | undefined;
601
- comparison?: {
602
- fixed: string[];
603
- previous_run: string;
604
- current_run: string;
605
- new_failures: string[];
606
- still_failing: string[];
607
- flaky: string[];
608
- status_changed: string[];
609
- duration_change_ms: number;
610
- duration_regression: boolean;
611
- } | undefined;
612
- }>>;
188
+ }, z.core.$strict>>;
189
+ warnings: z.ZodArray<z.ZodString>;
190
+ }, z.core.$strict>>;
613
191
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
614
192
  runId: z.ZodString;
615
193
  suiteId: z.ZodString;
616
194
  startedAt: z.ZodString;
617
195
  finishedAt: z.ZodOptional<z.ZodString>;
618
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
196
+ status: z.ZodEnum<{
197
+ error: "error";
198
+ success: "success";
199
+ pending: "pending";
200
+ running: "running";
201
+ failure: "failure";
202
+ skipped: "skipped";
203
+ canceled: "canceled";
204
+ success_with_warnings: "success_with_warnings";
205
+ }>;
619
206
  durationMs: z.ZodNumber;
620
207
  counts: z.ZodObject<{
621
208
  passed: z.ZodNumber;
622
209
  failed: z.ZodNumber;
623
210
  errors: z.ZodNumber;
624
211
  skipped: z.ZodNumber;
625
- }, "strict", z.ZodTypeAny, {
626
- skipped: number;
627
- passed: number;
628
- failed: number;
629
- errors: number;
630
- }, {
631
- skipped: number;
632
- passed: number;
633
- failed: number;
634
- errors: number;
635
- }>;
212
+ }, z.core.$strict>;
636
213
  tests: z.ZodArray<z.ZodObject<{
637
214
  testId: z.ZodString;
638
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
215
+ status: z.ZodEnum<{
216
+ error: "error";
217
+ success: "success";
218
+ pending: "pending";
219
+ running: "running";
220
+ failure: "failure";
221
+ skipped: "skipped";
222
+ canceled: "canceled";
223
+ success_with_warnings: "success_with_warnings";
224
+ }>;
639
225
  firstFailure: z.ZodOptional<z.ZodString>;
640
- }, "strict", z.ZodTypeAny, {
641
- testId: string;
642
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
643
- firstFailure?: string | undefined;
644
- }, {
645
- testId: string;
646
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
647
- firstFailure?: string | undefined;
648
- }>, "many">;
649
- }, "strict", z.ZodTypeAny, {
650
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
651
- runId: string;
652
- suiteId: string;
653
- startedAt: string;
654
- durationMs: number;
655
- counts: {
656
- skipped: number;
657
- passed: number;
658
- failed: number;
659
- errors: number;
660
- };
661
- tests: {
662
- testId: string;
663
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
664
- firstFailure?: string | undefined;
665
- }[];
666
- finishedAt?: string | undefined;
667
- }, {
668
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
669
- runId: string;
670
- suiteId: string;
671
- startedAt: string;
672
- durationMs: number;
673
- counts: {
674
- skipped: number;
675
- passed: number;
676
- failed: number;
677
- errors: number;
678
- };
679
- tests: {
680
- testId: string;
681
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
682
- firstFailure?: string | undefined;
683
- }[];
684
- finishedAt?: string | undefined;
685
- }>, "many">>;
226
+ }, z.core.$strict>>;
227
+ }, z.core.$strict>>>;
686
228
  comparison: z.ZodOptional<z.ZodObject<{
687
229
  previous_run: z.ZodString;
688
230
  current_run: z.ZodString;
689
- new_failures: z.ZodArray<z.ZodString, "many">;
690
- fixed: z.ZodArray<z.ZodString, "many">;
691
- still_failing: z.ZodArray<z.ZodString, "many">;
692
- flaky: z.ZodArray<z.ZodString, "many">;
693
- status_changed: z.ZodArray<z.ZodString, "many">;
231
+ new_failures: z.ZodArray<z.ZodString>;
232
+ fixed: z.ZodArray<z.ZodString>;
233
+ still_failing: z.ZodArray<z.ZodString>;
234
+ flaky: z.ZodArray<z.ZodString>;
235
+ status_changed: z.ZodArray<z.ZodString>;
694
236
  duration_change_ms: z.ZodNumber;
695
237
  duration_regression: z.ZodBoolean;
696
- }, "strict", z.ZodTypeAny, {
697
- fixed: string[];
698
- previous_run: string;
699
- current_run: string;
700
- new_failures: string[];
701
- still_failing: string[];
702
- flaky: string[];
703
- status_changed: string[];
704
- duration_change_ms: number;
705
- duration_regression: boolean;
706
- }, {
707
- fixed: string[];
708
- previous_run: string;
709
- current_run: string;
710
- new_failures: string[];
711
- still_failing: string[];
712
- flaky: string[];
713
- status_changed: string[];
714
- duration_change_ms: number;
715
- duration_regression: boolean;
716
- }>>;
238
+ }, z.core.$strict>>;
717
239
  message: z.ZodOptional<z.ZodString>;
718
- }, "strict", z.ZodTypeAny, {
719
- action: "get" | "step" | "history" | "compare";
720
- message?: string | undefined;
721
- execution?: {
722
- outcome: "running" | "completed" | "unavailable";
723
- failures: {
724
- message: string;
725
- step: string;
726
- test_id: string;
727
- test_name: string;
728
- message_truncated: boolean;
729
- test_result_id: string;
730
- step_result_id?: string | undefined;
731
- step_id?: string | undefined;
732
- }[];
733
- warnings: string[];
734
- run?: {
735
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
736
- runId: string;
737
- suiteId: string;
738
- startedAt: string;
739
- durationMs: number;
740
- counts: {
741
- skipped: number;
742
- passed: number;
743
- failed: number;
744
- errors: number;
745
- };
746
- tests: {
747
- testId: string;
748
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
749
- firstFailure?: string | undefined;
750
- }[];
751
- finishedAt?: string | undefined;
752
- } | undefined;
753
- suite_name?: string | undefined;
754
- progress_id?: string | undefined;
755
- result_id?: string | undefined;
756
- suite_id?: string | undefined;
757
- pagination?: {
758
- tests_total: number;
759
- tests_offset: number;
760
- failures_total: number;
761
- failures_offset: number;
762
- tests_next_offset?: number | undefined;
763
- failures_next_offset?: number | undefined;
764
- } | undefined;
765
- comparison?: {
766
- fixed: string[];
767
- previous_run: string;
768
- current_run: string;
769
- new_failures: string[];
770
- still_failing: string[];
771
- flaky: string[];
772
- status_changed: string[];
773
- duration_change_ms: number;
774
- duration_regression: boolean;
775
- } | undefined;
776
- } | undefined;
777
- runs?: {
778
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
779
- runId: string;
780
- suiteId: string;
781
- startedAt: string;
782
- durationMs: number;
783
- counts: {
784
- skipped: number;
785
- passed: number;
786
- failed: number;
787
- errors: number;
788
- };
789
- tests: {
790
- testId: string;
791
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
792
- firstFailure?: string | undefined;
793
- }[];
794
- finishedAt?: string | undefined;
795
- }[] | undefined;
796
- comparison?: {
797
- fixed: string[];
798
- previous_run: string;
799
- current_run: string;
800
- new_failures: string[];
801
- still_failing: string[];
802
- flaky: string[];
803
- status_changed: string[];
804
- duration_change_ms: number;
805
- duration_regression: boolean;
806
- } | undefined;
807
- step_detail?: {
808
- status: string;
809
- text: string;
810
- field: "output" | "summary";
811
- step: string;
812
- offset: number;
813
- test_result_id: string;
814
- step_result_id: string;
815
- total_characters: number;
816
- step_id?: string | undefined;
817
- next_offset?: number | undefined;
818
- } | undefined;
819
- }, {
820
- action: "get" | "step" | "history" | "compare";
821
- message?: string | undefined;
822
- execution?: {
823
- outcome: "running" | "completed" | "unavailable";
824
- failures: {
825
- message: string;
826
- step: string;
827
- test_id: string;
828
- test_name: string;
829
- message_truncated: boolean;
830
- test_result_id: string;
831
- step_result_id?: string | undefined;
832
- step_id?: string | undefined;
833
- }[];
834
- warnings: string[];
835
- run?: {
836
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
837
- runId: string;
838
- suiteId: string;
839
- startedAt: string;
840
- durationMs: number;
841
- counts: {
842
- skipped: number;
843
- passed: number;
844
- failed: number;
845
- errors: number;
846
- };
847
- tests: {
848
- testId: string;
849
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
850
- firstFailure?: string | undefined;
851
- }[];
852
- finishedAt?: string | undefined;
853
- } | undefined;
854
- suite_name?: string | undefined;
855
- progress_id?: string | undefined;
856
- result_id?: string | undefined;
857
- suite_id?: string | undefined;
858
- pagination?: {
859
- tests_total: number;
860
- tests_offset: number;
861
- failures_total: number;
862
- failures_offset: number;
863
- tests_next_offset?: number | undefined;
864
- failures_next_offset?: number | undefined;
865
- } | undefined;
866
- comparison?: {
867
- fixed: string[];
868
- previous_run: string;
869
- current_run: string;
870
- new_failures: string[];
871
- still_failing: string[];
872
- flaky: string[];
873
- status_changed: string[];
874
- duration_change_ms: number;
875
- duration_regression: boolean;
876
- } | undefined;
877
- } | undefined;
878
- runs?: {
879
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
880
- runId: string;
881
- suiteId: string;
882
- startedAt: string;
883
- durationMs: number;
884
- counts: {
885
- skipped: number;
886
- passed: number;
887
- failed: number;
888
- errors: number;
889
- };
890
- tests: {
891
- testId: string;
892
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
893
- firstFailure?: string | undefined;
894
- }[];
895
- finishedAt?: string | undefined;
896
- }[] | undefined;
897
- comparison?: {
898
- fixed: string[];
899
- previous_run: string;
900
- current_run: string;
901
- new_failures: string[];
902
- still_failing: string[];
903
- flaky: string[];
904
- status_changed: string[];
905
- duration_change_ms: number;
906
- duration_regression: boolean;
907
- } | undefined;
908
- step_detail?: {
909
- status: string;
910
- text: string;
911
- field: "output" | "summary";
912
- step: string;
913
- offset: number;
914
- test_result_id: string;
915
- step_result_id: string;
916
- total_characters: number;
917
- step_id?: string | undefined;
918
- next_offset?: number | undefined;
919
- } | undefined;
920
- }>;
240
+ }, z.core.$strict>;
921
241
  export declare const atfReadinessSchema: z.ZodObject<{
922
- verdict: z.ZodEnum<["ready", "blocked", "unverified"]>;
242
+ verdict: z.ZodEnum<{
243
+ ready: "ready";
244
+ blocked: "blocked";
245
+ unverified: "unverified";
246
+ }>;
923
247
  checks: z.ZodArray<z.ZodObject<{
924
248
  check: z.ZodString;
925
- status: z.ZodEnum<["pass", "fail", "warn"]>;
249
+ status: z.ZodEnum<{
250
+ warn: "warn";
251
+ pass: "pass";
252
+ fail: "fail";
253
+ }>;
926
254
  message: z.ZodString;
927
- }, "strict", z.ZodTypeAny, {
928
- message: string;
929
- status: "warn" | "pass" | "fail";
930
- check: string;
931
- }, {
932
- message: string;
933
- status: "warn" | "pass" | "fail";
934
- check: string;
935
- }>, "many">;
936
- }, "strict", z.ZodTypeAny, {
937
- verdict: "ready" | "blocked" | "unverified";
938
- checks: {
939
- message: string;
940
- status: "warn" | "pass" | "fail";
941
- check: string;
942
- }[];
943
- }, {
944
- verdict: "ready" | "blocked" | "unverified";
945
- checks: {
946
- message: string;
947
- status: "warn" | "pass" | "fail";
948
- check: string;
949
- }[];
950
- }>;
255
+ }, z.core.$strict>>;
256
+ }, z.core.$strict>;
951
257
  export type AtfExecutionResult = z.infer<typeof atfExecutionResultSchema>;
952
258
  //# sourceMappingURL=atf-contracts.d.ts.map