@takeshape/schema 11.144.1 → 11.154.2

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 (537) hide show
  1. package/examples/latest/all-fields-shapes-inline.json +1 -1
  2. package/examples/latest/all-fields-shapes.json +1 -1
  3. package/examples/latest/betzino.json +1 -1
  4. package/examples/latest/blog-schema.json +1 -1
  5. package/examples/latest/brewery-schema.json +1 -1
  6. package/examples/latest/chat-agent-schema.json +1 -1
  7. package/examples/latest/clear-cache-schema.json +1 -1
  8. package/examples/latest/complex-project-schema.json +1 -1
  9. package/examples/latest/complex-schema.json +1 -1
  10. package/examples/latest/edit-schema.json +1 -1
  11. package/examples/latest/frank-and-fred-schema.json +1 -1
  12. package/examples/latest/generate-agent-schema.json +1 -1
  13. package/examples/latest/klirr-schema.json +1 -1
  14. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  15. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  16. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  17. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  18. package/examples/latest/massive-schema.json +1 -1
  19. package/examples/latest/mill-components-schema.json +1 -1
  20. package/examples/latest/nested-shape-arrays.json +1 -1
  21. package/examples/latest/one-earth.json +1 -1
  22. package/examples/latest/pet-oneof-array.json +1 -1
  23. package/examples/latest/post-schema.json +1 -1
  24. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  25. package/examples/latest/rag-example.json +1 -1
  26. package/examples/latest/real-world-schema.json +1 -1
  27. package/examples/latest/recursive-repeater-schema.json +1 -1
  28. package/examples/latest/recursive-schema.json +1 -1
  29. package/examples/latest/rick-and-morty-ast.json +1 -1
  30. package/examples/latest/rick-and-morty-graphql.json +1 -1
  31. package/examples/latest/rick-and-morty-rest.json +1 -1
  32. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  33. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  34. package/examples/latest/schema-where-filter.json +1 -1
  35. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  36. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  37. package/examples/latest/shape-books-v3_2_0.json +1 -1
  38. package/examples/latest/shape-books.json +1 -1
  39. package/examples/latest/shape-editor-schema-edited.json +1 -1
  40. package/examples/latest/shape-editor-schema-initial.json +1 -1
  41. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  42. package/examples/latest/shopify-lookbook.json +1 -1
  43. package/examples/latest/shopify-product-2022-07.json +1 -1
  44. package/examples/latest/shopify-product-2023-04.json +1 -1
  45. package/examples/latest/shopify-store-with-widget.json +1 -1
  46. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  47. package/examples/latest/stripe-starter-resolved.json +1 -1
  48. package/examples/latest/user-schema-no-required.json +1 -1
  49. package/examples/latest/user-schema-with-defaults.json +1 -1
  50. package/examples/latest/valvoline-ai-demo.json +1461 -1421
  51. package/examples/latest/vector-search-schema.json +1 -1
  52. package/package.json +10 -9
  53. package/dist/agents.d.ts +0 -62
  54. package/dist/agents.js +0 -338
  55. package/dist/api-version.d.ts +0 -5
  56. package/dist/api-version.js +0 -17
  57. package/dist/auth-schemas.d.ts +0 -128
  58. package/dist/auth-schemas.js +0 -7
  59. package/dist/auth-utils.d.ts +0 -5
  60. package/dist/auth-utils.js +0 -6
  61. package/dist/builtin-schema.d.ts +0 -18
  62. package/dist/builtin-schema.js +0 -683
  63. package/dist/constants.d.ts +0 -1
  64. package/dist/constants.js +0 -1
  65. package/dist/content-schema-transform.d.ts +0 -35
  66. package/dist/content-schema-transform.js +0 -162
  67. package/dist/create-input-schema.d.ts +0 -9
  68. package/dist/create-input-schema.js +0 -68
  69. package/dist/enum.d.ts +0 -2
  70. package/dist/enum.js +0 -9
  71. package/dist/flatten-templates.d.ts +0 -2
  72. package/dist/flatten-templates.js +0 -20
  73. package/dist/get-is-leaf.d.ts +0 -3
  74. package/dist/get-is-leaf.js +0 -56
  75. package/dist/index.d.ts +0 -62
  76. package/dist/index.js +0 -59
  77. package/dist/interfaces.d.ts +0 -14
  78. package/dist/interfaces.js +0 -86
  79. package/dist/layers/layers.d.ts +0 -26
  80. package/dist/layers/layers.js +0 -301
  81. package/dist/layers/refs.d.ts +0 -102
  82. package/dist/layers/refs.js +0 -220
  83. package/dist/layers/type-utils.d.ts +0 -59
  84. package/dist/layers/type-utils.js +0 -118
  85. package/dist/layers/visitor.d.ts +0 -5
  86. package/dist/layers/visitor.js +0 -38
  87. package/dist/migration/index.d.ts +0 -73
  88. package/dist/migration/index.js +0 -103
  89. package/dist/migration/to/v3.0.0.d.ts +0 -4
  90. package/dist/migration/to/v3.0.0.js +0 -212
  91. package/dist/migration/to/v3.1.0.d.ts +0 -4
  92. package/dist/migration/to/v3.1.0.js +0 -194
  93. package/dist/migration/to/v3.10.0.d.ts +0 -4
  94. package/dist/migration/to/v3.10.0.js +0 -67
  95. package/dist/migration/to/v3.11.0.d.ts +0 -4
  96. package/dist/migration/to/v3.11.0.js +0 -85
  97. package/dist/migration/to/v3.12.3.d.ts +0 -4
  98. package/dist/migration/to/v3.12.3.js +0 -87
  99. package/dist/migration/to/v3.13.0.d.ts +0 -4
  100. package/dist/migration/to/v3.13.0.js +0 -17
  101. package/dist/migration/to/v3.17.0.d.ts +0 -4
  102. package/dist/migration/to/v3.17.0.js +0 -22
  103. package/dist/migration/to/v3.18.0.d.ts +0 -4
  104. package/dist/migration/to/v3.18.0.js +0 -64
  105. package/dist/migration/to/v3.18.1.d.ts +0 -4
  106. package/dist/migration/to/v3.18.1.js +0 -12
  107. package/dist/migration/to/v3.18.2.d.ts +0 -4
  108. package/dist/migration/to/v3.18.2.js +0 -19
  109. package/dist/migration/to/v3.20.0.d.ts +0 -4
  110. package/dist/migration/to/v3.20.0.js +0 -24
  111. package/dist/migration/to/v3.22.0.d.ts +0 -4
  112. package/dist/migration/to/v3.22.0.js +0 -25
  113. package/dist/migration/to/v3.24.0.d.ts +0 -4
  114. package/dist/migration/to/v3.24.0.js +0 -11
  115. package/dist/migration/to/v3.25.0.d.ts +0 -4
  116. package/dist/migration/to/v3.25.0.js +0 -11
  117. package/dist/migration/to/v3.3.0.d.ts +0 -4
  118. package/dist/migration/to/v3.3.0.js +0 -13
  119. package/dist/migration/to/v3.31.0.d.ts +0 -4
  120. package/dist/migration/to/v3.31.0.js +0 -38
  121. package/dist/migration/to/v3.32.0.d.ts +0 -4
  122. package/dist/migration/to/v3.32.0.js +0 -59
  123. package/dist/migration/to/v3.34.0.d.ts +0 -6
  124. package/dist/migration/to/v3.34.0.js +0 -111
  125. package/dist/migration/to/v3.36.0.d.ts +0 -4
  126. package/dist/migration/to/v3.36.0.js +0 -22
  127. package/dist/migration/to/v3.39.0.d.ts +0 -4
  128. package/dist/migration/to/v3.39.0.js +0 -45
  129. package/dist/migration/to/v3.40.0.d.ts +0 -4
  130. package/dist/migration/to/v3.40.0.js +0 -26
  131. package/dist/migration/to/v3.46.0.d.ts +0 -4
  132. package/dist/migration/to/v3.46.0.js +0 -35
  133. package/dist/migration/to/v3.57.0.d.ts +0 -4
  134. package/dist/migration/to/v3.57.0.js +0 -18
  135. package/dist/migration/to/v3.9.0.d.ts +0 -4
  136. package/dist/migration/to/v3.9.0.js +0 -79
  137. package/dist/migration/types.d.ts +0 -26
  138. package/dist/migration/types.js +0 -3
  139. package/dist/migration/utils.d.ts +0 -2
  140. package/dist/migration/utils.js +0 -6
  141. package/dist/mocks.d.ts +0 -14
  142. package/dist/mocks.js +0 -58
  143. package/dist/models/agent.d.ts +0 -3
  144. package/dist/models/agent.js +0 -29
  145. package/dist/models/project-schema.d.ts +0 -18
  146. package/dist/models/project-schema.js +0 -119
  147. package/dist/models/query.d.ts +0 -3
  148. package/dist/models/query.js +0 -38
  149. package/dist/models/runtime-schema.d.ts +0 -9
  150. package/dist/models/runtime-schema.js +0 -20
  151. package/dist/models/shape.d.ts +0 -4
  152. package/dist/models/shape.js +0 -36
  153. package/dist/models/types.d.ts +0 -36
  154. package/dist/models/types.js +0 -1
  155. package/dist/models/user-schema.d.ts +0 -7
  156. package/dist/models/user-schema.js +0 -9
  157. package/dist/patterns.d.ts +0 -12
  158. package/dist/patterns.js +0 -1
  159. package/dist/project-schema/index.d.ts +0 -211
  160. package/dist/project-schema/index.js +0 -83
  161. package/dist/project-schema/latest.d.ts +0 -2619
  162. package/dist/project-schema/latest.js +0 -7
  163. package/dist/project-schema/migrate.d.ts +0 -4
  164. package/dist/project-schema/migrate.js +0 -218
  165. package/dist/project-schema/v1.0.0.d.ts +0 -299
  166. package/dist/project-schema/v1.0.0.js +0 -7
  167. package/dist/project-schema/v3.0.0.d.ts +0 -478
  168. package/dist/project-schema/v3.0.0.js +0 -7
  169. package/dist/project-schema/v3.1.0.d.ts +0 -621
  170. package/dist/project-schema/v3.1.0.js +0 -7
  171. package/dist/project-schema/v3.10.0.d.ts +0 -1201
  172. package/dist/project-schema/v3.10.0.js +0 -7
  173. package/dist/project-schema/v3.11.0.d.ts +0 -1210
  174. package/dist/project-schema/v3.11.0.js +0 -7
  175. package/dist/project-schema/v3.12.0.d.ts +0 -1214
  176. package/dist/project-schema/v3.12.0.js +0 -7
  177. package/dist/project-schema/v3.12.1.d.ts +0 -1273
  178. package/dist/project-schema/v3.12.1.js +0 -7
  179. package/dist/project-schema/v3.12.2.d.ts +0 -1283
  180. package/dist/project-schema/v3.12.2.js +0 -7
  181. package/dist/project-schema/v3.12.3.d.ts +0 -1306
  182. package/dist/project-schema/v3.12.3.js +0 -7
  183. package/dist/project-schema/v3.13.0.d.ts +0 -1317
  184. package/dist/project-schema/v3.13.0.js +0 -7
  185. package/dist/project-schema/v3.13.1.d.ts +0 -1412
  186. package/dist/project-schema/v3.13.1.js +0 -7
  187. package/dist/project-schema/v3.14.0.d.ts +0 -1436
  188. package/dist/project-schema/v3.14.0.js +0 -7
  189. package/dist/project-schema/v3.15.0.d.ts +0 -1458
  190. package/dist/project-schema/v3.15.0.js +0 -7
  191. package/dist/project-schema/v3.16.0.d.ts +0 -1470
  192. package/dist/project-schema/v3.16.0.js +0 -7
  193. package/dist/project-schema/v3.17.0.d.ts +0 -1467
  194. package/dist/project-schema/v3.17.0.js +0 -7
  195. package/dist/project-schema/v3.17.1.d.ts +0 -1468
  196. package/dist/project-schema/v3.17.1.js +0 -7
  197. package/dist/project-schema/v3.18.0.d.ts +0 -1333
  198. package/dist/project-schema/v3.18.0.js +0 -7
  199. package/dist/project-schema/v3.18.1.d.ts +0 -1332
  200. package/dist/project-schema/v3.18.1.js +0 -7
  201. package/dist/project-schema/v3.18.2.d.ts +0 -1332
  202. package/dist/project-schema/v3.18.2.js +0 -7
  203. package/dist/project-schema/v3.19.0.d.ts +0 -1336
  204. package/dist/project-schema/v3.19.0.js +0 -7
  205. package/dist/project-schema/v3.2.0.d.ts +0 -632
  206. package/dist/project-schema/v3.2.0.js +0 -7
  207. package/dist/project-schema/v3.20.0.d.ts +0 -1336
  208. package/dist/project-schema/v3.20.0.js +0 -7
  209. package/dist/project-schema/v3.21.0.d.ts +0 -1338
  210. package/dist/project-schema/v3.21.0.js +0 -7
  211. package/dist/project-schema/v3.22.0.d.ts +0 -1344
  212. package/dist/project-schema/v3.22.0.js +0 -7
  213. package/dist/project-schema/v3.23.0.d.ts +0 -1376
  214. package/dist/project-schema/v3.23.0.js +0 -7
  215. package/dist/project-schema/v3.24.0.d.ts +0 -1364
  216. package/dist/project-schema/v3.24.0.js +0 -7
  217. package/dist/project-schema/v3.25.0.d.ts +0 -1363
  218. package/dist/project-schema/v3.25.0.js +0 -7
  219. package/dist/project-schema/v3.26.0.d.ts +0 -1388
  220. package/dist/project-schema/v3.26.0.js +0 -7
  221. package/dist/project-schema/v3.27.0.d.ts +0 -1397
  222. package/dist/project-schema/v3.27.0.js +0 -7
  223. package/dist/project-schema/v3.28.0.d.ts +0 -1416
  224. package/dist/project-schema/v3.28.0.js +0 -7
  225. package/dist/project-schema/v3.29.0.d.ts +0 -1423
  226. package/dist/project-schema/v3.29.0.js +0 -7
  227. package/dist/project-schema/v3.3.0.d.ts +0 -632
  228. package/dist/project-schema/v3.3.0.js +0 -7
  229. package/dist/project-schema/v3.30.0.d.ts +0 -1416
  230. package/dist/project-schema/v3.30.0.js +0 -7
  231. package/dist/project-schema/v3.31.0.d.ts +0 -1448
  232. package/dist/project-schema/v3.31.0.js +0 -7
  233. package/dist/project-schema/v3.32.0.d.ts +0 -1439
  234. package/dist/project-schema/v3.32.0.js +0 -7
  235. package/dist/project-schema/v3.33.0.d.ts +0 -1445
  236. package/dist/project-schema/v3.33.0.js +0 -7
  237. package/dist/project-schema/v3.34.0.d.ts +0 -1445
  238. package/dist/project-schema/v3.34.0.js +0 -7
  239. package/dist/project-schema/v3.35.0.d.ts +0 -1464
  240. package/dist/project-schema/v3.35.0.js +0 -7
  241. package/dist/project-schema/v3.36.0.d.ts +0 -1470
  242. package/dist/project-schema/v3.36.0.js +0 -7
  243. package/dist/project-schema/v3.37.0.d.ts +0 -1522
  244. package/dist/project-schema/v3.37.0.js +0 -7
  245. package/dist/project-schema/v3.38.0.d.ts +0 -1522
  246. package/dist/project-schema/v3.38.0.js +0 -7
  247. package/dist/project-schema/v3.39.0.d.ts +0 -1529
  248. package/dist/project-schema/v3.39.0.js +0 -7
  249. package/dist/project-schema/v3.4.0.d.ts +0 -624
  250. package/dist/project-schema/v3.4.0.js +0 -7
  251. package/dist/project-schema/v3.40.0.d.ts +0 -1530
  252. package/dist/project-schema/v3.40.0.js +0 -7
  253. package/dist/project-schema/v3.41.0.d.ts +0 -1530
  254. package/dist/project-schema/v3.41.0.js +0 -7
  255. package/dist/project-schema/v3.42.0.d.ts +0 -1534
  256. package/dist/project-schema/v3.42.0.js +0 -7
  257. package/dist/project-schema/v3.43.0.d.ts +0 -1536
  258. package/dist/project-schema/v3.43.0.js +0 -7
  259. package/dist/project-schema/v3.44.0.d.ts +0 -1621
  260. package/dist/project-schema/v3.44.0.js +0 -7
  261. package/dist/project-schema/v3.45.0.d.ts +0 -1650
  262. package/dist/project-schema/v3.45.0.js +0 -7
  263. package/dist/project-schema/v3.46.0.d.ts +0 -1703
  264. package/dist/project-schema/v3.46.0.js +0 -7
  265. package/dist/project-schema/v3.47.0.d.ts +0 -1736
  266. package/dist/project-schema/v3.47.0.js +0 -7
  267. package/dist/project-schema/v3.48.0.d.ts +0 -2208
  268. package/dist/project-schema/v3.48.0.js +0 -7
  269. package/dist/project-schema/v3.49.0.d.ts +0 -2217
  270. package/dist/project-schema/v3.49.0.js +0 -7
  271. package/dist/project-schema/v3.5.0.d.ts +0 -649
  272. package/dist/project-schema/v3.5.0.js +0 -7
  273. package/dist/project-schema/v3.5.1.d.ts +0 -649
  274. package/dist/project-schema/v3.5.1.js +0 -7
  275. package/dist/project-schema/v3.50.0.d.ts +0 -2269
  276. package/dist/project-schema/v3.50.0.js +0 -7
  277. package/dist/project-schema/v3.51.0.d.ts +0 -2269
  278. package/dist/project-schema/v3.51.0.js +0 -7
  279. package/dist/project-schema/v3.52.0.d.ts +0 -2269
  280. package/dist/project-schema/v3.52.0.js +0 -7
  281. package/dist/project-schema/v3.53.0.d.ts +0 -2350
  282. package/dist/project-schema/v3.53.0.js +0 -7
  283. package/dist/project-schema/v3.54.0.d.ts +0 -2369
  284. package/dist/project-schema/v3.54.0.js +0 -7
  285. package/dist/project-schema/v3.55.0.d.ts +0 -2369
  286. package/dist/project-schema/v3.55.0.js +0 -7
  287. package/dist/project-schema/v3.56.0.d.ts +0 -2405
  288. package/dist/project-schema/v3.56.0.js +0 -7
  289. package/dist/project-schema/v3.57.0.d.ts +0 -2601
  290. package/dist/project-schema/v3.57.0.js +0 -7
  291. package/dist/project-schema/v3.58.0.d.ts +0 -2601
  292. package/dist/project-schema/v3.58.0.js +0 -7
  293. package/dist/project-schema/v3.59.0.d.ts +0 -2619
  294. package/dist/project-schema/v3.59.0.js +0 -7
  295. package/dist/project-schema/v3.6.0.d.ts +0 -658
  296. package/dist/project-schema/v3.6.0.js +0 -7
  297. package/dist/project-schema/v3.7.0.d.ts +0 -961
  298. package/dist/project-schema/v3.7.0.js +0 -7
  299. package/dist/project-schema/v3.8.0.d.ts +0 -979
  300. package/dist/project-schema/v3.8.0.js +0 -7
  301. package/dist/project-schema/v3.9.0.d.ts +0 -1178
  302. package/dist/project-schema/v3.9.0.js +0 -7
  303. package/dist/project-schema/v4.0.0.d.ts +0 -1328
  304. package/dist/project-schema/v4.0.0.js +0 -7
  305. package/dist/refs.d.ts +0 -218
  306. package/dist/refs.js +0 -616
  307. package/dist/relationships.d.ts +0 -40
  308. package/dist/relationships.js +0 -302
  309. package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
  310. package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
  311. package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
  312. package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
  313. package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
  314. package/dist/resolvers/ai/agent-chat-args.js +0 -14
  315. package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
  316. package/dist/resolvers/ai/agent-chat-payload.js +0 -26
  317. package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
  318. package/dist/resolvers/ai/agent-chat-response.js +0 -21
  319. package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
  320. package/dist/resolvers/ai/agent-generate-args.js +0 -14
  321. package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
  322. package/dist/resolvers/ai/agent-message-input.js +0 -39
  323. package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
  324. package/dist/resolvers/ai/agent-message-output.js +0 -77
  325. package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
  326. package/dist/resolvers/ai/agent-message-payload.js +0 -156
  327. package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
  328. package/dist/resolvers/ai/agent-run-mode.js +0 -9
  329. package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
  330. package/dist/resolvers/ai/agent-session-payload.js +0 -175
  331. package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
  332. package/dist/resolvers/ai/create-agent-session-response.js +0 -9
  333. package/dist/resolvers/ai/embedding-search.d.ts +0 -54
  334. package/dist/resolvers/ai/embedding-search.js +0 -46
  335. package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
  336. package/dist/resolvers/ai/get-agent-message-args.js +0 -13
  337. package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
  338. package/dist/resolvers/ai/get-agent-message-response.js +0 -63
  339. package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
  340. package/dist/resolvers/ai/inspect-agent-args.js +0 -13
  341. package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
  342. package/dist/resolvers/ai/inspect-agent-response.js +0 -48
  343. package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
  344. package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
  345. package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
  346. package/dist/resolvers/ai/send-agent-message-args.js +0 -36
  347. package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
  348. package/dist/resolvers/ai/send-agent-message-response.js +0 -51
  349. package/dist/resolvers/ai/types.d.ts +0 -6
  350. package/dist/resolvers/ai/types.js +0 -1
  351. package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
  352. package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
  353. package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
  354. package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
  355. package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
  356. package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
  357. package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
  358. package/dist/resolvers/takeshape/assets/asset.js +0 -107
  359. package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
  360. package/dist/resolvers/takeshape/assets/constants.js +0 -11
  361. package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
  362. package/dist/resolvers/takeshape/builtins/constants.js +0 -1
  363. package/dist/runtime-schema.d.ts +0 -6
  364. package/dist/runtime-schema.js +0 -85
  365. package/dist/scalars.d.ts +0 -2
  366. package/dist/scalars.js +0 -4
  367. package/dist/schema-transform.d.ts +0 -19
  368. package/dist/schema-transform.js +0 -74
  369. package/dist/schema-util.d.ts +0 -266
  370. package/dist/schema-util.js +0 -1127
  371. package/dist/schemas/auth-schemas.json +0 -374
  372. package/dist/schemas/index.d.ts +0 -4
  373. package/dist/schemas/index.js +0 -170
  374. package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
  375. package/dist/schemas/project-schema/latest.d.ts +0 -180
  376. package/dist/schemas/project-schema/latest.js +0 -11
  377. package/dist/schemas/project-schema/latest.json +0 -4846
  378. package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  379. package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  380. package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  381. package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  382. package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  383. package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  384. package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  385. package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  386. package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  387. package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  388. package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  389. package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  390. package/dist/schemas/project-schema/v1.0.0.json +0 -321
  391. package/dist/schemas/project-schema/v3.0.0.json +0 -414
  392. package/dist/schemas/project-schema/v3.1.0.json +0 -572
  393. package/dist/schemas/project-schema/v3.10.0.json +0 -2097
  394. package/dist/schemas/project-schema/v3.11.0.json +0 -2141
  395. package/dist/schemas/project-schema/v3.12.0.json +0 -2144
  396. package/dist/schemas/project-schema/v3.12.1.json +0 -2282
  397. package/dist/schemas/project-schema/v3.12.2.json +0 -2304
  398. package/dist/schemas/project-schema/v3.12.3.json +0 -2357
  399. package/dist/schemas/project-schema/v3.13.0.json +0 -2377
  400. package/dist/schemas/project-schema/v3.14.0.json +0 -2385
  401. package/dist/schemas/project-schema/v3.15.0.json +0 -2365
  402. package/dist/schemas/project-schema/v3.16.0.json +0 -2373
  403. package/dist/schemas/project-schema/v3.17.0.json +0 -2378
  404. package/dist/schemas/project-schema/v3.17.1.json +0 -2380
  405. package/dist/schemas/project-schema/v3.18.0.json +0 -2356
  406. package/dist/schemas/project-schema/v3.18.1.json +0 -2357
  407. package/dist/schemas/project-schema/v3.18.2.json +0 -2357
  408. package/dist/schemas/project-schema/v3.19.0.json +0 -2369
  409. package/dist/schemas/project-schema/v3.2.0.json +0 -580
  410. package/dist/schemas/project-schema/v3.20.0.json +0 -2369
  411. package/dist/schemas/project-schema/v3.21.0.json +0 -2376
  412. package/dist/schemas/project-schema/v3.22.0.json +0 -2381
  413. package/dist/schemas/project-schema/v3.23.0.json +0 -2456
  414. package/dist/schemas/project-schema/v3.24.0.json +0 -2556
  415. package/dist/schemas/project-schema/v3.25.0.json +0 -2552
  416. package/dist/schemas/project-schema/v3.26.0.json +0 -2599
  417. package/dist/schemas/project-schema/v3.27.0.json +0 -2611
  418. package/dist/schemas/project-schema/v3.28.0.json +0 -2656
  419. package/dist/schemas/project-schema/v3.29.0.json +0 -2670
  420. package/dist/schemas/project-schema/v3.3.0.json +0 -581
  421. package/dist/schemas/project-schema/v3.30.0.json +0 -2656
  422. package/dist/schemas/project-schema/v3.31.0.json +0 -2714
  423. package/dist/schemas/project-schema/v3.32.0.json +0 -2708
  424. package/dist/schemas/project-schema/v3.33.0.json +0 -2715
  425. package/dist/schemas/project-schema/v3.34.0.json +0 -2715
  426. package/dist/schemas/project-schema/v3.35.0.json +0 -2748
  427. package/dist/schemas/project-schema/v3.36.0.json +0 -2756
  428. package/dist/schemas/project-schema/v3.37.0.json +0 -2821
  429. package/dist/schemas/project-schema/v3.38.0.json +0 -2819
  430. package/dist/schemas/project-schema/v3.39.0.json +0 -2827
  431. package/dist/schemas/project-schema/v3.4.0.json +0 -571
  432. package/dist/schemas/project-schema/v3.40.0.json +0 -2830
  433. package/dist/schemas/project-schema/v3.41.0.json +0 -2830
  434. package/dist/schemas/project-schema/v3.42.0.json +0 -2835
  435. package/dist/schemas/project-schema/v3.43.0.json +0 -2841
  436. package/dist/schemas/project-schema/v3.44.0.json +0 -3013
  437. package/dist/schemas/project-schema/v3.45.0.json +0 -3064
  438. package/dist/schemas/project-schema/v3.46.0.json +0 -3136
  439. package/dist/schemas/project-schema/v3.47.0.json +0 -3189
  440. package/dist/schemas/project-schema/v3.48.0.json +0 -3196
  441. package/dist/schemas/project-schema/v3.49.0.json +0 -3239
  442. package/dist/schemas/project-schema/v3.5.0.json +0 -571
  443. package/dist/schemas/project-schema/v3.5.1.json +0 -571
  444. package/dist/schemas/project-schema/v3.50.0.json +0 -3320
  445. package/dist/schemas/project-schema/v3.51.0.json +0 -3326
  446. package/dist/schemas/project-schema/v3.52.0.json +0 -3326
  447. package/dist/schemas/project-schema/v3.53.0.json +0 -3476
  448. package/dist/schemas/project-schema/v3.54.0.json +0 -3512
  449. package/dist/schemas/project-schema/v3.55.0.json +0 -3515
  450. package/dist/schemas/project-schema/v3.56.0.json +0 -3530
  451. package/dist/schemas/project-schema/v3.57.0.json +0 -4815
  452. package/dist/schemas/project-schema/v3.58.0.json +0 -4815
  453. package/dist/schemas/project-schema/v3.59.0.json +0 -4846
  454. package/dist/schemas/project-schema/v3.6.0.json +0 -587
  455. package/dist/schemas/project-schema/v3.7.0.json +0 -587
  456. package/dist/schemas/project-schema/v3.8.0.json +0 -604
  457. package/dist/schemas/project-schema/v3.9.0.json +0 -604
  458. package/dist/schemas/project-schema/v4.0.0.json +0 -2316
  459. package/dist/schemas/project-schema.json +0 -214
  460. package/dist/service-dependencies.d.ts +0 -13
  461. package/dist/service-dependencies.js +0 -165
  462. package/dist/services/services.d.ts +0 -31
  463. package/dist/services/services.js +0 -145
  464. package/dist/services/types.d.ts +0 -11
  465. package/dist/services/types.js +0 -1
  466. package/dist/services/util.d.ts +0 -16
  467. package/dist/services/util.js +0 -36
  468. package/dist/shape-paths.d.ts +0 -7
  469. package/dist/shape-paths.js +0 -28
  470. package/dist/taxonomies.d.ts +0 -15
  471. package/dist/taxonomies.js +0 -24
  472. package/dist/template-shapes/index.d.ts +0 -7
  473. package/dist/template-shapes/index.js +0 -33
  474. package/dist/template-shapes/names.d.ts +0 -10
  475. package/dist/template-shapes/names.js +0 -21
  476. package/dist/template-shapes/templates.d.ts +0 -32
  477. package/dist/template-shapes/templates.js +0 -316
  478. package/dist/template-shapes/types.d.ts +0 -15
  479. package/dist/template-shapes/types.js +0 -7
  480. package/dist/template-shapes/where.d.ts +0 -37
  481. package/dist/template-shapes/where.js +0 -400
  482. package/dist/types/index.d.ts +0 -3
  483. package/dist/types/index.js +0 -2
  484. package/dist/types/transforms.d.ts +0 -15
  485. package/dist/types/transforms.js +0 -1
  486. package/dist/types/types.d.ts +0 -200
  487. package/dist/types/types.js +0 -10
  488. package/dist/types/utils.d.ts +0 -112
  489. package/dist/types/utils.js +0 -269
  490. package/dist/unions.d.ts +0 -14
  491. package/dist/unions.js +0 -77
  492. package/dist/util/ai-tools.d.ts +0 -2
  493. package/dist/util/ai-tools.js +0 -14
  494. package/dist/util/api-indexing.d.ts +0 -9
  495. package/dist/util/api-indexing.js +0 -57
  496. package/dist/util/coerce-value.d.ts +0 -9
  497. package/dist/util/coerce-value.js +0 -32
  498. package/dist/util/detect-cycles.d.ts +0 -7
  499. package/dist/util/detect-cycles.js +0 -45
  500. package/dist/util/expressions.d.ts +0 -34
  501. package/dist/util/expressions.js +0 -350
  502. package/dist/util/find-shape-at-path.d.ts +0 -21
  503. package/dist/util/find-shape-at-path.js +0 -53
  504. package/dist/util/form-config.d.ts +0 -11
  505. package/dist/util/form-config.js +0 -62
  506. package/dist/util/get-conflicting-properties.d.ts +0 -6
  507. package/dist/util/get-conflicting-properties.js +0 -55
  508. package/dist/util/get-return-shape.d.ts +0 -4
  509. package/dist/util/get-return-shape.js +0 -30
  510. package/dist/util/has-arg.d.ts +0 -6
  511. package/dist/util/has-arg.js +0 -25
  512. package/dist/util/is-asset-property.d.ts +0 -3
  513. package/dist/util/is-asset-property.js +0 -11
  514. package/dist/util/mcp.d.ts +0 -8
  515. package/dist/util/mcp.js +0 -21
  516. package/dist/util/merge.d.ts +0 -15
  517. package/dist/util/merge.js +0 -254
  518. package/dist/util/patch-schema.d.ts +0 -8
  519. package/dist/util/patch-schema.js +0 -51
  520. package/dist/util/query-field-path.d.ts +0 -9
  521. package/dist/util/query-field-path.js +0 -23
  522. package/dist/util/shapes.d.ts +0 -5
  523. package/dist/util/shapes.js +0 -22
  524. package/dist/validate/ai.d.ts +0 -6
  525. package/dist/validate/ai.js +0 -183
  526. package/dist/validate/errors.d.ts +0 -3
  527. package/dist/validate/errors.js +0 -20
  528. package/dist/validate/types.d.ts +0 -1
  529. package/dist/validate/types.js +0 -1
  530. package/dist/validate/util.d.ts +0 -3
  531. package/dist/validate/util.js +0 -28
  532. package/dist/validate/validate.d.ts +0 -80
  533. package/dist/validate/validate.js +0 -1058
  534. package/dist/versions.d.ts +0 -4
  535. package/dist/versions.js +0 -4
  536. package/dist/workflows.d.ts +0 -14
  537. package/dist/workflows.js +0 -66
