@onlyflows/servicenow-mcp 2.2.0-dev.6 → 2.2.1

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 (269) hide show
  1. package/.env.example +6 -3
  2. package/CHANGELOG.md +404 -0
  3. package/README.md +580 -104
  4. package/dist/atf-form.d.ts +3 -15
  5. package/dist/atf-form.d.ts.map +1 -1
  6. package/dist/atf-policy.d.ts +1 -1
  7. package/dist/atf-policy.d.ts.map +1 -1
  8. package/dist/atf-policy.js +2 -0
  9. package/dist/atf-policy.js.map +1 -1
  10. package/dist/atf-result-cache.d.ts +23 -59
  11. package/dist/atf-result-cache.d.ts.map +1 -1
  12. package/dist/auth.d.ts +1 -0
  13. package/dist/auth.d.ts.map +1 -1
  14. package/dist/auth.js +17 -0
  15. package/dist/auth.js.map +1 -1
  16. package/dist/batch-limits.d.ts +18 -0
  17. package/dist/batch-limits.d.ts.map +1 -0
  18. package/dist/batch-limits.js +21 -0
  19. package/dist/batch-limits.js.map +1 -0
  20. package/dist/bounded-input.d.ts +49 -0
  21. package/dist/bounded-input.d.ts.map +1 -0
  22. package/dist/bounded-input.js +81 -0
  23. package/dist/bounded-input.js.map +1 -0
  24. package/dist/client.d.ts +25 -0
  25. package/dist/client.d.ts.map +1 -1
  26. package/dist/client.js +92 -18
  27. package/dist/client.js.map +1 -1
  28. package/dist/credential-tables.d.ts +32 -0
  29. package/dist/credential-tables.d.ts.map +1 -0
  30. package/dist/credential-tables.js +58 -0
  31. package/dist/credential-tables.js.map +1 -0
  32. package/dist/encoded-query-policy.d.ts +11 -0
  33. package/dist/encoded-query-policy.d.ts.map +1 -1
  34. package/dist/encoded-query-policy.js +18 -2
  35. package/dist/encoded-query-policy.js.map +1 -1
  36. package/dist/execution-context.d.ts +14 -0
  37. package/dist/execution-context.d.ts.map +1 -1
  38. package/dist/execution-context.js +8 -0
  39. package/dist/execution-context.js.map +1 -1
  40. package/dist/field-policy.d.ts +115 -3
  41. package/dist/field-policy.d.ts.map +1 -1
  42. package/dist/field-policy.js +909 -97
  43. package/dist/field-policy.js.map +1 -1
  44. package/dist/hidden-values.d.ts +225 -0
  45. package/dist/hidden-values.d.ts.map +1 -0
  46. package/dist/hidden-values.js +748 -0
  47. package/dist/hidden-values.js.map +1 -0
  48. package/dist/html-response.d.ts +34 -0
  49. package/dist/html-response.d.ts.map +1 -0
  50. package/dist/html-response.js +72 -0
  51. package/dist/html-response.js.map +1 -0
  52. package/dist/http-entrypoint.d.ts.map +1 -1
  53. package/dist/http-entrypoint.js +7 -0
  54. package/dist/http-entrypoint.js.map +1 -1
  55. package/dist/http-runtime.d.ts.map +1 -1
  56. package/dist/http-runtime.js +8 -0
  57. package/dist/http-runtime.js.map +1 -1
  58. package/dist/incident-journal-policy.d.ts +27 -5
  59. package/dist/incident-journal-policy.d.ts.map +1 -1
  60. package/dist/incident-journal-policy.js +34 -21
  61. package/dist/incident-journal-policy.js.map +1 -1
  62. package/dist/index.js +7 -0
  63. package/dist/index.js.map +1 -1
  64. package/dist/json-shape-limits.d.ts +71 -0
  65. package/dist/json-shape-limits.d.ts.map +1 -0
  66. package/dist/json-shape-limits.js +131 -0
  67. package/dist/json-shape-limits.js.map +1 -0
  68. package/dist/metadata-cache.d.ts +84 -21
  69. package/dist/metadata-cache.d.ts.map +1 -1
  70. package/dist/metadata-cache.js +316 -196
  71. package/dist/metadata-cache.js.map +1 -1
  72. package/dist/policy-card.d.ts +146 -0
  73. package/dist/policy-card.d.ts.map +1 -0
  74. package/dist/policy-card.js +420 -0
  75. package/dist/policy-card.js.map +1 -0
  76. package/dist/profile-manager.d.ts +19 -3
  77. package/dist/profile-manager.d.ts.map +1 -1
  78. package/dist/profile-manager.js +89 -4
  79. package/dist/profile-manager.js.map +1 -1
  80. package/dist/record-identifier-policy.d.ts +2 -8
  81. package/dist/record-identifier-policy.d.ts.map +1 -1
  82. package/dist/risky-grants.d.ts +25 -0
  83. package/dist/risky-grants.d.ts.map +1 -0
  84. package/dist/risky-grants.js +77 -0
  85. package/dist/risky-grants.js.map +1 -0
  86. package/dist/server.d.ts.map +1 -1
  87. package/dist/server.js +26 -5
  88. package/dist/server.js.map +1 -1
  89. package/dist/setup-prompts.js +1 -0
  90. package/dist/setup-prompts.js.map +1 -1
  91. package/dist/setup.d.ts +1 -1
  92. package/dist/setup.d.ts.map +1 -1
  93. package/dist/setup.js +305 -59
  94. package/dist/setup.js.map +1 -1
  95. package/dist/stdio-runtime.d.ts +15 -0
  96. package/dist/stdio-runtime.d.ts.map +1 -1
  97. package/dist/stdio-runtime.js +60 -0
  98. package/dist/stdio-runtime.js.map +1 -1
  99. package/dist/structured-query.d.ts +100 -115
  100. package/dist/structured-query.d.ts.map +1 -1
  101. package/dist/structured-query.js +138 -17
  102. package/dist/structured-query.js.map +1 -1
  103. package/dist/table-policy.d.ts +41 -4
  104. package/dist/table-policy.d.ts.map +1 -1
  105. package/dist/table-policy.js +82 -10
  106. package/dist/table-policy.js.map +1 -1
  107. package/dist/tool-error.d.ts +34 -0
  108. package/dist/tool-error.d.ts.map +1 -1
  109. package/dist/tool-error.js +109 -1
  110. package/dist/tool-error.js.map +1 -1
  111. package/dist/tool-table-access.d.ts.map +1 -1
  112. package/dist/tool-table-access.js +35 -5
  113. package/dist/tool-table-access.js.map +1 -1
  114. package/dist/tools/aggregate.d.ts +13 -19
  115. package/dist/tools/aggregate.d.ts.map +1 -1
  116. package/dist/tools/aggregate.js +4 -5
  117. package/dist/tools/aggregate.js.map +1 -1
  118. package/dist/tools/all-fields-cap.d.ts.map +1 -1
  119. package/dist/tools/all-fields-cap.js +32 -45
  120. package/dist/tools/all-fields-cap.js.map +1 -1
  121. package/dist/tools/atf-author-module.d.ts +29 -14
  122. package/dist/tools/atf-author-module.d.ts.map +1 -1
  123. package/dist/tools/atf-author-module.js +11 -5
  124. package/dist/tools/atf-author-module.js.map +1 -1
  125. package/dist/tools/atf-contracts.d.ts +135 -829
  126. package/dist/tools/atf-contracts.d.ts.map +1 -1
  127. package/dist/tools/atf-shared.js +2 -2
  128. package/dist/tools/atf-shared.js.map +1 -1
  129. package/dist/tools/atf-step-catalog.d.ts +16 -15
  130. package/dist/tools/atf-step-catalog.d.ts.map +1 -1
  131. package/dist/tools/atf-step-catalog.js +181 -10
  132. package/dist/tools/atf-step-catalog.js.map +1 -1
  133. package/dist/tools/atf.d.ts +8 -24
  134. package/dist/tools/atf.d.ts.map +1 -1
  135. package/dist/tools/atf.js +2 -2
  136. package/dist/tools/atf.js.map +1 -1
  137. package/dist/tools/attach.d.ts +6 -22
  138. package/dist/tools/attach.d.ts.map +1 -1
  139. package/dist/tools/batch.d.ts +18 -71
  140. package/dist/tools/batch.d.ts.map +1 -1
  141. package/dist/tools/batch.js +566 -100
  142. package/dist/tools/batch.js.map +1 -1
  143. package/dist/tools/catalog.d.ts +2 -2
  144. package/dist/tools/catalog.d.ts.map +1 -1
  145. package/dist/tools/catalog.js +7 -1
  146. package/dist/tools/catalog.js.map +1 -1
  147. package/dist/tools/codesearch.d.ts +1 -13
  148. package/dist/tools/codesearch.d.ts.map +1 -1
  149. package/dist/tools/create-module.d.ts +9 -14
  150. package/dist/tools/create-module.d.ts.map +1 -1
  151. package/dist/tools/create-module.js +4 -8
  152. package/dist/tools/create-module.js.map +1 -1
  153. package/dist/tools/delete.d.ts +1 -9
  154. package/dist/tools/delete.d.ts.map +1 -1
  155. package/dist/tools/delete.js +2 -3
  156. package/dist/tools/delete.js.map +1 -1
  157. package/dist/tools/discover.d.ts +6 -14
  158. package/dist/tools/discover.d.ts.map +1 -1
  159. package/dist/tools/flow-view-contracts.d.ts +1023 -0
  160. package/dist/tools/flow-view-contracts.d.ts.map +1 -0
  161. package/dist/tools/flow-view-contracts.js +570 -0
  162. package/dist/tools/flow-view-contracts.js.map +1 -0
  163. package/dist/tools/flow-view-graph.d.ts +86 -0
  164. package/dist/tools/flow-view-graph.d.ts.map +1 -0
  165. package/dist/tools/flow-view-graph.js +993 -0
  166. package/dist/tools/flow-view-graph.js.map +1 -0
  167. package/dist/tools/flow-view-gzip.d.ts +52 -0
  168. package/dist/tools/flow-view-gzip.d.ts.map +1 -0
  169. package/dist/tools/flow-view-gzip.js +179 -0
  170. package/dist/tools/flow-view-gzip.js.map +1 -0
  171. package/dist/tools/flow-view-mermaid.d.ts +37 -0
  172. package/dist/tools/flow-view-mermaid.d.ts.map +1 -0
  173. package/dist/tools/flow-view-mermaid.js +337 -0
  174. package/dist/tools/flow-view-mermaid.js.map +1 -0
  175. package/dist/tools/flow-view-module.d.ts +61 -0
  176. package/dist/tools/flow-view-module.d.ts.map +1 -0
  177. package/dist/tools/flow-view-module.js +378 -0
  178. package/dist/tools/flow-view-module.js.map +1 -0
  179. package/dist/tools/flow-view-policy.d.ts +106 -0
  180. package/dist/tools/flow-view-policy.d.ts.map +1 -0
  181. package/dist/tools/flow-view-policy.js +462 -0
  182. package/dist/tools/flow-view-policy.js.map +1 -0
  183. package/dist/tools/flow-view-renderers.d.ts +68 -0
  184. package/dist/tools/flow-view-renderers.d.ts.map +1 -0
  185. package/dist/tools/flow-view-renderers.js +513 -0
  186. package/dist/tools/flow-view-renderers.js.map +1 -0
  187. package/dist/tools/flow-view-table.d.ts +115 -0
  188. package/dist/tools/flow-view-table.d.ts.map +1 -0
  189. package/dist/tools/flow-view-table.js +1002 -0
  190. package/dist/tools/flow-view-table.js.map +1 -0
  191. package/dist/tools/get-module.d.ts +36 -42
  192. package/dist/tools/get-module.d.ts.map +1 -1
  193. package/dist/tools/health.d.ts +9 -6
  194. package/dist/tools/health.d.ts.map +1 -1
  195. package/dist/tools/incident-journal-module.d.ts +8 -7
  196. package/dist/tools/incident-journal-module.d.ts.map +1 -1
  197. package/dist/tools/index.d.ts +4 -4
  198. package/dist/tools/index.d.ts.map +1 -1
  199. package/dist/tools/index.js +118 -18
  200. package/dist/tools/index.js.map +1 -1
  201. package/dist/tools/markdown.d.ts +27 -0
  202. package/dist/tools/markdown.d.ts.map +1 -1
  203. package/dist/tools/markdown.js +104 -1
  204. package/dist/tools/markdown.js.map +1 -1
  205. package/dist/tools/nl.d.ts +1 -11
  206. package/dist/tools/nl.d.ts.map +1 -1
  207. package/dist/tools/profile.d.ts +1 -1
  208. package/dist/tools/profile.d.ts.map +1 -1
  209. package/dist/tools/profile.js +20 -1
  210. package/dist/tools/profile.js.map +1 -1
  211. package/dist/tools/query-module.d.ts +59 -71
  212. package/dist/tools/query-module.d.ts.map +1 -1
  213. package/dist/tools/query-module.js +28 -7
  214. package/dist/tools/query-module.js.map +1 -1
  215. package/dist/tools/record-write-shared.d.ts.map +1 -1
  216. package/dist/tools/record-write-shared.js +20 -2
  217. package/dist/tools/record-write-shared.js.map +1 -1
  218. package/dist/tools/relationships.d.ts +6 -22
  219. package/dist/tools/relationships.d.ts.map +1 -1
  220. package/dist/tools/result-envelope.d.ts +2255 -1357
  221. package/dist/tools/result-envelope.d.ts.map +1 -1
  222. package/dist/tools/result-envelope.js +24 -2
  223. package/dist/tools/result-envelope.js.map +1 -1
  224. package/dist/tools/schema-module.d.ts +36 -21
  225. package/dist/tools/schema-module.d.ts.map +1 -1
  226. package/dist/tools/schema-module.js +106 -65
  227. package/dist/tools/schema-module.js.map +1 -1
  228. package/dist/tools/script.d.ts +1 -11
  229. package/dist/tools/script.d.ts.map +1 -1
  230. package/dist/tools/syslog.d.ts +11 -18
  231. package/dist/tools/syslog.d.ts.map +1 -1
  232. package/dist/tools/syslog.js +2 -3
  233. package/dist/tools/syslog.js.map +1 -1
  234. package/dist/tools/table-hierarchy.d.ts +35 -0
  235. package/dist/tools/table-hierarchy.d.ts.map +1 -0
  236. package/dist/tools/table-hierarchy.js +74 -0
  237. package/dist/tools/table-hierarchy.js.map +1 -0
  238. package/dist/tools/tool-module.d.ts +40 -15
  239. package/dist/tools/tool-module.d.ts.map +1 -1
  240. package/dist/tools/tool-module.js +755 -205
  241. package/dist/tools/tool-module.js.map +1 -1
  242. package/dist/tools/update-module.d.ts +11 -17
  243. package/dist/tools/update-module.d.ts.map +1 -1
  244. package/dist/tools/update-module.js +10 -12
  245. package/dist/tools/update-module.js.map +1 -1
  246. package/dist/unknown-filter-fields.d.ts +52 -0
  247. package/dist/unknown-filter-fields.d.ts.map +1 -0
  248. package/dist/unknown-filter-fields.js +87 -0
  249. package/dist/unknown-filter-fields.js.map +1 -0
  250. package/dist/version.d.ts +1 -1
  251. package/dist/version.d.ts.map +1 -1
  252. package/dist/version.js +1 -1
  253. package/dist/version.js.map +1 -1
  254. package/dist/write-value-policy.d.ts +20 -12
  255. package/dist/write-value-policy.d.ts.map +1 -1
  256. package/dist/write-value-policy.js +179 -67
  257. package/dist/write-value-policy.js.map +1 -1
  258. package/docs/ADDING-TOOLS.md +22 -13
  259. package/docs/CLIENT-SETUP.md +110 -52
  260. package/docs/CROSS-CLIENT-RELEASE-MATRIX.md +2 -2
  261. package/docs/FLOW-VIEW.md +214 -0
  262. package/docs/PRODUCTION-SECURITY.md +218 -25
  263. package/docs/RELEASE-VALIDATION.md +2 -2
  264. package/docs/TESTING-OAUTH.md +1 -1
  265. package/docs/V2-MIGRATION.md +404 -30
  266. package/package.json +20 -6
  267. package/scripts/release-validate.mjs +56 -0
  268. package/server.json +22 -0
  269. package/tools/inspector/package-lock.json +163 -201
@@ -5,13 +5,9 @@ export declare const DEFAULT_RESULT_RECORD_LIMIT = 1000;
5
5
  export declare const DEFAULT_RESULT_BYTE_LIMIT = 100000;
6
6
  export declare const ATTACHMENT_RESULT_BYTE_LIMIT: number;
7
7
  /** Offset is the sole production continuation mode until a real cursor exists. */
