mcp4openapi 0.2.7 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/README.md +147 -63
  2. package/dist/scripts/validate-profile.js +3 -3
  3. package/dist/scripts/validate-profile.js.map +1 -1
  4. package/dist/src/{oauth-provider.d.ts → auth/oauth-provider.d.ts} +7 -2
  5. package/dist/src/auth/oauth-provider.d.ts.map +1 -0
  6. package/dist/src/{oauth-provider.js → auth/oauth-provider.js} +30 -2
  7. package/dist/src/auth/oauth-provider.js.map +1 -0
  8. package/dist/src/core/cli-config.d.ts +9 -0
  9. package/dist/src/core/cli-config.d.ts.map +1 -0
  10. package/dist/src/core/cli-config.js +124 -0
  11. package/dist/src/core/cli-config.js.map +1 -0
  12. package/dist/src/{constants.d.ts → core/constants.d.ts} +1 -0
  13. package/dist/src/core/constants.d.ts.map +1 -0
  14. package/dist/src/{constants.js → core/constants.js} +1 -0
  15. package/dist/src/core/constants.js.map +1 -0
  16. package/dist/src/{errors.d.ts → core/errors.d.ts} +6 -0
  17. package/dist/src/core/errors.d.ts.map +1 -0
  18. package/dist/src/{errors.js → core/errors.js} +15 -6
  19. package/dist/src/core/errors.js.map +1 -0
  20. package/dist/src/core/filtering.d.ts +19 -0
  21. package/dist/src/core/filtering.d.ts.map +1 -0
  22. package/dist/src/core/filtering.js +292 -0
  23. package/dist/src/core/filtering.js.map +1 -0
  24. package/dist/src/core/index.d.ts +26 -0
  25. package/dist/src/core/index.d.ts.map +1 -0
  26. package/dist/src/core/index.js +275 -0
  27. package/dist/src/core/index.js.map +1 -0
  28. package/dist/src/core/lib.d.ts +8 -0
  29. package/dist/src/core/lib.d.ts.map +1 -0
  30. package/dist/src/core/lib.js +7 -0
  31. package/dist/src/core/lib.js.map +1 -0
  32. package/dist/src/{logger.d.ts → core/logger.d.ts} +6 -13
  33. package/dist/src/core/logger.d.ts.map +1 -0
  34. package/dist/src/core/logger.js +197 -0
  35. package/dist/src/core/logger.js.map +1 -0
  36. package/dist/src/{metrics.d.ts → core/metrics.d.ts} +11 -0
  37. package/dist/src/core/metrics.d.ts.map +1 -0
  38. package/dist/src/{metrics.js → core/metrics.js} +61 -0
  39. package/dist/src/core/metrics.js.map +1 -0
  40. package/dist/src/core/naming-warnings.d.ts.map +1 -0
  41. package/dist/src/{naming-warnings.js → core/naming-warnings.js} +6 -6
  42. package/dist/src/core/naming-warnings.js.map +1 -0
  43. package/dist/src/core/naming.d.ts.map +1 -0
  44. package/dist/src/core/naming.js.map +1 -0
  45. package/dist/src/generated-schemas.d.ts +281 -79
  46. package/dist/src/generated-schemas.d.ts.map +1 -1
  47. package/dist/src/generated-schemas.js +17 -3
  48. package/dist/src/generated-schemas.js.map +1 -1
  49. package/dist/src/index.d.ts +1 -6
  50. package/dist/src/index.d.ts.map +1 -1
  51. package/dist/src/index.js +1 -156
  52. package/dist/src/index.js.map +1 -1
  53. package/dist/src/lib.d.ts +1 -7
  54. package/dist/src/lib.d.ts.map +1 -1
  55. package/dist/src/lib.js +1 -6
  56. package/dist/src/lib.js.map +1 -1
  57. package/dist/src/mcp/mcp-server-manager.d.ts +20 -0
  58. package/dist/src/mcp/mcp-server-manager.d.ts.map +1 -0
  59. package/dist/src/mcp/mcp-server-manager.js +38 -0
  60. package/dist/src/mcp/mcp-server-manager.js.map +1 -0
  61. package/dist/src/{mcp-server.d.ts → mcp/mcp-server.d.ts} +43 -3
  62. package/dist/src/mcp/mcp-server.d.ts.map +1 -0
  63. package/dist/src/{mcp-server.js → mcp/mcp-server.js} +639 -123
  64. package/dist/src/mcp/mcp-server.js.map +1 -0
  65. package/dist/src/{openapi-parser.d.ts → openapi/openapi-parser.d.ts} +1 -1
  66. package/dist/src/openapi/openapi-parser.d.ts.map +1 -0
  67. package/dist/src/{openapi-parser.js → openapi/openapi-parser.js} +2 -2
  68. package/dist/src/openapi/openapi-parser.js.map +1 -0
  69. package/dist/src/{profile-loader.d.ts → profile/profile-loader.d.ts} +3 -2
  70. package/dist/src/profile/profile-loader.d.ts.map +1 -0
  71. package/dist/src/{profile-loader.js → profile/profile-loader.js} +17 -6
  72. package/dist/src/profile/profile-loader.js.map +1 -0
  73. package/dist/src/profile/profile-registry.d.ts +18 -0
  74. package/dist/src/profile/profile-registry.d.ts.map +1 -0
  75. package/dist/src/profile/profile-registry.js +26 -0
  76. package/dist/src/profile/profile-registry.js.map +1 -0
  77. package/dist/src/profile/profile-resolver.d.ts +25 -0
  78. package/dist/src/profile/profile-resolver.d.ts.map +1 -0
  79. package/dist/src/profile/profile-resolver.js +204 -0
  80. package/dist/src/profile/profile-resolver.js.map +1 -0
  81. package/dist/src/profile/startup-profile.d.ts +17 -0
  82. package/dist/src/profile/startup-profile.d.ts.map +1 -0
  83. package/dist/src/profile/startup-profile.js +30 -0
  84. package/dist/src/profile/startup-profile.js.map +1 -0
  85. package/dist/src/profile/startup-validation.d.ts +11 -0
  86. package/dist/src/profile/startup-validation.d.ts.map +1 -0
  87. package/dist/src/profile/startup-validation.js +21 -0
  88. package/dist/src/profile/startup-validation.js.map +1 -0
  89. package/dist/src/testing/dynamic-mock-server.d.ts +24 -0
  90. package/dist/src/testing/dynamic-mock-server.d.ts.map +1 -0
  91. package/dist/src/testing/dynamic-mock-server.js +138 -0
  92. package/dist/src/testing/dynamic-mock-server.js.map +1 -0
  93. package/dist/src/testing/listen-support.d.ts +3 -0
  94. package/dist/src/testing/listen-support.d.ts.map +1 -0
  95. package/dist/src/testing/listen-support.js +50 -0
  96. package/dist/src/testing/listen-support.js.map +1 -0
  97. package/dist/src/testing/request-assertions.d.ts +5 -0
  98. package/dist/src/testing/request-assertions.d.ts.map +1 -0
  99. package/dist/src/testing/request-assertions.js +165 -0
  100. package/dist/src/testing/request-assertions.js.map +1 -0
  101. package/dist/src/testing/template-utils.d.ts +10 -0
  102. package/dist/src/testing/template-utils.d.ts.map +1 -0
  103. package/dist/src/testing/template-utils.js +72 -0
  104. package/dist/src/testing/template-utils.js.map +1 -0
  105. package/dist/src/testing/test-http-utils.d.ts +1 -1
  106. package/dist/src/testing/test-http-utils.d.ts.map +1 -1
  107. package/dist/src/testing/test-http-utils.js +1 -1
  108. package/dist/src/testing/test-http-utils.js.map +1 -1
  109. package/dist/src/testing/test-loader.d.ts +6 -0
  110. package/dist/src/testing/test-loader.d.ts.map +1 -0
  111. package/dist/src/testing/test-loader.js +212 -0
  112. package/dist/src/testing/test-loader.js.map +1 -0
  113. package/dist/src/testing/test-schema.d.ts +1270 -0
  114. package/dist/src/testing/test-schema.d.ts.map +1 -0
  115. package/dist/src/testing/test-schema.js +76 -0
  116. package/dist/src/testing/test-schema.js.map +1 -0
  117. package/dist/src/tool-filter/compat.d.ts +49 -0
  118. package/dist/src/tool-filter/compat.d.ts.map +1 -0
  119. package/dist/src/tool-filter/compat.js +72 -0
  120. package/dist/src/tool-filter/compat.js.map +1 -0
  121. package/dist/src/tool-filter/config/env-config-parser.d.ts +38 -0
  122. package/dist/src/tool-filter/config/env-config-parser.d.ts.map +1 -0
  123. package/dist/src/tool-filter/config/env-config-parser.js +103 -0
  124. package/dist/src/tool-filter/config/env-config-parser.js.map +1 -0
  125. package/dist/src/tool-filter/config/header-config-parser.d.ts +37 -0
  126. package/dist/src/tool-filter/config/header-config-parser.d.ts.map +1 -0
  127. package/dist/src/tool-filter/config/header-config-parser.js +118 -0
  128. package/dist/src/tool-filter/config/header-config-parser.js.map +1 -0
  129. package/dist/src/tool-filter/errors.d.ts +18 -0
  130. package/dist/src/tool-filter/errors.d.ts.map +1 -0
  131. package/dist/src/tool-filter/errors.js +21 -0
  132. package/dist/src/tool-filter/errors.js.map +1 -0
  133. package/dist/src/tool-filter/filter/filter-engine.d.ts +45 -0
  134. package/dist/src/tool-filter/filter/filter-engine.d.ts.map +1 -0
  135. package/dist/src/tool-filter/filter/filter-engine.js +94 -0
  136. package/dist/src/tool-filter/filter/filter-engine.js.map +1 -0
  137. package/dist/src/tool-filter/filter/filter-rules.d.ts +44 -0
  138. package/dist/src/tool-filter/filter/filter-rules.d.ts.map +1 -0
  139. package/dist/src/tool-filter/filter/filter-rules.js +72 -0
  140. package/dist/src/tool-filter/filter/filter-rules.js.map +1 -0
  141. package/dist/src/tool-filter/filter/global-tool-filter.d.ts +40 -0
  142. package/dist/src/tool-filter/filter/global-tool-filter.d.ts.map +1 -0
  143. package/dist/src/tool-filter/filter/global-tool-filter.js +92 -0
  144. package/dist/src/tool-filter/filter/global-tool-filter.js.map +1 -0
  145. package/dist/src/tool-filter/filter/session-tool-filter.d.ts +29 -0
  146. package/dist/src/tool-filter/filter/session-tool-filter.d.ts.map +1 -0
  147. package/dist/src/tool-filter/filter/session-tool-filter.js +69 -0
  148. package/dist/src/tool-filter/filter/session-tool-filter.js.map +1 -0
  149. package/dist/src/tool-filter/index.d.ts +25 -0
  150. package/dist/src/tool-filter/index.d.ts.map +1 -0
  151. package/dist/src/tool-filter/index.js +30 -0
  152. package/dist/src/tool-filter/index.js.map +1 -0
  153. package/dist/src/tool-filter/integration/tool-filter-service.d.ts +44 -0
  154. package/dist/src/tool-filter/integration/tool-filter-service.d.ts.map +1 -0
  155. package/dist/src/tool-filter/integration/tool-filter-service.js +68 -0
  156. package/dist/src/tool-filter/integration/tool-filter-service.js.map +1 -0
  157. package/dist/src/tool-filter/operation/operation-classifier.d.ts +20 -0
  158. package/dist/src/tool-filter/operation/operation-classifier.d.ts.map +1 -0
  159. package/dist/src/tool-filter/operation/operation-classifier.js +26 -0
  160. package/dist/src/tool-filter/operation/operation-classifier.js.map +1 -0
  161. package/dist/src/tool-filter/operation/operation-detector.d.ts +30 -0
  162. package/dist/src/tool-filter/operation/operation-detector.d.ts.map +1 -0
  163. package/dist/src/tool-filter/operation/operation-detector.js +96 -0
  164. package/dist/src/tool-filter/operation/operation-detector.js.map +1 -0
  165. package/dist/src/tool-filter/operation/operation-resolver.d.ts +22 -0
  166. package/dist/src/tool-filter/operation/operation-resolver.d.ts.map +1 -0
  167. package/dist/src/tool-filter/operation/operation-resolver.js +32 -0
  168. package/dist/src/tool-filter/operation/operation-resolver.js.map +1 -0
  169. package/dist/src/tool-filter/regex/regex-compiler.d.ts +22 -0
  170. package/dist/src/tool-filter/regex/regex-compiler.d.ts.map +1 -0
  171. package/dist/src/tool-filter/regex/regex-compiler.js +56 -0
  172. package/dist/src/tool-filter/regex/regex-compiler.js.map +1 -0
  173. package/dist/src/tool-filter/regex/regex-validator.d.ts +24 -0
  174. package/dist/src/tool-filter/regex/regex-validator.d.ts.map +1 -0
  175. package/dist/src/tool-filter/regex/regex-validator.js +58 -0
  176. package/dist/src/tool-filter/regex/regex-validator.js.map +1 -0
  177. package/dist/src/tool-filter/types.d.ts +92 -0
  178. package/dist/src/tool-filter/types.d.ts.map +1 -0
  179. package/dist/src/tool-filter/types.js +5 -0
  180. package/dist/src/tool-filter/types.js.map +1 -0
  181. package/dist/src/tool-filter/utils.d.ts +11 -0
  182. package/dist/src/tool-filter/utils.d.ts.map +1 -0
  183. package/dist/src/tool-filter/utils.js +13 -0
  184. package/dist/src/tool-filter/utils.js.map +1 -0
  185. package/dist/src/{composite-executor.d.ts → tooling/composite-executor.d.ts} +3 -3
  186. package/dist/src/tooling/composite-executor.d.ts.map +1 -0
  187. package/dist/src/{composite-executor.js → tooling/composite-executor.js} +1 -1
  188. package/dist/src/tooling/composite-executor.js.map +1 -0
  189. package/dist/src/{dag-executor.d.ts → tooling/dag-executor.d.ts} +1 -1
  190. package/dist/src/tooling/dag-executor.d.ts.map +1 -0
  191. package/dist/src/tooling/dag-executor.js.map +1 -0
  192. package/dist/src/{proxy-executor.d.ts → tooling/proxy-executor.d.ts} +19 -4
  193. package/dist/src/tooling/proxy-executor.d.ts.map +1 -0
  194. package/dist/src/tooling/proxy-executor.js +497 -0
  195. package/dist/src/tooling/proxy-executor.js.map +1 -0
  196. package/dist/src/{tool-generator.d.ts → tooling/tool-generator.d.ts} +4 -3
  197. package/dist/src/tooling/tool-generator.d.ts.map +1 -0
  198. package/dist/src/{tool-generator.js → tooling/tool-generator.js} +23 -7
  199. package/dist/src/tooling/tool-generator.js.map +1 -0
  200. package/dist/src/{http-client-factory.d.ts → transport/http-client-factory.d.ts} +4 -1
  201. package/dist/src/transport/http-client-factory.d.ts.map +1 -0
  202. package/dist/src/{http-client-factory.js → transport/http-client-factory.js} +13 -3
  203. package/dist/src/transport/http-client-factory.js.map +1 -0
  204. package/dist/src/transport/http-transport-config.d.ts +6 -0
  205. package/dist/src/transport/http-transport-config.d.ts.map +1 -0
  206. package/dist/src/transport/http-transport-config.js +62 -0
  207. package/dist/src/transport/http-transport-config.js.map +1 -0
  208. package/dist/src/{http-transport.d.ts → transport/http-transport.d.ts} +72 -14
  209. package/dist/src/transport/http-transport.d.ts.map +1 -0
  210. package/dist/src/transport/http-transport.js +2522 -0
  211. package/dist/src/transport/http-transport.js.map +1 -0
  212. package/dist/src/{interceptors.d.ts → transport/interceptors.d.ts} +6 -2
  213. package/dist/src/transport/interceptors.d.ts.map +1 -0
  214. package/dist/src/{interceptors.js → transport/interceptors.js} +77 -46
  215. package/dist/src/transport/interceptors.js.map +1 -0
  216. package/dist/src/types/http-transport.d.ts +25 -0
  217. package/dist/src/types/http-transport.d.ts.map +1 -1
  218. package/dist/src/types/profile.d.ts +31 -1
  219. package/dist/src/types/profile.d.ts.map +1 -1
  220. package/dist/src/validation/argument-normalizer.d.ts +6 -0
  221. package/dist/src/validation/argument-normalizer.d.ts.map +1 -0
  222. package/dist/src/validation/argument-normalizer.js +70 -0
  223. package/dist/src/validation/argument-normalizer.js.map +1 -0
  224. package/dist/src/validation/jsonrpc-validator.d.ts.map +1 -0
  225. package/dist/src/validation/jsonrpc-validator.js.map +1 -0
  226. package/dist/src/{schema-validator.d.ts → validation/schema-validator.d.ts} +2 -2
  227. package/dist/src/validation/schema-validator.d.ts.map +1 -0
  228. package/dist/src/validation/schema-validator.js.map +1 -0
  229. package/dist/src/validation/validation-utils.d.ts.map +1 -0
  230. package/dist/src/validation/validation-utils.js.map +1 -0
  231. package/package.json +9 -3
  232. package/profile-schema.json +75 -3
  233. package/profiles/gitlab/developer-profile-oauth.json +1520 -0
  234. package/profiles/gitlab/developer-profile-oauth.test.json +3432 -0
  235. package/profiles/gitlab/openapi.yaml +6891 -0
  236. package/profiles/n8n/openapi.yaml +2441 -0
  237. package/profiles/n8n/profile-optimized.json +965 -0
  238. package/profiles/n8n/profile-optimized.test.json +1078 -0
  239. package/profiles/n8n/profile.json +1033 -0
  240. package/profiles/n8n/profile.test.json +983 -0
  241. package/profiles/n8n-nodes/openapi.yaml +24 -0
  242. package/profiles/n8n-nodes/profile-nodes.json +44 -0
  243. package/profiles/n8n-nodes/profile-nodes.test.json +91 -0
  244. package/profiles/semgrep/openapi.yaml +4706 -0
  245. package/profiles/semgrep/profile.json +692 -0
  246. package/profiles/semgrep/profile.test.json +471 -0
  247. package/profiles/youtrack/openapi.json +16976 -0
  248. package/profiles/youtrack/profile.json +608 -0
  249. package/profiles/youtrack/profile.test.json +1926 -0
  250. package/dist/src/composite-executor.d.ts.map +0 -1
  251. package/dist/src/composite-executor.js.map +0 -1
  252. package/dist/src/constants.d.ts.map +0 -1
  253. package/dist/src/constants.js.map +0 -1
  254. package/dist/src/dag-executor.d.ts.map +0 -1
  255. package/dist/src/dag-executor.js.map +0 -1
  256. package/dist/src/errors.d.ts.map +0 -1
  257. package/dist/src/errors.js.map +0 -1
  258. package/dist/src/http-client-factory.d.ts.map +0 -1
  259. package/dist/src/http-client-factory.js.map +0 -1
  260. package/dist/src/http-transport.d.ts.map +0 -1
  261. package/dist/src/http-transport.js +0 -1826
  262. package/dist/src/http-transport.js.map +0 -1
  263. package/dist/src/interceptors.d.ts.map +0 -1
  264. package/dist/src/interceptors.js.map +0 -1
  265. package/dist/src/jsonrpc-validator.d.ts.map +0 -1
  266. package/dist/src/jsonrpc-validator.js.map +0 -1
  267. package/dist/src/logger.d.ts.map +0 -1
  268. package/dist/src/logger.js +0 -177
  269. package/dist/src/logger.js.map +0 -1
  270. package/dist/src/mcp-server.d.ts.map +0 -1
  271. package/dist/src/mcp-server.js.map +0 -1
  272. package/dist/src/metrics.d.ts.map +0 -1
  273. package/dist/src/metrics.js.map +0 -1
  274. package/dist/src/naming-warnings.d.ts.map +0 -1
  275. package/dist/src/naming-warnings.js.map +0 -1
  276. package/dist/src/naming.d.ts.map +0 -1
  277. package/dist/src/naming.js.map +0 -1
  278. package/dist/src/oauth-provider.d.ts.map +0 -1
  279. package/dist/src/oauth-provider.js.map +0 -1
  280. package/dist/src/openapi-parser.d.ts.map +0 -1
  281. package/dist/src/openapi-parser.js.map +0 -1
  282. package/dist/src/profile-loader.d.ts.map +0 -1
  283. package/dist/src/profile-loader.js.map +0 -1
  284. package/dist/src/proxy-executor.d.ts.map +0 -1
  285. package/dist/src/proxy-executor.js +0 -240
  286. package/dist/src/proxy-executor.js.map +0 -1
  287. package/dist/src/schema-validator.d.ts.map +0 -1
  288. package/dist/src/schema-validator.js.map +0 -1
  289. package/dist/src/testing/fixtures.d.ts +0 -684
  290. package/dist/src/testing/fixtures.d.ts.map +0 -1
  291. package/dist/src/testing/fixtures.js +0 -528
  292. package/dist/src/testing/fixtures.js.map +0 -1
  293. package/dist/src/testing/mock-gitlab-server.d.ts +0 -43
  294. package/dist/src/testing/mock-gitlab-server.d.ts.map +0 -1
  295. package/dist/src/testing/mock-gitlab-server.js +0 -1026
  296. package/dist/src/testing/mock-gitlab-server.js.map +0 -1
  297. package/dist/src/testing/mock-semgrep-server.d.ts +0 -32
  298. package/dist/src/testing/mock-semgrep-server.d.ts.map +0 -1
  299. package/dist/src/testing/mock-semgrep-server.js +0 -213
  300. package/dist/src/testing/mock-semgrep-server.js.map +0 -1
  301. package/dist/src/testing/mock-youtrack-server.d.ts +0 -11
  302. package/dist/src/testing/mock-youtrack-server.d.ts.map +0 -1
  303. package/dist/src/testing/mock-youtrack-server.js +0 -138
  304. package/dist/src/testing/mock-youtrack-server.js.map +0 -1
  305. package/dist/src/tool-generator.d.ts.map +0 -1
  306. package/dist/src/tool-generator.js.map +0 -1
  307. package/dist/src/validation-utils.d.ts.map +0 -1
  308. package/dist/src/validation-utils.js.map +0 -1
  309. /package/dist/src/{naming-warnings.d.ts → core/naming-warnings.d.ts} +0 -0
  310. /package/dist/src/{naming.d.ts → core/naming.d.ts} +0 -0
  311. /package/dist/src/{naming.js → core/naming.js} +0 -0
  312. /package/dist/src/{dag-executor.js → tooling/dag-executor.js} +0 -0
  313. /package/dist/src/{jsonrpc-validator.d.ts → validation/jsonrpc-validator.d.ts} +0 -0
  314. /package/dist/src/{jsonrpc-validator.js → validation/jsonrpc-validator.js} +0 -0
  315. /package/dist/src/{schema-validator.js → validation/schema-validator.js} +0 -0
  316. /package/dist/src/{validation-utils.d.ts → validation/validation-utils.d.ts} +0 -0
  317. /package/dist/src/{validation-utils.js → validation/validation-utils.js} +0 -0
