@takeshape/schema 12.1.1 → 12.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/dist/agents.d.ts +62 -0
  2. package/dist/agents.js +346 -0
  3. package/dist/api-version.d.ts +5 -0
  4. package/dist/api-version.js +17 -0
  5. package/dist/auth-schemas.d.ts +144 -0
  6. package/dist/auth-schemas.js +7 -0
  7. package/dist/auth-utils.d.ts +19 -0
  8. package/dist/auth-utils.js +26 -0
  9. package/dist/builtin-schema.d.ts +18 -0
  10. package/dist/builtin-schema.js +710 -0
  11. package/dist/constants.d.ts +1 -0
  12. package/dist/constants.js +1 -0
  13. package/dist/content-schema-transform.d.ts +35 -0
  14. package/dist/content-schema-transform.js +162 -0
  15. package/dist/create-input-schema.d.ts +9 -0
  16. package/dist/create-input-schema.js +68 -0
  17. package/dist/enum.d.ts +2 -0
  18. package/dist/enum.js +9 -0
  19. package/dist/flatten-templates.d.ts +2 -0
  20. package/dist/flatten-templates.js +20 -0
  21. package/dist/get-is-leaf.d.ts +3 -0
  22. package/dist/get-is-leaf.js +56 -0
  23. package/dist/index.d.ts +64 -0
  24. package/dist/index.js +61 -0
  25. package/dist/interfaces.d.ts +14 -0
  26. package/dist/interfaces.js +86 -0
  27. package/dist/layers/layers.d.ts +26 -0
  28. package/dist/layers/layers.js +301 -0
  29. package/dist/layers/refs.d.ts +102 -0
  30. package/dist/layers/refs.js +220 -0
  31. package/dist/layers/type-utils.d.ts +59 -0
  32. package/dist/layers/type-utils.js +118 -0
  33. package/dist/layers/visitor.d.ts +5 -0
  34. package/dist/layers/visitor.js +38 -0
  35. package/dist/migration/index.d.ts +79 -0
  36. package/dist/migration/index.js +110 -0
  37. package/dist/migration/to/v3.0.0.d.ts +4 -0
  38. package/dist/migration/to/v3.0.0.js +212 -0
  39. package/dist/migration/to/v3.1.0.d.ts +4 -0
  40. package/dist/migration/to/v3.1.0.js +194 -0
  41. package/dist/migration/to/v3.10.0.d.ts +4 -0
  42. package/dist/migration/to/v3.10.0.js +67 -0
  43. package/dist/migration/to/v3.11.0.d.ts +4 -0
  44. package/dist/migration/to/v3.11.0.js +85 -0
  45. package/dist/migration/to/v3.12.3.d.ts +4 -0
  46. package/dist/migration/to/v3.12.3.js +87 -0
  47. package/dist/migration/to/v3.13.0.d.ts +4 -0
  48. package/dist/migration/to/v3.13.0.js +17 -0
  49. package/dist/migration/to/v3.17.0.d.ts +4 -0
  50. package/dist/migration/to/v3.17.0.js +22 -0
  51. package/dist/migration/to/v3.18.0.d.ts +4 -0
  52. package/dist/migration/to/v3.18.0.js +64 -0
  53. package/dist/migration/to/v3.18.1.d.ts +4 -0
  54. package/dist/migration/to/v3.18.1.js +12 -0
  55. package/dist/migration/to/v3.18.2.d.ts +4 -0
  56. package/dist/migration/to/v3.18.2.js +19 -0
  57. package/dist/migration/to/v3.20.0.d.ts +4 -0
  58. package/dist/migration/to/v3.20.0.js +24 -0
  59. package/dist/migration/to/v3.22.0.d.ts +4 -0
  60. package/dist/migration/to/v3.22.0.js +25 -0
  61. package/dist/migration/to/v3.24.0.d.ts +4 -0
  62. package/dist/migration/to/v3.24.0.js +11 -0
  63. package/dist/migration/to/v3.25.0.d.ts +4 -0
  64. package/dist/migration/to/v3.25.0.js +11 -0
  65. package/dist/migration/to/v3.3.0.d.ts +4 -0
  66. package/dist/migration/to/v3.3.0.js +13 -0
  67. package/dist/migration/to/v3.31.0.d.ts +4 -0
  68. package/dist/migration/to/v3.31.0.js +38 -0
  69. package/dist/migration/to/v3.32.0.d.ts +4 -0
  70. package/dist/migration/to/v3.32.0.js +59 -0
  71. package/dist/migration/to/v3.34.0.d.ts +6 -0
  72. package/dist/migration/to/v3.34.0.js +111 -0
  73. package/dist/migration/to/v3.36.0.d.ts +4 -0
  74. package/dist/migration/to/v3.36.0.js +22 -0
  75. package/dist/migration/to/v3.39.0.d.ts +4 -0
  76. package/dist/migration/to/v3.39.0.js +45 -0
  77. package/dist/migration/to/v3.40.0.d.ts +4 -0
  78. package/dist/migration/to/v3.40.0.js +26 -0
  79. package/dist/migration/to/v3.46.0.d.ts +4 -0
  80. package/dist/migration/to/v3.46.0.js +35 -0
  81. package/dist/migration/to/v3.57.0.d.ts +4 -0
  82. package/dist/migration/to/v3.57.0.js +18 -0
  83. package/dist/migration/to/v3.60.0.d.ts +4 -0
  84. package/dist/migration/to/v3.60.0.js +129 -0
  85. package/dist/migration/to/v3.9.0.d.ts +4 -0
  86. package/dist/migration/to/v3.9.0.js +79 -0
  87. package/dist/migration/types.d.ts +26 -0
  88. package/dist/migration/types.js +3 -0
  89. package/dist/migration/utils.d.ts +2 -0
  90. package/dist/migration/utils.js +6 -0
  91. package/dist/mocks.d.ts +14 -0
  92. package/dist/mocks.js +58 -0
  93. package/dist/models/agent.d.ts +3 -0
  94. package/dist/models/agent.js +73 -0
  95. package/dist/models/project-schema.d.ts +28 -0
  96. package/dist/models/project-schema.js +186 -0
  97. package/dist/models/query.d.ts +3 -0
  98. package/dist/models/query.js +46 -0
  99. package/dist/models/runtime-schema.d.ts +9 -0
  100. package/dist/models/runtime-schema.js +20 -0
  101. package/dist/models/shape.d.ts +4 -0
  102. package/dist/models/shape.js +36 -0
  103. package/dist/models/tool.d.ts +4 -0
  104. package/dist/models/tool.js +147 -0
  105. package/dist/models/types.d.ts +97 -0
  106. package/dist/models/types.js +1 -0
  107. package/dist/models/user-schema.d.ts +7 -0
  108. package/dist/models/user-schema.js +9 -0
  109. package/dist/patterns.d.ts +12 -0
  110. package/dist/patterns.js +1 -0
  111. package/dist/project-schema/index.d.ts +229 -0
  112. package/dist/project-schema/index.js +89 -0
  113. package/dist/project-schema/latest.d.ts +2762 -0
  114. package/dist/project-schema/latest.js +7 -0
  115. package/dist/project-schema/migrate.d.ts +4 -0
  116. package/dist/project-schema/migrate.js +236 -0
  117. package/dist/project-schema/v1.0.0.d.ts +299 -0
  118. package/dist/project-schema/v1.0.0.js +7 -0
  119. package/dist/project-schema/v3.0.0.d.ts +478 -0
  120. package/dist/project-schema/v3.0.0.js +7 -0
  121. package/dist/project-schema/v3.1.0.d.ts +621 -0
  122. package/dist/project-schema/v3.1.0.js +7 -0
  123. package/dist/project-schema/v3.10.0.d.ts +1201 -0
  124. package/dist/project-schema/v3.10.0.js +7 -0
  125. package/dist/project-schema/v3.11.0.d.ts +1210 -0
  126. package/dist/project-schema/v3.11.0.js +7 -0
  127. package/dist/project-schema/v3.12.0.d.ts +1214 -0
  128. package/dist/project-schema/v3.12.0.js +7 -0
  129. package/dist/project-schema/v3.12.1.d.ts +1273 -0
  130. package/dist/project-schema/v3.12.1.js +7 -0
  131. package/dist/project-schema/v3.12.2.d.ts +1283 -0
  132. package/dist/project-schema/v3.12.2.js +7 -0
  133. package/dist/project-schema/v3.12.3.d.ts +1306 -0
  134. package/dist/project-schema/v3.12.3.js +7 -0
  135. package/dist/project-schema/v3.13.0.d.ts +1317 -0
  136. package/dist/project-schema/v3.13.0.js +7 -0
  137. package/dist/project-schema/v3.13.1.d.ts +1412 -0
  138. package/dist/project-schema/v3.13.1.js +7 -0
  139. package/dist/project-schema/v3.14.0.d.ts +1436 -0
  140. package/dist/project-schema/v3.14.0.js +7 -0
  141. package/dist/project-schema/v3.15.0.d.ts +1458 -0
  142. package/dist/project-schema/v3.15.0.js +7 -0
  143. package/dist/project-schema/v3.16.0.d.ts +1470 -0
  144. package/dist/project-schema/v3.16.0.js +7 -0
  145. package/dist/project-schema/v3.17.0.d.ts +1467 -0
  146. package/dist/project-schema/v3.17.0.js +7 -0
  147. package/dist/project-schema/v3.17.1.d.ts +1468 -0
  148. package/dist/project-schema/v3.17.1.js +7 -0
  149. package/dist/project-schema/v3.18.0.d.ts +1333 -0
  150. package/dist/project-schema/v3.18.0.js +7 -0
  151. package/dist/project-schema/v3.18.1.d.ts +1332 -0
  152. package/dist/project-schema/v3.18.1.js +7 -0
  153. package/dist/project-schema/v3.18.2.d.ts +1332 -0
  154. package/dist/project-schema/v3.18.2.js +7 -0
  155. package/dist/project-schema/v3.19.0.d.ts +1336 -0
  156. package/dist/project-schema/v3.19.0.js +7 -0
  157. package/dist/project-schema/v3.2.0.d.ts +632 -0
  158. package/dist/project-schema/v3.2.0.js +7 -0
  159. package/dist/project-schema/v3.20.0.d.ts +1336 -0
  160. package/dist/project-schema/v3.20.0.js +7 -0
  161. package/dist/project-schema/v3.21.0.d.ts +1338 -0
  162. package/dist/project-schema/v3.21.0.js +7 -0
  163. package/dist/project-schema/v3.22.0.d.ts +1344 -0
  164. package/dist/project-schema/v3.22.0.js +7 -0
  165. package/dist/project-schema/v3.23.0.d.ts +1376 -0
  166. package/dist/project-schema/v3.23.0.js +7 -0
  167. package/dist/project-schema/v3.24.0.d.ts +1364 -0
  168. package/dist/project-schema/v3.24.0.js +7 -0
  169. package/dist/project-schema/v3.25.0.d.ts +1363 -0
  170. package/dist/project-schema/v3.25.0.js +7 -0
  171. package/dist/project-schema/v3.26.0.d.ts +1388 -0
  172. package/dist/project-schema/v3.26.0.js +7 -0
  173. package/dist/project-schema/v3.27.0.d.ts +1397 -0
  174. package/dist/project-schema/v3.27.0.js +7 -0
  175. package/dist/project-schema/v3.28.0.d.ts +1416 -0
  176. package/dist/project-schema/v3.28.0.js +7 -0
  177. package/dist/project-schema/v3.29.0.d.ts +1423 -0
  178. package/dist/project-schema/v3.29.0.js +7 -0
  179. package/dist/project-schema/v3.3.0.d.ts +632 -0
  180. package/dist/project-schema/v3.3.0.js +7 -0
  181. package/dist/project-schema/v3.30.0.d.ts +1416 -0
  182. package/dist/project-schema/v3.30.0.js +7 -0
  183. package/dist/project-schema/v3.31.0.d.ts +1448 -0
  184. package/dist/project-schema/v3.31.0.js +7 -0
  185. package/dist/project-schema/v3.32.0.d.ts +1439 -0
  186. package/dist/project-schema/v3.32.0.js +7 -0
  187. package/dist/project-schema/v3.33.0.d.ts +1445 -0
  188. package/dist/project-schema/v3.33.0.js +7 -0
  189. package/dist/project-schema/v3.34.0.d.ts +1445 -0
  190. package/dist/project-schema/v3.34.0.js +7 -0
  191. package/dist/project-schema/v3.35.0.d.ts +1464 -0
  192. package/dist/project-schema/v3.35.0.js +7 -0
  193. package/dist/project-schema/v3.36.0.d.ts +1470 -0
  194. package/dist/project-schema/v3.36.0.js +7 -0
  195. package/dist/project-schema/v3.37.0.d.ts +1522 -0
  196. package/dist/project-schema/v3.37.0.js +7 -0
  197. package/dist/project-schema/v3.38.0.d.ts +1522 -0
  198. package/dist/project-schema/v3.38.0.js +7 -0
  199. package/dist/project-schema/v3.39.0.d.ts +1529 -0
  200. package/dist/project-schema/v3.39.0.js +7 -0
  201. package/dist/project-schema/v3.4.0.d.ts +624 -0
  202. package/dist/project-schema/v3.4.0.js +7 -0
  203. package/dist/project-schema/v3.40.0.d.ts +1530 -0
  204. package/dist/project-schema/v3.40.0.js +7 -0
  205. package/dist/project-schema/v3.41.0.d.ts +1530 -0
  206. package/dist/project-schema/v3.41.0.js +7 -0
  207. package/dist/project-schema/v3.42.0.d.ts +1534 -0
  208. package/dist/project-schema/v3.42.0.js +7 -0
  209. package/dist/project-schema/v3.43.0.d.ts +1536 -0
  210. package/dist/project-schema/v3.43.0.js +7 -0
  211. package/dist/project-schema/v3.44.0.d.ts +1621 -0
  212. package/dist/project-schema/v3.44.0.js +7 -0
  213. package/dist/project-schema/v3.45.0.d.ts +1650 -0
  214. package/dist/project-schema/v3.45.0.js +7 -0
  215. package/dist/project-schema/v3.46.0.d.ts +1703 -0
  216. package/dist/project-schema/v3.46.0.js +7 -0
  217. package/dist/project-schema/v3.47.0.d.ts +1736 -0
  218. package/dist/project-schema/v3.47.0.js +7 -0
  219. package/dist/project-schema/v3.48.0.d.ts +2208 -0
  220. package/dist/project-schema/v3.48.0.js +7 -0
  221. package/dist/project-schema/v3.49.0.d.ts +2217 -0
  222. package/dist/project-schema/v3.49.0.js +7 -0
  223. package/dist/project-schema/v3.5.0.d.ts +649 -0
  224. package/dist/project-schema/v3.5.0.js +7 -0
  225. package/dist/project-schema/v3.5.1.d.ts +649 -0
  226. package/dist/project-schema/v3.5.1.js +7 -0
  227. package/dist/project-schema/v3.50.0.d.ts +2269 -0
  228. package/dist/project-schema/v3.50.0.js +7 -0
  229. package/dist/project-schema/v3.51.0.d.ts +2269 -0
  230. package/dist/project-schema/v3.51.0.js +7 -0
  231. package/dist/project-schema/v3.52.0.d.ts +2269 -0
  232. package/dist/project-schema/v3.52.0.js +7 -0
  233. package/dist/project-schema/v3.53.0.d.ts +2350 -0
  234. package/dist/project-schema/v3.53.0.js +7 -0
  235. package/dist/project-schema/v3.54.0.d.ts +2369 -0
  236. package/dist/project-schema/v3.54.0.js +7 -0
  237. package/dist/project-schema/v3.55.0.d.ts +2369 -0
  238. package/dist/project-schema/v3.55.0.js +7 -0
  239. package/dist/project-schema/v3.56.0.d.ts +2405 -0
  240. package/dist/project-schema/v3.56.0.js +7 -0
  241. package/dist/project-schema/v3.57.0.d.ts +2601 -0
  242. package/dist/project-schema/v3.57.0.js +7 -0
  243. package/dist/project-schema/v3.58.0.d.ts +2601 -0
  244. package/dist/project-schema/v3.58.0.js +7 -0
  245. package/dist/project-schema/v3.59.0.d.ts +2650 -0
  246. package/dist/project-schema/v3.59.0.js +7 -0
  247. package/dist/project-schema/v3.6.0.d.ts +658 -0
  248. package/dist/project-schema/v3.6.0.js +7 -0
  249. package/dist/project-schema/v3.60.0.d.ts +2678 -0
  250. package/dist/project-schema/v3.60.0.js +7 -0
  251. package/dist/project-schema/v3.61.0.d.ts +2678 -0
  252. package/dist/project-schema/v3.61.0.js +7 -0
  253. package/dist/project-schema/v3.62.0.d.ts +2693 -0
  254. package/dist/project-schema/v3.62.0.js +7 -0
  255. package/dist/project-schema/v3.63.0.d.ts +2701 -0
  256. package/dist/project-schema/v3.63.0.js +7 -0
  257. package/dist/project-schema/v3.64.0.d.ts +2710 -0
  258. package/dist/project-schema/v3.64.0.js +7 -0
  259. package/dist/project-schema/v3.65.0.d.ts +2762 -0
  260. package/dist/project-schema/v3.65.0.js +7 -0
  261. package/dist/project-schema/v3.7.0.d.ts +961 -0
  262. package/dist/project-schema/v3.7.0.js +7 -0
  263. package/dist/project-schema/v3.8.0.d.ts +979 -0
  264. package/dist/project-schema/v3.8.0.js +7 -0
  265. package/dist/project-schema/v3.9.0.d.ts +1178 -0
  266. package/dist/project-schema/v3.9.0.js +7 -0
  267. package/dist/project-schema/v4.0.0.d.ts +1328 -0
  268. package/dist/project-schema/v4.0.0.js +7 -0
  269. package/dist/refs.d.ts +220 -0
  270. package/dist/refs.js +648 -0
  271. package/dist/relationships.d.ts +40 -0
  272. package/dist/relationships.js +302 -0
  273. package/dist/resolvers/ai/abort-agent-message-args.d.ts +16 -0
  274. package/dist/resolvers/ai/abort-agent-message-args.js +13 -0
  275. package/dist/resolvers/ai/abort-agent-message-response.d.ts +39 -0
  276. package/dist/resolvers/ai/abort-agent-message-response.js +19 -0
  277. package/dist/resolvers/ai/agent-attachment.d.ts +27 -0
  278. package/dist/resolvers/ai/agent-attachment.js +22 -0
  279. package/dist/resolvers/ai/agent-chat-args.d.ts +62 -0
  280. package/dist/resolvers/ai/agent-chat-args.js +30 -0
  281. package/dist/resolvers/ai/agent-chat-payload.d.ts +35 -0
  282. package/dist/resolvers/ai/agent-chat-payload.js +26 -0
  283. package/dist/resolvers/ai/agent-chat-response.d.ts +366 -0
  284. package/dist/resolvers/ai/agent-chat-response.js +21 -0
  285. package/dist/resolvers/ai/agent-generate-args.d.ts +62 -0
  286. package/dist/resolvers/ai/agent-generate-args.js +30 -0
  287. package/dist/resolvers/ai/agent-message-input.d.ts +73 -0
  288. package/dist/resolvers/ai/agent-message-input.js +39 -0
  289. package/dist/resolvers/ai/agent-message-output.d.ts +169 -0
  290. package/dist/resolvers/ai/agent-message-output.js +77 -0
  291. package/dist/resolvers/ai/agent-message-payload.d.ts +849 -0
  292. package/dist/resolvers/ai/agent-message-payload.js +167 -0
  293. package/dist/resolvers/ai/agent-run-mode.d.ts +8 -0
  294. package/dist/resolvers/ai/agent-run-mode.js +9 -0
  295. package/dist/resolvers/ai/agent-session-payload.d.ts +840 -0
  296. package/dist/resolvers/ai/agent-session-payload.js +218 -0
  297. package/dist/resolvers/ai/ai-usage-item.d.ts +70 -0
  298. package/dist/resolvers/ai/ai-usage-item.js +70 -0
  299. package/dist/resolvers/ai/create-agent-session-response.d.ts +276 -0
  300. package/dist/resolvers/ai/create-agent-session-response.js +9 -0
  301. package/dist/resolvers/ai/embedding-search.d.ts +54 -0
  302. package/dist/resolvers/ai/embedding-search.js +46 -0
  303. package/dist/resolvers/ai/get-agent-message-args.d.ts +16 -0
  304. package/dist/resolvers/ai/get-agent-message-args.js +13 -0
  305. package/dist/resolvers/ai/get-agent-message-response.d.ts +1253 -0
  306. package/dist/resolvers/ai/get-agent-message-response.js +79 -0
  307. package/dist/resolvers/ai/inspect-agent-args.d.ts +16 -0
  308. package/dist/resolvers/ai/inspect-agent-args.js +13 -0
  309. package/dist/resolvers/ai/inspect-agent-response.d.ts +631 -0
  310. package/dist/resolvers/ai/inspect-agent-response.js +48 -0
  311. package/dist/resolvers/ai/send-agent-feedback-args.d.ts +52 -0
  312. package/dist/resolvers/ai/send-agent-feedback-args.js +16 -0
  313. package/dist/resolvers/ai/send-agent-message-args.d.ts +48 -0
  314. package/dist/resolvers/ai/send-agent-message-args.js +36 -0
  315. package/dist/resolvers/ai/send-agent-message-response.d.ts +432 -0
  316. package/dist/resolvers/ai/send-agent-message-response.js +51 -0
  317. package/dist/resolvers/ai/types.d.ts +8 -0
  318. package/dist/resolvers/ai/types.js +1 -0
  319. package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +79 -0
  320. package/dist/resolvers/takeshape/assets/asset-image-meta.js +98 -0
  321. package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +901 -0
  322. package/dist/resolvers/takeshape/assets/asset-image-params.js +726 -0
  323. package/dist/resolvers/takeshape/assets/asset-image.d.ts +17 -0
  324. package/dist/resolvers/takeshape/assets/asset-image.js +15 -0
  325. package/dist/resolvers/takeshape/assets/asset.d.ts +125 -0
  326. package/dist/resolvers/takeshape/assets/asset.js +107 -0
  327. package/dist/resolvers/takeshape/assets/constants.d.ts +11 -0
  328. package/dist/resolvers/takeshape/assets/constants.js +11 -0
  329. package/dist/resolvers/takeshape/builtins/constants.d.ts +1 -0
  330. package/dist/resolvers/takeshape/builtins/constants.js +1 -0
  331. package/dist/runtime-schema.d.ts +6 -0
  332. package/dist/runtime-schema.js +85 -0
  333. package/dist/scalars.d.ts +2 -0
  334. package/dist/scalars.js +4 -0
  335. package/dist/schema-transform.d.ts +19 -0
  336. package/dist/schema-transform.js +74 -0
  337. package/dist/schema-util.d.ts +266 -0
  338. package/dist/schema-util.js +1127 -0
  339. package/dist/schemas/auth-schemas.json +400 -0
  340. package/dist/schemas/index.d.ts +4 -0
  341. package/dist/schemas/index.js +182 -0
  342. package/dist/schemas/project-schema/experimental-2025-07.json +1297 -0
  343. package/dist/schemas/project-schema/latest.d.ts +245 -0
  344. package/dist/schemas/project-schema/latest.js +25 -0
  345. package/dist/schemas/project-schema/latest.json +5109 -0
  346. package/dist/schemas/project-schema/meta-schema-v1.0.0.json +193 -0
  347. package/dist/schemas/project-schema/meta-schema-v3.0.0.json +608 -0
  348. package/dist/schemas/project-schema/meta-schema-v3.1.0.json +608 -0
  349. package/dist/schemas/project-schema/meta-schema-v3.2.0.json +612 -0
  350. package/dist/schemas/project-schema/meta-schema-v3.3.0.json +612 -0
  351. package/dist/schemas/project-schema/meta-schema-v3.4.0.json +637 -0
  352. package/dist/schemas/project-schema/meta-schema-v3.5.0.json +626 -0
  353. package/dist/schemas/project-schema/meta-schema-v3.5.1.json +626 -0
  354. package/dist/schemas/project-schema/meta-schema-v3.6.0.json +629 -0
  355. package/dist/schemas/project-schema/meta-schema-v3.7.0.json +1137 -0
  356. package/dist/schemas/project-schema/meta-schema-v3.8.0.json +1137 -0
  357. package/dist/schemas/project-schema/meta-schema-v3.9.0.json +1477 -0
  358. package/dist/schemas/project-schema/v1.0.0.json +321 -0
  359. package/dist/schemas/project-schema/v3.0.0.json +414 -0
  360. package/dist/schemas/project-schema/v3.1.0.json +572 -0
  361. package/dist/schemas/project-schema/v3.10.0.json +2097 -0
  362. package/dist/schemas/project-schema/v3.11.0.json +2141 -0
  363. package/dist/schemas/project-schema/v3.12.0.json +2144 -0
  364. package/dist/schemas/project-schema/v3.12.1.json +2282 -0
  365. package/dist/schemas/project-schema/v3.12.2.json +2304 -0
  366. package/dist/schemas/project-schema/v3.12.3.json +2357 -0
  367. package/dist/schemas/project-schema/v3.13.0.json +2377 -0
  368. package/dist/schemas/project-schema/v3.14.0.json +2385 -0
  369. package/dist/schemas/project-schema/v3.15.0.json +2365 -0
  370. package/dist/schemas/project-schema/v3.16.0.json +2373 -0
  371. package/dist/schemas/project-schema/v3.17.0.json +2378 -0
  372. package/dist/schemas/project-schema/v3.17.1.json +2380 -0
  373. package/dist/schemas/project-schema/v3.18.0.json +2356 -0
  374. package/dist/schemas/project-schema/v3.18.1.json +2357 -0
  375. package/dist/schemas/project-schema/v3.18.2.json +2357 -0
  376. package/dist/schemas/project-schema/v3.19.0.json +2369 -0
  377. package/dist/schemas/project-schema/v3.2.0.json +580 -0
  378. package/dist/schemas/project-schema/v3.20.0.json +2369 -0
  379. package/dist/schemas/project-schema/v3.21.0.json +2376 -0
  380. package/dist/schemas/project-schema/v3.22.0.json +2381 -0
  381. package/dist/schemas/project-schema/v3.23.0.json +2456 -0
  382. package/dist/schemas/project-schema/v3.24.0.json +2556 -0
  383. package/dist/schemas/project-schema/v3.25.0.json +2552 -0
  384. package/dist/schemas/project-schema/v3.26.0.json +2599 -0
  385. package/dist/schemas/project-schema/v3.27.0.json +2611 -0
  386. package/dist/schemas/project-schema/v3.28.0.json +2656 -0
  387. package/dist/schemas/project-schema/v3.29.0.json +2670 -0
  388. package/dist/schemas/project-schema/v3.3.0.json +581 -0
  389. package/dist/schemas/project-schema/v3.30.0.json +2656 -0
  390. package/dist/schemas/project-schema/v3.31.0.json +2714 -0
  391. package/dist/schemas/project-schema/v3.32.0.json +2708 -0
  392. package/dist/schemas/project-schema/v3.33.0.json +2715 -0
  393. package/dist/schemas/project-schema/v3.34.0.json +2715 -0
  394. package/dist/schemas/project-schema/v3.35.0.json +2748 -0
  395. package/dist/schemas/project-schema/v3.36.0.json +2756 -0
  396. package/dist/schemas/project-schema/v3.37.0.json +2821 -0
  397. package/dist/schemas/project-schema/v3.38.0.json +2819 -0
  398. package/dist/schemas/project-schema/v3.39.0.json +2827 -0
  399. package/dist/schemas/project-schema/v3.4.0.json +571 -0
  400. package/dist/schemas/project-schema/v3.40.0.json +2830 -0
  401. package/dist/schemas/project-schema/v3.41.0.json +2830 -0
  402. package/dist/schemas/project-schema/v3.42.0.json +2835 -0
  403. package/dist/schemas/project-schema/v3.43.0.json +2841 -0
  404. package/dist/schemas/project-schema/v3.44.0.json +3013 -0
  405. package/dist/schemas/project-schema/v3.45.0.json +3064 -0
  406. package/dist/schemas/project-schema/v3.46.0.json +3136 -0
  407. package/dist/schemas/project-schema/v3.47.0.json +3189 -0
  408. package/dist/schemas/project-schema/v3.48.0.json +3196 -0
  409. package/dist/schemas/project-schema/v3.49.0.json +3239 -0
  410. package/dist/schemas/project-schema/v3.5.0.json +571 -0
  411. package/dist/schemas/project-schema/v3.5.1.json +571 -0
  412. package/dist/schemas/project-schema/v3.50.0.json +3320 -0
  413. package/dist/schemas/project-schema/v3.51.0.json +3326 -0
  414. package/dist/schemas/project-schema/v3.52.0.json +3326 -0
  415. package/dist/schemas/project-schema/v3.53.0.json +3476 -0
  416. package/dist/schemas/project-schema/v3.54.0.json +3512 -0
  417. package/dist/schemas/project-schema/v3.55.0.json +3515 -0
  418. package/dist/schemas/project-schema/v3.56.0.json +3530 -0
  419. package/dist/schemas/project-schema/v3.57.0.json +4815 -0
  420. package/dist/schemas/project-schema/v3.58.0.json +4815 -0
  421. package/dist/schemas/project-schema/v3.59.0.json +4912 -0
  422. package/dist/schemas/project-schema/v3.6.0.json +587 -0
  423. package/dist/schemas/project-schema/v3.60.0.json +4974 -0
  424. package/dist/schemas/project-schema/v3.61.0.json +4974 -0
  425. package/dist/schemas/project-schema/v3.62.0.json +5007 -0
  426. package/dist/schemas/project-schema/v3.63.0.json +5020 -0
  427. package/dist/schemas/project-schema/v3.64.0.json +5032 -0
  428. package/dist/schemas/project-schema/v3.65.0.json +5109 -0
  429. package/dist/schemas/project-schema/v3.7.0.json +587 -0
  430. package/dist/schemas/project-schema/v3.8.0.json +604 -0
  431. package/dist/schemas/project-schema/v3.9.0.json +604 -0
  432. package/dist/schemas/project-schema/v4.0.0.json +2316 -0
  433. package/dist/schemas/project-schema.json +232 -0
  434. package/dist/service-dependencies.d.ts +13 -0
  435. package/dist/service-dependencies.js +165 -0
  436. package/dist/services/services.d.ts +31 -0
  437. package/dist/services/services.js +145 -0
  438. package/dist/services/types.d.ts +11 -0
  439. package/dist/services/types.js +1 -0
  440. package/dist/services/util.d.ts +16 -0
  441. package/dist/services/util.js +36 -0
  442. package/dist/shape-paths.d.ts +7 -0
  443. package/dist/shape-paths.js +40 -0
  444. package/dist/taxonomies.d.ts +15 -0
  445. package/dist/taxonomies.js +24 -0
  446. package/dist/template-shapes/index.d.ts +7 -0
  447. package/dist/template-shapes/index.js +33 -0
  448. package/dist/template-shapes/names.d.ts +10 -0
  449. package/dist/template-shapes/names.js +21 -0
  450. package/dist/template-shapes/templates.d.ts +32 -0
  451. package/dist/template-shapes/templates.js +316 -0
  452. package/dist/template-shapes/types.d.ts +15 -0
  453. package/dist/template-shapes/types.js +7 -0
  454. package/dist/template-shapes/where.d.ts +37 -0
  455. package/dist/template-shapes/where.js +415 -0
  456. package/dist/types/index.d.ts +3 -0
  457. package/dist/types/index.js +2 -0
  458. package/dist/types/transforms.d.ts +15 -0
  459. package/dist/types/transforms.js +1 -0
  460. package/dist/types/types.d.ts +206 -0
  461. package/dist/types/types.js +10 -0
  462. package/dist/types/utils.d.ts +112 -0
  463. package/dist/types/utils.js +269 -0
  464. package/dist/unions.d.ts +14 -0
  465. package/dist/unions.js +77 -0
  466. package/dist/util/agent-utils.d.ts +2 -0
  467. package/dist/util/agent-utils.js +7 -0
  468. package/dist/util/api-indexing.d.ts +9 -0
  469. package/dist/util/api-indexing.js +57 -0
  470. package/dist/util/coerce-value.d.ts +9 -0
  471. package/dist/util/coerce-value.js +32 -0
  472. package/dist/util/detect-cycles.d.ts +7 -0
  473. package/dist/util/detect-cycles.js +45 -0
  474. package/dist/util/expressions.d.ts +34 -0
  475. package/dist/util/expressions.js +350 -0
  476. package/dist/util/find-shape-at-path.d.ts +21 -0
  477. package/dist/util/find-shape-at-path.js +53 -0
  478. package/dist/util/form-config.d.ts +11 -0
  479. package/dist/util/form-config.js +62 -0
  480. package/dist/util/get-conflicting-properties.d.ts +6 -0
  481. package/dist/util/get-conflicting-properties.js +55 -0
  482. package/dist/util/get-return-shape.d.ts +4 -0
  483. package/dist/util/get-return-shape.js +30 -0
  484. package/dist/util/graphql-string.d.ts +6 -0
  485. package/dist/util/graphql-string.js +75 -0
  486. package/dist/util/has-arg.d.ts +6 -0
  487. package/dist/util/has-arg.js +25 -0
  488. package/dist/util/is-asset-property.d.ts +3 -0
  489. package/dist/util/is-asset-property.js +11 -0
  490. package/dist/util/merge.d.ts +17 -0
  491. package/dist/util/merge.js +278 -0
  492. package/dist/util/patch-schema.d.ts +13 -0
  493. package/dist/util/patch-schema.js +89 -0
  494. package/dist/util/query-field-path.d.ts +9 -0
  495. package/dist/util/query-field-path.js +23 -0
  496. package/dist/util/shapes.d.ts +5 -0
  497. package/dist/util/shapes.js +22 -0
  498. package/dist/util/tools.d.ts +10 -0
  499. package/dist/util/tools.js +39 -0
  500. package/dist/validate/ai.d.ts +6 -0
  501. package/dist/validate/ai.js +221 -0
  502. package/dist/validate/errors.d.ts +3 -0
  503. package/dist/validate/errors.js +20 -0
  504. package/dist/validate/types.d.ts +43 -0
  505. package/dist/validate/types.js +1 -0
  506. package/dist/validate/util.d.ts +9 -0
  507. package/dist/validate/util.js +62 -0
  508. package/dist/validate/validate.d.ts +41 -0
  509. package/dist/validate/validate.js +1042 -0
  510. package/dist/versions.d.ts +4 -0
  511. package/dist/versions.js +4 -0
  512. package/dist/workflows.d.ts +14 -0
  513. package/dist/workflows.js +66 -0
  514. package/package.json +6 -6