@@ -1,2369 +0,0 @@
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_54_0`'s JSON-Schema
8
- * via the `definition` "args".
9
- */
10
- export type ArgsV3_54_0 = string | ObjectSchemaV3_54_0;
11
- /**
12
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
13
- * via the `definition` "objectSchema".
14
- */
15
- export type ObjectSchemaV3_54_0 = PropertySchemaV3_54_0 & {
16
- type: 'object';
17
- properties: {
18
- [k: string]: PropertySchemaV3_54_0;
19
- };
20
- };
21
- /**
22
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
23
- * via the `definition` "nonNegativeInteger".
24
- */
25
- export type NonNegativeIntegerV3_54_0 = number;
26
- /**
27
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
28
- * via the `definition` "nonNegativeIntegerDefault0".
29
- */
30
- export type NonNegativeIntegerDefault0V3_54_0 = NonNegativeIntegerV3_54_0;
31
- /**
32
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
33
- * via the `definition` "stringArray".
34
- */
35
- export type StringArrayV3_54_0 = string[];
36
- /**
37
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
38
- * via the `definition` "simpleTypes".
39
- */
40
- export type SimpleTypesV3_54_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
- /**
42
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
43
- * via the `definition` "schemaArray".
44
- */
45
- export type SchemaArrayV3_54_0 = PropertySchemaV3_54_0[];
46
- /**
47
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
48
- * via the `definition` "ref".
49
- */
50
- export type RefV3_54_0 = string;
51
- /**
52
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
53
- * via the `definition` "objectOrRefArray".
54
- */
55
- export type ObjectOrRefArrayV3_54_0 = (RefSchemaV3_54_0 | RefSchemaLegacyV3_54_0 | ObjectSchemaV3_54_0)[];
56
- /**
57
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
58
- * via the `definition` "fieldMapping".
59
- */
60
- export type FieldMappingV3_54_0 = MappingStringV3_54_0 | MappingStringV3_54_0[];
61
- /**
62
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
63
- * via the `definition` "mappingString".
64
- */
65
- export type MappingStringV3_54_0 = string;
66
- /**
67
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
68
- * via the `definition` "resolver".
69
- */
70
- export type ResolverV3_54_0 = BasicResolverV3_54_0 | ComposeResolverV3_54_0;
71
- /**
72
- * A single resolver, can be composed with the ComposeResolver.
73
- *
74
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
75
- * via the `definition` "basicResolver".
76
- */
77
- export type BasicResolverV3_54_0 = UtilResolverV3_54_0 | DelegateResolverV3_54_0 | TakeshapeResolverV3_54_0 | ShapedbResolverV3_54_0 | ShapedbResolverShapeNameNotRequiredV3_54_0 | GraphqlResolverV3_54_0 | RestResolverV3_54_0 | AwsLambdaResolverV3_54_0 | SalsifyResolverV3_54_0 | SyndigoResolverV3_54_0 | FunctionResolverV3_54_0 | AIGenerateTextResolverV3_54_0 | AIGeneratePropertyResolverV3_54_0 | AIEmbeddingResolverV3_54_0 | AIEmbeddingSearchResolverV3_54_0 | AIParseFileResolverV3_54_0 | ChunkResolverV3_54_0 | AISendAgentMessageResolverV3_54_0 | AIInspectAgentResolverV3_54_0;
78
- /**
79
- * Name of the resolver function.
80
- */
81
- export type UtilResolverNameV3_54_0 = 'util:noop' | 'util:wrap';
82
- /**
83
- * An object describing an operation to generate a parameter.
84
- *
85
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
86
- * via the `definition` "parameterOp".
87
- */
88
- export type ParameterOpV3_54_0 = ParameterOpNestedV3_54_0 | ParameterOpValueV3_54_0 | ParameterOpMappingV3_54_0 | ParameterOpOpV3_54_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_54_0`'s JSON-Schema
93
- * via the `definition` "directiveConfigItem".
94
- */
95
- export type DirectiveConfigItemV3_54_0 = [DirectiveNameV3_54_0, DirectiveOptionsV3_54_0];
96
- export type DirectiveNameV3_54_0 = string;
97
- /**
98
- * An array of individual directive config items to process in order
99
- *
100
- * This interface was referenced by `DirectiveMappingMapV3_54_0`'s JSON-Schema definition
101
- * via the `patternProperty` "[0-9A-Za-z_-]+".
102
- *
103
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
104
- * via the `definition` "directiveConfig".
105
- */
106
- export type DirectiveConfigV3_54_0 = DirectiveConfigItemV3_54_0[];
107
- /**
108
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
109
- * via the `definition` "parameterOpList".
110
- */
111
- export type ParameterOpListV3_54_0 = ParameterOpV3_54_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_54_0`'s JSON-Schema
116
- * via the `definition` "argsMapping".
117
- */
118
- export type ArgsMappingV3_54_0 = DirectiveMappingMapV3_54_0 | DirectiveConfigV3_54_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_54_0`'s JSON-Schema
123
- * via the `definition` "resultsMapping".
124
- */
125
- export type ResultsMappingV3_54_0 = DirectiveMappingMapV3_54_0 | DirectiveConfigV3_54_0;
126
- /**
127
- * Name of the resolver function.
128
- */
129
- export type DelegateResolverNameV3_54_0 = 'delegate';
130
- /**
131
- * Name of the resolver function.
132
- */
133
- export type TakeshapeResolverNameV3_54_0 = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
- /**
135
- * Name of the resolver function.
136
- */
137
- export type ShapedbResolverNameV3_54_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_54_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
- /**
143
- * Name of the resolver function.
144
- */
145
- export type GraphqlResolverNameV3_54_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
- /**
147
- * Name of the resolver function.
148
- */
149
- export type RestResolverNameV3_54_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_54_0`'s JSON-Schema
154
- * via the `definition` "directiveMappingArrayItem".
155
- */
156
- export type DirectiveMappingArrayItemV3_54_0 = [string, DirectiveConfigV3_54_0];
157
- /**
158
- * An array of key / value or directive config tuples
159
- */
160
- export type SearchParamsMappingV3_54_0 = DirectiveMappingArrayItemV3_54_0[];
161
- /**
162
- * Name of the resolver function.
163
- */
164
- export type AwsLambdaResolverNameV3_54_0 = 'awsLambda:invoke';
165
- /**
166
- * Name of the resolver function.
167
- */
168
- export type SalsifyResolverNameV3_54_0 = 'salsify:listChannelProducts';
169
- /**
170
- * Name of the resolver function.
171
- */
172
- export type SyndigoResolverNameV3_54_0 = 'syndigo:searchProducts';
173
- /**
174
- * Name of the resolver function.
175
- */
176
- export type FunctionResolverNameV3_54_0 = 'function:run';
177
- export type FunctionResolverJavascriptV3_54_0 = string;
178
- /**
179
- * Name of the resolver function.
180
- */
181
- export type AIResolverNameV3_54_0 = 'ai:generateText' | 'ai:chat';
182
- export type HistoryV3_54_0 = boolean;
183
- /**
184
- * Maximum number of tokens to generate.
185
- */
186
- export type MaximumTokensV3_54_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_54_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_54_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_54_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_54_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_54_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_54_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_54_0 = number;
215
- /**
216
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
217
- * via the `definition` "aiGuardrail".
218
- */
219
- export type AIGuardrailV3_54_0 = AISimilarityGuardrailV3_54_0;
220
- /**
221
- * Name of the resolver function.
222
- */
223
- export type AIResolverNameV3_54_01 = 'ai:generateProperty';
224
- /**
225
- * Name of the resolver function.
226
- */
227
- export type AIResolverNameV3_54_02 = 'ai:createEmbedding';
228
- /**
229
- * Name of the resolver function.
230
- */
231
- export type AIResolverNameV3_54_03 = 'ai:embeddingSearch';
232
- /**
233
- * Name of the resolver function.
234
- */
235
- export type AIResolverNameV3_54_04 = 'ai:parseFile';
236
- /**
237
- * Name of the resolver function.
238
- */
239
- export type UtilResolverNameV3_54_01 = 'util:chunk';
240
- /**
241
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
242
- * via the `definition` "utilChunkResolverOptions".
243
- */
244
- export type UtilChunkResolverOptionsV3_54_0 = UtilChunkResolverOptionsCharacterCountV3_54_0 | UtilChunkResolverOptionsSeparatorsV3_54_0 | UtilChunkResolverOptionsMarkdownV3_54_0 | UtilChunkResolverOptionsSemanticV3_54_0;
245
- /**
246
- * Name of the resolver function.
247
- */
248
- export type AIResolverNameV3_54_05 = 'ai:sendAgentMessage';
249
- /**
250
- * Name of the resolver function.
251
- */
252
- export type AIResolverNameV3_54_06 = 'ai:inspectAgent';
253
- /**
254
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
255
- * via the `definition` "dependencies".
256
- */
257
- export type DependenciesV3_54_0 = string;
258
- /**
259
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
260
- * via the `definition` "returnShape".
261
- */
262
- export type ReturnShapeV3_54_0 = string | ReturnShapeArraySchemaV3_54_0;
263
- /**
264
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
265
- * via the `definition` "returnShapeArraySchema".
266
- */
267
- export type ReturnShapeArraySchemaV3_54_0 = PropertySchemaV3_54_0 & {
268
- type: 'array';
269
- items: RefSchemaV3_54_0 | {
270
- type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
271
- [k: string]: any;
272
- };
273
- };
274
- export type ModelTypeV3_54_0 = 'single' | 'multiple' | 'taxonomy';
275
- /**
276
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
277
- * via the `definition` "paginationConfig".
278
- */
279
- export type PaginationConfigV3_54_0 = PaginationCursorConfigV3_54_0 | PaginationPageConfigV3_54_0 | PaginationOffsetConfigV3_54_0;
280
- /**
281
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
282
- * via the `definition` "cacheTriggerConfig".
283
- */
284
- export type CacheTriggerConfigV3_54_0 = CacheScheduleTriggerConfigV3_54_0 | CacheWebhookTriggerConfigV3_54_0;
285
- /**
286
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
287
- * via the `definition` "shapeSchema".
288
- */
289
- export type ShapeSchemaV3_54_0 = ShapeSchemaAllOfV3_54_0 | ShapeSchemaExtendsV3_54_0 | ShapeSchemaOneOfV3_54_0 | ShapeSchemaEnumV3_54_0 | ObjectSchemaV3_54_0 | ShapeSchemaAnyV3_54_0;
290
- export type AgentAPIInputV3_54_0 = AgentAPIMutationInputV3_54_0;
291
- export type InteractionTimeoutMillisecondsV3_54_0 = number;
292
- export type AgentStateSessionMemoryV3_54_0 = AgentStateSessionMemoryAssignmentV3_54_0[];
293
- export type VariablesV3_54_0 = AgentVariableV3_54_0[];
294
- export type AgentExecutionV3_54_0 = AgentExecutionGraphQLV3_54_0 | AgentExecutionGenerateV3_54_0 | AgentExecutionChatV3_54_0;
295
- export type AgentAIStateInputV3_54_0 = AgentAIStateInputArgumentV3_54_0 | AgentAIStateInputTemplateV3_54_0;
296
- export type AgentToolConfigArgV3_54_0 = AgentControlledV3_54_0 | VariableValueV3_54_0;
297
- /**
298
- * The argument name that will be exposed by the tool for the LLM to use.
299
- */
300
- export type ToolArgumentNameV3_54_0 = string;
301
- /**
302
- * Name of argument to pass value to. This prevents the LLM from setting the argument.
303
- */
304
- export type ToolArgumentNameV3_54_01 = string;
305
- /**
306
- * Name of variable to pull value from.
307
- */
308
- export type StateVariableNameV3_54_0 = string;
309
- export type HistoryV3_54_01 = boolean;
310
- /**
311
- * Maximum number of tokens to generate. Defaults to 1024
312
- */
313
- export type MaximumTokensV3_54_01 = number;
314
- /**
315
- * 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
316
- */
317
- export type TemperatureV3_54_01 = number;
318
- /**
319
- * 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.
320
- */
321
- export type TopPV3_54_01 = number;
322
- /**
323
- * 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.
324
- */
325
- export type TopKV3_54_01 = number;
326
- /**
327
- * 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.
328
- */
329
- export type PresencePenaltySettingV3_54_01 = number;
330
- /**
331
- * 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.
332
- */
333
- export type FrequencyPenaltySettingV3_54_01 = number;
334
- /**
335
- * If set, the model will stop generating text when one of the stop sequences is generated.
336
- */
337
- export type StopSequencesV3_54_01 = string[];
338
- /**
339
- * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
340
- */
341
- export type SeedV3_54_01 = number;
342
- /**
343
- * Maximal number of automatic roundtrips for tool calls.
344
- */
345
- export type MaxToolRoundtripsV3_54_0 = number;
346
- /**
347
- * If true, structured outputs will be enabled on the model for non-text requests.
348
- */
349
- export type StructuredOutputsV3_54_0 = boolean;
350
- /**
351
- * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
352
- */
353
- export type EnableOpenAISchemaFormatV3_54_0 = boolean;
354
- export type MinimatchPatternV3_54_0 = string;
355
- /**
356
- * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
357
- */
358
- export type RemovePropertyKeyPatternsV3_54_0 = MinimatchPatternV3_54_0[];
359
- /**
360
- * Remove Markdown formatting from the LLM response
361
- */
362
- export type StripMarkdownV3_54_0 = boolean;
363
- /**
364
- * These steps are evaluated in order until a destination is found.
365
- */
366
- export type AgentTransitionV3_54_0 = AgentTransitionImmediateV3_54_0 | AgentTransitionSuspendV3_54_0;
367
- export type AgentStateSessionMemoryV3_54_01 = AgentStateSessionMemoryAssignmentV3_54_0[];
368
- export type GuardIDV3_54_0 = string;
369
- export type VariablesV3_54_01 = AgentVariableV3_54_0[];
370
- export type HistoryStrategyTransformV3_54_0 = HistoryStrategyTransformNoneV3_54_0 | HistoryStrategyTransformReplaceV3_54_0 | HistoryStrategyTransformSummarizeV3_54_0;
371
- /**
372
- * The human-readable name of the Guard.
373
- */
374
- export type NameV3_54_0 = string;
375
- /**
376
- * A description of the Guard.
377
- */
378
- export type DescriptionV3_54_0 = string;
379
- /**
380
- * Guards will not run unless enabled.
381
- */
382
- export type EnabledV3_54_0 = boolean;
383
- /**
384
- * The remote id of the Guardrail.
385
- */
386
- export type GuardrailIdentifierV3_54_0 = string;
387
- /**
388
- * The remote version of the Guardrail.
389
- */
390
- export type GuardrailVersionV3_54_0 = string;
391
- /**
392
- * A message to return when the input message is blocked by the Guard.
393
- */
394
- export type BlockedInputMessagingV3_54_0 = string;
395
- /**
396
- * A message to return when the output message is blocked by the Guard.
397
- */
398
- export type BlockedOutputsMessagingV3_54_0 = string;
399
- export type ExampleV3_54_0 = string;
400
- /**
401
- * A topic to block.
402
- */
403
- export type TopicV3_54_0 = {
404
- name: string;
405
- definition: string;
406
- /**
407
- * Examples of the topic that can hint the LLM.
408
- */
409
- examples?: ExampleV3_54_0[];
410
- type: 'DENY';
411
- }[];
412
- export type InputStrengthV3_54_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
413
- export type OutputStrengthV3_54_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
414
- export type GuardrailModalityV3_54_0 = 'TEXT' | 'IMAGE';
415
- /**
416
- * Whether to filter images or text
417
- */
418
- export type InputModalitiesV3_54_0 = GuardrailModalityV3_54_0[];
419
- /**
420
- * Whether to filter images or text
421
- */
422
- export type OutputModalitiesV3_54_0 = GuardrailModalityV3_54_0[];
423
- /**
424
- * Types of content to filter.
425
- */
426
- export type FilterV3_54_0 = {
427
- type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
428
- inputStrength: InputStrengthV3_54_0;
429
- outputStrength: OutputStrengthV3_54_0;
430
- inputModalities?: InputModalitiesV3_54_0;
431
- outputModalities?: OutputModalitiesV3_54_0;
432
- }[];
433
- /**
434
- * Specific words to block.
435
- */
436
- export type WordListV3_54_0 = {
437
- text: string;
438
- }[];
439
- /**
440
- * This is solely used for blocking profanity.
441
- */
442
- export type ManagedWordListV3_54_0 = {
443
- type: 'PROFANITY';
444
- }[];
445
- export type GuardrailSensitiveInformationActionV3_54_0 = 'ANONYMIZE' | 'BLOCK';
446
- /**
447
- * PII entity to infer from the text.
448
- */
449
- export type PIIEntityV3_54_0 = {
450
- 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';
451
- action: GuardrailSensitiveInformationActionV3_54_0;
452
- }[];
453
- /**
454
- * A regular expression to match sensitive information.
455
- */
456
- export type RegularExpressionV3_54_0 = {
457
- name: string;
458
- description?: string;
459
- pattern: string;
460
- action: GuardrailSensitiveInformationActionV3_54_0;
461
- }[];
462
- /**
463
- * The type of filter.
464
- */
465
- export type TypeV3_54_0 = 'GROUNDING' | 'RELEVANCE';
466
- /**
467
- * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
468
- */
469
- export type ThresholdV3_54_0 = number;
470
- /**
471
- * Filter to evaluate grounding text.
472
- */
473
- export type FilterV3_54_01 = {
474
- type: TypeV3_54_0;
475
- threshold: ThresholdV3_54_0;
476
- }[];
477
- export type ToolArgV3_54_0 = AgentControlledV3_54_0;
478
- /**
479
- * Human-readable id for use in the UI
480
- */
481
- export type WorkflowNameV3_54_0 = string;
482
- /**
483
- * machine-readable slug
484
- */
485
- export type NameV3_54_01 = string;
486
- /**
487
- * Human-readable id for use in the UI
488
- */
489
- export type TitleV3_54_0 = string;
490
- export type DescriptionV3_54_01 = string;
491
- /**
492
- * Hex color code
493
- */
494
- export type ColorV3_54_0 = string;
495
- /**
496
- * Value to indicate whether items in the state should be returned in list queries
497
- */
498
- export type LiveV3_54_0 = boolean;
499
- /**
500
- * machine-readable id
501
- */
502
- export type KeyV3_54_0 = string;
503
- export type StepsV3_54_0 = WorkflowStepV3_54_0[];
504
- /**
505
- * The general type of this service, specifying how and where it will be utilized.
506
- *
507
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
508
- * via the `definition` "serviceType".
509
- */
510
- export type ServiceTypeV3_54_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
511
- /**
512
- * The name of a health check to run
513
- */
514
- export type CheckNameV3_54_0 = 'graphqlIntrospection' | 'ping' | 'none';
515
- /**
516
- * The endpoint to use when checking the service health.
517
- */
518
- export type EndpointV3_54_0 = string;
519
- /**
520
- * A custom method to use for the health check request.
521
- */
522
- export type RequestMethodV3_54_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
523
- /**
524
- * A custom body to send along with the ping request.
525
- */
526
- export type RequestBodyV3_54_0 = string;
527
- /**
528
- * A custom body to send along with the ping request.
529
- */
530
- export type RequestBodyFormatV3_54_0 = 'string' | 'form' | 'json' | 'form-data';
531
- /**
532
- * The amount of time to wait when receiving a response from the health check, in seconds.
533
- */
534
- export type RequestTimeoutV3_54_0 = number;
535
- /**
536
- * The response status code that qualifies as healthy.
537
- */
538
- export type HealthyResponseStatusCodeV3_54_0 = number;
539
- /**
540
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
541
- * via the `definition` "serviceHealthCheckTrigger".
542
- */
543
- export type ServiceHealthCheckTriggerV3_54_0 = 'manual' | 'schedule';
544
- /**
545
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
546
- * via the `definition` "allOfSchema".
547
- */
548
- export type AllOfSchemaV3_54_0 = PropertySchemaV3_54_0 & {
549
- allOf: ObjectOrRefArrayV3_54_0;
550
- };
551
- /**
552
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
553
- * via the `definition` "extendsSchema".
554
- */
555
- export type ExtendsSchemaV3_54_0 = PropertySchemaV3_54_0 & {
556
- extends: ObjectOrRefArrayV3_54_0;
557
- };
558
- /**
559
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
560
- * via the `definition` "oneOfSchema".
561
- */
562
- export type OneOfSchemaV3_54_0 = PropertySchemaV3_54_0 & {
563
- oneOf: ObjectOrRefArrayV3_54_0;
564
- };
565
- /**
566
- * Options to be passed to the serialization routine.
567
- *
568
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
569
- * via the `definition` "parameterSerializeOptions".
570
- *
571
- * This interface was referenced by `undefined`'s JSON-Schema definition
572
- * via the `patternProperty` "^[^\n\r]*$".
573
- */
574
- export type ParameterSerializeOptionsV3_54_0 = ParameterSerializeStyleOptionsV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
575
- /**
576
- * An array of key / value or directive config tuples
577
- *
578
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
579
- * via the `definition` "directiveMappingArray".
580
- */
581
- export type DirectiveMappingArrayV3_54_0 = DirectiveMappingArrayItemV3_54_0[];
582
- /**
583
- * A resolver which references a specific service
584
- *
585
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
586
- * via the `definition` "serviceResolver".
587
- */
588
- export type ServiceResolverV3_54_0 = TakeshapeResolverV3_54_0 | ShapedbResolverShapeNameNotRequiredV3_54_0 | ShapedbResolverV3_54_0 | GraphqlResolverV3_54_0 | RestResolverV3_54_0 | AwsLambdaResolverV3_54_0;
589
- /**
590
- * An array of key / value or directive config tuples
591
- *
592
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
593
- * via the `definition` "searchParamsMapping".
594
- */
595
- export type SearchParamsMappingV3_54_01 = DirectiveMappingArrayItemV3_54_0[];
596
- /**
597
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
598
- * via the `definition` "shapeWithObjectSchema".
599
- */
600
- export type ShapeWithObjectSchemaV3_54_0 = ShapeJSONV3_54_0 & {
601
- schema: ObjectSchemaV3_54_0;
602
- };
603
- /**
604
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
605
- * via the `definition` "serviceAuthentication".
606
- */
607
- export type ServiceAuthenticationV3_54_0 = OAuth2AuthenticationV3_54_0 | OAuth2BearerAuthenticationV3_54_0 | BearerAuthenticationV3_54_0 | BasicAuthenticationV3_54_0 | SearchParamsAuthenticationV3_54_0 | AWSAuthenticationV3_54_0 | GoogleAuthenticationV3_54_0 | CustomAuthenticationV3_54_0;
608
- /**
609
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
610
- * via the `definition` "anyServiceConfig".
611
- */
612
- export type AnyServiceConfigV3_54_0 = ServiceConfigJSONV3_54_0 | ServiceConfigV3_54_0;
613
- export interface ProjectSchemaJSONV3_54_0 {
614
- $schema?: string;
615
- /**
616
- * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
617
- */
618
- apiVersion: string;
619
- /**
620
- * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
621
- */
622
- schemaVersion: '3.54.0';
623
- /**
624
- * The ID of the TakeShape project this schema belongs to.
625
- */
626
- projectId: string;
627
- /**
628
- * The ID of the TakeShape user who created the schema.
629
- */
630
- author?: string;
631
- deactivated?: number;
632
- /**
633
- * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
634
- */
635
- defaultLocale: string;
636
- locales: string[];
637
- queries: QueryMapV3_54_0;
638
- mutations: QueryMapV3_54_0;
639
- shapes: ShapeMapV3_54_0;
640
- 'ai-experimental'?: AIExperimentalV3_54_0;
641
- forms?: FormMapV3_54_0;
642
- workflows: WorkflowMapV3_54_0;
643
- services?: ServiceMapJSONV3_54_0;
644
- }
645
- /**
646
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
647
- * via the `definition` "queryMap".
648
- */
649
- export interface QueryMapV3_54_0 {
650
- [k: string]: QueryJSONV3_54_0;
651
- }
652
- /**
653
- * This interface was referenced by `QueryMapV3_54_0`'s JSON-Schema definition
654
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
655
- *
656
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
657
- * via the `definition` "query".
658
- */
659
- export interface QueryJSONV3_54_0 {
660
- args?: ArgsV3_54_0;
661
- resolver: ResolverV3_54_0;
662
- shape: ReturnShapeV3_54_0;
663
- /**
664
- * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
665
- */
666
- description?: string;
667
- }
668
- /**
669
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
670
- * via the `definition` "propertySchema".
671
- */
672
- export interface PropertySchemaV3_54_0 {
673
- $ref?: string;
674
- title?: string;
675
- description?: string;
676
- default?: any;
677
- readOnly?: boolean;
678
- multipleOf?: number;
679
- maximum?: number;
680
- exclusiveMaximum?: number;
681
- minimum?: number;
682
- exclusiveMinimum?: number;
683
- maxLength?: NonNegativeIntegerV3_54_0;
684
- minLength?: NonNegativeIntegerDefault0V3_54_0;
685
- pattern?: string;
686
- additionalItems?: PropertySchemaV3_54_0;
687
- items?: PropertySchemaV3_54_0;
688
- maxItems?: NonNegativeIntegerV3_54_0;
689
- minItems?: NonNegativeIntegerDefault0V3_54_0;
690
- uniqueItems?: boolean;
691
- contains?: PropertySchemaV3_54_0;
692
- maxProperties?: NonNegativeIntegerV3_54_0;
693
- minProperties?: NonNegativeIntegerDefault0V3_54_0;
694
- required?: StringArrayV3_54_0;
695
- additionalProperties?: PropertySchemaV3_54_0 | false;
696
- definitions?: {
697
- [k: string]: PropertySchemaV3_54_0;
698
- };
699
- properties?: {
700
- [k: string]: PropertySchemaV3_54_0;
701
- };
702
- const?: any;
703
- enum?: any[];
704
- type?: SimpleTypesV3_54_0 | SimpleTypesV3_54_0[];
705
- format?: string;
706
- contentMediaType?: string;
707
- contentEncoding?: string;
708
- allOf?: SchemaArrayV3_54_0;
709
- discriminator?: {
710
- propertyName?: string;
711
- [k: string]: any;
712
- };
713
- oneOf?: SchemaArrayV3_54_0;
714
- extends?: ObjectOrRefArrayV3_54_0;
715
- '@backreference'?: BackReferenceV3_54_0;
716
- '@input'?: PropertySchemaV3_54_0;
717
- '@output'?: PropertySchemaV3_54_0;
718
- '@syncLocaleStructure'?: boolean;
719
- '@sensitive'?: boolean;
720
- '@draftjs'?: boolean;
721
- '@l10n'?: boolean;
722
- '@key'?: string;
723
- '@workflow'?: string;
724
- '@mapping'?: FieldMappingV3_54_0;
725
- '@tag'?: string;
726
- '@tags'?: string[];
727
- '@deprecationReason'?: string;
728
- '@args'?: ArgsV3_54_0;
729
- '@resolver'?: ResolverV3_54_0;
730
- '@dependencies'?: DependenciesV3_54_0;
731
- '@ref'?: RefV3_54_0;
732
- '@derivedFrom'?: string;
733
- '@indexed'?: IndexedV3_54_0;
734
- '@graphql'?: GraphQLConfigV3_54_0;
735
- }
736
- /**
737
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
738
- * via the `definition` "refSchema".
739
- */
740
- export interface RefSchemaV3_54_0 {
741
- '@ref': RefV3_54_0;
742
- [k: string]: any;
743
- }
744
- /**
745
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
746
- * via the `definition` "refSchemaLegacy".
747
- */
748
- export interface RefSchemaLegacyV3_54_0 {
749
- $ref: RefV3_54_0;
750
- [k: string]: any;
751
- }
752
- /**
753
- * A configuration object for a reverse reference in a relationship.
754
- *
755
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
756
- * via the `definition` "backreference".
757
- */
758
- export interface BackReferenceV3_54_0 {
759
- enabled: boolean;
760
- name?: string;
761
- }
762
- /**
763
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
764
- * via the `definition` "utilResolver".
765
- */
766
- export interface UtilResolverV3_54_0 {
767
- if?: string;
768
- id?: string;
769
- name: UtilResolverNameV3_54_0;
770
- options?: UtilResolverOptionsV3_54_0;
771
- /**
772
- * Optional value to return from the noop resolver.
773
- */
774
- value?: number | string | boolean | {
775
- [k: string]: any;
776
- } | any[] | null;
777
- args?: ParameterConfigForJsonV3_54_0;
778
- results?: ParameterConfigForJsonV3_54_0;
779
- argsMapping?: ArgsMappingV3_54_0;
780
- resultsMapping?: ResultsMappingV3_54_0;
781
- }
782
- export interface UtilResolverOptionsV3_54_0 {
783
- [k: string]: any;
784
- }
785
- /**
786
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
787
- * via the `definition` "parameterConfigForJson".
788
- */
789
- export interface ParameterConfigForJsonV3_54_0 {
790
- ops: ParameterOpListV3_54_0;
791
- }
792
- /**
793
- * An object describing an operation to generate a parameter, using a nested OpList.
794
- *
795
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
796
- * via the `definition` "parameterOpNested".
797
- */
798
- export interface ParameterOpNestedV3_54_0 {
799
- /**
800
- * A path to the parameter for this operation.
801
- */
802
- path: string;
803
- /**
804
- * A mode for this parameter's operation.
805
- */
806
- op?: 'set' | 'concat' | 'extend' | 'remove';
807
- ops: ParameterOpListV3_54_0;
808
- }
809
- /**
810
- * An object describing an operation to generate a parameter using a value.
811
- *
812
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
813
- * via the `definition` "parameterOpValue".
814
- */
815
- export interface ParameterOpValueV3_54_0 {
816
- /**
817
- * A path to the parameter for this operation.
818
- */
819
- path: string;
820
- /**
821
- * A mode for this parameter's operation.
822
- */
823
- op?: 'set' | 'concat' | 'extend' | 'remove';
824
- /**
825
- * A value to set directly at this path.
826
- */
827
- value: number | string | boolean | {
828
- [k: string]: any;
829
- } | any[] | null;
830
- }
831
- /**
832
- * An object describing an operation to generate a parameter using a mapping.
833
- *
834
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
835
- * via the `definition` "parameterOpMapping".
836
- */
837
- export interface ParameterOpMappingV3_54_0 {
838
- /**
839
- * A path to the parameter for this operation.
840
- */
841
- path: string;
842
- /**
843
- * A mode for this parameter's operation.
844
- */
845
- op?: 'set' | 'concat' | 'extend' | 'remove';
846
- /**
847
- * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
848
- */
849
- mapping: string | DirectiveConfigV3_54_0;
850
- }
851
- export interface DirectiveOptionsV3_54_0 {
852
- [k: string]: any;
853
- }
854
- /**
855
- * An object describing an operation to generate a parameter using a mapping.
856
- *
857
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
858
- * via the `definition` "parameterOpOp".
859
- */
860
- export interface ParameterOpOpV3_54_0 {
861
- /**
862
- * A path to the parameter for this operation.
863
- */
864
- path: string;
865
- /**
866
- * A mode for this parameter's operation.
867
- */
868
- op: 'set' | 'concat' | 'extend' | 'remove';
869
- }
870
- /**
871
- * An map of object keys / key paths to directive configs
872
- *
873
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
874
- * via the `definition` "directiveMappingMap".
875
- */
876
- export interface DirectiveMappingMapV3_54_0 {
877
- [k: string]: DirectiveConfigV3_54_0;
878
- }
879
- /**
880
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
881
- * via the `definition` "delegateResolver".
882
- */
883
- export interface DelegateResolverV3_54_0 {
884
- if?: string;
885
- id?: string;
886
- name: DelegateResolverNameV3_54_0;
887
- options?: DelegateResolverOptionsV3_54_0;
888
- argsMapping?: ArgsMappingV3_54_0;
889
- resultsMapping?: ResultsMappingV3_54_0;
890
- /**
891
- * A ref to a query/mutation/property to delegate to.
892
- */
893
- to: string;
894
- args?: ParameterConfigForJsonV3_54_0;
895
- results?: ParameterConfigForJsonV3_54_0;
896
- }
897
- export interface DelegateResolverOptionsV3_54_0 {
898
- [k: string]: any;
899
- }
900
- /**
901
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
902
- * via the `definition` "takeshapeResolver".
903
- */
904
- export interface TakeshapeResolverV3_54_0 {
905
- if?: string;
906
- id?: string;
907
- name: TakeshapeResolverNameV3_54_0;
908
- /**
909
- * Internal service identifier.
910
- */
911
- service: 'takeshape';
912
- options?: TakeshapeResolverOptionsV3_54_0;
913
- /**
914
- * An optional Shape name for the resolver.
915
- */
916
- shapeName?: string;
917
- args?: ParameterConfigForJsonV3_54_0;
918
- results?: ParameterConfigForJsonV3_54_0;
919
- argsMapping?: ArgsMappingV3_54_0;
920
- resultsMapping?: ResultsMappingV3_54_0;
921
- }
922
- export interface TakeshapeResolverOptionsV3_54_0 {
923
- [k: string]: any;
924
- }
925
- /**
926
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
927
- * via the `definition` "shapedbResolver".
928
- */
929
- export interface ShapedbResolverV3_54_0 {
930
- if?: string;
931
- id?: string;
932
- name: ShapedbResolverNameV3_54_0;
933
- /**
934
- * Internal service identifier.
935
- */
936
- service: 'shapedb';
937
- options?: ShapedbResolverOptionsV3_54_0;
938
- argsMapping?: ArgsMappingV3_54_0;
939
- resultsMapping?: ResultsMappingV3_54_0;
940
- /**
941
- * A Shape name for the resolver to use.
942
- */
943
- shapeName: string;
944
- args?: ParameterConfigForJsonV3_54_0;
945
- results?: ParameterConfigForJsonV3_54_0;
946
- }
947
- export interface ShapedbResolverOptionsV3_54_0 {
948
- [k: string]: any;
949
- }
950
- /**
951
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
952
- * via the `definition` "shapedbResolverShapeNameNotRequired".
953
- */
954
- export interface ShapedbResolverShapeNameNotRequiredV3_54_0 {
955
- if?: string;
956
- id?: string;
957
- name: ShapedbResolverShapeNameNotRequiredNameV3_54_0;
958
- /**
959
- * Internal service identifier.
960
- */
961
- service: 'shapedb';
962
- options?: ShapedbResolverShapeNameNotRequiredOptionsV3_54_0;
963
- /**
964
- * An optional Shape name for the resolver.
965
- */
966
- shapeName?: string;
967
- args?: ParameterConfigForJsonV3_54_0;
968
- results?: ParameterConfigForJsonV3_54_0;
969
- argsMapping?: ArgsMappingV3_54_0;
970
- resultsMapping?: ResultsMappingV3_54_0;
971
- }
972
- export interface ShapedbResolverShapeNameNotRequiredOptionsV3_54_0 {
973
- [k: string]: any;
974
- }
975
- /**
976
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
977
- * via the `definition` "graphqlResolver".
978
- */
979
- export interface GraphqlResolverV3_54_0 {
980
- if?: string;
981
- id?: string;
982
- name: GraphqlResolverNameV3_54_0;
983
- /**
984
- * Configuration for a service to use with this resolver.
985
- */
986
- service: string;
987
- argsMapping?: ArgsMappingV3_54_0;
988
- resultsMapping?: ResultsMappingV3_54_0;
989
- options?: GraphqlResolverOptionsV3_54_0;
990
- /**
991
- * A fieldname to use in queries.
992
- */
993
- fieldName: string;
994
- headers?: ParameterConfigForHeadersV3_54_0;
995
- searchParams?: ParameterConfigForSearchParamsV3_54_0;
996
- args?: ParameterConfigForJsonV3_54_0;
997
- results?: ParameterConfigForJsonV3_54_0;
998
- }
999
- export interface GraphqlResolverOptionsV3_54_0 {
1000
- selectionSet?: string;
1001
- unboxParentSelectionSet?: boolean;
1002
- ignoreErrors?: boolean;
1003
- skipWhenMissingArgs?: boolean;
1004
- ttl?: number;
1005
- timeout?: number;
1006
- allowStream?: boolean;
1007
- retry?: number | {
1008
- [k: string]: any;
1009
- };
1010
- [k: string]: any;
1011
- }
1012
- /**
1013
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1014
- * via the `definition` "parameterConfigForHeaders".
1015
- */
1016
- export interface ParameterConfigForHeadersV3_54_0 {
1017
- ops: ParameterOpListV3_54_0;
1018
- serialize?: ParameterSerializeConfigForHeadersV3_54_0;
1019
- }
1020
- /**
1021
- * Top-level paths to use headers serialization options for.
1022
- *
1023
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1024
- * via the `definition` "parameterSerializeConfigForHeaders".
1025
- */
1026
- export interface ParameterSerializeConfigForHeadersV3_54_0 {
1027
- defaults?: ParameterSerializeStyleOptionsForHeadersV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1028
- paths?: {
1029
- /**
1030
- * This interface was referenced by `undefined`'s JSON-Schema definition
1031
- * via the `patternProperty` "^[^\n\r]*$".
1032
- */
1033
- [k: string]: ParameterSerializeStyleOptionsForHeadersV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1034
- };
1035
- }
1036
- /**
1037
- * Options to be passed to the serialization routine.
1038
- *
1039
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1040
- * via the `definition` "parameterSerializeStyleOptionsForHeaders".
1041
- */
1042
- export interface ParameterSerializeStyleOptionsForHeadersV3_54_0 {
1043
- style: 'simple' | 'none';
1044
- explode?: boolean;
1045
- }
1046
- /**
1047
- * Options to be passed to the serialization routine.
1048
- *
1049
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1050
- * via the `definition` "parameterSerializeContentOptions".
1051
- */
1052
- export interface ParameterSerializeContentOptionsV3_54_0 {
1053
- contentType: string;
1054
- /**
1055
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1056
- */
1057
- allowReserved?: boolean;
1058
- skipEncoding?: boolean;
1059
- /**
1060
- * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1061
- */
1062
- options?: {
1063
- [k: string]: any;
1064
- };
1065
- }
1066
- /**
1067
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1068
- * via the `definition` "parameterConfigForSearchParams".
1069
- */
1070
- export interface ParameterConfigForSearchParamsV3_54_0 {
1071
- ops: ParameterOpListV3_54_0;
1072
- serialize?: ParameterSerializeConfigForSearchParamsV3_54_0;
1073
- }
1074
- /**
1075
- * Top-level paths to use search params serialization options for.
1076
- *
1077
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1078
- * via the `definition` "parameterSerializeConfigForSearchParams".
1079
- */
1080
- export interface ParameterSerializeConfigForSearchParamsV3_54_0 {
1081
- defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1082
- paths?: {
1083
- /**
1084
- * This interface was referenced by `undefined`'s JSON-Schema definition
1085
- * via the `patternProperty` "^[^\n\r]*$".
1086
- */
1087
- [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1088
- };
1089
- }
1090
- /**
1091
- * Options to be passed to the serialization routine.
1092
- *
1093
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1094
- * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1095
- */
1096
- export interface ParameterSerializeStyleOptionsForSearchParamsV3_54_0 {
1097
- style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1098
- explode?: boolean;
1099
- allowEmptyValue?: boolean;
1100
- /**
1101
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1102
- */
1103
- allowReserved?: boolean;
1104
- skipEncoding?: boolean;
1105
- }
1106
- /**
1107
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1108
- * via the `definition` "restResolver".
1109
- */
1110
- export interface RestResolverV3_54_0 {
1111
- if?: string;
1112
- id?: string;
1113
- name: RestResolverNameV3_54_0;
1114
- /**
1115
- * Configuration for a service to use with this resolver.
1116
- */
1117
- service: string;
1118
- argsMapping?: ArgsMappingV3_54_0;
1119
- searchParamsMapping?: SearchParamsMappingV3_54_0;
1120
- resultsMapping?: ResultsMappingV3_54_0;
1121
- options?: RestResolverOptionsV3_54_0;
1122
- body?: ParameterConfigForBodyV3_54_0;
1123
- form?: ParameterConfigForSearchParamsV3_54_0;
1124
- headers?: ParameterConfigForHeadersV3_54_0;
1125
- json?: ParameterConfigForJsonV3_54_0;
1126
- /**
1127
- * Mapping and serialization configuration for the path, or a simple string.
1128
- */
1129
- path: ParameterConfigForPathParamsV3_54_0 | string;
1130
- searchParams?: ParameterConfigForSearchParamsV3_54_0;
1131
- args?: ParameterConfigForJsonV3_54_0;
1132
- results?: ParameterConfigForJsonV3_54_0;
1133
- }
1134
- export interface RestResolverOptionsV3_54_0 {
1135
- trailingSlash?: boolean;
1136
- allowStream?: boolean;
1137
- ttl?: number;
1138
- timeout?: number;
1139
- retry?: number | {
1140
- [k: string]: any;
1141
- };
1142
- [k: string]: any;
1143
- }
1144
- /**
1145
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1146
- * via the `definition` "parameterConfigForBody".
1147
- */
1148
- export interface ParameterConfigForBodyV3_54_0 {
1149
- ops: ParameterOpListV3_54_0;
1150
- serialize?: ParameterSerializeConfigForBodyV3_54_0;
1151
- }
1152
- /**
1153
- * Top-level paths to use serialization options for.
1154
- *
1155
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1156
- * via the `definition` "parameterSerializeConfigForBody".
1157
- */
1158
- export interface ParameterSerializeConfigForBodyV3_54_0 {
1159
- content?: ParameterSerializeContentOptionsV3_54_0;
1160
- }
1161
- /**
1162
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1163
- * via the `definition` "parameterConfigForPathParams".
1164
- */
1165
- export interface ParameterConfigForPathParamsV3_54_0 {
1166
- ops: ParameterOpListV3_54_0;
1167
- serialize: ParameterSerializeConfigForPathParamsV3_54_0;
1168
- }
1169
- /**
1170
- * Top-level paths to use path params serialization options for.
1171
- *
1172
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1173
- * via the `definition` "parameterSerializeConfigForPathParams".
1174
- */
1175
- export interface ParameterSerializeConfigForPathParamsV3_54_0 {
1176
- /**
1177
- * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1178
- */
1179
- template: string;
1180
- defaults?: ParameterSerializeStyleOptionsForPathParamsV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1181
- paths?: {
1182
- /**
1183
- * This interface was referenced by `undefined`'s JSON-Schema definition
1184
- * via the `patternProperty` "^[^\n\r]*$".
1185
- */
1186
- [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_54_0 | ParameterSerializeContentOptionsV3_54_0;
1187
- };
1188
- }
1189
- /**
1190
- * Options to be passed to the serialization routine.
1191
- *
1192
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1193
- * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1194
- */
1195
- export interface ParameterSerializeStyleOptionsForPathParamsV3_54_0 {
1196
- style: 'simple' | 'label' | 'matrix' | 'none';
1197
- explode?: boolean;
1198
- allowEmptyValue?: boolean;
1199
- /**
1200
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1201
- */
1202
- allowReserved?: boolean;
1203
- skipEncoding?: boolean;
1204
- }
1205
- /**
1206
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1207
- * via the `definition` "awsLambdaResolver".
1208
- */
1209
- export interface AwsLambdaResolverV3_54_0 {
1210
- if?: string;
1211
- id?: string;
1212
- name: AwsLambdaResolverNameV3_54_0;
1213
- /**
1214
- * Configuration for a service to use with this resolver.
1215
- */
1216
- service: string;
1217
- options?: AwsLambdaResolverOptionsV3_54_0;
1218
- payload?: ParameterConfigForJsonV3_54_0;
1219
- /**
1220
- * Mapping configuration for the FunctionName.
1221
- */
1222
- functionName: string | ParameterConfigForAwsLambdaV3_54_0;
1223
- clientContext?: ParameterConfigForJsonV3_54_0;
1224
- args?: ParameterConfigForJsonV3_54_0;
1225
- results?: ParameterConfigForJsonV3_54_0;
1226
- argsMapping?: ArgsMappingV3_54_0;
1227
- searchParamsMapping?: SearchParamsMappingV3_54_0;
1228
- resultsMapping?: ResultsMappingV3_54_0;
1229
- }
1230
- export interface AwsLambdaResolverOptionsV3_54_0 {
1231
- [k: string]: any;
1232
- }
1233
- /**
1234
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1235
- * via the `definition` "parameterConfigForAwsLambda".
1236
- */
1237
- export interface ParameterConfigForAwsLambdaV3_54_0 {
1238
- ops: ParameterOpListV3_54_0;
1239
- serialize: ParameterSerializeConfigForPathParamsV3_54_0;
1240
- }
1241
- /**
1242
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1243
- * via the `definition` "salsifyResolver".
1244
- */
1245
- export interface SalsifyResolverV3_54_0 {
1246
- if?: string;
1247
- id?: string;
1248
- name: SalsifyResolverNameV3_54_0;
1249
- /**
1250
- * Configuration for a service to use with this resolver.
1251
- */
1252
- service: string;
1253
- options?: SalsifyResolverOptionsV3_54_0;
1254
- args?: ParameterConfigForJsonV3_54_0;
1255
- results?: ParameterConfigForJsonV3_54_0;
1256
- argsMapping?: ArgsMappingV3_54_0;
1257
- resultsMapping?: ResultsMappingV3_54_0;
1258
- }
1259
- export interface SalsifyResolverOptionsV3_54_0 {
1260
- [k: string]: any;
1261
- }
1262
- /**
1263
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1264
- * via the `definition` "syndigoResolver".
1265
- */
1266
- export interface SyndigoResolverV3_54_0 {
1267
- if?: string;
1268
- id?: string;
1269
- name: SyndigoResolverNameV3_54_0;
1270
- /**
1271
- * Configuration for a service to use with this resolver.
1272
- */
1273
- service: string;
1274
- options?: SyndigoResolverOptionsV3_54_0;
1275
- args?: ParameterConfigForJsonV3_54_0;
1276
- results?: ParameterConfigForJsonV3_54_0;
1277
- argsMapping?: ArgsMappingV3_54_0;
1278
- resultsMapping?: ResultsMappingV3_54_0;
1279
- }
1280
- export interface SyndigoResolverOptionsV3_54_0 {
1281
- [k: string]: any;
1282
- }
1283
- /**
1284
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1285
- * via the `definition` "functionResolver".
1286
- */
1287
- export interface FunctionResolverV3_54_0 {
1288
- if?: string;
1289
- id?: string;
1290
- name: FunctionResolverNameV3_54_0;
1291
- options?: FunctionResolverOptionsV3_54_0;
1292
- args?: ParameterConfigForJsonV3_54_0;
1293
- results?: ParameterConfigForJsonV3_54_0;
1294
- argsMapping?: ArgsMappingV3_54_0;
1295
- resultsMapping?: ResultsMappingV3_54_0;
1296
- javascript?: FunctionResolverJavascriptV3_54_0;
1297
- }
1298
- export interface FunctionResolverOptionsV3_54_0 {
1299
- [k: string]: any;
1300
- }
1301
- /**
1302
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1303
- * via the `definition` "aiGenerateTextResolver".
1304
- */
1305
- export interface AIGenerateTextResolverV3_54_0 {
1306
- if?: string;
1307
- id?: string;
1308
- name: AIResolverNameV3_54_0;
1309
- /**
1310
- * Configuration for a service to use with this resolver.
1311
- */
1312
- service: string;
1313
- options?: AIGenerateTextResolverOptionsV3_54_0;
1314
- systemPrompt: string;
1315
- inputTemplate?: string;
1316
- model: string;
1317
- tools?: (string | AIToolConfigV3_54_0)[];
1318
- guardrails?: AIGuardrailV3_54_0[];
1319
- context?: ParameterConfigForJsonV3_54_0;
1320
- results?: ParameterConfigForJsonV3_54_0;
1321
- }
1322
- /**
1323
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1324
- * via the `definition` "aiGenerateTextResolverOptions".
1325
- */
1326
- export interface AIGenerateTextResolverOptionsV3_54_0 {
1327
- history?: HistoryV3_54_0;
1328
- maxTokens?: MaximumTokensV3_54_0;
1329
- temperature?: TemperatureV3_54_0;
1330
- topP?: TopPV3_54_0;
1331
- topK?: TopKV3_54_0;
1332
- presencePenalty?: PresencePenaltySettingV3_54_0;
1333
- frequencyPenalty?: FrequencyPenaltySettingV3_54_0;
1334
- stopSequences?: StopSequencesV3_54_0;
1335
- seed?: SeedV3_54_0;
1336
- /**
1337
- * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1338
- */
1339
- maxRetries?: number;
1340
- /**
1341
- * The tool choice strategy. Default: 'auto'
1342
- */
1343
- toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1344
- /**
1345
- * Maximal number of automatic roundtrips for tool calls.
1346
- */
1347
- maxToolRoundtrips?: number;
1348
- [k: string]: any;
1349
- }
1350
- /**
1351
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1352
- * via the `definition` "aiToolConfig".
1353
- */
1354
- export interface AIToolConfigV3_54_0 {
1355
- ref: string;
1356
- selectionSet?: string;
1357
- }
1358
- /**
1359
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1360
- * via the `definition` "aiSimilarityGuardrail".
1361
- */
1362
- export interface AISimilarityGuardrailV3_54_0 {
1363
- name: 'similarity';
1364
- shape: string;
1365
- defaultResponse: string;
1366
- threshold?: number;
1367
- }
1368
- /**
1369
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1370
- * via the `definition` "aiGeneratePropertyResolver".
1371
- */
1372
- export interface AIGeneratePropertyResolverV3_54_0 {
1373
- id?: string;
1374
- name: AIResolverNameV3_54_01;
1375
- /**
1376
- * Configuration for a service to use with this resolver.
1377
- */
1378
- service: string;
1379
- model: string;
1380
- systemPrompt?: string;
1381
- }
1382
- /**
1383
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1384
- * via the `definition` "aiEmbeddingResolver".
1385
- */
1386
- export interface AIEmbeddingResolverV3_54_0 {
1387
- if?: string;
1388
- id?: string;
1389
- name: AIResolverNameV3_54_02;
1390
- /**
1391
- * Configuration for a service to use with this resolver.
1392
- */
1393
- service: string;
1394
- options?: AIEmbeddingResolverOptionsV3_54_0;
1395
- model: string;
1396
- args?: ParameterConfigForJsonV3_54_0;
1397
- results?: ParameterConfigForJsonV3_54_0;
1398
- }
1399
- /**
1400
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1401
- * via the `definition` "aiEmbeddingResolverOptions".
1402
- */
1403
- export interface AIEmbeddingResolverOptionsV3_54_0 {
1404
- useDependencies?: boolean;
1405
- [k: string]: any;
1406
- }
1407
- /**
1408
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1409
- * via the `definition` "aiEmbeddingSearchResolver".
1410
- */
1411
- export interface AIEmbeddingSearchResolverV3_54_0 {
1412
- if?: string;
1413
- id?: string;
1414
- name: AIResolverNameV3_54_03;
1415
- /**
1416
- * A vector property ref to use for the query.
1417
- */
1418
- vectorProperty: string;
1419
- args?: ParameterConfigForJsonV3_54_0;
1420
- results?: ParameterConfigForJsonV3_54_0;
1421
- }
1422
- /**
1423
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1424
- * via the `definition` "aiParseFileResolver".
1425
- */
1426
- export interface AIParseFileResolverV3_54_0 {
1427
- if?: string;
1428
- id?: string;
1429
- name: AIResolverNameV3_54_04;
1430
- /**
1431
- * Configuration for a service to use with this resolver.
1432
- */
1433
- service: string;
1434
- options?: AIEmbeddingResolverOptionsV3_54_0;
1435
- args?: ParameterConfigForJsonV3_54_0;
1436
- results?: ParameterConfigForJsonV3_54_0;
1437
- }
1438
- /**
1439
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1440
- * via the `definition` "utilChunkResolver".
1441
- */
1442
- export interface ChunkResolverV3_54_0 {
1443
- if?: string;
1444
- id?: string;
1445
- name: UtilResolverNameV3_54_01;
1446
- options: UtilChunkResolverOptionsV3_54_0;
1447
- args?: ParameterConfigForJsonV3_54_0;
1448
- results?: ParameterConfigForJsonV3_54_0;
1449
- }
1450
- /**
1451
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1452
- * via the `definition` "utilChunkResolverOptionsCharacterCount".
1453
- */
1454
- export interface UtilChunkResolverOptionsCharacterCountV3_54_0 {
1455
- type: 'characterCount';
1456
- characterCount: number;
1457
- }
1458
- /**
1459
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1460
- * via the `definition` "utilChunkResolverOptionsSeparators".
1461
- */
1462
- export interface UtilChunkResolverOptionsSeparatorsV3_54_0 {
1463
- type: 'separators';
1464
- separators: string[];
1465
- }
1466
- /**
1467
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1468
- * via the `definition` "utilChunkResolverOptionsMarkdown".
1469
- */
1470
- export interface UtilChunkResolverOptionsMarkdownV3_54_0 {
1471
- type: 'markdown';
1472
- /**
1473
- * New chunks will be created at headers for this level or lower. Default 2.
1474
- */
1475
- headerLevel?: number;
1476
- /**
1477
- * A new chunk will be started when this number of characters is reached, regardless of markup.
1478
- */
1479
- maxCharacters?: number;
1480
- }
1481
- /**
1482
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1483
- * via the `definition` "utilChunkResolverOptionsSemantic".
1484
- */
1485
- export interface UtilChunkResolverOptionsSemanticV3_54_0 {
1486
- type: 'semantic';
1487
- serviceId: string;
1488
- modelId: string;
1489
- /**
1490
- * Similarity below which two embeddings are considered different.
1491
- */
1492
- similarityThreshold?: number;
1493
- /**
1494
- * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1495
- */
1496
- stride?: number;
1497
- /**
1498
- * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1499
- */
1500
- sentenceCount?: number;
1501
- /**
1502
- * The maximum number of characters in a chunk.
1503
- */
1504
- maxCharacters?: number;
1505
- /**
1506
- * The maximum number of tokens in a chunk.
1507
- */
1508
- maxTokens?: number;
1509
- }
1510
- export interface AISendAgentMessageResolverV3_54_0 {
1511
- id?: string;
1512
- name: AIResolverNameV3_54_05;
1513
- agentName: string;
1514
- inputName: string;
1515
- }
1516
- export interface AIInspectAgentResolverV3_54_0 {
1517
- id?: string;
1518
- name: AIResolverNameV3_54_06;
1519
- agentName: string;
1520
- }
1521
- /**
1522
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1523
- * via the `definition` "composeResolver".
1524
- */
1525
- export interface ComposeResolverV3_54_0 {
1526
- compose: BasicResolverV3_54_0[];
1527
- resultsMapping?: DirectiveMappingMapV3_54_0 | DirectiveConfigV3_54_0;
1528
- results?: ParameterConfigForJsonV3_54_0;
1529
- }
1530
- /**
1531
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1532
- * via the `definition` "indexed".
1533
- */
1534
- export interface IndexedV3_54_0 {
1535
- nested?: boolean;
1536
- }
1537
- /**
1538
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1539
- * via the `definition` "graphql".
1540
- */
1541
- export interface GraphQLConfigV3_54_0 {
1542
- json?: boolean;
1543
- }
1544
- /**
1545
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1546
- * via the `definition` "shapeMap".
1547
- */
1548
- export interface ShapeMapV3_54_0 {
1549
- [k: string]: ShapeJSONV3_54_0;
1550
- }
1551
- /**
1552
- * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1553
- *
1554
- * This interface was referenced by `ShapeMapV3_54_0`'s JSON-Schema definition
1555
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1556
- *
1557
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1558
- * via the `definition` "shape".
1559
- */
1560
- export interface ShapeJSONV3_54_0 {
1561
- /**
1562
- * 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
1563
- */
1564
- name: string;
1565
- /**
1566
- * 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.
1567
- */
1568
- id: string;
1569
- /**
1570
- * The human-readable name for a Shape for use in a UI.
1571
- */
1572
- title: string;
1573
- description?: string;
1574
- type?: 'interface' | 'input' | 'output';
1575
- interfaces?: string[];
1576
- /**
1577
- * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1578
- */
1579
- model?: {
1580
- type: ModelTypeV3_54_0;
1581
- };
1582
- workflow?: string;
1583
- loaders?: ShapeLoadersV3_54_0;
1584
- joins?: ShapeJoinsV3_54_0;
1585
- cache?: ShapeCacheConfigV3_54_0;
1586
- schema: ShapeSchemaV3_54_0;
1587
- }
1588
- /**
1589
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1590
- * via the `definition` "shapeLoaders".
1591
- */
1592
- export interface ShapeLoadersV3_54_0 {
1593
- list: StoredListQueryLoaderConfigV3_54_0 | StoredListQueryLoaderConfigV3_54_0[];
1594
- get?: GetQueryLoaderConfigV3_54_0;
1595
- }
1596
- /**
1597
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1598
- * via the `definition` "storedListQueryLoaderConfig".
1599
- */
1600
- export interface StoredListQueryLoaderConfigV3_54_0 {
1601
- query: string;
1602
- args?: {
1603
- [k: string]: any;
1604
- } | {
1605
- [k: string]: any;
1606
- }[];
1607
- pagination?: PaginationConfigV3_54_0;
1608
- }
1609
- /**
1610
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1611
- * via the `definition` "paginationCursorConfig".
1612
- */
1613
- export interface PaginationCursorConfigV3_54_0 {
1614
- type: 'cursor';
1615
- cursorArg: string;
1616
- cursorPath: string;
1617
- pageSize?: number;
1618
- pageSizeArg: string;
1619
- hasMorePath: string;
1620
- itemsPath: string;
1621
- }
1622
- /**
1623
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1624
- * via the `definition` "paginationPageConfig".
1625
- */
1626
- export interface PaginationPageConfigV3_54_0 {
1627
- type: 'page';
1628
- pageArg: string;
1629
- pageSize?: number;
1630
- pageSizeArg?: string;
1631
- itemsPath: string;
1632
- pageTotalPath: string;
1633
- }
1634
- /**
1635
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1636
- * via the `definition` "paginationOffsetConfig".
1637
- */
1638
- export interface PaginationOffsetConfigV3_54_0 {
1639
- type: 'offset';
1640
- offsetArg: string;
1641
- pageSize?: number;
1642
- pageSizeArg?: string;
1643
- itemsPath: string;
1644
- itemTotalPath: string;
1645
- }
1646
- /**
1647
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1648
- * via the `definition` "getQueryLoaderConfig".
1649
- */
1650
- export interface GetQueryLoaderConfigV3_54_0 {
1651
- query: string;
1652
- args?: {
1653
- [k: string]: any;
1654
- };
1655
- idArg?: string;
1656
- }
1657
- /**
1658
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1659
- * via the `definition` "shapeJoins".
1660
- */
1661
- export interface ShapeJoinsV3_54_0 {
1662
- [k: string]: ShapeJoinV3_54_0;
1663
- }
1664
- /**
1665
- * This interface was referenced by `ShapeJoinsV3_54_0`'s JSON-Schema definition
1666
- * via the `patternProperty` "[:0-9A-Za-z_-]+".
1667
- *
1668
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1669
- * via the `definition` "shapeJoin".
1670
- */
1671
- export interface ShapeJoinV3_54_0 {
1672
- resolver: DelegateResolverV3_54_0 | ShapedbResolverV3_54_0;
1673
- dependencies?: string;
1674
- }
1675
- /**
1676
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1677
- * via the `definition` "shapeCacheConfig".
1678
- */
1679
- export interface ShapeCacheConfigV3_54_0 {
1680
- enabled: boolean;
1681
- idField?: string;
1682
- searchSummaryField?: string;
1683
- fragment?: CachedFragmentConfigV3_54_0;
1684
- triggers?: CacheTriggerConfigV3_54_0[];
1685
- /**
1686
- * Number of seconds this Shape should be cached. Default 0.
1687
- */
1688
- maxAge?: number;
1689
- }
1690
- /**
1691
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1692
- * via the `definition` "cachedFragmentConfig".
1693
- */
1694
- export interface CachedFragmentConfigV3_54_0 {
1695
- ignoreFields?: string[];
1696
- maxDepth?: number;
1697
- selectionSet?: string;
1698
- includeDeprecated?: boolean;
1699
- }
1700
- /**
1701
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1702
- * via the `definition` "cacheScheduleTriggerConfig".
1703
- */
1704
- export interface CacheScheduleTriggerConfigV3_54_0 {
1705
- type: 'schedule';
1706
- loader: 'get' | 'list';
1707
- interval: number;
1708
- }
1709
- /**
1710
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1711
- * via the `definition` "cacheWebhookTriggerConfig".
1712
- */
1713
- export interface CacheWebhookTriggerConfigV3_54_0 {
1714
- type: 'webhook';
1715
- loader: 'get' | 'list';
1716
- service: string;
1717
- events: string[];
1718
- }
1719
- /**
1720
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1721
- * via the `definition` "shapeSchemaAllOf".
1722
- */
1723
- export interface ShapeSchemaAllOfV3_54_0 {
1724
- allOf: ObjectOrRefArrayV3_54_0;
1725
- }
1726
- /**
1727
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1728
- * via the `definition` "shapeSchemaExtends".
1729
- */
1730
- export interface ShapeSchemaExtendsV3_54_0 {
1731
- extends: ObjectOrRefArrayV3_54_0;
1732
- }
1733
- /**
1734
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1735
- * via the `definition` "shapeSchemaOneOf".
1736
- */
1737
- export interface ShapeSchemaOneOfV3_54_0 {
1738
- oneOf: ObjectOrRefArrayV3_54_0;
1739
- }
1740
- /**
1741
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1742
- * via the `definition` "shapeSchemaEnum".
1743
- */
1744
- export interface ShapeSchemaEnumV3_54_0 {
1745
- enum: any[];
1746
- }
1747
- /**
1748
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
1749
- * via the `definition` "shapeSchemaAny".
1750
- */
1751
- export interface ShapeSchemaAnyV3_54_0 {
1752
- }
1753
- export interface AIExperimentalV3_54_0 {
1754
- agents?: AgentMapV3_54_0;
1755
- guards?: GuardMapV3_54_0;
1756
- mcp?: MCPServerConfigurationV3_54_0;
1757
- }
1758
- export interface AgentMapV3_54_0 {
1759
- [k: string]: AgentJSONV3_54_0;
1760
- }
1761
- /**
1762
- * An Agent is a configuration for an AI service such as a chat bot or a search engine.
1763
- *
1764
- * This interface was referenced by `AgentMapV3_54_0`'s JSON-Schema definition
1765
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1766
- */
1767
- export interface AgentJSONV3_54_0 {
1768
- description?: string;
1769
- systemPrompt?: string;
1770
- api: AgentAPIV3_54_0;
1771
- memory?: AgentMemoryV3_54_0;
1772
- start: AgentStartV3_54_0;
1773
- states: AgentStatesV3_54_0;
1774
- guards?: AgentGuardV3_54_0[];
1775
- historyStrategies?: HistoryStrategyMapV3_54_0;
1776
- }
1777
- export interface AgentAPIV3_54_0 {
1778
- inputs: AgentAPIInputV3_54_0[];
1779
- }
1780
- export interface AgentAPIMutationInputV3_54_0 {
1781
- type: 'mutation';
1782
- name: string;
1783
- args: string;
1784
- interactionTimeout?: InteractionTimeoutMillisecondsV3_54_0;
1785
- }
1786
- export interface AgentMemoryV3_54_0 {
1787
- sessionMemory: AgentSessionMemoryV3_54_0;
1788
- }
1789
- export interface AgentSessionMemoryV3_54_0 {
1790
- shape?: string;
1791
- }
1792
- /**
1793
- * Configuration for the start of an agent's execution
1794
- */
1795
- export interface AgentStartV3_54_0 {
1796
- transitions: AgentTransitionSuspendV3_54_0[];
1797
- }
1798
- export interface AgentTransitionSuspendV3_54_0 {
1799
- type: 'suspend';
1800
- destination: string;
1801
- input: string;
1802
- condition?: string;
1803
- limit?: number;
1804
- sessionMemory?: AgentStateSessionMemoryV3_54_0;
1805
- historyStrategy?: string;
1806
- }
1807
- export interface AgentStateSessionMemoryAssignmentV3_54_0 {
1808
- memoryPath?: string;
1809
- expression: string;
1810
- }
1811
- /**
1812
- * States that are traversed during the execution of an agent.
1813
- */
1814
- export interface AgentStatesV3_54_0 {
1815
- [k: string]: AgentStateV3_54_0;
1816
- }
1817
- /**
1818
- * One step of an agent's execution.
1819
- *
1820
- * This interface was referenced by `AgentStatesV3_54_0`'s JSON-Schema definition
1821
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1822
- */
1823
- export interface AgentStateV3_54_0 {
1824
- name: string;
1825
- variables?: VariablesV3_54_0;
1826
- execution: AgentExecutionV3_54_0;
1827
- transitions?: AgentTransitionV3_54_0[];
1828
- }
1829
- export interface AgentVariableV3_54_0 {
1830
- name: string;
1831
- /**
1832
- * These are evaluated in order until a value is found.
1833
- */
1834
- steps: AgentVariableStepV3_54_0[];
1835
- }
1836
- export interface AgentVariableStepV3_54_0 {
1837
- condition?: string;
1838
- expression: string;
1839
- }
1840
- export interface AgentExecutionGraphQLV3_54_0 {
1841
- type: 'graphql';
1842
- query: string;
1843
- path?: string;
1844
- }
1845
- export interface AgentExecutionGenerateV3_54_0 {
1846
- type: 'generate';
1847
- service: string;
1848
- model: string;
1849
- systemPrompt?: string;
1850
- input: AgentAIStateInputV3_54_0;
1851
- outputShape?: string;
1852
- tools?: AgentToolConfigV3_54_0[];
1853
- options?: AgentGenerateOptionsV3_54_0;
1854
- }
1855
- export interface AgentAIStateInputArgumentV3_54_0 {
1856
- type: 'arg';
1857
- }
1858
- export interface AgentAIStateInputTemplateV3_54_0 {
1859
- type: 'template';
1860
- inputTemplate: string;
1861
- }
1862
- export interface AgentToolConfigV3_54_0 {
1863
- name: string;
1864
- ref: string;
1865
- description?: string;
1866
- args?: AgentToolConfigArgV3_54_0[];
1867
- selectionSet?: string;
1868
- }
1869
- export interface AgentControlledV3_54_0 {
1870
- type: 'agent';
1871
- argName: ToolArgumentNameV3_54_0;
1872
- }
1873
- export interface VariableValueV3_54_0 {
1874
- type: 'variable';
1875
- argName: ToolArgumentNameV3_54_01;
1876
- variableName: StateVariableNameV3_54_0;
1877
- }
1878
- export interface AgentGenerateOptionsV3_54_0 {
1879
- history?: HistoryV3_54_01;
1880
- maxTokens?: MaximumTokensV3_54_01;
1881
- temperature?: TemperatureV3_54_01;
1882
- topP?: TopPV3_54_01;
1883
- topK?: TopKV3_54_01;
1884
- presencePenalty?: PresencePenaltySettingV3_54_01;
1885
- frequencyPenalty?: FrequencyPenaltySettingV3_54_01;
1886
- stopSequences?: StopSequencesV3_54_01;
1887
- seed?: SeedV3_54_01;
1888
- /**
1889
- * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1890
- */
1891
- maxRetries?: number;
1892
- /**
1893
- * The tool choice strategy. Default: 'auto'
1894
- */
1895
- toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1896
- maxToolRoundtrips?: MaxToolRoundtripsV3_54_0;
1897
- structuredOutputs?: StructuredOutputsV3_54_0;
1898
- enableOpenAIFormat?: EnableOpenAISchemaFormatV3_54_0;
1899
- removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_54_0;
1900
- stripMarkdown?: StripMarkdownV3_54_0;
1901
- }
1902
- export interface AgentExecutionChatV3_54_0 {
1903
- type: 'chat';
1904
- service: string;
1905
- model: string;
1906
- systemPrompt?: string;
1907
- input: AgentAIStateInputV3_54_0;
1908
- artifact?: string;
1909
- tools?: AgentToolConfigV3_54_0[];
1910
- options?: AgentGenerateOptionsV3_54_0;
1911
- }
1912
- export interface AgentTransitionImmediateV3_54_0 {
1913
- type: 'immediate';
1914
- destination: string;
1915
- condition?: string;
1916
- limit?: number;
1917
- sessionMemory?: AgentStateSessionMemoryV3_54_01;
1918
- historyStrategy?: string;
1919
- }
1920
- export interface AgentGuardV3_54_0 {
1921
- guardId: GuardIDV3_54_0;
1922
- }
1923
- export interface HistoryStrategyMapV3_54_0 {
1924
- [k: string]: HistoryStrategyV3_54_0;
1925
- }
1926
- /**
1927
- * This interface was referenced by `HistoryStrategyMapV3_54_0`'s JSON-Schema definition
1928
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1929
- */
1930
- export interface HistoryStrategyV3_54_0 {
1931
- name: string;
1932
- variables?: VariablesV3_54_01;
1933
- filter?: HistoryStrategyFilterV3_54_0;
1934
- transform: HistoryStrategyTransformV3_54_0;
1935
- }
1936
- export interface HistoryStrategyFilterV3_54_0 {
1937
- toolCalls?: 'retain' | 'clear';
1938
- }
1939
- export interface HistoryStrategyTransformNoneV3_54_0 {
1940
- type: 'none';
1941
- }
1942
- export interface HistoryStrategyTransformReplaceV3_54_0 {
1943
- type: 'replace';
1944
- template: string;
1945
- }
1946
- export interface HistoryStrategyTransformSummarizeV3_54_0 {
1947
- type: 'generate';
1948
- service: string;
1949
- model: string;
1950
- systemPrompt: string;
1951
- tools?: AgentToolConfigV3_54_0[];
1952
- options?: AgentGenerateOptionsV3_54_0;
1953
- }
1954
- export interface GuardMapV3_54_0 {
1955
- [k: string]: GuardJSONV3_54_0;
1956
- }
1957
- /**
1958
- * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
1959
- *
1960
- * This interface was referenced by `GuardMapV3_54_0`'s JSON-Schema definition
1961
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1962
- */
1963
- export interface GuardJSONV3_54_0 {
1964
- name: NameV3_54_0;
1965
- description?: DescriptionV3_54_0;
1966
- enabled?: EnabledV3_54_0;
1967
- guardrailIdentifier?: GuardrailIdentifierV3_54_0;
1968
- guardrailVersion?: GuardrailVersionV3_54_0;
1969
- blockedInputMessaging?: BlockedInputMessagingV3_54_0;
1970
- blockedOutputsMessaging?: BlockedOutputsMessagingV3_54_0;
1971
- topicPolicyConfig?: TopicPolicyV3_54_0;
1972
- contentPolicyConfig?: ContentPolicyV3_54_0;
1973
- wordPolicyConfig?: WordPolicyV3_54_0;
1974
- sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_54_0;
1975
- contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_54_0;
1976
- }
1977
- /**
1978
- * Topics to identify and block.
1979
- */
1980
- export interface TopicPolicyV3_54_0 {
1981
- topicsConfig: TopicV3_54_0;
1982
- }
1983
- /**
1984
- * Types of content to filter and strength configuration.
1985
- */
1986
- export interface ContentPolicyV3_54_0 {
1987
- filtersConfig: FilterV3_54_0;
1988
- }
1989
- /**
1990
- * Specific words to identify and block.
1991
- */
1992
- export interface WordPolicyV3_54_0 {
1993
- wordsConfig?: WordListV3_54_0;
1994
- managedWordListsConfig?: ManagedWordListV3_54_0;
1995
- }
1996
- /**
1997
- * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
1998
- */
1999
- export interface SensitiveInformationPolicyV3_54_0 {
2000
- piiEntitiesConfig?: PIIEntityV3_54_0;
2001
- regexesConfig?: RegularExpressionV3_54_0;
2002
- }
2003
- /**
2004
- * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
2005
- */
2006
- export interface ContextualGroundingPolicyV3_54_0 {
2007
- filtersConfig: FilterV3_54_01;
2008
- }
2009
- export interface MCPServerConfigurationV3_54_0 {
2010
- tools?: ToolMapV3_54_0;
2011
- }
2012
- export interface ToolMapV3_54_0 {
2013
- [k: string]: ToolJSONV3_54_0;
2014
- }
2015
- /**
2016
- * This interface was referenced by `ToolMapV3_54_0`'s JSON-Schema definition
2017
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
2018
- */
2019
- export interface ToolJSONV3_54_0 {
2020
- name: string;
2021
- ref: string;
2022
- description?: string;
2023
- args?: ToolArgV3_54_0[];
2024
- selectionSet?: string;
2025
- }
2026
- /**
2027
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2028
- * via the `definition` "formMap".
2029
- */
2030
- export interface FormMapV3_54_0 {
2031
- [k: string]: FormsConfigV3_54_0;
2032
- }
2033
- /**
2034
- * This interface was referenced by `FormMapV3_54_0`'s JSON-Schema definition
2035
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2036
- *
2037
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2038
- * via the `definition` "formsConfig".
2039
- */
2040
- export interface FormsConfigV3_54_0 {
2041
- default: FormConfigV3_54_0;
2042
- [k: string]: FormConfigV3_54_0;
2043
- }
2044
- /**
2045
- * This interface was referenced by `FormsConfigV3_54_0`'s JSON-Schema definition
2046
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2047
- *
2048
- * This interface was referenced by `undefined`'s JSON-Schema definition
2049
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2050
- *
2051
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2052
- * via the `definition` "formConfig".
2053
- */
2054
- export interface FormConfigV3_54_0 {
2055
- [k: string]: any;
2056
- }
2057
- /**
2058
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2059
- * via the `definition` "workflowMap".
2060
- */
2061
- export interface WorkflowMapV3_54_0 {
2062
- [k: string]: WorkflowV3_54_0;
2063
- }
2064
- /**
2065
- * This interface was referenced by `WorkflowMapV3_54_0`'s JSON-Schema definition
2066
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2067
- *
2068
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2069
- * via the `definition` "workflow".
2070
- */
2071
- export interface WorkflowV3_54_0 {
2072
- /**
2073
- * machine-readable id
2074
- */
2075
- name: string;
2076
- title: WorkflowNameV3_54_0;
2077
- steps: StepsV3_54_0;
2078
- [k: string]: any;
2079
- }
2080
- /**
2081
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2082
- * via the `definition` "workflowStep".
2083
- */
2084
- export interface WorkflowStepV3_54_0 {
2085
- name: NameV3_54_01;
2086
- title: TitleV3_54_0;
2087
- description?: DescriptionV3_54_01;
2088
- color: ColorV3_54_0;
2089
- live: LiveV3_54_0;
2090
- key: KeyV3_54_0;
2091
- }
2092
- /**
2093
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2094
- * via the `definition` "storedServiceMap".
2095
- */
2096
- export interface ServiceMapJSONV3_54_0 {
2097
- [k: string]: ServiceConfigJSONV3_54_0;
2098
- }
2099
- /**
2100
- * This interface was referenced by `ServiceMapJSONV3_54_0`'s JSON-Schema definition
2101
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2102
- *
2103
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2104
- * via the `definition` "storedServiceConfig".
2105
- */
2106
- export interface ServiceConfigJSONV3_54_0 {
2107
- /**
2108
- * Machine-readable identifier, should typically be the same as the property name on the services object.
2109
- */
2110
- id: string;
2111
- /**
2112
- * Human-readable name for this service.
2113
- */
2114
- title: string;
2115
- /**
2116
- * The service provider id.
2117
- */
2118
- provider: string;
2119
- /**
2120
- * A namespace to use for the imported types tied to this service.
2121
- */
2122
- namespace?: string;
2123
- serviceType: ServiceTypeV3_54_0;
2124
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2125
- authentication?: string;
2126
- healthCheck?: ServiceHealthCheckV3_54_0;
2127
- webhookId?: string;
2128
- /**
2129
- * Configuration options passed to and handled by the provider.
2130
- */
2131
- options?: {
2132
- [k: string]: any;
2133
- };
2134
- }
2135
- /**
2136
- * Configuration for ping health checks.
2137
- *
2138
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2139
- * via the `definition` "serviceHealthCheck".
2140
- */
2141
- export interface ServiceHealthCheckV3_54_0 {
2142
- checkName: CheckNameV3_54_0;
2143
- endpoint?: EndpointV3_54_0;
2144
- requestMethod?: RequestMethodV3_54_0;
2145
- requestHeaders?: RequestHeadersV3_54_0;
2146
- requestSearchParams?: RequestSearchParamsV3_54_0;
2147
- requestBody?: RequestBodyV3_54_0;
2148
- requestBodyFormat?: RequestBodyFormatV3_54_0;
2149
- requestTimeout?: RequestTimeoutV3_54_0;
2150
- healthyResponseStatusCode?: HealthyResponseStatusCodeV3_54_0;
2151
- triggers?: ServiceHealthCheckTriggerV3_54_0[];
2152
- }
2153
- /**
2154
- * Any custom headers to set with the health check request.
2155
- */
2156
- export interface RequestHeadersV3_54_0 {
2157
- [k: string]: any;
2158
- }
2159
- /**
2160
- * Any custom search params to set with the health check request.
2161
- */
2162
- export interface RequestSearchParamsV3_54_0 {
2163
- [k: string]: any;
2164
- }
2165
- /**
2166
- * All possible options for the more specific ParameterSerializeStyleOptions types.
2167
- *
2168
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2169
- * via the `definition` "parameterSerializeStyleOptions".
2170
- */
2171
- export interface ParameterSerializeStyleOptionsV3_54_0 {
2172
- style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2173
- explode?: boolean;
2174
- allowEmptyValue?: boolean;
2175
- /**
2176
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2177
- */
2178
- allowReserved?: boolean;
2179
- skipEncoding?: boolean;
2180
- }
2181
- /**
2182
- * All possible options for the more specific ParameterSerializeConfig types.
2183
- *
2184
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2185
- * via the `definition` "parameterSerializeConfig".
2186
- */
2187
- export interface ParameterSerializeConfigV3_54_0 {
2188
- content?: ParameterSerializeContentOptionsV3_54_0;
2189
- defaults?: ParameterSerializeOptionsV3_54_0;
2190
- paths?: {
2191
- [k: string]: ParameterSerializeOptionsV3_54_0;
2192
- };
2193
- }
2194
- /**
2195
- * All possible options for the more specific ParameterConfig types.
2196
- *
2197
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2198
- * via the `definition` "parameterConfig".
2199
- */
2200
- export interface ParameterConfigV3_54_0 {
2201
- ops: ParameterOpListV3_54_0;
2202
- serialize?: ParameterSerializeConfigV3_54_0;
2203
- }
2204
- /**
2205
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2206
- * via the `definition` "aiParseFileResolverOptions".
2207
- */
2208
- export interface AIParseFileResolverOptionsV3_54_0 {
2209
- [k: string]: any;
2210
- }
2211
- /**
2212
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2213
- * via the `definition` "listQueryLoaderConfig".
2214
- */
2215
- export interface ListQueryLoaderConfigV3_54_0 {
2216
- query: string;
2217
- args?: {
2218
- [k: string]: any;
2219
- };
2220
- pagination?: PaginationConfigV3_54_0;
2221
- }
2222
- /**
2223
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2224
- * via the `definition` "formScalarConfig".
2225
- */
2226
- export interface FormScalarConfigV3_54_0 {
2227
- widget: string;
2228
- }
2229
- /**
2230
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2231
- * via the `definition` "formObjectConfig".
2232
- */
2233
- export interface FormObjectConfigV3_54_0 {
2234
- widget?: string;
2235
- order?: string[];
2236
- properties?: {
2237
- [k: string]: FormConfigV3_54_0;
2238
- };
2239
- }
2240
- /**
2241
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2242
- * via the `definition` "formArrayConfig".
2243
- */
2244
- export interface FormArrayConfigV3_54_0 {
2245
- widget: string;
2246
- items: FormConfigV3_54_0;
2247
- }
2248
- /**
2249
- * For use with a custom auth handler on a service provider.
2250
- *
2251
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2252
- * via the `definition` "customAuthentication".
2253
- */
2254
- export interface CustomAuthenticationV3_54_0 {
2255
- type: 'custom';
2256
- [k: string]: any;
2257
- }
2258
- /**
2259
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2260
- * via the `definition` "searchParamsAuthentication".
2261
- */
2262
- export interface SearchParamsAuthenticationV3_54_0 {
2263
- type: 'searchParams';
2264
- params: {
2265
- name: string;
2266
- value: string;
2267
- }[];
2268
- }
2269
- /**
2270
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2271
- * via the `definition` "bearerAuthentication".
2272
- */
2273
- export interface BearerAuthenticationV3_54_0 {
2274
- type: 'bearer';
2275
- token: string;
2276
- prefix?: string;
2277
- header?: string;
2278
- }
2279
- /**
2280
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2281
- * via the `definition` "oauth2BearerAuthentication".
2282
- */
2283
- export interface OAuth2BearerAuthenticationV3_54_0 {
2284
- type: 'oauth2Bearer';
2285
- token: string;
2286
- prefix?: string;
2287
- header?: string;
2288
- scope?: string;
2289
- expiresAt?: string;
2290
- }
2291
- /**
2292
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2293
- * via the `definition` "basicAuthentication".
2294
- */
2295
- export interface BasicAuthenticationV3_54_0 {
2296
- type: 'basic';
2297
- username: string;
2298
- password: string;
2299
- useIso8859?: boolean;
2300
- }
2301
- /**
2302
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2303
- * via the `definition` "oauth2Authentication".
2304
- */
2305
- export interface OAuth2AuthenticationV3_54_0 {
2306
- type: 'oauth2';
2307
- grantType: 'authorizationCode' | 'clientCredentials';
2308
- authorizationUrl?: string;
2309
- accessTokenUrl?: string;
2310
- clientId: string;
2311
- clientSecret?: string;
2312
- scope?: string;
2313
- usePkce?: boolean;
2314
- redirectUrl?: string;
2315
- headerPrefix?: string;
2316
- audience?: string;
2317
- resource?: string;
2318
- }
2319
- /**
2320
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2321
- * via the `definition` "awsAuthentication".
2322
- */
2323
- export interface AWSAuthenticationV3_54_0 {
2324
- type: 'aws';
2325
- awsAccessKeyId: string;
2326
- awsSecretAccessKey: string;
2327
- }
2328
- /**
2329
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2330
- * via the `definition` "googleAuthentication".
2331
- */
2332
- export interface GoogleAuthenticationV3_54_0 {
2333
- type: 'google';
2334
- clientEmail: string;
2335
- privateKey: string;
2336
- }
2337
- /**
2338
- * This interface was referenced by `ProjectSchemaJSONV3_54_0`'s JSON-Schema
2339
- * via the `definition` "serviceConfig".
2340
- */
2341
- export interface ServiceConfigV3_54_0 {
2342
- /**
2343
- * Machine-readable identifier, should typically be the same as the property name on the services object.
2344
- */
2345
- id: string;
2346
- /**
2347
- * Human-readable name for this service.
2348
- */
2349
- title: string;
2350
- /**
2351
- * The service provider id.
2352
- */
2353
- provider: string;
2354
- /**
2355
- * A namespace to use for the imported types tied to this service.
2356
- */
2357
- namespace?: string;
2358
- serviceType: ServiceTypeV3_54_0;
2359
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2360
- authentication?: ServiceAuthenticationV3_54_0;
2361
- healthCheck?: ServiceHealthCheckV3_54_0;
2362
- webhookId?: string;
2363
- /**
2364
- * Configuration options passed to and handled by the provider.
2365
- */
2366
- options?: {
2367
- [k: string]: any;
2368
- };
2369
- }