@@ -0,0 +1,1270 @@
1
+ import { z } from 'zod';
2
+ declare const RequestExpectationSchema: z.ZodObject<{
3
+ method: z.ZodOptional<z.ZodString>;
4
+ path: z.ZodOptional<z.ZodString>;
5
+ path_regex: z.ZodOptional<z.ZodString>;
6
+ origin: z.ZodOptional<z.ZodString>;
7
+ origin_regex: z.ZodOptional<z.ZodString>;
8
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
9
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ body: z.ZodOptional<z.ZodAny>;
15
+ body_exact: z.ZodOptional<z.ZodAny>;
16
+ body_regex: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ path?: string | undefined;
19
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
20
+ method?: string | undefined;
21
+ body?: any;
22
+ headers?: Record<string, string> | undefined;
23
+ origin?: string | undefined;
24
+ path_regex?: string | undefined;
25
+ origin_regex?: string | undefined;
26
+ query_absent?: string[] | undefined;
27
+ query_regex?: Record<string, string> | undefined;
28
+ headers_regex?: Record<string, string> | undefined;
29
+ headers_absent?: string[] | undefined;
30
+ body_exact?: any;
31
+ body_regex?: string | undefined;
32
+ }, {
33
+ path?: string | undefined;
34
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
35
+ method?: string | undefined;
36
+ body?: any;
37
+ headers?: Record<string, string> | undefined;
38
+ origin?: string | undefined;
39
+ path_regex?: string | undefined;
40
+ origin_regex?: string | undefined;
41
+ query_absent?: string[] | undefined;
42
+ query_regex?: Record<string, string> | undefined;
43
+ headers_regex?: Record<string, string> | undefined;
44
+ headers_absent?: string[] | undefined;
45
+ body_exact?: any;
46
+ body_regex?: string | undefined;
47
+ }>;
48
+ export declare const MockDefinitionSchema: z.ZodEffects<z.ZodObject<{
49
+ operationId: z.ZodOptional<z.ZodString>;
50
+ path: z.ZodOptional<z.ZodString>;
51
+ method: z.ZodOptional<z.ZodString>;
52
+ response: z.ZodOptional<z.ZodObject<{
53
+ status: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
54
+ body: z.ZodOptional<z.ZodAny>;
55
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56
+ delay: z.ZodOptional<z.ZodNumber>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ status: number;
59
+ body?: any;
60
+ headers?: Record<string, string> | undefined;
61
+ delay?: number | undefined;
62
+ }, {
63
+ status?: number | undefined;
64
+ body?: any;
65
+ headers?: Record<string, string> | undefined;
66
+ delay?: number | undefined;
67
+ }>>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ path?: string | undefined;
70
+ operationId?: string | undefined;
71
+ method?: string | undefined;
72
+ response?: {
73
+ status: number;
74
+ body?: any;
75
+ headers?: Record<string, string> | undefined;
76
+ delay?: number | undefined;
77
+ } | undefined;
78
+ }, {
79
+ path?: string | undefined;
80
+ operationId?: string | undefined;
81
+ method?: string | undefined;
82
+ response?: {
83
+ status?: number | undefined;
84
+ body?: any;
85
+ headers?: Record<string, string> | undefined;
86
+ delay?: number | undefined;
87
+ } | undefined;
88
+ }>, {
89
+ path?: string | undefined;
90
+ operationId?: string | undefined;
91
+ method?: string | undefined;
92
+ response?: {
93
+ status: number;
94
+ body?: any;
95
+ headers?: Record<string, string> | undefined;
96
+ delay?: number | undefined;
97
+ } | undefined;
98
+ }, {
99
+ path?: string | undefined;
100
+ operationId?: string | undefined;
101
+ method?: string | undefined;
102
+ response?: {
103
+ status?: number | undefined;
104
+ body?: any;
105
+ headers?: Record<string, string> | undefined;
106
+ delay?: number | undefined;
107
+ } | undefined;
108
+ }>;
109
+ export declare const TestExpectationSchema: z.ZodObject<{
110
+ success: z.ZodDefault<z.ZodBoolean>;
111
+ result: z.ZodOptional<z.ZodAny>;
112
+ result_exact: z.ZodOptional<z.ZodAny>;
113
+ error_code: z.ZodOptional<z.ZodString>;
114
+ error_message_regex: z.ZodOptional<z.ZodString>;
115
+ request: z.ZodOptional<z.ZodObject<{
116
+ method: z.ZodOptional<z.ZodString>;
117
+ path: z.ZodOptional<z.ZodString>;
118
+ path_regex: z.ZodOptional<z.ZodString>;
119
+ origin: z.ZodOptional<z.ZodString>;
120
+ origin_regex: z.ZodOptional<z.ZodString>;
121
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
122
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
124
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
125
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
126
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
127
+ body: z.ZodOptional<z.ZodAny>;
128
+ body_exact: z.ZodOptional<z.ZodAny>;
129
+ body_regex: z.ZodOptional<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ path?: string | undefined;
132
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
133
+ method?: string | undefined;
134
+ body?: any;
135
+ headers?: Record<string, string> | undefined;
136
+ origin?: string | undefined;
137
+ path_regex?: string | undefined;
138
+ origin_regex?: string | undefined;
139
+ query_absent?: string[] | undefined;
140
+ query_regex?: Record<string, string> | undefined;
141
+ headers_regex?: Record<string, string> | undefined;
142
+ headers_absent?: string[] | undefined;
143
+ body_exact?: any;
144
+ body_regex?: string | undefined;
145
+ }, {
146
+ path?: string | undefined;
147
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
148
+ method?: string | undefined;
149
+ body?: any;
150
+ headers?: Record<string, string> | undefined;
151
+ origin?: string | undefined;
152
+ path_regex?: string | undefined;
153
+ origin_regex?: string | undefined;
154
+ query_absent?: string[] | undefined;
155
+ query_regex?: Record<string, string> | undefined;
156
+ headers_regex?: Record<string, string> | undefined;
157
+ headers_absent?: string[] | undefined;
158
+ body_exact?: any;
159
+ body_regex?: string | undefined;
160
+ }>>;
161
+ requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
+ method: z.ZodOptional<z.ZodString>;
163
+ path: z.ZodOptional<z.ZodString>;
164
+ path_regex: z.ZodOptional<z.ZodString>;
165
+ origin: z.ZodOptional<z.ZodString>;
166
+ origin_regex: z.ZodOptional<z.ZodString>;
167
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
168
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
169
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
170
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
171
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
172
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
173
+ body: z.ZodOptional<z.ZodAny>;
174
+ body_exact: z.ZodOptional<z.ZodAny>;
175
+ body_regex: z.ZodOptional<z.ZodString>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ path?: string | undefined;
178
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
179
+ method?: string | undefined;
180
+ body?: any;
181
+ headers?: Record<string, string> | undefined;
182
+ origin?: string | undefined;
183
+ path_regex?: string | undefined;
184
+ origin_regex?: string | undefined;
185
+ query_absent?: string[] | undefined;
186
+ query_regex?: Record<string, string> | undefined;
187
+ headers_regex?: Record<string, string> | undefined;
188
+ headers_absent?: string[] | undefined;
189
+ body_exact?: any;
190
+ body_regex?: string | undefined;
191
+ }, {
192
+ path?: string | undefined;
193
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
194
+ method?: string | undefined;
195
+ body?: any;
196
+ headers?: Record<string, string> | undefined;
197
+ origin?: string | undefined;
198
+ path_regex?: string | undefined;
199
+ origin_regex?: string | undefined;
200
+ query_absent?: string[] | undefined;
201
+ query_regex?: Record<string, string> | undefined;
202
+ headers_regex?: Record<string, string> | undefined;
203
+ headers_absent?: string[] | undefined;
204
+ body_exact?: any;
205
+ body_regex?: string | undefined;
206
+ }>, "many">>;
207
+ allow_additional_requests: z.ZodOptional<z.ZodBoolean>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ success: boolean;
210
+ result?: any;
211
+ request?: {
212
+ path?: string | undefined;
213
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
214
+ method?: string | undefined;
215
+ body?: any;
216
+ headers?: Record<string, string> | undefined;
217
+ origin?: string | undefined;
218
+ path_regex?: string | undefined;
219
+ origin_regex?: string | undefined;
220
+ query_absent?: string[] | undefined;
221
+ query_regex?: Record<string, string> | undefined;
222
+ headers_regex?: Record<string, string> | undefined;
223
+ headers_absent?: string[] | undefined;
224
+ body_exact?: any;
225
+ body_regex?: string | undefined;
226
+ } | undefined;
227
+ requests?: {
228
+ path?: string | undefined;
229
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
230
+ method?: string | undefined;
231
+ body?: any;
232
+ headers?: Record<string, string> | undefined;
233
+ origin?: string | undefined;
234
+ path_regex?: string | undefined;
235
+ origin_regex?: string | undefined;
236
+ query_absent?: string[] | undefined;
237
+ query_regex?: Record<string, string> | undefined;
238
+ headers_regex?: Record<string, string> | undefined;
239
+ headers_absent?: string[] | undefined;
240
+ body_exact?: any;
241
+ body_regex?: string | undefined;
242
+ }[] | undefined;
243
+ result_exact?: any;
244
+ error_code?: string | undefined;
245
+ error_message_regex?: string | undefined;
246
+ allow_additional_requests?: boolean | undefined;
247
+ }, {
248
+ success?: boolean | undefined;
249
+ result?: any;
250
+ request?: {
251
+ path?: string | undefined;
252
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
253
+ method?: string | undefined;
254
+ body?: any;
255
+ headers?: Record<string, string> | undefined;
256
+ origin?: string | undefined;
257
+ path_regex?: string | undefined;
258
+ origin_regex?: string | undefined;
259
+ query_absent?: string[] | undefined;
260
+ query_regex?: Record<string, string> | undefined;
261
+ headers_regex?: Record<string, string> | undefined;
262
+ headers_absent?: string[] | undefined;
263
+ body_exact?: any;
264
+ body_regex?: string | undefined;
265
+ } | undefined;
266
+ requests?: {
267
+ path?: string | undefined;
268
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
269
+ method?: string | undefined;
270
+ body?: any;
271
+ headers?: Record<string, string> | undefined;
272
+ origin?: string | undefined;
273
+ path_regex?: string | undefined;
274
+ origin_regex?: string | undefined;
275
+ query_absent?: string[] | undefined;
276
+ query_regex?: Record<string, string> | undefined;
277
+ headers_regex?: Record<string, string> | undefined;
278
+ headers_absent?: string[] | undefined;
279
+ body_exact?: any;
280
+ body_regex?: string | undefined;
281
+ }[] | undefined;
282
+ result_exact?: any;
283
+ error_code?: string | undefined;
284
+ error_message_regex?: string | undefined;
285
+ allow_additional_requests?: boolean | undefined;
286
+ }>;
287
+ export declare const TestScenarioSchema: z.ZodObject<{
288
+ name: z.ZodString;
289
+ description: z.ZodOptional<z.ZodString>;
290
+ tool: z.ZodString;
291
+ arguments: z.ZodRecord<z.ZodString, z.ZodAny>;
292
+ mocks: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
293
+ operationId: z.ZodOptional<z.ZodString>;
294
+ path: z.ZodOptional<z.ZodString>;
295
+ method: z.ZodOptional<z.ZodString>;
296
+ response: z.ZodOptional<z.ZodObject<{
297
+ status: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
298
+ body: z.ZodOptional<z.ZodAny>;
299
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
300
+ delay: z.ZodOptional<z.ZodNumber>;
301
+ }, "strip", z.ZodTypeAny, {
302
+ status: number;
303
+ body?: any;
304
+ headers?: Record<string, string> | undefined;
305
+ delay?: number | undefined;
306
+ }, {
307
+ status?: number | undefined;
308
+ body?: any;
309
+ headers?: Record<string, string> | undefined;
310
+ delay?: number | undefined;
311
+ }>>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ path?: string | undefined;
314
+ operationId?: string | undefined;
315
+ method?: string | undefined;
316
+ response?: {
317
+ status: number;
318
+ body?: any;
319
+ headers?: Record<string, string> | undefined;
320
+ delay?: number | undefined;
321
+ } | undefined;
322
+ }, {
323
+ path?: string | undefined;
324
+ operationId?: string | undefined;
325
+ method?: string | undefined;
326
+ response?: {
327
+ status?: number | undefined;
328
+ body?: any;
329
+ headers?: Record<string, string> | undefined;
330
+ delay?: number | undefined;
331
+ } | undefined;
332
+ }>, {
333
+ path?: string | undefined;
334
+ operationId?: string | undefined;
335
+ method?: string | undefined;
336
+ response?: {
337
+ status: number;
338
+ body?: any;
339
+ headers?: Record<string, string> | undefined;
340
+ delay?: number | undefined;
341
+ } | undefined;
342
+ }, {
343
+ path?: string | undefined;
344
+ operationId?: string | undefined;
345
+ method?: string | undefined;
346
+ response?: {
347
+ status?: number | undefined;
348
+ body?: any;
349
+ headers?: Record<string, string> | undefined;
350
+ delay?: number | undefined;
351
+ } | undefined;
352
+ }>, "many">>;
353
+ expect: z.ZodObject<{
354
+ success: z.ZodDefault<z.ZodBoolean>;
355
+ result: z.ZodOptional<z.ZodAny>;
356
+ result_exact: z.ZodOptional<z.ZodAny>;
357
+ error_code: z.ZodOptional<z.ZodString>;
358
+ error_message_regex: z.ZodOptional<z.ZodString>;
359
+ request: z.ZodOptional<z.ZodObject<{
360
+ method: z.ZodOptional<z.ZodString>;
361
+ path: z.ZodOptional<z.ZodString>;
362
+ path_regex: z.ZodOptional<z.ZodString>;
363
+ origin: z.ZodOptional<z.ZodString>;
364
+ origin_regex: z.ZodOptional<z.ZodString>;
365
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
366
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
368
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
369
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
370
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
371
+ body: z.ZodOptional<z.ZodAny>;
372
+ body_exact: z.ZodOptional<z.ZodAny>;
373
+ body_regex: z.ZodOptional<z.ZodString>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ path?: string | undefined;
376
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
377
+ method?: string | undefined;
378
+ body?: any;
379
+ headers?: Record<string, string> | undefined;
380
+ origin?: string | undefined;
381
+ path_regex?: string | undefined;
382
+ origin_regex?: string | undefined;
383
+ query_absent?: string[] | undefined;
384
+ query_regex?: Record<string, string> | undefined;
385
+ headers_regex?: Record<string, string> | undefined;
386
+ headers_absent?: string[] | undefined;
387
+ body_exact?: any;
388
+ body_regex?: string | undefined;
389
+ }, {
390
+ path?: string | undefined;
391
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
392
+ method?: string | undefined;
393
+ body?: any;
394
+ headers?: Record<string, string> | undefined;
395
+ origin?: string | undefined;
396
+ path_regex?: string | undefined;
397
+ origin_regex?: string | undefined;
398
+ query_absent?: string[] | undefined;
399
+ query_regex?: Record<string, string> | undefined;
400
+ headers_regex?: Record<string, string> | undefined;
401
+ headers_absent?: string[] | undefined;
402
+ body_exact?: any;
403
+ body_regex?: string | undefined;
404
+ }>>;
405
+ requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
+ method: z.ZodOptional<z.ZodString>;
407
+ path: z.ZodOptional<z.ZodString>;
408
+ path_regex: z.ZodOptional<z.ZodString>;
409
+ origin: z.ZodOptional<z.ZodString>;
410
+ origin_regex: z.ZodOptional<z.ZodString>;
411
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
412
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
413
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
414
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
415
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
416
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
417
+ body: z.ZodOptional<z.ZodAny>;
418
+ body_exact: z.ZodOptional<z.ZodAny>;
419
+ body_regex: z.ZodOptional<z.ZodString>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ path?: string | undefined;
422
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
423
+ method?: string | undefined;
424
+ body?: any;
425
+ headers?: Record<string, string> | undefined;
426
+ origin?: string | undefined;
427
+ path_regex?: string | undefined;
428
+ origin_regex?: string | undefined;
429
+ query_absent?: string[] | undefined;
430
+ query_regex?: Record<string, string> | undefined;
431
+ headers_regex?: Record<string, string> | undefined;
432
+ headers_absent?: string[] | undefined;
433
+ body_exact?: any;
434
+ body_regex?: string | undefined;
435
+ }, {
436
+ path?: string | undefined;
437
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
438
+ method?: string | undefined;
439
+ body?: any;
440
+ headers?: Record<string, string> | undefined;
441
+ origin?: string | undefined;
442
+ path_regex?: string | undefined;
443
+ origin_regex?: string | undefined;
444
+ query_absent?: string[] | undefined;
445
+ query_regex?: Record<string, string> | undefined;
446
+ headers_regex?: Record<string, string> | undefined;
447
+ headers_absent?: string[] | undefined;
448
+ body_exact?: any;
449
+ body_regex?: string | undefined;
450
+ }>, "many">>;
451
+ allow_additional_requests: z.ZodOptional<z.ZodBoolean>;
452
+ }, "strip", z.ZodTypeAny, {
453
+ success: boolean;
454
+ result?: any;
455
+ request?: {
456
+ path?: string | undefined;
457
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
458
+ method?: string | undefined;
459
+ body?: any;
460
+ headers?: Record<string, string> | undefined;
461
+ origin?: string | undefined;
462
+ path_regex?: string | undefined;
463
+ origin_regex?: string | undefined;
464
+ query_absent?: string[] | undefined;
465
+ query_regex?: Record<string, string> | undefined;
466
+ headers_regex?: Record<string, string> | undefined;
467
+ headers_absent?: string[] | undefined;
468
+ body_exact?: any;
469
+ body_regex?: string | undefined;
470
+ } | undefined;
471
+ requests?: {
472
+ path?: string | undefined;
473
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
474
+ method?: string | undefined;
475
+ body?: any;
476
+ headers?: Record<string, string> | undefined;
477
+ origin?: string | undefined;
478
+ path_regex?: string | undefined;
479
+ origin_regex?: string | undefined;
480
+ query_absent?: string[] | undefined;
481
+ query_regex?: Record<string, string> | undefined;
482
+ headers_regex?: Record<string, string> | undefined;
483
+ headers_absent?: string[] | undefined;
484
+ body_exact?: any;
485
+ body_regex?: string | undefined;
486
+ }[] | undefined;
487
+ result_exact?: any;
488
+ error_code?: string | undefined;
489
+ error_message_regex?: string | undefined;
490
+ allow_additional_requests?: boolean | undefined;
491
+ }, {
492
+ success?: boolean | undefined;
493
+ result?: any;
494
+ request?: {
495
+ path?: string | undefined;
496
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
497
+ method?: string | undefined;
498
+ body?: any;
499
+ headers?: Record<string, string> | undefined;
500
+ origin?: string | undefined;
501
+ path_regex?: string | undefined;
502
+ origin_regex?: string | undefined;
503
+ query_absent?: string[] | undefined;
504
+ query_regex?: Record<string, string> | undefined;
505
+ headers_regex?: Record<string, string> | undefined;
506
+ headers_absent?: string[] | undefined;
507
+ body_exact?: any;
508
+ body_regex?: string | undefined;
509
+ } | undefined;
510
+ requests?: {
511
+ path?: string | undefined;
512
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
513
+ method?: string | undefined;
514
+ body?: any;
515
+ headers?: Record<string, string> | undefined;
516
+ origin?: string | undefined;
517
+ path_regex?: string | undefined;
518
+ origin_regex?: string | undefined;
519
+ query_absent?: string[] | undefined;
520
+ query_regex?: Record<string, string> | undefined;
521
+ headers_regex?: Record<string, string> | undefined;
522
+ headers_absent?: string[] | undefined;
523
+ body_exact?: any;
524
+ body_regex?: string | undefined;
525
+ }[] | undefined;
526
+ result_exact?: any;
527
+ error_code?: string | undefined;
528
+ error_message_regex?: string | undefined;
529
+ allow_additional_requests?: boolean | undefined;
530
+ }>;
531
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ name: string;
534
+ tool: string;
535
+ arguments: Record<string, any>;
536
+ expect: {
537
+ success: boolean;
538
+ result?: any;
539
+ request?: {
540
+ path?: string | undefined;
541
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
542
+ method?: string | undefined;
543
+ body?: any;
544
+ headers?: Record<string, string> | undefined;
545
+ origin?: string | undefined;
546
+ path_regex?: string | undefined;
547
+ origin_regex?: string | undefined;
548
+ query_absent?: string[] | undefined;
549
+ query_regex?: Record<string, string> | undefined;
550
+ headers_regex?: Record<string, string> | undefined;
551
+ headers_absent?: string[] | undefined;
552
+ body_exact?: any;
553
+ body_regex?: string | undefined;
554
+ } | undefined;
555
+ requests?: {
556
+ path?: string | undefined;
557
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
558
+ method?: string | undefined;
559
+ body?: any;
560
+ headers?: Record<string, string> | undefined;
561
+ origin?: string | undefined;
562
+ path_regex?: string | undefined;
563
+ origin_regex?: string | undefined;
564
+ query_absent?: string[] | undefined;
565
+ query_regex?: Record<string, string> | undefined;
566
+ headers_regex?: Record<string, string> | undefined;
567
+ headers_absent?: string[] | undefined;
568
+ body_exact?: any;
569
+ body_regex?: string | undefined;
570
+ }[] | undefined;
571
+ result_exact?: any;
572
+ error_code?: string | undefined;
573
+ error_message_regex?: string | undefined;
574
+ allow_additional_requests?: boolean | undefined;
575
+ };
576
+ description?: string | undefined;
577
+ timeout_ms?: number | undefined;
578
+ mocks?: {
579
+ path?: string | undefined;
580
+ operationId?: string | undefined;
581
+ method?: string | undefined;
582
+ response?: {
583
+ status: number;
584
+ body?: any;
585
+ headers?: Record<string, string> | undefined;
586
+ delay?: number | undefined;
587
+ } | undefined;
588
+ }[] | undefined;
589
+ }, {
590
+ name: string;
591
+ tool: string;
592
+ arguments: Record<string, any>;
593
+ expect: {
594
+ success?: boolean | undefined;
595
+ result?: any;
596
+ request?: {
597
+ path?: string | undefined;
598
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
599
+ method?: string | undefined;
600
+ body?: any;
601
+ headers?: Record<string, string> | undefined;
602
+ origin?: string | undefined;
603
+ path_regex?: string | undefined;
604
+ origin_regex?: string | undefined;
605
+ query_absent?: string[] | undefined;
606
+ query_regex?: Record<string, string> | undefined;
607
+ headers_regex?: Record<string, string> | undefined;
608
+ headers_absent?: string[] | undefined;
609
+ body_exact?: any;
610
+ body_regex?: string | undefined;
611
+ } | undefined;
612
+ requests?: {
613
+ path?: string | undefined;
614
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
615
+ method?: string | undefined;
616
+ body?: any;
617
+ headers?: Record<string, string> | undefined;
618
+ origin?: string | undefined;
619
+ path_regex?: string | undefined;
620
+ origin_regex?: string | undefined;
621
+ query_absent?: string[] | undefined;
622
+ query_regex?: Record<string, string> | undefined;
623
+ headers_regex?: Record<string, string> | undefined;
624
+ headers_absent?: string[] | undefined;
625
+ body_exact?: any;
626
+ body_regex?: string | undefined;
627
+ }[] | undefined;
628
+ result_exact?: any;
629
+ error_code?: string | undefined;
630
+ error_message_regex?: string | undefined;
631
+ allow_additional_requests?: boolean | undefined;
632
+ };
633
+ description?: string | undefined;
634
+ timeout_ms?: number | undefined;
635
+ mocks?: {
636
+ path?: string | undefined;
637
+ operationId?: string | undefined;
638
+ method?: string | undefined;
639
+ response?: {
640
+ status?: number | undefined;
641
+ body?: any;
642
+ headers?: Record<string, string> | undefined;
643
+ delay?: number | undefined;
644
+ } | undefined;
645
+ }[] | undefined;
646
+ }>;
647
+ declare const CoverageRulesSchema: z.ZodDefault<z.ZodObject<{
648
+ require_all_actions: z.ZodDefault<z.ZodBoolean>;
649
+ skip_actions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
650
+ require_request_assertions: z.ZodDefault<z.ZodBoolean>;
651
+ skip_request_assertions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ require_all_actions: boolean;
654
+ skip_actions: Record<string, string>;
655
+ require_request_assertions: boolean;
656
+ skip_request_assertions: Record<string, string>;
657
+ }, {
658
+ require_all_actions?: boolean | undefined;
659
+ skip_actions?: Record<string, string> | undefined;
660
+ require_request_assertions?: boolean | undefined;
661
+ skip_request_assertions?: Record<string, string> | undefined;
662
+ }>>;
663
+ export declare const ProfileTestDefinitionSchema: z.ZodObject<{
664
+ $schema: z.ZodOptional<z.ZodString>;
665
+ profile_name: z.ZodOptional<z.ZodString>;
666
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
667
+ global_mocks: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
668
+ operationId: z.ZodOptional<z.ZodString>;
669
+ path: z.ZodOptional<z.ZodString>;
670
+ method: z.ZodOptional<z.ZodString>;
671
+ response: z.ZodOptional<z.ZodObject<{
672
+ status: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
673
+ body: z.ZodOptional<z.ZodAny>;
674
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
675
+ delay: z.ZodOptional<z.ZodNumber>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ status: number;
678
+ body?: any;
679
+ headers?: Record<string, string> | undefined;
680
+ delay?: number | undefined;
681
+ }, {
682
+ status?: number | undefined;
683
+ body?: any;
684
+ headers?: Record<string, string> | undefined;
685
+ delay?: number | undefined;
686
+ }>>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ path?: string | undefined;
689
+ operationId?: string | undefined;
690
+ method?: string | undefined;
691
+ response?: {
692
+ status: number;
693
+ body?: any;
694
+ headers?: Record<string, string> | undefined;
695
+ delay?: number | undefined;
696
+ } | undefined;
697
+ }, {
698
+ path?: string | undefined;
699
+ operationId?: string | undefined;
700
+ method?: string | undefined;
701
+ response?: {
702
+ status?: number | undefined;
703
+ body?: any;
704
+ headers?: Record<string, string> | undefined;
705
+ delay?: number | undefined;
706
+ } | undefined;
707
+ }>, {
708
+ path?: string | undefined;
709
+ operationId?: string | undefined;
710
+ method?: string | undefined;
711
+ response?: {
712
+ status: number;
713
+ body?: any;
714
+ headers?: Record<string, string> | undefined;
715
+ delay?: number | undefined;
716
+ } | undefined;
717
+ }, {
718
+ path?: string | undefined;
719
+ operationId?: string | undefined;
720
+ method?: string | undefined;
721
+ response?: {
722
+ status?: number | undefined;
723
+ body?: any;
724
+ headers?: Record<string, string> | undefined;
725
+ delay?: number | undefined;
726
+ } | undefined;
727
+ }>, "many">>;
728
+ scenarios: z.ZodArray<z.ZodObject<{
729
+ name: z.ZodString;
730
+ description: z.ZodOptional<z.ZodString>;
731
+ tool: z.ZodString;
732
+ arguments: z.ZodRecord<z.ZodString, z.ZodAny>;
733
+ mocks: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
734
+ operationId: z.ZodOptional<z.ZodString>;
735
+ path: z.ZodOptional<z.ZodString>;
736
+ method: z.ZodOptional<z.ZodString>;
737
+ response: z.ZodOptional<z.ZodObject<{
738
+ status: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
739
+ body: z.ZodOptional<z.ZodAny>;
740
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
741
+ delay: z.ZodOptional<z.ZodNumber>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ status: number;
744
+ body?: any;
745
+ headers?: Record<string, string> | undefined;
746
+ delay?: number | undefined;
747
+ }, {
748
+ status?: number | undefined;
749
+ body?: any;
750
+ headers?: Record<string, string> | undefined;
751
+ delay?: number | undefined;
752
+ }>>;
753
+ }, "strip", z.ZodTypeAny, {
754
+ path?: string | undefined;
755
+ operationId?: string | undefined;
756
+ method?: string | undefined;
757
+ response?: {
758
+ status: number;
759
+ body?: any;
760
+ headers?: Record<string, string> | undefined;
761
+ delay?: number | undefined;
762
+ } | undefined;
763
+ }, {
764
+ path?: string | undefined;
765
+ operationId?: string | undefined;
766
+ method?: string | undefined;
767
+ response?: {
768
+ status?: number | undefined;
769
+ body?: any;
770
+ headers?: Record<string, string> | undefined;
771
+ delay?: number | undefined;
772
+ } | undefined;
773
+ }>, {
774
+ path?: string | undefined;
775
+ operationId?: string | undefined;
776
+ method?: string | undefined;
777
+ response?: {
778
+ status: number;
779
+ body?: any;
780
+ headers?: Record<string, string> | undefined;
781
+ delay?: number | undefined;
782
+ } | undefined;
783
+ }, {
784
+ path?: string | undefined;
785
+ operationId?: string | undefined;
786
+ method?: string | undefined;
787
+ response?: {
788
+ status?: number | undefined;
789
+ body?: any;
790
+ headers?: Record<string, string> | undefined;
791
+ delay?: number | undefined;
792
+ } | undefined;
793
+ }>, "many">>;
794
+ expect: z.ZodObject<{
795
+ success: z.ZodDefault<z.ZodBoolean>;
796
+ result: z.ZodOptional<z.ZodAny>;
797
+ result_exact: z.ZodOptional<z.ZodAny>;
798
+ error_code: z.ZodOptional<z.ZodString>;
799
+ error_message_regex: z.ZodOptional<z.ZodString>;
800
+ request: z.ZodOptional<z.ZodObject<{
801
+ method: z.ZodOptional<z.ZodString>;
802
+ path: z.ZodOptional<z.ZodString>;
803
+ path_regex: z.ZodOptional<z.ZodString>;
804
+ origin: z.ZodOptional<z.ZodString>;
805
+ origin_regex: z.ZodOptional<z.ZodString>;
806
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
807
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
808
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
809
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
810
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
811
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
812
+ body: z.ZodOptional<z.ZodAny>;
813
+ body_exact: z.ZodOptional<z.ZodAny>;
814
+ body_regex: z.ZodOptional<z.ZodString>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ path?: string | undefined;
817
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
818
+ method?: string | undefined;
819
+ body?: any;
820
+ headers?: Record<string, string> | undefined;
821
+ origin?: string | undefined;
822
+ path_regex?: string | undefined;
823
+ origin_regex?: string | undefined;
824
+ query_absent?: string[] | undefined;
825
+ query_regex?: Record<string, string> | undefined;
826
+ headers_regex?: Record<string, string> | undefined;
827
+ headers_absent?: string[] | undefined;
828
+ body_exact?: any;
829
+ body_regex?: string | undefined;
830
+ }, {
831
+ path?: string | undefined;
832
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
833
+ method?: string | undefined;
834
+ body?: any;
835
+ headers?: Record<string, string> | undefined;
836
+ origin?: string | undefined;
837
+ path_regex?: string | undefined;
838
+ origin_regex?: string | undefined;
839
+ query_absent?: string[] | undefined;
840
+ query_regex?: Record<string, string> | undefined;
841
+ headers_regex?: Record<string, string> | undefined;
842
+ headers_absent?: string[] | undefined;
843
+ body_exact?: any;
844
+ body_regex?: string | undefined;
845
+ }>>;
846
+ requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
847
+ method: z.ZodOptional<z.ZodString>;
848
+ path: z.ZodOptional<z.ZodString>;
849
+ path_regex: z.ZodOptional<z.ZodString>;
850
+ origin: z.ZodOptional<z.ZodString>;
851
+ origin_regex: z.ZodOptional<z.ZodString>;
852
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>>;
853
+ query_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
854
+ query_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
855
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
856
+ headers_regex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
857
+ headers_absent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
858
+ body: z.ZodOptional<z.ZodAny>;
859
+ body_exact: z.ZodOptional<z.ZodAny>;
860
+ body_regex: z.ZodOptional<z.ZodString>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ path?: string | undefined;
863
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
864
+ method?: string | undefined;
865
+ body?: any;
866
+ headers?: Record<string, string> | undefined;
867
+ origin?: string | undefined;
868
+ path_regex?: string | undefined;
869
+ origin_regex?: string | undefined;
870
+ query_absent?: string[] | undefined;
871
+ query_regex?: Record<string, string> | undefined;
872
+ headers_regex?: Record<string, string> | undefined;
873
+ headers_absent?: string[] | undefined;
874
+ body_exact?: any;
875
+ body_regex?: string | undefined;
876
+ }, {
877
+ path?: string | undefined;
878
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
879
+ method?: string | undefined;
880
+ body?: any;
881
+ headers?: Record<string, string> | undefined;
882
+ origin?: string | undefined;
883
+ path_regex?: string | undefined;
884
+ origin_regex?: string | undefined;
885
+ query_absent?: string[] | undefined;
886
+ query_regex?: Record<string, string> | undefined;
887
+ headers_regex?: Record<string, string> | undefined;
888
+ headers_absent?: string[] | undefined;
889
+ body_exact?: any;
890
+ body_regex?: string | undefined;
891
+ }>, "many">>;
892
+ allow_additional_requests: z.ZodOptional<z.ZodBoolean>;
893
+ }, "strip", z.ZodTypeAny, {
894
+ success: boolean;
895
+ result?: any;
896
+ request?: {
897
+ path?: string | undefined;
898
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
899
+ method?: string | undefined;
900
+ body?: any;
901
+ headers?: Record<string, string> | undefined;
902
+ origin?: string | undefined;
903
+ path_regex?: string | undefined;
904
+ origin_regex?: string | undefined;
905
+ query_absent?: string[] | undefined;
906
+ query_regex?: Record<string, string> | undefined;
907
+ headers_regex?: Record<string, string> | undefined;
908
+ headers_absent?: string[] | undefined;
909
+ body_exact?: any;
910
+ body_regex?: string | undefined;
911
+ } | undefined;
912
+ requests?: {
913
+ path?: string | undefined;
914
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
915
+ method?: string | undefined;
916
+ body?: any;
917
+ headers?: Record<string, string> | undefined;
918
+ origin?: string | undefined;
919
+ path_regex?: string | undefined;
920
+ origin_regex?: string | undefined;
921
+ query_absent?: string[] | undefined;
922
+ query_regex?: Record<string, string> | undefined;
923
+ headers_regex?: Record<string, string> | undefined;
924
+ headers_absent?: string[] | undefined;
925
+ body_exact?: any;
926
+ body_regex?: string | undefined;
927
+ }[] | undefined;
928
+ result_exact?: any;
929
+ error_code?: string | undefined;
930
+ error_message_regex?: string | undefined;
931
+ allow_additional_requests?: boolean | undefined;
932
+ }, {
933
+ success?: boolean | undefined;
934
+ result?: any;
935
+ request?: {
936
+ path?: string | undefined;
937
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
938
+ method?: string | undefined;
939
+ body?: any;
940
+ headers?: Record<string, string> | undefined;
941
+ origin?: string | undefined;
942
+ path_regex?: string | undefined;
943
+ origin_regex?: string | undefined;
944
+ query_absent?: string[] | undefined;
945
+ query_regex?: Record<string, string> | undefined;
946
+ headers_regex?: Record<string, string> | undefined;
947
+ headers_absent?: string[] | undefined;
948
+ body_exact?: any;
949
+ body_regex?: string | undefined;
950
+ } | undefined;
951
+ requests?: {
952
+ path?: string | undefined;
953
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
954
+ method?: string | undefined;
955
+ body?: any;
956
+ headers?: Record<string, string> | undefined;
957
+ origin?: string | undefined;
958
+ path_regex?: string | undefined;
959
+ origin_regex?: string | undefined;
960
+ query_absent?: string[] | undefined;
961
+ query_regex?: Record<string, string> | undefined;
962
+ headers_regex?: Record<string, string> | undefined;
963
+ headers_absent?: string[] | undefined;
964
+ body_exact?: any;
965
+ body_regex?: string | undefined;
966
+ }[] | undefined;
967
+ result_exact?: any;
968
+ error_code?: string | undefined;
969
+ error_message_regex?: string | undefined;
970
+ allow_additional_requests?: boolean | undefined;
971
+ }>;
972
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ name: string;
975
+ tool: string;
976
+ arguments: Record<string, any>;
977
+ expect: {
978
+ success: boolean;
979
+ result?: any;
980
+ request?: {
981
+ path?: string | undefined;
982
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
983
+ method?: string | undefined;
984
+ body?: any;
985
+ headers?: Record<string, string> | undefined;
986
+ origin?: string | undefined;
987
+ path_regex?: string | undefined;
988
+ origin_regex?: string | undefined;
989
+ query_absent?: string[] | undefined;
990
+ query_regex?: Record<string, string> | undefined;
991
+ headers_regex?: Record<string, string> | undefined;
992
+ headers_absent?: string[] | undefined;
993
+ body_exact?: any;
994
+ body_regex?: string | undefined;
995
+ } | undefined;
996
+ requests?: {
997
+ path?: string | undefined;
998
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
999
+ method?: string | undefined;
1000
+ body?: any;
1001
+ headers?: Record<string, string> | undefined;
1002
+ origin?: string | undefined;
1003
+ path_regex?: string | undefined;
1004
+ origin_regex?: string | undefined;
1005
+ query_absent?: string[] | undefined;
1006
+ query_regex?: Record<string, string> | undefined;
1007
+ headers_regex?: Record<string, string> | undefined;
1008
+ headers_absent?: string[] | undefined;
1009
+ body_exact?: any;
1010
+ body_regex?: string | undefined;
1011
+ }[] | undefined;
1012
+ result_exact?: any;
1013
+ error_code?: string | undefined;
1014
+ error_message_regex?: string | undefined;
1015
+ allow_additional_requests?: boolean | undefined;
1016
+ };
1017
+ description?: string | undefined;
1018
+ timeout_ms?: number | undefined;
1019
+ mocks?: {
1020
+ path?: string | undefined;
1021
+ operationId?: string | undefined;
1022
+ method?: string | undefined;
1023
+ response?: {
1024
+ status: number;
1025
+ body?: any;
1026
+ headers?: Record<string, string> | undefined;
1027
+ delay?: number | undefined;
1028
+ } | undefined;
1029
+ }[] | undefined;
1030
+ }, {
1031
+ name: string;
1032
+ tool: string;
1033
+ arguments: Record<string, any>;
1034
+ expect: {
1035
+ success?: boolean | undefined;
1036
+ result?: any;
1037
+ request?: {
1038
+ path?: string | undefined;
1039
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1040
+ method?: string | undefined;
1041
+ body?: any;
1042
+ headers?: Record<string, string> | undefined;
1043
+ origin?: string | undefined;
1044
+ path_regex?: string | undefined;
1045
+ origin_regex?: string | undefined;
1046
+ query_absent?: string[] | undefined;
1047
+ query_regex?: Record<string, string> | undefined;
1048
+ headers_regex?: Record<string, string> | undefined;
1049
+ headers_absent?: string[] | undefined;
1050
+ body_exact?: any;
1051
+ body_regex?: string | undefined;
1052
+ } | undefined;
1053
+ requests?: {
1054
+ path?: string | undefined;
1055
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1056
+ method?: string | undefined;
1057
+ body?: any;
1058
+ headers?: Record<string, string> | undefined;
1059
+ origin?: string | undefined;
1060
+ path_regex?: string | undefined;
1061
+ origin_regex?: string | undefined;
1062
+ query_absent?: string[] | undefined;
1063
+ query_regex?: Record<string, string> | undefined;
1064
+ headers_regex?: Record<string, string> | undefined;
1065
+ headers_absent?: string[] | undefined;
1066
+ body_exact?: any;
1067
+ body_regex?: string | undefined;
1068
+ }[] | undefined;
1069
+ result_exact?: any;
1070
+ error_code?: string | undefined;
1071
+ error_message_regex?: string | undefined;
1072
+ allow_additional_requests?: boolean | undefined;
1073
+ };
1074
+ description?: string | undefined;
1075
+ timeout_ms?: number | undefined;
1076
+ mocks?: {
1077
+ path?: string | undefined;
1078
+ operationId?: string | undefined;
1079
+ method?: string | undefined;
1080
+ response?: {
1081
+ status?: number | undefined;
1082
+ body?: any;
1083
+ headers?: Record<string, string> | undefined;
1084
+ delay?: number | undefined;
1085
+ } | undefined;
1086
+ }[] | undefined;
1087
+ }>, "many">;
1088
+ coverage: z.ZodDefault<z.ZodObject<{
1089
+ require_all_actions: z.ZodDefault<z.ZodBoolean>;
1090
+ skip_actions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1091
+ require_request_assertions: z.ZodDefault<z.ZodBoolean>;
1092
+ skip_request_assertions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ require_all_actions: boolean;
1095
+ skip_actions: Record<string, string>;
1096
+ require_request_assertions: boolean;
1097
+ skip_request_assertions: Record<string, string>;
1098
+ }, {
1099
+ require_all_actions?: boolean | undefined;
1100
+ skip_actions?: Record<string, string> | undefined;
1101
+ require_request_assertions?: boolean | undefined;
1102
+ skip_request_assertions?: Record<string, string> | undefined;
1103
+ }>>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ scenarios: {
1106
+ name: string;
1107
+ tool: string;
1108
+ arguments: Record<string, any>;
1109
+ expect: {
1110
+ success: boolean;
1111
+ result?: any;
1112
+ request?: {
1113
+ path?: string | undefined;
1114
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1115
+ method?: string | undefined;
1116
+ body?: any;
1117
+ headers?: Record<string, string> | undefined;
1118
+ origin?: string | undefined;
1119
+ path_regex?: string | undefined;
1120
+ origin_regex?: string | undefined;
1121
+ query_absent?: string[] | undefined;
1122
+ query_regex?: Record<string, string> | undefined;
1123
+ headers_regex?: Record<string, string> | undefined;
1124
+ headers_absent?: string[] | undefined;
1125
+ body_exact?: any;
1126
+ body_regex?: string | undefined;
1127
+ } | undefined;
1128
+ requests?: {
1129
+ path?: string | undefined;
1130
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1131
+ method?: string | undefined;
1132
+ body?: any;
1133
+ headers?: Record<string, string> | undefined;
1134
+ origin?: string | undefined;
1135
+ path_regex?: string | undefined;
1136
+ origin_regex?: string | undefined;
1137
+ query_absent?: string[] | undefined;
1138
+ query_regex?: Record<string, string> | undefined;
1139
+ headers_regex?: Record<string, string> | undefined;
1140
+ headers_absent?: string[] | undefined;
1141
+ body_exact?: any;
1142
+ body_regex?: string | undefined;
1143
+ }[] | undefined;
1144
+ result_exact?: any;
1145
+ error_code?: string | undefined;
1146
+ error_message_regex?: string | undefined;
1147
+ allow_additional_requests?: boolean | undefined;
1148
+ };
1149
+ description?: string | undefined;
1150
+ timeout_ms?: number | undefined;
1151
+ mocks?: {
1152
+ path?: string | undefined;
1153
+ operationId?: string | undefined;
1154
+ method?: string | undefined;
1155
+ response?: {
1156
+ status: number;
1157
+ body?: any;
1158
+ headers?: Record<string, string> | undefined;
1159
+ delay?: number | undefined;
1160
+ } | undefined;
1161
+ }[] | undefined;
1162
+ }[];
1163
+ coverage: {
1164
+ require_all_actions: boolean;
1165
+ skip_actions: Record<string, string>;
1166
+ require_request_assertions: boolean;
1167
+ skip_request_assertions: Record<string, string>;
1168
+ };
1169
+ profile_name?: string | undefined;
1170
+ $schema?: string | undefined;
1171
+ variables?: Record<string, any> | undefined;
1172
+ global_mocks?: {
1173
+ path?: string | undefined;
1174
+ operationId?: string | undefined;
1175
+ method?: string | undefined;
1176
+ response?: {
1177
+ status: number;
1178
+ body?: any;
1179
+ headers?: Record<string, string> | undefined;
1180
+ delay?: number | undefined;
1181
+ } | undefined;
1182
+ }[] | undefined;
1183
+ }, {
1184
+ scenarios: {
1185
+ name: string;
1186
+ tool: string;
1187
+ arguments: Record<string, any>;
1188
+ expect: {
1189
+ success?: boolean | undefined;
1190
+ result?: any;
1191
+ request?: {
1192
+ path?: string | undefined;
1193
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1194
+ method?: string | undefined;
1195
+ body?: any;
1196
+ headers?: Record<string, string> | undefined;
1197
+ origin?: string | undefined;
1198
+ path_regex?: string | undefined;
1199
+ origin_regex?: string | undefined;
1200
+ query_absent?: string[] | undefined;
1201
+ query_regex?: Record<string, string> | undefined;
1202
+ headers_regex?: Record<string, string> | undefined;
1203
+ headers_absent?: string[] | undefined;
1204
+ body_exact?: any;
1205
+ body_regex?: string | undefined;
1206
+ } | undefined;
1207
+ requests?: {
1208
+ path?: string | undefined;
1209
+ query?: Record<string, string | number | boolean | (string | number | boolean)[]> | undefined;
1210
+ method?: string | undefined;
1211
+ body?: any;
1212
+ headers?: Record<string, string> | undefined;
1213
+ origin?: string | undefined;
1214
+ path_regex?: string | undefined;
1215
+ origin_regex?: string | undefined;
1216
+ query_absent?: string[] | undefined;
1217
+ query_regex?: Record<string, string> | undefined;
1218
+ headers_regex?: Record<string, string> | undefined;
1219
+ headers_absent?: string[] | undefined;
1220
+ body_exact?: any;
1221
+ body_regex?: string | undefined;
1222
+ }[] | undefined;
1223
+ result_exact?: any;
1224
+ error_code?: string | undefined;
1225
+ error_message_regex?: string | undefined;
1226
+ allow_additional_requests?: boolean | undefined;
1227
+ };
1228
+ description?: string | undefined;
1229
+ timeout_ms?: number | undefined;
1230
+ mocks?: {
1231
+ path?: string | undefined;
1232
+ operationId?: string | undefined;
1233
+ method?: string | undefined;
1234
+ response?: {
1235
+ status?: number | undefined;
1236
+ body?: any;
1237
+ headers?: Record<string, string> | undefined;
1238
+ delay?: number | undefined;
1239
+ } | undefined;
1240
+ }[] | undefined;
1241
+ }[];
1242
+ profile_name?: string | undefined;
1243
+ $schema?: string | undefined;
1244
+ variables?: Record<string, any> | undefined;
1245
+ global_mocks?: {
1246
+ path?: string | undefined;
1247
+ operationId?: string | undefined;
1248
+ method?: string | undefined;
1249
+ response?: {
1250
+ status?: number | undefined;
1251
+ body?: any;
1252
+ headers?: Record<string, string> | undefined;
1253
+ delay?: number | undefined;
1254
+ } | undefined;
1255
+ }[] | undefined;
1256
+ coverage?: {
1257
+ require_all_actions?: boolean | undefined;
1258
+ skip_actions?: Record<string, string> | undefined;
1259
+ require_request_assertions?: boolean | undefined;
1260
+ skip_request_assertions?: Record<string, string> | undefined;
1261
+ } | undefined;
1262
+ }>;
1263
+ export type RequestExpectation = z.infer<typeof RequestExpectationSchema>;
1264
+ export type MockDefinition = z.infer<typeof MockDefinitionSchema>;
1265
+ export type TestExpectation = z.infer<typeof TestExpectationSchema>;
1266
+ export type TestScenario = z.infer<typeof TestScenarioSchema>;
1267
+ export type CoverageRules = z.infer<typeof CoverageRulesSchema>;
1268
+ export type ProfileTestDefinition = z.infer<typeof ProfileTestDefinitionSchema>;
1269
+ export {};
1270
+ //# sourceMappingURL=test-schema.d.ts.map