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