@@ -0,0 +1,2710 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ /**
7
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_64_0 = string | ObjectSchemaV3_64_0 | ExtendsSchemaV3_64_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_64_0 = PropertySchemaV3_64_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_64_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_64_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_64_0 = NonNegativeIntegerV3_64_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_64_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_64_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_64_0 = PropertySchemaV3_64_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_64_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_64_0 = (RefSchemaV3_64_0 | RefSchemaLegacyV3_64_0 | ObjectSchemaV3_64_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_64_0 = MappingStringV3_64_0 | MappingStringV3_64_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_64_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_64_0 = BasicResolverV3_64_0 | ComposeResolverV3_64_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_64_0 = UtilResolverV3_64_0 | DelegateResolverV3_64_0 | TakeshapeResolverV3_64_0 | ShapedbResolverV3_64_0 | ShapedbResolverShapeNameNotRequiredV3_64_0 | GraphqlResolverV3_64_0 | RestResolverV3_64_0 | AwsLambdaResolverV3_64_0 | SalsifyResolverV3_64_0 | SyndigoResolverV3_64_0 | FunctionResolverV3_64_0 | AIGenerateTextResolverV3_64_0 | AIGeneratePropertyResolverV3_64_0 | AIEmbeddingResolverV3_64_0 | AIEmbeddingSearchResolverV3_64_0 | AIParseFileResolverV3_64_0 | ChunkResolverV3_64_0 | AISendAgentMessageResolverV3_64_0 | AIInspectAgentResolverV3_64_0 | AICreateAgentSessionResolverV3_64_0 | AIGetAgentMessageResolverV3_64_0 | AIAbortAgentMessageResolverV3_64_0 | AISendAgentFeedbackResolverV3_64_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_64_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_64_0 = ParameterOpNestedV3_64_0 | ParameterOpValueV3_64_0 | ParameterOpMappingV3_64_0 | ParameterOpOpV3_64_0;
89
+ /**
90
+ * A tuple with a string directive name, and options to pass to the directive
91
+ *
92
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_64_0 = [DirectiveNameV3_64_0, DirectiveOptionsV3_64_0];
96
+ export type DirectiveNameV3_64_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_64_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_64_0 = DirectiveConfigItemV3_64_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_64_0 = ParameterOpV3_64_0[];
112
+ /**
113
+ * Maps a query's input args to the input expected by the service's endpoint.
114
+ *
115
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_64_0 = DirectiveMappingMapV3_64_0 | DirectiveConfigV3_64_0;
119
+ /**
120
+ * Maps a service endpoint's response results to the expected shape of the query's response.
121
+ *
122
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_64_0 = DirectiveMappingMapV3_64_0 | DirectiveConfigV3_64_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_64_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_64_0 = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex' | 'takeshape:assetUrl' | 'takeshape:assetImage' | 'takeshape:assetImageMeta';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export type ShapedbResolverNameV3_64_0 = 'shapedb:get' | 'shapedb:create' | 'shapedb:update' | 'shapedb:delete' | 'shapedb:duplicate' | 'shapedb:find';
138
+ /**
139
+ * Name of the resolver function.
140
+ */
141
+ export type ShapedbResolverShapeNameNotRequiredNameV3_64_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_64_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_64_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
150
+ /**
151
+ * A tuple with a string key and a directive config to evaluate
152
+ *
153
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_64_0 = [string, DirectiveConfigV3_64_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_64_0 = DirectiveMappingArrayItemV3_64_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_64_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_64_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type SyndigoResolverNameV3_64_0 = 'syndigo:searchProducts';
173
+ /**
174
+ * Name of the resolver function.
175
+ */
176
+ export type FunctionResolverNameV3_64_0 = 'function:run';
177
+ export type FunctionResolverJavascriptV3_64_0 = string;
178
+ /**
179
+ * Name of the resolver function.
180
+ */
181
+ export type AIResolverNameV3_64_0 = 'ai:generateText' | 'ai:chat';
182
+ export type HistoryV3_64_0 = boolean;
183
+ /**
184
+ * Maximum number of tokens to generate.
185
+ */
186
+ export type MaximumTokensV3_64_0 = number;
187
+ /**
188
+ * This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
189
+ */
190
+ export type TemperatureV3_64_0 = number;
191
+ /**
192
+ * Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
193
+ */
194
+ export type TopPV3_64_0 = number;
195
+ /**
196
+ * Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
197
+ */
198
+ export type TopKV3_64_0 = number;
199
+ /**
200
+ * It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
201
+ */
202
+ export type PresencePenaltySettingV3_64_0 = number;
203
+ /**
204
+ * It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
205
+ */
206
+ export type FrequencyPenaltySettingV3_64_0 = number;
207
+ /**
208
+ * If set, the model will stop generating text when one of the stop sequences is generated.
209
+ */
210
+ export type StopSequencesV3_64_0 = string[];
211
+ /**
212
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
213
+ */
214
+ export type SeedV3_64_0 = number;
215
+ /**
216
+ * Enable prompt caching for supported providers (e.g., Anthropic). Reduces token costs by caching system messages, tools, and conversation history.
217
+ *
218
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
219
+ * via the `definition` "promptCaching".
220
+ */
221
+ export type PromptCachingV3_64_0 = boolean;
222
+ /**
223
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
224
+ * via the `definition` "agentToolConfigArg".
225
+ */
226
+ export type AgentToolConfigArgV3_64_0 = AgentControlledV3_64_0 | VariableValueV3_64_0;
227
+ /**
228
+ * The argument name that will be exposed by the tool for the LLM to use.
229
+ */
230
+ export type ToolArgumentNameV3_64_0 = string;
231
+ /**
232
+ * Name of argument to pass value to. This prevents the LLM from setting the argument.
233
+ */
234
+ export type ToolArgumentNameV3_64_01 = string;
235
+ /**
236
+ * Name of variable to pull value from.
237
+ */
238
+ export type StateVariableNameV3_64_0 = string;
239
+ /**
240
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
241
+ * via the `definition` "aiGuardrail".
242
+ */
243
+ export type AIGuardrailV3_64_0 = AISimilarityGuardrailV3_64_0;
244
+ /**
245
+ * Name of the resolver function.
246
+ */
247
+ export type AIResolverNameV3_64_01 = 'ai:generateProperty';
248
+ /**
249
+ * Name of the resolver function.
250
+ */
251
+ export type AIResolverNameV3_64_02 = 'ai:createEmbedding';
252
+ /**
253
+ * Name of the resolver function.
254
+ */
255
+ export type AIResolverNameV3_64_03 = 'ai:embeddingSearch';
256
+ /**
257
+ * Name of the resolver function.
258
+ */
259
+ export type AIResolverNameV3_64_04 = 'ai:parseFile';
260
+ /**
261
+ * Name of the resolver function.
262
+ */
263
+ export type UtilResolverNameV3_64_01 = 'util:chunk';
264
+ /**
265
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
266
+ * via the `definition` "utilChunkResolverOptions".
267
+ */
268
+ export type UtilChunkResolverOptionsV3_64_0 = UtilChunkResolverOptionsCharacterCountV3_64_0 | UtilChunkResolverOptionsSeparatorsV3_64_0 | UtilChunkResolverOptionsMarkdownV3_64_0 | UtilChunkResolverOptionsSemanticV3_64_0;
269
+ /**
270
+ * Name of the resolver function.
271
+ */
272
+ export type AIResolverNameV3_64_05 = 'ai:sendAgentMessage';
273
+ /**
274
+ * Name of the resolver function.
275
+ */
276
+ export type AIResolverNameV3_64_06 = 'ai:inspectAgent';
277
+ /**
278
+ * Name of the resolver function.
279
+ */
280
+ export type AIResolverNameV3_64_07 = 'ai:createAgentSession';
281
+ /**
282
+ * Name of the resolver function.
283
+ */
284
+ export type AIResolverNameV3_64_08 = 'ai:getAgentMessage';
285
+ /**
286
+ * Name of the resolver function.
287
+ */
288
+ export type AIResolverNameV3_64_09 = 'ai:abortAgentMessage';
289
+ /**
290
+ * Name of the resolver function.
291
+ */
292
+ export type AIResolverNameV3_64_010 = 'ai:sendAgentFeedback';
293
+ /**
294
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
295
+ * via the `definition` "dependencies".
296
+ */
297
+ export type DependenciesV3_64_0 = string;
298
+ /**
299
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
300
+ * via the `definition` "extendsSchema".
301
+ */
302
+ export type ExtendsSchemaV3_64_0 = PropertySchemaV3_64_0 & {
303
+ extends: ObjectOrRefArrayV3_64_0;
304
+ };
305
+ /**
306
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
307
+ * via the `definition` "returnShape".
308
+ */
309
+ export type ReturnShapeV3_64_0 = string | ReturnShapeArraySchemaV3_64_0;
310
+ /**
311
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
312
+ * via the `definition` "returnShapeArraySchema".
313
+ */
314
+ export type ReturnShapeArraySchemaV3_64_0 = PropertySchemaV3_64_0 & {
315
+ type: 'array';
316
+ items: RefSchemaV3_64_0 | {
317
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
318
+ [k: string]: any;
319
+ };
320
+ };
321
+ export type ModelTypeV3_64_0 = 'single' | 'multiple' | 'taxonomy';
322
+ /**
323
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
324
+ * via the `definition` "paginationConfig".
325
+ */
326
+ export type PaginationConfigV3_64_0 = PaginationCursorConfigV3_64_0 | PaginationPageConfigV3_64_0 | PaginationOffsetConfigV3_64_0;
327
+ /**
328
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
329
+ * via the `definition` "cacheTriggerConfig".
330
+ */
331
+ export type CacheTriggerConfigV3_64_0 = CacheScheduleTriggerConfigV3_64_0 | CacheWebhookTriggerConfigV3_64_0;
332
+ /**
333
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
334
+ * via the `definition` "shapeSchema".
335
+ */
336
+ export type ShapeSchemaV3_64_0 = ShapeSchemaAllOfV3_64_0 | ShapeSchemaExtendsV3_64_0 | ShapeSchemaOneOfV3_64_0 | ShapeSchemaEnumV3_64_0 | ObjectSchemaV3_64_0 | ShapeSchemaAnyV3_64_0;
337
+ /**
338
+ * Human-readable id for use in the UI
339
+ */
340
+ export type WorkflowNameV3_64_0 = string;
341
+ /**
342
+ * machine-readable slug
343
+ */
344
+ export type NameV3_64_0 = string;
345
+ /**
346
+ * Human-readable id for use in the UI
347
+ */
348
+ export type TitleV3_64_0 = string;
349
+ export type DescriptionV3_64_0 = string;
350
+ /**
351
+ * Hex color code
352
+ */
353
+ export type ColorV3_64_0 = string;
354
+ /**
355
+ * Value to indicate whether items in the state should be returned in list queries
356
+ */
357
+ export type LiveV3_64_0 = boolean;
358
+ /**
359
+ * machine-readable id
360
+ */
361
+ export type KeyV3_64_0 = string;
362
+ export type StepsV3_64_0 = WorkflowStepV3_64_0[];
363
+ /**
364
+ * The general type of this service, specifying how and where it will be utilized.
365
+ *
366
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
367
+ * via the `definition` "serviceType".
368
+ */
369
+ export type ServiceTypeV3_64_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
370
+ /**
371
+ * The name of a health check to run
372
+ */
373
+ export type CheckNameV3_64_0 = 'graphqlIntrospection' | 'ping' | 'none';
374
+ /**
375
+ * The endpoint to use when checking the service health.
376
+ */
377
+ export type EndpointV3_64_0 = string;
378
+ /**
379
+ * A custom method to use for the health check request.
380
+ */
381
+ export type RequestMethodV3_64_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
382
+ /**
383
+ * A custom body to send along with the ping request.
384
+ */
385
+ export type RequestBodyV3_64_0 = string;
386
+ /**
387
+ * A custom body to send along with the ping request.
388
+ */
389
+ export type RequestBodyFormatV3_64_0 = 'string' | 'form' | 'json' | 'form-data';
390
+ /**
391
+ * The amount of time to wait when receiving a response from the health check, in seconds.
392
+ */
393
+ export type RequestTimeoutV3_64_0 = number;
394
+ /**
395
+ * The response status code that qualifies as healthy.
396
+ */
397
+ export type HealthyResponseStatusCodeV3_64_0 = number;
398
+ /**
399
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
400
+ * via the `definition` "serviceHealthCheckTrigger".
401
+ */
402
+ export type ServiceHealthCheckTriggerV3_64_0 = 'manual' | 'schedule';
403
+ /**
404
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
405
+ * via the `definition` "agentApiInput".
406
+ */
407
+ export type AgentAPIInputV3_64_0 = AgentAPIMutationInputV3_64_0;
408
+ export type InteractionTimeoutMillisecondsV3_64_0 = number;
409
+ export type AgentStateSessionMemoryV3_64_0 = AgentStateSessionMemoryAssignmentV3_64_0[];
410
+ export type VariablesV3_64_0 = AgentVariableV3_64_0[];
411
+ /**
412
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
413
+ * via the `definition` "agentExecution".
414
+ */
415
+ export type AgentExecutionV3_64_0 = AgentExecutionGraphQLV3_64_0 | AgentExecutionGenerateV3_64_0 | AgentExecutionChatV3_64_0;
416
+ /**
417
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
418
+ * via the `definition` "agentAiStateInput".
419
+ */
420
+ export type AgentAIStateInputV3_64_0 = AgentAIStateInputArgumentV3_64_0 | AgentAIStateInputTemplateV3_64_0;
421
+ /**
422
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
423
+ * via the `definition` "agentAiStateAttachments".
424
+ */
425
+ export type AgentAIStateAttachmentsV3_64_0 = AgentAIStateAttachmentsNoneV3_64_0 | AgentAIStateAttachmentsArgV3_64_0 | AgentAIStateAttachmentsExpressionV3_64_0;
426
+ export type HistoryV3_64_01 = boolean;
427
+ /**
428
+ * Maximum number of tokens to generate. Defaults to 1024
429
+ */
430
+ export type MaximumTokensV3_64_01 = number;
431
+ /**
432
+ * This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
433
+ */
434
+ export type TemperatureV3_64_01 = number;
435
+ /**
436
+ * Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
437
+ */
438
+ export type TopPV3_64_01 = number;
439
+ /**
440
+ * Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
441
+ */
442
+ export type TopKV3_64_01 = number;
443
+ /**
444
+ * It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
445
+ */
446
+ export type PresencePenaltySettingV3_64_01 = number;
447
+ /**
448
+ * It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
449
+ */
450
+ export type FrequencyPenaltySettingV3_64_01 = number;
451
+ /**
452
+ * If set, the model will stop generating text when one of the stop sequences is generated.
453
+ */
454
+ export type StopSequencesV3_64_01 = string[];
455
+ /**
456
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
457
+ */
458
+ export type SeedV3_64_01 = number;
459
+ /**
460
+ * Maximal number of automatic roundtrips for tool calls.
461
+ */
462
+ export type MaxToolRoundtripsV3_64_0 = number;
463
+ /**
464
+ * If true, structured outputs will be enabled on the model for non-text requests.
465
+ */
466
+ export type StructuredOutputsV3_64_0 = boolean;
467
+ /**
468
+ * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
469
+ */
470
+ export type EnableOpenAISchemaFormatV3_64_0 = boolean;
471
+ export type MinimatchPatternV3_64_0 = string;
472
+ /**
473
+ * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
474
+ *
475
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
476
+ * via the `definition` "removePropertyKeyPatterns".
477
+ */
478
+ export type RemovePropertyKeyPatternsV3_64_0 = MinimatchPatternV3_64_0[];
479
+ /**
480
+ * Remove Markdown formatting from the LLM response
481
+ */
482
+ export type StripMarkdownV3_64_0 = boolean;
483
+ /**
484
+ * These steps are evaluated in order until a destination is found.
485
+ *
486
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
487
+ * via the `definition` "agentTransition".
488
+ */
489
+ export type AgentTransitionV3_64_0 = AgentTransitionImmediateV3_64_0 | AgentTransitionSuspendV3_64_0;
490
+ export type AgentStateSessionMemoryV3_64_01 = AgentStateSessionMemoryAssignmentV3_64_0[];
491
+ export type GuardIDV3_64_0 = string;
492
+ export type VariablesV3_64_01 = AgentVariableV3_64_0[];
493
+ /**
494
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
495
+ * via the `definition` "historyStrategyTransform".
496
+ */
497
+ export type HistoryStrategyTransformV3_64_0 = HistoryStrategyTransformNoneV3_64_0 | HistoryStrategyTransformReplaceV3_64_0 | HistoryStrategyTransformSummarizeV3_64_0;
498
+ /**
499
+ * Enabling this will require a proof-of-work token to be included with each request. This will prevent abuse and spam.
500
+ */
501
+ export type EnableAgentAbuseProtectionV3_64_0 = boolean;
502
+ /**
503
+ * The human-readable name of the Guard.
504
+ */
505
+ export type NameV3_64_01 = string;
506
+ /**
507
+ * A description of the Guard.
508
+ */
509
+ export type DescriptionV3_64_01 = string;
510
+ /**
511
+ * Guards will not run unless enabled.
512
+ */
513
+ export type EnabledV3_64_0 = boolean;
514
+ /**
515
+ * The remote id of the Guardrail.
516
+ */
517
+ export type GuardrailIdentifierV3_64_0 = string;
518
+ /**
519
+ * The remote version of the Guardrail.
520
+ */
521
+ export type GuardrailVersionV3_64_0 = string;
522
+ /**
523
+ * A message to return when the input message is blocked by the Guard.
524
+ */
525
+ export type BlockedInputMessagingV3_64_0 = string;
526
+ /**
527
+ * A message to return when the output message is blocked by the Guard.
528
+ */
529
+ export type BlockedOutputsMessagingV3_64_0 = string;
530
+ export type ExampleV3_64_0 = string;
531
+ /**
532
+ * A topic to block.
533
+ */
534
+ export type TopicV3_64_0 = {
535
+ name: string;
536
+ definition: string;
537
+ /**
538
+ * Examples of the topic that can hint the LLM.
539
+ */
540
+ examples?: ExampleV3_64_0[];
541
+ type: 'DENY';
542
+ }[];
543
+ export type InputStrengthV3_64_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
544
+ export type OutputStrengthV3_64_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
545
+ /**
546
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
547
+ * via the `definition` "guardrailModality".
548
+ */
549
+ export type GuardrailModalityV3_64_0 = 'TEXT' | 'IMAGE';
550
+ /**
551
+ * Whether to filter images or text
552
+ */
553
+ export type InputModalitiesV3_64_0 = GuardrailModalityV3_64_0[];
554
+ /**
555
+ * Whether to filter images or text
556
+ */
557
+ export type OutputModalitiesV3_64_0 = GuardrailModalityV3_64_0[];
558
+ /**
559
+ * Types of content to filter.
560
+ */
561
+ export type FilterV3_64_0 = {
562
+ type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
563
+ inputStrength: InputStrengthV3_64_0;
564
+ outputStrength: OutputStrengthV3_64_0;
565
+ inputModalities?: InputModalitiesV3_64_0;
566
+ outputModalities?: OutputModalitiesV3_64_0;
567
+ }[];
568
+ /**
569
+ * Specific words to block.
570
+ */
571
+ export type WordListV3_64_0 = {
572
+ text: string;
573
+ }[];
574
+ /**
575
+ * This is solely used for blocking profanity.
576
+ */
577
+ export type ManagedWordListV3_64_0 = {
578
+ type: 'PROFANITY';
579
+ }[];
580
+ /**
581
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
582
+ * via the `definition` "guardrailSensitiveInformationAction".
583
+ */
584
+ export type GuardrailSensitiveInformationActionV3_64_0 = 'ANONYMIZE' | 'BLOCK';
585
+ /**
586
+ * PII entity to infer from the text.
587
+ */
588
+ export type PIIEntityV3_64_0 = {
589
+ type: 'ADDRESS' | 'AGE' | 'AWS_ACCESS_KEY' | 'AWS_SECRET_KEY' | 'CA_HEALTH_NUMBER' | 'CA_SOCIAL_INSURANCE_NUMBER' | 'CREDIT_DEBIT_CARD_CVV' | 'CREDIT_DEBIT_CARD_EXPIRY' | 'CREDIT_DEBIT_CARD_NUMBER' | 'DRIVER_ID' | 'EMAIL' | 'INTERNATIONAL_BANK_ACCOUNT_NUMBER' | 'IP_ADDRESS' | 'LICENSE_PLATE' | 'MAC_ADDRESS' | 'NAME' | 'PASSWORD' | 'PHONE' | 'PIN' | 'SWIFT_CODE' | 'UK_NATIONAL_HEALTH_SERVICE_NUMBER' | 'UK_NATIONAL_INSURANCE_NUMBER' | 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER' | 'URL' | 'USERNAME' | 'US_BANK_ACCOUNT_NUMBER' | 'US_BANK_ROUTING_NUMBER' | 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER' | 'US_PASSPORT_NUMBER' | 'US_SOCIAL_SECURITY_NUMBER' | 'VEHICLE_IDENTIFICATION_NUMBER';
590
+ action: GuardrailSensitiveInformationActionV3_64_0;
591
+ }[];
592
+ /**
593
+ * A regular expression to match sensitive information.
594
+ */
595
+ export type RegularExpressionV3_64_0 = {
596
+ name: string;
597
+ description?: string;
598
+ pattern: string;
599
+ action: GuardrailSensitiveInformationActionV3_64_0;
600
+ }[];
601
+ /**
602
+ * The type of filter.
603
+ */
604
+ export type TypeV3_64_0 = 'GROUNDING' | 'RELEVANCE';
605
+ /**
606
+ * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
607
+ */
608
+ export type ThresholdV3_64_0 = number;
609
+ /**
610
+ * Filter to evaluate grounding text.
611
+ */
612
+ export type FilterV3_64_01 = {
613
+ type: TypeV3_64_0;
614
+ threshold: ThresholdV3_64_0;
615
+ }[];
616
+ /**
617
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
618
+ * via the `definition` "toolExecution".
619
+ */
620
+ export type ToolExecutionJSONV3_64_0 = ToolExecutionRemoteJSONV3_64_0 | ToolExecutionGraphQLJSONV3_64_0;
621
+ /**
622
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
623
+ * via the `definition` "toolQueryConfig".
624
+ */
625
+ export type ToolQueryConfigV3_64_0 = ToolQueryRefConfigV3_64_0 | string;
626
+ /**
627
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
628
+ * via the `definition` "allOfSchema".
629
+ */
630
+ export type AllOfSchemaV3_64_0 = PropertySchemaV3_64_0 & {
631
+ allOf: ObjectOrRefArrayV3_64_0;
632
+ };
633
+ /**
634
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
635
+ * via the `definition` "oneOfSchema".
636
+ */
637
+ export type OneOfSchemaV3_64_0 = PropertySchemaV3_64_0 & {
638
+ oneOf: ObjectOrRefArrayV3_64_0;
639
+ };
640
+ /**
641
+ * Options to be passed to the serialization routine.
642
+ *
643
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
644
+ * via the `definition` "parameterSerializeOptions".
645
+ *
646
+ * This interface was referenced by `undefined`'s JSON-Schema definition
647
+ * via the `patternProperty` "^[^\n\r]*$".
648
+ */
649
+ export type ParameterSerializeOptionsV3_64_0 = ParameterSerializeStyleOptionsV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
650
+ /**
651
+ * An array of key / value or directive config tuples
652
+ *
653
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
654
+ * via the `definition` "directiveMappingArray".
655
+ */
656
+ export type DirectiveMappingArrayV3_64_0 = DirectiveMappingArrayItemV3_64_0[];
657
+ /**
658
+ * A resolver which references a specific service
659
+ *
660
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
661
+ * via the `definition` "serviceResolver".
662
+ */
663
+ export type ServiceResolverV3_64_0 = TakeshapeResolverV3_64_0 | ShapedbResolverShapeNameNotRequiredV3_64_0 | ShapedbResolverV3_64_0 | GraphqlResolverV3_64_0 | RestResolverV3_64_0 | AwsLambdaResolverV3_64_0;
664
+ /**
665
+ * An array of key / value or directive config tuples
666
+ *
667
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
668
+ * via the `definition` "searchParamsMapping".
669
+ */
670
+ export type SearchParamsMappingV3_64_01 = DirectiveMappingArrayItemV3_64_0[];
671
+ /**
672
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
673
+ * via the `definition` "shapeWithObjectSchema".
674
+ */
675
+ export type ShapeWithObjectSchemaV3_64_0 = ShapeJSONV3_64_0 & {
676
+ schema: ObjectSchemaV3_64_0;
677
+ };
678
+ /**
679
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
680
+ * via the `definition` "serviceAuthentication".
681
+ */
682
+ export type ServiceAuthenticationV3_64_0 = OAuth2AuthenticationV3_64_0 | OAuth2BearerAuthenticationV3_64_0 | BearerAuthenticationV3_64_0 | BasicAuthenticationV3_64_0 | SearchParamsAuthenticationV3_64_0 | AWSAuthenticationV3_64_0 | GoogleAuthenticationV3_64_0 | CustomAuthenticationV3_64_0;
683
+ /**
684
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
685
+ * via the `definition` "anyServiceConfig".
686
+ */
687
+ export type AnyServiceConfigV3_64_0 = ServiceConfigJSONV3_64_0 | ServiceConfigV3_64_0;
688
+ export interface ProjectSchemaJSONV3_64_0 {
689
+ $schema?: string;
690
+ /**
691
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
692
+ */
693
+ apiVersion: string;
694
+ /**
695
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
696
+ */
697
+ schemaVersion: '3.64.0';
698
+ /**
699
+ * The ID of the TakeShape project this schema belongs to.
700
+ */
701
+ projectId: string;
702
+ /**
703
+ * The ID of the TakeShape user who created the schema.
704
+ */
705
+ author?: string;
706
+ deactivated?: number;
707
+ /**
708
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
709
+ */
710
+ defaultLocale: string;
711
+ locales: string[];
712
+ queries: QueryMapV3_64_0;
713
+ mutations: QueryMapV3_64_0;
714
+ shapes: ShapeMapV3_64_0;
715
+ forms?: FormMapV3_64_0;
716
+ workflows: WorkflowMapV3_64_0;
717
+ services?: ServiceMapJSONV3_64_0;
718
+ agents?: AgentMapV3_64_0;
719
+ guards?: GuardMapV3_64_0;
720
+ tools?: ToolMapV3_64_0;
721
+ }
722
+ /**
723
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
724
+ * via the `definition` "queryMap".
725
+ */
726
+ export interface QueryMapV3_64_0 {
727
+ [k: string]: QueryJSONV3_64_0;
728
+ }
729
+ /**
730
+ * This interface was referenced by `QueryMapV3_64_0`'s JSON-Schema definition
731
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
732
+ *
733
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
734
+ * via the `definition` "query".
735
+ */
736
+ export interface QueryJSONV3_64_0 {
737
+ args?: ArgsV3_64_0;
738
+ resolver: ResolverV3_64_0;
739
+ shape: ReturnShapeV3_64_0;
740
+ /**
741
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
742
+ */
743
+ description?: string;
744
+ }
745
+ /**
746
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
747
+ * via the `definition` "propertySchema".
748
+ */
749
+ export interface PropertySchemaV3_64_0 {
750
+ $ref?: string;
751
+ title?: string;
752
+ description?: string;
753
+ default?: any;
754
+ readOnly?: boolean;
755
+ multipleOf?: number;
756
+ maximum?: number;
757
+ exclusiveMaximum?: number;
758
+ minimum?: number;
759
+ exclusiveMinimum?: number;
760
+ maxLength?: NonNegativeIntegerV3_64_0;
761
+ minLength?: NonNegativeIntegerDefault0V3_64_0;
762
+ pattern?: string;
763
+ additionalItems?: PropertySchemaV3_64_0;
764
+ items?: PropertySchemaV3_64_0;
765
+ maxItems?: NonNegativeIntegerV3_64_0;
766
+ minItems?: NonNegativeIntegerDefault0V3_64_0;
767
+ uniqueItems?: boolean;
768
+ contains?: PropertySchemaV3_64_0;
769
+ maxProperties?: NonNegativeIntegerV3_64_0;
770
+ minProperties?: NonNegativeIntegerDefault0V3_64_0;
771
+ required?: StringArrayV3_64_0;
772
+ additionalProperties?: PropertySchemaV3_64_0 | false;
773
+ definitions?: {
774
+ [k: string]: PropertySchemaV3_64_0;
775
+ };
776
+ properties?: {
777
+ [k: string]: PropertySchemaV3_64_0;
778
+ };
779
+ const?: any;
780
+ enum?: any[];
781
+ type?: SimpleTypesV3_64_0 | SimpleTypesV3_64_0[];
782
+ format?: string;
783
+ contentMediaType?: string;
784
+ contentEncoding?: string;
785
+ allOf?: SchemaArrayV3_64_0;
786
+ discriminator?: {
787
+ propertyName?: string;
788
+ [k: string]: any;
789
+ };
790
+ oneOf?: SchemaArrayV3_64_0;
791
+ extends?: ObjectOrRefArrayV3_64_0;
792
+ '@backreference'?: BackReferenceV3_64_0;
793
+ '@input'?: PropertySchemaV3_64_0;
794
+ '@output'?: PropertySchemaV3_64_0;
795
+ '@syncLocaleStructure'?: boolean;
796
+ '@sensitive'?: boolean;
797
+ '@draftjs'?: boolean;
798
+ '@l10n'?: boolean;
799
+ '@key'?: string;
800
+ '@workflow'?: string;
801
+ '@mapping'?: FieldMappingV3_64_0;
802
+ '@tag'?: string;
803
+ '@tags'?: string[];
804
+ '@deprecationReason'?: string;
805
+ '@args'?: ArgsV3_64_0;
806
+ '@resolver'?: ResolverV3_64_0;
807
+ '@dependencies'?: DependenciesV3_64_0;
808
+ '@ref'?: RefV3_64_0;
809
+ '@derivedFrom'?: string;
810
+ '@indexed'?: IndexedV3_64_0;
811
+ '@graphql'?: GraphQLConfigV3_64_0;
812
+ }
813
+ /**
814
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
815
+ * via the `definition` "refSchema".
816
+ */
817
+ export interface RefSchemaV3_64_0 {
818
+ '@ref': RefV3_64_0;
819
+ [k: string]: any;
820
+ }
821
+ /**
822
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
823
+ * via the `definition` "refSchemaLegacy".
824
+ */
825
+ export interface RefSchemaLegacyV3_64_0 {
826
+ $ref: RefV3_64_0;
827
+ [k: string]: any;
828
+ }
829
+ /**
830
+ * A configuration object for a reverse reference in a relationship.
831
+ *
832
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
833
+ * via the `definition` "backreference".
834
+ */
835
+ export interface BackReferenceV3_64_0 {
836
+ enabled: boolean;
837
+ name?: string;
838
+ }
839
+ /**
840
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
841
+ * via the `definition` "utilResolver".
842
+ */
843
+ export interface UtilResolverV3_64_0 {
844
+ if?: string;
845
+ id?: string;
846
+ name: UtilResolverNameV3_64_0;
847
+ options?: UtilResolverOptionsV3_64_0;
848
+ /**
849
+ * Optional value to return from the noop resolver.
850
+ */
851
+ value?: number | string | boolean | {
852
+ [k: string]: any;
853
+ } | any[] | null;
854
+ args?: ParameterConfigForJsonV3_64_0;
855
+ results?: ParameterConfigForJsonV3_64_0;
856
+ argsMapping?: ArgsMappingV3_64_0;
857
+ resultsMapping?: ResultsMappingV3_64_0;
858
+ }
859
+ export interface UtilResolverOptionsV3_64_0 {
860
+ [k: string]: any;
861
+ }
862
+ /**
863
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
864
+ * via the `definition` "parameterConfigForJson".
865
+ */
866
+ export interface ParameterConfigForJsonV3_64_0 {
867
+ ops: ParameterOpListV3_64_0;
868
+ }
869
+ /**
870
+ * An object describing an operation to generate a parameter, using a nested OpList.
871
+ *
872
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
873
+ * via the `definition` "parameterOpNested".
874
+ */
875
+ export interface ParameterOpNestedV3_64_0 {
876
+ /**
877
+ * A path to the parameter for this operation.
878
+ */
879
+ path: string;
880
+ /**
881
+ * A mode for this parameter's operation.
882
+ */
883
+ op?: 'set' | 'concat' | 'extend' | 'remove';
884
+ ops: ParameterOpListV3_64_0;
885
+ }
886
+ /**
887
+ * An object describing an operation to generate a parameter using a value.
888
+ *
889
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
890
+ * via the `definition` "parameterOpValue".
891
+ */
892
+ export interface ParameterOpValueV3_64_0 {
893
+ /**
894
+ * A path to the parameter for this operation.
895
+ */
896
+ path: string;
897
+ /**
898
+ * A mode for this parameter's operation.
899
+ */
900
+ op?: 'set' | 'concat' | 'extend' | 'remove';
901
+ /**
902
+ * A value to set directly at this path.
903
+ */
904
+ value: number | string | boolean | {
905
+ [k: string]: any;
906
+ } | any[] | null;
907
+ }
908
+ /**
909
+ * An object describing an operation to generate a parameter using a mapping.
910
+ *
911
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
912
+ * via the `definition` "parameterOpMapping".
913
+ */
914
+ export interface ParameterOpMappingV3_64_0 {
915
+ /**
916
+ * A path to the parameter for this operation.
917
+ */
918
+ path: string;
919
+ /**
920
+ * A mode for this parameter's operation.
921
+ */
922
+ op?: 'set' | 'concat' | 'extend' | 'remove';
923
+ /**
924
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
925
+ */
926
+ mapping: string | DirectiveConfigV3_64_0;
927
+ }
928
+ export interface DirectiveOptionsV3_64_0 {
929
+ [k: string]: any;
930
+ }
931
+ /**
932
+ * An object describing an operation to generate a parameter using a mapping.
933
+ *
934
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
935
+ * via the `definition` "parameterOpOp".
936
+ */
937
+ export interface ParameterOpOpV3_64_0 {
938
+ /**
939
+ * A path to the parameter for this operation.
940
+ */
941
+ path: string;
942
+ /**
943
+ * A mode for this parameter's operation.
944
+ */
945
+ op: 'set' | 'concat' | 'extend' | 'remove';
946
+ }
947
+ /**
948
+ * An map of object keys / key paths to directive configs
949
+ *
950
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
951
+ * via the `definition` "directiveMappingMap".
952
+ */
953
+ export interface DirectiveMappingMapV3_64_0 {
954
+ [k: string]: DirectiveConfigV3_64_0;
955
+ }
956
+ /**
957
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
958
+ * via the `definition` "delegateResolver".
959
+ */
960
+ export interface DelegateResolverV3_64_0 {
961
+ if?: string;
962
+ id?: string;
963
+ name: DelegateResolverNameV3_64_0;
964
+ options?: DelegateResolverOptionsV3_64_0;
965
+ argsMapping?: ArgsMappingV3_64_0;
966
+ resultsMapping?: ResultsMappingV3_64_0;
967
+ /**
968
+ * A ref to a query/mutation/property to delegate to.
969
+ */
970
+ to: string;
971
+ args?: ParameterConfigForJsonV3_64_0;
972
+ results?: ParameterConfigForJsonV3_64_0;
973
+ }
974
+ export interface DelegateResolverOptionsV3_64_0 {
975
+ [k: string]: any;
976
+ }
977
+ /**
978
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
979
+ * via the `definition` "takeshapeResolver".
980
+ */
981
+ export interface TakeshapeResolverV3_64_0 {
982
+ if?: string;
983
+ id?: string;
984
+ name: TakeshapeResolverNameV3_64_0;
985
+ /**
986
+ * Internal service identifier.
987
+ */
988
+ service: 'takeshape';
989
+ options?: TakeshapeResolverOptionsV3_64_0;
990
+ /**
991
+ * An optional Shape name for the resolver.
992
+ */
993
+ shapeName?: string;
994
+ args?: ParameterConfigForJsonV3_64_0;
995
+ results?: ParameterConfigForJsonV3_64_0;
996
+ argsMapping?: ArgsMappingV3_64_0;
997
+ resultsMapping?: ResultsMappingV3_64_0;
998
+ }
999
+ export interface TakeshapeResolverOptionsV3_64_0 {
1000
+ [k: string]: any;
1001
+ }
1002
+ /**
1003
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1004
+ * via the `definition` "shapedbResolver".
1005
+ */
1006
+ export interface ShapedbResolverV3_64_0 {
1007
+ if?: string;
1008
+ id?: string;
1009
+ name: ShapedbResolverNameV3_64_0;
1010
+ /**
1011
+ * Internal service identifier.
1012
+ */
1013
+ service: 'shapedb';
1014
+ options?: ShapedbResolverOptionsV3_64_0;
1015
+ argsMapping?: ArgsMappingV3_64_0;
1016
+ resultsMapping?: ResultsMappingV3_64_0;
1017
+ /**
1018
+ * A Shape name for the resolver to use.
1019
+ */
1020
+ shapeName: string;
1021
+ args?: ParameterConfigForJsonV3_64_0;
1022
+ results?: ParameterConfigForJsonV3_64_0;
1023
+ }
1024
+ export interface ShapedbResolverOptionsV3_64_0 {
1025
+ [k: string]: any;
1026
+ }
1027
+ /**
1028
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1029
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
1030
+ */
1031
+ export interface ShapedbResolverShapeNameNotRequiredV3_64_0 {
1032
+ if?: string;
1033
+ id?: string;
1034
+ name: ShapedbResolverShapeNameNotRequiredNameV3_64_0;
1035
+ /**
1036
+ * Internal service identifier.
1037
+ */
1038
+ service: 'shapedb';
1039
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_64_0;
1040
+ /**
1041
+ * An optional Shape name for the resolver.
1042
+ */
1043
+ shapeName?: string;
1044
+ args?: ParameterConfigForJsonV3_64_0;
1045
+ results?: ParameterConfigForJsonV3_64_0;
1046
+ argsMapping?: ArgsMappingV3_64_0;
1047
+ resultsMapping?: ResultsMappingV3_64_0;
1048
+ }
1049
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_64_0 {
1050
+ [k: string]: any;
1051
+ }
1052
+ /**
1053
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1054
+ * via the `definition` "graphqlResolver".
1055
+ */
1056
+ export interface GraphqlResolverV3_64_0 {
1057
+ if?: string;
1058
+ id?: string;
1059
+ name: GraphqlResolverNameV3_64_0;
1060
+ /**
1061
+ * Configuration for a service to use with this resolver.
1062
+ */
1063
+ service: string;
1064
+ argsMapping?: ArgsMappingV3_64_0;
1065
+ resultsMapping?: ResultsMappingV3_64_0;
1066
+ options?: GraphqlResolverOptionsV3_64_0;
1067
+ /**
1068
+ * A fieldname to use in queries.
1069
+ */
1070
+ fieldName: string;
1071
+ headers?: ParameterConfigForHeadersV3_64_0;
1072
+ searchParams?: ParameterConfigForSearchParamsV3_64_0;
1073
+ args?: ParameterConfigForJsonV3_64_0;
1074
+ results?: ParameterConfigForJsonV3_64_0;
1075
+ }
1076
+ export interface GraphqlResolverOptionsV3_64_0 {
1077
+ selectionSet?: string;
1078
+ unboxParentSelectionSet?: boolean;
1079
+ ignoreErrors?: boolean;
1080
+ skipWhenMissingArgs?: boolean;
1081
+ ttl?: number;
1082
+ timeout?: number;
1083
+ allowStream?: boolean;
1084
+ retry?: number | {
1085
+ [k: string]: any;
1086
+ };
1087
+ [k: string]: any;
1088
+ }
1089
+ /**
1090
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1091
+ * via the `definition` "parameterConfigForHeaders".
1092
+ */
1093
+ export interface ParameterConfigForHeadersV3_64_0 {
1094
+ ops: ParameterOpListV3_64_0;
1095
+ serialize?: ParameterSerializeConfigForHeadersV3_64_0;
1096
+ }
1097
+ /**
1098
+ * Top-level paths to use headers serialization options for.
1099
+ *
1100
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1101
+ * via the `definition` "parameterSerializeConfigForHeaders".
1102
+ */
1103
+ export interface ParameterSerializeConfigForHeadersV3_64_0 {
1104
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1105
+ paths?: {
1106
+ /**
1107
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1108
+ * via the `patternProperty` "^[^\n\r]*$".
1109
+ */
1110
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1111
+ };
1112
+ }
1113
+ /**
1114
+ * Options to be passed to the serialization routine.
1115
+ *
1116
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1117
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
1118
+ */
1119
+ export interface ParameterSerializeStyleOptionsForHeadersV3_64_0 {
1120
+ style: 'simple' | 'none';
1121
+ explode?: boolean;
1122
+ }
1123
+ /**
1124
+ * Options to be passed to the serialization routine.
1125
+ *
1126
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1127
+ * via the `definition` "parameterSerializeContentOptions".
1128
+ */
1129
+ export interface ParameterSerializeContentOptionsV3_64_0 {
1130
+ contentType: string;
1131
+ /**
1132
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1133
+ */
1134
+ allowReserved?: boolean;
1135
+ skipEncoding?: boolean;
1136
+ /**
1137
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1138
+ */
1139
+ options?: {
1140
+ [k: string]: any;
1141
+ };
1142
+ }
1143
+ /**
1144
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1145
+ * via the `definition` "parameterConfigForSearchParams".
1146
+ */
1147
+ export interface ParameterConfigForSearchParamsV3_64_0 {
1148
+ ops: ParameterOpListV3_64_0;
1149
+ serialize?: ParameterSerializeConfigForSearchParamsV3_64_0;
1150
+ }
1151
+ /**
1152
+ * Top-level paths to use search params serialization options for.
1153
+ *
1154
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1155
+ * via the `definition` "parameterSerializeConfigForSearchParams".
1156
+ */
1157
+ export interface ParameterSerializeConfigForSearchParamsV3_64_0 {
1158
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1159
+ paths?: {
1160
+ /**
1161
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1162
+ * via the `patternProperty` "^[^\n\r]*$".
1163
+ */
1164
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1165
+ };
1166
+ }
1167
+ /**
1168
+ * Options to be passed to the serialization routine.
1169
+ *
1170
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1171
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1172
+ */
1173
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_64_0 {
1174
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1175
+ explode?: boolean;
1176
+ allowEmptyValue?: boolean;
1177
+ /**
1178
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1179
+ */
1180
+ allowReserved?: boolean;
1181
+ skipEncoding?: boolean;
1182
+ }
1183
+ /**
1184
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1185
+ * via the `definition` "restResolver".
1186
+ */
1187
+ export interface RestResolverV3_64_0 {
1188
+ if?: string;
1189
+ id?: string;
1190
+ name: RestResolverNameV3_64_0;
1191
+ /**
1192
+ * Configuration for a service to use with this resolver.
1193
+ */
1194
+ service: string;
1195
+ argsMapping?: ArgsMappingV3_64_0;
1196
+ searchParamsMapping?: SearchParamsMappingV3_64_0;
1197
+ resultsMapping?: ResultsMappingV3_64_0;
1198
+ options?: RestResolverOptionsV3_64_0;
1199
+ body?: ParameterConfigForBodyV3_64_0;
1200
+ form?: ParameterConfigForSearchParamsV3_64_0;
1201
+ headers?: ParameterConfigForHeadersV3_64_0;
1202
+ json?: ParameterConfigForJsonV3_64_0;
1203
+ /**
1204
+ * Mapping and serialization configuration for the path, or a simple string.
1205
+ */
1206
+ path: ParameterConfigForPathParamsV3_64_0 | string;
1207
+ searchParams?: ParameterConfigForSearchParamsV3_64_0;
1208
+ args?: ParameterConfigForJsonV3_64_0;
1209
+ results?: ParameterConfigForJsonV3_64_0;
1210
+ }
1211
+ export interface RestResolverOptionsV3_64_0 {
1212
+ trailingSlash?: boolean;
1213
+ allowStream?: boolean;
1214
+ ttl?: number;
1215
+ timeout?: number;
1216
+ retry?: number | {
1217
+ [k: string]: any;
1218
+ };
1219
+ [k: string]: any;
1220
+ }
1221
+ /**
1222
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1223
+ * via the `definition` "parameterConfigForBody".
1224
+ */
1225
+ export interface ParameterConfigForBodyV3_64_0 {
1226
+ ops: ParameterOpListV3_64_0;
1227
+ serialize?: ParameterSerializeConfigForBodyV3_64_0;
1228
+ }
1229
+ /**
1230
+ * Top-level paths to use serialization options for.
1231
+ *
1232
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1233
+ * via the `definition` "parameterSerializeConfigForBody".
1234
+ */
1235
+ export interface ParameterSerializeConfigForBodyV3_64_0 {
1236
+ content?: ParameterSerializeContentOptionsV3_64_0;
1237
+ }
1238
+ /**
1239
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1240
+ * via the `definition` "parameterConfigForPathParams".
1241
+ */
1242
+ export interface ParameterConfigForPathParamsV3_64_0 {
1243
+ ops: ParameterOpListV3_64_0;
1244
+ serialize: ParameterSerializeConfigForPathParamsV3_64_0;
1245
+ }
1246
+ /**
1247
+ * Top-level paths to use path params serialization options for.
1248
+ *
1249
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1250
+ * via the `definition` "parameterSerializeConfigForPathParams".
1251
+ */
1252
+ export interface ParameterSerializeConfigForPathParamsV3_64_0 {
1253
+ /**
1254
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1255
+ */
1256
+ template: string;
1257
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1258
+ paths?: {
1259
+ /**
1260
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1261
+ * via the `patternProperty` "^[^\n\r]*$".
1262
+ */
1263
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_64_0 | ParameterSerializeContentOptionsV3_64_0;
1264
+ };
1265
+ }
1266
+ /**
1267
+ * Options to be passed to the serialization routine.
1268
+ *
1269
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1270
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1271
+ */
1272
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_64_0 {
1273
+ style: 'simple' | 'label' | 'matrix' | 'none';
1274
+ explode?: boolean;
1275
+ allowEmptyValue?: boolean;
1276
+ /**
1277
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1278
+ */
1279
+ allowReserved?: boolean;
1280
+ skipEncoding?: boolean;
1281
+ }
1282
+ /**
1283
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1284
+ * via the `definition` "awsLambdaResolver".
1285
+ */
1286
+ export interface AwsLambdaResolverV3_64_0 {
1287
+ if?: string;
1288
+ id?: string;
1289
+ name: AwsLambdaResolverNameV3_64_0;
1290
+ /**
1291
+ * Configuration for a service to use with this resolver.
1292
+ */
1293
+ service: string;
1294
+ options?: AwsLambdaResolverOptionsV3_64_0;
1295
+ payload?: ParameterConfigForJsonV3_64_0;
1296
+ /**
1297
+ * Mapping configuration for the FunctionName.
1298
+ */
1299
+ functionName: string | ParameterConfigForAwsLambdaV3_64_0;
1300
+ clientContext?: ParameterConfigForJsonV3_64_0;
1301
+ args?: ParameterConfigForJsonV3_64_0;
1302
+ results?: ParameterConfigForJsonV3_64_0;
1303
+ argsMapping?: ArgsMappingV3_64_0;
1304
+ searchParamsMapping?: SearchParamsMappingV3_64_0;
1305
+ resultsMapping?: ResultsMappingV3_64_0;
1306
+ }
1307
+ export interface AwsLambdaResolverOptionsV3_64_0 {
1308
+ [k: string]: any;
1309
+ }
1310
+ /**
1311
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1312
+ * via the `definition` "parameterConfigForAwsLambda".
1313
+ */
1314
+ export interface ParameterConfigForAwsLambdaV3_64_0 {
1315
+ ops: ParameterOpListV3_64_0;
1316
+ serialize: ParameterSerializeConfigForPathParamsV3_64_0;
1317
+ }
1318
+ /**
1319
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1320
+ * via the `definition` "salsifyResolver".
1321
+ */
1322
+ export interface SalsifyResolverV3_64_0 {
1323
+ if?: string;
1324
+ id?: string;
1325
+ name: SalsifyResolverNameV3_64_0;
1326
+ /**
1327
+ * Configuration for a service to use with this resolver.
1328
+ */
1329
+ service: string;
1330
+ options?: SalsifyResolverOptionsV3_64_0;
1331
+ args?: ParameterConfigForJsonV3_64_0;
1332
+ results?: ParameterConfigForJsonV3_64_0;
1333
+ argsMapping?: ArgsMappingV3_64_0;
1334
+ resultsMapping?: ResultsMappingV3_64_0;
1335
+ }
1336
+ export interface SalsifyResolverOptionsV3_64_0 {
1337
+ [k: string]: any;
1338
+ }
1339
+ /**
1340
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1341
+ * via the `definition` "syndigoResolver".
1342
+ */
1343
+ export interface SyndigoResolverV3_64_0 {
1344
+ if?: string;
1345
+ id?: string;
1346
+ name: SyndigoResolverNameV3_64_0;
1347
+ /**
1348
+ * Configuration for a service to use with this resolver.
1349
+ */
1350
+ service: string;
1351
+ options?: SyndigoResolverOptionsV3_64_0;
1352
+ args?: ParameterConfigForJsonV3_64_0;
1353
+ results?: ParameterConfigForJsonV3_64_0;
1354
+ argsMapping?: ArgsMappingV3_64_0;
1355
+ resultsMapping?: ResultsMappingV3_64_0;
1356
+ }
1357
+ export interface SyndigoResolverOptionsV3_64_0 {
1358
+ [k: string]: any;
1359
+ }
1360
+ /**
1361
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1362
+ * via the `definition` "functionResolver".
1363
+ */
1364
+ export interface FunctionResolverV3_64_0 {
1365
+ if?: string;
1366
+ id?: string;
1367
+ name: FunctionResolverNameV3_64_0;
1368
+ options?: FunctionResolverOptionsV3_64_0;
1369
+ args?: ParameterConfigForJsonV3_64_0;
1370
+ results?: ParameterConfigForJsonV3_64_0;
1371
+ argsMapping?: ArgsMappingV3_64_0;
1372
+ resultsMapping?: ResultsMappingV3_64_0;
1373
+ javascript?: FunctionResolverJavascriptV3_64_0;
1374
+ }
1375
+ export interface FunctionResolverOptionsV3_64_0 {
1376
+ [k: string]: any;
1377
+ }
1378
+ /**
1379
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1380
+ * via the `definition` "aiGenerateTextResolver".
1381
+ */
1382
+ export interface AIGenerateTextResolverV3_64_0 {
1383
+ if?: string;
1384
+ id?: string;
1385
+ name: AIResolverNameV3_64_0;
1386
+ /**
1387
+ * Configuration for a service to use with this resolver.
1388
+ */
1389
+ service: string;
1390
+ options?: AIGenerateTextResolverOptionsV3_64_0;
1391
+ systemPrompt: string;
1392
+ inputTemplate?: string;
1393
+ model: string;
1394
+ tools?: AgentToolConfigV3_64_0[];
1395
+ guardrails?: AIGuardrailV3_64_0[];
1396
+ context?: ParameterConfigForJsonV3_64_0;
1397
+ results?: ParameterConfigForJsonV3_64_0;
1398
+ }
1399
+ /**
1400
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1401
+ * via the `definition` "aiGenerateTextResolverOptions".
1402
+ */
1403
+ export interface AIGenerateTextResolverOptionsV3_64_0 {
1404
+ history?: HistoryV3_64_0;
1405
+ maxTokens?: MaximumTokensV3_64_0;
1406
+ temperature?: TemperatureV3_64_0;
1407
+ topP?: TopPV3_64_0;
1408
+ topK?: TopKV3_64_0;
1409
+ presencePenalty?: PresencePenaltySettingV3_64_0;
1410
+ frequencyPenalty?: FrequencyPenaltySettingV3_64_0;
1411
+ stopSequences?: StopSequencesV3_64_0;
1412
+ seed?: SeedV3_64_0;
1413
+ /**
1414
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1415
+ */
1416
+ maxRetries?: number;
1417
+ /**
1418
+ * The tool choice strategy. Default: 'auto'
1419
+ */
1420
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1421
+ /**
1422
+ * Maximal number of automatic roundtrips for tool calls.
1423
+ */
1424
+ maxToolRoundtrips?: number;
1425
+ promptCaching?: PromptCachingV3_64_0;
1426
+ [k: string]: any;
1427
+ }
1428
+ /**
1429
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1430
+ * via the `definition` "agentToolConfig".
1431
+ */
1432
+ export interface AgentToolConfigV3_64_0 {
1433
+ tool: string;
1434
+ alias?: string;
1435
+ description?: string;
1436
+ argBindings?: AgentToolConfigArgV3_64_0[];
1437
+ }
1438
+ /**
1439
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1440
+ * via the `definition` "agentToolConfigArgAgent".
1441
+ */
1442
+ export interface AgentControlledV3_64_0 {
1443
+ type: 'agent';
1444
+ argName: ToolArgumentNameV3_64_0;
1445
+ }
1446
+ /**
1447
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1448
+ * via the `definition` "agentToolConfigArgVariable".
1449
+ */
1450
+ export interface VariableValueV3_64_0 {
1451
+ type: 'variable';
1452
+ argName: ToolArgumentNameV3_64_01;
1453
+ variableName: StateVariableNameV3_64_0;
1454
+ }
1455
+ /**
1456
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1457
+ * via the `definition` "aiSimilarityGuardrail".
1458
+ */
1459
+ export interface AISimilarityGuardrailV3_64_0 {
1460
+ name: 'similarity';
1461
+ shape: string;
1462
+ defaultResponse: string;
1463
+ threshold?: number;
1464
+ }
1465
+ /**
1466
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1467
+ * via the `definition` "aiGeneratePropertyResolver".
1468
+ */
1469
+ export interface AIGeneratePropertyResolverV3_64_0 {
1470
+ id?: string;
1471
+ name: AIResolverNameV3_64_01;
1472
+ /**
1473
+ * Configuration for a service to use with this resolver.
1474
+ */
1475
+ service: string;
1476
+ model: string;
1477
+ systemPrompt?: string;
1478
+ }
1479
+ /**
1480
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1481
+ * via the `definition` "aiEmbeddingResolver".
1482
+ */
1483
+ export interface AIEmbeddingResolverV3_64_0 {
1484
+ if?: string;
1485
+ id?: string;
1486
+ name: AIResolverNameV3_64_02;
1487
+ /**
1488
+ * Configuration for a service to use with this resolver.
1489
+ */
1490
+ service: string;
1491
+ options?: AIEmbeddingResolverOptionsV3_64_0;
1492
+ model: string;
1493
+ args?: ParameterConfigForJsonV3_64_0;
1494
+ results?: ParameterConfigForJsonV3_64_0;
1495
+ }
1496
+ /**
1497
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1498
+ * via the `definition` "aiEmbeddingResolverOptions".
1499
+ */
1500
+ export interface AIEmbeddingResolverOptionsV3_64_0 {
1501
+ useDependencies?: boolean;
1502
+ [k: string]: any;
1503
+ }
1504
+ /**
1505
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1506
+ * via the `definition` "aiEmbeddingSearchResolver".
1507
+ */
1508
+ export interface AIEmbeddingSearchResolverV3_64_0 {
1509
+ if?: string;
1510
+ id?: string;
1511
+ name: AIResolverNameV3_64_03;
1512
+ /**
1513
+ * A vector property ref to use for the query.
1514
+ */
1515
+ vectorProperty: string;
1516
+ args?: ParameterConfigForJsonV3_64_0;
1517
+ results?: ParameterConfigForJsonV3_64_0;
1518
+ }
1519
+ /**
1520
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1521
+ * via the `definition` "aiParseFileResolver".
1522
+ */
1523
+ export interface AIParseFileResolverV3_64_0 {
1524
+ if?: string;
1525
+ id?: string;
1526
+ name: AIResolverNameV3_64_04;
1527
+ /**
1528
+ * Configuration for a service to use with this resolver.
1529
+ */
1530
+ service: string;
1531
+ options?: AIEmbeddingResolverOptionsV3_64_0;
1532
+ args?: ParameterConfigForJsonV3_64_0;
1533
+ results?: ParameterConfigForJsonV3_64_0;
1534
+ }
1535
+ /**
1536
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1537
+ * via the `definition` "utilChunkResolver".
1538
+ */
1539
+ export interface ChunkResolverV3_64_0 {
1540
+ if?: string;
1541
+ id?: string;
1542
+ name: UtilResolverNameV3_64_01;
1543
+ options: UtilChunkResolverOptionsV3_64_0;
1544
+ args?: ParameterConfigForJsonV3_64_0;
1545
+ results?: ParameterConfigForJsonV3_64_0;
1546
+ }
1547
+ /**
1548
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1549
+ * via the `definition` "utilChunkResolverOptionsCharacterCount".
1550
+ */
1551
+ export interface UtilChunkResolverOptionsCharacterCountV3_64_0 {
1552
+ type: 'characterCount';
1553
+ characterCount: number;
1554
+ }
1555
+ /**
1556
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1557
+ * via the `definition` "utilChunkResolverOptionsSeparators".
1558
+ */
1559
+ export interface UtilChunkResolverOptionsSeparatorsV3_64_0 {
1560
+ type: 'separators';
1561
+ separators: string[];
1562
+ }
1563
+ /**
1564
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1565
+ * via the `definition` "utilChunkResolverOptionsMarkdown".
1566
+ */
1567
+ export interface UtilChunkResolverOptionsMarkdownV3_64_0 {
1568
+ type: 'markdown';
1569
+ /**
1570
+ * New chunks will be created at headers for this level or lower. Default 2.
1571
+ */
1572
+ headerLevel?: number;
1573
+ /**
1574
+ * A new chunk will be started when this number of characters is reached, regardless of markup.
1575
+ */
1576
+ maxCharacters?: number;
1577
+ }
1578
+ /**
1579
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1580
+ * via the `definition` "utilChunkResolverOptionsSemantic".
1581
+ */
1582
+ export interface UtilChunkResolverOptionsSemanticV3_64_0 {
1583
+ type: 'semantic';
1584
+ serviceId: string;
1585
+ modelId: string;
1586
+ /**
1587
+ * Similarity below which two embeddings are considered different.
1588
+ */
1589
+ similarityThreshold?: number;
1590
+ /**
1591
+ * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1592
+ */
1593
+ stride?: number;
1594
+ /**
1595
+ * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1596
+ */
1597
+ sentenceCount?: number;
1598
+ /**
1599
+ * The maximum number of characters in a chunk.
1600
+ */
1601
+ maxCharacters?: number;
1602
+ /**
1603
+ * The maximum number of tokens in a chunk.
1604
+ */
1605
+ maxTokens?: number;
1606
+ }
1607
+ /**
1608
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1609
+ * via the `definition` "aiRunAgentResolver".
1610
+ */
1611
+ export interface AISendAgentMessageResolverV3_64_0 {
1612
+ id?: string;
1613
+ name: AIResolverNameV3_64_05;
1614
+ agentName: string;
1615
+ inputName: string;
1616
+ }
1617
+ /**
1618
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1619
+ * via the `definition` "aiInspectAgentResolver".
1620
+ */
1621
+ export interface AIInspectAgentResolverV3_64_0 {
1622
+ id?: string;
1623
+ name: AIResolverNameV3_64_06;
1624
+ agentName: string;
1625
+ }
1626
+ /**
1627
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1628
+ * via the `definition` "aiCreateAgentSessionResolver".
1629
+ */
1630
+ export interface AICreateAgentSessionResolverV3_64_0 {
1631
+ id?: string;
1632
+ name: AIResolverNameV3_64_07;
1633
+ agentName: string;
1634
+ }
1635
+ /**
1636
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1637
+ * via the `definition` "aiGetAgentMessageResolver".
1638
+ */
1639
+ export interface AIGetAgentMessageResolverV3_64_0 {
1640
+ id?: string;
1641
+ name: AIResolverNameV3_64_08;
1642
+ agentName: string;
1643
+ }
1644
+ /**
1645
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1646
+ * via the `definition` "aiAbortAgentMessageResolver".
1647
+ */
1648
+ export interface AIAbortAgentMessageResolverV3_64_0 {
1649
+ id?: string;
1650
+ name: AIResolverNameV3_64_09;
1651
+ agentName: string;
1652
+ }
1653
+ /**
1654
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1655
+ * via the `definition` "aiSendAgentFeedbackResolver".
1656
+ */
1657
+ export interface AISendAgentFeedbackResolverV3_64_0 {
1658
+ id?: string;
1659
+ name: AIResolverNameV3_64_010;
1660
+ agentName: string;
1661
+ }
1662
+ /**
1663
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1664
+ * via the `definition` "composeResolver".
1665
+ */
1666
+ export interface ComposeResolverV3_64_0 {
1667
+ compose: BasicResolverV3_64_0[];
1668
+ resultsMapping?: DirectiveMappingMapV3_64_0 | DirectiveConfigV3_64_0;
1669
+ results?: ParameterConfigForJsonV3_64_0;
1670
+ }
1671
+ /**
1672
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1673
+ * via the `definition` "indexed".
1674
+ */
1675
+ export interface IndexedV3_64_0 {
1676
+ nested?: boolean;
1677
+ }
1678
+ /**
1679
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1680
+ * via the `definition` "graphql".
1681
+ */
1682
+ export interface GraphQLConfigV3_64_0 {
1683
+ json?: boolean;
1684
+ }
1685
+ /**
1686
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1687
+ * via the `definition` "shapeMap".
1688
+ */
1689
+ export interface ShapeMapV3_64_0 {
1690
+ [k: string]: ShapeJSONV3_64_0;
1691
+ }
1692
+ /**
1693
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1694
+ *
1695
+ * This interface was referenced by `ShapeMapV3_64_0`'s JSON-Schema definition
1696
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1697
+ *
1698
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1699
+ * via the `definition` "shape".
1700
+ */
1701
+ export interface ShapeJSONV3_64_0 {
1702
+ /**
1703
+ * The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations
1704
+ */
1705
+ name: string;
1706
+ /**
1707
+ * The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable "table name" and changing it will result in orphaning that data.
1708
+ */
1709
+ id: string;
1710
+ /**
1711
+ * The human-readable name for a Shape for use in a UI.
1712
+ */
1713
+ title: string;
1714
+ description?: string;
1715
+ type?: 'interface' | 'input' | 'output';
1716
+ interfaces?: string[];
1717
+ /**
1718
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1719
+ */
1720
+ model?: {
1721
+ type: ModelTypeV3_64_0;
1722
+ };
1723
+ workflow?: string;
1724
+ loaders?: ShapeLoadersV3_64_0;
1725
+ joins?: ShapeJoinsV3_64_0;
1726
+ cache?: ShapeCacheConfigV3_64_0;
1727
+ schema: ShapeSchemaV3_64_0;
1728
+ }
1729
+ /**
1730
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1731
+ * via the `definition` "shapeLoaders".
1732
+ */
1733
+ export interface ShapeLoadersV3_64_0 {
1734
+ list: StoredListQueryLoaderConfigV3_64_0 | StoredListQueryLoaderConfigV3_64_0[];
1735
+ get?: GetQueryLoaderConfigV3_64_0;
1736
+ }
1737
+ /**
1738
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1739
+ * via the `definition` "storedListQueryLoaderConfig".
1740
+ */
1741
+ export interface StoredListQueryLoaderConfigV3_64_0 {
1742
+ query: string;
1743
+ args?: {
1744
+ [k: string]: any;
1745
+ } | {
1746
+ [k: string]: any;
1747
+ }[];
1748
+ pagination?: PaginationConfigV3_64_0;
1749
+ }
1750
+ /**
1751
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1752
+ * via the `definition` "paginationCursorConfig".
1753
+ */
1754
+ export interface PaginationCursorConfigV3_64_0 {
1755
+ type: 'cursor';
1756
+ cursorArg: string;
1757
+ cursorPath: string;
1758
+ pageSize?: number;
1759
+ pageSizeArg: string;
1760
+ hasMorePath: string;
1761
+ itemsPath: string;
1762
+ }
1763
+ /**
1764
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1765
+ * via the `definition` "paginationPageConfig".
1766
+ */
1767
+ export interface PaginationPageConfigV3_64_0 {
1768
+ type: 'page';
1769
+ pageArg: string;
1770
+ pageSize?: number;
1771
+ pageSizeArg?: string;
1772
+ itemsPath: string;
1773
+ pageTotalPath: string;
1774
+ }
1775
+ /**
1776
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1777
+ * via the `definition` "paginationOffsetConfig".
1778
+ */
1779
+ export interface PaginationOffsetConfigV3_64_0 {
1780
+ type: 'offset';
1781
+ offsetArg: string;
1782
+ pageSize?: number;
1783
+ pageSizeArg?: string;
1784
+ itemsPath: string;
1785
+ itemTotalPath: string;
1786
+ }
1787
+ /**
1788
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1789
+ * via the `definition` "getQueryLoaderConfig".
1790
+ */
1791
+ export interface GetQueryLoaderConfigV3_64_0 {
1792
+ query: string;
1793
+ args?: {
1794
+ [k: string]: any;
1795
+ };
1796
+ idArg?: string;
1797
+ }
1798
+ /**
1799
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1800
+ * via the `definition` "shapeJoins".
1801
+ */
1802
+ export interface ShapeJoinsV3_64_0 {
1803
+ [k: string]: ShapeJoinV3_64_0;
1804
+ }
1805
+ /**
1806
+ * This interface was referenced by `ShapeJoinsV3_64_0`'s JSON-Schema definition
1807
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1808
+ *
1809
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1810
+ * via the `definition` "shapeJoin".
1811
+ */
1812
+ export interface ShapeJoinV3_64_0 {
1813
+ resolver: DelegateResolverV3_64_0 | ShapedbResolverV3_64_0;
1814
+ dependencies?: string;
1815
+ }
1816
+ /**
1817
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1818
+ * via the `definition` "shapeCacheConfig".
1819
+ */
1820
+ export interface ShapeCacheConfigV3_64_0 {
1821
+ enabled: boolean;
1822
+ idField?: string;
1823
+ searchSummaryField?: string;
1824
+ fragment?: CachedFragmentConfigV3_64_0;
1825
+ triggers?: CacheTriggerConfigV3_64_0[];
1826
+ /**
1827
+ * Number of seconds this Shape should be cached. Default 0.
1828
+ */
1829
+ maxAge?: number;
1830
+ /**
1831
+ * Requests after maxAge will send a request to origin to revalidate while serving stale content for this duration in the meantime.
1832
+ */
1833
+ staleWhileRevalidate?: number;
1834
+ }
1835
+ /**
1836
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1837
+ * via the `definition` "cachedFragmentConfig".
1838
+ */
1839
+ export interface CachedFragmentConfigV3_64_0 {
1840
+ ignoreFields?: string[];
1841
+ maxDepth?: number;
1842
+ selectionSet?: string;
1843
+ includeDeprecated?: boolean;
1844
+ }
1845
+ /**
1846
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1847
+ * via the `definition` "cacheScheduleTriggerConfig".
1848
+ */
1849
+ export interface CacheScheduleTriggerConfigV3_64_0 {
1850
+ type: 'schedule';
1851
+ loader: 'get' | 'list';
1852
+ interval: number;
1853
+ }
1854
+ /**
1855
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1856
+ * via the `definition` "cacheWebhookTriggerConfig".
1857
+ */
1858
+ export interface CacheWebhookTriggerConfigV3_64_0 {
1859
+ type: 'webhook';
1860
+ loader: 'get' | 'list';
1861
+ service: string;
1862
+ events: string[];
1863
+ }
1864
+ /**
1865
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1866
+ * via the `definition` "shapeSchemaAllOf".
1867
+ */
1868
+ export interface ShapeSchemaAllOfV3_64_0 {
1869
+ allOf: ObjectOrRefArrayV3_64_0;
1870
+ }
1871
+ /**
1872
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1873
+ * via the `definition` "shapeSchemaExtends".
1874
+ */
1875
+ export interface ShapeSchemaExtendsV3_64_0 {
1876
+ extends: ObjectOrRefArrayV3_64_0;
1877
+ }
1878
+ /**
1879
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1880
+ * via the `definition` "shapeSchemaOneOf".
1881
+ */
1882
+ export interface ShapeSchemaOneOfV3_64_0 {
1883
+ title?: string;
1884
+ description?: string;
1885
+ discriminator?: {
1886
+ propertyName: string;
1887
+ [k: string]: any;
1888
+ };
1889
+ oneOf: ObjectOrRefArrayV3_64_0;
1890
+ }
1891
+ /**
1892
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1893
+ * via the `definition` "shapeSchemaEnum".
1894
+ */
1895
+ export interface ShapeSchemaEnumV3_64_0 {
1896
+ enum: any[];
1897
+ }
1898
+ /**
1899
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1900
+ * via the `definition` "shapeSchemaAny".
1901
+ */
1902
+ export interface ShapeSchemaAnyV3_64_0 {
1903
+ }
1904
+ /**
1905
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1906
+ * via the `definition` "formMap".
1907
+ */
1908
+ export interface FormMapV3_64_0 {
1909
+ [k: string]: FormsConfigV3_64_0;
1910
+ }
1911
+ /**
1912
+ * This interface was referenced by `FormMapV3_64_0`'s JSON-Schema definition
1913
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1914
+ *
1915
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1916
+ * via the `definition` "formsConfig".
1917
+ */
1918
+ export interface FormsConfigV3_64_0 {
1919
+ default: FormConfigV3_64_0;
1920
+ [k: string]: FormConfigV3_64_0;
1921
+ }
1922
+ /**
1923
+ * This interface was referenced by `FormsConfigV3_64_0`'s JSON-Schema definition
1924
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1925
+ *
1926
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1927
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1928
+ *
1929
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1930
+ * via the `definition` "formConfig".
1931
+ */
1932
+ export interface FormConfigV3_64_0 {
1933
+ [k: string]: any;
1934
+ }
1935
+ /**
1936
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1937
+ * via the `definition` "workflowMap".
1938
+ */
1939
+ export interface WorkflowMapV3_64_0 {
1940
+ [k: string]: WorkflowV3_64_0;
1941
+ }
1942
+ /**
1943
+ * This interface was referenced by `WorkflowMapV3_64_0`'s JSON-Schema definition
1944
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1945
+ *
1946
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1947
+ * via the `definition` "workflow".
1948
+ */
1949
+ export interface WorkflowV3_64_0 {
1950
+ /**
1951
+ * machine-readable id
1952
+ */
1953
+ name: string;
1954
+ title: WorkflowNameV3_64_0;
1955
+ steps: StepsV3_64_0;
1956
+ [k: string]: any;
1957
+ }
1958
+ /**
1959
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1960
+ * via the `definition` "workflowStep".
1961
+ */
1962
+ export interface WorkflowStepV3_64_0 {
1963
+ name: NameV3_64_0;
1964
+ title: TitleV3_64_0;
1965
+ description?: DescriptionV3_64_0;
1966
+ color: ColorV3_64_0;
1967
+ live: LiveV3_64_0;
1968
+ key: KeyV3_64_0;
1969
+ }
1970
+ /**
1971
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1972
+ * via the `definition` "storedServiceMap".
1973
+ */
1974
+ export interface ServiceMapJSONV3_64_0 {
1975
+ [k: string]: ServiceConfigJSONV3_64_0;
1976
+ }
1977
+ /**
1978
+ * This interface was referenced by `ServiceMapJSONV3_64_0`'s JSON-Schema definition
1979
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1980
+ *
1981
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
1982
+ * via the `definition` "storedServiceConfig".
1983
+ */
1984
+ export interface ServiceConfigJSONV3_64_0 {
1985
+ /**
1986
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1987
+ */
1988
+ id: string;
1989
+ /**
1990
+ * Human-readable name for this service.
1991
+ */
1992
+ title: string;
1993
+ /**
1994
+ * The service provider id.
1995
+ */
1996
+ provider: string;
1997
+ /**
1998
+ * A namespace to use for the imported types tied to this service.
1999
+ */
2000
+ namespace?: string;
2001
+ serviceType: ServiceTypeV3_64_0;
2002
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2003
+ authentication?: string;
2004
+ healthCheck?: ServiceHealthCheckV3_64_0;
2005
+ webhookId?: string;
2006
+ /**
2007
+ * Configuration options passed to and handled by the provider.
2008
+ */
2009
+ options?: {
2010
+ [k: string]: any;
2011
+ };
2012
+ }
2013
+ /**
2014
+ * Configuration for ping health checks.
2015
+ *
2016
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2017
+ * via the `definition` "serviceHealthCheck".
2018
+ */
2019
+ export interface ServiceHealthCheckV3_64_0 {
2020
+ checkName: CheckNameV3_64_0;
2021
+ endpoint?: EndpointV3_64_0;
2022
+ requestMethod?: RequestMethodV3_64_0;
2023
+ requestHeaders?: RequestHeadersV3_64_0;
2024
+ requestSearchParams?: RequestSearchParamsV3_64_0;
2025
+ requestBody?: RequestBodyV3_64_0;
2026
+ requestBodyFormat?: RequestBodyFormatV3_64_0;
2027
+ requestTimeout?: RequestTimeoutV3_64_0;
2028
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_64_0;
2029
+ triggers?: ServiceHealthCheckTriggerV3_64_0[];
2030
+ }
2031
+ /**
2032
+ * Any custom headers to set with the health check request.
2033
+ */
2034
+ export interface RequestHeadersV3_64_0 {
2035
+ [k: string]: any;
2036
+ }
2037
+ /**
2038
+ * Any custom search params to set with the health check request.
2039
+ */
2040
+ export interface RequestSearchParamsV3_64_0 {
2041
+ [k: string]: any;
2042
+ }
2043
+ /**
2044
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2045
+ * via the `definition` "agentMap".
2046
+ */
2047
+ export interface AgentMapV3_64_0 {
2048
+ [k: string]: AgentJSONV3_64_0;
2049
+ }
2050
+ /**
2051
+ * An Agent is a configuration for an AI service such as a chat bot or a search engine.
2052
+ *
2053
+ * This interface was referenced by `AgentMapV3_64_0`'s JSON-Schema definition
2054
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2055
+ *
2056
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2057
+ * via the `definition` "agent".
2058
+ */
2059
+ export interface AgentJSONV3_64_0 {
2060
+ title?: string;
2061
+ description?: string;
2062
+ disabled?: boolean;
2063
+ systemPrompt?: string;
2064
+ api: AgentAPIV3_64_0;
2065
+ memory?: AgentMemoryV3_64_0;
2066
+ start: AgentStartV3_64_0;
2067
+ states: AgentStatesV3_64_0;
2068
+ guards?: AgentGuardV3_64_0[];
2069
+ historyStrategies?: HistoryStrategyMapV3_64_0;
2070
+ protection?: AgentProtectionV3_64_0;
2071
+ }
2072
+ /**
2073
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2074
+ * via the `definition` "agentApi".
2075
+ */
2076
+ export interface AgentAPIV3_64_0 {
2077
+ inputs: AgentAPIInputV3_64_0[];
2078
+ }
2079
+ /**
2080
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2081
+ * via the `definition` "agentApiMutationInput".
2082
+ */
2083
+ export interface AgentAPIMutationInputV3_64_0 {
2084
+ type: 'mutation';
2085
+ name: string;
2086
+ args: string;
2087
+ interactionTimeout?: InteractionTimeoutMillisecondsV3_64_0;
2088
+ }
2089
+ /**
2090
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2091
+ * via the `definition` "agentMemory".
2092
+ */
2093
+ export interface AgentMemoryV3_64_0 {
2094
+ sessionMemory: AgentSessionMemoryV3_64_0;
2095
+ }
2096
+ /**
2097
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2098
+ * via the `definition` "agentSessionMemory".
2099
+ */
2100
+ export interface AgentSessionMemoryV3_64_0 {
2101
+ shape?: string;
2102
+ }
2103
+ /**
2104
+ * Configuration for the start of an agent's execution
2105
+ *
2106
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2107
+ * via the `definition` "agentStart".
2108
+ */
2109
+ export interface AgentStartV3_64_0 {
2110
+ transitions: AgentTransitionSuspendV3_64_0[];
2111
+ }
2112
+ /**
2113
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2114
+ * via the `definition` "agentTransitionSuspend".
2115
+ */
2116
+ export interface AgentTransitionSuspendV3_64_0 {
2117
+ type: 'suspend';
2118
+ destination: string;
2119
+ input: string;
2120
+ condition?: string;
2121
+ limit?: number;
2122
+ sessionMemory?: AgentStateSessionMemoryV3_64_0;
2123
+ historyStrategy?: string;
2124
+ }
2125
+ /**
2126
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2127
+ * via the `definition` "agentStateSessionMemoryAssignment".
2128
+ */
2129
+ export interface AgentStateSessionMemoryAssignmentV3_64_0 {
2130
+ memoryPath?: string;
2131
+ expression: string;
2132
+ }
2133
+ /**
2134
+ * States that are traversed during the execution of an agent.
2135
+ *
2136
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2137
+ * via the `definition` "agentStateMap".
2138
+ */
2139
+ export interface AgentStatesV3_64_0 {
2140
+ [k: string]: AgentStateV3_64_0;
2141
+ }
2142
+ /**
2143
+ * One step of an agent's execution.
2144
+ *
2145
+ * This interface was referenced by `AgentStatesV3_64_0`'s JSON-Schema definition
2146
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2147
+ *
2148
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2149
+ * via the `definition` "agentState".
2150
+ */
2151
+ export interface AgentStateV3_64_0 {
2152
+ name: string;
2153
+ variables?: VariablesV3_64_0;
2154
+ execution: AgentExecutionV3_64_0;
2155
+ transitions?: AgentTransitionV3_64_0[];
2156
+ }
2157
+ /**
2158
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2159
+ * via the `definition` "agentVariable".
2160
+ */
2161
+ export interface AgentVariableV3_64_0 {
2162
+ name: string;
2163
+ /**
2164
+ * These are evaluated in order until a value is found.
2165
+ */
2166
+ steps: AgentVariableStepV3_64_0[];
2167
+ }
2168
+ /**
2169
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2170
+ * via the `definition` "agentVariableStep".
2171
+ */
2172
+ export interface AgentVariableStepV3_64_0 {
2173
+ condition?: string;
2174
+ expression: string;
2175
+ }
2176
+ /**
2177
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2178
+ * via the `definition` "agentExecutionGraphql".
2179
+ */
2180
+ export interface AgentExecutionGraphQLV3_64_0 {
2181
+ type: 'graphql';
2182
+ query: string;
2183
+ path?: string;
2184
+ }
2185
+ /**
2186
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2187
+ * via the `definition` "agentExecutionGenerate".
2188
+ */
2189
+ export interface AgentExecutionGenerateV3_64_0 {
2190
+ type: 'generate';
2191
+ service: string;
2192
+ model: string;
2193
+ systemPrompt?: string;
2194
+ input: AgentAIStateInputV3_64_0;
2195
+ attachments?: AgentAIStateAttachmentsV3_64_0;
2196
+ outputShape?: string;
2197
+ tools?: AgentToolConfigV3_64_0[];
2198
+ memoryTools?: MemoryToolJSONV3_64_0[];
2199
+ clientTools?: ClientToolJSONV3_64_0[];
2200
+ options?: AgentGenerateOptionsV3_64_0;
2201
+ }
2202
+ /**
2203
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2204
+ * via the `definition` "agentAiStateInputArg".
2205
+ */
2206
+ export interface AgentAIStateInputArgumentV3_64_0 {
2207
+ type: 'arg';
2208
+ }
2209
+ /**
2210
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2211
+ * via the `definition` "agentAiStateInputTemplate".
2212
+ */
2213
+ export interface AgentAIStateInputTemplateV3_64_0 {
2214
+ type: 'template';
2215
+ inputTemplate: string;
2216
+ }
2217
+ /**
2218
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2219
+ * via the `definition` "agentAiStateAttachmentsNone".
2220
+ */
2221
+ export interface AgentAIStateAttachmentsNoneV3_64_0 {
2222
+ type: 'none';
2223
+ }
2224
+ /**
2225
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2226
+ * via the `definition` "agentAiStateAttachmentsArg".
2227
+ */
2228
+ export interface AgentAIStateAttachmentsArgV3_64_0 {
2229
+ type: 'arg';
2230
+ }
2231
+ /**
2232
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2233
+ * via the `definition` "agentAiStateAttachmentsExpression".
2234
+ */
2235
+ export interface AgentAIStateAttachmentsExpressionV3_64_0 {
2236
+ type: 'expression';
2237
+ expression: string;
2238
+ }
2239
+ /**
2240
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2241
+ * via the `definition` "memoryTool".
2242
+ */
2243
+ export interface MemoryToolJSONV3_64_0 {
2244
+ name: string;
2245
+ description?: string;
2246
+ args?: string;
2247
+ operation: 'set' | 'merge' | 'add' | 'clear' | 'get' | 'search' | 'remove' | 'update' | 'concat';
2248
+ path?: string;
2249
+ }
2250
+ /**
2251
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2252
+ * via the `definition` "clientTool".
2253
+ */
2254
+ export interface ClientToolJSONV3_64_0 {
2255
+ name: string;
2256
+ description?: string;
2257
+ parameters?: string;
2258
+ /**
2259
+ * noop = fire-and-forget yield = waits for client response
2260
+ */
2261
+ type: 'noop' | 'yield';
2262
+ }
2263
+ /**
2264
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2265
+ * via the `definition` "agentGenerateOptions".
2266
+ */
2267
+ export interface AgentGenerateOptionsV3_64_0 {
2268
+ history?: HistoryV3_64_01;
2269
+ maxTokens?: MaximumTokensV3_64_01;
2270
+ temperature?: TemperatureV3_64_01;
2271
+ topP?: TopPV3_64_01;
2272
+ topK?: TopKV3_64_01;
2273
+ presencePenalty?: PresencePenaltySettingV3_64_01;
2274
+ frequencyPenalty?: FrequencyPenaltySettingV3_64_01;
2275
+ stopSequences?: StopSequencesV3_64_01;
2276
+ seed?: SeedV3_64_01;
2277
+ /**
2278
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
2279
+ */
2280
+ maxRetries?: number;
2281
+ /**
2282
+ * The tool choice strategy. Default: 'auto'
2283
+ */
2284
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
2285
+ maxToolRoundtrips?: MaxToolRoundtripsV3_64_0;
2286
+ promptCaching?: PromptCachingV3_64_0;
2287
+ structuredOutputs?: StructuredOutputsV3_64_0;
2288
+ enableOpenAIFormat?: EnableOpenAISchemaFormatV3_64_0;
2289
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_64_0;
2290
+ stripMarkdown?: StripMarkdownV3_64_0;
2291
+ }
2292
+ /**
2293
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2294
+ * via the `definition` "agentExecutionChat".
2295
+ */
2296
+ export interface AgentExecutionChatV3_64_0 {
2297
+ type: 'chat';
2298
+ service: string;
2299
+ model: string;
2300
+ systemPrompt?: string;
2301
+ input: AgentAIStateInputV3_64_0;
2302
+ attachments?: AgentAIStateAttachmentsV3_64_0;
2303
+ artifact?: string;
2304
+ tools?: AgentToolConfigV3_64_0[];
2305
+ memoryTools?: MemoryToolJSONV3_64_0[];
2306
+ clientTools?: ClientToolJSONV3_64_0[];
2307
+ options?: AgentGenerateOptionsV3_64_0;
2308
+ }
2309
+ /**
2310
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2311
+ * via the `definition` "agentTransitionImmediate".
2312
+ */
2313
+ export interface AgentTransitionImmediateV3_64_0 {
2314
+ type: 'immediate';
2315
+ destination: string;
2316
+ condition?: string;
2317
+ limit?: number;
2318
+ sessionMemory?: AgentStateSessionMemoryV3_64_01;
2319
+ historyStrategy?: string;
2320
+ }
2321
+ /**
2322
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2323
+ * via the `definition` "agentGuard".
2324
+ */
2325
+ export interface AgentGuardV3_64_0 {
2326
+ guardId: GuardIDV3_64_0;
2327
+ }
2328
+ /**
2329
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2330
+ * via the `definition` "historyStrategyMap".
2331
+ */
2332
+ export interface HistoryStrategyMapV3_64_0 {
2333
+ [k: string]: HistoryStrategyV3_64_0;
2334
+ }
2335
+ /**
2336
+ * This interface was referenced by `HistoryStrategyMapV3_64_0`'s JSON-Schema definition
2337
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2338
+ *
2339
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2340
+ * via the `definition` "historyStrategy".
2341
+ */
2342
+ export interface HistoryStrategyV3_64_0 {
2343
+ name: string;
2344
+ variables?: VariablesV3_64_01;
2345
+ filter?: HistoryStrategyFilterV3_64_0;
2346
+ transform: HistoryStrategyTransformV3_64_0;
2347
+ }
2348
+ /**
2349
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2350
+ * via the `definition` "historyStrategyFilter".
2351
+ */
2352
+ export interface HistoryStrategyFilterV3_64_0 {
2353
+ toolCalls?: 'retain' | 'clear';
2354
+ }
2355
+ /**
2356
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2357
+ * via the `definition` "historyStrategyTransformNone".
2358
+ */
2359
+ export interface HistoryStrategyTransformNoneV3_64_0 {
2360
+ type: 'none';
2361
+ }
2362
+ /**
2363
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2364
+ * via the `definition` "historyStrategyTransformReplace".
2365
+ */
2366
+ export interface HistoryStrategyTransformReplaceV3_64_0 {
2367
+ type: 'replace';
2368
+ template: string;
2369
+ }
2370
+ /**
2371
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2372
+ * via the `definition` "historyStrategyTransformSummarize".
2373
+ */
2374
+ export interface HistoryStrategyTransformSummarizeV3_64_0 {
2375
+ type: 'generate';
2376
+ service: string;
2377
+ model: string;
2378
+ systemPrompt: string;
2379
+ tools?: AgentToolConfigV3_64_0[];
2380
+ options?: AgentGenerateOptionsV3_64_0;
2381
+ }
2382
+ /**
2383
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2384
+ * via the `definition` "agentProtection".
2385
+ */
2386
+ export interface AgentProtectionV3_64_0 {
2387
+ enabled: EnableAgentAbuseProtectionV3_64_0;
2388
+ }
2389
+ /**
2390
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2391
+ * via the `definition` "guardMap".
2392
+ */
2393
+ export interface GuardMapV3_64_0 {
2394
+ [k: string]: GuardJSONV3_64_0;
2395
+ }
2396
+ /**
2397
+ * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
2398
+ *
2399
+ * This interface was referenced by `GuardMapV3_64_0`'s JSON-Schema definition
2400
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2401
+ *
2402
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2403
+ * via the `definition` "guard".
2404
+ */
2405
+ export interface GuardJSONV3_64_0 {
2406
+ name: NameV3_64_01;
2407
+ description?: DescriptionV3_64_01;
2408
+ enabled?: EnabledV3_64_0;
2409
+ guardrailIdentifier?: GuardrailIdentifierV3_64_0;
2410
+ guardrailVersion?: GuardrailVersionV3_64_0;
2411
+ blockedInputMessaging?: BlockedInputMessagingV3_64_0;
2412
+ blockedOutputsMessaging?: BlockedOutputsMessagingV3_64_0;
2413
+ topicPolicyConfig?: TopicPolicyV3_64_0;
2414
+ contentPolicyConfig?: ContentPolicyV3_64_0;
2415
+ wordPolicyConfig?: WordPolicyV3_64_0;
2416
+ sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_64_0;
2417
+ contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_64_0;
2418
+ }
2419
+ /**
2420
+ * Topics to identify and block.
2421
+ */
2422
+ export interface TopicPolicyV3_64_0 {
2423
+ topicsConfig: TopicV3_64_0;
2424
+ }
2425
+ /**
2426
+ * Types of content to filter and strength configuration.
2427
+ */
2428
+ export interface ContentPolicyV3_64_0 {
2429
+ filtersConfig: FilterV3_64_0;
2430
+ }
2431
+ /**
2432
+ * Specific words to identify and block.
2433
+ */
2434
+ export interface WordPolicyV3_64_0 {
2435
+ wordsConfig?: WordListV3_64_0;
2436
+ managedWordListsConfig?: ManagedWordListV3_64_0;
2437
+ }
2438
+ /**
2439
+ * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
2440
+ */
2441
+ export interface SensitiveInformationPolicyV3_64_0 {
2442
+ piiEntitiesConfig?: PIIEntityV3_64_0;
2443
+ regexesConfig?: RegularExpressionV3_64_0;
2444
+ }
2445
+ /**
2446
+ * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
2447
+ */
2448
+ export interface ContextualGroundingPolicyV3_64_0 {
2449
+ filtersConfig: FilterV3_64_01;
2450
+ }
2451
+ /**
2452
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2453
+ * via the `definition` "toolMap".
2454
+ */
2455
+ export interface ToolMapV3_64_0 {
2456
+ [k: string]: ToolJSONV3_64_0;
2457
+ }
2458
+ /**
2459
+ * This interface was referenced by `ToolMapV3_64_0`'s JSON-Schema definition
2460
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2461
+ *
2462
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2463
+ * via the `definition` "tool".
2464
+ */
2465
+ export interface ToolJSONV3_64_0 {
2466
+ visibility?: 'public' | 'private';
2467
+ execution: ToolExecutionJSONV3_64_0;
2468
+ description?: string;
2469
+ }
2470
+ /**
2471
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2472
+ * via the `definition` "toolExecutionRemote".
2473
+ */
2474
+ export interface ToolExecutionRemoteJSONV3_64_0 {
2475
+ type: 'remote';
2476
+ toolName: string;
2477
+ service: string;
2478
+ parameters?: ObjectSchemaV3_64_0;
2479
+ }
2480
+ /**
2481
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2482
+ * via the `definition` "toolExecutionGraphQL".
2483
+ */
2484
+ export interface ToolExecutionGraphQLJSONV3_64_0 {
2485
+ type: 'graphql';
2486
+ query: ToolQueryConfigV3_64_0;
2487
+ path?: string;
2488
+ optimizeResponse?: ToolExecutionGraphQLOptimizeResponseJSONV3_64_0;
2489
+ }
2490
+ /**
2491
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2492
+ * via the `definition` "toolQueryRefConfig".
2493
+ */
2494
+ export interface ToolQueryRefConfigV3_64_0 {
2495
+ ref: string;
2496
+ selectionSet?: string;
2497
+ args?: string[];
2498
+ }
2499
+ /**
2500
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2501
+ * via the `definition` "toolExecutionGraphQLOptimizeResponse".
2502
+ */
2503
+ export interface ToolExecutionGraphQLOptimizeResponseJSONV3_64_0 {
2504
+ compactPagination?: boolean;
2505
+ }
2506
+ /**
2507
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
2508
+ *
2509
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2510
+ * via the `definition` "parameterSerializeStyleOptions".
2511
+ */
2512
+ export interface ParameterSerializeStyleOptionsV3_64_0 {
2513
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2514
+ explode?: boolean;
2515
+ allowEmptyValue?: boolean;
2516
+ /**
2517
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2518
+ */
2519
+ allowReserved?: boolean;
2520
+ skipEncoding?: boolean;
2521
+ }
2522
+ /**
2523
+ * All possible options for the more specific ParameterSerializeConfig types.
2524
+ *
2525
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2526
+ * via the `definition` "parameterSerializeConfig".
2527
+ */
2528
+ export interface ParameterSerializeConfigV3_64_0 {
2529
+ content?: ParameterSerializeContentOptionsV3_64_0;
2530
+ defaults?: ParameterSerializeOptionsV3_64_0;
2531
+ paths?: {
2532
+ [k: string]: ParameterSerializeOptionsV3_64_0;
2533
+ };
2534
+ }
2535
+ /**
2536
+ * All possible options for the more specific ParameterConfig types.
2537
+ *
2538
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2539
+ * via the `definition` "parameterConfig".
2540
+ */
2541
+ export interface ParameterConfigV3_64_0 {
2542
+ ops: ParameterOpListV3_64_0;
2543
+ serialize?: ParameterSerializeConfigV3_64_0;
2544
+ }
2545
+ /**
2546
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2547
+ * via the `definition` "aiParseFileResolverOptions".
2548
+ */
2549
+ export interface AIParseFileResolverOptionsV3_64_0 {
2550
+ [k: string]: any;
2551
+ }
2552
+ /**
2553
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2554
+ * via the `definition` "listQueryLoaderConfig".
2555
+ */
2556
+ export interface ListQueryLoaderConfigV3_64_0 {
2557
+ query: string;
2558
+ args?: {
2559
+ [k: string]: any;
2560
+ };
2561
+ pagination?: PaginationConfigV3_64_0;
2562
+ }
2563
+ /**
2564
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2565
+ * via the `definition` "formScalarConfig".
2566
+ */
2567
+ export interface FormScalarConfigV3_64_0 {
2568
+ widget: string;
2569
+ }
2570
+ /**
2571
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2572
+ * via the `definition` "formObjectConfig".
2573
+ */
2574
+ export interface FormObjectConfigV3_64_0 {
2575
+ widget?: string;
2576
+ order?: string[];
2577
+ properties?: {
2578
+ [k: string]: FormConfigV3_64_0;
2579
+ };
2580
+ }
2581
+ /**
2582
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2583
+ * via the `definition` "formArrayConfig".
2584
+ */
2585
+ export interface FormArrayConfigV3_64_0 {
2586
+ widget: string;
2587
+ items: FormConfigV3_64_0;
2588
+ }
2589
+ /**
2590
+ * For use with a custom auth handler on a service provider.
2591
+ *
2592
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2593
+ * via the `definition` "customAuthentication".
2594
+ */
2595
+ export interface CustomAuthenticationV3_64_0 {
2596
+ type: 'custom';
2597
+ [k: string]: any;
2598
+ }
2599
+ /**
2600
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2601
+ * via the `definition` "searchParamsAuthentication".
2602
+ */
2603
+ export interface SearchParamsAuthenticationV3_64_0 {
2604
+ type: 'searchParams';
2605
+ params: {
2606
+ name: string;
2607
+ value: string;
2608
+ }[];
2609
+ }
2610
+ /**
2611
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2612
+ * via the `definition` "bearerAuthentication".
2613
+ */
2614
+ export interface BearerAuthenticationV3_64_0 {
2615
+ type: 'bearer';
2616
+ token: string;
2617
+ prefix?: string;
2618
+ header?: string;
2619
+ }
2620
+ /**
2621
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2622
+ * via the `definition` "oauth2BearerAuthentication".
2623
+ */
2624
+ export interface OAuth2BearerAuthenticationV3_64_0 {
2625
+ type: 'oauth2Bearer';
2626
+ token: string;
2627
+ prefix?: string;
2628
+ header?: string;
2629
+ scope?: string;
2630
+ expiresAt?: string;
2631
+ }
2632
+ /**
2633
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2634
+ * via the `definition` "basicAuthentication".
2635
+ */
2636
+ export interface BasicAuthenticationV3_64_0 {
2637
+ type: 'basic';
2638
+ username: string;
2639
+ password: string;
2640
+ useIso8859?: boolean;
2641
+ }
2642
+ /**
2643
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2644
+ * via the `definition` "oauth2Authentication".
2645
+ */
2646
+ export interface OAuth2AuthenticationV3_64_0 {
2647
+ type: 'oauth2';
2648
+ grantType: 'authorizationCode' | 'clientCredentials';
2649
+ authorizationUrl?: string;
2650
+ accessTokenUrl?: string;
2651
+ clientId: string;
2652
+ clientSecret?: string;
2653
+ scope?: string;
2654
+ usePkce?: boolean;
2655
+ redirectUrl?: string;
2656
+ headerPrefix?: string;
2657
+ audience?: string;
2658
+ resource?: string;
2659
+ }
2660
+ /**
2661
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2662
+ * via the `definition` "awsAuthentication".
2663
+ */
2664
+ export interface AWSAuthenticationV3_64_0 {
2665
+ type: 'aws';
2666
+ awsAccessKeyId: string;
2667
+ awsSecretAccessKey: string;
2668
+ }
2669
+ /**
2670
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2671
+ * via the `definition` "googleAuthentication".
2672
+ */
2673
+ export interface GoogleAuthenticationV3_64_0 {
2674
+ type: 'google';
2675
+ clientEmail: string;
2676
+ privateKey: string;
2677
+ }
2678
+ /**
2679
+ * This interface was referenced by `ProjectSchemaJSONV3_64_0`'s JSON-Schema
2680
+ * via the `definition` "serviceConfig".
2681
+ */
2682
+ export interface ServiceConfigV3_64_0 {
2683
+ /**
2684
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
2685
+ */
2686
+ id: string;
2687
+ /**
2688
+ * Human-readable name for this service.
2689
+ */
2690
+ title: string;
2691
+ /**
2692
+ * The service provider id.
2693
+ */
2694
+ provider: string;
2695
+ /**
2696
+ * A namespace to use for the imported types tied to this service.
2697
+ */
2698
+ namespace?: string;
2699
+ serviceType: ServiceTypeV3_64_0;
2700
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2701
+ authentication?: ServiceAuthenticationV3_64_0;
2702
+ healthCheck?: ServiceHealthCheckV3_64_0;
2703
+ webhookId?: string;
2704
+ /**
2705
+ * Configuration options passed to and handled by the provider.
2706
+ */
2707
+ options?: {
2708
+ [k: string]: any;
2709
+ };
2710
+ }