8
- export declare const resultPaginationSchema: z.ZodUnion<[z.ZodObject<{
8
+ export declare const resultPaginationSchema: z.ZodUnion<readonly [z.ZodObject<{
9
9
  mode: z.ZodLiteral<"none">;
10
- }, "strict", z.ZodTypeAny, {
11
- mode: "none";
12
- }, {
13
- mode: "none";
14
- }>, z.ZodEffects<z.ZodObject<{
10
+ }, z.core.$strict>, z.ZodObject<{
15
11
  mode: z.ZodLiteral<"offset">;
16
12
  limit: z.ZodNumber;
17
13
  offset: z.ZodNumber;
@@ -19,64 +15,22 @@ export declare const resultPaginationSchema: z.ZodUnion<[z.ZodObject<{
19
15
  has_more: z.ZodBoolean;
20
16
  next_offset: z.ZodOptional<z.ZodNumber>;
21
17
  recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
22
- order_by: z.ZodArray<z.ZodString, "many">;
23
- }, "strict", z.ZodTypeAny, {
24
- limit: number;
25
- mode: "offset";
26
- order_by: string[];
27
- offset: number;
28
- returned: number;
29
- has_more: boolean;
30
- next_offset?: number | undefined;
31
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
32
- }, {
33
- limit: number;
34
- mode: "offset";
35
- order_by: string[];
36
- offset: number;
37
- returned: number;
38
- has_more: boolean;
39
- next_offset?: number | undefined;
40
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
41
- }>, {
42
- limit: number;
43
- mode: "offset";
44
- order_by: string[];
45
- offset: number;
46
- returned: number;
47
- has_more: boolean;
48
- next_offset?: number | undefined;
49
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
50
- }, {
51
- limit: number;
52
- mode: "offset";
53
- order_by: string[];
54
- offset: number;
55
- returned: number;
56
- has_more: boolean;
57
- next_offset?: number | undefined;
58
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
59
- }>]>;
18
+ order_by: z.ZodArray<z.ZodString>;
19
+ }, z.core.$strict>]>;
60
20
  export declare const resultMetadataSchema: z.ZodObject<{
61
- kind: z.ZodEnum<["single", "collection", "operation"]>;
21
+ kind: z.ZodEnum<{
22
+ operation: "operation";
23
+ collection: "collection";
24
+ single: "single";
25
+ }>;
62
26
  record_count: z.ZodNumber;
63
27
  limits: z.ZodObject<{
64
28
  max_records: z.ZodNumber;
65
29
  max_bytes: z.ZodNumber;
66
- }, "strict", z.ZodTypeAny, {
67
- max_records: number;
68
- max_bytes: number;
69
- }, {
70
- max_records: number;
71
- max_bytes: number;
72
- }>;
73
- pagination: z.ZodUnion<[z.ZodObject<{
30
+ }, z.core.$strict>;
31
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
74
32
  mode: z.ZodLiteral<"none">;
75
- }, "strict", z.ZodTypeAny, {
76
- mode: "none";
77
- }, {
78
- mode: "none";
79
- }>, z.ZodEffects<z.ZodObject<{
33
+ }, z.core.$strict>, z.ZodObject<{
80
34
  mode: z.ZodLiteral<"offset">;
81
35
  limit: z.ZodNumber;
82
36
  offset: z.ZodNumber;
@@ -84,113 +38,56 @@ export declare const resultMetadataSchema: z.ZodObject<{
84
38
  has_more: z.ZodBoolean;
85
39
  next_offset: z.ZodOptional<z.ZodNumber>;
86
40
  recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
87
- order_by: z.ZodArray<z.ZodString, "many">;
88
- }, "strict", z.ZodTypeAny, {
89
- limit: number;
90
- mode: "offset";
91
- order_by: string[];
92
- offset: number;
93
- returned: number;
94
- has_more: boolean;
95
- next_offset?: number | undefined;
96
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
97
- }, {
98
- limit: number;
99
- mode: "offset";
100
- order_by: string[];
101
- offset: number;
102
- returned: number;
103
- has_more: boolean;
104
- next_offset?: number | undefined;
105
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
106
- }>, {
107
- limit: number;
108
- mode: "offset";
109
- order_by: string[];
110
- offset: number;
111
- returned: number;
112
- has_more: boolean;
113
- next_offset?: number | undefined;
114
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
115
- }, {
116
- limit: number;
117
- mode: "offset";
118
- order_by: string[];
119
- offset: number;
120
- returned: number;
121
- has_more: boolean;
122
- next_offset?: number | undefined;
123
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
124
- }>]>;
41
+ order_by: z.ZodArray<z.ZodString>;
42
+ }, z.core.$strict>]>;
125
43
  truncation: z.ZodObject<{
126
44
  truncated: z.ZodBoolean;
127
- reason: z.ZodOptional<z.ZodEnum<["record_limit", "byte_limit"]>>;
45
+ reason: z.ZodOptional<z.ZodEnum<{
46
+ record_limit: "record_limit";
47
+ byte_limit: "byte_limit";
48
+ }>>;
128
49
  dropped_records: z.ZodOptional<z.ZodNumber>;
129
- }, "strict", z.ZodTypeAny, {
130
- truncated: boolean;
131
- reason?: "record_limit" | "byte_limit" | undefined;
132
- dropped_records?: number | undefined;
133
- }, {
134
- truncated: boolean;
135
- reason?: "record_limit" | "byte_limit" | undefined;
136
- dropped_records?: number | undefined;
137
- }>;
138
- }, "strict", z.ZodTypeAny, {
139
- kind: "collection" | "operation" | "single";
140
- limits: {
141
- max_records: number;
142
- max_bytes: number;
143
- };
144
- pagination: {
145
- limit: number;
146
- mode: "offset";
147
- order_by: string[];
148
- offset: number;
149
- returned: number;
150
- has_more: boolean;
151
- next_offset?: number | undefined;
152
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
153
- } | {
154
- mode: "none";
155
- };
156
- record_count: number;
157
- truncation: {
158
- truncated: boolean;
159
- reason?: "record_limit" | "byte_limit" | undefined;
160
- dropped_records?: number | undefined;
161
- };
162
- }, {
163
- kind: "collection" | "operation" | "single";
164
- limits: {
165
- max_records: number;
166
- max_bytes: number;
167
- };
168
- pagination: {
169
- limit: number;
170
- mode: "offset";
171
- order_by: string[];
172
- offset: number;
173
- returned: number;
174
- has_more: boolean;
175
- next_offset?: number | undefined;
176
- recovery?: "adjust_request_and_retry_same_offset" | undefined;
177
- } | {
178
- mode: "none";
179
- };
180
- record_count: number;
181
- truncation: {
182
- truncated: boolean;
183
- reason?: "record_limit" | "byte_limit" | undefined;
184
- dropped_records?: number | undefined;
185
- };
186
- }>;
187
- export declare function withStructuredResultEnvelope<TSchema extends z.ZodTypeAny>(dataSchema: TSchema): z.ZodObject<{} & {
188
- [x: string]: z.ZodTypeAny;
189
- }, "strict", z.ZodTypeAny, {
190
- [x: string]: any;
191
- }, {
192
- [x: string]: any;
193
- }>;
50
+ }, z.core.$strict>;
51
+ }, z.core.$strict>;
52
+ export declare function withStructuredResultEnvelope<TSchema extends z.ZodType>(dataSchema: TSchema): z.ZodObject<Omit<{
53
+ data: TSchema;
54
+ metadata: z.ZodObject<{
55
+ kind: z.ZodEnum<{
56
+ operation: "operation";
57
+ collection: "collection";
58
+ single: "single";
59
+ }>;
60
+ record_count: z.ZodNumber;
61
+ limits: z.ZodObject<{
62
+ max_records: z.ZodNumber;
63
+ max_bytes: z.ZodNumber;
64
+ }, z.core.$strict>;
65
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
66
+ mode: z.ZodLiteral<"none">;
67
+ }, z.core.$strict>, z.ZodObject<{
68
+ mode: z.ZodLiteral<"offset">;
69
+ limit: z.ZodNumber;
70
+ offset: z.ZodNumber;
71
+ returned: z.ZodNumber;
72
+ has_more: z.ZodBoolean;
73
+ next_offset: z.ZodOptional<z.ZodNumber>;
74
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
75
+ order_by: z.ZodArray<z.ZodString>;
76
+ }, z.core.$strict>]>;
77
+ truncation: z.ZodObject<{
78
+ truncated: z.ZodBoolean;
79
+ reason: z.ZodOptional<z.ZodEnum<{
80
+ record_limit: "record_limit";
81
+ byte_limit: "byte_limit";
82
+ }>>;
83
+ dropped_records: z.ZodOptional<z.ZodNumber>;
84
+ }, z.core.$strict>;
85
+ }, z.core.$strict>;
86
+ }, "profile"> & {
87
+ profile: typeof import("./tool-module.js").profileNameSchema;
88
+ } & {
89
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
90
+ }, z.core.$strict>;
194
91
  /**
195
92
  * Reserved key a single-record handler uses to carry an envelope-level hint
196
93
  * alongside its record.
@@ -209,173 +106,84 @@ declare const productionDataSchemas: Readonly<{
209
106
  hint: z.ZodOptional<z.ZodString>;
210
107
  truncated: z.ZodOptional<z.ZodBoolean>;
211
108
  dropped_records: z.ZodOptional<z.ZodNumber>;
212
- results: z.ZodArray<z.ZodUnknown, "many">;
213
- }, "strict", z.ZodTypeAny, {
214
- results: unknown[];
215
- has_more: boolean;
216
- record_count: number;
217
- total?: number | undefined;
218
- next_offset?: number | undefined;
219
- truncated?: boolean | undefined;
220
- dropped_records?: number | undefined;
221
- hint?: string | undefined;
222
- }, {
223
- results: unknown[];
224
- has_more: boolean;
225
- record_count: number;
226
- total?: number | undefined;
227
- next_offset?: number | undefined;
228
- truncated?: boolean | undefined;
229
- dropped_records?: number | undefined;
230
- hint?: string | undefined;
231
- }>;
109
+ results: z.ZodArray<z.ZodUnknown>;
110
+ }, z.core.$strict>;
232
111
  sn_get: z.ZodObject<{
233
112
  record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
234
113
  hint: z.ZodOptional<z.ZodString>;
235
- }, "strict", z.ZodTypeAny, {
236
- record: Record<string, unknown>;
237
- hint?: string | undefined;
238
- }, {
239
- record: Record<string, unknown>;
240
- hint?: string | undefined;
241
- }>;
114
+ }, z.core.$strict>;
242
115
  sn_create: z.ZodObject<{
243
116
  sys_id: z.ZodString;
244
117
  number: z.ZodOptional<z.ZodString>;
245
118
  table: z.ZodString;
246
119
  record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
247
- }, "strict", z.ZodTypeAny, {
248
- sys_id: string;
249
- table: string;
250
- record: Record<string, unknown>;
251
- number?: string | undefined;
252
- }, {
253
- sys_id: string;
254
- table: string;
255
- record: Record<string, unknown>;
256
- number?: string | undefined;
257
- }>;
120
+ }, z.core.$strict>;
258
121
  sn_update: z.ZodObject<{
259
122
  sys_id: z.ZodString;
260
123
  record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
261
- }, "strict", z.ZodTypeAny, {
262
- sys_id: string;
263
- record: Record<string, unknown>;
264
- }, {
265
- sys_id: string;
266
- record: Record<string, unknown>;
267
- }>;
124
+ }, z.core.$strict>;
268
125
  sn_incident_add_comment: z.ZodObject<{
269
126
  status: z.ZodLiteral<"appended">;
270
127
  sys_id: z.ZodString;
271
- journal_field: z.ZodEnum<["comments", "work_notes"]>;
272
- }, "strict", z.ZodTypeAny, {
273
- status: "appended";
274
- sys_id: string;
275
- journal_field: "comments" | "work_notes";
276
- }, {
277
- status: "appended";
278
- sys_id: string;
279
- journal_field: "comments" | "work_notes";
280
- }>;
128
+ journal_field: z.ZodEnum<{
129
+ comments: "comments";
130
+ work_notes: "work_notes";
131
+ }>;
132
+ }, z.core.$strict>;
281
133
  sn_incident_add_work_note: z.ZodObject<{
282
134
  status: z.ZodLiteral<"appended">;
283
135
  sys_id: z.ZodString;
284
- journal_field: z.ZodEnum<["comments", "work_notes"]>;
285
- }, "strict", z.ZodTypeAny, {
286
- status: "appended";
287
- sys_id: string;
288
- journal_field: "comments" | "work_notes";
289
- }, {
290
- status: "appended";
291
- sys_id: string;
292
- journal_field: "comments" | "work_notes";
293
- }>;
136
+ journal_field: z.ZodEnum<{
137
+ comments: "comments";
138
+ work_notes: "work_notes";
139
+ }>;
140
+ }, z.core.$strict>;
294
141
  sn_delete: z.ZodObject<{
295
142
  status: z.ZodLiteral<"deleted">;
296
143
  sys_id: z.ZodString;
297
144
  table: z.ZodString;
298
- }, "strict", z.ZodTypeAny, {
299
- status: "deleted";
300
- sys_id: string;
301
- table: string;
302
- }, {
303
- status: "deleted";
304
- sys_id: string;
305
- table: string;
306
- }>;
145
+ }, z.core.$strict>;
307
146
  sn_batch: z.ZodObject<{
308
- action: z.ZodEnum<["update", "delete"]>;
147
+ action: z.ZodEnum<{
148
+ delete: "delete";
149
+ update: "update";
150
+ }>;
309
151
  table: z.ZodString;
310
152
  matched: z.ZodNumber;
311
153
  dry_run: z.ZodOptional<z.ZodBoolean>;
312
154
  message: z.ZodOptional<z.ZodString>;
155
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
156
+ sys_id: z.ZodString;
157
+ display: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strict>>>;
159
+ fields_to_write: z.ZodOptional<z.ZodArray<z.ZodString>>;
160
+ note: z.ZodOptional<z.ZodString>;
313
161
  processed: z.ZodOptional<z.ZodNumber>;
314
162
  failed: z.ZodOptional<z.ZodNumber>;
315
- }, "strict", z.ZodTypeAny, {
316
- action: "delete" | "update";
317
- table: string;
318
- matched: number;
319
- message?: string | undefined;
320
- failed?: number | undefined;
321
- dry_run?: boolean | undefined;
322
- processed?: number | undefined;
323
- }, {
324
- action: "delete" | "update";
325
- table: string;
326
- matched: number;
327
- message?: string | undefined;
328
- failed?: number | undefined;
329
- dry_run?: boolean | undefined;
330
- processed?: number | undefined;
331
- }>;
163
+ }, z.core.$strict>;
332
164
  sn_aggregate: z.ZodObject<{
333
- result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
334
- }, "strict", z.ZodTypeAny, {
335
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
336
- }, {
337
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
338
- }>;
165
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
166
+ }, z.core.$strict>;
339
167
  sn_schema: z.ZodObject<{
340
- fields: z.ZodArray<z.ZodUnknown, "many">;
341
- }, "strict", z.ZodTypeAny, {
342
- fields: unknown[];
343
- }, {
344
- fields: unknown[];
345
- }>;
168
+ fields: z.ZodArray<z.ZodUnknown>;
169
+ }, z.core.$strict>;
346
170
  sn_health: z.ZodObject<{
347
171
  health: z.ZodRecord<z.ZodString, z.ZodUnknown>;
348
- }, "strict", z.ZodTypeAny, {
349
- health: Record<string, unknown>;
350
- }, {
351
- health: Record<string, unknown>;
352
- }>;
172
+ }, z.core.$strict>;
353
173
  sn_attach: z.ZodObject<{
354
- action: z.ZodEnum<["list", "download", "upload"]>;
355
- result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
356
- }, "strict", z.ZodTypeAny, {
357
- action: "list" | "download" | "upload";
358
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
359
- }, {
360
- action: "list" | "download" | "upload";
361
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
362
- }>;
174
+ action: z.ZodEnum<{
175
+ list: "list";
176
+ download: "download";
177
+ upload: "upload";
178
+ }>;
179
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
180
+ }, z.core.$strict>;
363
181
  sn_relationships: z.ZodObject<{
364
182
  root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
365
- relationships: z.ZodArray<z.ZodUnknown, "many">;
183
+ relationships: z.ZodArray<z.ZodUnknown>;
366
184
  meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
367
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
368
- }, "strict", z.ZodTypeAny, {
369
- root: Record<string, unknown>;
370
- relationships: unknown[];
371
- meta: Record<string, unknown>;
372
- warnings?: string[] | undefined;
373
- }, {
374
- root: Record<string, unknown>;
375
- relationships: unknown[];
376
- meta: Record<string, unknown>;
377
- warnings?: string[] | undefined;
378
- }>;
185
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
+ }, z.core.$strict>;
379
187
  sn_syslog: z.ZodObject<{
380
188
  record_count: z.ZodNumber;
381
189
  total: z.ZodOptional<z.ZodNumber>;
@@ -384,58 +192,32 @@ declare const productionDataSchemas: Readonly<{
384
192
  hint: z.ZodOptional<z.ZodString>;
385
193
  truncated: z.ZodOptional<z.ZodBoolean>;
386
194
  dropped_records: z.ZodOptional<z.ZodNumber>;
387
- results: z.ZodArray<z.ZodUnknown, "many">;
388
- }, "strict", z.ZodTypeAny, {
389
- results: unknown[];
390
- has_more: boolean;
391
- record_count: number;
392
- total?: number | undefined;
393
- next_offset?: number | undefined;
394
- truncated?: boolean | undefined;
395
- dropped_records?: number | undefined;
396
- hint?: string | undefined;
397
- }, {
398
- results: unknown[];
399
- has_more: boolean;
400
- record_count: number;
401
- total?: number | undefined;
402
- next_offset?: number | undefined;
403
- truncated?: boolean | undefined;
404
- dropped_records?: number | undefined;
405
- hint?: string | undefined;
406
- }>;
195
+ results: z.ZodArray<z.ZodUnknown>;
196
+ }, z.core.$strict>;
407
197
  sn_codesearch: z.ZodObject<{
408
- results: z.ZodArray<z.ZodUnknown, "many">;
409
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
410
- }, "strict", z.ZodTypeAny, {
411
- results: unknown[];
412
- warnings?: string[] | undefined;
413
- }, {
414
- results: unknown[];
415
- warnings?: string[] | undefined;
416
- }>;
198
+ results: z.ZodArray<z.ZodUnknown>;
199
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
200
+ }, z.core.$strict>;
417
201
  sn_discover: z.ZodObject<{
418
- results: z.ZodArray<z.ZodUnknown, "many">;
419
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
420
- }, "strict", z.ZodTypeAny, {
421
- results: unknown[];
422
- warnings?: string[] | undefined;
423
- }, {
424
- results: unknown[];
425
- warnings?: string[] | undefined;
426
- }>;
202
+ results: z.ZodArray<z.ZodUnknown>;
203
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
204
+ }, z.core.$strict>;
427
205
  sn_atf: z.ZodObject<{
428
- action: z.ZodEnum<["list", "suites", "run", "run-suite", "results"]>;
429
- result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
430
- }, "strict", z.ZodTypeAny, {
431
- action: "suites" | "run" | "list" | "results" | "run-suite";
432
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
433
- }, {
434
- action: "suites" | "run" | "list" | "results" | "run-suite";
435
- result: string | number | boolean | unknown[] | Record<string, unknown> | null;
436
- }>;
206
+ action: z.ZodEnum<{
207
+ suites: "suites";
208
+ list: "list";
209
+ results: "results";
210
+ run: "run";
211
+ "run-suite": "run-suite";
212
+ }>;
213
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
214
+ }, z.core.$strict>;
437
215
  sn_atf_run: z.ZodObject<{
438
- outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
216
+ outcome: z.ZodEnum<{
217
+ unavailable: "unavailable";
218
+ running: "running";
219
+ completed: "completed";
220
+ }>;
439
221
  progress_id: z.ZodOptional<z.ZodString>;
440
222
  result_id: z.ZodOptional<z.ZodString>;
441
223
  suite_id: z.ZodOptional<z.ZodString>;
@@ -445,74 +227,38 @@ declare const productionDataSchemas: Readonly<{
445
227
  suiteId: z.ZodString;
446
228
  startedAt: z.ZodString;
447
229
  finishedAt: z.ZodOptional<z.ZodString>;
448
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
230
+ status: z.ZodEnum<{
231
+ error: "error";
232
+ success: "success";
233
+ pending: "pending";
234
+ running: "running";
235
+ failure: "failure";
236
+ skipped: "skipped";
237
+ canceled: "canceled";
238
+ success_with_warnings: "success_with_warnings";
239
+ }>;
449
240
  durationMs: z.ZodNumber;
450
241
  counts: z.ZodObject<{
451
242
  passed: z.ZodNumber;
452
243
  failed: z.ZodNumber;
453
244
  errors: z.ZodNumber;
454
245
  skipped: z.ZodNumber;
455
- }, "strict", z.ZodTypeAny, {
456
- skipped: number;
457
- passed: number;
458
- failed: number;
459
- errors: number;
460
- }, {
461
- skipped: number;
462
- passed: number;
463
- failed: number;
464
- errors: number;
465
- }>;
246
+ }, z.core.$strict>;
466
247
  tests: z.ZodArray<z.ZodObject<{
467
248
  testId: z.ZodString;
468
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
249
+ status: z.ZodEnum<{
250
+ error: "error";
251
+ success: "success";
252
+ pending: "pending";
253
+ running: "running";
254
+ failure: "failure";
255
+ skipped: "skipped";
256
+ canceled: "canceled";
257
+ success_with_warnings: "success_with_warnings";
258
+ }>;
469
259
  firstFailure: z.ZodOptional<z.ZodString>;
470
- }, "strict", z.ZodTypeAny, {
471
- testId: string;
472
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
473
- firstFailure?: string | undefined;
474
- }, {
475
- testId: string;
476
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
477
- firstFailure?: string | undefined;
478
- }>, "many">;
479
- }, "strict", z.ZodTypeAny, {
480
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
481
- runId: string;
482
- suiteId: string;
483
- startedAt: string;
484
- durationMs: number;
485
- counts: {
486
- skipped: number;
487
- passed: number;
488
- failed: number;
489
- errors: number;
490
- };
491
- tests: {
492
- testId: string;
493
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
494
- firstFailure?: string | undefined;
495
- }[];
496
- finishedAt?: string | undefined;
497
- }, {
498
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
499
- runId: string;
500
- suiteId: string;
501
- startedAt: string;
502
- durationMs: number;
503
- counts: {
504
- skipped: number;
505
- passed: number;
506
- failed: number;
507
- errors: number;
508
- };
509
- tests: {
510
- testId: string;
511
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
512
- firstFailure?: string | undefined;
513
- }[];
514
- finishedAt?: string | undefined;
515
- }>>;
260
+ }, z.core.$strict>>;
261
+ }, z.core.$strict>>;
516
262
  failures: z.ZodArray<z.ZodObject<{
517
263
  test_id: z.ZodString;
518
264
  test_name: z.ZodString;
@@ -522,25 +268,7 @@ declare const productionDataSchemas: Readonly<{
522
268
  test_result_id: z.ZodString;
523
269
  step_result_id: z.ZodOptional<z.ZodString>;
524
270
  step_id: z.ZodOptional<z.ZodString>;
525
- }, "strict", z.ZodTypeAny, {
526
- message: string;
527
- step: string;
528
- test_id: string;
529
- test_name: string;
530
- message_truncated: boolean;
531
- test_result_id: string;
532
- step_result_id?: string | undefined;
533
- step_id?: string | undefined;
534
- }, {
535
- message: string;
536
- step: string;
537
- test_id: string;
538
- test_name: string;
539
- message_truncated: boolean;
540
- test_result_id: string;
541
- step_result_id?: string | undefined;
542
- step_id?: string | undefined;
543
- }>, "many">;
271
+ }, z.core.$strict>>;
544
272
  pagination: z.ZodOptional<z.ZodObject<{
545
273
  tests_total: z.ZodNumber;
546
274
  tests_offset: z.ZodNumber;
@@ -548,202 +276,48 @@ declare const productionDataSchemas: Readonly<{
548
276
  failures_total: z.ZodNumber;
549
277
  failures_offset: z.ZodNumber;
550
278
  failures_next_offset: z.ZodOptional<z.ZodNumber>;
551
- }, "strict", z.ZodTypeAny, {
552
- tests_total: number;
553
- tests_offset: number;
554
- failures_total: number;
555
- failures_offset: number;
556
- tests_next_offset?: number | undefined;
557
- failures_next_offset?: number | undefined;
558
- }, {
559
- tests_total: number;
560
- tests_offset: number;
561
- failures_total: number;
562
- failures_offset: number;
563
- tests_next_offset?: number | undefined;
564
- failures_next_offset?: number | undefined;
565
- }>>;
279
+ }, z.core.$strict>>;
566
280
  comparison: z.ZodOptional<z.ZodObject<{
567
281
  previous_run: z.ZodString;
568
282
  current_run: z.ZodString;
569
- new_failures: z.ZodArray<z.ZodString, "many">;
570
- fixed: z.ZodArray<z.ZodString, "many">;
571
- still_failing: z.ZodArray<z.ZodString, "many">;
572
- flaky: z.ZodArray<z.ZodString, "many">;
573
- status_changed: z.ZodArray<z.ZodString, "many">;
283
+ new_failures: z.ZodArray<z.ZodString>;
284
+ fixed: z.ZodArray<z.ZodString>;
285
+ still_failing: z.ZodArray<z.ZodString>;
286
+ flaky: z.ZodArray<z.ZodString>;
287
+ status_changed: z.ZodArray<z.ZodString>;
574
288
  duration_change_ms: z.ZodNumber;
575
289
  duration_regression: z.ZodBoolean;
576
- }, "strict", z.ZodTypeAny, {
577
- fixed: string[];
578
- previous_run: string;
579
- current_run: string;
580
- new_failures: string[];
581
- still_failing: string[];
582
- flaky: string[];
583
- status_changed: string[];
584
- duration_change_ms: number;
585
- duration_regression: boolean;
586
- }, {
587
- fixed: string[];
588
- previous_run: string;
589
- current_run: string;
590
- new_failures: string[];
591
- still_failing: string[];
592
- flaky: string[];
593
- status_changed: string[];
594
- duration_change_ms: number;
595
- duration_regression: boolean;
596
- }>>;
597
- warnings: z.ZodArray<z.ZodString, "many">;
598
- }, "strict", z.ZodTypeAny, {
599
- outcome: "running" | "completed" | "unavailable";
600
- failures: {
601
- message: string;
602
- step: string;
603
- test_id: string;
604
- test_name: string;
605
- message_truncated: boolean;
606
- test_result_id: string;
607
- step_result_id?: string | undefined;
608
- step_id?: string | undefined;
609
- }[];
610
- warnings: string[];
611
- run?: {
612
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
613
- runId: string;
614
- suiteId: string;
615
- startedAt: string;
616
- durationMs: number;
617
- counts: {
618
- skipped: number;
619
- passed: number;
620
- failed: number;
621
- errors: number;
622
- };
623
- tests: {
624
- testId: string;
625
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
626
- firstFailure?: string | undefined;
627
- }[];
628
- finishedAt?: string | undefined;
629
- } | undefined;
630
- suite_name?: string | undefined;
631
- progress_id?: string | undefined;
632
- result_id?: string | undefined;
633
- suite_id?: string | undefined;
634
- pagination?: {
635
- tests_total: number;
636
- tests_offset: number;
637
- failures_total: number;
638
- failures_offset: number;
639
- tests_next_offset?: number | undefined;
640
- failures_next_offset?: number | undefined;
641
- } | undefined;
642
- comparison?: {
643
- fixed: string[];
644
- previous_run: string;
645
- current_run: string;
646
- new_failures: string[];
647
- still_failing: string[];
648
- flaky: string[];
649
- status_changed: string[];
650
- duration_change_ms: number;
651
- duration_regression: boolean;
652
- } | undefined;
653
- }, {
654
- outcome: "running" | "completed" | "unavailable";
655
- failures: {
656
- message: string;
657
- step: string;
658
- test_id: string;
659
- test_name: string;
660
- message_truncated: boolean;
661
- test_result_id: string;
662
- step_result_id?: string | undefined;
663
- step_id?: string | undefined;
664
- }[];
665
- warnings: string[];
666
- run?: {
667
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
668
- runId: string;
669
- suiteId: string;
670
- startedAt: string;
671
- durationMs: number;
672
- counts: {
673
- skipped: number;
674
- passed: number;
675
- failed: number;
676
- errors: number;
677
- };
678
- tests: {
679
- testId: string;
680
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
681
- firstFailure?: string | undefined;
682
- }[];
683
- finishedAt?: string | undefined;
684
- } | undefined;
685
- suite_name?: string | undefined;
686
- progress_id?: string | undefined;
687
- result_id?: string | undefined;
688
- suite_id?: string | undefined;
689
- pagination?: {
690
- tests_total: number;
691
- tests_offset: number;
692
- failures_total: number;
693
- failures_offset: number;
694
- tests_next_offset?: number | undefined;
695
- failures_next_offset?: number | undefined;
696
- } | undefined;
697
- comparison?: {
698
- fixed: string[];
699
- previous_run: string;
700
- current_run: string;
701
- new_failures: string[];
702
- still_failing: string[];
703
- flaky: string[];
704
- status_changed: string[];
705
- duration_change_ms: number;
706
- duration_regression: boolean;
707
- } | undefined;
708
- }>;
290
+ }, z.core.$strict>>;
291
+ warnings: z.ZodArray<z.ZodString>;
292
+ }, z.core.$strict>;
709
293
  sn_atf_results: z.ZodObject<{
710
- action: z.ZodEnum<["get", "step", "history", "compare"]>;
294
+ action: z.ZodEnum<{
295
+ get: "get";
296
+ step: "step";
297
+ history: "history";
298
+ compare: "compare";
299
+ }>;
711
300
  step_detail: z.ZodOptional<z.ZodObject<{
712
301
  step_result_id: z.ZodString;
713
302
  test_result_id: z.ZodString;
714
303
  step_id: z.ZodOptional<z.ZodString>;
715
304
  step: z.ZodString;
716
305
  status: z.ZodString;
717
- field: z.ZodEnum<["summary", "output"]>;
306
+ field: z.ZodEnum<{
307
+ output: "output";
308
+ summary: "summary";
309
+ }>;
718
310
  text: z.ZodString;
719
311
  offset: z.ZodNumber;
720
312
  total_characters: z.ZodNumber;
721
313
  next_offset: z.ZodOptional<z.ZodNumber>;
722
- }, "strict", z.ZodTypeAny, {
723
- status: string;
724
- text: string;
725
- field: "output" | "summary";
726
- step: string;
727
- offset: number;
728
- test_result_id: string;
729
- step_result_id: string;
730
- total_characters: number;
731
- step_id?: string | undefined;
732
- next_offset?: number | undefined;
733
- }, {
734
- status: string;
735
- text: string;
736
- field: "output" | "summary";
737
- step: string;
738
- offset: number;
739
- test_result_id: string;
740
- step_result_id: string;
741
- total_characters: number;
742
- step_id?: string | undefined;
743
- next_offset?: number | undefined;
744
- }>>;
314
+ }, z.core.$strict>>;
745
315
  execution: z.ZodOptional<z.ZodObject<{
746
- outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
316
+ outcome: z.ZodEnum<{
317
+ unavailable: "unavailable";
318
+ running: "running";
319
+ completed: "completed";
320
+ }>;
747
321
  progress_id: z.ZodOptional<z.ZodString>;
748
322
  result_id: z.ZodOptional<z.ZodString>;
749
323
  suite_id: z.ZodOptional<z.ZodString>;
@@ -753,74 +327,38 @@ declare const productionDataSchemas: Readonly<{
753
327
  suiteId: z.ZodString;
754
328
  startedAt: z.ZodString;
755
329
  finishedAt: z.ZodOptional<z.ZodString>;
756
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
330
+ status: z.ZodEnum<{
331
+ error: "error";
332
+ success: "success";
333
+ pending: "pending";
334
+ running: "running";
335
+ failure: "failure";
336
+ skipped: "skipped";
337
+ canceled: "canceled";
338
+ success_with_warnings: "success_with_warnings";
339
+ }>;
757
340
  durationMs: z.ZodNumber;
758
341
  counts: z.ZodObject<{
759
342
  passed: z.ZodNumber;
760
343
  failed: z.ZodNumber;
761
344
  errors: z.ZodNumber;
762
345
  skipped: z.ZodNumber;
763
- }, "strict", z.ZodTypeAny, {
764
- skipped: number;
765
- passed: number;
766
- failed: number;
767
- errors: number;
768
- }, {
769
- skipped: number;
770
- passed: number;
771
- failed: number;
772
- errors: number;
773
- }>;
346
+ }, z.core.$strict>;
774
347
  tests: z.ZodArray<z.ZodObject<{
775
348
  testId: z.ZodString;
776
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
349
+ status: z.ZodEnum<{
350
+ error: "error";
351
+ success: "success";
352
+ pending: "pending";
353
+ running: "running";
354
+ failure: "failure";
355
+ skipped: "skipped";
356
+ canceled: "canceled";
357
+ success_with_warnings: "success_with_warnings";
358
+ }>;
777
359
  firstFailure: z.ZodOptional<z.ZodString>;
778
- }, "strict", z.ZodTypeAny, {
779
- testId: string;
780
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
781
- firstFailure?: string | undefined;
782
- }, {
783
- testId: string;
784
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
785
- firstFailure?: string | undefined;
786
- }>, "many">;
787
- }, "strict", z.ZodTypeAny, {
788
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
789
- runId: string;
790
- suiteId: string;
791
- startedAt: string;
792
- durationMs: number;
793
- counts: {
794
- skipped: number;
795
- passed: number;
796
- failed: number;
797
- errors: number;
798
- };
799
- tests: {
800
- testId: string;
801
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
802
- firstFailure?: string | undefined;
803
- }[];
804
- finishedAt?: string | undefined;
805
- }, {
806
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
807
- runId: string;
808
- suiteId: string;
809
- startedAt: string;
810
- durationMs: number;
811
- counts: {
812
- skipped: number;
813
- passed: number;
814
- failed: number;
815
- errors: number;
816
- };
817
- tests: {
818
- testId: string;
819
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
820
- firstFailure?: string | undefined;
821
- }[];
822
- finishedAt?: string | undefined;
823
- }>>;
360
+ }, z.core.$strict>>;
361
+ }, z.core.$strict>>;
824
362
  failures: z.ZodArray<z.ZodObject<{
825
363
  test_id: z.ZodString;
826
364
  test_name: z.ZodString;
@@ -830,25 +368,7 @@ declare const productionDataSchemas: Readonly<{
830
368
  test_result_id: z.ZodString;
831
369
  step_result_id: z.ZodOptional<z.ZodString>;
832
370
  step_id: z.ZodOptional<z.ZodString>;
833
- }, "strict", z.ZodTypeAny, {
834
- message: string;
835
- step: string;
836
- test_id: string;
837
- test_name: string;
838
- message_truncated: boolean;
839
- test_result_id: string;
840
- step_result_id?: string | undefined;
841
- step_id?: string | undefined;
842
- }, {
843
- message: string;
844
- step: string;
845
- test_id: string;
846
- test_name: string;
847
- message_truncated: boolean;
848
- test_result_id: string;
849
- step_result_id?: string | undefined;
850
- step_id?: string | undefined;
851
- }>, "many">;
371
+ }, z.core.$strict>>;
852
372
  pagination: z.ZodOptional<z.ZodObject<{
853
373
  tests_total: z.ZodNumber;
854
374
  tests_offset: z.ZodNumber;
@@ -856,729 +376,2107 @@ declare const productionDataSchemas: Readonly<{
856
376
  failures_total: z.ZodNumber;
857
377
  failures_offset: z.ZodNumber;
858
378
  failures_next_offset: z.ZodOptional<z.ZodNumber>;
859
- }, "strict", z.ZodTypeAny, {
860
- tests_total: number;
861
- tests_offset: number;
862
- failures_total: number;
863
- failures_offset: number;
864
- tests_next_offset?: number | undefined;
865
- failures_next_offset?: number | undefined;
866
- }, {
867
- tests_total: number;
868
- tests_offset: number;
869
- failures_total: number;
870
- failures_offset: number;
871
- tests_next_offset?: number | undefined;
872
- failures_next_offset?: number | undefined;
873
- }>>;
379
+ }, z.core.$strict>>;
874
380
  comparison: z.ZodOptional<z.ZodObject<{
875
381
  previous_run: z.ZodString;
876
382
  current_run: z.ZodString;
877
- new_failures: z.ZodArray<z.ZodString, "many">;
878
- fixed: z.ZodArray<z.ZodString, "many">;
879
- still_failing: z.ZodArray<z.ZodString, "many">;
880
- flaky: z.ZodArray<z.ZodString, "many">;
881
- status_changed: z.ZodArray<z.ZodString, "many">;
383
+ new_failures: z.ZodArray<z.ZodString>;
384
+ fixed: z.ZodArray<z.ZodString>;
385
+ still_failing: z.ZodArray<z.ZodString>;
386
+ flaky: z.ZodArray<z.ZodString>;
387
+ status_changed: z.ZodArray<z.ZodString>;
882
388
  duration_change_ms: z.ZodNumber;
883
389
  duration_regression: z.ZodBoolean;
884
- }, "strict", z.ZodTypeAny, {
885
- fixed: string[];
886
- previous_run: string;
887
- current_run: string;
888
- new_failures: string[];
889
- still_failing: string[];
890
- flaky: string[];
891
- status_changed: string[];
892
- duration_change_ms: number;
893
- duration_regression: boolean;
894
- }, {
895
- fixed: string[];
896
- previous_run: string;
897
- current_run: string;
898
- new_failures: string[];
899
- still_failing: string[];
900
- flaky: string[];
901
- status_changed: string[];
902
- duration_change_ms: number;
903
- duration_regression: boolean;
904
- }>>;
905
- warnings: z.ZodArray<z.ZodString, "many">;
906
- }, "strict", z.ZodTypeAny, {
907
- outcome: "running" | "completed" | "unavailable";
908
- failures: {
909
- message: string;
910
- step: string;
911
- test_id: string;
912
- test_name: string;
913
- message_truncated: boolean;
914
- test_result_id: string;
915
- step_result_id?: string | undefined;
916
- step_id?: string | undefined;
917
- }[];
918
- warnings: string[];
919
- run?: {
920
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
921
- runId: string;
922
- suiteId: string;
923
- startedAt: string;
924
- durationMs: number;
925
- counts: {
926
- skipped: number;
927
- passed: number;
928
- failed: number;
929
- errors: number;
930
- };
931
- tests: {
932
- testId: string;
933
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
934
- firstFailure?: string | undefined;
935
- }[];
936
- finishedAt?: string | undefined;
937
- } | undefined;
938
- suite_name?: string | undefined;
939
- progress_id?: string | undefined;
940
- result_id?: string | undefined;
941
- suite_id?: string | undefined;
942
- pagination?: {
943
- tests_total: number;
944
- tests_offset: number;
945
- failures_total: number;
946
- failures_offset: number;
947
- tests_next_offset?: number | undefined;
948
- failures_next_offset?: number | undefined;
949
- } | undefined;
950
- comparison?: {
951
- fixed: string[];
952
- previous_run: string;
953
- current_run: string;
954
- new_failures: string[];
955
- still_failing: string[];
956
- flaky: string[];
957
- status_changed: string[];
958
- duration_change_ms: number;
959
- duration_regression: boolean;
960
- } | undefined;
961
- }, {
962
- outcome: "running" | "completed" | "unavailable";
963
- failures: {
964
- message: string;
965
- step: string;
966
- test_id: string;
967
- test_name: string;
968
- message_truncated: boolean;
969
- test_result_id: string;
970
- step_result_id?: string | undefined;
971
- step_id?: string | undefined;
972
- }[];
973
- warnings: string[];
974
- run?: {
975
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
976
- runId: string;
977
- suiteId: string;
978
- startedAt: string;
979
- durationMs: number;
980
- counts: {
981
- skipped: number;
982
- passed: number;
983
- failed: number;
984
- errors: number;
985
- };
986
- tests: {
987
- testId: string;
988
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
989
- firstFailure?: string | undefined;
990
- }[];
991
- finishedAt?: string | undefined;
992
- } | undefined;
993
- suite_name?: string | undefined;
994
- progress_id?: string | undefined;
995
- result_id?: string | undefined;
996
- suite_id?: string | undefined;
997
- pagination?: {
998
- tests_total: number;
999
- tests_offset: number;
1000
- failures_total: number;
1001
- failures_offset: number;
1002
- tests_next_offset?: number | undefined;
1003
- failures_next_offset?: number | undefined;
1004
- } | undefined;
1005
- comparison?: {
1006
- fixed: string[];
1007
- previous_run: string;
1008
- current_run: string;
1009
- new_failures: string[];
1010
- still_failing: string[];
1011
- flaky: string[];
1012
- status_changed: string[];
1013
- duration_change_ms: number;
1014
- duration_regression: boolean;
1015
- } | undefined;
1016
- }>>;
390
+ }, z.core.$strict>>;
391
+ warnings: z.ZodArray<z.ZodString>;
392
+ }, z.core.$strict>>;
1017
393
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1018
394
  runId: z.ZodString;
1019
395
  suiteId: z.ZodString;
1020
396
  startedAt: z.ZodString;
1021
397
  finishedAt: z.ZodOptional<z.ZodString>;
1022
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
398
+ status: z.ZodEnum<{
399
+ error: "error";
400
+ success: "success";
401
+ pending: "pending";
402
+ running: "running";
403
+ failure: "failure";
404
+ skipped: "skipped";
405
+ canceled: "canceled";
406
+ success_with_warnings: "success_with_warnings";
407
+ }>;
1023
408
  durationMs: z.ZodNumber;
1024
409
  counts: z.ZodObject<{
1025
410
  passed: z.ZodNumber;
1026
411
  failed: z.ZodNumber;
1027
412
  errors: z.ZodNumber;
1028
413
  skipped: z.ZodNumber;
1029
- }, "strict", z.ZodTypeAny, {
1030
- skipped: number;
1031
- passed: number;
1032
- failed: number;
1033
- errors: number;
1034
- }, {
1035
- skipped: number;
1036
- passed: number;
1037
- failed: number;
1038
- errors: number;
1039
- }>;
414
+ }, z.core.$strict>;
1040
415
  tests: z.ZodArray<z.ZodObject<{
1041
416
  testId: z.ZodString;
1042
- status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
417
+ status: z.ZodEnum<{
418
+ error: "error";
419
+ success: "success";
420
+ pending: "pending";
421
+ running: "running";
422
+ failure: "failure";
423
+ skipped: "skipped";
424
+ canceled: "canceled";
425
+ success_with_warnings: "success_with_warnings";
426
+ }>;
1043
427
  firstFailure: z.ZodOptional<z.ZodString>;
1044
- }, "strict", z.ZodTypeAny, {
1045
- testId: string;
1046
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1047
- firstFailure?: string | undefined;
1048
- }, {
1049
- testId: string;
1050
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1051
- firstFailure?: string | undefined;
1052
- }>, "many">;
1053
- }, "strict", z.ZodTypeAny, {
1054
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1055
- runId: string;
1056
- suiteId: string;
1057
- startedAt: string;
1058
- durationMs: number;
1059
- counts: {
1060
- skipped: number;
1061
- passed: number;
1062
- failed: number;
1063
- errors: number;
1064
- };
1065
- tests: {
1066
- testId: string;
1067
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1068
- firstFailure?: string | undefined;
1069
- }[];
1070
- finishedAt?: string | undefined;
1071
- }, {
1072
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1073
- runId: string;
1074
- suiteId: string;
1075
- startedAt: string;
1076
- durationMs: number;
1077
- counts: {
1078
- skipped: number;
1079
- passed: number;
1080
- failed: number;
1081
- errors: number;
1082
- };
1083
- tests: {
1084
- testId: string;
1085
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1086
- firstFailure?: string | undefined;
1087
- }[];
1088
- finishedAt?: string | undefined;
1089
- }>, "many">>;
428
+ }, z.core.$strict>>;
429
+ }, z.core.$strict>>>;
1090
430
  comparison: z.ZodOptional<z.ZodObject<{
1091
431
  previous_run: z.ZodString;
1092
432
  current_run: z.ZodString;
1093
- new_failures: z.ZodArray<z.ZodString, "many">;
1094
- fixed: z.ZodArray<z.ZodString, "many">;
1095
- still_failing: z.ZodArray<z.ZodString, "many">;
1096
- flaky: z.ZodArray<z.ZodString, "many">;
1097
- status_changed: z.ZodArray<z.ZodString, "many">;
433
+ new_failures: z.ZodArray<z.ZodString>;
434
+ fixed: z.ZodArray<z.ZodString>;
435
+ still_failing: z.ZodArray<z.ZodString>;
436
+ flaky: z.ZodArray<z.ZodString>;
437
+ status_changed: z.ZodArray<z.ZodString>;
1098
438
  duration_change_ms: z.ZodNumber;
1099
439
  duration_regression: z.ZodBoolean;
1100
- }, "strict", z.ZodTypeAny, {
1101
- fixed: string[];
1102
- previous_run: string;
1103
- current_run: string;
1104
- new_failures: string[];
1105
- still_failing: string[];
1106
- flaky: string[];
1107
- status_changed: string[];
1108
- duration_change_ms: number;
1109
- duration_regression: boolean;
1110
- }, {
1111
- fixed: string[];
1112
- previous_run: string;
1113
- current_run: string;
1114
- new_failures: string[];
1115
- still_failing: string[];
1116
- flaky: string[];
1117
- status_changed: string[];
1118
- duration_change_ms: number;
1119
- duration_regression: boolean;
1120
- }>>;
440
+ }, z.core.$strict>>;
1121
441
  message: z.ZodOptional<z.ZodString>;
1122
- }, "strict", z.ZodTypeAny, {
1123
- action: "get" | "step" | "history" | "compare";
1124
- message?: string | undefined;
1125
- execution?: {
1126
- outcome: "running" | "completed" | "unavailable";
1127
- failures: {
1128
- message: string;
1129
- step: string;
1130
- test_id: string;
1131
- test_name: string;
1132
- message_truncated: boolean;
1133
- test_result_id: string;
1134
- step_result_id?: string | undefined;
1135
- step_id?: string | undefined;
1136
- }[];
1137
- warnings: string[];
1138
- run?: {
1139
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1140
- runId: string;
1141
- suiteId: string;
1142
- startedAt: string;
1143
- durationMs: number;
1144
- counts: {
1145
- skipped: number;
1146
- passed: number;
1147
- failed: number;
1148
- errors: number;
1149
- };
1150
- tests: {
1151
- testId: string;
1152
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1153
- firstFailure?: string | undefined;
1154
- }[];
1155
- finishedAt?: string | undefined;
1156
- } | undefined;
1157
- suite_name?: string | undefined;
1158
- progress_id?: string | undefined;
1159
- result_id?: string | undefined;
1160
- suite_id?: string | undefined;
1161
- pagination?: {
1162
- tests_total: number;
1163
- tests_offset: number;
1164
- failures_total: number;
1165
- failures_offset: number;
1166
- tests_next_offset?: number | undefined;
1167
- failures_next_offset?: number | undefined;
1168
- } | undefined;
1169
- comparison?: {
1170
- fixed: string[];
1171
- previous_run: string;
1172
- current_run: string;
1173
- new_failures: string[];
1174
- still_failing: string[];
1175
- flaky: string[];
1176
- status_changed: string[];
1177
- duration_change_ms: number;
1178
- duration_regression: boolean;
1179
- } | undefined;
1180
- } | undefined;
1181
- runs?: {
1182
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1183
- runId: string;
1184
- suiteId: string;
1185
- startedAt: string;
1186
- durationMs: number;
1187
- counts: {
1188
- skipped: number;
1189
- passed: number;
1190
- failed: number;
1191
- errors: number;
1192
- };
1193
- tests: {
1194
- testId: string;
1195
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1196
- firstFailure?: string | undefined;
1197
- }[];
1198
- finishedAt?: string | undefined;
1199
- }[] | undefined;
1200
- comparison?: {
1201
- fixed: string[];
1202
- previous_run: string;
1203
- current_run: string;
1204
- new_failures: string[];
1205
- still_failing: string[];
1206
- flaky: string[];
1207
- status_changed: string[];
1208
- duration_change_ms: number;
1209
- duration_regression: boolean;
1210
- } | undefined;
1211
- step_detail?: {
1212
- status: string;
1213
- text: string;
1214
- field: "output" | "summary";
1215
- step: string;
1216
- offset: number;
1217
- test_result_id: string;
1218
- step_result_id: string;
1219
- total_characters: number;
1220
- step_id?: string | undefined;
1221
- next_offset?: number | undefined;
1222
- } | undefined;
1223
- }, {
1224
- action: "get" | "step" | "history" | "compare";
1225
- message?: string | undefined;
1226
- execution?: {
1227
- outcome: "running" | "completed" | "unavailable";
1228
- failures: {
1229
- message: string;
1230
- step: string;
1231
- test_id: string;
1232
- test_name: string;
1233
- message_truncated: boolean;
1234
- test_result_id: string;
1235
- step_result_id?: string | undefined;
1236
- step_id?: string | undefined;
1237
- }[];
1238
- warnings: string[];
1239
- run?: {
1240
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1241
- runId: string;
1242
- suiteId: string;
1243
- startedAt: string;
1244
- durationMs: number;
1245
- counts: {
1246
- skipped: number;
1247
- passed: number;
1248
- failed: number;
1249
- errors: number;
1250
- };
1251
- tests: {
1252
- testId: string;
1253
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1254
- firstFailure?: string | undefined;
1255
- }[];
1256
- finishedAt?: string | undefined;
1257
- } | undefined;
1258
- suite_name?: string | undefined;
1259
- progress_id?: string | undefined;
1260
- result_id?: string | undefined;
1261
- suite_id?: string | undefined;
1262
- pagination?: {
1263
- tests_total: number;
1264
- tests_offset: number;
1265
- failures_total: number;
1266
- failures_offset: number;
1267
- tests_next_offset?: number | undefined;
1268
- failures_next_offset?: number | undefined;
1269
- } | undefined;
1270
- comparison?: {
1271
- fixed: string[];
1272
- previous_run: string;
1273
- current_run: string;
1274
- new_failures: string[];
1275
- still_failing: string[];
1276
- flaky: string[];
1277
- status_changed: string[];
1278
- duration_change_ms: number;
1279
- duration_regression: boolean;
1280
- } | undefined;
1281
- } | undefined;
1282
- runs?: {
1283
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1284
- runId: string;
1285
- suiteId: string;
1286
- startedAt: string;
1287
- durationMs: number;
1288
- counts: {
1289
- skipped: number;
1290
- passed: number;
1291
- failed: number;
1292
- errors: number;
1293
- };
1294
- tests: {
1295
- testId: string;
1296
- status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
1297
- firstFailure?: string | undefined;
1298
- }[];
1299
- finishedAt?: string | undefined;
1300
- }[] | undefined;
1301
- comparison?: {
1302
- fixed: string[];
1303
- previous_run: string;
1304
- current_run: string;
1305
- new_failures: string[];
1306
- still_failing: string[];
1307
- flaky: string[];
1308
- status_changed: string[];
1309
- duration_change_ms: number;
1310
- duration_regression: boolean;
1311
- } | undefined;
1312
- step_detail?: {
1313
- status: string;
1314
- text: string;
1315
- field: "output" | "summary";
1316
- step: string;
1317
- offset: number;
1318
- test_result_id: string;
1319
- step_result_id: string;
1320
- total_characters: number;
1321
- step_id?: string | undefined;
1322
- next_offset?: number | undefined;
1323
- } | undefined;
1324
- }>;
442
+ }, z.core.$strict>;
1325
443
  sn_atf_readiness: z.ZodObject<{
1326
- verdict: z.ZodEnum<["ready", "blocked", "unverified"]>;
444
+ verdict: z.ZodEnum<{
445
+ ready: "ready";
446
+ blocked: "blocked";
447
+ unverified: "unverified";
448
+ }>;
1327
449
  checks: z.ZodArray<z.ZodObject<{
1328
450
  check: z.ZodString;
1329
- status: z.ZodEnum<["pass", "fail", "warn"]>;
451
+ status: z.ZodEnum<{
452
+ warn: "warn";
453
+ pass: "pass";
454
+ fail: "fail";
455
+ }>;
1330
456
  message: z.ZodString;
1331
- }, "strict", z.ZodTypeAny, {
1332
- message: string;
1333
- status: "warn" | "pass" | "fail";
1334
- check: string;
1335
- }, {
1336
- message: string;
1337
- status: "warn" | "pass" | "fail";
1338
- check: string;
1339
- }>, "many">;
1340
- }, "strict", z.ZodTypeAny, {
1341
- verdict: "ready" | "blocked" | "unverified";
1342
- checks: {
1343
- message: string;
1344
- status: "warn" | "pass" | "fail";
1345
- check: string;
1346
- }[];
1347
- }, {
1348
- verdict: "ready" | "blocked" | "unverified";
1349
- checks: {
1350
- message: string;
1351
- status: "warn" | "pass" | "fail";
1352
- check: string;
1353
- }[];
1354
- }>;
457
+ }, z.core.$strict>>;
458
+ }, z.core.$strict>;
1355
459
  sn_atf_author: z.ZodObject<{
1356
- action: z.ZodEnum<["create_test", "create_suite", "add_tests_to_suite", "add_steps", "list_step_types"]>;
1357
- step_types: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1358
- outcome: z.ZodEnum<["created", "failed", "catalog"]>;
460
+ action: z.ZodEnum<{
461
+ create_test: "create_test";
462
+ create_suite: "create_suite";
463
+ add_tests_to_suite: "add_tests_to_suite";
464
+ add_steps: "add_steps";
465
+ list_step_types: "list_step_types";
466
+ }>;
467
+ step_types: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
468
+ outcome: z.ZodEnum<{
469
+ failed: "failed";
470
+ created: "created";
471
+ catalog: "catalog";
472
+ }>;
1359
473
  results: z.ZodArray<z.ZodObject<{
1360
- table: z.ZodEnum<["sys_atf_test", "sys_atf_test_suite", "sys_atf_test_suite_test", "sys_atf_step"]>;
474
+ table: z.ZodEnum<{
475
+ sys_atf_step: "sys_atf_step";
476
+ sys_atf_test: "sys_atf_test";
477
+ sys_atf_test_suite: "sys_atf_test_suite";
478
+ sys_atf_test_suite_test: "sys_atf_test_suite_test";
479
+ }>;
1361
480
  sys_id: z.ZodString;
1362
- }, "strict", z.ZodTypeAny, {
1363
- sys_id: string;
1364
- table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
1365
- }, {
1366
- sys_id: string;
1367
- table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
1368
- }>, "many">;
1369
- rolled_back: z.ZodArray<z.ZodString, "many">;
1370
- rollback_failed: z.ZodArray<z.ZodString, "many">;
481
+ }, z.core.$strict>>;
482
+ rolled_back: z.ZodArray<z.ZodString>;
483
+ rollback_failed: z.ZodArray<z.ZodString>;
1371
484
  uncertain_insert: z.ZodBoolean;
1372
485
  message: z.ZodOptional<z.ZodString>;
1373
- }, "strict", z.ZodTypeAny, {
1374
- action: "create_test" | "create_suite" | "add_tests_to_suite" | "add_steps" | "list_step_types";
1375
- outcome: "failed" | "created" | "catalog";
1376
- results: {
1377
- sys_id: string;
1378
- table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
1379
- }[];
1380
- rolled_back: string[];
1381
- rollback_failed: string[];
1382
- uncertain_insert: boolean;
1383
- message?: string | undefined;
1384
- step_types?: Record<string, unknown>[] | undefined;
1385
- }, {
1386
- action: "create_test" | "create_suite" | "add_tests_to_suite" | "add_steps" | "list_step_types";
1387
- outcome: "failed" | "created" | "catalog";
1388
- results: {
1389
- sys_id: string;
1390
- table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
1391
- }[];
1392
- rolled_back: string[];
1393
- rollback_failed: string[];
1394
- uncertain_insert: boolean;
1395
- message?: string | undefined;
1396
- step_types?: Record<string, unknown>[] | undefined;
1397
- }>;
486
+ }, z.core.$strict>;
487
+ sn_flow_view: z.ZodObject<{
488
+ schema_version: z.ZodLiteral<1>;
489
+ source: z.ZodEnum<{
490
+ table: "table";
491
+ }>;
492
+ flows: z.ZodArray<z.ZodObject<{
493
+ index: z.ZodNumber;
494
+ source: z.ZodEnum<{
495
+ table: "table";
496
+ }>;
497
+ sys_id: z.ZodString;
498
+ name: z.ZodObject<{
499
+ text: z.ZodNullable<z.ZodString>;
500
+ redacted: z.ZodOptional<z.ZodEnum<{
501
+ limit: "limit";
502
+ field_policy: "field_policy";
503
+ sensitive_name: "sensitive_name";
504
+ sensitive_type: "sensitive_type";
505
+ not_requested: "not_requested";
506
+ decode_failed: "decode_failed";
507
+ }>>;
508
+ original_length: z.ZodOptional<z.ZodNumber>;
509
+ }, z.core.$strict>;
510
+ description: z.ZodObject<{
511
+ text: z.ZodNullable<z.ZodString>;
512
+ redacted: z.ZodOptional<z.ZodEnum<{
513
+ limit: "limit";
514
+ field_policy: "field_policy";
515
+ sensitive_name: "sensitive_name";
516
+ sensitive_type: "sensitive_type";
517
+ not_requested: "not_requested";
518
+ decode_failed: "decode_failed";
519
+ }>>;
520
+ original_length: z.ZodOptional<z.ZodNumber>;
521
+ }, z.core.$strict>;
522
+ type: z.ZodNullable<z.ZodEnum<{
523
+ subflow: "subflow";
524
+ flow: "flow";
525
+ }>>;
526
+ active: z.ZodNullable<z.ZodBoolean>;
527
+ status: z.ZodNullable<z.ZodString>;
528
+ version: z.ZodNullable<z.ZodString>;
529
+ scope: z.ZodNullable<z.ZodString>;
530
+ called_from: z.ZodOptional<z.ZodString>;
531
+ }, z.core.$strict>>;
532
+ trigger: z.ZodNullable<z.ZodObject<{
533
+ node_id: z.ZodLiteral<"n0">;
534
+ type: z.ZodObject<{
535
+ text: z.ZodNullable<z.ZodString>;
536
+ redacted: z.ZodOptional<z.ZodEnum<{
537
+ limit: "limit";
538
+ field_policy: "field_policy";
539
+ sensitive_name: "sensitive_name";
540
+ sensitive_type: "sensitive_type";
541
+ not_requested: "not_requested";
542
+ decode_failed: "decode_failed";
543
+ }>>;
544
+ original_length: z.ZodOptional<z.ZodNumber>;
545
+ }, z.core.$strict>;
546
+ table: z.ZodObject<{
547
+ text: z.ZodNullable<z.ZodString>;
548
+ redacted: z.ZodOptional<z.ZodEnum<{
549
+ limit: "limit";
550
+ field_policy: "field_policy";
551
+ sensitive_name: "sensitive_name";
552
+ sensitive_type: "sensitive_type";
553
+ not_requested: "not_requested";
554
+ decode_failed: "decode_failed";
555
+ }>>;
556
+ original_length: z.ZodOptional<z.ZodNumber>;
557
+ }, z.core.$strict>;
558
+ condition: z.ZodObject<{
559
+ text: z.ZodNullable<z.ZodString>;
560
+ redacted: z.ZodOptional<z.ZodEnum<{
561
+ limit: "limit";
562
+ field_policy: "field_policy";
563
+ sensitive_name: "sensitive_name";
564
+ sensitive_type: "sensitive_type";
565
+ not_requested: "not_requested";
566
+ decode_failed: "decode_failed";
567
+ }>>;
568
+ original_length: z.ZodOptional<z.ZodNumber>;
569
+ }, z.core.$strict>;
570
+ schedule: z.ZodObject<{
571
+ text: z.ZodNullable<z.ZodString>;
572
+ redacted: z.ZodOptional<z.ZodEnum<{
573
+ limit: "limit";
574
+ field_policy: "field_policy";
575
+ sensitive_name: "sensitive_name";
576
+ sensitive_type: "sensitive_type";
577
+ not_requested: "not_requested";
578
+ decode_failed: "decode_failed";
579
+ }>>;
580
+ original_length: z.ZodOptional<z.ZodNumber>;
581
+ }, z.core.$strict>;
582
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
583
+ name: z.ZodString;
584
+ label: z.ZodNullable<z.ZodString>;
585
+ type: z.ZodNullable<z.ZodString>;
586
+ value: z.ZodNullable<z.ZodString>;
587
+ redacted: z.ZodOptional<z.ZodEnum<{
588
+ limit: "limit";
589
+ field_policy: "field_policy";
590
+ sensitive_name: "sensitive_name";
591
+ sensitive_type: "sensitive_type";
592
+ not_requested: "not_requested";
593
+ decode_failed: "decode_failed";
594
+ }>>;
595
+ original_length: z.ZodOptional<z.ZodNumber>;
596
+ script: z.ZodOptional<z.ZodBoolean>;
597
+ pills: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
598
+ }, z.core.$strict>>>;
599
+ }, z.core.$strict>>;
600
+ nodes: z.ZodArray<z.ZodObject<{
601
+ id: z.ZodString;
602
+ flow_index: z.ZodNumber;
603
+ kind: z.ZodEnum<{
604
+ action: "action";
605
+ trigger: "trigger";
606
+ logic: "logic";
607
+ subflow: "subflow";
608
+ more: "more";
609
+ }>;
610
+ logic_kind: z.ZodOptional<z.ZodEnum<{
611
+ catch: "catch";
612
+ if: "if";
613
+ else_if: "else_if";
614
+ else: "else";
615
+ for_each: "for_each";
616
+ do_until: "do_until";
617
+ parallel: "parallel";
618
+ try: "try";
619
+ wait: "wait";
620
+ set_flow_variables: "set_flow_variables";
621
+ assign_subflow_outputs: "assign_subflow_outputs";
622
+ end_flow: "end_flow";
623
+ go_back_to: "go_back_to";
624
+ skip_iteration: "skip_iteration";
625
+ exit_loop: "exit_loop";
626
+ decision: "decision";
627
+ other: "other";
628
+ parallel_branch: "parallel_branch";
629
+ top_level_try: "top_level_try";
630
+ top_level_catch: "top_level_catch";
631
+ decision_branch: "decision_branch";
632
+ append_flow_variables: "append_flow_variables";
633
+ get_flow_outputs: "get_flow_outputs";
634
+ dynamic_flow: "dynamic_flow";
635
+ call_workflow: "call_workflow";
636
+ placeholder: "placeholder";
637
+ update_flow_template: "update_flow_template";
638
+ }>>;
639
+ step: z.ZodString;
640
+ depth: z.ZodNumber;
641
+ parent: z.ZodOptional<z.ZodString>;
642
+ order: z.ZodNullable<z.ZodNumber>;
643
+ title: z.ZodObject<{
644
+ text: z.ZodNullable<z.ZodString>;
645
+ redacted: z.ZodOptional<z.ZodEnum<{
646
+ limit: "limit";
647
+ field_policy: "field_policy";
648
+ sensitive_name: "sensitive_name";
649
+ sensitive_type: "sensitive_type";
650
+ not_requested: "not_requested";
651
+ decode_failed: "decode_failed";
652
+ }>>;
653
+ original_length: z.ZodOptional<z.ZodNumber>;
654
+ }, z.core.$strict>;
655
+ annotation: z.ZodObject<{
656
+ text: z.ZodNullable<z.ZodString>;
657
+ redacted: z.ZodOptional<z.ZodEnum<{
658
+ limit: "limit";
659
+ field_policy: "field_policy";
660
+ sensitive_name: "sensitive_name";
661
+ sensitive_type: "sensitive_type";
662
+ not_requested: "not_requested";
663
+ decode_failed: "decode_failed";
664
+ }>>;
665
+ original_length: z.ZodOptional<z.ZodNumber>;
666
+ }, z.core.$strict>;
667
+ condition: z.ZodOptional<z.ZodObject<{
668
+ text: z.ZodNullable<z.ZodString>;
669
+ redacted: z.ZodOptional<z.ZodEnum<{
670
+ limit: "limit";
671
+ field_policy: "field_policy";
672
+ sensitive_name: "sensitive_name";
673
+ sensitive_type: "sensitive_type";
674
+ not_requested: "not_requested";
675
+ decode_failed: "decode_failed";
676
+ }>>;
677
+ original_length: z.ZodOptional<z.ZodNumber>;
678
+ }, z.core.$strict>>;
679
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
680
+ name: z.ZodString;
681
+ label: z.ZodNullable<z.ZodString>;
682
+ type: z.ZodNullable<z.ZodString>;
683
+ value: z.ZodNullable<z.ZodString>;
684
+ redacted: z.ZodOptional<z.ZodEnum<{
685
+ limit: "limit";
686
+ field_policy: "field_policy";
687
+ sensitive_name: "sensitive_name";
688
+ sensitive_type: "sensitive_type";
689
+ not_requested: "not_requested";
690
+ decode_failed: "decode_failed";
691
+ }>>;
692
+ original_length: z.ZodOptional<z.ZodNumber>;
693
+ script: z.ZodOptional<z.ZodBoolean>;
694
+ pills: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
695
+ }, z.core.$strict>>>;
696
+ subflow: z.ZodOptional<z.ZodObject<{
697
+ flow_sys_id: z.ZodNullable<z.ZodString>;
698
+ name: z.ZodObject<{
699
+ text: z.ZodNullable<z.ZodString>;
700
+ redacted: z.ZodOptional<z.ZodEnum<{
701
+ limit: "limit";
702
+ field_policy: "field_policy";
703
+ sensitive_name: "sensitive_name";
704
+ sensitive_type: "sensitive_type";
705
+ not_requested: "not_requested";
706
+ decode_failed: "decode_failed";
707
+ }>>;
708
+ original_length: z.ZodOptional<z.ZodNumber>;
709
+ }, z.core.$strict>;
710
+ expanded_index: z.ZodOptional<z.ZodNumber>;
711
+ not_expanded: z.ZodOptional<z.ZodEnum<{
712
+ not_found: "not_found";
713
+ timeout: "timeout";
714
+ limit: "limit";
715
+ depth: "depth";
716
+ too_large: "too_large";
717
+ cycle: "cycle";
718
+ denied: "denied";
719
+ }>>;
720
+ }, z.core.$strict>>;
721
+ ref: z.ZodOptional<z.ZodObject<{
722
+ table: z.ZodEnum<{
723
+ sys_variable_value: "sys_variable_value";
724
+ sys_hub_flow: "sys_hub_flow";
725
+ sys_hub_flow_snapshot: "sys_hub_flow_snapshot";
726
+ sys_hub_trigger_instance: "sys_hub_trigger_instance";
727
+ sys_hub_trigger_instance_v2: "sys_hub_trigger_instance_v2";
728
+ sys_hub_action_instance: "sys_hub_action_instance";
729
+ sys_hub_action_instance_v2: "sys_hub_action_instance_v2";
730
+ sys_hub_flow_logic: "sys_hub_flow_logic";
731
+ sys_hub_flow_logic_instance_v2: "sys_hub_flow_logic_instance_v2";
732
+ sys_hub_sub_flow_instance: "sys_hub_sub_flow_instance";
733
+ sys_hub_sub_flow_instance_v2: "sys_hub_sub_flow_instance_v2";
734
+ sys_hub_flow_variable: "sys_hub_flow_variable";
735
+ sys_hub_flow_input: "sys_hub_flow_input";
736
+ sys_hub_flow_output: "sys_hub_flow_output";
737
+ var_dictionary: "var_dictionary";
738
+ }>;
739
+ sys_id: z.ZodString;
740
+ }, z.core.$strict>>;
741
+ omitted_steps: z.ZodOptional<z.ZodNumber>;
742
+ }, z.core.$strict>>;
743
+ edges: z.ZodArray<z.ZodObject<{
744
+ from: z.ZodString;
745
+ to: z.ZodString;
746
+ kind: z.ZodEnum<{
747
+ error: "error";
748
+ false: "false";
749
+ true: "true";
750
+ subflow: "subflow";
751
+ parallel: "parallel";
752
+ next: "next";
753
+ loop_body: "loop_body";
754
+ loop_back: "loop_back";
755
+ }>;
756
+ }, z.core.$strict>>;
757
+ pills: z.ZodArray<z.ZodObject<{
758
+ token: z.ZodString;
759
+ label: z.ZodNullable<z.ZodString>;
760
+ }, z.core.$strict>>;
761
+ variables: z.ZodArray<z.ZodObject<{
762
+ scope: z.ZodEnum<{
763
+ output: "output";
764
+ input: "input";
765
+ variable: "variable";
766
+ }>;
767
+ flow_index: z.ZodNumber;
768
+ name: z.ZodString;
769
+ label: z.ZodNullable<z.ZodString>;
770
+ type: z.ZodNullable<z.ZodString>;
771
+ }, z.core.$strict>>;
772
+ options: z.ZodObject<{
773
+ depth: z.ZodNumber;
774
+ include_inputs: z.ZodBoolean;
775
+ max_nodes: z.ZodNumber;
776
+ format: z.ZodEnum<{
777
+ both: "both";
778
+ mermaid: "mermaid";
779
+ outline: "outline";
780
+ }>;
781
+ }, z.core.$strict>;
782
+ limits_hit: z.ZodArray<z.ZodEnum<{
783
+ max_nodes: "max_nodes";
784
+ max_nesting: "max_nesting";
785
+ max_depth: "max_depth";
786
+ max_subflow_expansions: "max_subflow_expansions";
787
+ upstream_scopes: "upstream_scopes";
788
+ rows_per_table: "rows_per_table";
789
+ inputs_per_node: "inputs_per_node";
790
+ input_value_chars: "input_value_chars";
791
+ pills: "pills";
792
+ edges: "edges";
793
+ response_bytes: "response_bytes";
794
+ }>>;
795
+ warnings: z.ZodArray<z.ZodEnum<{
796
+ subflow_cycle: "subflow_cycle";
797
+ subflow_not_found: "subflow_not_found";
798
+ subflow_denied: "subflow_denied";
799
+ orphan_steps: "orphan_steps";
800
+ unknown_logic_type: "unknown_logic_type";
801
+ items_dropped_invalid: "items_dropped_invalid";
802
+ gzip_decode_failed: "gzip_decode_failed";
803
+ label_cache_unavailable: "label_cache_unavailable";
804
+ flow_version_unknown: "flow_version_unknown";
805
+ subflow_too_large: "subflow_too_large";
806
+ inputs_omitted_too_large: "inputs_omitted_too_large";
807
+ flow_too_large: "flow_too_large";
808
+ input_values_incomplete: "input_values_incomplete";
809
+ subflow_timeout: "subflow_timeout";
810
+ }>>;
811
+ counts: z.ZodObject<{
812
+ steps_seen: z.ZodNumber;
813
+ nodes_returned: z.ZodNumber;
814
+ inputs_redacted: z.ZodNumber;
815
+ inputs_truncated: z.ZodNumber;
816
+ items_dropped: z.ZodNumber;
817
+ }, z.core.$strict>;
818
+ }, z.core.$strict>;
1398
819
  sn_nl: z.ZodObject<{
1399
820
  request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1400
- }, "strict", z.ZodTypeAny, {
1401
- request: Record<string, unknown>;
1402
- }, {
1403
- request: Record<string, unknown>;
1404
- }>;
821
+ }, z.core.$strict>;
1405
822
  sn_profile: z.ZodObject<{
1406
823
  name: z.ZodString;
1407
824
  instance: z.ZodString;
1408
- auth_type: z.ZodEnum<["apikey", "basic", "oauth"]>;
1409
- }, "strict", z.ZodTypeAny, {
1410
- name: string;
1411
- instance: string;
1412
- auth_type: "basic" | "oauth" | "apikey";
1413
- }, {
1414
- name: string;
1415
- instance: string;
1416
- auth_type: "basic" | "oauth" | "apikey";
1417
- }>;
825
+ auth_type: z.ZodEnum<{
826
+ basic: "basic";
827
+ oauth: "oauth";
828
+ apikey: "apikey";
829
+ }>;
830
+ policy: z.ZodRecord<z.ZodString, z.ZodUnknown>;
831
+ policy_card: z.ZodOptional<z.ZodString>;
832
+ }, z.core.$strict>;
1418
833
  }>;
1419
834
  export type ProductionToolName = keyof typeof productionDataSchemas;
1420
835
  export declare const productionToolOutputSchemas: Readonly<{
1421
- sn_query: z.ZodObject<{} & {
1422
- [x: string]: z.ZodTypeAny;
1423
- }, "strict", z.ZodTypeAny, {
1424
- [x: string]: any;
1425
- }, {
1426
- [x: string]: any;
1427
- }>;
1428
- sn_get: z.ZodObject<{} & {
1429
- [x: string]: z.ZodTypeAny;
1430
- }, "strict", z.ZodTypeAny, {
1431
- [x: string]: any;
1432
- }, {
1433
- [x: string]: any;
1434
- }>;
1435
- sn_create: z.ZodObject<{} & {
1436
- [x: string]: z.ZodTypeAny;
1437
- }, "strict", z.ZodTypeAny, {
1438
- [x: string]: any;
1439
- }, {
1440
- [x: string]: any;
1441
- }>;
1442
- sn_update: z.ZodObject<{} & {
1443
- [x: string]: z.ZodTypeAny;
1444
- }, "strict", z.ZodTypeAny, {
1445
- [x: string]: any;
1446
- }, {
1447
- [x: string]: any;
1448
- }>;
1449
- sn_incident_add_comment: z.ZodObject<{} & {
1450
- [x: string]: z.ZodTypeAny;
1451
- }, "strict", z.ZodTypeAny, {
1452
- [x: string]: any;
1453
- }, {
1454
- [x: string]: any;
1455
- }>;
1456
- sn_incident_add_work_note: z.ZodObject<{} & {
1457
- [x: string]: z.ZodTypeAny;
1458
- }, "strict", z.ZodTypeAny, {
1459
- [x: string]: any;
1460
- }, {
1461
- [x: string]: any;
1462
- }>;
1463
- sn_delete: z.ZodObject<{} & {
1464
- [x: string]: z.ZodTypeAny;
1465
- }, "strict", z.ZodTypeAny, {
1466
- [x: string]: any;
1467
- }, {
1468
- [x: string]: any;
1469
- }>;
1470
- sn_batch: z.ZodObject<{} & {
1471
- [x: string]: z.ZodTypeAny;
1472
- }, "strict", z.ZodTypeAny, {
1473
- [x: string]: any;
1474
- }, {
1475
- [x: string]: any;
1476
- }>;
1477
- sn_aggregate: z.ZodObject<{} & {
1478
- [x: string]: z.ZodTypeAny;
1479
- }, "strict", z.ZodTypeAny, {
1480
- [x: string]: any;
1481
- }, {
1482
- [x: string]: any;
1483
- }>;
1484
- sn_schema: z.ZodObject<{} & {
1485
- [x: string]: z.ZodTypeAny;
1486
- }, "strict", z.ZodTypeAny, {
1487
- [x: string]: any;
1488
- }, {
1489
- [x: string]: any;
1490
- }>;
1491
- sn_health: z.ZodObject<{} & {
1492
- [x: string]: z.ZodTypeAny;
1493
- }, "strict", z.ZodTypeAny, {
1494
- [x: string]: any;
1495
- }, {
1496
- [x: string]: any;
1497
- }>;
1498
- sn_attach: z.ZodObject<{} & {
1499
- [x: string]: z.ZodTypeAny;
1500
- }, "strict", z.ZodTypeAny, {
1501
- [x: string]: any;
1502
- }, {
1503
- [x: string]: any;
1504
- }>;
1505
- sn_relationships: z.ZodObject<{} & {
1506
- [x: string]: z.ZodTypeAny;
1507
- }, "strict", z.ZodTypeAny, {
1508
- [x: string]: any;
1509
- }, {
1510
- [x: string]: any;
1511
- }>;
1512
- sn_syslog: z.ZodObject<{} & {
1513
- [x: string]: z.ZodTypeAny;
1514
- }, "strict", z.ZodTypeAny, {
1515
- [x: string]: any;
1516
- }, {
1517
- [x: string]: any;
1518
- }>;
1519
- sn_codesearch: z.ZodObject<{} & {
1520
- [x: string]: z.ZodTypeAny;
1521
- }, "strict", z.ZodTypeAny, {
1522
- [x: string]: any;
1523
- }, {
1524
- [x: string]: any;
1525
- }>;
1526
- sn_discover: z.ZodObject<{} & {
1527
- [x: string]: z.ZodTypeAny;
1528
- }, "strict", z.ZodTypeAny, {
1529
- [x: string]: any;
1530
- }, {
1531
- [x: string]: any;
1532
- }>;
1533
- sn_atf: z.ZodObject<{} & {
1534
- [x: string]: z.ZodTypeAny;
1535
- }, "strict", z.ZodTypeAny, {
1536
- [x: string]: any;
1537
- }, {
1538
- [x: string]: any;
1539
- }>;
1540
- sn_atf_run: z.ZodObject<{} & {
1541
- [x: string]: z.ZodTypeAny;
1542
- }, "strict", z.ZodTypeAny, {
1543
- [x: string]: any;
1544
- }, {
1545
- [x: string]: any;
1546
- }>;
1547
- sn_atf_results: z.ZodObject<{} & {
1548
- [x: string]: z.ZodTypeAny;
1549
- }, "strict", z.ZodTypeAny, {
1550
- [x: string]: any;
1551
- }, {
1552
- [x: string]: any;
1553
- }>;
1554
- sn_atf_readiness: z.ZodObject<{} & {
1555
- [x: string]: z.ZodTypeAny;
1556
- }, "strict", z.ZodTypeAny, {
1557
- [x: string]: any;
1558
- }, {
1559
- [x: string]: any;
1560
- }>;
1561
- sn_atf_author: z.ZodObject<{} & {
1562
- [x: string]: z.ZodTypeAny;
1563
- }, "strict", z.ZodTypeAny, {
1564
- [x: string]: any;
1565
- }, {
1566
- [x: string]: any;
1567
- }>;
1568
- sn_nl: z.ZodObject<{} & {
1569
- [x: string]: z.ZodTypeAny;
1570
- }, "strict", z.ZodTypeAny, {
1571
- [x: string]: any;
1572
- }, {
1573
- [x: string]: any;
1574
- }>;
1575
- sn_profile: z.ZodObject<{} & {
1576
- [x: string]: z.ZodTypeAny;
1577
- }, "strict", z.ZodTypeAny, {
1578
- [x: string]: any;
1579
- }, {
1580
- [x: string]: any;
1581
- }>;
836
+ sn_query: z.ZodObject<Omit<{
837
+ data: z.ZodObject<{
838
+ record_count: z.ZodNumber;
839
+ total: z.ZodOptional<z.ZodNumber>;
840
+ has_more: z.ZodBoolean;
841
+ next_offset: z.ZodOptional<z.ZodNumber>;
842
+ hint: z.ZodOptional<z.ZodString>;
843
+ truncated: z.ZodOptional<z.ZodBoolean>;
844
+ dropped_records: z.ZodOptional<z.ZodNumber>;
845
+ results: z.ZodArray<z.ZodUnknown>;
846
+ }, z.core.$strict>;
847
+ metadata: z.ZodObject<{
848
+ kind: z.ZodEnum<{
849
+ operation: "operation";
850
+ collection: "collection";
851
+ single: "single";
852
+ }>;
853
+ record_count: z.ZodNumber;
854
+ limits: z.ZodObject<{
855
+ max_records: z.ZodNumber;
856
+ max_bytes: z.ZodNumber;
857
+ }, z.core.$strict>;
858
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
859
+ mode: z.ZodLiteral<"none">;
860
+ }, z.core.$strict>, z.ZodObject<{
861
+ mode: z.ZodLiteral<"offset">;
862
+ limit: z.ZodNumber;
863
+ offset: z.ZodNumber;
864
+ returned: z.ZodNumber;
865
+ has_more: z.ZodBoolean;
866
+ next_offset: z.ZodOptional<z.ZodNumber>;
867
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
868
+ order_by: z.ZodArray<z.ZodString>;
869
+ }, z.core.$strict>]>;
870
+ truncation: z.ZodObject<{
871
+ truncated: z.ZodBoolean;
872
+ reason: z.ZodOptional<z.ZodEnum<{
873
+ record_limit: "record_limit";
874
+ byte_limit: "byte_limit";
875
+ }>>;
876
+ dropped_records: z.ZodOptional<z.ZodNumber>;
877
+ }, z.core.$strict>;
878
+ }, z.core.$strict>;
879
+ }, "profile"> & {
880
+ profile: typeof import("./tool-module.js").profileNameSchema;
881
+ } & {
882
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
883
+ }, z.core.$strict>;
884
+ sn_get: z.ZodObject<Omit<{
885
+ data: z.ZodObject<{
886
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
887
+ hint: z.ZodOptional<z.ZodString>;
888
+ }, z.core.$strict>;
889
+ metadata: z.ZodObject<{
890
+ kind: z.ZodEnum<{
891
+ operation: "operation";
892
+ collection: "collection";
893
+ single: "single";
894
+ }>;
895
+ record_count: z.ZodNumber;
896
+ limits: z.ZodObject<{
897
+ max_records: z.ZodNumber;
898
+ max_bytes: z.ZodNumber;
899
+ }, z.core.$strict>;
900
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
901
+ mode: z.ZodLiteral<"none">;
902
+ }, z.core.$strict>, z.ZodObject<{
903
+ mode: z.ZodLiteral<"offset">;
904
+ limit: z.ZodNumber;
905
+ offset: z.ZodNumber;
906
+ returned: z.ZodNumber;
907
+ has_more: z.ZodBoolean;
908
+ next_offset: z.ZodOptional<z.ZodNumber>;
909
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
910
+ order_by: z.ZodArray<z.ZodString>;
911
+ }, z.core.$strict>]>;
912
+ truncation: z.ZodObject<{
913
+ truncated: z.ZodBoolean;
914
+ reason: z.ZodOptional<z.ZodEnum<{
915
+ record_limit: "record_limit";
916
+ byte_limit: "byte_limit";
917
+ }>>;
918
+ dropped_records: z.ZodOptional<z.ZodNumber>;
919
+ }, z.core.$strict>;
920
+ }, z.core.$strict>;
921
+ }, "profile"> & {
922
+ profile: typeof import("./tool-module.js").profileNameSchema;
923
+ } & {
924
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
925
+ }, z.core.$strict>;
926
+ sn_create: z.ZodObject<Omit<{
927
+ data: z.ZodObject<{
928
+ sys_id: z.ZodString;
929
+ number: z.ZodOptional<z.ZodString>;
930
+ table: z.ZodString;
931
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
932
+ }, z.core.$strict>;
933
+ metadata: z.ZodObject<{
934
+ kind: z.ZodEnum<{
935
+ operation: "operation";
936
+ collection: "collection";
937
+ single: "single";
938
+ }>;
939
+ record_count: z.ZodNumber;
940
+ limits: z.ZodObject<{
941
+ max_records: z.ZodNumber;
942
+ max_bytes: z.ZodNumber;
943
+ }, z.core.$strict>;
944
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
945
+ mode: z.ZodLiteral<"none">;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ mode: z.ZodLiteral<"offset">;
948
+ limit: z.ZodNumber;
949
+ offset: z.ZodNumber;
950
+ returned: z.ZodNumber;
951
+ has_more: z.ZodBoolean;
952
+ next_offset: z.ZodOptional<z.ZodNumber>;
953
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
954
+ order_by: z.ZodArray<z.ZodString>;
955
+ }, z.core.$strict>]>;
956
+ truncation: z.ZodObject<{
957
+ truncated: z.ZodBoolean;
958
+ reason: z.ZodOptional<z.ZodEnum<{
959
+ record_limit: "record_limit";
960
+ byte_limit: "byte_limit";
961
+ }>>;
962
+ dropped_records: z.ZodOptional<z.ZodNumber>;
963
+ }, z.core.$strict>;
964
+ }, z.core.$strict>;
965
+ }, "profile"> & {
966
+ profile: typeof import("./tool-module.js").profileNameSchema;
967
+ } & {
968
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
969
+ }, z.core.$strict>;
970
+ sn_update: z.ZodObject<Omit<{
971
+ data: z.ZodObject<{
972
+ sys_id: z.ZodString;
973
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
974
+ }, z.core.$strict>;
975
+ metadata: z.ZodObject<{
976
+ kind: z.ZodEnum<{
977
+ operation: "operation";
978
+ collection: "collection";
979
+ single: "single";
980
+ }>;
981
+ record_count: z.ZodNumber;
982
+ limits: z.ZodObject<{
983
+ max_records: z.ZodNumber;
984
+ max_bytes: z.ZodNumber;
985
+ }, z.core.$strict>;
986
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
987
+ mode: z.ZodLiteral<"none">;
988
+ }, z.core.$strict>, z.ZodObject<{
989
+ mode: z.ZodLiteral<"offset">;
990
+ limit: z.ZodNumber;
991
+ offset: z.ZodNumber;
992
+ returned: z.ZodNumber;
993
+ has_more: z.ZodBoolean;
994
+ next_offset: z.ZodOptional<z.ZodNumber>;
995
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
996
+ order_by: z.ZodArray<z.ZodString>;
997
+ }, z.core.$strict>]>;
998
+ truncation: z.ZodObject<{
999
+ truncated: z.ZodBoolean;
1000
+ reason: z.ZodOptional<z.ZodEnum<{
1001
+ record_limit: "record_limit";
1002
+ byte_limit: "byte_limit";
1003
+ }>>;
1004
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1005
+ }, z.core.$strict>;
1006
+ }, z.core.$strict>;
1007
+ }, "profile"> & {
1008
+ profile: typeof import("./tool-module.js").profileNameSchema;
1009
+ } & {
1010
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1011
+ }, z.core.$strict>;
1012
+ sn_incident_add_comment: z.ZodObject<Omit<{
1013
+ data: z.ZodObject<{
1014
+ status: z.ZodLiteral<"appended">;
1015
+ sys_id: z.ZodString;
1016
+ journal_field: z.ZodEnum<{
1017
+ comments: "comments";
1018
+ work_notes: "work_notes";
1019
+ }>;
1020
+ }, z.core.$strict>;
1021
+ metadata: z.ZodObject<{
1022
+ kind: z.ZodEnum<{
1023
+ operation: "operation";
1024
+ collection: "collection";
1025
+ single: "single";
1026
+ }>;
1027
+ record_count: z.ZodNumber;
1028
+ limits: z.ZodObject<{
1029
+ max_records: z.ZodNumber;
1030
+ max_bytes: z.ZodNumber;
1031
+ }, z.core.$strict>;
1032
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1033
+ mode: z.ZodLiteral<"none">;
1034
+ }, z.core.$strict>, z.ZodObject<{
1035
+ mode: z.ZodLiteral<"offset">;
1036
+ limit: z.ZodNumber;
1037
+ offset: z.ZodNumber;
1038
+ returned: z.ZodNumber;
1039
+ has_more: z.ZodBoolean;
1040
+ next_offset: z.ZodOptional<z.ZodNumber>;
1041
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1042
+ order_by: z.ZodArray<z.ZodString>;
1043
+ }, z.core.$strict>]>;
1044
+ truncation: z.ZodObject<{
1045
+ truncated: z.ZodBoolean;
1046
+ reason: z.ZodOptional<z.ZodEnum<{
1047
+ record_limit: "record_limit";
1048
+ byte_limit: "byte_limit";
1049
+ }>>;
1050
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1051
+ }, z.core.$strict>;
1052
+ }, z.core.$strict>;
1053
+ }, "profile"> & {
1054
+ profile: typeof import("./tool-module.js").profileNameSchema;
1055
+ } & {
1056
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1057
+ }, z.core.$strict>;
1058
+ sn_incident_add_work_note: z.ZodObject<Omit<{
1059
+ data: z.ZodObject<{
1060
+ status: z.ZodLiteral<"appended">;
1061
+ sys_id: z.ZodString;
1062
+ journal_field: z.ZodEnum<{
1063
+ comments: "comments";
1064
+ work_notes: "work_notes";
1065
+ }>;
1066
+ }, z.core.$strict>;
1067
+ metadata: z.ZodObject<{
1068
+ kind: z.ZodEnum<{
1069
+ operation: "operation";
1070
+ collection: "collection";
1071
+ single: "single";
1072
+ }>;
1073
+ record_count: z.ZodNumber;
1074
+ limits: z.ZodObject<{
1075
+ max_records: z.ZodNumber;
1076
+ max_bytes: z.ZodNumber;
1077
+ }, z.core.$strict>;
1078
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1079
+ mode: z.ZodLiteral<"none">;
1080
+ }, z.core.$strict>, z.ZodObject<{
1081
+ mode: z.ZodLiteral<"offset">;
1082
+ limit: z.ZodNumber;
1083
+ offset: z.ZodNumber;
1084
+ returned: z.ZodNumber;
1085
+ has_more: z.ZodBoolean;
1086
+ next_offset: z.ZodOptional<z.ZodNumber>;
1087
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1088
+ order_by: z.ZodArray<z.ZodString>;
1089
+ }, z.core.$strict>]>;
1090
+ truncation: z.ZodObject<{
1091
+ truncated: z.ZodBoolean;
1092
+ reason: z.ZodOptional<z.ZodEnum<{
1093
+ record_limit: "record_limit";
1094
+ byte_limit: "byte_limit";
1095
+ }>>;
1096
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1097
+ }, z.core.$strict>;
1098
+ }, z.core.$strict>;
1099
+ }, "profile"> & {
1100
+ profile: typeof import("./tool-module.js").profileNameSchema;
1101
+ } & {
1102
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1103
+ }, z.core.$strict>;
1104
+ sn_delete: z.ZodObject<Omit<{
1105
+ data: z.ZodObject<{
1106
+ status: z.ZodLiteral<"deleted">;
1107
+ sys_id: z.ZodString;
1108
+ table: z.ZodString;
1109
+ }, z.core.$strict>;
1110
+ metadata: z.ZodObject<{
1111
+ kind: z.ZodEnum<{
1112
+ operation: "operation";
1113
+ collection: "collection";
1114
+ single: "single";
1115
+ }>;
1116
+ record_count: z.ZodNumber;
1117
+ limits: z.ZodObject<{
1118
+ max_records: z.ZodNumber;
1119
+ max_bytes: z.ZodNumber;
1120
+ }, z.core.$strict>;
1121
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1122
+ mode: z.ZodLiteral<"none">;
1123
+ }, z.core.$strict>, z.ZodObject<{
1124
+ mode: z.ZodLiteral<"offset">;
1125
+ limit: z.ZodNumber;
1126
+ offset: z.ZodNumber;
1127
+ returned: z.ZodNumber;
1128
+ has_more: z.ZodBoolean;
1129
+ next_offset: z.ZodOptional<z.ZodNumber>;
1130
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1131
+ order_by: z.ZodArray<z.ZodString>;
1132
+ }, z.core.$strict>]>;
1133
+ truncation: z.ZodObject<{
1134
+ truncated: z.ZodBoolean;
1135
+ reason: z.ZodOptional<z.ZodEnum<{
1136
+ record_limit: "record_limit";
1137
+ byte_limit: "byte_limit";
1138
+ }>>;
1139
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1140
+ }, z.core.$strict>;
1141
+ }, z.core.$strict>;
1142
+ }, "profile"> & {
1143
+ profile: typeof import("./tool-module.js").profileNameSchema;
1144
+ } & {
1145
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1146
+ }, z.core.$strict>;
1147
+ sn_batch: z.ZodObject<Omit<{
1148
+ data: z.ZodObject<{
1149
+ action: z.ZodEnum<{
1150
+ delete: "delete";
1151
+ update: "update";
1152
+ }>;
1153
+ table: z.ZodString;
1154
+ matched: z.ZodNumber;
1155
+ dry_run: z.ZodOptional<z.ZodBoolean>;
1156
+ message: z.ZodOptional<z.ZodString>;
1157
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
1158
+ sys_id: z.ZodString;
1159
+ display: z.ZodOptional<z.ZodString>;
1160
+ }, z.core.$strict>>>;
1161
+ fields_to_write: z.ZodOptional<z.ZodArray<z.ZodString>>;
1162
+ note: z.ZodOptional<z.ZodString>;
1163
+ processed: z.ZodOptional<z.ZodNumber>;
1164
+ failed: z.ZodOptional<z.ZodNumber>;
1165
+ }, z.core.$strict>;
1166
+ metadata: z.ZodObject<{
1167
+ kind: z.ZodEnum<{
1168
+ operation: "operation";
1169
+ collection: "collection";
1170
+ single: "single";
1171
+ }>;
1172
+ record_count: z.ZodNumber;
1173
+ limits: z.ZodObject<{
1174
+ max_records: z.ZodNumber;
1175
+ max_bytes: z.ZodNumber;
1176
+ }, z.core.$strict>;
1177
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1178
+ mode: z.ZodLiteral<"none">;
1179
+ }, z.core.$strict>, z.ZodObject<{
1180
+ mode: z.ZodLiteral<"offset">;
1181
+ limit: z.ZodNumber;
1182
+ offset: z.ZodNumber;
1183
+ returned: z.ZodNumber;
1184
+ has_more: z.ZodBoolean;
1185
+ next_offset: z.ZodOptional<z.ZodNumber>;
1186
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1187
+ order_by: z.ZodArray<z.ZodString>;
1188
+ }, z.core.$strict>]>;
1189
+ truncation: z.ZodObject<{
1190
+ truncated: z.ZodBoolean;
1191
+ reason: z.ZodOptional<z.ZodEnum<{
1192
+ record_limit: "record_limit";
1193
+ byte_limit: "byte_limit";
1194
+ }>>;
1195
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1196
+ }, z.core.$strict>;
1197
+ }, z.core.$strict>;
1198
+ }, "profile"> & {
1199
+ profile: typeof import("./tool-module.js").profileNameSchema;
1200
+ } & {
1201
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1202
+ }, z.core.$strict>;
1203
+ sn_aggregate: z.ZodObject<Omit<{
1204
+ data: z.ZodObject<{
1205
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
1206
+ }, z.core.$strict>;
1207
+ metadata: z.ZodObject<{
1208
+ kind: z.ZodEnum<{
1209
+ operation: "operation";
1210
+ collection: "collection";
1211
+ single: "single";
1212
+ }>;
1213
+ record_count: z.ZodNumber;
1214
+ limits: z.ZodObject<{
1215
+ max_records: z.ZodNumber;
1216
+ max_bytes: z.ZodNumber;
1217
+ }, z.core.$strict>;
1218
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1219
+ mode: z.ZodLiteral<"none">;
1220
+ }, z.core.$strict>, z.ZodObject<{
1221
+ mode: z.ZodLiteral<"offset">;
1222
+ limit: z.ZodNumber;
1223
+ offset: z.ZodNumber;
1224
+ returned: z.ZodNumber;
1225
+ has_more: z.ZodBoolean;
1226
+ next_offset: z.ZodOptional<z.ZodNumber>;
1227
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1228
+ order_by: z.ZodArray<z.ZodString>;
1229
+ }, z.core.$strict>]>;
1230
+ truncation: z.ZodObject<{
1231
+ truncated: z.ZodBoolean;
1232
+ reason: z.ZodOptional<z.ZodEnum<{
1233
+ record_limit: "record_limit";
1234
+ byte_limit: "byte_limit";
1235
+ }>>;
1236
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1237
+ }, z.core.$strict>;
1238
+ }, z.core.$strict>;
1239
+ }, "profile"> & {
1240
+ profile: typeof import("./tool-module.js").profileNameSchema;
1241
+ } & {
1242
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1243
+ }, z.core.$strict>;
1244
+ sn_schema: z.ZodObject<Omit<{
1245
+ data: z.ZodObject<{
1246
+ fields: z.ZodArray<z.ZodUnknown>;
1247
+ }, z.core.$strict>;
1248
+ metadata: z.ZodObject<{
1249
+ kind: z.ZodEnum<{
1250
+ operation: "operation";
1251
+ collection: "collection";
1252
+ single: "single";
1253
+ }>;
1254
+ record_count: z.ZodNumber;
1255
+ limits: z.ZodObject<{
1256
+ max_records: z.ZodNumber;
1257
+ max_bytes: z.ZodNumber;
1258
+ }, z.core.$strict>;
1259
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1260
+ mode: z.ZodLiteral<"none">;
1261
+ }, z.core.$strict>, z.ZodObject<{
1262
+ mode: z.ZodLiteral<"offset">;
1263
+ limit: z.ZodNumber;
1264
+ offset: z.ZodNumber;
1265
+ returned: z.ZodNumber;
1266
+ has_more: z.ZodBoolean;
1267
+ next_offset: z.ZodOptional<z.ZodNumber>;
1268
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1269
+ order_by: z.ZodArray<z.ZodString>;
1270
+ }, z.core.$strict>]>;
1271
+ truncation: z.ZodObject<{
1272
+ truncated: z.ZodBoolean;
1273
+ reason: z.ZodOptional<z.ZodEnum<{
1274
+ record_limit: "record_limit";
1275
+ byte_limit: "byte_limit";
1276
+ }>>;
1277
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1278
+ }, z.core.$strict>;
1279
+ }, z.core.$strict>;
1280
+ }, "profile"> & {
1281
+ profile: typeof import("./tool-module.js").profileNameSchema;
1282
+ } & {
1283
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1284
+ }, z.core.$strict>;
1285
+ sn_health: z.ZodObject<Omit<{
1286
+ data: z.ZodObject<{
1287
+ health: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1288
+ }, z.core.$strict>;
1289
+ metadata: z.ZodObject<{
1290
+ kind: z.ZodEnum<{
1291
+ operation: "operation";
1292
+ collection: "collection";
1293
+ single: "single";
1294
+ }>;
1295
+ record_count: z.ZodNumber;
1296
+ limits: z.ZodObject<{
1297
+ max_records: z.ZodNumber;
1298
+ max_bytes: z.ZodNumber;
1299
+ }, z.core.$strict>;
1300
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1301
+ mode: z.ZodLiteral<"none">;
1302
+ }, z.core.$strict>, z.ZodObject<{
1303
+ mode: z.ZodLiteral<"offset">;
1304
+ limit: z.ZodNumber;
1305
+ offset: z.ZodNumber;
1306
+ returned: z.ZodNumber;
1307
+ has_more: z.ZodBoolean;
1308
+ next_offset: z.ZodOptional<z.ZodNumber>;
1309
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1310
+ order_by: z.ZodArray<z.ZodString>;
1311
+ }, z.core.$strict>]>;
1312
+ truncation: z.ZodObject<{
1313
+ truncated: z.ZodBoolean;
1314
+ reason: z.ZodOptional<z.ZodEnum<{
1315
+ record_limit: "record_limit";
1316
+ byte_limit: "byte_limit";
1317
+ }>>;
1318
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1319
+ }, z.core.$strict>;
1320
+ }, z.core.$strict>;
1321
+ }, "profile"> & {
1322
+ profile: typeof import("./tool-module.js").profileNameSchema;
1323
+ } & {
1324
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1325
+ }, z.core.$strict>;
1326
+ sn_attach: z.ZodObject<Omit<{
1327
+ data: z.ZodObject<{
1328
+ action: z.ZodEnum<{
1329
+ list: "list";
1330
+ download: "download";
1331
+ upload: "upload";
1332
+ }>;
1333
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
1334
+ }, z.core.$strict>;
1335
+ metadata: z.ZodObject<{
1336
+ kind: z.ZodEnum<{
1337
+ operation: "operation";
1338
+ collection: "collection";
1339
+ single: "single";
1340
+ }>;
1341
+ record_count: z.ZodNumber;
1342
+ limits: z.ZodObject<{
1343
+ max_records: z.ZodNumber;
1344
+ max_bytes: z.ZodNumber;
1345
+ }, z.core.$strict>;
1346
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1347
+ mode: z.ZodLiteral<"none">;
1348
+ }, z.core.$strict>, z.ZodObject<{
1349
+ mode: z.ZodLiteral<"offset">;
1350
+ limit: z.ZodNumber;
1351
+ offset: z.ZodNumber;
1352
+ returned: z.ZodNumber;
1353
+ has_more: z.ZodBoolean;
1354
+ next_offset: z.ZodOptional<z.ZodNumber>;
1355
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1356
+ order_by: z.ZodArray<z.ZodString>;
1357
+ }, z.core.$strict>]>;
1358
+ truncation: z.ZodObject<{
1359
+ truncated: z.ZodBoolean;
1360
+ reason: z.ZodOptional<z.ZodEnum<{
1361
+ record_limit: "record_limit";
1362
+ byte_limit: "byte_limit";
1363
+ }>>;
1364
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1365
+ }, z.core.$strict>;
1366
+ }, z.core.$strict>;
1367
+ }, "profile"> & {
1368
+ profile: typeof import("./tool-module.js").profileNameSchema;
1369
+ } & {
1370
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1371
+ }, z.core.$strict>;
1372
+ sn_relationships: z.ZodObject<Omit<{
1373
+ data: z.ZodObject<{
1374
+ root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1375
+ relationships: z.ZodArray<z.ZodUnknown>;
1376
+ meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1377
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1378
+ }, z.core.$strict>;
1379
+ metadata: z.ZodObject<{
1380
+ kind: z.ZodEnum<{
1381
+ operation: "operation";
1382
+ collection: "collection";
1383
+ single: "single";
1384
+ }>;
1385
+ record_count: z.ZodNumber;
1386
+ limits: z.ZodObject<{
1387
+ max_records: z.ZodNumber;
1388
+ max_bytes: z.ZodNumber;
1389
+ }, z.core.$strict>;
1390
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1391
+ mode: z.ZodLiteral<"none">;
1392
+ }, z.core.$strict>, z.ZodObject<{
1393
+ mode: z.ZodLiteral<"offset">;
1394
+ limit: z.ZodNumber;
1395
+ offset: z.ZodNumber;
1396
+ returned: z.ZodNumber;
1397
+ has_more: z.ZodBoolean;
1398
+ next_offset: z.ZodOptional<z.ZodNumber>;
1399
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1400
+ order_by: z.ZodArray<z.ZodString>;
1401
+ }, z.core.$strict>]>;
1402
+ truncation: z.ZodObject<{
1403
+ truncated: z.ZodBoolean;
1404
+ reason: z.ZodOptional<z.ZodEnum<{
1405
+ record_limit: "record_limit";
1406
+ byte_limit: "byte_limit";
1407
+ }>>;
1408
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1409
+ }, z.core.$strict>;
1410
+ }, z.core.$strict>;
1411
+ }, "profile"> & {
1412
+ profile: typeof import("./tool-module.js").profileNameSchema;
1413
+ } & {
1414
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1415
+ }, z.core.$strict>;
1416
+ sn_syslog: z.ZodObject<Omit<{
1417
+ data: z.ZodObject<{
1418
+ record_count: z.ZodNumber;
1419
+ total: z.ZodOptional<z.ZodNumber>;
1420
+ has_more: z.ZodBoolean;
1421
+ next_offset: z.ZodOptional<z.ZodNumber>;
1422
+ hint: z.ZodOptional<z.ZodString>;
1423
+ truncated: z.ZodOptional<z.ZodBoolean>;
1424
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1425
+ results: z.ZodArray<z.ZodUnknown>;
1426
+ }, z.core.$strict>;
1427
+ metadata: z.ZodObject<{
1428
+ kind: z.ZodEnum<{
1429
+ operation: "operation";
1430
+ collection: "collection";
1431
+ single: "single";
1432
+ }>;
1433
+ record_count: z.ZodNumber;
1434
+ limits: z.ZodObject<{
1435
+ max_records: z.ZodNumber;
1436
+ max_bytes: z.ZodNumber;
1437
+ }, z.core.$strict>;
1438
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1439
+ mode: z.ZodLiteral<"none">;
1440
+ }, z.core.$strict>, z.ZodObject<{
1441
+ mode: z.ZodLiteral<"offset">;
1442
+ limit: z.ZodNumber;
1443
+ offset: z.ZodNumber;
1444
+ returned: z.ZodNumber;
1445
+ has_more: z.ZodBoolean;
1446
+ next_offset: z.ZodOptional<z.ZodNumber>;
1447
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1448
+ order_by: z.ZodArray<z.ZodString>;
1449
+ }, z.core.$strict>]>;
1450
+ truncation: z.ZodObject<{
1451
+ truncated: z.ZodBoolean;
1452
+ reason: z.ZodOptional<z.ZodEnum<{
1453
+ record_limit: "record_limit";
1454
+ byte_limit: "byte_limit";
1455
+ }>>;
1456
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1457
+ }, z.core.$strict>;
1458
+ }, z.core.$strict>;
1459
+ }, "profile"> & {
1460
+ profile: typeof import("./tool-module.js").profileNameSchema;
1461
+ } & {
1462
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1463
+ }, z.core.$strict>;
1464
+ sn_codesearch: z.ZodObject<Omit<{
1465
+ data: z.ZodObject<{
1466
+ results: z.ZodArray<z.ZodUnknown>;
1467
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1468
+ }, z.core.$strict>;
1469
+ metadata: z.ZodObject<{
1470
+ kind: z.ZodEnum<{
1471
+ operation: "operation";
1472
+ collection: "collection";
1473
+ single: "single";
1474
+ }>;
1475
+ record_count: z.ZodNumber;
1476
+ limits: z.ZodObject<{
1477
+ max_records: z.ZodNumber;
1478
+ max_bytes: z.ZodNumber;
1479
+ }, z.core.$strict>;
1480
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1481
+ mode: z.ZodLiteral<"none">;
1482
+ }, z.core.$strict>, z.ZodObject<{
1483
+ mode: z.ZodLiteral<"offset">;
1484
+ limit: z.ZodNumber;
1485
+ offset: z.ZodNumber;
1486
+ returned: z.ZodNumber;
1487
+ has_more: z.ZodBoolean;
1488
+ next_offset: z.ZodOptional<z.ZodNumber>;
1489
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1490
+ order_by: z.ZodArray<z.ZodString>;
1491
+ }, z.core.$strict>]>;
1492
+ truncation: z.ZodObject<{
1493
+ truncated: z.ZodBoolean;
1494
+ reason: z.ZodOptional<z.ZodEnum<{
1495
+ record_limit: "record_limit";
1496
+ byte_limit: "byte_limit";
1497
+ }>>;
1498
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1499
+ }, z.core.$strict>;
1500
+ }, z.core.$strict>;
1501
+ }, "profile"> & {
1502
+ profile: typeof import("./tool-module.js").profileNameSchema;
1503
+ } & {
1504
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1505
+ }, z.core.$strict>;
1506
+ sn_discover: z.ZodObject<Omit<{
1507
+ data: z.ZodObject<{
1508
+ results: z.ZodArray<z.ZodUnknown>;
1509
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1510
+ }, z.core.$strict>;
1511
+ metadata: z.ZodObject<{
1512
+ kind: z.ZodEnum<{
1513
+ operation: "operation";
1514
+ collection: "collection";
1515
+ single: "single";
1516
+ }>;
1517
+ record_count: z.ZodNumber;
1518
+ limits: z.ZodObject<{
1519
+ max_records: z.ZodNumber;
1520
+ max_bytes: z.ZodNumber;
1521
+ }, z.core.$strict>;
1522
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1523
+ mode: z.ZodLiteral<"none">;
1524
+ }, z.core.$strict>, z.ZodObject<{
1525
+ mode: z.ZodLiteral<"offset">;
1526
+ limit: z.ZodNumber;
1527
+ offset: z.ZodNumber;
1528
+ returned: z.ZodNumber;
1529
+ has_more: z.ZodBoolean;
1530
+ next_offset: z.ZodOptional<z.ZodNumber>;
1531
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1532
+ order_by: z.ZodArray<z.ZodString>;
1533
+ }, z.core.$strict>]>;
1534
+ truncation: z.ZodObject<{
1535
+ truncated: z.ZodBoolean;
1536
+ reason: z.ZodOptional<z.ZodEnum<{
1537
+ record_limit: "record_limit";
1538
+ byte_limit: "byte_limit";
1539
+ }>>;
1540
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1541
+ }, z.core.$strict>;
1542
+ }, z.core.$strict>;
1543
+ }, "profile"> & {
1544
+ profile: typeof import("./tool-module.js").profileNameSchema;
1545
+ } & {
1546
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1547
+ }, z.core.$strict>;
1548
+ sn_atf: z.ZodObject<Omit<{
1549
+ data: z.ZodObject<{
1550
+ action: z.ZodEnum<{
1551
+ suites: "suites";
1552
+ list: "list";
1553
+ results: "results";
1554
+ run: "run";
1555
+ "run-suite": "run-suite";
1556
+ }>;
1557
+ result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
1558
+ }, z.core.$strict>;
1559
+ metadata: z.ZodObject<{
1560
+ kind: z.ZodEnum<{
1561
+ operation: "operation";
1562
+ collection: "collection";
1563
+ single: "single";
1564
+ }>;
1565
+ record_count: z.ZodNumber;
1566
+ limits: z.ZodObject<{
1567
+ max_records: z.ZodNumber;
1568
+ max_bytes: z.ZodNumber;
1569
+ }, z.core.$strict>;
1570
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1571
+ mode: z.ZodLiteral<"none">;
1572
+ }, z.core.$strict>, z.ZodObject<{
1573
+ mode: z.ZodLiteral<"offset">;
1574
+ limit: z.ZodNumber;
1575
+ offset: z.ZodNumber;
1576
+ returned: z.ZodNumber;
1577
+ has_more: z.ZodBoolean;
1578
+ next_offset: z.ZodOptional<z.ZodNumber>;
1579
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1580
+ order_by: z.ZodArray<z.ZodString>;
1581
+ }, z.core.$strict>]>;
1582
+ truncation: z.ZodObject<{
1583
+ truncated: z.ZodBoolean;
1584
+ reason: z.ZodOptional<z.ZodEnum<{
1585
+ record_limit: "record_limit";
1586
+ byte_limit: "byte_limit";
1587
+ }>>;
1588
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1589
+ }, z.core.$strict>;
1590
+ }, z.core.$strict>;
1591
+ }, "profile"> & {
1592
+ profile: typeof import("./tool-module.js").profileNameSchema;
1593
+ } & {
1594
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1595
+ }, z.core.$strict>;
1596
+ sn_atf_run: z.ZodObject<Omit<{
1597
+ data: z.ZodObject<{
1598
+ outcome: z.ZodEnum<{
1599
+ unavailable: "unavailable";
1600
+ running: "running";
1601
+ completed: "completed";
1602
+ }>;
1603
+ progress_id: z.ZodOptional<z.ZodString>;
1604
+ result_id: z.ZodOptional<z.ZodString>;
1605
+ suite_id: z.ZodOptional<z.ZodString>;
1606
+ suite_name: z.ZodOptional<z.ZodString>;
1607
+ run: z.ZodOptional<z.ZodObject<{
1608
+ runId: z.ZodString;
1609
+ suiteId: z.ZodString;
1610
+ startedAt: z.ZodString;
1611
+ finishedAt: z.ZodOptional<z.ZodString>;
1612
+ status: z.ZodEnum<{
1613
+ error: "error";
1614
+ success: "success";
1615
+ pending: "pending";
1616
+ running: "running";
1617
+ failure: "failure";
1618
+ skipped: "skipped";
1619
+ canceled: "canceled";
1620
+ success_with_warnings: "success_with_warnings";
1621
+ }>;
1622
+ durationMs: z.ZodNumber;
1623
+ counts: z.ZodObject<{
1624
+ passed: z.ZodNumber;
1625
+ failed: z.ZodNumber;
1626
+ errors: z.ZodNumber;
1627
+ skipped: z.ZodNumber;
1628
+ }, z.core.$strict>;
1629
+ tests: z.ZodArray<z.ZodObject<{
1630
+ testId: z.ZodString;
1631
+ status: z.ZodEnum<{
1632
+ error: "error";
1633
+ success: "success";
1634
+ pending: "pending";
1635
+ running: "running";
1636
+ failure: "failure";
1637
+ skipped: "skipped";
1638
+ canceled: "canceled";
1639
+ success_with_warnings: "success_with_warnings";
1640
+ }>;
1641
+ firstFailure: z.ZodOptional<z.ZodString>;
1642
+ }, z.core.$strict>>;
1643
+ }, z.core.$strict>>;
1644
+ failures: z.ZodArray<z.ZodObject<{
1645
+ test_id: z.ZodString;
1646
+ test_name: z.ZodString;
1647
+ step: z.ZodString;
1648
+ message: z.ZodString;
1649
+ message_truncated: z.ZodBoolean;
1650
+ test_result_id: z.ZodString;
1651
+ step_result_id: z.ZodOptional<z.ZodString>;
1652
+ step_id: z.ZodOptional<z.ZodString>;
1653
+ }, z.core.$strict>>;
1654
+ pagination: z.ZodOptional<z.ZodObject<{
1655
+ tests_total: z.ZodNumber;
1656
+ tests_offset: z.ZodNumber;
1657
+ tests_next_offset: z.ZodOptional<z.ZodNumber>;
1658
+ failures_total: z.ZodNumber;
1659
+ failures_offset: z.ZodNumber;
1660
+ failures_next_offset: z.ZodOptional<z.ZodNumber>;
1661
+ }, z.core.$strict>>;
1662
+ comparison: z.ZodOptional<z.ZodObject<{
1663
+ previous_run: z.ZodString;
1664
+ current_run: z.ZodString;
1665
+ new_failures: z.ZodArray<z.ZodString>;
1666
+ fixed: z.ZodArray<z.ZodString>;
1667
+ still_failing: z.ZodArray<z.ZodString>;
1668
+ flaky: z.ZodArray<z.ZodString>;
1669
+ status_changed: z.ZodArray<z.ZodString>;
1670
+ duration_change_ms: z.ZodNumber;
1671
+ duration_regression: z.ZodBoolean;
1672
+ }, z.core.$strict>>;
1673
+ warnings: z.ZodArray<z.ZodString>;
1674
+ }, z.core.$strict>;
1675
+ metadata: z.ZodObject<{
1676
+ kind: z.ZodEnum<{
1677
+ operation: "operation";
1678
+ collection: "collection";
1679
+ single: "single";
1680
+ }>;
1681
+ record_count: z.ZodNumber;
1682
+ limits: z.ZodObject<{
1683
+ max_records: z.ZodNumber;
1684
+ max_bytes: z.ZodNumber;
1685
+ }, z.core.$strict>;
1686
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1687
+ mode: z.ZodLiteral<"none">;
1688
+ }, z.core.$strict>, z.ZodObject<{
1689
+ mode: z.ZodLiteral<"offset">;
1690
+ limit: z.ZodNumber;
1691
+ offset: z.ZodNumber;
1692
+ returned: z.ZodNumber;
1693
+ has_more: z.ZodBoolean;
1694
+ next_offset: z.ZodOptional<z.ZodNumber>;
1695
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1696
+ order_by: z.ZodArray<z.ZodString>;
1697
+ }, z.core.$strict>]>;
1698
+ truncation: z.ZodObject<{
1699
+ truncated: z.ZodBoolean;
1700
+ reason: z.ZodOptional<z.ZodEnum<{
1701
+ record_limit: "record_limit";
1702
+ byte_limit: "byte_limit";
1703
+ }>>;
1704
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1705
+ }, z.core.$strict>;
1706
+ }, z.core.$strict>;
1707
+ }, "profile"> & {
1708
+ profile: typeof import("./tool-module.js").profileNameSchema;
1709
+ } & {
1710
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1711
+ }, z.core.$strict>;
1712
+ sn_atf_results: z.ZodObject<Omit<{
1713
+ data: z.ZodObject<{
1714
+ action: z.ZodEnum<{
1715
+ get: "get";
1716
+ step: "step";
1717
+ history: "history";
1718
+ compare: "compare";
1719
+ }>;
1720
+ step_detail: z.ZodOptional<z.ZodObject<{
1721
+ step_result_id: z.ZodString;
1722
+ test_result_id: z.ZodString;
1723
+ step_id: z.ZodOptional<z.ZodString>;
1724
+ step: z.ZodString;
1725
+ status: z.ZodString;
1726
+ field: z.ZodEnum<{
1727
+ output: "output";
1728
+ summary: "summary";
1729
+ }>;
1730
+ text: z.ZodString;
1731
+ offset: z.ZodNumber;
1732
+ total_characters: z.ZodNumber;
1733
+ next_offset: z.ZodOptional<z.ZodNumber>;
1734
+ }, z.core.$strict>>;
1735
+ execution: z.ZodOptional<z.ZodObject<{
1736
+ outcome: z.ZodEnum<{
1737
+ unavailable: "unavailable";
1738
+ running: "running";
1739
+ completed: "completed";
1740
+ }>;
1741
+ progress_id: z.ZodOptional<z.ZodString>;
1742
+ result_id: z.ZodOptional<z.ZodString>;
1743
+ suite_id: z.ZodOptional<z.ZodString>;
1744
+ suite_name: z.ZodOptional<z.ZodString>;
1745
+ run: z.ZodOptional<z.ZodObject<{
1746
+ runId: z.ZodString;
1747
+ suiteId: z.ZodString;
1748
+ startedAt: z.ZodString;
1749
+ finishedAt: z.ZodOptional<z.ZodString>;
1750
+ status: z.ZodEnum<{
1751
+ error: "error";
1752
+ success: "success";
1753
+ pending: "pending";
1754
+ running: "running";
1755
+ failure: "failure";
1756
+ skipped: "skipped";
1757
+ canceled: "canceled";
1758
+ success_with_warnings: "success_with_warnings";
1759
+ }>;
1760
+ durationMs: z.ZodNumber;
1761
+ counts: z.ZodObject<{
1762
+ passed: z.ZodNumber;
1763
+ failed: z.ZodNumber;
1764
+ errors: z.ZodNumber;
1765
+ skipped: z.ZodNumber;
1766
+ }, z.core.$strict>;
1767
+ tests: z.ZodArray<z.ZodObject<{
1768
+ testId: z.ZodString;
1769
+ status: z.ZodEnum<{
1770
+ error: "error";
1771
+ success: "success";
1772
+ pending: "pending";
1773
+ running: "running";
1774
+ failure: "failure";
1775
+ skipped: "skipped";
1776
+ canceled: "canceled";
1777
+ success_with_warnings: "success_with_warnings";
1778
+ }>;
1779
+ firstFailure: z.ZodOptional<z.ZodString>;
1780
+ }, z.core.$strict>>;
1781
+ }, z.core.$strict>>;
1782
+ failures: z.ZodArray<z.ZodObject<{
1783
+ test_id: z.ZodString;
1784
+ test_name: z.ZodString;
1785
+ step: z.ZodString;
1786
+ message: z.ZodString;
1787
+ message_truncated: z.ZodBoolean;
1788
+ test_result_id: z.ZodString;
1789
+ step_result_id: z.ZodOptional<z.ZodString>;
1790
+ step_id: z.ZodOptional<z.ZodString>;
1791
+ }, z.core.$strict>>;
1792
+ pagination: z.ZodOptional<z.ZodObject<{
1793
+ tests_total: z.ZodNumber;
1794
+ tests_offset: z.ZodNumber;
1795
+ tests_next_offset: z.ZodOptional<z.ZodNumber>;
1796
+ failures_total: z.ZodNumber;
1797
+ failures_offset: z.ZodNumber;
1798
+ failures_next_offset: z.ZodOptional<z.ZodNumber>;
1799
+ }, z.core.$strict>>;
1800
+ comparison: z.ZodOptional<z.ZodObject<{
1801
+ previous_run: z.ZodString;
1802
+ current_run: z.ZodString;
1803
+ new_failures: z.ZodArray<z.ZodString>;
1804
+ fixed: z.ZodArray<z.ZodString>;
1805
+ still_failing: z.ZodArray<z.ZodString>;
1806
+ flaky: z.ZodArray<z.ZodString>;
1807
+ status_changed: z.ZodArray<z.ZodString>;
1808
+ duration_change_ms: z.ZodNumber;
1809
+ duration_regression: z.ZodBoolean;
1810
+ }, z.core.$strict>>;
1811
+ warnings: z.ZodArray<z.ZodString>;
1812
+ }, z.core.$strict>>;
1813
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1814
+ runId: z.ZodString;
1815
+ suiteId: z.ZodString;
1816
+ startedAt: z.ZodString;
1817
+ finishedAt: z.ZodOptional<z.ZodString>;
1818
+ status: z.ZodEnum<{
1819
+ error: "error";
1820
+ success: "success";
1821
+ pending: "pending";
1822
+ running: "running";
1823
+ failure: "failure";
1824
+ skipped: "skipped";
1825
+ canceled: "canceled";
1826
+ success_with_warnings: "success_with_warnings";
1827
+ }>;
1828
+ durationMs: z.ZodNumber;
1829
+ counts: z.ZodObject<{
1830
+ passed: z.ZodNumber;
1831
+ failed: z.ZodNumber;
1832
+ errors: z.ZodNumber;
1833
+ skipped: z.ZodNumber;
1834
+ }, z.core.$strict>;
1835
+ tests: z.ZodArray<z.ZodObject<{
1836
+ testId: z.ZodString;
1837
+ status: z.ZodEnum<{
1838
+ error: "error";
1839
+ success: "success";
1840
+ pending: "pending";
1841
+ running: "running";
1842
+ failure: "failure";
1843
+ skipped: "skipped";
1844
+ canceled: "canceled";
1845
+ success_with_warnings: "success_with_warnings";
1846
+ }>;
1847
+ firstFailure: z.ZodOptional<z.ZodString>;
1848
+ }, z.core.$strict>>;
1849
+ }, z.core.$strict>>>;
1850
+ comparison: z.ZodOptional<z.ZodObject<{
1851
+ previous_run: z.ZodString;
1852
+ current_run: z.ZodString;
1853
+ new_failures: z.ZodArray<z.ZodString>;
1854
+ fixed: z.ZodArray<z.ZodString>;
1855
+ still_failing: z.ZodArray<z.ZodString>;
1856
+ flaky: z.ZodArray<z.ZodString>;
1857
+ status_changed: z.ZodArray<z.ZodString>;
1858
+ duration_change_ms: z.ZodNumber;
1859
+ duration_regression: z.ZodBoolean;
1860
+ }, z.core.$strict>>;
1861
+ message: z.ZodOptional<z.ZodString>;
1862
+ }, z.core.$strict>;
1863
+ metadata: z.ZodObject<{
1864
+ kind: z.ZodEnum<{
1865
+ operation: "operation";
1866
+ collection: "collection";
1867
+ single: "single";
1868
+ }>;
1869
+ record_count: z.ZodNumber;
1870
+ limits: z.ZodObject<{
1871
+ max_records: z.ZodNumber;
1872
+ max_bytes: z.ZodNumber;
1873
+ }, z.core.$strict>;
1874
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1875
+ mode: z.ZodLiteral<"none">;
1876
+ }, z.core.$strict>, z.ZodObject<{
1877
+ mode: z.ZodLiteral<"offset">;
1878
+ limit: z.ZodNumber;
1879
+ offset: z.ZodNumber;
1880
+ returned: z.ZodNumber;
1881
+ has_more: z.ZodBoolean;
1882
+ next_offset: z.ZodOptional<z.ZodNumber>;
1883
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1884
+ order_by: z.ZodArray<z.ZodString>;
1885
+ }, z.core.$strict>]>;
1886
+ truncation: z.ZodObject<{
1887
+ truncated: z.ZodBoolean;
1888
+ reason: z.ZodOptional<z.ZodEnum<{
1889
+ record_limit: "record_limit";
1890
+ byte_limit: "byte_limit";
1891
+ }>>;
1892
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1893
+ }, z.core.$strict>;
1894
+ }, z.core.$strict>;
1895
+ }, "profile"> & {
1896
+ profile: typeof import("./tool-module.js").profileNameSchema;
1897
+ } & {
1898
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1899
+ }, z.core.$strict>;
1900
+ sn_atf_readiness: z.ZodObject<Omit<{
1901
+ data: z.ZodObject<{
1902
+ verdict: z.ZodEnum<{
1903
+ ready: "ready";
1904
+ blocked: "blocked";
1905
+ unverified: "unverified";
1906
+ }>;
1907
+ checks: z.ZodArray<z.ZodObject<{
1908
+ check: z.ZodString;
1909
+ status: z.ZodEnum<{
1910
+ warn: "warn";
1911
+ pass: "pass";
1912
+ fail: "fail";
1913
+ }>;
1914
+ message: z.ZodString;
1915
+ }, z.core.$strict>>;
1916
+ }, z.core.$strict>;
1917
+ metadata: z.ZodObject<{
1918
+ kind: z.ZodEnum<{
1919
+ operation: "operation";
1920
+ collection: "collection";
1921
+ single: "single";
1922
+ }>;
1923
+ record_count: z.ZodNumber;
1924
+ limits: z.ZodObject<{
1925
+ max_records: z.ZodNumber;
1926
+ max_bytes: z.ZodNumber;
1927
+ }, z.core.$strict>;
1928
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1929
+ mode: z.ZodLiteral<"none">;
1930
+ }, z.core.$strict>, z.ZodObject<{
1931
+ mode: z.ZodLiteral<"offset">;
1932
+ limit: z.ZodNumber;
1933
+ offset: z.ZodNumber;
1934
+ returned: z.ZodNumber;
1935
+ has_more: z.ZodBoolean;
1936
+ next_offset: z.ZodOptional<z.ZodNumber>;
1937
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
1938
+ order_by: z.ZodArray<z.ZodString>;
1939
+ }, z.core.$strict>]>;
1940
+ truncation: z.ZodObject<{
1941
+ truncated: z.ZodBoolean;
1942
+ reason: z.ZodOptional<z.ZodEnum<{
1943
+ record_limit: "record_limit";
1944
+ byte_limit: "byte_limit";
1945
+ }>>;
1946
+ dropped_records: z.ZodOptional<z.ZodNumber>;
1947
+ }, z.core.$strict>;
1948
+ }, z.core.$strict>;
1949
+ }, "profile"> & {
1950
+ profile: typeof import("./tool-module.js").profileNameSchema;
1951
+ } & {
1952
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
1953
+ }, z.core.$strict>;
1954
+ sn_atf_author: z.ZodObject<Omit<{
1955
+ data: z.ZodObject<{
1956
+ action: z.ZodEnum<{
1957
+ create_test: "create_test";
1958
+ create_suite: "create_suite";
1959
+ add_tests_to_suite: "add_tests_to_suite";
1960
+ add_steps: "add_steps";
1961
+ list_step_types: "list_step_types";
1962
+ }>;
1963
+ step_types: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1964
+ outcome: z.ZodEnum<{
1965
+ failed: "failed";
1966
+ created: "created";
1967
+ catalog: "catalog";
1968
+ }>;
1969
+ results: z.ZodArray<z.ZodObject<{
1970
+ table: z.ZodEnum<{
1971
+ sys_atf_step: "sys_atf_step";
1972
+ sys_atf_test: "sys_atf_test";
1973
+ sys_atf_test_suite: "sys_atf_test_suite";
1974
+ sys_atf_test_suite_test: "sys_atf_test_suite_test";
1975
+ }>;
1976
+ sys_id: z.ZodString;
1977
+ }, z.core.$strict>>;
1978
+ rolled_back: z.ZodArray<z.ZodString>;
1979
+ rollback_failed: z.ZodArray<z.ZodString>;
1980
+ uncertain_insert: z.ZodBoolean;
1981
+ message: z.ZodOptional<z.ZodString>;
1982
+ }, z.core.$strict>;
1983
+ metadata: z.ZodObject<{
1984
+ kind: z.ZodEnum<{
1985
+ operation: "operation";
1986
+ collection: "collection";
1987
+ single: "single";
1988
+ }>;
1989
+ record_count: z.ZodNumber;
1990
+ limits: z.ZodObject<{
1991
+ max_records: z.ZodNumber;
1992
+ max_bytes: z.ZodNumber;
1993
+ }, z.core.$strict>;
1994
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
1995
+ mode: z.ZodLiteral<"none">;
1996
+ }, z.core.$strict>, z.ZodObject<{
1997
+ mode: z.ZodLiteral<"offset">;
1998
+ limit: z.ZodNumber;
1999
+ offset: z.ZodNumber;
2000
+ returned: z.ZodNumber;
2001
+ has_more: z.ZodBoolean;
2002
+ next_offset: z.ZodOptional<z.ZodNumber>;
2003
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
2004
+ order_by: z.ZodArray<z.ZodString>;
2005
+ }, z.core.$strict>]>;
2006
+ truncation: z.ZodObject<{
2007
+ truncated: z.ZodBoolean;
2008
+ reason: z.ZodOptional<z.ZodEnum<{
2009
+ record_limit: "record_limit";
2010
+ byte_limit: "byte_limit";
2011
+ }>>;
2012
+ dropped_records: z.ZodOptional<z.ZodNumber>;
2013
+ }, z.core.$strict>;
2014
+ }, z.core.$strict>;
2015
+ }, "profile"> & {
2016
+ profile: typeof import("./tool-module.js").profileNameSchema;
2017
+ } & {
2018
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
2019
+ }, z.core.$strict>;
2020
+ sn_flow_view: z.ZodObject<Omit<{
2021
+ data: z.ZodObject<{
2022
+ schema_version: z.ZodLiteral<1>;
2023
+ source: z.ZodEnum<{
2024
+ table: "table";
2025
+ }>;
2026
+ flows: z.ZodArray<z.ZodObject<{
2027
+ index: z.ZodNumber;
2028
+ source: z.ZodEnum<{
2029
+ table: "table";
2030
+ }>;
2031
+ sys_id: z.ZodString;
2032
+ name: z.ZodObject<{
2033
+ text: z.ZodNullable<z.ZodString>;
2034
+ redacted: z.ZodOptional<z.ZodEnum<{
2035
+ limit: "limit";
2036
+ field_policy: "field_policy";
2037
+ sensitive_name: "sensitive_name";
2038
+ sensitive_type: "sensitive_type";
2039
+ not_requested: "not_requested";
2040
+ decode_failed: "decode_failed";
2041
+ }>>;
2042
+ original_length: z.ZodOptional<z.ZodNumber>;
2043
+ }, z.core.$strict>;
2044
+ description: z.ZodObject<{
2045
+ text: z.ZodNullable<z.ZodString>;
2046
+ redacted: z.ZodOptional<z.ZodEnum<{
2047
+ limit: "limit";
2048
+ field_policy: "field_policy";
2049
+ sensitive_name: "sensitive_name";
2050
+ sensitive_type: "sensitive_type";
2051
+ not_requested: "not_requested";
2052
+ decode_failed: "decode_failed";
2053
+ }>>;
2054
+ original_length: z.ZodOptional<z.ZodNumber>;
2055
+ }, z.core.$strict>;
2056
+ type: z.ZodNullable<z.ZodEnum<{
2057
+ subflow: "subflow";
2058
+ flow: "flow";
2059
+ }>>;
2060
+ active: z.ZodNullable<z.ZodBoolean>;
2061
+ status: z.ZodNullable<z.ZodString>;
2062
+ version: z.ZodNullable<z.ZodString>;
2063
+ scope: z.ZodNullable<z.ZodString>;
2064
+ called_from: z.ZodOptional<z.ZodString>;
2065
+ }, z.core.$strict>>;
2066
+ trigger: z.ZodNullable<z.ZodObject<{
2067
+ node_id: z.ZodLiteral<"n0">;
2068
+ type: z.ZodObject<{
2069
+ text: z.ZodNullable<z.ZodString>;
2070
+ redacted: z.ZodOptional<z.ZodEnum<{
2071
+ limit: "limit";
2072
+ field_policy: "field_policy";
2073
+ sensitive_name: "sensitive_name";
2074
+ sensitive_type: "sensitive_type";
2075
+ not_requested: "not_requested";
2076
+ decode_failed: "decode_failed";
2077
+ }>>;
2078
+ original_length: z.ZodOptional<z.ZodNumber>;
2079
+ }, z.core.$strict>;
2080
+ table: z.ZodObject<{
2081
+ text: z.ZodNullable<z.ZodString>;
2082
+ redacted: z.ZodOptional<z.ZodEnum<{
2083
+ limit: "limit";
2084
+ field_policy: "field_policy";
2085
+ sensitive_name: "sensitive_name";
2086
+ sensitive_type: "sensitive_type";
2087
+ not_requested: "not_requested";
2088
+ decode_failed: "decode_failed";
2089
+ }>>;
2090
+ original_length: z.ZodOptional<z.ZodNumber>;
2091
+ }, z.core.$strict>;
2092
+ condition: z.ZodObject<{
2093
+ text: z.ZodNullable<z.ZodString>;
2094
+ redacted: z.ZodOptional<z.ZodEnum<{
2095
+ limit: "limit";
2096
+ field_policy: "field_policy";
2097
+ sensitive_name: "sensitive_name";
2098
+ sensitive_type: "sensitive_type";
2099
+ not_requested: "not_requested";
2100
+ decode_failed: "decode_failed";
2101
+ }>>;
2102
+ original_length: z.ZodOptional<z.ZodNumber>;
2103
+ }, z.core.$strict>;
2104
+ schedule: z.ZodObject<{
2105
+ text: z.ZodNullable<z.ZodString>;
2106
+ redacted: z.ZodOptional<z.ZodEnum<{
2107
+ limit: "limit";
2108
+ field_policy: "field_policy";
2109
+ sensitive_name: "sensitive_name";
2110
+ sensitive_type: "sensitive_type";
2111
+ not_requested: "not_requested";
2112
+ decode_failed: "decode_failed";
2113
+ }>>;
2114
+ original_length: z.ZodOptional<z.ZodNumber>;
2115
+ }, z.core.$strict>;
2116
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2117
+ name: z.ZodString;
2118
+ label: z.ZodNullable<z.ZodString>;
2119
+ type: z.ZodNullable<z.ZodString>;
2120
+ value: z.ZodNullable<z.ZodString>;
2121
+ redacted: z.ZodOptional<z.ZodEnum<{
2122
+ limit: "limit";
2123
+ field_policy: "field_policy";
2124
+ sensitive_name: "sensitive_name";
2125
+ sensitive_type: "sensitive_type";
2126
+ not_requested: "not_requested";
2127
+ decode_failed: "decode_failed";
2128
+ }>>;
2129
+ original_length: z.ZodOptional<z.ZodNumber>;
2130
+ script: z.ZodOptional<z.ZodBoolean>;
2131
+ pills: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2132
+ }, z.core.$strict>>>;
2133
+ }, z.core.$strict>>;
2134
+ nodes: z.ZodArray<z.ZodObject<{
2135
+ id: z.ZodString;
2136
+ flow_index: z.ZodNumber;
2137
+ kind: z.ZodEnum<{
2138
+ action: "action";
2139
+ trigger: "trigger";
2140
+ logic: "logic";
2141
+ subflow: "subflow";
2142
+ more: "more";
2143
+ }>;
2144
+ logic_kind: z.ZodOptional<z.ZodEnum<{
2145
+ catch: "catch";
2146
+ if: "if";
2147
+ else_if: "else_if";
2148
+ else: "else";
2149
+ for_each: "for_each";
2150
+ do_until: "do_until";
2151
+ parallel: "parallel";
2152
+ try: "try";
2153
+ wait: "wait";
2154
+ set_flow_variables: "set_flow_variables";
2155
+ assign_subflow_outputs: "assign_subflow_outputs";
2156
+ end_flow: "end_flow";
2157
+ go_back_to: "go_back_to";
2158
+ skip_iteration: "skip_iteration";
2159
+ exit_loop: "exit_loop";
2160
+ decision: "decision";
2161
+ other: "other";
2162
+ parallel_branch: "parallel_branch";
2163
+ top_level_try: "top_level_try";
2164
+ top_level_catch: "top_level_catch";
2165
+ decision_branch: "decision_branch";
2166
+ append_flow_variables: "append_flow_variables";
2167
+ get_flow_outputs: "get_flow_outputs";
2168
+ dynamic_flow: "dynamic_flow";
2169
+ call_workflow: "call_workflow";
2170
+ placeholder: "placeholder";
2171
+ update_flow_template: "update_flow_template";
2172
+ }>>;
2173
+ step: z.ZodString;
2174
+ depth: z.ZodNumber;
2175
+ parent: z.ZodOptional<z.ZodString>;
2176
+ order: z.ZodNullable<z.ZodNumber>;
2177
+ title: z.ZodObject<{
2178
+ text: z.ZodNullable<z.ZodString>;
2179
+ redacted: z.ZodOptional<z.ZodEnum<{
2180
+ limit: "limit";
2181
+ field_policy: "field_policy";
2182
+ sensitive_name: "sensitive_name";
2183
+ sensitive_type: "sensitive_type";
2184
+ not_requested: "not_requested";
2185
+ decode_failed: "decode_failed";
2186
+ }>>;
2187
+ original_length: z.ZodOptional<z.ZodNumber>;
2188
+ }, z.core.$strict>;
2189
+ annotation: z.ZodObject<{
2190
+ text: z.ZodNullable<z.ZodString>;
2191
+ redacted: z.ZodOptional<z.ZodEnum<{
2192
+ limit: "limit";
2193
+ field_policy: "field_policy";
2194
+ sensitive_name: "sensitive_name";
2195
+ sensitive_type: "sensitive_type";
2196
+ not_requested: "not_requested";
2197
+ decode_failed: "decode_failed";
2198
+ }>>;
2199
+ original_length: z.ZodOptional<z.ZodNumber>;
2200
+ }, z.core.$strict>;
2201
+ condition: z.ZodOptional<z.ZodObject<{
2202
+ text: z.ZodNullable<z.ZodString>;
2203
+ redacted: z.ZodOptional<z.ZodEnum<{
2204
+ limit: "limit";
2205
+ field_policy: "field_policy";
2206
+ sensitive_name: "sensitive_name";
2207
+ sensitive_type: "sensitive_type";
2208
+ not_requested: "not_requested";
2209
+ decode_failed: "decode_failed";
2210
+ }>>;
2211
+ original_length: z.ZodOptional<z.ZodNumber>;
2212
+ }, z.core.$strict>>;
2213
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2214
+ name: z.ZodString;
2215
+ label: z.ZodNullable<z.ZodString>;
2216
+ type: z.ZodNullable<z.ZodString>;
2217
+ value: z.ZodNullable<z.ZodString>;
2218
+ redacted: z.ZodOptional<z.ZodEnum<{
2219
+ limit: "limit";
2220
+ field_policy: "field_policy";
2221
+ sensitive_name: "sensitive_name";
2222
+ sensitive_type: "sensitive_type";
2223
+ not_requested: "not_requested";
2224
+ decode_failed: "decode_failed";
2225
+ }>>;
2226
+ original_length: z.ZodOptional<z.ZodNumber>;
2227
+ script: z.ZodOptional<z.ZodBoolean>;
2228
+ pills: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2229
+ }, z.core.$strict>>>;
2230
+ subflow: z.ZodOptional<z.ZodObject<{
2231
+ flow_sys_id: z.ZodNullable<z.ZodString>;
2232
+ name: z.ZodObject<{
2233
+ text: z.ZodNullable<z.ZodString>;
2234
+ redacted: z.ZodOptional<z.ZodEnum<{
2235
+ limit: "limit";
2236
+ field_policy: "field_policy";
2237
+ sensitive_name: "sensitive_name";
2238
+ sensitive_type: "sensitive_type";
2239
+ not_requested: "not_requested";
2240
+ decode_failed: "decode_failed";
2241
+ }>>;
2242
+ original_length: z.ZodOptional<z.ZodNumber>;
2243
+ }, z.core.$strict>;
2244
+ expanded_index: z.ZodOptional<z.ZodNumber>;
2245
+ not_expanded: z.ZodOptional<z.ZodEnum<{
2246
+ not_found: "not_found";
2247
+ timeout: "timeout";
2248
+ limit: "limit";
2249
+ depth: "depth";
2250
+ too_large: "too_large";
2251
+ cycle: "cycle";
2252
+ denied: "denied";
2253
+ }>>;
2254
+ }, z.core.$strict>>;
2255
+ ref: z.ZodOptional<z.ZodObject<{
2256
+ table: z.ZodEnum<{
2257
+ sys_variable_value: "sys_variable_value";
2258
+ sys_hub_flow: "sys_hub_flow";
2259
+ sys_hub_flow_snapshot: "sys_hub_flow_snapshot";
2260
+ sys_hub_trigger_instance: "sys_hub_trigger_instance";
2261
+ sys_hub_trigger_instance_v2: "sys_hub_trigger_instance_v2";
2262
+ sys_hub_action_instance: "sys_hub_action_instance";
2263
+ sys_hub_action_instance_v2: "sys_hub_action_instance_v2";
2264
+ sys_hub_flow_logic: "sys_hub_flow_logic";
2265
+ sys_hub_flow_logic_instance_v2: "sys_hub_flow_logic_instance_v2";
2266
+ sys_hub_sub_flow_instance: "sys_hub_sub_flow_instance";
2267
+ sys_hub_sub_flow_instance_v2: "sys_hub_sub_flow_instance_v2";
2268
+ sys_hub_flow_variable: "sys_hub_flow_variable";
2269
+ sys_hub_flow_input: "sys_hub_flow_input";
2270
+ sys_hub_flow_output: "sys_hub_flow_output";
2271
+ var_dictionary: "var_dictionary";
2272
+ }>;
2273
+ sys_id: z.ZodString;
2274
+ }, z.core.$strict>>;
2275
+ omitted_steps: z.ZodOptional<z.ZodNumber>;
2276
+ }, z.core.$strict>>;
2277
+ edges: z.ZodArray<z.ZodObject<{
2278
+ from: z.ZodString;
2279
+ to: z.ZodString;
2280
+ kind: z.ZodEnum<{
2281
+ error: "error";
2282
+ false: "false";
2283
+ true: "true";
2284
+ subflow: "subflow";
2285
+ parallel: "parallel";
2286
+ next: "next";
2287
+ loop_body: "loop_body";
2288
+ loop_back: "loop_back";
2289
+ }>;
2290
+ }, z.core.$strict>>;
2291
+ pills: z.ZodArray<z.ZodObject<{
2292
+ token: z.ZodString;
2293
+ label: z.ZodNullable<z.ZodString>;
2294
+ }, z.core.$strict>>;
2295
+ variables: z.ZodArray<z.ZodObject<{
2296
+ scope: z.ZodEnum<{
2297
+ output: "output";
2298
+ input: "input";
2299
+ variable: "variable";
2300
+ }>;
2301
+ flow_index: z.ZodNumber;
2302
+ name: z.ZodString;
2303
+ label: z.ZodNullable<z.ZodString>;
2304
+ type: z.ZodNullable<z.ZodString>;
2305
+ }, z.core.$strict>>;
2306
+ options: z.ZodObject<{
2307
+ depth: z.ZodNumber;
2308
+ include_inputs: z.ZodBoolean;
2309
+ max_nodes: z.ZodNumber;
2310
+ format: z.ZodEnum<{
2311
+ both: "both";
2312
+ mermaid: "mermaid";
2313
+ outline: "outline";
2314
+ }>;
2315
+ }, z.core.$strict>;
2316
+ limits_hit: z.ZodArray<z.ZodEnum<{
2317
+ max_nodes: "max_nodes";
2318
+ max_nesting: "max_nesting";
2319
+ max_depth: "max_depth";
2320
+ max_subflow_expansions: "max_subflow_expansions";
2321
+ upstream_scopes: "upstream_scopes";
2322
+ rows_per_table: "rows_per_table";
2323
+ inputs_per_node: "inputs_per_node";
2324
+ input_value_chars: "input_value_chars";
2325
+ pills: "pills";
2326
+ edges: "edges";
2327
+ response_bytes: "response_bytes";
2328
+ }>>;
2329
+ warnings: z.ZodArray<z.ZodEnum<{
2330
+ subflow_cycle: "subflow_cycle";
2331
+ subflow_not_found: "subflow_not_found";
2332
+ subflow_denied: "subflow_denied";
2333
+ orphan_steps: "orphan_steps";
2334
+ unknown_logic_type: "unknown_logic_type";
2335
+ items_dropped_invalid: "items_dropped_invalid";
2336
+ gzip_decode_failed: "gzip_decode_failed";
2337
+ label_cache_unavailable: "label_cache_unavailable";
2338
+ flow_version_unknown: "flow_version_unknown";
2339
+ subflow_too_large: "subflow_too_large";
2340
+ inputs_omitted_too_large: "inputs_omitted_too_large";
2341
+ flow_too_large: "flow_too_large";
2342
+ input_values_incomplete: "input_values_incomplete";
2343
+ subflow_timeout: "subflow_timeout";
2344
+ }>>;
2345
+ counts: z.ZodObject<{
2346
+ steps_seen: z.ZodNumber;
2347
+ nodes_returned: z.ZodNumber;
2348
+ inputs_redacted: z.ZodNumber;
2349
+ inputs_truncated: z.ZodNumber;
2350
+ items_dropped: z.ZodNumber;
2351
+ }, z.core.$strict>;
2352
+ }, z.core.$strict>;
2353
+ metadata: z.ZodObject<{
2354
+ kind: z.ZodEnum<{
2355
+ operation: "operation";
2356
+ collection: "collection";
2357
+ single: "single";
2358
+ }>;
2359
+ record_count: z.ZodNumber;
2360
+ limits: z.ZodObject<{
2361
+ max_records: z.ZodNumber;
2362
+ max_bytes: z.ZodNumber;
2363
+ }, z.core.$strict>;
2364
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
2365
+ mode: z.ZodLiteral<"none">;
2366
+ }, z.core.$strict>, z.ZodObject<{
2367
+ mode: z.ZodLiteral<"offset">;
2368
+ limit: z.ZodNumber;
2369
+ offset: z.ZodNumber;
2370
+ returned: z.ZodNumber;
2371
+ has_more: z.ZodBoolean;
2372
+ next_offset: z.ZodOptional<z.ZodNumber>;
2373
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
2374
+ order_by: z.ZodArray<z.ZodString>;
2375
+ }, z.core.$strict>]>;
2376
+ truncation: z.ZodObject<{
2377
+ truncated: z.ZodBoolean;
2378
+ reason: z.ZodOptional<z.ZodEnum<{
2379
+ record_limit: "record_limit";
2380
+ byte_limit: "byte_limit";
2381
+ }>>;
2382
+ dropped_records: z.ZodOptional<z.ZodNumber>;
2383
+ }, z.core.$strict>;
2384
+ }, z.core.$strict>;
2385
+ }, "profile"> & {
2386
+ profile: typeof import("./tool-module.js").profileNameSchema;
2387
+ } & {
2388
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
2389
+ }, z.core.$strict>;
2390
+ sn_nl: z.ZodObject<Omit<{
2391
+ data: z.ZodObject<{
2392
+ request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2393
+ }, z.core.$strict>;
2394
+ metadata: z.ZodObject<{
2395
+ kind: z.ZodEnum<{
2396
+ operation: "operation";
2397
+ collection: "collection";
2398
+ single: "single";
2399
+ }>;
2400
+ record_count: z.ZodNumber;
2401
+ limits: z.ZodObject<{
2402
+ max_records: z.ZodNumber;
2403
+ max_bytes: z.ZodNumber;
2404
+ }, z.core.$strict>;
2405
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
2406
+ mode: z.ZodLiteral<"none">;
2407
+ }, z.core.$strict>, z.ZodObject<{
2408
+ mode: z.ZodLiteral<"offset">;
2409
+ limit: z.ZodNumber;
2410
+ offset: z.ZodNumber;
2411
+ returned: z.ZodNumber;
2412
+ has_more: z.ZodBoolean;
2413
+ next_offset: z.ZodOptional<z.ZodNumber>;
2414
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
2415
+ order_by: z.ZodArray<z.ZodString>;
2416
+ }, z.core.$strict>]>;
2417
+ truncation: z.ZodObject<{
2418
+ truncated: z.ZodBoolean;
2419
+ reason: z.ZodOptional<z.ZodEnum<{
2420
+ record_limit: "record_limit";
2421
+ byte_limit: "byte_limit";
2422
+ }>>;
2423
+ dropped_records: z.ZodOptional<z.ZodNumber>;
2424
+ }, z.core.$strict>;
2425
+ }, z.core.$strict>;
2426
+ }, "profile"> & {
2427
+ profile: typeof import("./tool-module.js").profileNameSchema;
2428
+ } & {
2429
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
2430
+ }, z.core.$strict>;
2431
+ sn_profile: z.ZodObject<Omit<{
2432
+ data: z.ZodObject<{
2433
+ name: z.ZodString;
2434
+ instance: z.ZodString;
2435
+ auth_type: z.ZodEnum<{
2436
+ basic: "basic";
2437
+ oauth: "oauth";
2438
+ apikey: "apikey";
2439
+ }>;
2440
+ policy: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2441
+ policy_card: z.ZodOptional<z.ZodString>;
2442
+ }, z.core.$strict>;
2443
+ metadata: z.ZodObject<{
2444
+ kind: z.ZodEnum<{
2445
+ operation: "operation";
2446
+ collection: "collection";
2447
+ single: "single";
2448
+ }>;
2449
+ record_count: z.ZodNumber;
2450
+ limits: z.ZodObject<{
2451
+ max_records: z.ZodNumber;
2452
+ max_bytes: z.ZodNumber;
2453
+ }, z.core.$strict>;
2454
+ pagination: z.ZodUnion<readonly [z.ZodObject<{
2455
+ mode: z.ZodLiteral<"none">;
2456
+ }, z.core.$strict>, z.ZodObject<{
2457
+ mode: z.ZodLiteral<"offset">;
2458
+ limit: z.ZodNumber;
2459
+ offset: z.ZodNumber;
2460
+ returned: z.ZodNumber;
2461
+ has_more: z.ZodBoolean;
2462
+ next_offset: z.ZodOptional<z.ZodNumber>;
2463
+ recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
2464
+ order_by: z.ZodArray<z.ZodString>;
2465
+ }, z.core.$strict>]>;
2466
+ truncation: z.ZodObject<{
2467
+ truncated: z.ZodBoolean;
2468
+ reason: z.ZodOptional<z.ZodEnum<{
2469
+ record_limit: "record_limit";
2470
+ byte_limit: "byte_limit";
2471
+ }>>;
2472
+ dropped_records: z.ZodOptional<z.ZodNumber>;
2473
+ }, z.core.$strict>;
2474
+ }, z.core.$strict>;
2475
+ }, "profile"> & {
2476
+ profile: typeof import("./tool-module.js").profileNameSchema;
2477
+ } & {
2478
+ [key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
2479
+ }, z.core.$strict>;
1582
2480
  }>;
1583
2481
  export declare function isProductionToolName(name: string): name is ProductionToolName;
1584
2482
  /** Read-only copy of a finalized envelope handed to a tool text renderer. */