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