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