@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,2678 @@
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_60_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_60_0 = string | ObjectSchemaV3_60_0 | ExtendsSchemaV3_60_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_60_0 = PropertySchemaV3_60_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_60_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_60_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_60_0 = NonNegativeIntegerV3_60_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_60_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_60_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_60_0 = PropertySchemaV3_60_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_60_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_60_0 = (RefSchemaV3_60_0 | RefSchemaLegacyV3_60_0 | ObjectSchemaV3_60_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_60_0 = MappingStringV3_60_0 | MappingStringV3_60_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_60_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_60_0 = BasicResolverV3_60_0 | ComposeResolverV3_60_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_60_0 = UtilResolverV3_60_0 | DelegateResolverV3_60_0 | TakeshapeResolverV3_60_0 | ShapedbResolverV3_60_0 | ShapedbResolverShapeNameNotRequiredV3_60_0 | GraphqlResolverV3_60_0 | RestResolverV3_60_0 | AwsLambdaResolverV3_60_0 | SalsifyResolverV3_60_0 | SyndigoResolverV3_60_0 | FunctionResolverV3_60_0 | AIGenerateTextResolverV3_60_0 | AIGeneratePropertyResolverV3_60_0 | AIEmbeddingResolverV3_60_0 | AIEmbeddingSearchResolverV3_60_0 | AIParseFileResolverV3_60_0 | ChunkResolverV3_60_0 | AISendAgentMessageResolverV3_60_0 | AIInspectAgentResolverV3_60_0 | AICreateAgentSessionResolverV3_60_0 | AIGetAgentMessageResolverV3_60_0 | AIAbortAgentMessageResolverV3_60_0 | AISendAgentFeedbackResolverV3_60_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_60_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_60_0 = ParameterOpNestedV3_60_0 | ParameterOpValueV3_60_0 | ParameterOpMappingV3_60_0 | ParameterOpOpV3_60_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_60_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_60_0 = [DirectiveNameV3_60_0, DirectiveOptionsV3_60_0];
96
+ export type DirectiveNameV3_60_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_60_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_60_0 = DirectiveConfigItemV3_60_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_60_0 = ParameterOpV3_60_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_60_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_60_0 = DirectiveMappingMapV3_60_0 | DirectiveConfigV3_60_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_60_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_60_0 = DirectiveMappingMapV3_60_0 | DirectiveConfigV3_60_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_60_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_60_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_60_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_60_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_60_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_60_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_60_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_60_0 = [string, DirectiveConfigV3_60_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_60_0 = DirectiveMappingArrayItemV3_60_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_60_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_60_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type SyndigoResolverNameV3_60_0 = 'syndigo:searchProducts';
173
+ /**
174
+ * Name of the resolver function.
175
+ */
176
+ export type FunctionResolverNameV3_60_0 = 'function:run';
177
+ export type FunctionResolverJavascriptV3_60_0 = string;
178
+ /**
179
+ * Name of the resolver function.
180
+ */
181
+ export type AIResolverNameV3_60_0 = 'ai:generateText' | 'ai:chat';
182
+ export type HistoryV3_60_0 = boolean;
183
+ /**
184
+ * Maximum number of tokens to generate.
185
+ */
186
+ export type MaximumTokensV3_60_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_60_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_60_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_60_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_60_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_60_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_60_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_60_0 = number;
215
+ /**
216
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
217
+ * via the `definition` "agentToolConfigArg".
218
+ */
219
+ export type AgentToolConfigArgV3_60_0 = AgentControlledV3_60_0 | VariableValueV3_60_0;
220
+ /**
221
+ * The argument name that will be exposed by the tool for the LLM to use.
222
+ */
223
+ export type ToolArgumentNameV3_60_0 = string;
224
+ /**
225
+ * Name of argument to pass value to. This prevents the LLM from setting the argument.
226
+ */
227
+ export type ToolArgumentNameV3_60_01 = string;
228
+ /**
229
+ * Name of variable to pull value from.
230
+ */
231
+ export type StateVariableNameV3_60_0 = string;
232
+ /**
233
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
234
+ * via the `definition` "aiGuardrail".
235
+ */
236
+ export type AIGuardrailV3_60_0 = AISimilarityGuardrailV3_60_0;
237
+ /**
238
+ * Name of the resolver function.
239
+ */
240
+ export type AIResolverNameV3_60_01 = 'ai:generateProperty';
241
+ /**
242
+ * Name of the resolver function.
243
+ */
244
+ export type AIResolverNameV3_60_02 = 'ai:createEmbedding';
245
+ /**
246
+ * Name of the resolver function.
247
+ */
248
+ export type AIResolverNameV3_60_03 = 'ai:embeddingSearch';
249
+ /**
250
+ * Name of the resolver function.
251
+ */
252
+ export type AIResolverNameV3_60_04 = 'ai:parseFile';
253
+ /**
254
+ * Name of the resolver function.
255
+ */
256
+ export type UtilResolverNameV3_60_01 = 'util:chunk';
257
+ /**
258
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
259
+ * via the `definition` "utilChunkResolverOptions".
260
+ */
261
+ export type UtilChunkResolverOptionsV3_60_0 = UtilChunkResolverOptionsCharacterCountV3_60_0 | UtilChunkResolverOptionsSeparatorsV3_60_0 | UtilChunkResolverOptionsMarkdownV3_60_0 | UtilChunkResolverOptionsSemanticV3_60_0;
262
+ /**
263
+ * Name of the resolver function.
264
+ */
265
+ export type AIResolverNameV3_60_05 = 'ai:sendAgentMessage';
266
+ /**
267
+ * Name of the resolver function.
268
+ */
269
+ export type AIResolverNameV3_60_06 = 'ai:inspectAgent';
270
+ /**
271
+ * Name of the resolver function.
272
+ */
273
+ export type AIResolverNameV3_60_07 = 'ai:createAgentSession';
274
+ /**
275
+ * Name of the resolver function.
276
+ */
277
+ export type AIResolverNameV3_60_08 = 'ai:getAgentMessage';
278
+ /**
279
+ * Name of the resolver function.
280
+ */
281
+ export type AIResolverNameV3_60_09 = 'ai:abortAgentMessage';
282
+ /**
283
+ * Name of the resolver function.
284
+ */
285
+ export type AIResolverNameV3_60_010 = 'ai:sendAgentFeedback';
286
+ /**
287
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
288
+ * via the `definition` "dependencies".
289
+ */
290
+ export type DependenciesV3_60_0 = string;
291
+ /**
292
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
293
+ * via the `definition` "extendsSchema".
294
+ */
295
+ export type ExtendsSchemaV3_60_0 = PropertySchemaV3_60_0 & {
296
+ extends: ObjectOrRefArrayV3_60_0;
297
+ };
298
+ /**
299
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
300
+ * via the `definition` "returnShape".
301
+ */
302
+ export type ReturnShapeV3_60_0 = string | ReturnShapeArraySchemaV3_60_0;
303
+ /**
304
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
305
+ * via the `definition` "returnShapeArraySchema".
306
+ */
307
+ export type ReturnShapeArraySchemaV3_60_0 = PropertySchemaV3_60_0 & {
308
+ type: 'array';
309
+ items: RefSchemaV3_60_0 | {
310
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
311
+ [k: string]: any;
312
+ };
313
+ };
314
+ export type ModelTypeV3_60_0 = 'single' | 'multiple' | 'taxonomy';
315
+ /**
316
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
317
+ * via the `definition` "paginationConfig".
318
+ */
319
+ export type PaginationConfigV3_60_0 = PaginationCursorConfigV3_60_0 | PaginationPageConfigV3_60_0 | PaginationOffsetConfigV3_60_0;
320
+ /**
321
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
322
+ * via the `definition` "cacheTriggerConfig".
323
+ */
324
+ export type CacheTriggerConfigV3_60_0 = CacheScheduleTriggerConfigV3_60_0 | CacheWebhookTriggerConfigV3_60_0;
325
+ /**
326
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
327
+ * via the `definition` "shapeSchema".
328
+ */
329
+ export type ShapeSchemaV3_60_0 = ShapeSchemaAllOfV3_60_0 | ShapeSchemaExtendsV3_60_0 | ShapeSchemaOneOfV3_60_0 | ShapeSchemaEnumV3_60_0 | ObjectSchemaV3_60_0 | ShapeSchemaAnyV3_60_0;
330
+ /**
331
+ * Human-readable id for use in the UI
332
+ */
333
+ export type WorkflowNameV3_60_0 = string;
334
+ /**
335
+ * machine-readable slug
336
+ */
337
+ export type NameV3_60_0 = string;
338
+ /**
339
+ * Human-readable id for use in the UI
340
+ */
341
+ export type TitleV3_60_0 = string;
342
+ export type DescriptionV3_60_0 = string;
343
+ /**
344
+ * Hex color code
345
+ */
346
+ export type ColorV3_60_0 = string;
347
+ /**
348
+ * Value to indicate whether items in the state should be returned in list queries
349
+ */
350
+ export type LiveV3_60_0 = boolean;
351
+ /**
352
+ * machine-readable id
353
+ */
354
+ export type KeyV3_60_0 = string;
355
+ export type StepsV3_60_0 = WorkflowStepV3_60_0[];
356
+ /**
357
+ * The general type of this service, specifying how and where it will be utilized.
358
+ *
359
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
360
+ * via the `definition` "serviceType".
361
+ */
362
+ export type ServiceTypeV3_60_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
363
+ /**
364
+ * The name of a health check to run
365
+ */
366
+ export type CheckNameV3_60_0 = 'graphqlIntrospection' | 'ping' | 'none';
367
+ /**
368
+ * The endpoint to use when checking the service health.
369
+ */
370
+ export type EndpointV3_60_0 = string;
371
+ /**
372
+ * A custom method to use for the health check request.
373
+ */
374
+ export type RequestMethodV3_60_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
375
+ /**
376
+ * A custom body to send along with the ping request.
377
+ */
378
+ export type RequestBodyV3_60_0 = string;
379
+ /**
380
+ * A custom body to send along with the ping request.
381
+ */
382
+ export type RequestBodyFormatV3_60_0 = 'string' | 'form' | 'json' | 'form-data';
383
+ /**
384
+ * The amount of time to wait when receiving a response from the health check, in seconds.
385
+ */
386
+ export type RequestTimeoutV3_60_0 = number;
387
+ /**
388
+ * The response status code that qualifies as healthy.
389
+ */
390
+ export type HealthyResponseStatusCodeV3_60_0 = number;
391
+ /**
392
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
393
+ * via the `definition` "serviceHealthCheckTrigger".
394
+ */
395
+ export type ServiceHealthCheckTriggerV3_60_0 = 'manual' | 'schedule';
396
+ /**
397
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
398
+ * via the `definition` "agentApiInput".
399
+ */
400
+ export type AgentAPIInputV3_60_0 = AgentAPIMutationInputV3_60_0;
401
+ export type InteractionTimeoutMillisecondsV3_60_0 = number;
402
+ export type AgentStateSessionMemoryV3_60_0 = AgentStateSessionMemoryAssignmentV3_60_0[];
403
+ export type VariablesV3_60_0 = AgentVariableV3_60_0[];
404
+ /**
405
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
406
+ * via the `definition` "agentExecution".
407
+ */
408
+ export type AgentExecutionV3_60_0 = AgentExecutionGraphQLV3_60_0 | AgentExecutionGenerateV3_60_0 | AgentExecutionChatV3_60_0;
409
+ /**
410
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
411
+ * via the `definition` "agentAiStateInput".
412
+ */
413
+ export type AgentAIStateInputV3_60_0 = AgentAIStateInputArgumentV3_60_0 | AgentAIStateInputTemplateV3_60_0;
414
+ /**
415
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
416
+ * via the `definition` "agentAiStateAttachments".
417
+ */
418
+ export type AgentAIStateAttachmentsV3_60_0 = AgentAIStateAttachmentsNoneV3_60_0 | AgentAIStateAttachmentsArgV3_60_0 | AgentAIStateAttachmentsExpressionV3_60_0;
419
+ export type HistoryV3_60_01 = boolean;
420
+ /**
421
+ * Maximum number of tokens to generate. Defaults to 1024
422
+ */
423
+ export type MaximumTokensV3_60_01 = number;
424
+ /**
425
+ * 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
426
+ */
427
+ export type TemperatureV3_60_01 = number;
428
+ /**
429
+ * 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.
430
+ */
431
+ export type TopPV3_60_01 = number;
432
+ /**
433
+ * 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.
434
+ */
435
+ export type TopKV3_60_01 = number;
436
+ /**
437
+ * 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.
438
+ */
439
+ export type PresencePenaltySettingV3_60_01 = number;
440
+ /**
441
+ * 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.
442
+ */
443
+ export type FrequencyPenaltySettingV3_60_01 = number;
444
+ /**
445
+ * If set, the model will stop generating text when one of the stop sequences is generated.
446
+ */
447
+ export type StopSequencesV3_60_01 = string[];
448
+ /**
449
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
450
+ */
451
+ export type SeedV3_60_01 = number;
452
+ /**
453
+ * Maximal number of automatic roundtrips for tool calls.
454
+ */
455
+ export type MaxToolRoundtripsV3_60_0 = number;
456
+ /**
457
+ * If true, structured outputs will be enabled on the model for non-text requests.
458
+ */
459
+ export type StructuredOutputsV3_60_0 = boolean;
460
+ /**
461
+ * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
462
+ */
463
+ export type EnableOpenAISchemaFormatV3_60_0 = boolean;
464
+ export type MinimatchPatternV3_60_0 = string;
465
+ /**
466
+ * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
467
+ *
468
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
469
+ * via the `definition` "removePropertyKeyPatterns".
470
+ */
471
+ export type RemovePropertyKeyPatternsV3_60_0 = MinimatchPatternV3_60_0[];
472
+ /**
473
+ * Remove Markdown formatting from the LLM response
474
+ */
475
+ export type StripMarkdownV3_60_0 = boolean;
476
+ /**
477
+ * These steps are evaluated in order until a destination is found.
478
+ *
479
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
480
+ * via the `definition` "agentTransition".
481
+ */
482
+ export type AgentTransitionV3_60_0 = AgentTransitionImmediateV3_60_0 | AgentTransitionSuspendV3_60_0;
483
+ export type AgentStateSessionMemoryV3_60_01 = AgentStateSessionMemoryAssignmentV3_60_0[];
484
+ export type GuardIDV3_60_0 = string;
485
+ export type VariablesV3_60_01 = AgentVariableV3_60_0[];
486
+ /**
487
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
488
+ * via the `definition` "historyStrategyTransform".
489
+ */
490
+ export type HistoryStrategyTransformV3_60_0 = HistoryStrategyTransformNoneV3_60_0 | HistoryStrategyTransformReplaceV3_60_0 | HistoryStrategyTransformSummarizeV3_60_0;
491
+ /**
492
+ * Enabling this will require a proof-of-work token to be included with each request. This will prevent abuse and spam.
493
+ */
494
+ export type EnableAgentAbuseProtectionV3_60_0 = boolean;
495
+ /**
496
+ * The human-readable name of the Guard.
497
+ */
498
+ export type NameV3_60_01 = string;
499
+ /**
500
+ * A description of the Guard.
501
+ */
502
+ export type DescriptionV3_60_01 = string;
503
+ /**
504
+ * Guards will not run unless enabled.
505
+ */
506
+ export type EnabledV3_60_0 = boolean;
507
+ /**
508
+ * The remote id of the Guardrail.
509
+ */
510
+ export type GuardrailIdentifierV3_60_0 = string;
511
+ /**
512
+ * The remote version of the Guardrail.
513
+ */
514
+ export type GuardrailVersionV3_60_0 = string;
515
+ /**
516
+ * A message to return when the input message is blocked by the Guard.
517
+ */
518
+ export type BlockedInputMessagingV3_60_0 = string;
519
+ /**
520
+ * A message to return when the output message is blocked by the Guard.
521
+ */
522
+ export type BlockedOutputsMessagingV3_60_0 = string;
523
+ export type ExampleV3_60_0 = string;
524
+ /**
525
+ * A topic to block.
526
+ */
527
+ export type TopicV3_60_0 = {
528
+ name: string;
529
+ definition: string;
530
+ /**
531
+ * Examples of the topic that can hint the LLM.
532
+ */
533
+ examples?: ExampleV3_60_0[];
534
+ type: 'DENY';
535
+ }[];
536
+ export type InputStrengthV3_60_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
537
+ export type OutputStrengthV3_60_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
538
+ /**
539
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
540
+ * via the `definition` "guardrailModality".
541
+ */
542
+ export type GuardrailModalityV3_60_0 = 'TEXT' | 'IMAGE';
543
+ /**
544
+ * Whether to filter images or text
545
+ */
546
+ export type InputModalitiesV3_60_0 = GuardrailModalityV3_60_0[];
547
+ /**
548
+ * Whether to filter images or text
549
+ */
550
+ export type OutputModalitiesV3_60_0 = GuardrailModalityV3_60_0[];
551
+ /**
552
+ * Types of content to filter.
553
+ */
554
+ export type FilterV3_60_0 = {
555
+ type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
556
+ inputStrength: InputStrengthV3_60_0;
557
+ outputStrength: OutputStrengthV3_60_0;
558
+ inputModalities?: InputModalitiesV3_60_0;
559
+ outputModalities?: OutputModalitiesV3_60_0;
560
+ }[];
561
+ /**
562
+ * Specific words to block.
563
+ */
564
+ export type WordListV3_60_0 = {
565
+ text: string;
566
+ }[];
567
+ /**
568
+ * This is solely used for blocking profanity.
569
+ */
570
+ export type ManagedWordListV3_60_0 = {
571
+ type: 'PROFANITY';
572
+ }[];
573
+ /**
574
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
575
+ * via the `definition` "guardrailSensitiveInformationAction".
576
+ */
577
+ export type GuardrailSensitiveInformationActionV3_60_0 = 'ANONYMIZE' | 'BLOCK';
578
+ /**
579
+ * PII entity to infer from the text.
580
+ */
581
+ export type PIIEntityV3_60_0 = {
582
+ 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';
583
+ action: GuardrailSensitiveInformationActionV3_60_0;
584
+ }[];
585
+ /**
586
+ * A regular expression to match sensitive information.
587
+ */
588
+ export type RegularExpressionV3_60_0 = {
589
+ name: string;
590
+ description?: string;
591
+ pattern: string;
592
+ action: GuardrailSensitiveInformationActionV3_60_0;
593
+ }[];
594
+ /**
595
+ * The type of filter.
596
+ */
597
+ export type TypeV3_60_0 = 'GROUNDING' | 'RELEVANCE';
598
+ /**
599
+ * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
600
+ */
601
+ export type ThresholdV3_60_0 = number;
602
+ /**
603
+ * Filter to evaluate grounding text.
604
+ */
605
+ export type FilterV3_60_01 = {
606
+ type: TypeV3_60_0;
607
+ threshold: ThresholdV3_60_0;
608
+ }[];
609
+ /**
610
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
611
+ * via the `definition` "toolExecution".
612
+ */
613
+ export type ToolExecutionJSONV3_60_0 = ToolExecutionRemoteJSONV3_60_0 | ToolExecutionGraphQLJSONV3_60_0;
614
+ /**
615
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
616
+ * via the `definition` "toolQueryConfig".
617
+ */
618
+ export type ToolQueryConfigV3_60_0 = ToolQueryRefConfigV3_60_0 | string;
619
+ /**
620
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
621
+ * via the `definition` "allOfSchema".
622
+ */
623
+ export type AllOfSchemaV3_60_0 = PropertySchemaV3_60_0 & {
624
+ allOf: ObjectOrRefArrayV3_60_0;
625
+ };
626
+ /**
627
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
628
+ * via the `definition` "oneOfSchema".
629
+ */
630
+ export type OneOfSchemaV3_60_0 = PropertySchemaV3_60_0 & {
631
+ oneOf: ObjectOrRefArrayV3_60_0;
632
+ };
633
+ /**
634
+ * Options to be passed to the serialization routine.
635
+ *
636
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
637
+ * via the `definition` "parameterSerializeOptions".
638
+ *
639
+ * This interface was referenced by `undefined`'s JSON-Schema definition
640
+ * via the `patternProperty` "^[^\n\r]*$".
641
+ */
642
+ export type ParameterSerializeOptionsV3_60_0 = ParameterSerializeStyleOptionsV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
643
+ /**
644
+ * An array of key / value or directive config tuples
645
+ *
646
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
647
+ * via the `definition` "directiveMappingArray".
648
+ */
649
+ export type DirectiveMappingArrayV3_60_0 = DirectiveMappingArrayItemV3_60_0[];
650
+ /**
651
+ * A resolver which references a specific service
652
+ *
653
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
654
+ * via the `definition` "serviceResolver".
655
+ */
656
+ export type ServiceResolverV3_60_0 = TakeshapeResolverV3_60_0 | ShapedbResolverShapeNameNotRequiredV3_60_0 | ShapedbResolverV3_60_0 | GraphqlResolverV3_60_0 | RestResolverV3_60_0 | AwsLambdaResolverV3_60_0;
657
+ /**
658
+ * An array of key / value or directive config tuples
659
+ *
660
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
661
+ * via the `definition` "searchParamsMapping".
662
+ */
663
+ export type SearchParamsMappingV3_60_01 = DirectiveMappingArrayItemV3_60_0[];
664
+ /**
665
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
666
+ * via the `definition` "shapeWithObjectSchema".
667
+ */
668
+ export type ShapeWithObjectSchemaV3_60_0 = ShapeJSONV3_60_0 & {
669
+ schema: ObjectSchemaV3_60_0;
670
+ };
671
+ /**
672
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
673
+ * via the `definition` "serviceAuthentication".
674
+ */
675
+ export type ServiceAuthenticationV3_60_0 = OAuth2AuthenticationV3_60_0 | OAuth2BearerAuthenticationV3_60_0 | BearerAuthenticationV3_60_0 | BasicAuthenticationV3_60_0 | SearchParamsAuthenticationV3_60_0 | AWSAuthenticationV3_60_0 | GoogleAuthenticationV3_60_0 | CustomAuthenticationV3_60_0;
676
+ /**
677
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
678
+ * via the `definition` "anyServiceConfig".
679
+ */
680
+ export type AnyServiceConfigV3_60_0 = ServiceConfigJSONV3_60_0 | ServiceConfigV3_60_0;
681
+ export interface ProjectSchemaJSONV3_60_0 {
682
+ $schema?: string;
683
+ /**
684
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
685
+ */
686
+ apiVersion: string;
687
+ /**
688
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
689
+ */
690
+ schemaVersion: '3.60.0';
691
+ /**
692
+ * The ID of the TakeShape project this schema belongs to.
693
+ */
694
+ projectId: string;
695
+ /**
696
+ * The ID of the TakeShape user who created the schema.
697
+ */
698
+ author?: string;
699
+ deactivated?: number;
700
+ /**
701
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
702
+ */
703
+ defaultLocale: string;
704
+ locales: string[];
705
+ queries: QueryMapV3_60_0;
706
+ mutations: QueryMapV3_60_0;
707
+ shapes: ShapeMapV3_60_0;
708
+ forms?: FormMapV3_60_0;
709
+ workflows: WorkflowMapV3_60_0;
710
+ services?: ServiceMapJSONV3_60_0;
711
+ agents?: AgentMapV3_60_0;
712
+ guards?: GuardMapV3_60_0;
713
+ tools?: ToolMapV3_60_0;
714
+ }
715
+ /**
716
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
717
+ * via the `definition` "queryMap".
718
+ */
719
+ export interface QueryMapV3_60_0 {
720
+ [k: string]: QueryJSONV3_60_0;
721
+ }
722
+ /**
723
+ * This interface was referenced by `QueryMapV3_60_0`'s JSON-Schema definition
724
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
725
+ *
726
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
727
+ * via the `definition` "query".
728
+ */
729
+ export interface QueryJSONV3_60_0 {
730
+ args?: ArgsV3_60_0;
731
+ resolver: ResolverV3_60_0;
732
+ shape: ReturnShapeV3_60_0;
733
+ /**
734
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
735
+ */
736
+ description?: string;
737
+ }
738
+ /**
739
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
740
+ * via the `definition` "propertySchema".
741
+ */
742
+ export interface PropertySchemaV3_60_0 {
743
+ $ref?: string;
744
+ title?: string;
745
+ description?: string;
746
+ default?: any;
747
+ readOnly?: boolean;
748
+ multipleOf?: number;
749
+ maximum?: number;
750
+ exclusiveMaximum?: number;
751
+ minimum?: number;
752
+ exclusiveMinimum?: number;
753
+ maxLength?: NonNegativeIntegerV3_60_0;
754
+ minLength?: NonNegativeIntegerDefault0V3_60_0;
755
+ pattern?: string;
756
+ additionalItems?: PropertySchemaV3_60_0;
757
+ items?: PropertySchemaV3_60_0;
758
+ maxItems?: NonNegativeIntegerV3_60_0;
759
+ minItems?: NonNegativeIntegerDefault0V3_60_0;
760
+ uniqueItems?: boolean;
761
+ contains?: PropertySchemaV3_60_0;
762
+ maxProperties?: NonNegativeIntegerV3_60_0;
763
+ minProperties?: NonNegativeIntegerDefault0V3_60_0;
764
+ required?: StringArrayV3_60_0;
765
+ additionalProperties?: PropertySchemaV3_60_0 | false;
766
+ definitions?: {
767
+ [k: string]: PropertySchemaV3_60_0;
768
+ };
769
+ properties?: {
770
+ [k: string]: PropertySchemaV3_60_0;
771
+ };
772
+ const?: any;
773
+ enum?: any[];
774
+ type?: SimpleTypesV3_60_0 | SimpleTypesV3_60_0[];
775
+ format?: string;
776
+ contentMediaType?: string;
777
+ contentEncoding?: string;
778
+ allOf?: SchemaArrayV3_60_0;
779
+ discriminator?: {
780
+ propertyName?: string;
781
+ [k: string]: any;
782
+ };
783
+ oneOf?: SchemaArrayV3_60_0;
784
+ extends?: ObjectOrRefArrayV3_60_0;
785
+ '@backreference'?: BackReferenceV3_60_0;
786
+ '@input'?: PropertySchemaV3_60_0;
787
+ '@output'?: PropertySchemaV3_60_0;
788
+ '@syncLocaleStructure'?: boolean;
789
+ '@sensitive'?: boolean;
790
+ '@draftjs'?: boolean;
791
+ '@l10n'?: boolean;
792
+ '@key'?: string;
793
+ '@workflow'?: string;
794
+ '@mapping'?: FieldMappingV3_60_0;
795
+ '@tag'?: string;
796
+ '@tags'?: string[];
797
+ '@deprecationReason'?: string;
798
+ '@args'?: ArgsV3_60_0;
799
+ '@resolver'?: ResolverV3_60_0;
800
+ '@dependencies'?: DependenciesV3_60_0;
801
+ '@ref'?: RefV3_60_0;
802
+ '@derivedFrom'?: string;
803
+ '@indexed'?: IndexedV3_60_0;
804
+ '@graphql'?: GraphQLConfigV3_60_0;
805
+ }
806
+ /**
807
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
808
+ * via the `definition` "refSchema".
809
+ */
810
+ export interface RefSchemaV3_60_0 {
811
+ '@ref': RefV3_60_0;
812
+ [k: string]: any;
813
+ }
814
+ /**
815
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
816
+ * via the `definition` "refSchemaLegacy".
817
+ */
818
+ export interface RefSchemaLegacyV3_60_0 {
819
+ $ref: RefV3_60_0;
820
+ [k: string]: any;
821
+ }
822
+ /**
823
+ * A configuration object for a reverse reference in a relationship.
824
+ *
825
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
826
+ * via the `definition` "backreference".
827
+ */
828
+ export interface BackReferenceV3_60_0 {
829
+ enabled: boolean;
830
+ name?: string;
831
+ }
832
+ /**
833
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
834
+ * via the `definition` "utilResolver".
835
+ */
836
+ export interface UtilResolverV3_60_0 {
837
+ if?: string;
838
+ id?: string;
839
+ name: UtilResolverNameV3_60_0;
840
+ options?: UtilResolverOptionsV3_60_0;
841
+ /**
842
+ * Optional value to return from the noop resolver.
843
+ */
844
+ value?: number | string | boolean | {
845
+ [k: string]: any;
846
+ } | any[] | null;
847
+ args?: ParameterConfigForJsonV3_60_0;
848
+ results?: ParameterConfigForJsonV3_60_0;
849
+ argsMapping?: ArgsMappingV3_60_0;
850
+ resultsMapping?: ResultsMappingV3_60_0;
851
+ }
852
+ export interface UtilResolverOptionsV3_60_0 {
853
+ [k: string]: any;
854
+ }
855
+ /**
856
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
857
+ * via the `definition` "parameterConfigForJson".
858
+ */
859
+ export interface ParameterConfigForJsonV3_60_0 {
860
+ ops: ParameterOpListV3_60_0;
861
+ }
862
+ /**
863
+ * An object describing an operation to generate a parameter, using a nested OpList.
864
+ *
865
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
866
+ * via the `definition` "parameterOpNested".
867
+ */
868
+ export interface ParameterOpNestedV3_60_0 {
869
+ /**
870
+ * A path to the parameter for this operation.
871
+ */
872
+ path: string;
873
+ /**
874
+ * A mode for this parameter's operation.
875
+ */
876
+ op?: 'set' | 'concat' | 'extend' | 'remove';
877
+ ops: ParameterOpListV3_60_0;
878
+ }
879
+ /**
880
+ * An object describing an operation to generate a parameter using a value.
881
+ *
882
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
883
+ * via the `definition` "parameterOpValue".
884
+ */
885
+ export interface ParameterOpValueV3_60_0 {
886
+ /**
887
+ * A path to the parameter for this operation.
888
+ */
889
+ path: string;
890
+ /**
891
+ * A mode for this parameter's operation.
892
+ */
893
+ op?: 'set' | 'concat' | 'extend' | 'remove';
894
+ /**
895
+ * A value to set directly at this path.
896
+ */
897
+ value: number | string | boolean | {
898
+ [k: string]: any;
899
+ } | any[] | null;
900
+ }
901
+ /**
902
+ * An object describing an operation to generate a parameter using a mapping.
903
+ *
904
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
905
+ * via the `definition` "parameterOpMapping".
906
+ */
907
+ export interface ParameterOpMappingV3_60_0 {
908
+ /**
909
+ * A path to the parameter for this operation.
910
+ */
911
+ path: string;
912
+ /**
913
+ * A mode for this parameter's operation.
914
+ */
915
+ op?: 'set' | 'concat' | 'extend' | 'remove';
916
+ /**
917
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
918
+ */
919
+ mapping: string | DirectiveConfigV3_60_0;
920
+ }
921
+ export interface DirectiveOptionsV3_60_0 {
922
+ [k: string]: any;
923
+ }
924
+ /**
925
+ * An object describing an operation to generate a parameter using a mapping.
926
+ *
927
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
928
+ * via the `definition` "parameterOpOp".
929
+ */
930
+ export interface ParameterOpOpV3_60_0 {
931
+ /**
932
+ * A path to the parameter for this operation.
933
+ */
934
+ path: string;
935
+ /**
936
+ * A mode for this parameter's operation.
937
+ */
938
+ op: 'set' | 'concat' | 'extend' | 'remove';
939
+ }
940
+ /**
941
+ * An map of object keys / key paths to directive configs
942
+ *
943
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
944
+ * via the `definition` "directiveMappingMap".
945
+ */
946
+ export interface DirectiveMappingMapV3_60_0 {
947
+ [k: string]: DirectiveConfigV3_60_0;
948
+ }
949
+ /**
950
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
951
+ * via the `definition` "delegateResolver".
952
+ */
953
+ export interface DelegateResolverV3_60_0 {
954
+ if?: string;
955
+ id?: string;
956
+ name: DelegateResolverNameV3_60_0;
957
+ options?: DelegateResolverOptionsV3_60_0;
958
+ argsMapping?: ArgsMappingV3_60_0;
959
+ resultsMapping?: ResultsMappingV3_60_0;
960
+ /**
961
+ * A ref to a query/mutation/property to delegate to.
962
+ */
963
+ to: string;
964
+ args?: ParameterConfigForJsonV3_60_0;
965
+ results?: ParameterConfigForJsonV3_60_0;
966
+ }
967
+ export interface DelegateResolverOptionsV3_60_0 {
968
+ [k: string]: any;
969
+ }
970
+ /**
971
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
972
+ * via the `definition` "takeshapeResolver".
973
+ */
974
+ export interface TakeshapeResolverV3_60_0 {
975
+ if?: string;
976
+ id?: string;
977
+ name: TakeshapeResolverNameV3_60_0;
978
+ /**
979
+ * Internal service identifier.
980
+ */
981
+ service: 'takeshape';
982
+ options?: TakeshapeResolverOptionsV3_60_0;
983
+ /**
984
+ * An optional Shape name for the resolver.
985
+ */
986
+ shapeName?: string;
987
+ args?: ParameterConfigForJsonV3_60_0;
988
+ results?: ParameterConfigForJsonV3_60_0;
989
+ argsMapping?: ArgsMappingV3_60_0;
990
+ resultsMapping?: ResultsMappingV3_60_0;
991
+ }
992
+ export interface TakeshapeResolverOptionsV3_60_0 {
993
+ [k: string]: any;
994
+ }
995
+ /**
996
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
997
+ * via the `definition` "shapedbResolver".
998
+ */
999
+ export interface ShapedbResolverV3_60_0 {
1000
+ if?: string;
1001
+ id?: string;
1002
+ name: ShapedbResolverNameV3_60_0;
1003
+ /**
1004
+ * Internal service identifier.
1005
+ */
1006
+ service: 'shapedb';
1007
+ options?: ShapedbResolverOptionsV3_60_0;
1008
+ argsMapping?: ArgsMappingV3_60_0;
1009
+ resultsMapping?: ResultsMappingV3_60_0;
1010
+ /**
1011
+ * A Shape name for the resolver to use.
1012
+ */
1013
+ shapeName: string;
1014
+ args?: ParameterConfigForJsonV3_60_0;
1015
+ results?: ParameterConfigForJsonV3_60_0;
1016
+ }
1017
+ export interface ShapedbResolverOptionsV3_60_0 {
1018
+ [k: string]: any;
1019
+ }
1020
+ /**
1021
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1022
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
1023
+ */
1024
+ export interface ShapedbResolverShapeNameNotRequiredV3_60_0 {
1025
+ if?: string;
1026
+ id?: string;
1027
+ name: ShapedbResolverShapeNameNotRequiredNameV3_60_0;
1028
+ /**
1029
+ * Internal service identifier.
1030
+ */
1031
+ service: 'shapedb';
1032
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_60_0;
1033
+ /**
1034
+ * An optional Shape name for the resolver.
1035
+ */
1036
+ shapeName?: string;
1037
+ args?: ParameterConfigForJsonV3_60_0;
1038
+ results?: ParameterConfigForJsonV3_60_0;
1039
+ argsMapping?: ArgsMappingV3_60_0;
1040
+ resultsMapping?: ResultsMappingV3_60_0;
1041
+ }
1042
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_60_0 {
1043
+ [k: string]: any;
1044
+ }
1045
+ /**
1046
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1047
+ * via the `definition` "graphqlResolver".
1048
+ */
1049
+ export interface GraphqlResolverV3_60_0 {
1050
+ if?: string;
1051
+ id?: string;
1052
+ name: GraphqlResolverNameV3_60_0;
1053
+ /**
1054
+ * Configuration for a service to use with this resolver.
1055
+ */
1056
+ service: string;
1057
+ argsMapping?: ArgsMappingV3_60_0;
1058
+ resultsMapping?: ResultsMappingV3_60_0;
1059
+ options?: GraphqlResolverOptionsV3_60_0;
1060
+ /**
1061
+ * A fieldname to use in queries.
1062
+ */
1063
+ fieldName: string;
1064
+ headers?: ParameterConfigForHeadersV3_60_0;
1065
+ searchParams?: ParameterConfigForSearchParamsV3_60_0;
1066
+ args?: ParameterConfigForJsonV3_60_0;
1067
+ results?: ParameterConfigForJsonV3_60_0;
1068
+ }
1069
+ export interface GraphqlResolverOptionsV3_60_0 {
1070
+ selectionSet?: string;
1071
+ unboxParentSelectionSet?: boolean;
1072
+ ignoreErrors?: boolean;
1073
+ skipWhenMissingArgs?: boolean;
1074
+ ttl?: number;
1075
+ timeout?: number;
1076
+ allowStream?: boolean;
1077
+ retry?: number | {
1078
+ [k: string]: any;
1079
+ };
1080
+ [k: string]: any;
1081
+ }
1082
+ /**
1083
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1084
+ * via the `definition` "parameterConfigForHeaders".
1085
+ */
1086
+ export interface ParameterConfigForHeadersV3_60_0 {
1087
+ ops: ParameterOpListV3_60_0;
1088
+ serialize?: ParameterSerializeConfigForHeadersV3_60_0;
1089
+ }
1090
+ /**
1091
+ * Top-level paths to use headers serialization options for.
1092
+ *
1093
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1094
+ * via the `definition` "parameterSerializeConfigForHeaders".
1095
+ */
1096
+ export interface ParameterSerializeConfigForHeadersV3_60_0 {
1097
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1098
+ paths?: {
1099
+ /**
1100
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1101
+ * via the `patternProperty` "^[^\n\r]*$".
1102
+ */
1103
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1104
+ };
1105
+ }
1106
+ /**
1107
+ * Options to be passed to the serialization routine.
1108
+ *
1109
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1110
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
1111
+ */
1112
+ export interface ParameterSerializeStyleOptionsForHeadersV3_60_0 {
1113
+ style: 'simple' | 'none';
1114
+ explode?: boolean;
1115
+ }
1116
+ /**
1117
+ * Options to be passed to the serialization routine.
1118
+ *
1119
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1120
+ * via the `definition` "parameterSerializeContentOptions".
1121
+ */
1122
+ export interface ParameterSerializeContentOptionsV3_60_0 {
1123
+ contentType: string;
1124
+ /**
1125
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1126
+ */
1127
+ allowReserved?: boolean;
1128
+ skipEncoding?: boolean;
1129
+ /**
1130
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1131
+ */
1132
+ options?: {
1133
+ [k: string]: any;
1134
+ };
1135
+ }
1136
+ /**
1137
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1138
+ * via the `definition` "parameterConfigForSearchParams".
1139
+ */
1140
+ export interface ParameterConfigForSearchParamsV3_60_0 {
1141
+ ops: ParameterOpListV3_60_0;
1142
+ serialize?: ParameterSerializeConfigForSearchParamsV3_60_0;
1143
+ }
1144
+ /**
1145
+ * Top-level paths to use search params serialization options for.
1146
+ *
1147
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1148
+ * via the `definition` "parameterSerializeConfigForSearchParams".
1149
+ */
1150
+ export interface ParameterSerializeConfigForSearchParamsV3_60_0 {
1151
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1152
+ paths?: {
1153
+ /**
1154
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1155
+ * via the `patternProperty` "^[^\n\r]*$".
1156
+ */
1157
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1158
+ };
1159
+ }
1160
+ /**
1161
+ * Options to be passed to the serialization routine.
1162
+ *
1163
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1164
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1165
+ */
1166
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_60_0 {
1167
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1168
+ explode?: boolean;
1169
+ allowEmptyValue?: boolean;
1170
+ /**
1171
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1172
+ */
1173
+ allowReserved?: boolean;
1174
+ skipEncoding?: boolean;
1175
+ }
1176
+ /**
1177
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1178
+ * via the `definition` "restResolver".
1179
+ */
1180
+ export interface RestResolverV3_60_0 {
1181
+ if?: string;
1182
+ id?: string;
1183
+ name: RestResolverNameV3_60_0;
1184
+ /**
1185
+ * Configuration for a service to use with this resolver.
1186
+ */
1187
+ service: string;
1188
+ argsMapping?: ArgsMappingV3_60_0;
1189
+ searchParamsMapping?: SearchParamsMappingV3_60_0;
1190
+ resultsMapping?: ResultsMappingV3_60_0;
1191
+ options?: RestResolverOptionsV3_60_0;
1192
+ body?: ParameterConfigForBodyV3_60_0;
1193
+ form?: ParameterConfigForSearchParamsV3_60_0;
1194
+ headers?: ParameterConfigForHeadersV3_60_0;
1195
+ json?: ParameterConfigForJsonV3_60_0;
1196
+ /**
1197
+ * Mapping and serialization configuration for the path, or a simple string.
1198
+ */
1199
+ path: ParameterConfigForPathParamsV3_60_0 | string;
1200
+ searchParams?: ParameterConfigForSearchParamsV3_60_0;
1201
+ args?: ParameterConfigForJsonV3_60_0;
1202
+ results?: ParameterConfigForJsonV3_60_0;
1203
+ }
1204
+ export interface RestResolverOptionsV3_60_0 {
1205
+ trailingSlash?: boolean;
1206
+ allowStream?: boolean;
1207
+ ttl?: number;
1208
+ timeout?: number;
1209
+ retry?: number | {
1210
+ [k: string]: any;
1211
+ };
1212
+ [k: string]: any;
1213
+ }
1214
+ /**
1215
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1216
+ * via the `definition` "parameterConfigForBody".
1217
+ */
1218
+ export interface ParameterConfigForBodyV3_60_0 {
1219
+ ops: ParameterOpListV3_60_0;
1220
+ serialize?: ParameterSerializeConfigForBodyV3_60_0;
1221
+ }
1222
+ /**
1223
+ * Top-level paths to use serialization options for.
1224
+ *
1225
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1226
+ * via the `definition` "parameterSerializeConfigForBody".
1227
+ */
1228
+ export interface ParameterSerializeConfigForBodyV3_60_0 {
1229
+ content?: ParameterSerializeContentOptionsV3_60_0;
1230
+ }
1231
+ /**
1232
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1233
+ * via the `definition` "parameterConfigForPathParams".
1234
+ */
1235
+ export interface ParameterConfigForPathParamsV3_60_0 {
1236
+ ops: ParameterOpListV3_60_0;
1237
+ serialize: ParameterSerializeConfigForPathParamsV3_60_0;
1238
+ }
1239
+ /**
1240
+ * Top-level paths to use path params serialization options for.
1241
+ *
1242
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1243
+ * via the `definition` "parameterSerializeConfigForPathParams".
1244
+ */
1245
+ export interface ParameterSerializeConfigForPathParamsV3_60_0 {
1246
+ /**
1247
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1248
+ */
1249
+ template: string;
1250
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1251
+ paths?: {
1252
+ /**
1253
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1254
+ * via the `patternProperty` "^[^\n\r]*$".
1255
+ */
1256
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_60_0 | ParameterSerializeContentOptionsV3_60_0;
1257
+ };
1258
+ }
1259
+ /**
1260
+ * Options to be passed to the serialization routine.
1261
+ *
1262
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1263
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1264
+ */
1265
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_60_0 {
1266
+ style: 'simple' | 'label' | 'matrix' | 'none';
1267
+ explode?: boolean;
1268
+ allowEmptyValue?: boolean;
1269
+ /**
1270
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1271
+ */
1272
+ allowReserved?: boolean;
1273
+ skipEncoding?: boolean;
1274
+ }
1275
+ /**
1276
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1277
+ * via the `definition` "awsLambdaResolver".
1278
+ */
1279
+ export interface AwsLambdaResolverV3_60_0 {
1280
+ if?: string;
1281
+ id?: string;
1282
+ name: AwsLambdaResolverNameV3_60_0;
1283
+ /**
1284
+ * Configuration for a service to use with this resolver.
1285
+ */
1286
+ service: string;
1287
+ options?: AwsLambdaResolverOptionsV3_60_0;
1288
+ payload?: ParameterConfigForJsonV3_60_0;
1289
+ /**
1290
+ * Mapping configuration for the FunctionName.
1291
+ */
1292
+ functionName: string | ParameterConfigForAwsLambdaV3_60_0;
1293
+ clientContext?: ParameterConfigForJsonV3_60_0;
1294
+ args?: ParameterConfigForJsonV3_60_0;
1295
+ results?: ParameterConfigForJsonV3_60_0;
1296
+ argsMapping?: ArgsMappingV3_60_0;
1297
+ searchParamsMapping?: SearchParamsMappingV3_60_0;
1298
+ resultsMapping?: ResultsMappingV3_60_0;
1299
+ }
1300
+ export interface AwsLambdaResolverOptionsV3_60_0 {
1301
+ [k: string]: any;
1302
+ }
1303
+ /**
1304
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1305
+ * via the `definition` "parameterConfigForAwsLambda".
1306
+ */
1307
+ export interface ParameterConfigForAwsLambdaV3_60_0 {
1308
+ ops: ParameterOpListV3_60_0;
1309
+ serialize: ParameterSerializeConfigForPathParamsV3_60_0;
1310
+ }
1311
+ /**
1312
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1313
+ * via the `definition` "salsifyResolver".
1314
+ */
1315
+ export interface SalsifyResolverV3_60_0 {
1316
+ if?: string;
1317
+ id?: string;
1318
+ name: SalsifyResolverNameV3_60_0;
1319
+ /**
1320
+ * Configuration for a service to use with this resolver.
1321
+ */
1322
+ service: string;
1323
+ options?: SalsifyResolverOptionsV3_60_0;
1324
+ args?: ParameterConfigForJsonV3_60_0;
1325
+ results?: ParameterConfigForJsonV3_60_0;
1326
+ argsMapping?: ArgsMappingV3_60_0;
1327
+ resultsMapping?: ResultsMappingV3_60_0;
1328
+ }
1329
+ export interface SalsifyResolverOptionsV3_60_0 {
1330
+ [k: string]: any;
1331
+ }
1332
+ /**
1333
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1334
+ * via the `definition` "syndigoResolver".
1335
+ */
1336
+ export interface SyndigoResolverV3_60_0 {
1337
+ if?: string;
1338
+ id?: string;
1339
+ name: SyndigoResolverNameV3_60_0;
1340
+ /**
1341
+ * Configuration for a service to use with this resolver.
1342
+ */
1343
+ service: string;
1344
+ options?: SyndigoResolverOptionsV3_60_0;
1345
+ args?: ParameterConfigForJsonV3_60_0;
1346
+ results?: ParameterConfigForJsonV3_60_0;
1347
+ argsMapping?: ArgsMappingV3_60_0;
1348
+ resultsMapping?: ResultsMappingV3_60_0;
1349
+ }
1350
+ export interface SyndigoResolverOptionsV3_60_0 {
1351
+ [k: string]: any;
1352
+ }
1353
+ /**
1354
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1355
+ * via the `definition` "functionResolver".
1356
+ */
1357
+ export interface FunctionResolverV3_60_0 {
1358
+ if?: string;
1359
+ id?: string;
1360
+ name: FunctionResolverNameV3_60_0;
1361
+ options?: FunctionResolverOptionsV3_60_0;
1362
+ args?: ParameterConfigForJsonV3_60_0;
1363
+ results?: ParameterConfigForJsonV3_60_0;
1364
+ argsMapping?: ArgsMappingV3_60_0;
1365
+ resultsMapping?: ResultsMappingV3_60_0;
1366
+ javascript?: FunctionResolverJavascriptV3_60_0;
1367
+ }
1368
+ export interface FunctionResolverOptionsV3_60_0 {
1369
+ [k: string]: any;
1370
+ }
1371
+ /**
1372
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1373
+ * via the `definition` "aiGenerateTextResolver".
1374
+ */
1375
+ export interface AIGenerateTextResolverV3_60_0 {
1376
+ if?: string;
1377
+ id?: string;
1378
+ name: AIResolverNameV3_60_0;
1379
+ /**
1380
+ * Configuration for a service to use with this resolver.
1381
+ */
1382
+ service: string;
1383
+ options?: AIGenerateTextResolverOptionsV3_60_0;
1384
+ systemPrompt: string;
1385
+ inputTemplate?: string;
1386
+ model: string;
1387
+ tools?: AgentToolConfigV3_60_0[];
1388
+ guardrails?: AIGuardrailV3_60_0[];
1389
+ context?: ParameterConfigForJsonV3_60_0;
1390
+ results?: ParameterConfigForJsonV3_60_0;
1391
+ }
1392
+ /**
1393
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1394
+ * via the `definition` "aiGenerateTextResolverOptions".
1395
+ */
1396
+ export interface AIGenerateTextResolverOptionsV3_60_0 {
1397
+ history?: HistoryV3_60_0;
1398
+ maxTokens?: MaximumTokensV3_60_0;
1399
+ temperature?: TemperatureV3_60_0;
1400
+ topP?: TopPV3_60_0;
1401
+ topK?: TopKV3_60_0;
1402
+ presencePenalty?: PresencePenaltySettingV3_60_0;
1403
+ frequencyPenalty?: FrequencyPenaltySettingV3_60_0;
1404
+ stopSequences?: StopSequencesV3_60_0;
1405
+ seed?: SeedV3_60_0;
1406
+ /**
1407
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1408
+ */
1409
+ maxRetries?: number;
1410
+ /**
1411
+ * The tool choice strategy. Default: 'auto'
1412
+ */
1413
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1414
+ /**
1415
+ * Maximal number of automatic roundtrips for tool calls.
1416
+ */
1417
+ maxToolRoundtrips?: number;
1418
+ [k: string]: any;
1419
+ }
1420
+ /**
1421
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1422
+ * via the `definition` "agentToolConfig".
1423
+ */
1424
+ export interface AgentToolConfigV3_60_0 {
1425
+ tool: string;
1426
+ alias?: string;
1427
+ description?: string;
1428
+ argBindings?: AgentToolConfigArgV3_60_0[];
1429
+ }
1430
+ /**
1431
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1432
+ * via the `definition` "agentToolConfigArgAgent".
1433
+ */
1434
+ export interface AgentControlledV3_60_0 {
1435
+ type: 'agent';
1436
+ argName: ToolArgumentNameV3_60_0;
1437
+ }
1438
+ /**
1439
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1440
+ * via the `definition` "agentToolConfigArgVariable".
1441
+ */
1442
+ export interface VariableValueV3_60_0 {
1443
+ type: 'variable';
1444
+ argName: ToolArgumentNameV3_60_01;
1445
+ variableName: StateVariableNameV3_60_0;
1446
+ }
1447
+ /**
1448
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1449
+ * via the `definition` "aiSimilarityGuardrail".
1450
+ */
1451
+ export interface AISimilarityGuardrailV3_60_0 {
1452
+ name: 'similarity';
1453
+ shape: string;
1454
+ defaultResponse: string;
1455
+ threshold?: number;
1456
+ }
1457
+ /**
1458
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1459
+ * via the `definition` "aiGeneratePropertyResolver".
1460
+ */
1461
+ export interface AIGeneratePropertyResolverV3_60_0 {
1462
+ id?: string;
1463
+ name: AIResolverNameV3_60_01;
1464
+ /**
1465
+ * Configuration for a service to use with this resolver.
1466
+ */
1467
+ service: string;
1468
+ model: string;
1469
+ systemPrompt?: string;
1470
+ }
1471
+ /**
1472
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1473
+ * via the `definition` "aiEmbeddingResolver".
1474
+ */
1475
+ export interface AIEmbeddingResolverV3_60_0 {
1476
+ if?: string;
1477
+ id?: string;
1478
+ name: AIResolverNameV3_60_02;
1479
+ /**
1480
+ * Configuration for a service to use with this resolver.
1481
+ */
1482
+ service: string;
1483
+ options?: AIEmbeddingResolverOptionsV3_60_0;
1484
+ model: string;
1485
+ args?: ParameterConfigForJsonV3_60_0;
1486
+ results?: ParameterConfigForJsonV3_60_0;
1487
+ }
1488
+ /**
1489
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1490
+ * via the `definition` "aiEmbeddingResolverOptions".
1491
+ */
1492
+ export interface AIEmbeddingResolverOptionsV3_60_0 {
1493
+ useDependencies?: boolean;
1494
+ [k: string]: any;
1495
+ }
1496
+ /**
1497
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1498
+ * via the `definition` "aiEmbeddingSearchResolver".
1499
+ */
1500
+ export interface AIEmbeddingSearchResolverV3_60_0 {
1501
+ if?: string;
1502
+ id?: string;
1503
+ name: AIResolverNameV3_60_03;
1504
+ /**
1505
+ * A vector property ref to use for the query.
1506
+ */
1507
+ vectorProperty: string;
1508
+ args?: ParameterConfigForJsonV3_60_0;
1509
+ results?: ParameterConfigForJsonV3_60_0;
1510
+ }
1511
+ /**
1512
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1513
+ * via the `definition` "aiParseFileResolver".
1514
+ */
1515
+ export interface AIParseFileResolverV3_60_0 {
1516
+ if?: string;
1517
+ id?: string;
1518
+ name: AIResolverNameV3_60_04;
1519
+ /**
1520
+ * Configuration for a service to use with this resolver.
1521
+ */
1522
+ service: string;
1523
+ options?: AIEmbeddingResolverOptionsV3_60_0;
1524
+ args?: ParameterConfigForJsonV3_60_0;
1525
+ results?: ParameterConfigForJsonV3_60_0;
1526
+ }
1527
+ /**
1528
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1529
+ * via the `definition` "utilChunkResolver".
1530
+ */
1531
+ export interface ChunkResolverV3_60_0 {
1532
+ if?: string;
1533
+ id?: string;
1534
+ name: UtilResolverNameV3_60_01;
1535
+ options: UtilChunkResolverOptionsV3_60_0;
1536
+ args?: ParameterConfigForJsonV3_60_0;
1537
+ results?: ParameterConfigForJsonV3_60_0;
1538
+ }
1539
+ /**
1540
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1541
+ * via the `definition` "utilChunkResolverOptionsCharacterCount".
1542
+ */
1543
+ export interface UtilChunkResolverOptionsCharacterCountV3_60_0 {
1544
+ type: 'characterCount';
1545
+ characterCount: number;
1546
+ }
1547
+ /**
1548
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1549
+ * via the `definition` "utilChunkResolverOptionsSeparators".
1550
+ */
1551
+ export interface UtilChunkResolverOptionsSeparatorsV3_60_0 {
1552
+ type: 'separators';
1553
+ separators: string[];
1554
+ }
1555
+ /**
1556
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1557
+ * via the `definition` "utilChunkResolverOptionsMarkdown".
1558
+ */
1559
+ export interface UtilChunkResolverOptionsMarkdownV3_60_0 {
1560
+ type: 'markdown';
1561
+ /**
1562
+ * New chunks will be created at headers for this level or lower. Default 2.
1563
+ */
1564
+ headerLevel?: number;
1565
+ /**
1566
+ * A new chunk will be started when this number of characters is reached, regardless of markup.
1567
+ */
1568
+ maxCharacters?: number;
1569
+ }
1570
+ /**
1571
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1572
+ * via the `definition` "utilChunkResolverOptionsSemantic".
1573
+ */
1574
+ export interface UtilChunkResolverOptionsSemanticV3_60_0 {
1575
+ type: 'semantic';
1576
+ serviceId: string;
1577
+ modelId: string;
1578
+ /**
1579
+ * Similarity below which two embeddings are considered different.
1580
+ */
1581
+ similarityThreshold?: number;
1582
+ /**
1583
+ * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1584
+ */
1585
+ stride?: number;
1586
+ /**
1587
+ * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1588
+ */
1589
+ sentenceCount?: number;
1590
+ /**
1591
+ * The maximum number of characters in a chunk.
1592
+ */
1593
+ maxCharacters?: number;
1594
+ /**
1595
+ * The maximum number of tokens in a chunk.
1596
+ */
1597
+ maxTokens?: number;
1598
+ }
1599
+ /**
1600
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1601
+ * via the `definition` "aiRunAgentResolver".
1602
+ */
1603
+ export interface AISendAgentMessageResolverV3_60_0 {
1604
+ id?: string;
1605
+ name: AIResolverNameV3_60_05;
1606
+ agentName: string;
1607
+ inputName: string;
1608
+ }
1609
+ /**
1610
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1611
+ * via the `definition` "aiInspectAgentResolver".
1612
+ */
1613
+ export interface AIInspectAgentResolverV3_60_0 {
1614
+ id?: string;
1615
+ name: AIResolverNameV3_60_06;
1616
+ agentName: string;
1617
+ }
1618
+ /**
1619
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1620
+ * via the `definition` "aiCreateAgentSessionResolver".
1621
+ */
1622
+ export interface AICreateAgentSessionResolverV3_60_0 {
1623
+ id?: string;
1624
+ name: AIResolverNameV3_60_07;
1625
+ agentName: string;
1626
+ }
1627
+ /**
1628
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1629
+ * via the `definition` "aiGetAgentMessageResolver".
1630
+ */
1631
+ export interface AIGetAgentMessageResolverV3_60_0 {
1632
+ id?: string;
1633
+ name: AIResolverNameV3_60_08;
1634
+ agentName: string;
1635
+ }
1636
+ /**
1637
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1638
+ * via the `definition` "aiAbortAgentMessageResolver".
1639
+ */
1640
+ export interface AIAbortAgentMessageResolverV3_60_0 {
1641
+ id?: string;
1642
+ name: AIResolverNameV3_60_09;
1643
+ agentName: string;
1644
+ }
1645
+ /**
1646
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1647
+ * via the `definition` "aiSendAgentFeedbackResolver".
1648
+ */
1649
+ export interface AISendAgentFeedbackResolverV3_60_0 {
1650
+ id?: string;
1651
+ name: AIResolverNameV3_60_010;
1652
+ agentName: string;
1653
+ }
1654
+ /**
1655
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1656
+ * via the `definition` "composeResolver".
1657
+ */
1658
+ export interface ComposeResolverV3_60_0 {
1659
+ compose: BasicResolverV3_60_0[];
1660
+ resultsMapping?: DirectiveMappingMapV3_60_0 | DirectiveConfigV3_60_0;
1661
+ results?: ParameterConfigForJsonV3_60_0;
1662
+ }
1663
+ /**
1664
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1665
+ * via the `definition` "indexed".
1666
+ */
1667
+ export interface IndexedV3_60_0 {
1668
+ nested?: boolean;
1669
+ }
1670
+ /**
1671
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1672
+ * via the `definition` "graphql".
1673
+ */
1674
+ export interface GraphQLConfigV3_60_0 {
1675
+ json?: boolean;
1676
+ }
1677
+ /**
1678
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1679
+ * via the `definition` "shapeMap".
1680
+ */
1681
+ export interface ShapeMapV3_60_0 {
1682
+ [k: string]: ShapeJSONV3_60_0;
1683
+ }
1684
+ /**
1685
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1686
+ *
1687
+ * This interface was referenced by `ShapeMapV3_60_0`'s JSON-Schema definition
1688
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1689
+ *
1690
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1691
+ * via the `definition` "shape".
1692
+ */
1693
+ export interface ShapeJSONV3_60_0 {
1694
+ /**
1695
+ * 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
1696
+ */
1697
+ name: string;
1698
+ /**
1699
+ * 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.
1700
+ */
1701
+ id: string;
1702
+ /**
1703
+ * The human-readable name for a Shape for use in a UI.
1704
+ */
1705
+ title: string;
1706
+ description?: string;
1707
+ type?: 'interface' | 'input' | 'output';
1708
+ interfaces?: string[];
1709
+ /**
1710
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1711
+ */
1712
+ model?: {
1713
+ type: ModelTypeV3_60_0;
1714
+ };
1715
+ workflow?: string;
1716
+ loaders?: ShapeLoadersV3_60_0;
1717
+ joins?: ShapeJoinsV3_60_0;
1718
+ cache?: ShapeCacheConfigV3_60_0;
1719
+ schema: ShapeSchemaV3_60_0;
1720
+ }
1721
+ /**
1722
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1723
+ * via the `definition` "shapeLoaders".
1724
+ */
1725
+ export interface ShapeLoadersV3_60_0 {
1726
+ list: StoredListQueryLoaderConfigV3_60_0 | StoredListQueryLoaderConfigV3_60_0[];
1727
+ get?: GetQueryLoaderConfigV3_60_0;
1728
+ }
1729
+ /**
1730
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1731
+ * via the `definition` "storedListQueryLoaderConfig".
1732
+ */
1733
+ export interface StoredListQueryLoaderConfigV3_60_0 {
1734
+ query: string;
1735
+ args?: {
1736
+ [k: string]: any;
1737
+ } | {
1738
+ [k: string]: any;
1739
+ }[];
1740
+ pagination?: PaginationConfigV3_60_0;
1741
+ }
1742
+ /**
1743
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1744
+ * via the `definition` "paginationCursorConfig".
1745
+ */
1746
+ export interface PaginationCursorConfigV3_60_0 {
1747
+ type: 'cursor';
1748
+ cursorArg: string;
1749
+ cursorPath: string;
1750
+ pageSize?: number;
1751
+ pageSizeArg: string;
1752
+ hasMorePath: string;
1753
+ itemsPath: string;
1754
+ }
1755
+ /**
1756
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1757
+ * via the `definition` "paginationPageConfig".
1758
+ */
1759
+ export interface PaginationPageConfigV3_60_0 {
1760
+ type: 'page';
1761
+ pageArg: string;
1762
+ pageSize?: number;
1763
+ pageSizeArg?: string;
1764
+ itemsPath: string;
1765
+ pageTotalPath: string;
1766
+ }
1767
+ /**
1768
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1769
+ * via the `definition` "paginationOffsetConfig".
1770
+ */
1771
+ export interface PaginationOffsetConfigV3_60_0 {
1772
+ type: 'offset';
1773
+ offsetArg: string;
1774
+ pageSize?: number;
1775
+ pageSizeArg?: string;
1776
+ itemsPath: string;
1777
+ itemTotalPath: string;
1778
+ }
1779
+ /**
1780
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1781
+ * via the `definition` "getQueryLoaderConfig".
1782
+ */
1783
+ export interface GetQueryLoaderConfigV3_60_0 {
1784
+ query: string;
1785
+ args?: {
1786
+ [k: string]: any;
1787
+ };
1788
+ idArg?: string;
1789
+ }
1790
+ /**
1791
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1792
+ * via the `definition` "shapeJoins".
1793
+ */
1794
+ export interface ShapeJoinsV3_60_0 {
1795
+ [k: string]: ShapeJoinV3_60_0;
1796
+ }
1797
+ /**
1798
+ * This interface was referenced by `ShapeJoinsV3_60_0`'s JSON-Schema definition
1799
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1800
+ *
1801
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1802
+ * via the `definition` "shapeJoin".
1803
+ */
1804
+ export interface ShapeJoinV3_60_0 {
1805
+ resolver: DelegateResolverV3_60_0 | ShapedbResolverV3_60_0;
1806
+ dependencies?: string;
1807
+ }
1808
+ /**
1809
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1810
+ * via the `definition` "shapeCacheConfig".
1811
+ */
1812
+ export interface ShapeCacheConfigV3_60_0 {
1813
+ enabled: boolean;
1814
+ idField?: string;
1815
+ searchSummaryField?: string;
1816
+ fragment?: CachedFragmentConfigV3_60_0;
1817
+ triggers?: CacheTriggerConfigV3_60_0[];
1818
+ /**
1819
+ * Number of seconds this Shape should be cached. Default 0.
1820
+ */
1821
+ maxAge?: number;
1822
+ /**
1823
+ * Requests after maxAge will send a request to origin to revalidate while serving stale content for this duration in the meantime.
1824
+ */
1825
+ staleWhileRevalidate?: number;
1826
+ }
1827
+ /**
1828
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1829
+ * via the `definition` "cachedFragmentConfig".
1830
+ */
1831
+ export interface CachedFragmentConfigV3_60_0 {
1832
+ ignoreFields?: string[];
1833
+ maxDepth?: number;
1834
+ selectionSet?: string;
1835
+ includeDeprecated?: boolean;
1836
+ }
1837
+ /**
1838
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1839
+ * via the `definition` "cacheScheduleTriggerConfig".
1840
+ */
1841
+ export interface CacheScheduleTriggerConfigV3_60_0 {
1842
+ type: 'schedule';
1843
+ loader: 'get' | 'list';
1844
+ interval: number;
1845
+ }
1846
+ /**
1847
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1848
+ * via the `definition` "cacheWebhookTriggerConfig".
1849
+ */
1850
+ export interface CacheWebhookTriggerConfigV3_60_0 {
1851
+ type: 'webhook';
1852
+ loader: 'get' | 'list';
1853
+ service: string;
1854
+ events: string[];
1855
+ }
1856
+ /**
1857
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1858
+ * via the `definition` "shapeSchemaAllOf".
1859
+ */
1860
+ export interface ShapeSchemaAllOfV3_60_0 {
1861
+ allOf: ObjectOrRefArrayV3_60_0;
1862
+ }
1863
+ /**
1864
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1865
+ * via the `definition` "shapeSchemaExtends".
1866
+ */
1867
+ export interface ShapeSchemaExtendsV3_60_0 {
1868
+ extends: ObjectOrRefArrayV3_60_0;
1869
+ }
1870
+ /**
1871
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1872
+ * via the `definition` "shapeSchemaOneOf".
1873
+ */
1874
+ export interface ShapeSchemaOneOfV3_60_0 {
1875
+ title?: string;
1876
+ description?: string;
1877
+ discriminator?: {
1878
+ propertyName: string;
1879
+ [k: string]: any;
1880
+ };
1881
+ oneOf: ObjectOrRefArrayV3_60_0;
1882
+ }
1883
+ /**
1884
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1885
+ * via the `definition` "shapeSchemaEnum".
1886
+ */
1887
+ export interface ShapeSchemaEnumV3_60_0 {
1888
+ enum: any[];
1889
+ }
1890
+ /**
1891
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1892
+ * via the `definition` "shapeSchemaAny".
1893
+ */
1894
+ export interface ShapeSchemaAnyV3_60_0 {
1895
+ }
1896
+ /**
1897
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1898
+ * via the `definition` "formMap".
1899
+ */
1900
+ export interface FormMapV3_60_0 {
1901
+ [k: string]: FormsConfigV3_60_0;
1902
+ }
1903
+ /**
1904
+ * This interface was referenced by `FormMapV3_60_0`'s JSON-Schema definition
1905
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1906
+ *
1907
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1908
+ * via the `definition` "formsConfig".
1909
+ */
1910
+ export interface FormsConfigV3_60_0 {
1911
+ default: FormConfigV3_60_0;
1912
+ [k: string]: FormConfigV3_60_0;
1913
+ }
1914
+ /**
1915
+ * This interface was referenced by `FormsConfigV3_60_0`'s JSON-Schema definition
1916
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1917
+ *
1918
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1919
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1920
+ *
1921
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1922
+ * via the `definition` "formConfig".
1923
+ */
1924
+ export interface FormConfigV3_60_0 {
1925
+ [k: string]: any;
1926
+ }
1927
+ /**
1928
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1929
+ * via the `definition` "workflowMap".
1930
+ */
1931
+ export interface WorkflowMapV3_60_0 {
1932
+ [k: string]: WorkflowV3_60_0;
1933
+ }
1934
+ /**
1935
+ * This interface was referenced by `WorkflowMapV3_60_0`'s JSON-Schema definition
1936
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1937
+ *
1938
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1939
+ * via the `definition` "workflow".
1940
+ */
1941
+ export interface WorkflowV3_60_0 {
1942
+ /**
1943
+ * machine-readable id
1944
+ */
1945
+ name: string;
1946
+ title: WorkflowNameV3_60_0;
1947
+ steps: StepsV3_60_0;
1948
+ [k: string]: any;
1949
+ }
1950
+ /**
1951
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1952
+ * via the `definition` "workflowStep".
1953
+ */
1954
+ export interface WorkflowStepV3_60_0 {
1955
+ name: NameV3_60_0;
1956
+ title: TitleV3_60_0;
1957
+ description?: DescriptionV3_60_0;
1958
+ color: ColorV3_60_0;
1959
+ live: LiveV3_60_0;
1960
+ key: KeyV3_60_0;
1961
+ }
1962
+ /**
1963
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1964
+ * via the `definition` "storedServiceMap".
1965
+ */
1966
+ export interface ServiceMapJSONV3_60_0 {
1967
+ [k: string]: ServiceConfigJSONV3_60_0;
1968
+ }
1969
+ /**
1970
+ * This interface was referenced by `ServiceMapJSONV3_60_0`'s JSON-Schema definition
1971
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1972
+ *
1973
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
1974
+ * via the `definition` "storedServiceConfig".
1975
+ */
1976
+ export interface ServiceConfigJSONV3_60_0 {
1977
+ /**
1978
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1979
+ */
1980
+ id: string;
1981
+ /**
1982
+ * Human-readable name for this service.
1983
+ */
1984
+ title: string;
1985
+ /**
1986
+ * The service provider id.
1987
+ */
1988
+ provider: string;
1989
+ /**
1990
+ * A namespace to use for the imported types tied to this service.
1991
+ */
1992
+ namespace?: string;
1993
+ serviceType: ServiceTypeV3_60_0;
1994
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
1995
+ authentication?: string;
1996
+ healthCheck?: ServiceHealthCheckV3_60_0;
1997
+ webhookId?: string;
1998
+ /**
1999
+ * Configuration options passed to and handled by the provider.
2000
+ */
2001
+ options?: {
2002
+ [k: string]: any;
2003
+ };
2004
+ }
2005
+ /**
2006
+ * Configuration for ping health checks.
2007
+ *
2008
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2009
+ * via the `definition` "serviceHealthCheck".
2010
+ */
2011
+ export interface ServiceHealthCheckV3_60_0 {
2012
+ checkName: CheckNameV3_60_0;
2013
+ endpoint?: EndpointV3_60_0;
2014
+ requestMethod?: RequestMethodV3_60_0;
2015
+ requestHeaders?: RequestHeadersV3_60_0;
2016
+ requestSearchParams?: RequestSearchParamsV3_60_0;
2017
+ requestBody?: RequestBodyV3_60_0;
2018
+ requestBodyFormat?: RequestBodyFormatV3_60_0;
2019
+ requestTimeout?: RequestTimeoutV3_60_0;
2020
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_60_0;
2021
+ triggers?: ServiceHealthCheckTriggerV3_60_0[];
2022
+ }
2023
+ /**
2024
+ * Any custom headers to set with the health check request.
2025
+ */
2026
+ export interface RequestHeadersV3_60_0 {
2027
+ [k: string]: any;
2028
+ }
2029
+ /**
2030
+ * Any custom search params to set with the health check request.
2031
+ */
2032
+ export interface RequestSearchParamsV3_60_0 {
2033
+ [k: string]: any;
2034
+ }
2035
+ /**
2036
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2037
+ * via the `definition` "agentMap".
2038
+ */
2039
+ export interface AgentMapV3_60_0 {
2040
+ [k: string]: AgentJSONV3_60_0;
2041
+ }
2042
+ /**
2043
+ * An Agent is a configuration for an AI service such as a chat bot or a search engine.
2044
+ *
2045
+ * This interface was referenced by `AgentMapV3_60_0`'s JSON-Schema definition
2046
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2047
+ *
2048
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2049
+ * via the `definition` "agent".
2050
+ */
2051
+ export interface AgentJSONV3_60_0 {
2052
+ title?: string;
2053
+ description?: string;
2054
+ disabled?: boolean;
2055
+ systemPrompt?: string;
2056
+ api: AgentAPIV3_60_0;
2057
+ memory?: AgentMemoryV3_60_0;
2058
+ start: AgentStartV3_60_0;
2059
+ states: AgentStatesV3_60_0;
2060
+ guards?: AgentGuardV3_60_0[];
2061
+ historyStrategies?: HistoryStrategyMapV3_60_0;
2062
+ protection?: AgentProtectionV3_60_0;
2063
+ }
2064
+ /**
2065
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2066
+ * via the `definition` "agentApi".
2067
+ */
2068
+ export interface AgentAPIV3_60_0 {
2069
+ inputs: AgentAPIInputV3_60_0[];
2070
+ }
2071
+ /**
2072
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2073
+ * via the `definition` "agentApiMutationInput".
2074
+ */
2075
+ export interface AgentAPIMutationInputV3_60_0 {
2076
+ type: 'mutation';
2077
+ name: string;
2078
+ args: string;
2079
+ interactionTimeout?: InteractionTimeoutMillisecondsV3_60_0;
2080
+ }
2081
+ /**
2082
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2083
+ * via the `definition` "agentMemory".
2084
+ */
2085
+ export interface AgentMemoryV3_60_0 {
2086
+ sessionMemory: AgentSessionMemoryV3_60_0;
2087
+ }
2088
+ /**
2089
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2090
+ * via the `definition` "agentSessionMemory".
2091
+ */
2092
+ export interface AgentSessionMemoryV3_60_0 {
2093
+ shape?: string;
2094
+ }
2095
+ /**
2096
+ * Configuration for the start of an agent's execution
2097
+ *
2098
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2099
+ * via the `definition` "agentStart".
2100
+ */
2101
+ export interface AgentStartV3_60_0 {
2102
+ transitions: AgentTransitionSuspendV3_60_0[];
2103
+ }
2104
+ /**
2105
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2106
+ * via the `definition` "agentTransitionSuspend".
2107
+ */
2108
+ export interface AgentTransitionSuspendV3_60_0 {
2109
+ type: 'suspend';
2110
+ destination: string;
2111
+ input: string;
2112
+ condition?: string;
2113
+ limit?: number;
2114
+ sessionMemory?: AgentStateSessionMemoryV3_60_0;
2115
+ historyStrategy?: string;
2116
+ }
2117
+ /**
2118
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2119
+ * via the `definition` "agentStateSessionMemoryAssignment".
2120
+ */
2121
+ export interface AgentStateSessionMemoryAssignmentV3_60_0 {
2122
+ memoryPath?: string;
2123
+ expression: string;
2124
+ }
2125
+ /**
2126
+ * States that are traversed during the execution of an agent.
2127
+ *
2128
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2129
+ * via the `definition` "agentStateMap".
2130
+ */
2131
+ export interface AgentStatesV3_60_0 {
2132
+ [k: string]: AgentStateV3_60_0;
2133
+ }
2134
+ /**
2135
+ * One step of an agent's execution.
2136
+ *
2137
+ * This interface was referenced by `AgentStatesV3_60_0`'s JSON-Schema definition
2138
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2139
+ *
2140
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2141
+ * via the `definition` "agentState".
2142
+ */
2143
+ export interface AgentStateV3_60_0 {
2144
+ name: string;
2145
+ variables?: VariablesV3_60_0;
2146
+ execution: AgentExecutionV3_60_0;
2147
+ transitions?: AgentTransitionV3_60_0[];
2148
+ }
2149
+ /**
2150
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2151
+ * via the `definition` "agentVariable".
2152
+ */
2153
+ export interface AgentVariableV3_60_0 {
2154
+ name: string;
2155
+ /**
2156
+ * These are evaluated in order until a value is found.
2157
+ */
2158
+ steps: AgentVariableStepV3_60_0[];
2159
+ }
2160
+ /**
2161
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2162
+ * via the `definition` "agentVariableStep".
2163
+ */
2164
+ export interface AgentVariableStepV3_60_0 {
2165
+ condition?: string;
2166
+ expression: string;
2167
+ }
2168
+ /**
2169
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2170
+ * via the `definition` "agentExecutionGraphql".
2171
+ */
2172
+ export interface AgentExecutionGraphQLV3_60_0 {
2173
+ type: 'graphql';
2174
+ query: string;
2175
+ path?: string;
2176
+ }
2177
+ /**
2178
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2179
+ * via the `definition` "agentExecutionGenerate".
2180
+ */
2181
+ export interface AgentExecutionGenerateV3_60_0 {
2182
+ type: 'generate';
2183
+ service: string;
2184
+ model: string;
2185
+ systemPrompt?: string;
2186
+ input: AgentAIStateInputV3_60_0;
2187
+ attachments?: AgentAIStateAttachmentsV3_60_0;
2188
+ outputShape?: string;
2189
+ tools?: AgentToolConfigV3_60_0[];
2190
+ memoryTools?: MemoryToolJSONV3_60_0[];
2191
+ options?: AgentGenerateOptionsV3_60_0;
2192
+ }
2193
+ /**
2194
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2195
+ * via the `definition` "agentAiStateInputArg".
2196
+ */
2197
+ export interface AgentAIStateInputArgumentV3_60_0 {
2198
+ type: 'arg';
2199
+ }
2200
+ /**
2201
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2202
+ * via the `definition` "agentAiStateInputTemplate".
2203
+ */
2204
+ export interface AgentAIStateInputTemplateV3_60_0 {
2205
+ type: 'template';
2206
+ inputTemplate: string;
2207
+ }
2208
+ /**
2209
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2210
+ * via the `definition` "agentAiStateAttachmentsNone".
2211
+ */
2212
+ export interface AgentAIStateAttachmentsNoneV3_60_0 {
2213
+ type: 'none';
2214
+ }
2215
+ /**
2216
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2217
+ * via the `definition` "agentAiStateAttachmentsArg".
2218
+ */
2219
+ export interface AgentAIStateAttachmentsArgV3_60_0 {
2220
+ type: 'arg';
2221
+ }
2222
+ /**
2223
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2224
+ * via the `definition` "agentAiStateAttachmentsExpression".
2225
+ */
2226
+ export interface AgentAIStateAttachmentsExpressionV3_60_0 {
2227
+ type: 'expression';
2228
+ expression: string;
2229
+ }
2230
+ /**
2231
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2232
+ * via the `definition` "memoryTool".
2233
+ */
2234
+ export interface MemoryToolJSONV3_60_0 {
2235
+ name: string;
2236
+ description?: string;
2237
+ args?: string;
2238
+ operation: 'set' | 'merge' | 'add' | 'clear' | 'get' | 'search' | 'remove' | 'update';
2239
+ path?: string;
2240
+ }
2241
+ /**
2242
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2243
+ * via the `definition` "agentGenerateOptions".
2244
+ */
2245
+ export interface AgentGenerateOptionsV3_60_0 {
2246
+ history?: HistoryV3_60_01;
2247
+ maxTokens?: MaximumTokensV3_60_01;
2248
+ temperature?: TemperatureV3_60_01;
2249
+ topP?: TopPV3_60_01;
2250
+ topK?: TopKV3_60_01;
2251
+ presencePenalty?: PresencePenaltySettingV3_60_01;
2252
+ frequencyPenalty?: FrequencyPenaltySettingV3_60_01;
2253
+ stopSequences?: StopSequencesV3_60_01;
2254
+ seed?: SeedV3_60_01;
2255
+ /**
2256
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
2257
+ */
2258
+ maxRetries?: number;
2259
+ /**
2260
+ * The tool choice strategy. Default: 'auto'
2261
+ */
2262
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
2263
+ maxToolRoundtrips?: MaxToolRoundtripsV3_60_0;
2264
+ structuredOutputs?: StructuredOutputsV3_60_0;
2265
+ enableOpenAIFormat?: EnableOpenAISchemaFormatV3_60_0;
2266
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_60_0;
2267
+ stripMarkdown?: StripMarkdownV3_60_0;
2268
+ }
2269
+ /**
2270
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2271
+ * via the `definition` "agentExecutionChat".
2272
+ */
2273
+ export interface AgentExecutionChatV3_60_0 {
2274
+ type: 'chat';
2275
+ service: string;
2276
+ model: string;
2277
+ systemPrompt?: string;
2278
+ input: AgentAIStateInputV3_60_0;
2279
+ attachments?: AgentAIStateAttachmentsV3_60_0;
2280
+ artifact?: string;
2281
+ tools?: AgentToolConfigV3_60_0[];
2282
+ memoryTools?: MemoryToolJSONV3_60_0[];
2283
+ options?: AgentGenerateOptionsV3_60_0;
2284
+ }
2285
+ /**
2286
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2287
+ * via the `definition` "agentTransitionImmediate".
2288
+ */
2289
+ export interface AgentTransitionImmediateV3_60_0 {
2290
+ type: 'immediate';
2291
+ destination: string;
2292
+ condition?: string;
2293
+ limit?: number;
2294
+ sessionMemory?: AgentStateSessionMemoryV3_60_01;
2295
+ historyStrategy?: string;
2296
+ }
2297
+ /**
2298
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2299
+ * via the `definition` "agentGuard".
2300
+ */
2301
+ export interface AgentGuardV3_60_0 {
2302
+ guardId: GuardIDV3_60_0;
2303
+ }
2304
+ /**
2305
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2306
+ * via the `definition` "historyStrategyMap".
2307
+ */
2308
+ export interface HistoryStrategyMapV3_60_0 {
2309
+ [k: string]: HistoryStrategyV3_60_0;
2310
+ }
2311
+ /**
2312
+ * This interface was referenced by `HistoryStrategyMapV3_60_0`'s JSON-Schema definition
2313
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2314
+ *
2315
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2316
+ * via the `definition` "historyStrategy".
2317
+ */
2318
+ export interface HistoryStrategyV3_60_0 {
2319
+ name: string;
2320
+ variables?: VariablesV3_60_01;
2321
+ filter?: HistoryStrategyFilterV3_60_0;
2322
+ transform: HistoryStrategyTransformV3_60_0;
2323
+ }
2324
+ /**
2325
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2326
+ * via the `definition` "historyStrategyFilter".
2327
+ */
2328
+ export interface HistoryStrategyFilterV3_60_0 {
2329
+ toolCalls?: 'retain' | 'clear';
2330
+ }
2331
+ /**
2332
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2333
+ * via the `definition` "historyStrategyTransformNone".
2334
+ */
2335
+ export interface HistoryStrategyTransformNoneV3_60_0 {
2336
+ type: 'none';
2337
+ }
2338
+ /**
2339
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2340
+ * via the `definition` "historyStrategyTransformReplace".
2341
+ */
2342
+ export interface HistoryStrategyTransformReplaceV3_60_0 {
2343
+ type: 'replace';
2344
+ template: string;
2345
+ }
2346
+ /**
2347
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2348
+ * via the `definition` "historyStrategyTransformSummarize".
2349
+ */
2350
+ export interface HistoryStrategyTransformSummarizeV3_60_0 {
2351
+ type: 'generate';
2352
+ service: string;
2353
+ model: string;
2354
+ systemPrompt: string;
2355
+ tools?: AgentToolConfigV3_60_0[];
2356
+ options?: AgentGenerateOptionsV3_60_0;
2357
+ }
2358
+ /**
2359
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2360
+ * via the `definition` "agentProtection".
2361
+ */
2362
+ export interface AgentProtectionV3_60_0 {
2363
+ enabled: EnableAgentAbuseProtectionV3_60_0;
2364
+ }
2365
+ /**
2366
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2367
+ * via the `definition` "guardMap".
2368
+ */
2369
+ export interface GuardMapV3_60_0 {
2370
+ [k: string]: GuardJSONV3_60_0;
2371
+ }
2372
+ /**
2373
+ * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
2374
+ *
2375
+ * This interface was referenced by `GuardMapV3_60_0`'s JSON-Schema definition
2376
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2377
+ *
2378
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2379
+ * via the `definition` "guard".
2380
+ */
2381
+ export interface GuardJSONV3_60_0 {
2382
+ name: NameV3_60_01;
2383
+ description?: DescriptionV3_60_01;
2384
+ enabled?: EnabledV3_60_0;
2385
+ guardrailIdentifier?: GuardrailIdentifierV3_60_0;
2386
+ guardrailVersion?: GuardrailVersionV3_60_0;
2387
+ blockedInputMessaging?: BlockedInputMessagingV3_60_0;
2388
+ blockedOutputsMessaging?: BlockedOutputsMessagingV3_60_0;
2389
+ topicPolicyConfig?: TopicPolicyV3_60_0;
2390
+ contentPolicyConfig?: ContentPolicyV3_60_0;
2391
+ wordPolicyConfig?: WordPolicyV3_60_0;
2392
+ sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_60_0;
2393
+ contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_60_0;
2394
+ }
2395
+ /**
2396
+ * Topics to identify and block.
2397
+ */
2398
+ export interface TopicPolicyV3_60_0 {
2399
+ topicsConfig: TopicV3_60_0;
2400
+ }
2401
+ /**
2402
+ * Types of content to filter and strength configuration.
2403
+ */
2404
+ export interface ContentPolicyV3_60_0 {
2405
+ filtersConfig: FilterV3_60_0;
2406
+ }
2407
+ /**
2408
+ * Specific words to identify and block.
2409
+ */
2410
+ export interface WordPolicyV3_60_0 {
2411
+ wordsConfig?: WordListV3_60_0;
2412
+ managedWordListsConfig?: ManagedWordListV3_60_0;
2413
+ }
2414
+ /**
2415
+ * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
2416
+ */
2417
+ export interface SensitiveInformationPolicyV3_60_0 {
2418
+ piiEntitiesConfig?: PIIEntityV3_60_0;
2419
+ regexesConfig?: RegularExpressionV3_60_0;
2420
+ }
2421
+ /**
2422
+ * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
2423
+ */
2424
+ export interface ContextualGroundingPolicyV3_60_0 {
2425
+ filtersConfig: FilterV3_60_01;
2426
+ }
2427
+ /**
2428
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2429
+ * via the `definition` "toolMap".
2430
+ */
2431
+ export interface ToolMapV3_60_0 {
2432
+ [k: string]: ToolJSONV3_60_0;
2433
+ }
2434
+ /**
2435
+ * This interface was referenced by `ToolMapV3_60_0`'s JSON-Schema definition
2436
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2437
+ *
2438
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2439
+ * via the `definition` "tool".
2440
+ */
2441
+ export interface ToolJSONV3_60_0 {
2442
+ visibility?: 'public' | 'private';
2443
+ execution: ToolExecutionJSONV3_60_0;
2444
+ description?: string;
2445
+ }
2446
+ /**
2447
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2448
+ * via the `definition` "toolExecutionRemote".
2449
+ */
2450
+ export interface ToolExecutionRemoteJSONV3_60_0 {
2451
+ type: 'remote';
2452
+ toolName: string;
2453
+ service: string;
2454
+ parameters?: ObjectSchemaV3_60_0;
2455
+ }
2456
+ /**
2457
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2458
+ * via the `definition` "toolExecutionGraphQL".
2459
+ */
2460
+ export interface ToolExecutionGraphQLJSONV3_60_0 {
2461
+ type: 'graphql';
2462
+ query: ToolQueryConfigV3_60_0;
2463
+ path?: string;
2464
+ }
2465
+ /**
2466
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2467
+ * via the `definition` "toolQueryRefConfig".
2468
+ */
2469
+ export interface ToolQueryRefConfigV3_60_0 {
2470
+ ref: string;
2471
+ selectionSet?: string;
2472
+ args?: string[];
2473
+ }
2474
+ /**
2475
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
2476
+ *
2477
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2478
+ * via the `definition` "parameterSerializeStyleOptions".
2479
+ */
2480
+ export interface ParameterSerializeStyleOptionsV3_60_0 {
2481
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2482
+ explode?: boolean;
2483
+ allowEmptyValue?: boolean;
2484
+ /**
2485
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2486
+ */
2487
+ allowReserved?: boolean;
2488
+ skipEncoding?: boolean;
2489
+ }
2490
+ /**
2491
+ * All possible options for the more specific ParameterSerializeConfig types.
2492
+ *
2493
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2494
+ * via the `definition` "parameterSerializeConfig".
2495
+ */
2496
+ export interface ParameterSerializeConfigV3_60_0 {
2497
+ content?: ParameterSerializeContentOptionsV3_60_0;
2498
+ defaults?: ParameterSerializeOptionsV3_60_0;
2499
+ paths?: {
2500
+ [k: string]: ParameterSerializeOptionsV3_60_0;
2501
+ };
2502
+ }
2503
+ /**
2504
+ * All possible options for the more specific ParameterConfig types.
2505
+ *
2506
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2507
+ * via the `definition` "parameterConfig".
2508
+ */
2509
+ export interface ParameterConfigV3_60_0 {
2510
+ ops: ParameterOpListV3_60_0;
2511
+ serialize?: ParameterSerializeConfigV3_60_0;
2512
+ }
2513
+ /**
2514
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2515
+ * via the `definition` "aiParseFileResolverOptions".
2516
+ */
2517
+ export interface AIParseFileResolverOptionsV3_60_0 {
2518
+ [k: string]: any;
2519
+ }
2520
+ /**
2521
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2522
+ * via the `definition` "listQueryLoaderConfig".
2523
+ */
2524
+ export interface ListQueryLoaderConfigV3_60_0 {
2525
+ query: string;
2526
+ args?: {
2527
+ [k: string]: any;
2528
+ };
2529
+ pagination?: PaginationConfigV3_60_0;
2530
+ }
2531
+ /**
2532
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2533
+ * via the `definition` "formScalarConfig".
2534
+ */
2535
+ export interface FormScalarConfigV3_60_0 {
2536
+ widget: string;
2537
+ }
2538
+ /**
2539
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2540
+ * via the `definition` "formObjectConfig".
2541
+ */
2542
+ export interface FormObjectConfigV3_60_0 {
2543
+ widget?: string;
2544
+ order?: string[];
2545
+ properties?: {
2546
+ [k: string]: FormConfigV3_60_0;
2547
+ };
2548
+ }
2549
+ /**
2550
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2551
+ * via the `definition` "formArrayConfig".
2552
+ */
2553
+ export interface FormArrayConfigV3_60_0 {
2554
+ widget: string;
2555
+ items: FormConfigV3_60_0;
2556
+ }
2557
+ /**
2558
+ * For use with a custom auth handler on a service provider.
2559
+ *
2560
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2561
+ * via the `definition` "customAuthentication".
2562
+ */
2563
+ export interface CustomAuthenticationV3_60_0 {
2564
+ type: 'custom';
2565
+ [k: string]: any;
2566
+ }
2567
+ /**
2568
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2569
+ * via the `definition` "searchParamsAuthentication".
2570
+ */
2571
+ export interface SearchParamsAuthenticationV3_60_0 {
2572
+ type: 'searchParams';
2573
+ params: {
2574
+ name: string;
2575
+ value: string;
2576
+ }[];
2577
+ }
2578
+ /**
2579
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2580
+ * via the `definition` "bearerAuthentication".
2581
+ */
2582
+ export interface BearerAuthenticationV3_60_0 {
2583
+ type: 'bearer';
2584
+ token: string;
2585
+ prefix?: string;
2586
+ header?: string;
2587
+ }
2588
+ /**
2589
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2590
+ * via the `definition` "oauth2BearerAuthentication".
2591
+ */
2592
+ export interface OAuth2BearerAuthenticationV3_60_0 {
2593
+ type: 'oauth2Bearer';
2594
+ token: string;
2595
+ prefix?: string;
2596
+ header?: string;
2597
+ scope?: string;
2598
+ expiresAt?: string;
2599
+ }
2600
+ /**
2601
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2602
+ * via the `definition` "basicAuthentication".
2603
+ */
2604
+ export interface BasicAuthenticationV3_60_0 {
2605
+ type: 'basic';
2606
+ username: string;
2607
+ password: string;
2608
+ useIso8859?: boolean;
2609
+ }
2610
+ /**
2611
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2612
+ * via the `definition` "oauth2Authentication".
2613
+ */
2614
+ export interface OAuth2AuthenticationV3_60_0 {
2615
+ type: 'oauth2';
2616
+ grantType: 'authorizationCode' | 'clientCredentials';
2617
+ authorizationUrl?: string;
2618
+ accessTokenUrl?: string;
2619
+ clientId: string;
2620
+ clientSecret?: string;
2621
+ scope?: string;
2622
+ usePkce?: boolean;
2623
+ redirectUrl?: string;
2624
+ headerPrefix?: string;
2625
+ audience?: string;
2626
+ resource?: string;
2627
+ }
2628
+ /**
2629
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2630
+ * via the `definition` "awsAuthentication".
2631
+ */
2632
+ export interface AWSAuthenticationV3_60_0 {
2633
+ type: 'aws';
2634
+ awsAccessKeyId: string;
2635
+ awsSecretAccessKey: string;
2636
+ }
2637
+ /**
2638
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2639
+ * via the `definition` "googleAuthentication".
2640
+ */
2641
+ export interface GoogleAuthenticationV3_60_0 {
2642
+ type: 'google';
2643
+ clientEmail: string;
2644
+ privateKey: string;
2645
+ }
2646
+ /**
2647
+ * This interface was referenced by `ProjectSchemaJSONV3_60_0`'s JSON-Schema
2648
+ * via the `definition` "serviceConfig".
2649
+ */
2650
+ export interface ServiceConfigV3_60_0 {
2651
+ /**
2652
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
2653
+ */
2654
+ id: string;
2655
+ /**
2656
+ * Human-readable name for this service.
2657
+ */
2658
+ title: string;
2659
+ /**
2660
+ * The service provider id.
2661
+ */
2662
+ provider: string;
2663
+ /**
2664
+ * A namespace to use for the imported types tied to this service.
2665
+ */
2666
+ namespace?: string;
2667
+ serviceType: ServiceTypeV3_60_0;
2668
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2669
+ authentication?: ServiceAuthenticationV3_60_0;
2670
+ healthCheck?: ServiceHealthCheckV3_60_0;
2671
+ webhookId?: string;
2672
+ /**
2673
+ * Configuration options passed to and handled by the provider.
2674
+ */
2675
+ options?: {
2676
+ [k: string]: any;
2677
+ };
2678
+ }