@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,2350 +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_53_0`'s JSON-Schema
8
- * via the `definition` "args".
9
- */
10
- export type ArgsV3_53_0 = string | ObjectSchemaV3_53_0;
11
- /**
12
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
13
- * via the `definition` "objectSchema".
14
- */
15
- export type ObjectSchemaV3_53_0 = PropertySchemaV3_53_0 & {
16
- type: 'object';
17
- properties: {
18
- [k: string]: PropertySchemaV3_53_0;
19
- };
20
- };
21
- /**
22
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
23
- * via the `definition` "nonNegativeInteger".
24
- */
25
- export type NonNegativeIntegerV3_53_0 = number;
26
- /**
27
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
28
- * via the `definition` "nonNegativeIntegerDefault0".
29
- */
30
- export type NonNegativeIntegerDefault0V3_53_0 = NonNegativeIntegerV3_53_0;
31
- /**
32
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
33
- * via the `definition` "stringArray".
34
- */
35
- export type StringArrayV3_53_0 = string[];
36
- /**
37
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
38
- * via the `definition` "simpleTypes".
39
- */
40
- export type SimpleTypesV3_53_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
- /**
42
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
43
- * via the `definition` "schemaArray".
44
- */
45
- export type SchemaArrayV3_53_0 = PropertySchemaV3_53_0[];
46
- /**
47
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
48
- * via the `definition` "ref".
49
- */
50
- export type RefV3_53_0 = string;
51
- /**
52
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
53
- * via the `definition` "objectOrRefArray".
54
- */
55
- export type ObjectOrRefArrayV3_53_0 = (RefSchemaV3_53_0 | RefSchemaLegacyV3_53_0 | ObjectSchemaV3_53_0)[];
56
- /**
57
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
58
- * via the `definition` "fieldMapping".
59
- */
60
- export type FieldMappingV3_53_0 = MappingStringV3_53_0 | MappingStringV3_53_0[];
61
- /**
62
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
63
- * via the `definition` "mappingString".
64
- */
65
- export type MappingStringV3_53_0 = string;
66
- /**
67
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
68
- * via the `definition` "resolver".
69
- */
70
- export type ResolverV3_53_0 = BasicResolverV3_53_0 | ComposeResolverV3_53_0;
71
- /**
72
- * A single resolver, can be composed with the ComposeResolver.
73
- *
74
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
75
- * via the `definition` "basicResolver".
76
- */
77
- export type BasicResolverV3_53_0 = UtilResolverV3_53_0 | DelegateResolverV3_53_0 | TakeshapeResolverV3_53_0 | ShapedbResolverV3_53_0 | ShapedbResolverShapeNameNotRequiredV3_53_0 | GraphqlResolverV3_53_0 | RestResolverV3_53_0 | AwsLambdaResolverV3_53_0 | SalsifyResolverV3_53_0 | SyndigoResolverV3_53_0 | FunctionResolverV3_53_0 | AIGenerateTextResolverV3_53_0 | AIGeneratePropertyResolverV3_53_0 | AIEmbeddingResolverV3_53_0 | AIParseFileResolverV3_53_0 | ChunkResolverV3_53_0 | AISendAgentMessageResolverV3_53_0 | AIInspectAgentResolverV3_53_0;
78
- /**
79
- * Name of the resolver function.
80
- */
81
- export type UtilResolverNameV3_53_0 = 'util:noop' | 'util:wrap';
82
- /**
83
- * An object describing an operation to generate a parameter.
84
- *
85
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
86
- * via the `definition` "parameterOp".
87
- */
88
- export type ParameterOpV3_53_0 = ParameterOpNestedV3_53_0 | ParameterOpValueV3_53_0 | ParameterOpMappingV3_53_0 | ParameterOpOpV3_53_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_53_0`'s JSON-Schema
93
- * via the `definition` "directiveConfigItem".
94
- */
95
- export type DirectiveConfigItemV3_53_0 = [DirectiveNameV3_53_0, DirectiveOptionsV3_53_0];
96
- export type DirectiveNameV3_53_0 = string;
97
- /**
98
- * An array of individual directive config items to process in order
99
- *
100
- * This interface was referenced by `DirectiveMappingMapV3_53_0`'s JSON-Schema definition
101
- * via the `patternProperty` "[0-9A-Za-z_-]+".
102
- *
103
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
104
- * via the `definition` "directiveConfig".
105
- */
106
- export type DirectiveConfigV3_53_0 = DirectiveConfigItemV3_53_0[];
107
- /**
108
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
109
- * via the `definition` "parameterOpList".
110
- */
111
- export type ParameterOpListV3_53_0 = ParameterOpV3_53_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_53_0`'s JSON-Schema
116
- * via the `definition` "argsMapping".
117
- */
118
- export type ArgsMappingV3_53_0 = DirectiveMappingMapV3_53_0 | DirectiveConfigV3_53_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_53_0`'s JSON-Schema
123
- * via the `definition` "resultsMapping".
124
- */
125
- export type ResultsMappingV3_53_0 = DirectiveMappingMapV3_53_0 | DirectiveConfigV3_53_0;
126
- /**
127
- * Name of the resolver function.
128
- */
129
- export type DelegateResolverNameV3_53_0 = 'delegate';
130
- /**
131
- * Name of the resolver function.
132
- */
133
- export type TakeshapeResolverNameV3_53_0 = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
- /**
135
- * Name of the resolver function.
136
- */
137
- export type ShapedbResolverNameV3_53_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_53_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
- /**
143
- * Name of the resolver function.
144
- */
145
- export type GraphqlResolverNameV3_53_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
- /**
147
- * Name of the resolver function.
148
- */
149
- export type RestResolverNameV3_53_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_53_0`'s JSON-Schema
154
- * via the `definition` "directiveMappingArrayItem".
155
- */
156
- export type DirectiveMappingArrayItemV3_53_0 = [string, DirectiveConfigV3_53_0];
157
- /**
158
- * An array of key / value or directive config tuples
159
- */
160
- export type SearchParamsMappingV3_53_0 = DirectiveMappingArrayItemV3_53_0[];
161
- /**
162
- * Name of the resolver function.
163
- */
164
- export type AwsLambdaResolverNameV3_53_0 = 'awsLambda:invoke';
165
- /**
166
- * Name of the resolver function.
167
- */
168
- export type SalsifyResolverNameV3_53_0 = 'salsify:listChannelProducts';
169
- /**
170
- * Name of the resolver function.
171
- */
172
- export type SyndigoResolverNameV3_53_0 = 'syndigo:searchProducts';
173
- /**
174
- * Name of the resolver function.
175
- */
176
- export type FunctionResolverNameV3_53_0 = 'function:run';
177
- export type FunctionResolverJavascriptV3_53_0 = string;
178
- /**
179
- * Name of the resolver function.
180
- */
181
- export type AIResolverNameV3_53_0 = 'ai:generateText' | 'ai:chat';
182
- export type HistoryV3_53_0 = boolean;
183
- /**
184
- * Maximum number of tokens to generate.
185
- */
186
- export type MaximumTokensV3_53_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_53_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_53_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_53_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_53_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_53_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_53_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_53_0 = number;
215
- /**
216
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
217
- * via the `definition` "aiGuardrail".
218
- */
219
- export type AIGuardrailV3_53_0 = AISimilarityGuardrailV3_53_0;
220
- /**
221
- * Name of the resolver function.
222
- */
223
- export type AIResolverNameV3_53_01 = 'ai:generateProperty';
224
- /**
225
- * Name of the resolver function.
226
- */
227
- export type AIResolverNameV3_53_02 = 'ai:createEmbedding';
228
- /**
229
- * Name of the resolver function.
230
- */
231
- export type AIResolverNameV3_53_03 = 'ai:parseFile';
232
- /**
233
- * Name of the resolver function.
234
- */
235
- export type UtilResolverNameV3_53_01 = 'util:chunk';
236
- /**
237
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
238
- * via the `definition` "utilChunkResolverOptions".
239
- */
240
- export type UtilChunkResolverOptionsV3_53_0 = UtilChunkResolverOptionsCharacterCountV3_53_0 | UtilChunkResolverOptionsSeparatorsV3_53_0 | UtilChunkResolverOptionsMarkdownV3_53_0 | UtilChunkResolverOptionsSemanticV3_53_0;
241
- /**
242
- * Name of the resolver function.
243
- */
244
- export type AIResolverNameV3_53_04 = 'ai:sendAgentMessage';
245
- /**
246
- * Name of the resolver function.
247
- */
248
- export type AIResolverNameV3_53_05 = 'ai:inspectAgent';
249
- /**
250
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
251
- * via the `definition` "dependencies".
252
- */
253
- export type DependenciesV3_53_0 = string;
254
- /**
255
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
256
- * via the `definition` "returnShape".
257
- */
258
- export type ReturnShapeV3_53_0 = string | ReturnShapeArraySchemaV3_53_0;
259
- /**
260
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
261
- * via the `definition` "returnShapeArraySchema".
262
- */
263
- export type ReturnShapeArraySchemaV3_53_0 = PropertySchemaV3_53_0 & {
264
- type: 'array';
265
- items: RefSchemaV3_53_0 | {
266
- type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
267
- [k: string]: any;
268
- };
269
- };
270
- export type ModelTypeV3_53_0 = 'single' | 'multiple' | 'taxonomy';
271
- /**
272
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
273
- * via the `definition` "paginationConfig".
274
- */
275
- export type PaginationConfigV3_53_0 = PaginationCursorConfigV3_53_0 | PaginationPageConfigV3_53_0 | PaginationOffsetConfigV3_53_0;
276
- /**
277
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
278
- * via the `definition` "cacheTriggerConfig".
279
- */
280
- export type CacheTriggerConfigV3_53_0 = CacheScheduleTriggerConfigV3_53_0 | CacheWebhookTriggerConfigV3_53_0;
281
- /**
282
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
283
- * via the `definition` "shapeSchema".
284
- */
285
- export type ShapeSchemaV3_53_0 = ShapeSchemaAllOfV3_53_0 | ShapeSchemaExtendsV3_53_0 | ShapeSchemaOneOfV3_53_0 | ShapeSchemaEnumV3_53_0 | ObjectSchemaV3_53_0 | ShapeSchemaAnyV3_53_0;
286
- export type AgentAPIInputV3_53_0 = AgentAPIMutationInputV3_53_0;
287
- export type InteractionTimeoutMillisecondsV3_53_0 = number;
288
- export type AgentStateSessionMemoryV3_53_0 = AgentStateSessionMemoryAssignmentV3_53_0[];
289
- export type VariablesV3_53_0 = AgentVariableV3_53_0[];
290
- export type AgentExecutionV3_53_0 = AgentExecutionGraphQLV3_53_0 | AgentExecutionGenerateV3_53_0 | AgentExecutionChatV3_53_0;
291
- export type AgentAIStateInputV3_53_0 = AgentAIStateInputArgumentV3_53_0 | AgentAIStateInputTemplateV3_53_0;
292
- export type AgentToolConfigArgV3_53_0 = AgentControlledV3_53_0 | VariableValueV3_53_0;
293
- /**
294
- * The argument name that will be exposed by the tool for the LLM to use.
295
- */
296
- export type ToolArgumentNameV3_53_0 = string;
297
- /**
298
- * Name of argument to pass value to. This prevents the LLM from setting the argument.
299
- */
300
- export type ToolArgumentNameV3_53_01 = string;
301
- /**
302
- * Name of variable to pull value from.
303
- */
304
- export type StateVariableNameV3_53_0 = string;
305
- export type HistoryV3_53_01 = boolean;
306
- /**
307
- * Maximum number of tokens to generate. Defaults to 1024
308
- */
309
- export type MaximumTokensV3_53_01 = number;
310
- /**
311
- * 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
312
- */
313
- export type TemperatureV3_53_01 = number;
314
- /**
315
- * 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.
316
- */
317
- export type TopPV3_53_01 = number;
318
- /**
319
- * 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.
320
- */
321
- export type TopKV3_53_01 = number;
322
- /**
323
- * 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.
324
- */
325
- export type PresencePenaltySettingV3_53_01 = number;
326
- /**
327
- * 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.
328
- */
329
- export type FrequencyPenaltySettingV3_53_01 = number;
330
- /**
331
- * If set, the model will stop generating text when one of the stop sequences is generated.
332
- */
333
- export type StopSequencesV3_53_01 = string[];
334
- /**
335
- * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
336
- */
337
- export type SeedV3_53_01 = number;
338
- /**
339
- * Maximal number of automatic roundtrips for tool calls.
340
- */
341
- export type MaxToolRoundtripsV3_53_0 = number;
342
- /**
343
- * If true, structured outputs will be enabled on the model for non-text requests.
344
- */
345
- export type StructuredOutputsV3_53_0 = boolean;
346
- /**
347
- * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
348
- */
349
- export type EnableOpenAISchemaFormatV3_53_0 = boolean;
350
- export type MinimatchPatternV3_53_0 = string;
351
- /**
352
- * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
353
- */
354
- export type RemovePropertyKeyPatternsV3_53_0 = MinimatchPatternV3_53_0[];
355
- /**
356
- * Remove Markdown formatting from the LLM response
357
- */
358
- export type StripMarkdownV3_53_0 = boolean;
359
- /**
360
- * These steps are evaluated in order until a destination is found.
361
- */
362
- export type AgentTransitionV3_53_0 = AgentTransitionImmediateV3_53_0 | AgentTransitionSuspendV3_53_0;
363
- export type AgentStateSessionMemoryV3_53_01 = AgentStateSessionMemoryAssignmentV3_53_0[];
364
- export type GuardIDV3_53_0 = string;
365
- export type VariablesV3_53_01 = AgentVariableV3_53_0[];
366
- export type HistoryStrategyTransformV3_53_0 = HistoryStrategyTransformNoneV3_53_0 | HistoryStrategyTransformReplaceV3_53_0 | HistoryStrategyTransformSummarizeV3_53_0;
367
- /**
368
- * The human-readable name of the Guard.
369
- */
370
- export type NameV3_53_0 = string;
371
- /**
372
- * A description of the Guard.
373
- */
374
- export type DescriptionV3_53_0 = string;
375
- /**
376
- * Guards will not run unless enabled.
377
- */
378
- export type EnabledV3_53_0 = boolean;
379
- /**
380
- * The remote id of the Guardrail.
381
- */
382
- export type GuardrailIdentifierV3_53_0 = string;
383
- /**
384
- * The remote version of the Guardrail.
385
- */
386
- export type GuardrailVersionV3_53_0 = string;
387
- /**
388
- * A message to return when the input message is blocked by the Guard.
389
- */
390
- export type BlockedInputMessagingV3_53_0 = string;
391
- /**
392
- * A message to return when the output message is blocked by the Guard.
393
- */
394
- export type BlockedOutputsMessagingV3_53_0 = string;
395
- export type ExampleV3_53_0 = string;
396
- /**
397
- * A topic to block.
398
- */
399
- export type TopicV3_53_0 = {
400
- name: string;
401
- definition: string;
402
- /**
403
- * Examples of the topic that can hint the LLM.
404
- */
405
- examples?: ExampleV3_53_0[];
406
- type: 'DENY';
407
- }[];
408
- export type InputStrengthV3_53_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
409
- export type OutputStrengthV3_53_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
410
- export type GuardrailModalityV3_53_0 = 'TEXT' | 'IMAGE';
411
- /**
412
- * Whether to filter images or text
413
- */
414
- export type InputModalitiesV3_53_0 = GuardrailModalityV3_53_0[];
415
- /**
416
- * Whether to filter images or text
417
- */
418
- export type OutputModalitiesV3_53_0 = GuardrailModalityV3_53_0[];
419
- /**
420
- * Types of content to filter.
421
- */
422
- export type FilterV3_53_0 = {
423
- type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
424
- inputStrength: InputStrengthV3_53_0;
425
- outputStrength: OutputStrengthV3_53_0;
426
- inputModalities?: InputModalitiesV3_53_0;
427
- outputModalities?: OutputModalitiesV3_53_0;
428
- }[];
429
- /**
430
- * Specific words to block.
431
- */
432
- export type WordListV3_53_0 = {
433
- text: string;
434
- }[];
435
- /**
436
- * This is solely used for blocking profanity.
437
- */
438
- export type ManagedWordListV3_53_0 = {
439
- type: 'PROFANITY';
440
- }[];
441
- export type GuardrailSensitiveInformationActionV3_53_0 = 'ANONYMIZE' | 'BLOCK';
442
- /**
443
- * PII entity to infer from the text.
444
- */
445
- export type PIIEntityV3_53_0 = {
446
- 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';
447
- action: GuardrailSensitiveInformationActionV3_53_0;
448
- }[];
449
- /**
450
- * A regular expression to match sensitive information.
451
- */
452
- export type RegularExpressionV3_53_0 = {
453
- name: string;
454
- description?: string;
455
- pattern: string;
456
- action: GuardrailSensitiveInformationActionV3_53_0;
457
- }[];
458
- /**
459
- * The type of filter.
460
- */
461
- export type TypeV3_53_0 = 'GROUNDING' | 'RELEVANCE';
462
- /**
463
- * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
464
- */
465
- export type ThresholdV3_53_0 = number;
466
- /**
467
- * Filter to evaluate grounding text.
468
- */
469
- export type FilterV3_53_01 = {
470
- type: TypeV3_53_0;
471
- threshold: ThresholdV3_53_0;
472
- }[];
473
- export type ToolArgV3_53_0 = AgentControlledV3_53_0;
474
- /**
475
- * Human-readable id for use in the UI
476
- */
477
- export type WorkflowNameV3_53_0 = string;
478
- /**
479
- * machine-readable slug
480
- */
481
- export type NameV3_53_01 = string;
482
- /**
483
- * Human-readable id for use in the UI
484
- */
485
- export type TitleV3_53_0 = string;
486
- export type DescriptionV3_53_01 = string;
487
- /**
488
- * Hex color code
489
- */
490
- export type ColorV3_53_0 = string;
491
- /**
492
- * Value to indicate whether items in the state should be returned in list queries
493
- */
494
- export type LiveV3_53_0 = boolean;
495
- /**
496
- * machine-readable id
497
- */
498
- export type KeyV3_53_0 = string;
499
- export type StepsV3_53_0 = WorkflowStepV3_53_0[];
500
- /**
501
- * The general type of this service, specifying how and where it will be utilized.
502
- *
503
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
504
- * via the `definition` "serviceType".
505
- */
506
- export type ServiceTypeV3_53_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
507
- /**
508
- * The name of a health check to run
509
- */
510
- export type CheckNameV3_53_0 = 'graphqlIntrospection' | 'ping' | 'none';
511
- /**
512
- * The endpoint to use when checking the service health.
513
- */
514
- export type EndpointV3_53_0 = string;
515
- /**
516
- * A custom method to use for the health check request.
517
- */
518
- export type RequestMethodV3_53_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
519
- /**
520
- * A custom body to send along with the ping request.
521
- */
522
- export type RequestBodyV3_53_0 = string;
523
- /**
524
- * A custom body to send along with the ping request.
525
- */
526
- export type RequestBodyFormatV3_53_0 = 'string' | 'form' | 'json' | 'form-data';
527
- /**
528
- * The amount of time to wait when receiving a response from the health check, in seconds.
529
- */
530
- export type RequestTimeoutV3_53_0 = number;
531
- /**
532
- * The response status code that qualifies as healthy.
533
- */
534
- export type HealthyResponseStatusCodeV3_53_0 = number;
535
- /**
536
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
537
- * via the `definition` "serviceHealthCheckTrigger".
538
- */
539
- export type ServiceHealthCheckTriggerV3_53_0 = 'manual' | 'schedule';
540
- /**
541
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
542
- * via the `definition` "allOfSchema".
543
- */
544
- export type AllOfSchemaV3_53_0 = PropertySchemaV3_53_0 & {
545
- allOf: ObjectOrRefArrayV3_53_0;
546
- };
547
- /**
548
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
549
- * via the `definition` "extendsSchema".
550
- */
551
- export type ExtendsSchemaV3_53_0 = PropertySchemaV3_53_0 & {
552
- extends: ObjectOrRefArrayV3_53_0;
553
- };
554
- /**
555
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
556
- * via the `definition` "oneOfSchema".
557
- */
558
- export type OneOfSchemaV3_53_0 = PropertySchemaV3_53_0 & {
559
- oneOf: ObjectOrRefArrayV3_53_0;
560
- };
561
- /**
562
- * Options to be passed to the serialization routine.
563
- *
564
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
565
- * via the `definition` "parameterSerializeOptions".
566
- *
567
- * This interface was referenced by `undefined`'s JSON-Schema definition
568
- * via the `patternProperty` "^[^\n\r]*$".
569
- */
570
- export type ParameterSerializeOptionsV3_53_0 = ParameterSerializeStyleOptionsV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
571
- /**
572
- * An array of key / value or directive config tuples
573
- *
574
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
575
- * via the `definition` "directiveMappingArray".
576
- */
577
- export type DirectiveMappingArrayV3_53_0 = DirectiveMappingArrayItemV3_53_0[];
578
- /**
579
- * A resolver which references a specific service
580
- *
581
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
582
- * via the `definition` "serviceResolver".
583
- */
584
- export type ServiceResolverV3_53_0 = TakeshapeResolverV3_53_0 | ShapedbResolverShapeNameNotRequiredV3_53_0 | ShapedbResolverV3_53_0 | GraphqlResolverV3_53_0 | RestResolverV3_53_0 | AwsLambdaResolverV3_53_0;
585
- /**
586
- * An array of key / value or directive config tuples
587
- *
588
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
589
- * via the `definition` "searchParamsMapping".
590
- */
591
- export type SearchParamsMappingV3_53_01 = DirectiveMappingArrayItemV3_53_0[];
592
- /**
593
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
594
- * via the `definition` "shapeWithObjectSchema".
595
- */
596
- export type ShapeWithObjectSchemaV3_53_0 = ShapeJSONV3_53_0 & {
597
- schema: ObjectSchemaV3_53_0;
598
- };
599
- /**
600
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
601
- * via the `definition` "serviceAuthentication".
602
- */
603
- export type ServiceAuthenticationV3_53_0 = OAuth2AuthenticationV3_53_0 | OAuth2BearerAuthenticationV3_53_0 | BearerAuthenticationV3_53_0 | BasicAuthenticationV3_53_0 | SearchParamsAuthenticationV3_53_0 | AWSAuthenticationV3_53_0 | GoogleAuthenticationV3_53_0 | CustomAuthenticationV3_53_0;
604
- /**
605
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
606
- * via the `definition` "anyServiceConfig".
607
- */
608
- export type AnyServiceConfigV3_53_0 = ServiceConfigJSONV3_53_0 | ServiceConfigV3_53_0;
609
- export interface ProjectSchemaJSONV3_53_0 {
610
- $schema?: string;
611
- /**
612
- * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
613
- */
614
- apiVersion: string;
615
- /**
616
- * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
617
- */
618
- schemaVersion: '3.53.0';
619
- /**
620
- * The ID of the TakeShape project this schema belongs to.
621
- */
622
- projectId: string;
623
- /**
624
- * The ID of the TakeShape user who created the schema.
625
- */
626
- author?: string;
627
- deactivated?: number;
628
- /**
629
- * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
630
- */
631
- defaultLocale: string;
632
- locales: string[];
633
- queries: QueryMapV3_53_0;
634
- mutations: QueryMapV3_53_0;
635
- shapes: ShapeMapV3_53_0;
636
- 'ai-experimental'?: AIExperimentalV3_53_0;
637
- forms?: FormMapV3_53_0;
638
- workflows: WorkflowMapV3_53_0;
639
- services?: ServiceMapJSONV3_53_0;
640
- }
641
- /**
642
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
643
- * via the `definition` "queryMap".
644
- */
645
- export interface QueryMapV3_53_0 {
646
- [k: string]: QueryJSONV3_53_0;
647
- }
648
- /**
649
- * This interface was referenced by `QueryMapV3_53_0`'s JSON-Schema definition
650
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
651
- *
652
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
653
- * via the `definition` "query".
654
- */
655
- export interface QueryJSONV3_53_0 {
656
- args?: ArgsV3_53_0;
657
- resolver: ResolverV3_53_0;
658
- shape: ReturnShapeV3_53_0;
659
- /**
660
- * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
661
- */
662
- description?: string;
663
- }
664
- /**
665
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
666
- * via the `definition` "propertySchema".
667
- */
668
- export interface PropertySchemaV3_53_0 {
669
- $ref?: string;
670
- title?: string;
671
- description?: string;
672
- default?: any;
673
- readOnly?: boolean;
674
- multipleOf?: number;
675
- maximum?: number;
676
- exclusiveMaximum?: number;
677
- minimum?: number;
678
- exclusiveMinimum?: number;
679
- maxLength?: NonNegativeIntegerV3_53_0;
680
- minLength?: NonNegativeIntegerDefault0V3_53_0;
681
- pattern?: string;
682
- additionalItems?: PropertySchemaV3_53_0;
683
- items?: PropertySchemaV3_53_0;
684
- maxItems?: NonNegativeIntegerV3_53_0;
685
- minItems?: NonNegativeIntegerDefault0V3_53_0;
686
- uniqueItems?: boolean;
687
- contains?: PropertySchemaV3_53_0;
688
- maxProperties?: NonNegativeIntegerV3_53_0;
689
- minProperties?: NonNegativeIntegerDefault0V3_53_0;
690
- required?: StringArrayV3_53_0;
691
- additionalProperties?: PropertySchemaV3_53_0 | false;
692
- definitions?: {
693
- [k: string]: PropertySchemaV3_53_0;
694
- };
695
- properties?: {
696
- [k: string]: PropertySchemaV3_53_0;
697
- };
698
- const?: any;
699
- enum?: any[];
700
- type?: SimpleTypesV3_53_0 | SimpleTypesV3_53_0[];
701
- format?: string;
702
- contentMediaType?: string;
703
- contentEncoding?: string;
704
- allOf?: SchemaArrayV3_53_0;
705
- discriminator?: {
706
- propertyName?: string;
707
- [k: string]: any;
708
- };
709
- oneOf?: SchemaArrayV3_53_0;
710
- extends?: ObjectOrRefArrayV3_53_0;
711
- '@backreference'?: BackReferenceV3_53_0;
712
- '@input'?: PropertySchemaV3_53_0;
713
- '@output'?: PropertySchemaV3_53_0;
714
- '@syncLocaleStructure'?: boolean;
715
- '@sensitive'?: boolean;
716
- '@draftjs'?: boolean;
717
- '@l10n'?: boolean;
718
- '@key'?: string;
719
- '@workflow'?: string;
720
- '@mapping'?: FieldMappingV3_53_0;
721
- '@tag'?: string;
722
- '@tags'?: string[];
723
- '@deprecationReason'?: string;
724
- '@args'?: ArgsV3_53_0;
725
- '@resolver'?: ResolverV3_53_0;
726
- '@dependencies'?: DependenciesV3_53_0;
727
- '@ref'?: RefV3_53_0;
728
- '@derivedFrom'?: string;
729
- '@indexed'?: IndexedV3_53_0;
730
- '@graphql'?: GraphQLConfigV3_53_0;
731
- }
732
- /**
733
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
734
- * via the `definition` "refSchema".
735
- */
736
- export interface RefSchemaV3_53_0 {
737
- '@ref': RefV3_53_0;
738
- [k: string]: any;
739
- }
740
- /**
741
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
742
- * via the `definition` "refSchemaLegacy".
743
- */
744
- export interface RefSchemaLegacyV3_53_0 {
745
- $ref: RefV3_53_0;
746
- [k: string]: any;
747
- }
748
- /**
749
- * A configuration object for a reverse reference in a relationship.
750
- *
751
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
752
- * via the `definition` "backreference".
753
- */
754
- export interface BackReferenceV3_53_0 {
755
- enabled: boolean;
756
- name?: string;
757
- }
758
- /**
759
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
760
- * via the `definition` "utilResolver".
761
- */
762
- export interface UtilResolverV3_53_0 {
763
- if?: string;
764
- id?: string;
765
- name: UtilResolverNameV3_53_0;
766
- options?: UtilResolverOptionsV3_53_0;
767
- /**
768
- * Optional value to return from the noop resolver.
769
- */
770
- value?: number | string | boolean | {
771
- [k: string]: any;
772
- } | any[] | null;
773
- args?: ParameterConfigForJsonV3_53_0;
774
- results?: ParameterConfigForJsonV3_53_0;
775
- argsMapping?: ArgsMappingV3_53_0;
776
- resultsMapping?: ResultsMappingV3_53_0;
777
- }
778
- export interface UtilResolverOptionsV3_53_0 {
779
- [k: string]: any;
780
- }
781
- /**
782
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
783
- * via the `definition` "parameterConfigForJson".
784
- */
785
- export interface ParameterConfigForJsonV3_53_0 {
786
- ops: ParameterOpListV3_53_0;
787
- }
788
- /**
789
- * An object describing an operation to generate a parameter, using a nested OpList.
790
- *
791
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
792
- * via the `definition` "parameterOpNested".
793
- */
794
- export interface ParameterOpNestedV3_53_0 {
795
- /**
796
- * A path to the parameter for this operation.
797
- */
798
- path: string;
799
- /**
800
- * A mode for this parameter's operation.
801
- */
802
- op?: 'set' | 'concat' | 'extend' | 'remove';
803
- ops: ParameterOpListV3_53_0;
804
- }
805
- /**
806
- * An object describing an operation to generate a parameter using a value.
807
- *
808
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
809
- * via the `definition` "parameterOpValue".
810
- */
811
- export interface ParameterOpValueV3_53_0 {
812
- /**
813
- * A path to the parameter for this operation.
814
- */
815
- path: string;
816
- /**
817
- * A mode for this parameter's operation.
818
- */
819
- op?: 'set' | 'concat' | 'extend' | 'remove';
820
- /**
821
- * A value to set directly at this path.
822
- */
823
- value: number | string | boolean | {
824
- [k: string]: any;
825
- } | any[] | null;
826
- }
827
- /**
828
- * An object describing an operation to generate a parameter using a mapping.
829
- *
830
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
831
- * via the `definition` "parameterOpMapping".
832
- */
833
- export interface ParameterOpMappingV3_53_0 {
834
- /**
835
- * A path to the parameter for this operation.
836
- */
837
- path: string;
838
- /**
839
- * A mode for this parameter's operation.
840
- */
841
- op?: 'set' | 'concat' | 'extend' | 'remove';
842
- /**
843
- * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
844
- */
845
- mapping: string | DirectiveConfigV3_53_0;
846
- }
847
- export interface DirectiveOptionsV3_53_0 {
848
- [k: string]: any;
849
- }
850
- /**
851
- * An object describing an operation to generate a parameter using a mapping.
852
- *
853
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
854
- * via the `definition` "parameterOpOp".
855
- */
856
- export interface ParameterOpOpV3_53_0 {
857
- /**
858
- * A path to the parameter for this operation.
859
- */
860
- path: string;
861
- /**
862
- * A mode for this parameter's operation.
863
- */
864
- op: 'set' | 'concat' | 'extend' | 'remove';
865
- }
866
- /**
867
- * An map of object keys / key paths to directive configs
868
- *
869
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
870
- * via the `definition` "directiveMappingMap".
871
- */
872
- export interface DirectiveMappingMapV3_53_0 {
873
- [k: string]: DirectiveConfigV3_53_0;
874
- }
875
- /**
876
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
877
- * via the `definition` "delegateResolver".
878
- */
879
- export interface DelegateResolverV3_53_0 {
880
- if?: string;
881
- id?: string;
882
- name: DelegateResolverNameV3_53_0;
883
- options?: DelegateResolverOptionsV3_53_0;
884
- argsMapping?: ArgsMappingV3_53_0;
885
- resultsMapping?: ResultsMappingV3_53_0;
886
- /**
887
- * A ref to a query/mutation/property to delegate to.
888
- */
889
- to: string;
890
- args?: ParameterConfigForJsonV3_53_0;
891
- results?: ParameterConfigForJsonV3_53_0;
892
- }
893
- export interface DelegateResolverOptionsV3_53_0 {
894
- [k: string]: any;
895
- }
896
- /**
897
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
898
- * via the `definition` "takeshapeResolver".
899
- */
900
- export interface TakeshapeResolverV3_53_0 {
901
- if?: string;
902
- id?: string;
903
- name: TakeshapeResolverNameV3_53_0;
904
- /**
905
- * Internal service identifier.
906
- */
907
- service: 'takeshape';
908
- options?: TakeshapeResolverOptionsV3_53_0;
909
- /**
910
- * An optional Shape name for the resolver.
911
- */
912
- shapeName?: string;
913
- args?: ParameterConfigForJsonV3_53_0;
914
- results?: ParameterConfigForJsonV3_53_0;
915
- argsMapping?: ArgsMappingV3_53_0;
916
- resultsMapping?: ResultsMappingV3_53_0;
917
- }
918
- export interface TakeshapeResolverOptionsV3_53_0 {
919
- [k: string]: any;
920
- }
921
- /**
922
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
923
- * via the `definition` "shapedbResolver".
924
- */
925
- export interface ShapedbResolverV3_53_0 {
926
- if?: string;
927
- id?: string;
928
- name: ShapedbResolverNameV3_53_0;
929
- /**
930
- * Internal service identifier.
931
- */
932
- service: 'shapedb';
933
- options?: ShapedbResolverOptionsV3_53_0;
934
- argsMapping?: ArgsMappingV3_53_0;
935
- resultsMapping?: ResultsMappingV3_53_0;
936
- /**
937
- * A Shape name for the resolver to use.
938
- */
939
- shapeName: string;
940
- args?: ParameterConfigForJsonV3_53_0;
941
- results?: ParameterConfigForJsonV3_53_0;
942
- }
943
- export interface ShapedbResolverOptionsV3_53_0 {
944
- [k: string]: any;
945
- }
946
- /**
947
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
948
- * via the `definition` "shapedbResolverShapeNameNotRequired".
949
- */
950
- export interface ShapedbResolverShapeNameNotRequiredV3_53_0 {
951
- if?: string;
952
- id?: string;
953
- name: ShapedbResolverShapeNameNotRequiredNameV3_53_0;
954
- /**
955
- * Internal service identifier.
956
- */
957
- service: 'shapedb';
958
- options?: ShapedbResolverShapeNameNotRequiredOptionsV3_53_0;
959
- /**
960
- * An optional Shape name for the resolver.
961
- */
962
- shapeName?: string;
963
- args?: ParameterConfigForJsonV3_53_0;
964
- results?: ParameterConfigForJsonV3_53_0;
965
- argsMapping?: ArgsMappingV3_53_0;
966
- resultsMapping?: ResultsMappingV3_53_0;
967
- }
968
- export interface ShapedbResolverShapeNameNotRequiredOptionsV3_53_0 {
969
- [k: string]: any;
970
- }
971
- /**
972
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
973
- * via the `definition` "graphqlResolver".
974
- */
975
- export interface GraphqlResolverV3_53_0 {
976
- if?: string;
977
- id?: string;
978
- name: GraphqlResolverNameV3_53_0;
979
- /**
980
- * Configuration for a service to use with this resolver.
981
- */
982
- service: string;
983
- argsMapping?: ArgsMappingV3_53_0;
984
- resultsMapping?: ResultsMappingV3_53_0;
985
- options?: GraphqlResolverOptionsV3_53_0;
986
- /**
987
- * A fieldname to use in queries.
988
- */
989
- fieldName: string;
990
- headers?: ParameterConfigForHeadersV3_53_0;
991
- searchParams?: ParameterConfigForSearchParamsV3_53_0;
992
- args?: ParameterConfigForJsonV3_53_0;
993
- results?: ParameterConfigForJsonV3_53_0;
994
- }
995
- export interface GraphqlResolverOptionsV3_53_0 {
996
- selectionSet?: string;
997
- unboxParentSelectionSet?: boolean;
998
- ignoreErrors?: boolean;
999
- skipWhenMissingArgs?: boolean;
1000
- ttl?: number;
1001
- timeout?: number;
1002
- allowStream?: boolean;
1003
- retry?: number | {
1004
- [k: string]: any;
1005
- };
1006
- [k: string]: any;
1007
- }
1008
- /**
1009
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1010
- * via the `definition` "parameterConfigForHeaders".
1011
- */
1012
- export interface ParameterConfigForHeadersV3_53_0 {
1013
- ops: ParameterOpListV3_53_0;
1014
- serialize?: ParameterSerializeConfigForHeadersV3_53_0;
1015
- }
1016
- /**
1017
- * Top-level paths to use headers serialization options for.
1018
- *
1019
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1020
- * via the `definition` "parameterSerializeConfigForHeaders".
1021
- */
1022
- export interface ParameterSerializeConfigForHeadersV3_53_0 {
1023
- defaults?: ParameterSerializeStyleOptionsForHeadersV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1024
- paths?: {
1025
- /**
1026
- * This interface was referenced by `undefined`'s JSON-Schema definition
1027
- * via the `patternProperty` "^[^\n\r]*$".
1028
- */
1029
- [k: string]: ParameterSerializeStyleOptionsForHeadersV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1030
- };
1031
- }
1032
- /**
1033
- * Options to be passed to the serialization routine.
1034
- *
1035
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1036
- * via the `definition` "parameterSerializeStyleOptionsForHeaders".
1037
- */
1038
- export interface ParameterSerializeStyleOptionsForHeadersV3_53_0 {
1039
- style: 'simple' | 'none';
1040
- explode?: boolean;
1041
- }
1042
- /**
1043
- * Options to be passed to the serialization routine.
1044
- *
1045
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1046
- * via the `definition` "parameterSerializeContentOptions".
1047
- */
1048
- export interface ParameterSerializeContentOptionsV3_53_0 {
1049
- contentType: string;
1050
- /**
1051
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1052
- */
1053
- allowReserved?: boolean;
1054
- skipEncoding?: boolean;
1055
- /**
1056
- * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1057
- */
1058
- options?: {
1059
- [k: string]: any;
1060
- };
1061
- }
1062
- /**
1063
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1064
- * via the `definition` "parameterConfigForSearchParams".
1065
- */
1066
- export interface ParameterConfigForSearchParamsV3_53_0 {
1067
- ops: ParameterOpListV3_53_0;
1068
- serialize?: ParameterSerializeConfigForSearchParamsV3_53_0;
1069
- }
1070
- /**
1071
- * Top-level paths to use search params serialization options for.
1072
- *
1073
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1074
- * via the `definition` "parameterSerializeConfigForSearchParams".
1075
- */
1076
- export interface ParameterSerializeConfigForSearchParamsV3_53_0 {
1077
- defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1078
- paths?: {
1079
- /**
1080
- * This interface was referenced by `undefined`'s JSON-Schema definition
1081
- * via the `patternProperty` "^[^\n\r]*$".
1082
- */
1083
- [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1084
- };
1085
- }
1086
- /**
1087
- * Options to be passed to the serialization routine.
1088
- *
1089
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1090
- * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1091
- */
1092
- export interface ParameterSerializeStyleOptionsForSearchParamsV3_53_0 {
1093
- style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1094
- explode?: boolean;
1095
- allowEmptyValue?: boolean;
1096
- /**
1097
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1098
- */
1099
- allowReserved?: boolean;
1100
- skipEncoding?: boolean;
1101
- }
1102
- /**
1103
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1104
- * via the `definition` "restResolver".
1105
- */
1106
- export interface RestResolverV3_53_0 {
1107
- if?: string;
1108
- id?: string;
1109
- name: RestResolverNameV3_53_0;
1110
- /**
1111
- * Configuration for a service to use with this resolver.
1112
- */
1113
- service: string;
1114
- argsMapping?: ArgsMappingV3_53_0;
1115
- searchParamsMapping?: SearchParamsMappingV3_53_0;
1116
- resultsMapping?: ResultsMappingV3_53_0;
1117
- options?: RestResolverOptionsV3_53_0;
1118
- body?: ParameterConfigForBodyV3_53_0;
1119
- form?: ParameterConfigForSearchParamsV3_53_0;
1120
- headers?: ParameterConfigForHeadersV3_53_0;
1121
- json?: ParameterConfigForJsonV3_53_0;
1122
- /**
1123
- * Mapping and serialization configuration for the path, or a simple string.
1124
- */
1125
- path: ParameterConfigForPathParamsV3_53_0 | string;
1126
- searchParams?: ParameterConfigForSearchParamsV3_53_0;
1127
- args?: ParameterConfigForJsonV3_53_0;
1128
- results?: ParameterConfigForJsonV3_53_0;
1129
- }
1130
- export interface RestResolverOptionsV3_53_0 {
1131
- trailingSlash?: boolean;
1132
- allowStream?: boolean;
1133
- ttl?: number;
1134
- timeout?: number;
1135
- retry?: number | {
1136
- [k: string]: any;
1137
- };
1138
- [k: string]: any;
1139
- }
1140
- /**
1141
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1142
- * via the `definition` "parameterConfigForBody".
1143
- */
1144
- export interface ParameterConfigForBodyV3_53_0 {
1145
- ops: ParameterOpListV3_53_0;
1146
- serialize?: ParameterSerializeConfigForBodyV3_53_0;
1147
- }
1148
- /**
1149
- * Top-level paths to use serialization options for.
1150
- *
1151
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1152
- * via the `definition` "parameterSerializeConfigForBody".
1153
- */
1154
- export interface ParameterSerializeConfigForBodyV3_53_0 {
1155
- content?: ParameterSerializeContentOptionsV3_53_0;
1156
- }
1157
- /**
1158
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1159
- * via the `definition` "parameterConfigForPathParams".
1160
- */
1161
- export interface ParameterConfigForPathParamsV3_53_0 {
1162
- ops: ParameterOpListV3_53_0;
1163
- serialize: ParameterSerializeConfigForPathParamsV3_53_0;
1164
- }
1165
- /**
1166
- * Top-level paths to use path params serialization options for.
1167
- *
1168
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1169
- * via the `definition` "parameterSerializeConfigForPathParams".
1170
- */
1171
- export interface ParameterSerializeConfigForPathParamsV3_53_0 {
1172
- /**
1173
- * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1174
- */
1175
- template: string;
1176
- defaults?: ParameterSerializeStyleOptionsForPathParamsV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1177
- paths?: {
1178
- /**
1179
- * This interface was referenced by `undefined`'s JSON-Schema definition
1180
- * via the `patternProperty` "^[^\n\r]*$".
1181
- */
1182
- [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_53_0 | ParameterSerializeContentOptionsV3_53_0;
1183
- };
1184
- }
1185
- /**
1186
- * Options to be passed to the serialization routine.
1187
- *
1188
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1189
- * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1190
- */
1191
- export interface ParameterSerializeStyleOptionsForPathParamsV3_53_0 {
1192
- style: 'simple' | 'label' | 'matrix' | 'none';
1193
- explode?: boolean;
1194
- allowEmptyValue?: boolean;
1195
- /**
1196
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1197
- */
1198
- allowReserved?: boolean;
1199
- skipEncoding?: boolean;
1200
- }
1201
- /**
1202
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1203
- * via the `definition` "awsLambdaResolver".
1204
- */
1205
- export interface AwsLambdaResolverV3_53_0 {
1206
- if?: string;
1207
- id?: string;
1208
- name: AwsLambdaResolverNameV3_53_0;
1209
- /**
1210
- * Configuration for a service to use with this resolver.
1211
- */
1212
- service: string;
1213
- options?: AwsLambdaResolverOptionsV3_53_0;
1214
- payload?: ParameterConfigForJsonV3_53_0;
1215
- /**
1216
- * Mapping configuration for the FunctionName.
1217
- */
1218
- functionName: string | ParameterConfigForAwsLambdaV3_53_0;
1219
- clientContext?: ParameterConfigForJsonV3_53_0;
1220
- args?: ParameterConfigForJsonV3_53_0;
1221
- results?: ParameterConfigForJsonV3_53_0;
1222
- argsMapping?: ArgsMappingV3_53_0;
1223
- searchParamsMapping?: SearchParamsMappingV3_53_0;
1224
- resultsMapping?: ResultsMappingV3_53_0;
1225
- }
1226
- export interface AwsLambdaResolverOptionsV3_53_0 {
1227
- [k: string]: any;
1228
- }
1229
- /**
1230
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1231
- * via the `definition` "parameterConfigForAwsLambda".
1232
- */
1233
- export interface ParameterConfigForAwsLambdaV3_53_0 {
1234
- ops: ParameterOpListV3_53_0;
1235
- serialize: ParameterSerializeConfigForPathParamsV3_53_0;
1236
- }
1237
- /**
1238
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1239
- * via the `definition` "salsifyResolver".
1240
- */
1241
- export interface SalsifyResolverV3_53_0 {
1242
- if?: string;
1243
- id?: string;
1244
- name: SalsifyResolverNameV3_53_0;
1245
- /**
1246
- * Configuration for a service to use with this resolver.
1247
- */
1248
- service: string;
1249
- options?: SalsifyResolverOptionsV3_53_0;
1250
- args?: ParameterConfigForJsonV3_53_0;
1251
- results?: ParameterConfigForJsonV3_53_0;
1252
- argsMapping?: ArgsMappingV3_53_0;
1253
- resultsMapping?: ResultsMappingV3_53_0;
1254
- }
1255
- export interface SalsifyResolverOptionsV3_53_0 {
1256
- [k: string]: any;
1257
- }
1258
- /**
1259
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1260
- * via the `definition` "syndigoResolver".
1261
- */
1262
- export interface SyndigoResolverV3_53_0 {
1263
- if?: string;
1264
- id?: string;
1265
- name: SyndigoResolverNameV3_53_0;
1266
- /**
1267
- * Configuration for a service to use with this resolver.
1268
- */
1269
- service: string;
1270
- options?: SyndigoResolverOptionsV3_53_0;
1271
- args?: ParameterConfigForJsonV3_53_0;
1272
- results?: ParameterConfigForJsonV3_53_0;
1273
- argsMapping?: ArgsMappingV3_53_0;
1274
- resultsMapping?: ResultsMappingV3_53_0;
1275
- }
1276
- export interface SyndigoResolverOptionsV3_53_0 {
1277
- [k: string]: any;
1278
- }
1279
- /**
1280
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1281
- * via the `definition` "functionResolver".
1282
- */
1283
- export interface FunctionResolverV3_53_0 {
1284
- if?: string;
1285
- id?: string;
1286
- name: FunctionResolverNameV3_53_0;
1287
- options?: FunctionResolverOptionsV3_53_0;
1288
- args?: ParameterConfigForJsonV3_53_0;
1289
- results?: ParameterConfigForJsonV3_53_0;
1290
- argsMapping?: ArgsMappingV3_53_0;
1291
- resultsMapping?: ResultsMappingV3_53_0;
1292
- javascript?: FunctionResolverJavascriptV3_53_0;
1293
- }
1294
- export interface FunctionResolverOptionsV3_53_0 {
1295
- [k: string]: any;
1296
- }
1297
- /**
1298
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1299
- * via the `definition` "aiGenerateTextResolver".
1300
- */
1301
- export interface AIGenerateTextResolverV3_53_0 {
1302
- if?: string;
1303
- id?: string;
1304
- name: AIResolverNameV3_53_0;
1305
- /**
1306
- * Configuration for a service to use with this resolver.
1307
- */
1308
- service: string;
1309
- options?: AIGenerateTextResolverOptionsV3_53_0;
1310
- systemPrompt: string;
1311
- inputTemplate?: string;
1312
- model: string;
1313
- tools?: (string | AIToolConfigV3_53_0)[];
1314
- guardrails?: AIGuardrailV3_53_0[];
1315
- context?: ParameterConfigForJsonV3_53_0;
1316
- results?: ParameterConfigForJsonV3_53_0;
1317
- }
1318
- /**
1319
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1320
- * via the `definition` "aiGenerateTextResolverOptions".
1321
- */
1322
- export interface AIGenerateTextResolverOptionsV3_53_0 {
1323
- history?: HistoryV3_53_0;
1324
- maxTokens?: MaximumTokensV3_53_0;
1325
- temperature?: TemperatureV3_53_0;
1326
- topP?: TopPV3_53_0;
1327
- topK?: TopKV3_53_0;
1328
- presencePenalty?: PresencePenaltySettingV3_53_0;
1329
- frequencyPenalty?: FrequencyPenaltySettingV3_53_0;
1330
- stopSequences?: StopSequencesV3_53_0;
1331
- seed?: SeedV3_53_0;
1332
- /**
1333
- * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1334
- */
1335
- maxRetries?: number;
1336
- /**
1337
- * The tool choice strategy. Default: 'auto'
1338
- */
1339
- toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1340
- /**
1341
- * Maximal number of automatic roundtrips for tool calls.
1342
- */
1343
- maxToolRoundtrips?: number;
1344
- [k: string]: any;
1345
- }
1346
- /**
1347
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1348
- * via the `definition` "aiToolConfig".
1349
- */
1350
- export interface AIToolConfigV3_53_0 {
1351
- ref: string;
1352
- selectionSet?: string;
1353
- }
1354
- /**
1355
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1356
- * via the `definition` "aiSimilarityGuardrail".
1357
- */
1358
- export interface AISimilarityGuardrailV3_53_0 {
1359
- name: 'similarity';
1360
- shape: string;
1361
- defaultResponse: string;
1362
- threshold?: number;
1363
- }
1364
- /**
1365
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1366
- * via the `definition` "aiGeneratePropertyResolver".
1367
- */
1368
- export interface AIGeneratePropertyResolverV3_53_0 {
1369
- id?: string;
1370
- name: AIResolverNameV3_53_01;
1371
- /**
1372
- * Configuration for a service to use with this resolver.
1373
- */
1374
- service: string;
1375
- model: string;
1376
- systemPrompt?: string;
1377
- }
1378
- /**
1379
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1380
- * via the `definition` "aiEmbeddingResolver".
1381
- */
1382
- export interface AIEmbeddingResolverV3_53_0 {
1383
- if?: string;
1384
- id?: string;
1385
- name: AIResolverNameV3_53_02;
1386
- /**
1387
- * Configuration for a service to use with this resolver.
1388
- */
1389
- service: string;
1390
- options?: AIEmbeddingResolverOptionsV3_53_0;
1391
- model: string;
1392
- args?: ParameterConfigForJsonV3_53_0;
1393
- results?: ParameterConfigForJsonV3_53_0;
1394
- }
1395
- /**
1396
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1397
- * via the `definition` "aiEmbeddingResolverOptions".
1398
- */
1399
- export interface AIEmbeddingResolverOptionsV3_53_0 {
1400
- useDependencies?: boolean;
1401
- [k: string]: any;
1402
- }
1403
- /**
1404
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1405
- * via the `definition` "aiParseFileResolver".
1406
- */
1407
- export interface AIParseFileResolverV3_53_0 {
1408
- if?: string;
1409
- id?: string;
1410
- name: AIResolverNameV3_53_03;
1411
- /**
1412
- * Configuration for a service to use with this resolver.
1413
- */
1414
- service: string;
1415
- options?: AIEmbeddingResolverOptionsV3_53_0;
1416
- args?: ParameterConfigForJsonV3_53_0;
1417
- results?: ParameterConfigForJsonV3_53_0;
1418
- }
1419
- /**
1420
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1421
- * via the `definition` "utilChunkResolver".
1422
- */
1423
- export interface ChunkResolverV3_53_0 {
1424
- if?: string;
1425
- id?: string;
1426
- name: UtilResolverNameV3_53_01;
1427
- options: UtilChunkResolverOptionsV3_53_0;
1428
- args?: ParameterConfigForJsonV3_53_0;
1429
- results?: ParameterConfigForJsonV3_53_0;
1430
- }
1431
- /**
1432
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1433
- * via the `definition` "utilChunkResolverOptionsCharacterCount".
1434
- */
1435
- export interface UtilChunkResolverOptionsCharacterCountV3_53_0 {
1436
- type: 'characterCount';
1437
- characterCount: number;
1438
- }
1439
- /**
1440
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1441
- * via the `definition` "utilChunkResolverOptionsSeparators".
1442
- */
1443
- export interface UtilChunkResolverOptionsSeparatorsV3_53_0 {
1444
- type: 'separators';
1445
- separators: string[];
1446
- }
1447
- /**
1448
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1449
- * via the `definition` "utilChunkResolverOptionsMarkdown".
1450
- */
1451
- export interface UtilChunkResolverOptionsMarkdownV3_53_0 {
1452
- type: 'markdown';
1453
- /**
1454
- * New chunks will be created at headers for this level or lower. Default 2.
1455
- */
1456
- headerLevel?: number;
1457
- /**
1458
- * A new chunk will be started when this number of characters is reached, regardless of markup.
1459
- */
1460
- maxCharacters?: number;
1461
- }
1462
- /**
1463
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1464
- * via the `definition` "utilChunkResolverOptionsSemantic".
1465
- */
1466
- export interface UtilChunkResolverOptionsSemanticV3_53_0 {
1467
- type: 'semantic';
1468
- serviceId: string;
1469
- modelId: string;
1470
- /**
1471
- * Similarity below which two embeddings are considered different.
1472
- */
1473
- similarityThreshold?: number;
1474
- /**
1475
- * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1476
- */
1477
- stride?: number;
1478
- /**
1479
- * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1480
- */
1481
- sentenceCount?: number;
1482
- /**
1483
- * The maximum number of characters in a chunk.
1484
- */
1485
- maxCharacters?: number;
1486
- /**
1487
- * The maximum number of tokens in a chunk.
1488
- */
1489
- maxTokens?: number;
1490
- }
1491
- export interface AISendAgentMessageResolverV3_53_0 {
1492
- id?: string;
1493
- name: AIResolverNameV3_53_04;
1494
- agentName: string;
1495
- inputName: string;
1496
- }
1497
- export interface AIInspectAgentResolverV3_53_0 {
1498
- id?: string;
1499
- name: AIResolverNameV3_53_05;
1500
- agentName: string;
1501
- }
1502
- /**
1503
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1504
- * via the `definition` "composeResolver".
1505
- */
1506
- export interface ComposeResolverV3_53_0 {
1507
- compose: BasicResolverV3_53_0[];
1508
- resultsMapping?: DirectiveMappingMapV3_53_0 | DirectiveConfigV3_53_0;
1509
- results?: ParameterConfigForJsonV3_53_0;
1510
- }
1511
- /**
1512
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1513
- * via the `definition` "indexed".
1514
- */
1515
- export interface IndexedV3_53_0 {
1516
- nested?: boolean;
1517
- }
1518
- /**
1519
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1520
- * via the `definition` "graphql".
1521
- */
1522
- export interface GraphQLConfigV3_53_0 {
1523
- json?: boolean;
1524
- }
1525
- /**
1526
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1527
- * via the `definition` "shapeMap".
1528
- */
1529
- export interface ShapeMapV3_53_0 {
1530
- [k: string]: ShapeJSONV3_53_0;
1531
- }
1532
- /**
1533
- * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1534
- *
1535
- * This interface was referenced by `ShapeMapV3_53_0`'s JSON-Schema definition
1536
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1537
- *
1538
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1539
- * via the `definition` "shape".
1540
- */
1541
- export interface ShapeJSONV3_53_0 {
1542
- /**
1543
- * 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
1544
- */
1545
- name: string;
1546
- /**
1547
- * 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.
1548
- */
1549
- id: string;
1550
- /**
1551
- * The human-readable name for a Shape for use in a UI.
1552
- */
1553
- title: string;
1554
- description?: string;
1555
- type?: 'interface' | 'input' | 'output';
1556
- interfaces?: string[];
1557
- /**
1558
- * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1559
- */
1560
- model?: {
1561
- type: ModelTypeV3_53_0;
1562
- };
1563
- workflow?: string;
1564
- loaders?: ShapeLoadersV3_53_0;
1565
- joins?: ShapeJoinsV3_53_0;
1566
- cache?: ShapeCacheConfigV3_53_0;
1567
- schema: ShapeSchemaV3_53_0;
1568
- }
1569
- /**
1570
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1571
- * via the `definition` "shapeLoaders".
1572
- */
1573
- export interface ShapeLoadersV3_53_0 {
1574
- list: StoredListQueryLoaderConfigV3_53_0 | StoredListQueryLoaderConfigV3_53_0[];
1575
- get?: GetQueryLoaderConfigV3_53_0;
1576
- }
1577
- /**
1578
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1579
- * via the `definition` "storedListQueryLoaderConfig".
1580
- */
1581
- export interface StoredListQueryLoaderConfigV3_53_0 {
1582
- query: string;
1583
- args?: {
1584
- [k: string]: any;
1585
- } | {
1586
- [k: string]: any;
1587
- }[];
1588
- pagination?: PaginationConfigV3_53_0;
1589
- }
1590
- /**
1591
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1592
- * via the `definition` "paginationCursorConfig".
1593
- */
1594
- export interface PaginationCursorConfigV3_53_0 {
1595
- type: 'cursor';
1596
- cursorArg: string;
1597
- cursorPath: string;
1598
- pageSize?: number;
1599
- pageSizeArg: string;
1600
- hasMorePath: string;
1601
- itemsPath: string;
1602
- }
1603
- /**
1604
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1605
- * via the `definition` "paginationPageConfig".
1606
- */
1607
- export interface PaginationPageConfigV3_53_0 {
1608
- type: 'page';
1609
- pageArg: string;
1610
- pageSize?: number;
1611
- pageSizeArg?: string;
1612
- itemsPath: string;
1613
- pageTotalPath: string;
1614
- }
1615
- /**
1616
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1617
- * via the `definition` "paginationOffsetConfig".
1618
- */
1619
- export interface PaginationOffsetConfigV3_53_0 {
1620
- type: 'offset';
1621
- offsetArg: string;
1622
- pageSize?: number;
1623
- pageSizeArg?: string;
1624
- itemsPath: string;
1625
- itemTotalPath: string;
1626
- }
1627
- /**
1628
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1629
- * via the `definition` "getQueryLoaderConfig".
1630
- */
1631
- export interface GetQueryLoaderConfigV3_53_0 {
1632
- query: string;
1633
- args?: {
1634
- [k: string]: any;
1635
- };
1636
- idArg?: string;
1637
- }
1638
- /**
1639
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1640
- * via the `definition` "shapeJoins".
1641
- */
1642
- export interface ShapeJoinsV3_53_0 {
1643
- [k: string]: ShapeJoinV3_53_0;
1644
- }
1645
- /**
1646
- * This interface was referenced by `ShapeJoinsV3_53_0`'s JSON-Schema definition
1647
- * via the `patternProperty` "[:0-9A-Za-z_-]+".
1648
- *
1649
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1650
- * via the `definition` "shapeJoin".
1651
- */
1652
- export interface ShapeJoinV3_53_0 {
1653
- resolver: DelegateResolverV3_53_0 | ShapedbResolverV3_53_0;
1654
- dependencies?: string;
1655
- }
1656
- /**
1657
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1658
- * via the `definition` "shapeCacheConfig".
1659
- */
1660
- export interface ShapeCacheConfigV3_53_0 {
1661
- enabled: boolean;
1662
- idField?: string;
1663
- searchSummaryField?: string;
1664
- fragment?: CachedFragmentConfigV3_53_0;
1665
- triggers?: CacheTriggerConfigV3_53_0[];
1666
- /**
1667
- * Number of seconds this Shape should be cached. Default 0.
1668
- */
1669
- maxAge?: number;
1670
- }
1671
- /**
1672
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1673
- * via the `definition` "cachedFragmentConfig".
1674
- */
1675
- export interface CachedFragmentConfigV3_53_0 {
1676
- ignoreFields?: string[];
1677
- maxDepth?: number;
1678
- selectionSet?: string;
1679
- includeDeprecated?: boolean;
1680
- }
1681
- /**
1682
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1683
- * via the `definition` "cacheScheduleTriggerConfig".
1684
- */
1685
- export interface CacheScheduleTriggerConfigV3_53_0 {
1686
- type: 'schedule';
1687
- loader: 'get' | 'list';
1688
- interval: number;
1689
- }
1690
- /**
1691
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1692
- * via the `definition` "cacheWebhookTriggerConfig".
1693
- */
1694
- export interface CacheWebhookTriggerConfigV3_53_0 {
1695
- type: 'webhook';
1696
- loader: 'get' | 'list';
1697
- service: string;
1698
- events: string[];
1699
- }
1700
- /**
1701
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1702
- * via the `definition` "shapeSchemaAllOf".
1703
- */
1704
- export interface ShapeSchemaAllOfV3_53_0 {
1705
- allOf: ObjectOrRefArrayV3_53_0;
1706
- }
1707
- /**
1708
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1709
- * via the `definition` "shapeSchemaExtends".
1710
- */
1711
- export interface ShapeSchemaExtendsV3_53_0 {
1712
- extends: ObjectOrRefArrayV3_53_0;
1713
- }
1714
- /**
1715
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1716
- * via the `definition` "shapeSchemaOneOf".
1717
- */
1718
- export interface ShapeSchemaOneOfV3_53_0 {
1719
- oneOf: ObjectOrRefArrayV3_53_0;
1720
- }
1721
- /**
1722
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1723
- * via the `definition` "shapeSchemaEnum".
1724
- */
1725
- export interface ShapeSchemaEnumV3_53_0 {
1726
- enum: any[];
1727
- }
1728
- /**
1729
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
1730
- * via the `definition` "shapeSchemaAny".
1731
- */
1732
- export interface ShapeSchemaAnyV3_53_0 {
1733
- }
1734
- export interface AIExperimentalV3_53_0 {
1735
- agents?: AgentMapV3_53_0;
1736
- guards?: GuardMapV3_53_0;
1737
- mcp?: MCPServerConfigurationV3_53_0;
1738
- }
1739
- export interface AgentMapV3_53_0 {
1740
- [k: string]: AgentJSONV3_53_0;
1741
- }
1742
- /**
1743
- * An Agent is a configuration for an AI service such as a chat bot or a search engine.
1744
- *
1745
- * This interface was referenced by `AgentMapV3_53_0`'s JSON-Schema definition
1746
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1747
- */
1748
- export interface AgentJSONV3_53_0 {
1749
- description?: string;
1750
- systemPrompt?: string;
1751
- api: AgentAPIV3_53_0;
1752
- memory?: AgentMemoryV3_53_0;
1753
- start: AgentStartV3_53_0;
1754
- states: AgentStatesV3_53_0;
1755
- guards?: AgentGuardV3_53_0[];
1756
- historyStrategies?: HistoryStrategyMapV3_53_0;
1757
- }
1758
- export interface AgentAPIV3_53_0 {
1759
- inputs: AgentAPIInputV3_53_0[];
1760
- }
1761
- export interface AgentAPIMutationInputV3_53_0 {
1762
- type: 'mutation';
1763
- name: string;
1764
- args: string;
1765
- interactionTimeout?: InteractionTimeoutMillisecondsV3_53_0;
1766
- }
1767
- export interface AgentMemoryV3_53_0 {
1768
- sessionMemory: AgentSessionMemoryV3_53_0;
1769
- }
1770
- export interface AgentSessionMemoryV3_53_0 {
1771
- shape?: string;
1772
- }
1773
- /**
1774
- * Configuration for the start of an agent's execution
1775
- */
1776
- export interface AgentStartV3_53_0 {
1777
- transitions: AgentTransitionSuspendV3_53_0[];
1778
- }
1779
- export interface AgentTransitionSuspendV3_53_0 {
1780
- type: 'suspend';
1781
- destination: string;
1782
- input: string;
1783
- condition?: string;
1784
- limit?: number;
1785
- sessionMemory?: AgentStateSessionMemoryV3_53_0;
1786
- historyStrategy?: string;
1787
- }
1788
- export interface AgentStateSessionMemoryAssignmentV3_53_0 {
1789
- memoryPath?: string;
1790
- expression: string;
1791
- }
1792
- /**
1793
- * States that are traversed during the execution of an agent.
1794
- */
1795
- export interface AgentStatesV3_53_0 {
1796
- [k: string]: AgentStateV3_53_0;
1797
- }
1798
- /**
1799
- * One step of an agent's execution.
1800
- *
1801
- * This interface was referenced by `AgentStatesV3_53_0`'s JSON-Schema definition
1802
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1803
- */
1804
- export interface AgentStateV3_53_0 {
1805
- name: string;
1806
- variables?: VariablesV3_53_0;
1807
- execution: AgentExecutionV3_53_0;
1808
- transitions?: AgentTransitionV3_53_0[];
1809
- }
1810
- export interface AgentVariableV3_53_0 {
1811
- name: string;
1812
- /**
1813
- * These are evaluated in order until a value is found.
1814
- */
1815
- steps: AgentVariableStepV3_53_0[];
1816
- }
1817
- export interface AgentVariableStepV3_53_0 {
1818
- condition?: string;
1819
- expression: string;
1820
- }
1821
- export interface AgentExecutionGraphQLV3_53_0 {
1822
- type: 'graphql';
1823
- query: string;
1824
- path?: string;
1825
- }
1826
- export interface AgentExecutionGenerateV3_53_0 {
1827
- type: 'generate';
1828
- service: string;
1829
- model: string;
1830
- systemPrompt?: string;
1831
- input: AgentAIStateInputV3_53_0;
1832
- outputShape?: string;
1833
- tools?: AgentToolConfigV3_53_0[];
1834
- options?: AgentGenerateOptionsV3_53_0;
1835
- }
1836
- export interface AgentAIStateInputArgumentV3_53_0 {
1837
- type: 'arg';
1838
- }
1839
- export interface AgentAIStateInputTemplateV3_53_0 {
1840
- type: 'template';
1841
- inputTemplate: string;
1842
- }
1843
- export interface AgentToolConfigV3_53_0 {
1844
- name: string;
1845
- ref: string;
1846
- description?: string;
1847
- args?: AgentToolConfigArgV3_53_0[];
1848
- selectionSet?: string;
1849
- }
1850
- export interface AgentControlledV3_53_0 {
1851
- type: 'agent';
1852
- argName: ToolArgumentNameV3_53_0;
1853
- }
1854
- export interface VariableValueV3_53_0 {
1855
- type: 'variable';
1856
- argName: ToolArgumentNameV3_53_01;
1857
- variableName: StateVariableNameV3_53_0;
1858
- }
1859
- export interface AgentGenerateOptionsV3_53_0 {
1860
- history?: HistoryV3_53_01;
1861
- maxTokens?: MaximumTokensV3_53_01;
1862
- temperature?: TemperatureV3_53_01;
1863
- topP?: TopPV3_53_01;
1864
- topK?: TopKV3_53_01;
1865
- presencePenalty?: PresencePenaltySettingV3_53_01;
1866
- frequencyPenalty?: FrequencyPenaltySettingV3_53_01;
1867
- stopSequences?: StopSequencesV3_53_01;
1868
- seed?: SeedV3_53_01;
1869
- /**
1870
- * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1871
- */
1872
- maxRetries?: number;
1873
- /**
1874
- * The tool choice strategy. Default: 'auto'
1875
- */
1876
- toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1877
- maxToolRoundtrips?: MaxToolRoundtripsV3_53_0;
1878
- structuredOutputs?: StructuredOutputsV3_53_0;
1879
- enableOpenAIFormat?: EnableOpenAISchemaFormatV3_53_0;
1880
- removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_53_0;
1881
- stripMarkdown?: StripMarkdownV3_53_0;
1882
- }
1883
- export interface AgentExecutionChatV3_53_0 {
1884
- type: 'chat';
1885
- service: string;
1886
- model: string;
1887
- systemPrompt?: string;
1888
- input: AgentAIStateInputV3_53_0;
1889
- artifact?: string;
1890
- tools?: AgentToolConfigV3_53_0[];
1891
- options?: AgentGenerateOptionsV3_53_0;
1892
- }
1893
- export interface AgentTransitionImmediateV3_53_0 {
1894
- type: 'immediate';
1895
- destination: string;
1896
- condition?: string;
1897
- limit?: number;
1898
- sessionMemory?: AgentStateSessionMemoryV3_53_01;
1899
- historyStrategy?: string;
1900
- }
1901
- export interface AgentGuardV3_53_0 {
1902
- guardId: GuardIDV3_53_0;
1903
- }
1904
- export interface HistoryStrategyMapV3_53_0 {
1905
- [k: string]: HistoryStrategyV3_53_0;
1906
- }
1907
- /**
1908
- * This interface was referenced by `HistoryStrategyMapV3_53_0`'s JSON-Schema definition
1909
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1910
- */
1911
- export interface HistoryStrategyV3_53_0 {
1912
- name: string;
1913
- variables?: VariablesV3_53_01;
1914
- filter?: HistoryStrategyFilterV3_53_0;
1915
- transform: HistoryStrategyTransformV3_53_0;
1916
- }
1917
- export interface HistoryStrategyFilterV3_53_0 {
1918
- toolCalls?: 'retain' | 'clear';
1919
- }
1920
- export interface HistoryStrategyTransformNoneV3_53_0 {
1921
- type: 'none';
1922
- }
1923
- export interface HistoryStrategyTransformReplaceV3_53_0 {
1924
- type: 'replace';
1925
- template: string;
1926
- }
1927
- export interface HistoryStrategyTransformSummarizeV3_53_0 {
1928
- type: 'generate';
1929
- service: string;
1930
- model: string;
1931
- systemPrompt: string;
1932
- tools?: AgentToolConfigV3_53_0[];
1933
- options?: AgentGenerateOptionsV3_53_0;
1934
- }
1935
- export interface GuardMapV3_53_0 {
1936
- [k: string]: GuardJSONV3_53_0;
1937
- }
1938
- /**
1939
- * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
1940
- *
1941
- * This interface was referenced by `GuardMapV3_53_0`'s JSON-Schema definition
1942
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1943
- */
1944
- export interface GuardJSONV3_53_0 {
1945
- name: NameV3_53_0;
1946
- description?: DescriptionV3_53_0;
1947
- enabled?: EnabledV3_53_0;
1948
- guardrailIdentifier?: GuardrailIdentifierV3_53_0;
1949
- guardrailVersion?: GuardrailVersionV3_53_0;
1950
- blockedInputMessaging?: BlockedInputMessagingV3_53_0;
1951
- blockedOutputsMessaging?: BlockedOutputsMessagingV3_53_0;
1952
- topicPolicyConfig?: TopicPolicyV3_53_0;
1953
- contentPolicyConfig?: ContentPolicyV3_53_0;
1954
- wordPolicyConfig?: WordPolicyV3_53_0;
1955
- sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_53_0;
1956
- contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_53_0;
1957
- }
1958
- /**
1959
- * Topics to identify and block.
1960
- */
1961
- export interface TopicPolicyV3_53_0 {
1962
- topicsConfig: TopicV3_53_0;
1963
- }
1964
- /**
1965
- * Types of content to filter and strength configuration.
1966
- */
1967
- export interface ContentPolicyV3_53_0 {
1968
- filtersConfig: FilterV3_53_0;
1969
- }
1970
- /**
1971
- * Specific words to identify and block.
1972
- */
1973
- export interface WordPolicyV3_53_0 {
1974
- wordsConfig?: WordListV3_53_0;
1975
- managedWordListsConfig?: ManagedWordListV3_53_0;
1976
- }
1977
- /**
1978
- * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
1979
- */
1980
- export interface SensitiveInformationPolicyV3_53_0 {
1981
- piiEntitiesConfig?: PIIEntityV3_53_0;
1982
- regexesConfig?: RegularExpressionV3_53_0;
1983
- }
1984
- /**
1985
- * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
1986
- */
1987
- export interface ContextualGroundingPolicyV3_53_0 {
1988
- filtersConfig: FilterV3_53_01;
1989
- }
1990
- export interface MCPServerConfigurationV3_53_0 {
1991
- tools?: ToolMapV3_53_0;
1992
- }
1993
- export interface ToolMapV3_53_0 {
1994
- [k: string]: ToolJSONV3_53_0;
1995
- }
1996
- /**
1997
- * This interface was referenced by `ToolMapV3_53_0`'s JSON-Schema definition
1998
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1999
- */
2000
- export interface ToolJSONV3_53_0 {
2001
- name: string;
2002
- ref: string;
2003
- description?: string;
2004
- args?: ToolArgV3_53_0[];
2005
- selectionSet?: string;
2006
- }
2007
- /**
2008
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2009
- * via the `definition` "formMap".
2010
- */
2011
- export interface FormMapV3_53_0 {
2012
- [k: string]: FormsConfigV3_53_0;
2013
- }
2014
- /**
2015
- * This interface was referenced by `FormMapV3_53_0`'s JSON-Schema definition
2016
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2017
- *
2018
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2019
- * via the `definition` "formsConfig".
2020
- */
2021
- export interface FormsConfigV3_53_0 {
2022
- default: FormConfigV3_53_0;
2023
- [k: string]: FormConfigV3_53_0;
2024
- }
2025
- /**
2026
- * This interface was referenced by `FormsConfigV3_53_0`'s JSON-Schema definition
2027
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2028
- *
2029
- * This interface was referenced by `undefined`'s JSON-Schema definition
2030
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2031
- *
2032
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2033
- * via the `definition` "formConfig".
2034
- */
2035
- export interface FormConfigV3_53_0 {
2036
- [k: string]: any;
2037
- }
2038
- /**
2039
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2040
- * via the `definition` "workflowMap".
2041
- */
2042
- export interface WorkflowMapV3_53_0 {
2043
- [k: string]: WorkflowV3_53_0;
2044
- }
2045
- /**
2046
- * This interface was referenced by `WorkflowMapV3_53_0`'s JSON-Schema definition
2047
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2048
- *
2049
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2050
- * via the `definition` "workflow".
2051
- */
2052
- export interface WorkflowV3_53_0 {
2053
- /**
2054
- * machine-readable id
2055
- */
2056
- name: string;
2057
- title: WorkflowNameV3_53_0;
2058
- steps: StepsV3_53_0;
2059
- [k: string]: any;
2060
- }
2061
- /**
2062
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2063
- * via the `definition` "workflowStep".
2064
- */
2065
- export interface WorkflowStepV3_53_0 {
2066
- name: NameV3_53_01;
2067
- title: TitleV3_53_0;
2068
- description?: DescriptionV3_53_01;
2069
- color: ColorV3_53_0;
2070
- live: LiveV3_53_0;
2071
- key: KeyV3_53_0;
2072
- }
2073
- /**
2074
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2075
- * via the `definition` "storedServiceMap".
2076
- */
2077
- export interface ServiceMapJSONV3_53_0 {
2078
- [k: string]: ServiceConfigJSONV3_53_0;
2079
- }
2080
- /**
2081
- * This interface was referenced by `ServiceMapJSONV3_53_0`'s JSON-Schema definition
2082
- * via the `patternProperty` "[0-9A-Za-z_-]+".
2083
- *
2084
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2085
- * via the `definition` "storedServiceConfig".
2086
- */
2087
- export interface ServiceConfigJSONV3_53_0 {
2088
- /**
2089
- * Machine-readable identifier, should typically be the same as the property name on the services object.
2090
- */
2091
- id: string;
2092
- /**
2093
- * Human-readable name for this service.
2094
- */
2095
- title: string;
2096
- /**
2097
- * The service provider id.
2098
- */
2099
- provider: string;
2100
- /**
2101
- * A namespace to use for the imported types tied to this service.
2102
- */
2103
- namespace?: string;
2104
- serviceType: ServiceTypeV3_53_0;
2105
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2106
- authentication?: string;
2107
- healthCheck?: ServiceHealthCheckV3_53_0;
2108
- webhookId?: string;
2109
- /**
2110
- * Configuration options passed to and handled by the provider.
2111
- */
2112
- options?: {
2113
- [k: string]: any;
2114
- };
2115
- }
2116
- /**
2117
- * Configuration for ping health checks.
2118
- *
2119
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2120
- * via the `definition` "serviceHealthCheck".
2121
- */
2122
- export interface ServiceHealthCheckV3_53_0 {
2123
- checkName: CheckNameV3_53_0;
2124
- endpoint?: EndpointV3_53_0;
2125
- requestMethod?: RequestMethodV3_53_0;
2126
- requestHeaders?: RequestHeadersV3_53_0;
2127
- requestSearchParams?: RequestSearchParamsV3_53_0;
2128
- requestBody?: RequestBodyV3_53_0;
2129
- requestBodyFormat?: RequestBodyFormatV3_53_0;
2130
- requestTimeout?: RequestTimeoutV3_53_0;
2131
- healthyResponseStatusCode?: HealthyResponseStatusCodeV3_53_0;
2132
- triggers?: ServiceHealthCheckTriggerV3_53_0[];
2133
- }
2134
- /**
2135
- * Any custom headers to set with the health check request.
2136
- */
2137
- export interface RequestHeadersV3_53_0 {
2138
- [k: string]: any;
2139
- }
2140
- /**
2141
- * Any custom search params to set with the health check request.
2142
- */
2143
- export interface RequestSearchParamsV3_53_0 {
2144
- [k: string]: any;
2145
- }
2146
- /**
2147
- * All possible options for the more specific ParameterSerializeStyleOptions types.
2148
- *
2149
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2150
- * via the `definition` "parameterSerializeStyleOptions".
2151
- */
2152
- export interface ParameterSerializeStyleOptionsV3_53_0 {
2153
- style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2154
- explode?: boolean;
2155
- allowEmptyValue?: boolean;
2156
- /**
2157
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2158
- */
2159
- allowReserved?: boolean;
2160
- skipEncoding?: boolean;
2161
- }
2162
- /**
2163
- * All possible options for the more specific ParameterSerializeConfig types.
2164
- *
2165
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2166
- * via the `definition` "parameterSerializeConfig".
2167
- */
2168
- export interface ParameterSerializeConfigV3_53_0 {
2169
- content?: ParameterSerializeContentOptionsV3_53_0;
2170
- defaults?: ParameterSerializeOptionsV3_53_0;
2171
- paths?: {
2172
- [k: string]: ParameterSerializeOptionsV3_53_0;
2173
- };
2174
- }
2175
- /**
2176
- * All possible options for the more specific ParameterConfig types.
2177
- *
2178
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2179
- * via the `definition` "parameterConfig".
2180
- */
2181
- export interface ParameterConfigV3_53_0 {
2182
- ops: ParameterOpListV3_53_0;
2183
- serialize?: ParameterSerializeConfigV3_53_0;
2184
- }
2185
- /**
2186
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2187
- * via the `definition` "aiParseFileResolverOptions".
2188
- */
2189
- export interface AIParseFileResolverOptionsV3_53_0 {
2190
- [k: string]: any;
2191
- }
2192
- /**
2193
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2194
- * via the `definition` "listQueryLoaderConfig".
2195
- */
2196
- export interface ListQueryLoaderConfigV3_53_0 {
2197
- query: string;
2198
- args?: {
2199
- [k: string]: any;
2200
- };
2201
- pagination?: PaginationConfigV3_53_0;
2202
- }
2203
- /**
2204
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2205
- * via the `definition` "formScalarConfig".
2206
- */
2207
- export interface FormScalarConfigV3_53_0 {
2208
- widget: string;
2209
- }
2210
- /**
2211
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2212
- * via the `definition` "formObjectConfig".
2213
- */
2214
- export interface FormObjectConfigV3_53_0 {
2215
- widget?: string;
2216
- order?: string[];
2217
- properties?: {
2218
- [k: string]: FormConfigV3_53_0;
2219
- };
2220
- }
2221
- /**
2222
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2223
- * via the `definition` "formArrayConfig".
2224
- */
2225
- export interface FormArrayConfigV3_53_0 {
2226
- widget: string;
2227
- items: FormConfigV3_53_0;
2228
- }
2229
- /**
2230
- * For use with a custom auth handler on a service provider.
2231
- *
2232
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2233
- * via the `definition` "customAuthentication".
2234
- */
2235
- export interface CustomAuthenticationV3_53_0 {
2236
- type: 'custom';
2237
- [k: string]: any;
2238
- }
2239
- /**
2240
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2241
- * via the `definition` "searchParamsAuthentication".
2242
- */
2243
- export interface SearchParamsAuthenticationV3_53_0 {
2244
- type: 'searchParams';
2245
- params: {
2246
- name: string;
2247
- value: string;
2248
- }[];
2249
- }
2250
- /**
2251
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2252
- * via the `definition` "bearerAuthentication".
2253
- */
2254
- export interface BearerAuthenticationV3_53_0 {
2255
- type: 'bearer';
2256
- token: string;
2257
- prefix?: string;
2258
- header?: string;
2259
- }
2260
- /**
2261
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2262
- * via the `definition` "oauth2BearerAuthentication".
2263
- */
2264
- export interface OAuth2BearerAuthenticationV3_53_0 {
2265
- type: 'oauth2Bearer';
2266
- token: string;
2267
- prefix?: string;
2268
- header?: string;
2269
- scope?: string;
2270
- expiresAt?: string;
2271
- }
2272
- /**
2273
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2274
- * via the `definition` "basicAuthentication".
2275
- */
2276
- export interface BasicAuthenticationV3_53_0 {
2277
- type: 'basic';
2278
- username: string;
2279
- password: string;
2280
- useIso8859?: boolean;
2281
- }
2282
- /**
2283
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2284
- * via the `definition` "oauth2Authentication".
2285
- */
2286
- export interface OAuth2AuthenticationV3_53_0 {
2287
- type: 'oauth2';
2288
- grantType: 'authorizationCode' | 'clientCredentials';
2289
- authorizationUrl?: string;
2290
- accessTokenUrl?: string;
2291
- clientId: string;
2292
- clientSecret?: string;
2293
- scope?: string;
2294
- usePkce?: boolean;
2295
- redirectUrl?: string;
2296
- headerPrefix?: string;
2297
- audience?: string;
2298
- resource?: string;
2299
- }
2300
- /**
2301
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2302
- * via the `definition` "awsAuthentication".
2303
- */
2304
- export interface AWSAuthenticationV3_53_0 {
2305
- type: 'aws';
2306
- awsAccessKeyId: string;
2307
- awsSecretAccessKey: string;
2308
- }
2309
- /**
2310
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2311
- * via the `definition` "googleAuthentication".
2312
- */
2313
- export interface GoogleAuthenticationV3_53_0 {
2314
- type: 'google';
2315
- clientEmail: string;
2316
- privateKey: string;
2317
- }
2318
- /**
2319
- * This interface was referenced by `ProjectSchemaJSONV3_53_0`'s JSON-Schema
2320
- * via the `definition` "serviceConfig".
2321
- */
2322
- export interface ServiceConfigV3_53_0 {
2323
- /**
2324
- * Machine-readable identifier, should typically be the same as the property name on the services object.
2325
- */
2326
- id: string;
2327
- /**
2328
- * Human-readable name for this service.
2329
- */
2330
- title: string;
2331
- /**
2332
- * The service provider id.
2333
- */
2334
- provider: string;
2335
- /**
2336
- * A namespace to use for the imported types tied to this service.
2337
- */
2338
- namespace?: string;
2339
- serviceType: ServiceTypeV3_53_0;
2340
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2341
- authentication?: ServiceAuthenticationV3_53_0;
2342
- healthCheck?: ServiceHealthCheckV3_53_0;
2343
- webhookId?: string;
2344
- /**
2345
- * Configuration options passed to and handled by the provider.
2346
- */
2347
- options?: {
2348
- [k: string]: any;
2349
- };
2350
- }