@takeshape/schema 11.52.0 → 11.56.1

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 (1030) hide show
  1. package/dist/__tests__/_examples.test.js +77 -0
  2. package/dist/__tests__/agents.test.js +163 -0
  3. package/dist/__tests__/api-version.test.js +24 -0
  4. package/dist/__tests__/builtin-schema.test.js +18 -0
  5. package/dist/__tests__/content-schema-transform.test.d.ts +1 -0
  6. package/dist/__tests__/content-schema-transform.test.js +522 -0
  7. package/dist/__tests__/create-input-schema.test.d.ts +1 -0
  8. package/dist/__tests__/create-input-schema.test.js +184 -0
  9. package/dist/__tests__/enum.test.d.ts +1 -0
  10. package/dist/__tests__/enum.test.js +36 -0
  11. package/dist/__tests__/flatten-templates.test.d.ts +1 -0
  12. package/dist/__tests__/flatten-templates.test.js +40 -0
  13. package/dist/__tests__/get-is-leaf.test.d.ts +1 -0
  14. package/dist/__tests__/get-is-leaf.test.js +50 -0
  15. package/dist/__tests__/interfaces.test.d.ts +1 -0
  16. package/dist/__tests__/interfaces.test.js +219 -0
  17. package/dist/__tests__/migration.test.d.ts +1 -0
  18. package/dist/__tests__/migration.test.js +34 -0
  19. package/dist/__tests__/mocks.test.d.ts +1 -0
  20. package/dist/__tests__/mocks.test.js +24 -0
  21. package/dist/__tests__/refs.test.d.ts +1 -0
  22. package/dist/__tests__/refs.test.js +752 -0
  23. package/dist/__tests__/relationships.test.d.ts +1 -0
  24. package/dist/__tests__/relationships.test.js +638 -0
  25. package/dist/__tests__/schema-transform.test.d.ts +1 -0
  26. package/dist/__tests__/schema-transform.test.js +205 -0
  27. package/dist/__tests__/schema-util.test.d.ts +1 -0
  28. package/dist/__tests__/schema-util.test.js +1731 -0
  29. package/dist/__tests__/service-dependencies.test.d.ts +1 -0
  30. package/dist/__tests__/service-dependencies.test.js +360 -0
  31. package/dist/__tests__/unions.test.d.ts +1 -0
  32. package/dist/__tests__/unions.test.js +44 -0
  33. package/dist/__tests__/validate.test.d.ts +1 -0
  34. package/dist/__tests__/validate.test.js +1926 -0
  35. package/dist/__tests__/workflows.test.d.ts +3 -0
  36. package/dist/__tests__/workflows.test.js +149 -0
  37. package/dist/agents.d.ts +14 -0
  38. package/dist/auth-schemas.d.ts +125 -0
  39. package/dist/builtin-schema.d.ts +8 -0
  40. package/dist/content-schema-transform.d.ts +35 -0
  41. package/dist/content-schema-transform.js +162 -0
  42. package/dist/create-input-schema.d.ts +9 -0
  43. package/dist/enum.d.ts +2 -0
  44. package/dist/flatten-templates.d.ts +2 -0
  45. package/dist/flatten-templates.js +20 -0
  46. package/dist/get-is-leaf.d.ts +3 -0
  47. package/dist/get-is-leaf.js +56 -0
  48. package/dist/index.d.ts +48 -0
  49. package/dist/index.js +46 -0
  50. package/dist/interfaces.d.ts +12 -0
  51. package/dist/interfaces.js +85 -0
  52. package/dist/layers/__tests__/layers.test.d.ts +1 -0
  53. package/dist/layers/__tests__/layers.test.js +38 -0
  54. package/dist/layers/layers.d.ts +26 -0
  55. package/dist/layers/layers.js +301 -0
  56. package/dist/layers/refs.d.ts +102 -0
  57. package/dist/layers/refs.js +220 -0
  58. package/dist/layers/type-utils.d.ts +59 -0
  59. package/dist/layers/type-utils.js +118 -0
  60. package/dist/layers/visitor.d.ts +5 -0
  61. package/dist/layers/visitor.js +38 -0
  62. package/dist/migration/index.d.ts +64 -0
  63. package/dist/migration/index.js +122 -0
  64. package/dist/migration/to/__tests__/v3.10.0.test.d.ts +1 -0
  65. package/dist/migration/to/__tests__/v3.10.0.test.js +90 -0
  66. package/dist/migration/to/__tests__/v3.12.3.test.d.ts +1 -0
  67. package/dist/migration/to/__tests__/v3.12.3.test.js +103 -0
  68. package/dist/migration/to/__tests__/v3.17.test.d.ts +1 -0
  69. package/dist/migration/to/__tests__/v3.17.test.js +71 -0
  70. package/dist/migration/to/__tests__/v3.34.0.test.d.ts +1 -0
  71. package/dist/migration/to/__tests__/v3.34.0.test.js +240 -0
  72. package/dist/migration/to/__tests__/v3.39.0.test.d.ts +1 -0
  73. package/dist/migration/to/__tests__/v3.39.0.test.js +116 -0
  74. package/dist/migration/to/__tests__/v3.46.0.test.d.ts +1 -0
  75. package/dist/migration/to/__tests__/v3.46.0.test.js +59 -0
  76. package/dist/migration/to/v3.0.0.d.ts +4 -0
  77. package/dist/migration/to/v3.0.0.js +212 -0
  78. package/dist/migration/to/v3.1.0.d.ts +4 -0
  79. package/dist/migration/to/v3.1.0.js +194 -0
  80. package/dist/migration/to/v3.10.0.d.ts +4 -0
  81. package/dist/migration/to/v3.11.0.d.ts +4 -0
  82. package/dist/migration/to/v3.12.0.d.ts +4 -0
  83. package/dist/migration/to/v3.12.1.d.ts +4 -0
  84. package/dist/migration/to/v3.12.2.d.ts +4 -0
  85. package/dist/migration/to/v3.12.3.d.ts +4 -0
  86. package/dist/migration/to/v3.13.0.d.ts +4 -0
  87. package/dist/migration/to/v3.14.0.d.ts +4 -0
  88. package/dist/migration/to/v3.15.0.d.ts +4 -0
  89. package/dist/migration/to/v3.16.0.d.ts +4 -0
  90. package/dist/migration/to/v3.17.0.d.ts +4 -0
  91. package/dist/migration/to/v3.17.1.d.ts +4 -0
  92. package/dist/migration/to/v3.18.0.d.ts +4 -0
  93. package/dist/migration/to/v3.18.1.d.ts +4 -0
  94. package/dist/migration/to/v3.18.2.d.ts +4 -0
  95. package/dist/migration/to/v3.19.0.d.ts +4 -0
  96. package/dist/migration/to/v3.2.0.d.ts +4 -0
  97. package/dist/migration/to/v3.20.0.d.ts +4 -0
  98. package/dist/migration/to/v3.21.0.d.ts +4 -0
  99. package/dist/migration/to/v3.22.0.d.ts +4 -0
  100. package/dist/migration/to/v3.23.0.d.ts +4 -0
  101. package/dist/migration/to/v3.24.0.d.ts +4 -0
  102. package/dist/migration/to/v3.25.0.d.ts +4 -0
  103. package/dist/migration/to/v3.26.0.d.ts +4 -0
  104. package/dist/migration/to/v3.27.0.d.ts +4 -0
  105. package/dist/migration/to/v3.28.0.d.ts +4 -0
  106. package/dist/migration/to/v3.29.0.d.ts +4 -0
  107. package/dist/migration/to/v3.3.0.d.ts +4 -0
  108. package/dist/migration/to/v3.30.0.d.ts +4 -0
  109. package/dist/migration/to/v3.31.0.d.ts +4 -0
  110. package/dist/migration/to/v3.32.0.d.ts +4 -0
  111. package/dist/migration/to/v3.32.0.js +59 -0
  112. package/dist/migration/to/v3.33.0.d.ts +4 -0
  113. package/dist/migration/to/v3.34.0.d.ts +6 -0
  114. package/dist/migration/to/v3.34.0.js +116 -0
  115. package/dist/migration/to/v3.35.0.d.ts +4 -0
  116. package/dist/migration/to/v3.36.0.d.ts +4 -0
  117. package/dist/migration/to/v3.37.0.d.ts +4 -0
  118. package/dist/migration/to/v3.38.0.d.ts +4 -0
  119. package/dist/migration/to/v3.39.0.d.ts +4 -0
  120. package/dist/migration/to/v3.39.0.js +45 -0
  121. package/dist/migration/to/v3.4.0.d.ts +4 -0
  122. package/dist/migration/to/v3.40.0.d.ts +4 -0
  123. package/dist/migration/to/v3.41.0.d.ts +4 -0
  124. package/dist/migration/to/v3.42.0.d.ts +4 -0
  125. package/dist/migration/to/v3.43.0.d.ts +4 -0
  126. package/dist/migration/to/v3.44.0.d.ts +4 -0
  127. package/dist/migration/to/v3.45.0.d.ts +4 -0
  128. package/dist/migration/to/v3.46.0.d.ts +4 -0
  129. package/dist/migration/to/v3.47.0.d.ts +4 -0
  130. package/dist/migration/to/v3.48.0.d.ts +4 -0
  131. package/dist/migration/to/v3.49.0.d.ts +4 -0
  132. package/dist/migration/to/v3.5.0.d.ts +4 -0
  133. package/dist/migration/to/v3.5.1.d.ts +4 -0
  134. package/dist/migration/to/v3.50.0.d.ts +4 -0
  135. package/dist/migration/to/v3.51.0.d.ts +4 -0
  136. package/dist/migration/to/v3.6.0.d.ts +4 -0
  137. package/dist/migration/to/v3.7.0.d.ts +4 -0
  138. package/dist/migration/to/v3.8.0.d.ts +4 -0
  139. package/dist/migration/to/v3.9.0.d.ts +4 -0
  140. package/dist/migration/types.d.ts +19 -0
  141. package/dist/migration/types.js +1 -0
  142. package/dist/mocks.d.ts +13 -0
  143. package/dist/mocks.js +58 -0
  144. package/dist/models/__tests__/project-schema.test.d.ts +1 -0
  145. package/dist/models/__tests__/project-schema.test.js +67 -0
  146. package/dist/models/__tests__/query.test.d.ts +1 -0
  147. package/dist/models/__tests__/query.test.js +27 -0
  148. package/dist/models/__tests__/service.test.d.ts +1 -0
  149. package/dist/models/__tests__/service.test.js +17 -0
  150. package/dist/models/__tests__/shape.test.d.ts +1 -0
  151. package/dist/models/__tests__/shape.test.js +61 -0
  152. package/dist/models/project-schema.d.ts +35 -0
  153. package/dist/models/project-schema.js +92 -0
  154. package/dist/models/query.d.ts +17 -0
  155. package/dist/models/service.d.ts +12 -0
  156. package/dist/models/shape.d.ts +41 -0
  157. package/dist/models/shape.js +85 -0
  158. package/dist/patterns.js +1 -0
  159. package/dist/project-schema/index.d.ts +187 -0
  160. package/dist/project-schema/index.js +75 -0
  161. package/dist/project-schema/latest.d.ts +2222 -0
  162. package/dist/project-schema/migrate.d.ts +4 -0
  163. package/dist/project-schema/migrate.js +194 -0
  164. package/dist/project-schema/v3.48.0.d.ts +2161 -0
  165. package/dist/project-schema/v3.49.0.d.ts +2170 -0
  166. package/dist/project-schema/v3.50.0.d.ts +2222 -0
  167. package/dist/project-schema/v3.51.0.d.ts +2222 -0
  168. package/dist/refs.d.ts +226 -0
  169. package/dist/refs.js +608 -0
  170. package/dist/relationships.d.ts +40 -0
  171. package/dist/relationships.js +311 -0
  172. package/dist/runtime-schema.d.ts +5 -0
  173. package/dist/runtime-schema.js +80 -0
  174. package/dist/schema-transform.d.ts +19 -0
  175. package/dist/schema-transform.js +74 -0
  176. package/dist/schema-util.d.ts +210 -0
  177. package/dist/schema-util.js +1077 -0
  178. package/dist/schemas/auth-schemas.json +365 -0
  179. package/dist/schemas/index.js +154 -0
  180. package/dist/schemas/project-schema/experimental.json +1104 -0
  181. package/dist/service-dependencies.d.ts +13 -0
  182. package/dist/service-dependencies.js +165 -0
  183. package/dist/services/__tests__/services.test.d.ts +1 -0
  184. package/dist/services/__tests__/services.test.js +113 -0
  185. package/dist/services/services.d.ts +31 -0
  186. package/dist/services/services.js +145 -0
  187. package/dist/services/types.js +1 -0
  188. package/dist/services/util.d.ts +16 -0
  189. package/dist/taxonomies.d.ts +15 -0
  190. package/dist/taxonomies.js +24 -0
  191. package/dist/template-shapes/__tests__/index.test.d.ts +1 -0
  192. package/dist/template-shapes/__tests__/index.test.js +40 -0
  193. package/dist/template-shapes/__tests__/names.test.d.ts +1 -0
  194. package/dist/template-shapes/__tests__/names.test.js +19 -0
  195. package/dist/template-shapes/__tests__/templates.test.d.ts +1 -0
  196. package/dist/template-shapes/__tests__/templates.test.js +80 -0
  197. package/dist/template-shapes/__tests__/where.test.d.ts +1 -0
  198. package/dist/template-shapes/__tests__/where.test.js +218 -0
  199. package/dist/template-shapes/index.d.ts +7 -0
  200. package/dist/template-shapes/names.d.ts +10 -0
  201. package/dist/template-shapes/templates.d.ts +32 -0
  202. package/dist/template-shapes/templates.js +319 -0
  203. package/dist/template-shapes/types.d.ts +15 -0
  204. package/dist/template-shapes/where.d.ts +37 -0
  205. package/dist/template-shapes/where.js +402 -0
  206. package/dist/types/__tests__/utils.test.d.ts +1 -0
  207. package/dist/types/__tests__/utils.test.js +159 -0
  208. package/dist/types/index.d.ts +3 -0
  209. package/dist/types/index.js +2 -0
  210. package/dist/types/transforms.d.ts +13 -0
  211. package/dist/types/transforms.js +1 -0
  212. package/dist/types/types.d.ts +211 -0
  213. package/dist/types/utils.d.ts +117 -0
  214. package/dist/types/utils.js +279 -0
  215. package/dist/unions.d.ts +14 -0
  216. package/dist/unions.js +77 -0
  217. package/dist/util/__tests__/api-indexing.test.d.ts +1 -0
  218. package/dist/util/__tests__/api-indexing.test.js +129 -0
  219. package/dist/util/__tests__/detect-cycles.test.d.ts +1 -0
  220. package/dist/util/__tests__/detect-cycles.test.js +193 -0
  221. package/dist/util/__tests__/find-shape-at-path.test.d.ts +1 -0
  222. package/dist/util/__tests__/find-shape-at-path.test.js +41 -0
  223. package/dist/util/__tests__/form-config.test.d.ts +1 -0
  224. package/dist/util/__tests__/form-config.test.js +196 -0
  225. package/dist/util/__tests__/get-return-shape.test.d.ts +1 -0
  226. package/dist/util/__tests__/get-return-shape.test.js +27 -0
  227. package/dist/util/__tests__/has-args.test.d.ts +1 -0
  228. package/dist/util/__tests__/has-args.test.js +46 -0
  229. package/dist/util/__tests__/merge.test.d.ts +1 -0
  230. package/dist/util/__tests__/merge.test.js +1074 -0
  231. package/dist/util/__tests__/patch-schema.test.d.ts +1 -0
  232. package/dist/util/__tests__/patch-schema.test.js +82 -0
  233. package/dist/util/__tests__/shapes.test.d.ts +1 -0
  234. package/dist/util/__tests__/shapes.test.js +30 -0
  235. package/dist/util/ai-tools.d.ts +3 -0
  236. package/dist/util/api-indexing.d.ts +9 -0
  237. package/dist/util/api-indexing.js +57 -0
  238. package/dist/util/detect-cycles.d.ts +7 -0
  239. package/dist/util/detect-cycles.js +45 -0
  240. package/dist/util/find-shape-at-path.d.ts +21 -0
  241. package/dist/util/form-config.d.ts +11 -0
  242. package/dist/util/form-config.js +62 -0
  243. package/dist/util/get-conflicting-properties.d.ts +6 -0
  244. package/dist/util/get-conflicting-properties.js +55 -0
  245. package/dist/util/get-return-shape.d.ts +4 -0
  246. package/dist/util/get-return-shape.js +30 -0
  247. package/dist/util/has-arg.d.ts +4 -0
  248. package/dist/util/has-arg.js +13 -0
  249. package/dist/util/merge.d.ts +15 -0
  250. package/dist/util/merge.js +256 -0
  251. package/dist/util/patch-schema.d.ts +8 -0
  252. package/dist/util/shapes.d.ts +5 -0
  253. package/dist/validate/errors.d.ts +3 -0
  254. package/dist/validate/errors.js +20 -0
  255. package/dist/validate/validate.d.ts +73 -0
  256. package/dist/validate/validate.js +1107 -0
  257. package/dist/versions.d.ts +4 -0
  258. package/dist/versions.js +4 -0
  259. package/dist/workflows.d.ts +14 -0
  260. package/dist/workflows.js +66 -0
  261. package/examples/latest/agent-schema.json +12 -4
  262. package/examples/latest/all-fields-shapes-inline.json +52 -18
  263. package/examples/latest/all-fields-shapes.json +76 -26
  264. package/examples/latest/betzino.json +3139 -902
  265. package/examples/latest/blog-schema.json +28 -8
  266. package/examples/latest/brewery-schema.json +25 -7
  267. package/examples/latest/clear-cache-schema.json +7 -3
  268. package/examples/latest/complex-project-schema.json +359 -98
  269. package/examples/latest/complex-schema.json +1754 -487
  270. package/examples/latest/edit-schema.json +11 -4
  271. package/examples/latest/fabric-ecommerce.json +838 -187
  272. package/examples/latest/frank-and-fred-schema.json +1753 -486
  273. package/examples/latest/klirr-schema.json +2411 -682
  274. package/examples/latest/layers/rick-and-morty-layer.json +32 -11
  275. package/examples/latest/layers/shopify-layer-2023-01.json +8637 -2206
  276. package/examples/latest/layers/shopify-storefront-2023-04.json +1714 -404
  277. package/examples/latest/layers/wordpress-2024-01.json +2746 -691
  278. package/examples/latest/massive-schema.json +584 -131
  279. package/examples/latest/mill-components-schema.json +125 -29
  280. package/examples/latest/nested-shape-arrays.json +19 -7
  281. package/examples/latest/one-earth.json +1113 -236
  282. package/examples/latest/pet-oneof-array.json +22 -7
  283. package/examples/latest/post-schema.json +20 -6
  284. package/examples/latest/pruned-shopify-product-schema.json +830 -185
  285. package/examples/latest/rag-example.json +15 -5
  286. package/examples/latest/real-world-schema.json +56 -14
  287. package/examples/latest/recursive-repeater-schema.json +11 -4
  288. package/examples/latest/recursive-schema.json +11 -4
  289. package/examples/latest/rick-and-morty-ast.json +174 -45
  290. package/examples/latest/rick-and-morty-graphql.json +100 -25
  291. package/examples/latest/rick-and-morty-rest.json +7 -3
  292. package/examples/latest/rick-and-morty-with-indexing.json +13 -5
  293. package/examples/latest/schema-where-filter.json +40 -11
  294. package/examples/latest/schema-with-repeater-draftjs.json +8 -3
  295. package/examples/latest/schema-with-rick-and-morty.json +4 -2
  296. package/examples/latest/shape-books-v3_2_0.json +71 -17
  297. package/examples/latest/shape-books.json +71 -17
  298. package/examples/latest/shape-editor-schema-edited.json +69 -23
  299. package/examples/latest/shape-editor-schema-initial.json +28 -10
  300. package/examples/latest/shapedb-crud-every-prop-type.json +22 -8
  301. package/examples/latest/shopify-lookbook.json +19 -5
  302. package/examples/latest/shopify-product-2022-07.json +3217 -726
  303. package/examples/latest/shopify-product-2023-04.json +4496 -1012
  304. package/examples/latest/shopify-store-with-widget.json +942 -213
  305. package/examples/latest/stripe-product-runtime-schema.json +277 -81
  306. package/examples/latest/stripe-starter-resolved.json +1953 -476
  307. package/examples/latest/user-schema-no-required.json +13 -3
  308. package/examples/latest/user-schema-with-defaults.json +27 -5
  309. package/examples/latest/valvoline-ai-demo.json +69 -17
  310. package/examples/latest/vector-search-schema.json +24 -8
  311. package/package.json +24 -26
  312. package/dist/cjs/package.json +0 -1
  313. package/dist/cjs/src/agents.js +0 -147
  314. package/dist/cjs/src/api-version.js +0 -24
  315. package/dist/cjs/src/auth-schemas.js +0 -8
  316. package/dist/cjs/src/builtin-schema.js +0 -616
  317. package/dist/cjs/src/constants.js +0 -4
  318. package/dist/cjs/src/content-schema-transform.js +0 -175
  319. package/dist/cjs/src/create-input-schema.js +0 -66
  320. package/dist/cjs/src/enum.js +0 -12
  321. package/dist/cjs/src/flatten-templates.js +0 -26
  322. package/dist/cjs/src/get-is-leaf.js +0 -59
  323. package/dist/cjs/src/index.js +0 -62
  324. package/dist/cjs/src/interfaces.js +0 -98
  325. package/dist/cjs/src/layers/layers.js +0 -313
  326. package/dist/cjs/src/layers/refs.js +0 -243
  327. package/dist/cjs/src/layers/type-utils.js +0 -145
  328. package/dist/cjs/src/layers/visitor.js +0 -42
  329. package/dist/cjs/src/migration/index.js +0 -142
  330. package/dist/cjs/src/migration/to/v3.0.0.js +0 -217
  331. package/dist/cjs/src/migration/to/v3.1.0.js +0 -199
  332. package/dist/cjs/src/migration/to/v3.10.0.js +0 -72
  333. package/dist/cjs/src/migration/to/v3.11.0.js +0 -90
  334. package/dist/cjs/src/migration/to/v3.12.0.js +0 -12
  335. package/dist/cjs/src/migration/to/v3.12.1.js +0 -12
  336. package/dist/cjs/src/migration/to/v3.12.2.js +0 -12
  337. package/dist/cjs/src/migration/to/v3.12.3.js +0 -92
  338. package/dist/cjs/src/migration/to/v3.13.0.js +0 -22
  339. package/dist/cjs/src/migration/to/v3.14.0.js +0 -12
  340. package/dist/cjs/src/migration/to/v3.15.0.js +0 -12
  341. package/dist/cjs/src/migration/to/v3.16.0.js +0 -12
  342. package/dist/cjs/src/migration/to/v3.17.0.js +0 -27
  343. package/dist/cjs/src/migration/to/v3.17.1.js +0 -12
  344. package/dist/cjs/src/migration/to/v3.18.0.js +0 -69
  345. package/dist/cjs/src/migration/to/v3.18.1.js +0 -20
  346. package/dist/cjs/src/migration/to/v3.18.2.js +0 -24
  347. package/dist/cjs/src/migration/to/v3.19.0.js +0 -12
  348. package/dist/cjs/src/migration/to/v3.2.0.js +0 -12
  349. package/dist/cjs/src/migration/to/v3.20.0.js +0 -29
  350. package/dist/cjs/src/migration/to/v3.21.0.js +0 -12
  351. package/dist/cjs/src/migration/to/v3.22.0.js +0 -30
  352. package/dist/cjs/src/migration/to/v3.23.0.js +0 -12
  353. package/dist/cjs/src/migration/to/v3.24.0.js +0 -13
  354. package/dist/cjs/src/migration/to/v3.25.0.js +0 -13
  355. package/dist/cjs/src/migration/to/v3.26.0.js +0 -12
  356. package/dist/cjs/src/migration/to/v3.27.0.js +0 -12
  357. package/dist/cjs/src/migration/to/v3.28.0.js +0 -12
  358. package/dist/cjs/src/migration/to/v3.29.0.js +0 -12
  359. package/dist/cjs/src/migration/to/v3.3.0.js +0 -15
  360. package/dist/cjs/src/migration/to/v3.30.0.js +0 -12
  361. package/dist/cjs/src/migration/to/v3.31.0.js +0 -43
  362. package/dist/cjs/src/migration/to/v3.32.0.js +0 -61
  363. package/dist/cjs/src/migration/to/v3.33.0.js +0 -12
  364. package/dist/cjs/src/migration/to/v3.34.0.js +0 -123
  365. package/dist/cjs/src/migration/to/v3.35.0.js +0 -12
  366. package/dist/cjs/src/migration/to/v3.36.0.js +0 -27
  367. package/dist/cjs/src/migration/to/v3.37.0.js +0 -12
  368. package/dist/cjs/src/migration/to/v3.38.0.js +0 -12
  369. package/dist/cjs/src/migration/to/v3.39.0.js +0 -47
  370. package/dist/cjs/src/migration/to/v3.4.0.js +0 -12
  371. package/dist/cjs/src/migration/to/v3.40.0.js +0 -31
  372. package/dist/cjs/src/migration/to/v3.41.0.js +0 -12
  373. package/dist/cjs/src/migration/to/v3.42.0.js +0 -12
  374. package/dist/cjs/src/migration/to/v3.43.0.js +0 -12
  375. package/dist/cjs/src/migration/to/v3.44.0.js +0 -12
  376. package/dist/cjs/src/migration/to/v3.45.0.js +0 -12
  377. package/dist/cjs/src/migration/to/v3.46.0.js +0 -37
  378. package/dist/cjs/src/migration/to/v3.47.0.js +0 -12
  379. package/dist/cjs/src/migration/to/v3.48.0.js +0 -12
  380. package/dist/cjs/src/migration/to/v3.49.0.js +0 -12
  381. package/dist/cjs/src/migration/to/v3.5.0.js +0 -12
  382. package/dist/cjs/src/migration/to/v3.5.1.js +0 -12
  383. package/dist/cjs/src/migration/to/v3.50.0.js +0 -12
  384. package/dist/cjs/src/migration/to/v3.51.0.js +0 -12
  385. package/dist/cjs/src/migration/to/v3.6.0.js +0 -12
  386. package/dist/cjs/src/migration/to/v3.7.0.js +0 -12
  387. package/dist/cjs/src/migration/to/v3.8.0.js +0 -12
  388. package/dist/cjs/src/migration/to/v3.9.0.js +0 -84
  389. package/dist/cjs/src/migration/types.js +0 -2
  390. package/dist/cjs/src/migration/utils.js +0 -10
  391. package/dist/cjs/src/mocks.js +0 -65
  392. package/dist/cjs/src/models/project-schema.js +0 -99
  393. package/dist/cjs/src/models/query.js +0 -35
  394. package/dist/cjs/src/models/service.js +0 -24
  395. package/dist/cjs/src/models/shape.js +0 -89
  396. package/dist/cjs/src/patterns.js +0 -2
  397. package/dist/cjs/src/project-schema/index.js +0 -156
  398. package/dist/cjs/src/project-schema/latest.js +0 -8
  399. package/dist/cjs/src/project-schema/migrate.js +0 -198
  400. package/dist/cjs/src/project-schema/v1.0.0.js +0 -8
  401. package/dist/cjs/src/project-schema/v3.0.0.js +0 -8
  402. package/dist/cjs/src/project-schema/v3.1.0.js +0 -8
  403. package/dist/cjs/src/project-schema/v3.10.0.js +0 -8
  404. package/dist/cjs/src/project-schema/v3.11.0.js +0 -8
  405. package/dist/cjs/src/project-schema/v3.12.0.js +0 -8
  406. package/dist/cjs/src/project-schema/v3.12.1.js +0 -8
  407. package/dist/cjs/src/project-schema/v3.12.2.js +0 -8
  408. package/dist/cjs/src/project-schema/v3.12.3.js +0 -8
  409. package/dist/cjs/src/project-schema/v3.13.0.js +0 -8
  410. package/dist/cjs/src/project-schema/v3.13.1.js +0 -8
  411. package/dist/cjs/src/project-schema/v3.14.0.js +0 -8
  412. package/dist/cjs/src/project-schema/v3.15.0.js +0 -8
  413. package/dist/cjs/src/project-schema/v3.16.0.js +0 -8
  414. package/dist/cjs/src/project-schema/v3.17.0.js +0 -8
  415. package/dist/cjs/src/project-schema/v3.17.1.js +0 -8
  416. package/dist/cjs/src/project-schema/v3.18.0.js +0 -8
  417. package/dist/cjs/src/project-schema/v3.18.1.js +0 -8
  418. package/dist/cjs/src/project-schema/v3.18.2.js +0 -8
  419. package/dist/cjs/src/project-schema/v3.19.0.js +0 -8
  420. package/dist/cjs/src/project-schema/v3.2.0.js +0 -8
  421. package/dist/cjs/src/project-schema/v3.20.0.js +0 -8
  422. package/dist/cjs/src/project-schema/v3.21.0.js +0 -8
  423. package/dist/cjs/src/project-schema/v3.22.0.js +0 -8
  424. package/dist/cjs/src/project-schema/v3.23.0.js +0 -8
  425. package/dist/cjs/src/project-schema/v3.24.0.js +0 -8
  426. package/dist/cjs/src/project-schema/v3.25.0.js +0 -8
  427. package/dist/cjs/src/project-schema/v3.26.0.js +0 -8
  428. package/dist/cjs/src/project-schema/v3.27.0.js +0 -8
  429. package/dist/cjs/src/project-schema/v3.28.0.js +0 -8
  430. package/dist/cjs/src/project-schema/v3.29.0.js +0 -8
  431. package/dist/cjs/src/project-schema/v3.3.0.js +0 -8
  432. package/dist/cjs/src/project-schema/v3.30.0.js +0 -8
  433. package/dist/cjs/src/project-schema/v3.31.0.js +0 -8
  434. package/dist/cjs/src/project-schema/v3.32.0.js +0 -8
  435. package/dist/cjs/src/project-schema/v3.33.0.js +0 -8
  436. package/dist/cjs/src/project-schema/v3.34.0.js +0 -8
  437. package/dist/cjs/src/project-schema/v3.35.0.js +0 -8
  438. package/dist/cjs/src/project-schema/v3.36.0.js +0 -8
  439. package/dist/cjs/src/project-schema/v3.37.0.js +0 -8
  440. package/dist/cjs/src/project-schema/v3.38.0.js +0 -8
  441. package/dist/cjs/src/project-schema/v3.39.0.js +0 -8
  442. package/dist/cjs/src/project-schema/v3.4.0.js +0 -8
  443. package/dist/cjs/src/project-schema/v3.40.0.js +0 -8
  444. package/dist/cjs/src/project-schema/v3.41.0.js +0 -8
  445. package/dist/cjs/src/project-schema/v3.42.0.js +0 -8
  446. package/dist/cjs/src/project-schema/v3.43.0.js +0 -8
  447. package/dist/cjs/src/project-schema/v3.44.0.js +0 -8
  448. package/dist/cjs/src/project-schema/v3.45.0.js +0 -8
  449. package/dist/cjs/src/project-schema/v3.46.0.js +0 -8
  450. package/dist/cjs/src/project-schema/v3.47.0.js +0 -8
  451. package/dist/cjs/src/project-schema/v3.48.0.js +0 -8
  452. package/dist/cjs/src/project-schema/v3.49.0.js +0 -8
  453. package/dist/cjs/src/project-schema/v3.5.0.js +0 -8
  454. package/dist/cjs/src/project-schema/v3.5.1.js +0 -8
  455. package/dist/cjs/src/project-schema/v3.50.0.js +0 -8
  456. package/dist/cjs/src/project-schema/v3.51.0.js +0 -8
  457. package/dist/cjs/src/project-schema/v3.6.0.js +0 -8
  458. package/dist/cjs/src/project-schema/v3.7.0.js +0 -8
  459. package/dist/cjs/src/project-schema/v3.8.0.js +0 -8
  460. package/dist/cjs/src/project-schema/v3.9.0.js +0 -8
  461. package/dist/cjs/src/project-schema/v4.0.0.js +0 -8
  462. package/dist/cjs/src/refs.js +0 -671
  463. package/dist/cjs/src/relationships.js +0 -326
  464. package/dist/cjs/src/runtime-schema.js +0 -88
  465. package/dist/cjs/src/scalars.js +0 -8
  466. package/dist/cjs/src/schema-transform.js +0 -83
  467. package/dist/cjs/src/schema-util.js +0 -1140
  468. package/dist/cjs/src/schemas/auth-schemas.json +0 -313
  469. package/dist/cjs/src/schemas/index.js +0 -162
  470. package/dist/cjs/src/schemas/project-schema/experimental.json +0 -1101
  471. package/dist/cjs/src/schemas/user-schema.json +0 -51
  472. package/dist/cjs/src/service-dependencies.js +0 -172
  473. package/dist/cjs/src/services/services.js +0 -156
  474. package/dist/cjs/src/services/types.js +0 -2
  475. package/dist/cjs/src/services/util.js +0 -45
  476. package/dist/cjs/src/taxonomies.js +0 -28
  477. package/dist/cjs/src/template-shapes/index.js +0 -37
  478. package/dist/cjs/src/template-shapes/names.js +0 -26
  479. package/dist/cjs/src/template-shapes/templates.js +0 -331
  480. package/dist/cjs/src/template-shapes/types.js +0 -10
  481. package/dist/cjs/src/template-shapes/where.js +0 -414
  482. package/dist/cjs/src/types/index.js +0 -19
  483. package/dist/cjs/src/types/transforms.js +0 -2
  484. package/dist/cjs/src/types/types.js +0 -21
  485. package/dist/cjs/src/types/utils.js +0 -344
  486. package/dist/cjs/src/unions.js +0 -88
  487. package/dist/cjs/src/user-schema.js +0 -8
  488. package/dist/cjs/src/util/ai-tools.js +0 -10
  489. package/dist/cjs/src/util/api-indexing.js +0 -62
  490. package/dist/cjs/src/util/detect-cycles.js +0 -48
  491. package/dist/cjs/src/util/find-shape-at-path.js +0 -57
  492. package/dist/cjs/src/util/form-config.js +0 -66
  493. package/dist/cjs/src/util/get-conflicting-properties.js +0 -58
  494. package/dist/cjs/src/util/get-return-shape.js +0 -34
  495. package/dist/cjs/src/util/has-arg.js +0 -17
  496. package/dist/cjs/src/util/merge.js +0 -269
  497. package/dist/cjs/src/util/patch-schema.js +0 -55
  498. package/dist/cjs/src/util/shapes.js +0 -31
  499. package/dist/cjs/src/validate.js +0 -1140
  500. package/dist/cjs/src/versions.js +0 -8
  501. package/dist/cjs/src/workflows.js +0 -76
  502. package/dist/cjs/tsconfig.cjs.tsbuildinfo +0 -1
  503. package/dist/esm/package.json +0 -1
  504. package/dist/esm/src/content-schema-transform.js +0 -162
  505. package/dist/esm/src/flatten-templates.js +0 -20
  506. package/dist/esm/src/get-is-leaf.js +0 -56
  507. package/dist/esm/src/index.js +0 -46
  508. package/dist/esm/src/interfaces.js +0 -85
  509. package/dist/esm/src/layers/layers.js +0 -301
  510. package/dist/esm/src/layers/refs.js +0 -220
  511. package/dist/esm/src/layers/type-utils.js +0 -118
  512. package/dist/esm/src/layers/visitor.js +0 -38
  513. package/dist/esm/src/migration/index.js +0 -122
  514. package/dist/esm/src/migration/to/v3.0.0.js +0 -212
  515. package/dist/esm/src/migration/to/v3.1.0.js +0 -194
  516. package/dist/esm/src/migration/to/v3.32.0.js +0 -59
  517. package/dist/esm/src/migration/to/v3.34.0.js +0 -116
  518. package/dist/esm/src/migration/to/v3.39.0.js +0 -45
  519. package/dist/esm/src/mocks.js +0 -58
  520. package/dist/esm/src/models/project-schema.js +0 -92
  521. package/dist/esm/src/models/shape.js +0 -85
  522. package/dist/esm/src/project-schema/index.js +0 -138
  523. package/dist/esm/src/project-schema/migrate.js +0 -194
  524. package/dist/esm/src/refs.js +0 -608
  525. package/dist/esm/src/relationships.js +0 -311
  526. package/dist/esm/src/runtime-schema.js +0 -80
  527. package/dist/esm/src/schema-transform.js +0 -74
  528. package/dist/esm/src/schema-util.js +0 -1077
  529. package/dist/esm/src/schemas/auth-schemas.json +0 -313
  530. package/dist/esm/src/schemas/index.js +0 -154
  531. package/dist/esm/src/schemas/project-schema/experimental.json +0 -1101
  532. package/dist/esm/src/schemas/project-schema/latest.json +0 -3320
  533. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  534. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  535. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  536. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  537. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  538. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  539. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  540. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  541. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  542. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  543. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  544. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  545. package/dist/esm/src/schemas/project-schema/v1.0.0.json +0 -321
  546. package/dist/esm/src/schemas/project-schema/v3.0.0.json +0 -414
  547. package/dist/esm/src/schemas/project-schema/v3.1.0.json +0 -572
  548. package/dist/esm/src/schemas/project-schema/v3.10.0.json +0 -2097
  549. package/dist/esm/src/schemas/project-schema/v3.11.0.json +0 -2141
  550. package/dist/esm/src/schemas/project-schema/v3.12.0.json +0 -2144
  551. package/dist/esm/src/schemas/project-schema/v3.12.1.json +0 -2282
  552. package/dist/esm/src/schemas/project-schema/v3.12.2.json +0 -2304
  553. package/dist/esm/src/schemas/project-schema/v3.12.3.json +0 -2357
  554. package/dist/esm/src/schemas/project-schema/v3.13.0.json +0 -2377
  555. package/dist/esm/src/schemas/project-schema/v3.14.0.json +0 -2385
  556. package/dist/esm/src/schemas/project-schema/v3.15.0.json +0 -2365
  557. package/dist/esm/src/schemas/project-schema/v3.16.0.json +0 -2373
  558. package/dist/esm/src/schemas/project-schema/v3.17.0.json +0 -2378
  559. package/dist/esm/src/schemas/project-schema/v3.17.1.json +0 -2380
  560. package/dist/esm/src/schemas/project-schema/v3.18.0.json +0 -2356
  561. package/dist/esm/src/schemas/project-schema/v3.18.1.json +0 -2357
  562. package/dist/esm/src/schemas/project-schema/v3.18.2.json +0 -2357
  563. package/dist/esm/src/schemas/project-schema/v3.19.0.json +0 -2369
  564. package/dist/esm/src/schemas/project-schema/v3.2.0.json +0 -580
  565. package/dist/esm/src/schemas/project-schema/v3.20.0.json +0 -2369
  566. package/dist/esm/src/schemas/project-schema/v3.21.0.json +0 -2376
  567. package/dist/esm/src/schemas/project-schema/v3.22.0.json +0 -2381
  568. package/dist/esm/src/schemas/project-schema/v3.23.0.json +0 -2456
  569. package/dist/esm/src/schemas/project-schema/v3.24.0.json +0 -2556
  570. package/dist/esm/src/schemas/project-schema/v3.25.0.json +0 -2552
  571. package/dist/esm/src/schemas/project-schema/v3.26.0.json +0 -2599
  572. package/dist/esm/src/schemas/project-schema/v3.27.0.json +0 -2611
  573. package/dist/esm/src/schemas/project-schema/v3.28.0.json +0 -2656
  574. package/dist/esm/src/schemas/project-schema/v3.29.0.json +0 -2670
  575. package/dist/esm/src/schemas/project-schema/v3.3.0.json +0 -581
  576. package/dist/esm/src/schemas/project-schema/v3.30.0.json +0 -2656
  577. package/dist/esm/src/schemas/project-schema/v3.31.0.json +0 -2714
  578. package/dist/esm/src/schemas/project-schema/v3.32.0.json +0 -2708
  579. package/dist/esm/src/schemas/project-schema/v3.33.0.json +0 -2715
  580. package/dist/esm/src/schemas/project-schema/v3.34.0.json +0 -2715
  581. package/dist/esm/src/schemas/project-schema/v3.35.0.json +0 -2748
  582. package/dist/esm/src/schemas/project-schema/v3.36.0.json +0 -2756
  583. package/dist/esm/src/schemas/project-schema/v3.37.0.json +0 -2821
  584. package/dist/esm/src/schemas/project-schema/v3.38.0.json +0 -2819
  585. package/dist/esm/src/schemas/project-schema/v3.39.0.json +0 -2827
  586. package/dist/esm/src/schemas/project-schema/v3.4.0.json +0 -571
  587. package/dist/esm/src/schemas/project-schema/v3.40.0.json +0 -2830
  588. package/dist/esm/src/schemas/project-schema/v3.41.0.json +0 -2830
  589. package/dist/esm/src/schemas/project-schema/v3.42.0.json +0 -2835
  590. package/dist/esm/src/schemas/project-schema/v3.43.0.json +0 -2841
  591. package/dist/esm/src/schemas/project-schema/v3.44.0.json +0 -3013
  592. package/dist/esm/src/schemas/project-schema/v3.45.0.json +0 -3064
  593. package/dist/esm/src/schemas/project-schema/v3.46.0.json +0 -3136
  594. package/dist/esm/src/schemas/project-schema/v3.47.0.json +0 -3189
  595. package/dist/esm/src/schemas/project-schema/v3.48.0.json +0 -3196
  596. package/dist/esm/src/schemas/project-schema/v3.49.0.json +0 -3239
  597. package/dist/esm/src/schemas/project-schema/v3.5.0.json +0 -571
  598. package/dist/esm/src/schemas/project-schema/v3.5.1.json +0 -571
  599. package/dist/esm/src/schemas/project-schema/v3.50.0.json +0 -3320
  600. package/dist/esm/src/schemas/project-schema/v3.51.0.json +0 -3320
  601. package/dist/esm/src/schemas/project-schema/v3.6.0.json +0 -587
  602. package/dist/esm/src/schemas/project-schema/v3.7.0.json +0 -587
  603. package/dist/esm/src/schemas/project-schema/v3.8.0.json +0 -604
  604. package/dist/esm/src/schemas/project-schema/v3.9.0.json +0 -604
  605. package/dist/esm/src/schemas/project-schema/v4.0.0.json +0 -2316
  606. package/dist/esm/src/schemas/project-schema.json +0 -190
  607. package/dist/esm/src/schemas/user-schema.json +0 -51
  608. package/dist/esm/src/service-dependencies.js +0 -165
  609. package/dist/esm/src/services/services.js +0 -145
  610. package/dist/esm/src/taxonomies.js +0 -24
  611. package/dist/esm/src/template-shapes/templates.js +0 -319
  612. package/dist/esm/src/template-shapes/where.js +0 -402
  613. package/dist/esm/src/types/index.js +0 -3
  614. package/dist/esm/src/types/utils.js +0 -279
  615. package/dist/esm/src/unions.js +0 -77
  616. package/dist/esm/src/user-schema.js +0 -7
  617. package/dist/esm/src/util/api-indexing.js +0 -57
  618. package/dist/esm/src/util/detect-cycles.js +0 -45
  619. package/dist/esm/src/util/form-config.js +0 -62
  620. package/dist/esm/src/util/get-conflicting-properties.js +0 -55
  621. package/dist/esm/src/util/get-return-shape.js +0 -30
  622. package/dist/esm/src/util/has-arg.js +0 -13
  623. package/dist/esm/src/util/merge.js +0 -256
  624. package/dist/esm/src/validate.js +0 -1126
  625. package/dist/esm/src/versions.js +0 -4
  626. package/dist/esm/src/workflows.js +0 -66
  627. package/dist/esm/tsconfig.esm.tsbuildinfo +0 -1
  628. package/dist/types/src/agents.d.ts +0 -14
  629. package/dist/types/src/auth-schemas.d.ts +0 -104
  630. package/dist/types/src/builtin-schema.d.ts +0 -8
  631. package/dist/types/src/content-schema-transform.d.ts +0 -35
  632. package/dist/types/src/create-input-schema.d.ts +0 -9
  633. package/dist/types/src/enum.d.ts +0 -2
  634. package/dist/types/src/flatten-templates.d.ts +0 -2
  635. package/dist/types/src/get-is-leaf.d.ts +0 -3
  636. package/dist/types/src/index.d.ts +0 -48
  637. package/dist/types/src/interfaces.d.ts +0 -12
  638. package/dist/types/src/layers/layers.d.ts +0 -26
  639. package/dist/types/src/layers/refs.d.ts +0 -102
  640. package/dist/types/src/layers/type-utils.d.ts +0 -59
  641. package/dist/types/src/layers/visitor.d.ts +0 -5
  642. package/dist/types/src/migration/index.d.ts +0 -64
  643. package/dist/types/src/migration/to/v3.0.0.d.ts +0 -4
  644. package/dist/types/src/migration/to/v3.1.0.d.ts +0 -4
  645. package/dist/types/src/migration/to/v3.10.0.d.ts +0 -4
  646. package/dist/types/src/migration/to/v3.11.0.d.ts +0 -4
  647. package/dist/types/src/migration/to/v3.12.0.d.ts +0 -4
  648. package/dist/types/src/migration/to/v3.12.1.d.ts +0 -4
  649. package/dist/types/src/migration/to/v3.12.2.d.ts +0 -4
  650. package/dist/types/src/migration/to/v3.12.3.d.ts +0 -4
  651. package/dist/types/src/migration/to/v3.13.0.d.ts +0 -4
  652. package/dist/types/src/migration/to/v3.14.0.d.ts +0 -4
  653. package/dist/types/src/migration/to/v3.15.0.d.ts +0 -4
  654. package/dist/types/src/migration/to/v3.16.0.d.ts +0 -4
  655. package/dist/types/src/migration/to/v3.17.0.d.ts +0 -4
  656. package/dist/types/src/migration/to/v3.17.1.d.ts +0 -4
  657. package/dist/types/src/migration/to/v3.18.0.d.ts +0 -4
  658. package/dist/types/src/migration/to/v3.18.1.d.ts +0 -4
  659. package/dist/types/src/migration/to/v3.18.2.d.ts +0 -4
  660. package/dist/types/src/migration/to/v3.19.0.d.ts +0 -4
  661. package/dist/types/src/migration/to/v3.2.0.d.ts +0 -4
  662. package/dist/types/src/migration/to/v3.20.0.d.ts +0 -4
  663. package/dist/types/src/migration/to/v3.21.0.d.ts +0 -4
  664. package/dist/types/src/migration/to/v3.22.0.d.ts +0 -4
  665. package/dist/types/src/migration/to/v3.23.0.d.ts +0 -4
  666. package/dist/types/src/migration/to/v3.24.0.d.ts +0 -4
  667. package/dist/types/src/migration/to/v3.25.0.d.ts +0 -4
  668. package/dist/types/src/migration/to/v3.26.0.d.ts +0 -4
  669. package/dist/types/src/migration/to/v3.27.0.d.ts +0 -4
  670. package/dist/types/src/migration/to/v3.28.0.d.ts +0 -4
  671. package/dist/types/src/migration/to/v3.29.0.d.ts +0 -4
  672. package/dist/types/src/migration/to/v3.3.0.d.ts +0 -4
  673. package/dist/types/src/migration/to/v3.30.0.d.ts +0 -4
  674. package/dist/types/src/migration/to/v3.31.0.d.ts +0 -4
  675. package/dist/types/src/migration/to/v3.32.0.d.ts +0 -4
  676. package/dist/types/src/migration/to/v3.33.0.d.ts +0 -4
  677. package/dist/types/src/migration/to/v3.34.0.d.ts +0 -6
  678. package/dist/types/src/migration/to/v3.35.0.d.ts +0 -4
  679. package/dist/types/src/migration/to/v3.36.0.d.ts +0 -4
  680. package/dist/types/src/migration/to/v3.37.0.d.ts +0 -4
  681. package/dist/types/src/migration/to/v3.38.0.d.ts +0 -4
  682. package/dist/types/src/migration/to/v3.39.0.d.ts +0 -4
  683. package/dist/types/src/migration/to/v3.4.0.d.ts +0 -4
  684. package/dist/types/src/migration/to/v3.40.0.d.ts +0 -4
  685. package/dist/types/src/migration/to/v3.41.0.d.ts +0 -4
  686. package/dist/types/src/migration/to/v3.42.0.d.ts +0 -4
  687. package/dist/types/src/migration/to/v3.43.0.d.ts +0 -4
  688. package/dist/types/src/migration/to/v3.44.0.d.ts +0 -4
  689. package/dist/types/src/migration/to/v3.45.0.d.ts +0 -4
  690. package/dist/types/src/migration/to/v3.46.0.d.ts +0 -4
  691. package/dist/types/src/migration/to/v3.47.0.d.ts +0 -4
  692. package/dist/types/src/migration/to/v3.48.0.d.ts +0 -4
  693. package/dist/types/src/migration/to/v3.49.0.d.ts +0 -4
  694. package/dist/types/src/migration/to/v3.5.0.d.ts +0 -4
  695. package/dist/types/src/migration/to/v3.5.1.d.ts +0 -4
  696. package/dist/types/src/migration/to/v3.50.0.d.ts +0 -4
  697. package/dist/types/src/migration/to/v3.51.0.d.ts +0 -4
  698. package/dist/types/src/migration/to/v3.6.0.d.ts +0 -4
  699. package/dist/types/src/migration/to/v3.7.0.d.ts +0 -4
  700. package/dist/types/src/migration/to/v3.8.0.d.ts +0 -4
  701. package/dist/types/src/migration/to/v3.9.0.d.ts +0 -4
  702. package/dist/types/src/migration/types.d.ts +0 -19
  703. package/dist/types/src/mocks.d.ts +0 -13
  704. package/dist/types/src/models/project-schema.d.ts +0 -35
  705. package/dist/types/src/models/query.d.ts +0 -17
  706. package/dist/types/src/models/service.d.ts +0 -12
  707. package/dist/types/src/models/shape.d.ts +0 -41
  708. package/dist/types/src/project-schema/index.d.ts +0 -187
  709. package/dist/types/src/project-schema/latest.d.ts +0 -2221
  710. package/dist/types/src/project-schema/migrate.d.ts +0 -4
  711. package/dist/types/src/project-schema/v3.48.0.d.ts +0 -2160
  712. package/dist/types/src/project-schema/v3.49.0.d.ts +0 -2169
  713. package/dist/types/src/project-schema/v3.50.0.d.ts +0 -2221
  714. package/dist/types/src/project-schema/v3.51.0.d.ts +0 -2221
  715. package/dist/types/src/refs.d.ts +0 -226
  716. package/dist/types/src/relationships.d.ts +0 -40
  717. package/dist/types/src/runtime-schema.d.ts +0 -5
  718. package/dist/types/src/schema-transform.d.ts +0 -19
  719. package/dist/types/src/schema-util.d.ts +0 -210
  720. package/dist/types/src/service-dependencies.d.ts +0 -13
  721. package/dist/types/src/services/services.d.ts +0 -31
  722. package/dist/types/src/services/util.d.ts +0 -16
  723. package/dist/types/src/taxonomies.d.ts +0 -15
  724. package/dist/types/src/template-shapes/index.d.ts +0 -7
  725. package/dist/types/src/template-shapes/names.d.ts +0 -10
  726. package/dist/types/src/template-shapes/templates.d.ts +0 -32
  727. package/dist/types/src/template-shapes/types.d.ts +0 -15
  728. package/dist/types/src/template-shapes/where.d.ts +0 -37
  729. package/dist/types/src/types/index.d.ts +0 -3
  730. package/dist/types/src/types/transforms.d.ts +0 -13
  731. package/dist/types/src/types/types.d.ts +0 -211
  732. package/dist/types/src/types/utils.d.ts +0 -117
  733. package/dist/types/src/unions.d.ts +0 -14
  734. package/dist/types/src/user-schema.d.ts +0 -38
  735. package/dist/types/src/util/ai-tools.d.ts +0 -3
  736. package/dist/types/src/util/api-indexing.d.ts +0 -9
  737. package/dist/types/src/util/detect-cycles.d.ts +0 -7
  738. package/dist/types/src/util/find-shape-at-path.d.ts +0 -21
  739. package/dist/types/src/util/form-config.d.ts +0 -11
  740. package/dist/types/src/util/get-conflicting-properties.d.ts +0 -6
  741. package/dist/types/src/util/get-return-shape.d.ts +0 -4
  742. package/dist/types/src/util/has-arg.d.ts +0 -4
  743. package/dist/types/src/util/merge.d.ts +0 -15
  744. package/dist/types/src/util/patch-schema.d.ts +0 -8
  745. package/dist/types/src/util/shapes.d.ts +0 -5
  746. package/dist/types/src/validate.d.ts +0 -75
  747. package/dist/types/src/versions.d.ts +0 -4
  748. package/dist/types/src/workflows.d.ts +0 -14
  749. package/dist/types/tsconfig.types.tsbuildinfo +0 -1
  750. /package/dist/{esm/src/migration/types.js → __tests__/_examples.test.d.ts} +0 -0
  751. /package/dist/{esm/src/patterns.js → __tests__/agents.test.d.ts} +0 -0
  752. /package/dist/{esm/src/services/types.js → __tests__/api-version.test.d.ts} +0 -0
  753. /package/dist/{esm/src/types/transforms.js → __tests__/builtin-schema.test.d.ts} +0 -0
  754. /package/dist/{esm/src/agents.js → agents.js} +0 -0
  755. /package/dist/{types/src/api-version.d.ts → api-version.d.ts} +0 -0
  756. /package/dist/{esm/src/api-version.js → api-version.js} +0 -0
  757. /package/dist/{esm/src/auth-schemas.js → auth-schemas.js} +0 -0
  758. /package/dist/{esm/src/builtin-schema.js → builtin-schema.js} +0 -0
  759. /package/dist/{types/src/constants.d.ts → constants.d.ts} +0 -0
  760. /package/dist/{esm/src/constants.js → constants.js} +0 -0
  761. /package/dist/{esm/src/create-input-schema.js → create-input-schema.js} +0 -0
  762. /package/dist/{esm/src/enum.js → enum.js} +0 -0
  763. /package/dist/{esm/src/migration → migration}/to/v3.10.0.js +0 -0
  764. /package/dist/{esm/src/migration → migration}/to/v3.11.0.js +0 -0
  765. /package/dist/{esm/src/migration → migration}/to/v3.12.0.js +0 -0
  766. /package/dist/{esm/src/migration → migration}/to/v3.12.1.js +0 -0
  767. /package/dist/{esm/src/migration → migration}/to/v3.12.2.js +0 -0
  768. /package/dist/{esm/src/migration → migration}/to/v3.12.3.js +0 -0
  769. /package/dist/{esm/src/migration → migration}/to/v3.13.0.js +0 -0
  770. /package/dist/{esm/src/migration → migration}/to/v3.14.0.js +0 -0
  771. /package/dist/{esm/src/migration → migration}/to/v3.15.0.js +0 -0
  772. /package/dist/{esm/src/migration → migration}/to/v3.16.0.js +0 -0
  773. /package/dist/{esm/src/migration → migration}/to/v3.17.0.js +0 -0
  774. /package/dist/{esm/src/migration → migration}/to/v3.17.1.js +0 -0
  775. /package/dist/{esm/src/migration → migration}/to/v3.18.0.js +0 -0
  776. /package/dist/{esm/src/migration → migration}/to/v3.18.1.js +0 -0
  777. /package/dist/{esm/src/migration → migration}/to/v3.18.2.js +0 -0
  778. /package/dist/{esm/src/migration → migration}/to/v3.19.0.js +0 -0
  779. /package/dist/{esm/src/migration → migration}/to/v3.2.0.js +0 -0
  780. /package/dist/{esm/src/migration → migration}/to/v3.20.0.js +0 -0
  781. /package/dist/{esm/src/migration → migration}/to/v3.21.0.js +0 -0
  782. /package/dist/{esm/src/migration → migration}/to/v3.22.0.js +0 -0
  783. /package/dist/{esm/src/migration → migration}/to/v3.23.0.js +0 -0
  784. /package/dist/{esm/src/migration → migration}/to/v3.24.0.js +0 -0
  785. /package/dist/{esm/src/migration → migration}/to/v3.25.0.js +0 -0
  786. /package/dist/{esm/src/migration → migration}/to/v3.26.0.js +0 -0
  787. /package/dist/{esm/src/migration → migration}/to/v3.27.0.js +0 -0
  788. /package/dist/{esm/src/migration → migration}/to/v3.28.0.js +0 -0
  789. /package/dist/{esm/src/migration → migration}/to/v3.29.0.js +0 -0
  790. /package/dist/{esm/src/migration → migration}/to/v3.3.0.js +0 -0
  791. /package/dist/{esm/src/migration → migration}/to/v3.30.0.js +0 -0
  792. /package/dist/{esm/src/migration → migration}/to/v3.31.0.js +0 -0
  793. /package/dist/{esm/src/migration → migration}/to/v3.33.0.js +0 -0
  794. /package/dist/{esm/src/migration → migration}/to/v3.35.0.js +0 -0
  795. /package/dist/{esm/src/migration → migration}/to/v3.36.0.js +0 -0
  796. /package/dist/{esm/src/migration → migration}/to/v3.37.0.js +0 -0
  797. /package/dist/{esm/src/migration → migration}/to/v3.38.0.js +0 -0
  798. /package/dist/{esm/src/migration → migration}/to/v3.4.0.js +0 -0
  799. /package/dist/{esm/src/migration → migration}/to/v3.40.0.js +0 -0
  800. /package/dist/{esm/src/migration → migration}/to/v3.41.0.js +0 -0
  801. /package/dist/{esm/src/migration → migration}/to/v3.42.0.js +0 -0
  802. /package/dist/{esm/src/migration → migration}/to/v3.43.0.js +0 -0
  803. /package/dist/{esm/src/migration → migration}/to/v3.44.0.js +0 -0
  804. /package/dist/{esm/src/migration → migration}/to/v3.45.0.js +0 -0
  805. /package/dist/{esm/src/migration → migration}/to/v3.46.0.js +0 -0
  806. /package/dist/{esm/src/migration → migration}/to/v3.47.0.js +0 -0
  807. /package/dist/{esm/src/migration → migration}/to/v3.48.0.js +0 -0
  808. /package/dist/{esm/src/migration → migration}/to/v3.49.0.js +0 -0
  809. /package/dist/{esm/src/migration → migration}/to/v3.5.0.js +0 -0
  810. /package/dist/{esm/src/migration → migration}/to/v3.5.1.js +0 -0
  811. /package/dist/{esm/src/migration → migration}/to/v3.50.0.js +0 -0
  812. /package/dist/{esm/src/migration → migration}/to/v3.51.0.js +0 -0
  813. /package/dist/{esm/src/migration → migration}/to/v3.6.0.js +0 -0
  814. /package/dist/{esm/src/migration → migration}/to/v3.7.0.js +0 -0
  815. /package/dist/{esm/src/migration → migration}/to/v3.8.0.js +0 -0
  816. /package/dist/{esm/src/migration → migration}/to/v3.9.0.js +0 -0
  817. /package/dist/{types/src/migration → migration}/utils.d.ts +0 -0
  818. /package/dist/{esm/src/migration → migration}/utils.js +0 -0
  819. /package/dist/{esm/src/models → models}/query.js +0 -0
  820. /package/dist/{esm/src/models → models}/service.js +0 -0
  821. /package/dist/{types/src/patterns.d.ts → patterns.d.ts} +0 -0
  822. /package/dist/{esm/src/project-schema → project-schema}/latest.js +0 -0
  823. /package/dist/{types/src/project-schema → project-schema}/v1.0.0.d.ts +0 -0
  824. /package/dist/{esm/src/project-schema → project-schema}/v1.0.0.js +0 -0
  825. /package/dist/{types/src/project-schema → project-schema}/v3.0.0.d.ts +0 -0
  826. /package/dist/{esm/src/project-schema → project-schema}/v3.0.0.js +0 -0
  827. /package/dist/{types/src/project-schema → project-schema}/v3.1.0.d.ts +0 -0
  828. /package/dist/{esm/src/project-schema → project-schema}/v3.1.0.js +0 -0
  829. /package/dist/{types/src/project-schema → project-schema}/v3.10.0.d.ts +0 -0
  830. /package/dist/{esm/src/project-schema → project-schema}/v3.10.0.js +0 -0
  831. /package/dist/{types/src/project-schema → project-schema}/v3.11.0.d.ts +0 -0
  832. /package/dist/{esm/src/project-schema → project-schema}/v3.11.0.js +0 -0
  833. /package/dist/{types/src/project-schema → project-schema}/v3.12.0.d.ts +0 -0
  834. /package/dist/{esm/src/project-schema → project-schema}/v3.12.0.js +0 -0
  835. /package/dist/{types/src/project-schema → project-schema}/v3.12.1.d.ts +0 -0
  836. /package/dist/{esm/src/project-schema → project-schema}/v3.12.1.js +0 -0
  837. /package/dist/{types/src/project-schema → project-schema}/v3.12.2.d.ts +0 -0
  838. /package/dist/{esm/src/project-schema → project-schema}/v3.12.2.js +0 -0
  839. /package/dist/{types/src/project-schema → project-schema}/v3.12.3.d.ts +0 -0
  840. /package/dist/{esm/src/project-schema → project-schema}/v3.12.3.js +0 -0
  841. /package/dist/{types/src/project-schema → project-schema}/v3.13.0.d.ts +0 -0
  842. /package/dist/{esm/src/project-schema → project-schema}/v3.13.0.js +0 -0
  843. /package/dist/{types/src/project-schema → project-schema}/v3.13.1.d.ts +0 -0
  844. /package/dist/{esm/src/project-schema → project-schema}/v3.13.1.js +0 -0
  845. /package/dist/{types/src/project-schema → project-schema}/v3.14.0.d.ts +0 -0
  846. /package/dist/{esm/src/project-schema → project-schema}/v3.14.0.js +0 -0
  847. /package/dist/{types/src/project-schema → project-schema}/v3.15.0.d.ts +0 -0
  848. /package/dist/{esm/src/project-schema → project-schema}/v3.15.0.js +0 -0
  849. /package/dist/{types/src/project-schema → project-schema}/v3.16.0.d.ts +0 -0
  850. /package/dist/{esm/src/project-schema → project-schema}/v3.16.0.js +0 -0
  851. /package/dist/{types/src/project-schema → project-schema}/v3.17.0.d.ts +0 -0
  852. /package/dist/{esm/src/project-schema → project-schema}/v3.17.0.js +0 -0
  853. /package/dist/{types/src/project-schema → project-schema}/v3.17.1.d.ts +0 -0
  854. /package/dist/{esm/src/project-schema → project-schema}/v3.17.1.js +0 -0
  855. /package/dist/{types/src/project-schema → project-schema}/v3.18.0.d.ts +0 -0
  856. /package/dist/{esm/src/project-schema → project-schema}/v3.18.0.js +0 -0
  857. /package/dist/{types/src/project-schema → project-schema}/v3.18.1.d.ts +0 -0
  858. /package/dist/{esm/src/project-schema → project-schema}/v3.18.1.js +0 -0
  859. /package/dist/{types/src/project-schema → project-schema}/v3.18.2.d.ts +0 -0
  860. /package/dist/{esm/src/project-schema → project-schema}/v3.18.2.js +0 -0
  861. /package/dist/{types/src/project-schema → project-schema}/v3.19.0.d.ts +0 -0
  862. /package/dist/{esm/src/project-schema → project-schema}/v3.19.0.js +0 -0
  863. /package/dist/{types/src/project-schema → project-schema}/v3.2.0.d.ts +0 -0
  864. /package/dist/{esm/src/project-schema → project-schema}/v3.2.0.js +0 -0
  865. /package/dist/{types/src/project-schema → project-schema}/v3.20.0.d.ts +0 -0
  866. /package/dist/{esm/src/project-schema → project-schema}/v3.20.0.js +0 -0
  867. /package/dist/{types/src/project-schema → project-schema}/v3.21.0.d.ts +0 -0
  868. /package/dist/{esm/src/project-schema → project-schema}/v3.21.0.js +0 -0
  869. /package/dist/{types/src/project-schema → project-schema}/v3.22.0.d.ts +0 -0
  870. /package/dist/{esm/src/project-schema → project-schema}/v3.22.0.js +0 -0
  871. /package/dist/{types/src/project-schema → project-schema}/v3.23.0.d.ts +0 -0
  872. /package/dist/{esm/src/project-schema → project-schema}/v3.23.0.js +0 -0
  873. /package/dist/{types/src/project-schema → project-schema}/v3.24.0.d.ts +0 -0
  874. /package/dist/{esm/src/project-schema → project-schema}/v3.24.0.js +0 -0
  875. /package/dist/{types/src/project-schema → project-schema}/v3.25.0.d.ts +0 -0
  876. /package/dist/{esm/src/project-schema → project-schema}/v3.25.0.js +0 -0
  877. /package/dist/{types/src/project-schema → project-schema}/v3.26.0.d.ts +0 -0
  878. /package/dist/{esm/src/project-schema → project-schema}/v3.26.0.js +0 -0
  879. /package/dist/{types/src/project-schema → project-schema}/v3.27.0.d.ts +0 -0
  880. /package/dist/{esm/src/project-schema → project-schema}/v3.27.0.js +0 -0
  881. /package/dist/{types/src/project-schema → project-schema}/v3.28.0.d.ts +0 -0
  882. /package/dist/{esm/src/project-schema → project-schema}/v3.28.0.js +0 -0
  883. /package/dist/{types/src/project-schema → project-schema}/v3.29.0.d.ts +0 -0
  884. /package/dist/{esm/src/project-schema → project-schema}/v3.29.0.js +0 -0
  885. /package/dist/{types/src/project-schema → project-schema}/v3.3.0.d.ts +0 -0
  886. /package/dist/{esm/src/project-schema → project-schema}/v3.3.0.js +0 -0
  887. /package/dist/{types/src/project-schema → project-schema}/v3.30.0.d.ts +0 -0
  888. /package/dist/{esm/src/project-schema → project-schema}/v3.30.0.js +0 -0
  889. /package/dist/{types/src/project-schema → project-schema}/v3.31.0.d.ts +0 -0
  890. /package/dist/{esm/src/project-schema → project-schema}/v3.31.0.js +0 -0
  891. /package/dist/{types/src/project-schema → project-schema}/v3.32.0.d.ts +0 -0
  892. /package/dist/{esm/src/project-schema → project-schema}/v3.32.0.js +0 -0
  893. /package/dist/{types/src/project-schema → project-schema}/v3.33.0.d.ts +0 -0
  894. /package/dist/{esm/src/project-schema → project-schema}/v3.33.0.js +0 -0
  895. /package/dist/{types/src/project-schema → project-schema}/v3.34.0.d.ts +0 -0
  896. /package/dist/{esm/src/project-schema → project-schema}/v3.34.0.js +0 -0
  897. /package/dist/{types/src/project-schema → project-schema}/v3.35.0.d.ts +0 -0
  898. /package/dist/{esm/src/project-schema → project-schema}/v3.35.0.js +0 -0
  899. /package/dist/{types/src/project-schema → project-schema}/v3.36.0.d.ts +0 -0
  900. /package/dist/{esm/src/project-schema → project-schema}/v3.36.0.js +0 -0
  901. /package/dist/{types/src/project-schema → project-schema}/v3.37.0.d.ts +0 -0
  902. /package/dist/{esm/src/project-schema → project-schema}/v3.37.0.js +0 -0
  903. /package/dist/{types/src/project-schema → project-schema}/v3.38.0.d.ts +0 -0
  904. /package/dist/{esm/src/project-schema → project-schema}/v3.38.0.js +0 -0
  905. /package/dist/{types/src/project-schema → project-schema}/v3.39.0.d.ts +0 -0
  906. /package/dist/{esm/src/project-schema → project-schema}/v3.39.0.js +0 -0
  907. /package/dist/{types/src/project-schema → project-schema}/v3.4.0.d.ts +0 -0
  908. /package/dist/{esm/src/project-schema → project-schema}/v3.4.0.js +0 -0
  909. /package/dist/{types/src/project-schema → project-schema}/v3.40.0.d.ts +0 -0
  910. /package/dist/{esm/src/project-schema → project-schema}/v3.40.0.js +0 -0
  911. /package/dist/{types/src/project-schema → project-schema}/v3.41.0.d.ts +0 -0
  912. /package/dist/{esm/src/project-schema → project-schema}/v3.41.0.js +0 -0
  913. /package/dist/{types/src/project-schema → project-schema}/v3.42.0.d.ts +0 -0
  914. /package/dist/{esm/src/project-schema → project-schema}/v3.42.0.js +0 -0
  915. /package/dist/{types/src/project-schema → project-schema}/v3.43.0.d.ts +0 -0
  916. /package/dist/{esm/src/project-schema → project-schema}/v3.43.0.js +0 -0
  917. /package/dist/{types/src/project-schema → project-schema}/v3.44.0.d.ts +0 -0
  918. /package/dist/{esm/src/project-schema → project-schema}/v3.44.0.js +0 -0
  919. /package/dist/{types/src/project-schema → project-schema}/v3.45.0.d.ts +0 -0
  920. /package/dist/{esm/src/project-schema → project-schema}/v3.45.0.js +0 -0
  921. /package/dist/{types/src/project-schema → project-schema}/v3.46.0.d.ts +0 -0
  922. /package/dist/{esm/src/project-schema → project-schema}/v3.46.0.js +0 -0
  923. /package/dist/{types/src/project-schema → project-schema}/v3.47.0.d.ts +0 -0
  924. /package/dist/{esm/src/project-schema → project-schema}/v3.47.0.js +0 -0
  925. /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
  926. /package/dist/{esm/src/project-schema → project-schema}/v3.49.0.js +0 -0
  927. /package/dist/{types/src/project-schema → project-schema}/v3.5.0.d.ts +0 -0
  928. /package/dist/{esm/src/project-schema → project-schema}/v3.5.0.js +0 -0
  929. /package/dist/{types/src/project-schema → project-schema}/v3.5.1.d.ts +0 -0
  930. /package/dist/{esm/src/project-schema → project-schema}/v3.5.1.js +0 -0
  931. /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
  932. /package/dist/{esm/src/project-schema → project-schema}/v3.51.0.js +0 -0
  933. /package/dist/{types/src/project-schema → project-schema}/v3.6.0.d.ts +0 -0
  934. /package/dist/{esm/src/project-schema → project-schema}/v3.6.0.js +0 -0
  935. /package/dist/{types/src/project-schema → project-schema}/v3.7.0.d.ts +0 -0
  936. /package/dist/{esm/src/project-schema → project-schema}/v3.7.0.js +0 -0
  937. /package/dist/{types/src/project-schema → project-schema}/v3.8.0.d.ts +0 -0
  938. /package/dist/{esm/src/project-schema → project-schema}/v3.8.0.js +0 -0
  939. /package/dist/{types/src/project-schema → project-schema}/v3.9.0.d.ts +0 -0
  940. /package/dist/{esm/src/project-schema → project-schema}/v3.9.0.js +0 -0
  941. /package/dist/{types/src/project-schema → project-schema}/v4.0.0.d.ts +0 -0
  942. /package/dist/{esm/src/project-schema → project-schema}/v4.0.0.js +0 -0
  943. /package/dist/{types/src/scalars.d.ts → scalars.d.ts} +0 -0
  944. /package/dist/{esm/src/scalars.js → scalars.js} +0 -0
  945. /package/dist/{types/src/schemas → schemas}/index.d.ts +0 -0
  946. /package/dist/{cjs/src/schemas → schemas}/project-schema/latest.json +0 -0
  947. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
  948. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
  949. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
  950. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
  951. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
  952. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
  953. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
  954. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
  955. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
  956. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
  957. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
  958. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
  959. /package/dist/{cjs/src/schemas → schemas}/project-schema/v1.0.0.json +0 -0
  960. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.0.0.json +0 -0
  961. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.1.0.json +0 -0
  962. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.10.0.json +0 -0
  963. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.11.0.json +0 -0
  964. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.0.json +0 -0
  965. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.1.json +0 -0
  966. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.2.json +0 -0
  967. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.3.json +0 -0
  968. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.13.0.json +0 -0
  969. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.14.0.json +0 -0
  970. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.15.0.json +0 -0
  971. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.16.0.json +0 -0
  972. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.0.json +0 -0
  973. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.1.json +0 -0
  974. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.0.json +0 -0
  975. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.1.json +0 -0
  976. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.2.json +0 -0
  977. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.19.0.json +0 -0
  978. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.2.0.json +0 -0
  979. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.20.0.json +0 -0
  980. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.21.0.json +0 -0
  981. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.22.0.json +0 -0
  982. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.23.0.json +0 -0
  983. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.24.0.json +0 -0
  984. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.25.0.json +0 -0
  985. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.26.0.json +0 -0
  986. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.27.0.json +0 -0
  987. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.28.0.json +0 -0
  988. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.29.0.json +0 -0
  989. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.3.0.json +0 -0
  990. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.30.0.json +0 -0
  991. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.31.0.json +0 -0
  992. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.32.0.json +0 -0
  993. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.33.0.json +0 -0
  994. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.34.0.json +0 -0
  995. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.35.0.json +0 -0
  996. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.36.0.json +0 -0
  997. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.37.0.json +0 -0
  998. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.38.0.json +0 -0
  999. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.39.0.json +0 -0
  1000. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.4.0.json +0 -0
  1001. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.40.0.json +0 -0
  1002. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.41.0.json +0 -0
  1003. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.42.0.json +0 -0
  1004. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.43.0.json +0 -0
  1005. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.44.0.json +0 -0
  1006. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.45.0.json +0 -0
  1007. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.46.0.json +0 -0
  1008. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.47.0.json +0 -0
  1009. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.48.0.json +0 -0
  1010. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.49.0.json +0 -0
  1011. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.0.json +0 -0
  1012. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.1.json +0 -0
  1013. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.50.0.json +0 -0
  1014. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.51.0.json +0 -0
  1015. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.6.0.json +0 -0
  1016. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.7.0.json +0 -0
  1017. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.8.0.json +0 -0
  1018. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.9.0.json +0 -0
  1019. /package/dist/{cjs/src/schemas → schemas}/project-schema/v4.0.0.json +0 -0
  1020. /package/dist/{cjs/src/schemas → schemas}/project-schema.json +0 -0
  1021. /package/dist/{types/src/services → services}/types.d.ts +0 -0
  1022. /package/dist/{esm/src/services → services}/util.js +0 -0
  1023. /package/dist/{esm/src/template-shapes → template-shapes}/index.js +0 -0
  1024. /package/dist/{esm/src/template-shapes → template-shapes}/names.js +0 -0
  1025. /package/dist/{esm/src/template-shapes → template-shapes}/types.js +0 -0
  1026. /package/dist/{esm/src/types → types}/types.js +0 -0
  1027. /package/dist/{esm/src/util → util}/ai-tools.js +0 -0
  1028. /package/dist/{esm/src/util → util}/find-shape-at-path.js +0 -0
  1029. /package/dist/{esm/src/util → util}/patch-schema.js +0 -0
  1030. /package/dist/{esm/src/util → util}/shapes.js +0 -0
@@ -0,0 +1,2222 @@
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_50_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_50_0 = string | ObjectSchemaV3_50_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_50_0 = PropertySchemaV3_50_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_50_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_50_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_50_0 = NonNegativeIntegerV3_50_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_50_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_50_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_50_0 = PropertySchemaV3_50_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_50_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_50_0 = (RefSchemaV3_50_0 | RefSchemaLegacyV3_50_0 | ObjectSchemaV3_50_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_50_0 = MappingStringV3_50_0 | MappingStringV3_50_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_50_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_50_0 = BasicResolverV3_50_0 | ComposeResolverV3_50_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_50_0 = UtilResolverV3_50_0 | DelegateResolverV3_50_0 | TakeshapeResolverV3_50_0 | ShapedbResolverV3_50_0 | ShapedbResolverShapeNameNotRequiredV3_50_0 | GraphqlResolverV3_50_0 | RestResolverV3_50_0 | AwsLambdaResolverV3_50_0 | SalsifyResolverV3_50_0 | SyndigoResolverV3_50_0 | FunctionResolverV3_50_0 | AIGenerateTextResolverV3_50_0 | AIGeneratePropertyResolverV3_50_0 | AIEmbeddingResolverV3_50_0 | AIParseFileResolverV3_50_0 | AIRunAgentResolverV3_50_0 | AIInspectAgentResolverV3_50_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_50_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_50_0 = ParameterOpNestedV3_50_0 | ParameterOpValueV3_50_0 | ParameterOpMappingV3_50_0 | ParameterOpOpV3_50_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_50_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_50_0 = [DirectiveNameV3_50_0, DirectiveOptionsV3_50_0];
96
+ export type DirectiveNameV3_50_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_50_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_50_0 = DirectiveConfigItemV3_50_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_50_0 = ParameterOpV3_50_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_50_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_50_0 = DirectiveMappingMapV3_50_0 | DirectiveConfigV3_50_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_50_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_50_0 = DirectiveMappingMapV3_50_0 | DirectiveConfigV3_50_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_50_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_50_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export type ShapedbResolverNameV3_50_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_50_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_50_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_50_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_50_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_50_0 = [string, DirectiveConfigV3_50_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_50_0 = DirectiveMappingArrayItemV3_50_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_50_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_50_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type SyndigoResolverNameV3_50_0 = 'syndigo:searchProducts';
173
+ /**
174
+ * Name of the resolver function.
175
+ */
176
+ export type FunctionResolverNameV3_50_0 = 'function:run';
177
+ export type FunctionResolverJavascriptV3_50_0 = string;
178
+ /**
179
+ * Name of the resolver function.
180
+ */
181
+ export type AIResolverNameV3_50_0 = 'ai:generateText' | 'ai:chat';
182
+ export type HistoryV3_50_0 = boolean;
183
+ /**
184
+ * Maximum number of tokens to generate.
185
+ */
186
+ export type MaximumTokensV3_50_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_50_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_50_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_50_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_50_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_50_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_50_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_50_0 = number;
215
+ /**
216
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
217
+ * via the `definition` "aiGuardrail".
218
+ */
219
+ export type AIGuardrailV3_50_0 = AISimilarityGuardrailV3_50_0;
220
+ /**
221
+ * Name of the resolver function.
222
+ */
223
+ export type AIResolverNameV3_50_01 = 'ai:generateProperty';
224
+ /**
225
+ * Name of the resolver function.
226
+ */
227
+ export type AIResolverNameV3_50_02 = 'ai:createEmbedding';
228
+ /**
229
+ * Name of the resolver function.
230
+ */
231
+ export type AIResolverNameV3_50_03 = 'ai:parseFile';
232
+ /**
233
+ * Name of the resolver function.
234
+ */
235
+ export type AIResolverNameV3_50_04 = 'ai:runAgent';
236
+ /**
237
+ * Name of the resolver function.
238
+ */
239
+ export type AIResolverNameV3_50_05 = 'ai:inspectAgentSession';
240
+ /**
241
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
242
+ * via the `definition` "dependencies".
243
+ */
244
+ export type DependenciesV3_50_0 = string;
245
+ /**
246
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
247
+ * via the `definition` "returnShape".
248
+ */
249
+ export type ReturnShapeV3_50_0 = string | ReturnShapeArraySchemaV3_50_0;
250
+ /**
251
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
252
+ * via the `definition` "returnShapeArraySchema".
253
+ */
254
+ export type ReturnShapeArraySchemaV3_50_0 = PropertySchemaV3_50_0 & {
255
+ type: 'array';
256
+ items: RefSchemaV3_50_0 | {
257
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
258
+ [k: string]: any;
259
+ };
260
+ };
261
+ export type ModelTypeV3_50_0 = 'single' | 'multiple' | 'taxonomy';
262
+ /**
263
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
264
+ * via the `definition` "paginationConfig".
265
+ */
266
+ export type PaginationConfigV3_50_0 = PaginationCursorConfigV3_50_0 | PaginationPageConfigV3_50_0 | PaginationOffsetConfigV3_50_0;
267
+ /**
268
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
269
+ * via the `definition` "cacheTriggerConfig".
270
+ */
271
+ export type CacheTriggerConfigV3_50_0 = CacheScheduleTriggerConfigV3_50_0 | CacheWebhookTriggerConfigV3_50_0;
272
+ /**
273
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
274
+ * via the `definition` "shapeSchema".
275
+ */
276
+ export type ShapeSchemaV3_50_0 = ShapeSchemaAllOfV3_50_0 | ShapeSchemaExtendsV3_50_0 | ShapeSchemaOneOfV3_50_0 | ShapeSchemaEnumV3_50_0 | ObjectSchemaV3_50_0 | ShapeSchemaAnyV3_50_0;
277
+ export type AgentAPIV3_50_0 = AgentAPIChatV3_50_0 | AgentAPIGenerateV3_50_0;
278
+ export type AgentVariableStepV3_50_0 = AgentVariableStepGraphQLArgV3_50_0 | AgentVariableStepStateOutputV3_50_0 | AgentVariableStepPreviousStateOutputV3_50_0 | AgentVariableStepStaticValueV3_50_0;
279
+ export type AgentVariableStepConditionV3_50_0 = AgentVariableStepConditionNoneV3_50_0 | AgentVariableStepConditionSourceStateV3_50_0;
280
+ export type VariablesV3_50_0 = AgentVariableV3_50_0[];
281
+ export type AgentExecutionV3_50_0 = AgentExecutionGraphQLV3_50_0 | AgentExecutionGenerateV3_50_0 | AgentExecutionChatV3_50_0;
282
+ export type AgentAIStateInputV3_50_0 = AgentAIStateInputArgumentV3_50_0 | AgentAIStateInputTemplateV3_50_0;
283
+ export type MinimatchPatternV3_50_0 = string;
284
+ /**
285
+ * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
286
+ */
287
+ export type RemovePropertyKeyPatternsV3_50_0 = MinimatchPatternV3_50_0[];
288
+ export type HistoryV3_50_01 = boolean;
289
+ /**
290
+ * Maximum number of tokens to generate.
291
+ */
292
+ export type MaximumTokensV3_50_01 = number;
293
+ /**
294
+ * 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
295
+ */
296
+ export type TemperatureV3_50_01 = number;
297
+ /**
298
+ * 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.
299
+ */
300
+ export type TopPV3_50_01 = number;
301
+ /**
302
+ * 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.
303
+ */
304
+ export type TopKV3_50_01 = number;
305
+ /**
306
+ * 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.
307
+ */
308
+ export type PresencePenaltySettingV3_50_01 = number;
309
+ /**
310
+ * 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.
311
+ */
312
+ export type FrequencyPenaltySettingV3_50_01 = number;
313
+ /**
314
+ * If set, the model will stop generating text when one of the stop sequences is generated.
315
+ */
316
+ export type StopSequencesV3_50_01 = string[];
317
+ /**
318
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
319
+ */
320
+ export type SeedV3_50_01 = number;
321
+ /**
322
+ * Maximal number of automatic roundtrips for tool calls.
323
+ */
324
+ export type MaxToolRoundtripsV3_50_0 = number;
325
+ /**
326
+ * If true, structured outputs will be enabled on the model for non-text requests.
327
+ */
328
+ export type StructuredOutputsV3_50_0 = boolean;
329
+ /**
330
+ * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
331
+ */
332
+ export type EnableOpenAISchemaFormatV3_50_0 = boolean;
333
+ export type GuardIDV3_50_0 = string;
334
+ /**
335
+ * The human-readable name of the Guard.
336
+ */
337
+ export type NameV3_50_0 = string;
338
+ /**
339
+ * A description of the Guard.
340
+ */
341
+ export type DescriptionV3_50_0 = string;
342
+ /**
343
+ * The remote id of the Guardrail.
344
+ */
345
+ export type GuardrailIdentifierV3_50_0 = string;
346
+ /**
347
+ * The remote version of the Guardrail.
348
+ */
349
+ export type GuardrailVersionV3_50_0 = string;
350
+ /**
351
+ * A message to return when the input message is blocked by the Guard.
352
+ */
353
+ export type BlockedInputMessagingV3_50_0 = string;
354
+ /**
355
+ * A message to return when the output message is blocked by the Guard.
356
+ */
357
+ export type BlockedOutputsMessagingV3_50_0 = string;
358
+ export type ExampleV3_50_0 = string;
359
+ /**
360
+ * A topic to block.
361
+ */
362
+ export type TopicV3_50_0 = {
363
+ name: string;
364
+ definition: string;
365
+ /**
366
+ * Examples of the topic that can hint the LLM.
367
+ */
368
+ examples?: ExampleV3_50_0[];
369
+ type: 'DENY';
370
+ }[];
371
+ export type InputStrengthV3_50_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
372
+ export type OutputStrengthV3_50_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
373
+ export type GuardrailModalityV3_50_0 = 'TEXT' | 'IMAGE';
374
+ /**
375
+ * Whether to filter images or text
376
+ */
377
+ export type InputModalitiesV3_50_0 = GuardrailModalityV3_50_0[];
378
+ /**
379
+ * Whether to filter images or text
380
+ */
381
+ export type OutputModalitiesV3_50_0 = GuardrailModalityV3_50_0[];
382
+ /**
383
+ * Types of content to filter.
384
+ */
385
+ export type FilterV3_50_0 = {
386
+ type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
387
+ inputStrength: InputStrengthV3_50_0;
388
+ outputStrength: OutputStrengthV3_50_0;
389
+ inputModalities?: InputModalitiesV3_50_0;
390
+ outputModalities?: OutputModalitiesV3_50_0;
391
+ }[];
392
+ /**
393
+ * Specific words to block.
394
+ */
395
+ export type WordListV3_50_0 = {
396
+ text: string;
397
+ }[];
398
+ /**
399
+ * This is solely used for blocking profanity.
400
+ */
401
+ export type ManagedWordListV3_50_0 = {
402
+ type: 'PROFANITY';
403
+ }[];
404
+ export type GuardrailSensitiveInformationActionV3_50_0 = 'ANONYMIZE' | 'BLOCK';
405
+ /**
406
+ * PII entity to infer from the text.
407
+ */
408
+ export type PIIEntityV3_50_0 = {
409
+ 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';
410
+ action: GuardrailSensitiveInformationActionV3_50_0;
411
+ }[];
412
+ /**
413
+ * A regular expression to match sensitive information.
414
+ */
415
+ export type RegularExpressionV3_50_0 = {
416
+ name: string;
417
+ description?: string;
418
+ pattern: string;
419
+ action: GuardrailSensitiveInformationActionV3_50_0;
420
+ }[];
421
+ /**
422
+ * The type of filter.
423
+ */
424
+ export type TypeV3_50_0 = 'GROUNDING' | 'RELEVANCE';
425
+ /**
426
+ * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
427
+ */
428
+ export type ThresholdV3_50_0 = number;
429
+ /**
430
+ * Filter to evaluate grounding text.
431
+ */
432
+ export type FilterV3_50_01 = {
433
+ type: TypeV3_50_0;
434
+ threshold: ThresholdV3_50_0;
435
+ }[];
436
+ /**
437
+ * Human-readable id for use in the UI
438
+ */
439
+ export type WorkflowNameV3_50_0 = string;
440
+ /**
441
+ * machine-readable slug
442
+ */
443
+ export type NameV3_50_01 = string;
444
+ /**
445
+ * Human-readable id for use in the UI
446
+ */
447
+ export type TitleV3_50_0 = string;
448
+ export type DescriptionV3_50_01 = string;
449
+ /**
450
+ * Hex color code
451
+ */
452
+ export type ColorV3_50_0 = string;
453
+ /**
454
+ * Value to indicate whether items in the state should be returned in list queries
455
+ */
456
+ export type LiveV3_50_0 = boolean;
457
+ /**
458
+ * machine-readable id
459
+ */
460
+ export type KeyV3_50_0 = string;
461
+ export type StepsV3_50_0 = WorkflowStepV3_50_0[];
462
+ /**
463
+ * The general type of this service, specifying how and where it will be utilized.
464
+ *
465
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
466
+ * via the `definition` "serviceType".
467
+ */
468
+ export type ServiceTypeV3_50_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
469
+ /**
470
+ * The name of a health check to run
471
+ */
472
+ export type CheckNameV3_50_0 = 'graphqlIntrospection' | 'ping' | 'none';
473
+ /**
474
+ * The endpoint to use when checking the service health.
475
+ */
476
+ export type EndpointV3_50_0 = string;
477
+ /**
478
+ * A custom method to use for the health check request.
479
+ */
480
+ export type RequestMethodV3_50_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
481
+ /**
482
+ * A custom body to send along with the ping request.
483
+ */
484
+ export type RequestBodyV3_50_0 = string;
485
+ /**
486
+ * A custom body to send along with the ping request.
487
+ */
488
+ export type RequestBodyFormatV3_50_0 = 'string' | 'form' | 'json' | 'form-data';
489
+ /**
490
+ * The amount of time to wait when receiving a response from the health check, in seconds.
491
+ */
492
+ export type RequestTimeoutV3_50_0 = number;
493
+ /**
494
+ * The response status code that qualifies as healthy.
495
+ */
496
+ export type HealthyResponseStatusCodeV3_50_0 = number;
497
+ /**
498
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
499
+ * via the `definition` "serviceHealthCheckTrigger".
500
+ */
501
+ export type ServiceHealthCheckTriggerV3_50_0 = 'manual' | 'schedule';
502
+ /**
503
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
504
+ * via the `definition` "allOfSchema".
505
+ */
506
+ export type AllOfSchemaV3_50_0 = PropertySchemaV3_50_0 & {
507
+ allOf: ObjectOrRefArrayV3_50_0;
508
+ };
509
+ /**
510
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
511
+ * via the `definition` "extendsSchema".
512
+ */
513
+ export type ExtendsSchemaV3_50_0 = PropertySchemaV3_50_0 & {
514
+ extends: ObjectOrRefArrayV3_50_0;
515
+ };
516
+ /**
517
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
518
+ * via the `definition` "oneOfSchema".
519
+ */
520
+ export type OneOfSchemaV3_50_0 = PropertySchemaV3_50_0 & {
521
+ oneOf: ObjectOrRefArrayV3_50_0;
522
+ };
523
+ /**
524
+ * Options to be passed to the serialization routine.
525
+ *
526
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
527
+ * via the `definition` "parameterSerializeOptions".
528
+ *
529
+ * This interface was referenced by `undefined`'s JSON-Schema definition
530
+ * via the `patternProperty` "^[^\n\r]*$".
531
+ */
532
+ export type ParameterSerializeOptionsV3_50_0 = ParameterSerializeStyleOptionsV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
533
+ /**
534
+ * An array of key / value or directive config tuples
535
+ *
536
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
537
+ * via the `definition` "directiveMappingArray".
538
+ */
539
+ export type DirectiveMappingArrayV3_50_0 = DirectiveMappingArrayItemV3_50_0[];
540
+ /**
541
+ * A resolver which references a specific service
542
+ *
543
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
544
+ * via the `definition` "serviceResolver".
545
+ */
546
+ export type ServiceResolverV3_50_0 = TakeshapeResolverV3_50_0 | ShapedbResolverShapeNameNotRequiredV3_50_0 | ShapedbResolverV3_50_0 | GraphqlResolverV3_50_0 | RestResolverV3_50_0 | AwsLambdaResolverV3_50_0;
547
+ /**
548
+ * An array of key / value or directive config tuples
549
+ *
550
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
551
+ * via the `definition` "searchParamsMapping".
552
+ */
553
+ export type SearchParamsMappingV3_50_01 = DirectiveMappingArrayItemV3_50_0[];
554
+ /**
555
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
556
+ * via the `definition` "shapeWithObjectSchema".
557
+ */
558
+ export type ShapeWithObjectSchemaV3_50_0 = ShapeJSONV3_50_0 & {
559
+ schema: ObjectSchemaV3_50_0;
560
+ };
561
+ /**
562
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
563
+ * via the `definition` "serviceAuthentication".
564
+ */
565
+ export type ServiceAuthenticationV3_50_0 = OAuth2AuthenticationV3_50_0 | OAuth2BearerAuthenticationV3_50_0 | BearerAuthenticationV3_50_0 | BasicAuthenticationV3_50_0 | SearchParamsAuthenticationV3_50_0 | AWSAuthenticationV3_50_0 | GoogleAuthenticationV3_50_0 | CustomAuthenticationV3_50_0;
566
+ /**
567
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
568
+ * via the `definition` "anyServiceConfig".
569
+ */
570
+ export type AnyServiceConfigV3_50_0 = ServiceConfigJSONV3_50_0 | ServiceConfigV3_50_0;
571
+ export interface ProjectSchemaJSONV3_50_0 {
572
+ $schema?: string;
573
+ /**
574
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
575
+ */
576
+ apiVersion: string;
577
+ /**
578
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
579
+ */
580
+ schemaVersion: '3.50.0';
581
+ /**
582
+ * The ID of the TakeShape project this schema belongs to.
583
+ */
584
+ projectId: string;
585
+ /**
586
+ * The ID of the TakeShape user who created the schema.
587
+ */
588
+ author?: string;
589
+ deactivated?: number;
590
+ /**
591
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
592
+ */
593
+ defaultLocale: string;
594
+ locales: string[];
595
+ queries: QueryMapV3_50_0;
596
+ mutations: QueryMapV3_50_0;
597
+ shapes: ShapeMapV3_50_0;
598
+ 'ai-experimental'?: AIExperimentalV3_50_0;
599
+ forms?: FormMapV3_50_0;
600
+ workflows: WorkflowMapV3_50_0;
601
+ services?: ServiceMapJSONV3_50_0;
602
+ }
603
+ /**
604
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
605
+ * via the `definition` "queryMap".
606
+ */
607
+ export interface QueryMapV3_50_0 {
608
+ [k: string]: QueryJSONV3_50_0;
609
+ }
610
+ /**
611
+ * This interface was referenced by `QueryMapV3_50_0`'s JSON-Schema definition
612
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
613
+ *
614
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
615
+ * via the `definition` "query".
616
+ */
617
+ export interface QueryJSONV3_50_0 {
618
+ args?: ArgsV3_50_0;
619
+ resolver: ResolverV3_50_0;
620
+ shape: ReturnShapeV3_50_0;
621
+ /**
622
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
623
+ */
624
+ description?: string;
625
+ }
626
+ /**
627
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
628
+ * via the `definition` "propertySchema".
629
+ */
630
+ export interface PropertySchemaV3_50_0 {
631
+ $ref?: string;
632
+ title?: string;
633
+ description?: string;
634
+ default?: any;
635
+ readOnly?: boolean;
636
+ multipleOf?: number;
637
+ maximum?: number;
638
+ exclusiveMaximum?: number;
639
+ minimum?: number;
640
+ exclusiveMinimum?: number;
641
+ maxLength?: NonNegativeIntegerV3_50_0;
642
+ minLength?: NonNegativeIntegerDefault0V3_50_0;
643
+ pattern?: string;
644
+ additionalItems?: PropertySchemaV3_50_0;
645
+ items?: PropertySchemaV3_50_0;
646
+ maxItems?: NonNegativeIntegerV3_50_0;
647
+ minItems?: NonNegativeIntegerDefault0V3_50_0;
648
+ uniqueItems?: boolean;
649
+ contains?: PropertySchemaV3_50_0;
650
+ maxProperties?: NonNegativeIntegerV3_50_0;
651
+ minProperties?: NonNegativeIntegerDefault0V3_50_0;
652
+ required?: StringArrayV3_50_0;
653
+ additionalProperties?: PropertySchemaV3_50_0 | false;
654
+ definitions?: {
655
+ [k: string]: PropertySchemaV3_50_0;
656
+ };
657
+ properties?: {
658
+ [k: string]: PropertySchemaV3_50_0;
659
+ };
660
+ const?: any;
661
+ enum?: any[];
662
+ type?: SimpleTypesV3_50_0 | SimpleTypesV3_50_0[];
663
+ format?: string;
664
+ contentMediaType?: string;
665
+ contentEncoding?: string;
666
+ allOf?: SchemaArrayV3_50_0;
667
+ discriminator?: {
668
+ propertyName?: string;
669
+ [k: string]: any;
670
+ };
671
+ oneOf?: SchemaArrayV3_50_0;
672
+ extends?: ObjectOrRefArrayV3_50_0;
673
+ '@backreference'?: BackReferenceV3_50_0;
674
+ '@input'?: PropertySchemaV3_50_0;
675
+ '@output'?: PropertySchemaV3_50_0;
676
+ '@syncLocaleStructure'?: boolean;
677
+ '@sensitive'?: boolean;
678
+ '@draftjs'?: boolean;
679
+ '@l10n'?: boolean;
680
+ '@key'?: string;
681
+ '@workflow'?: string;
682
+ '@mapping'?: FieldMappingV3_50_0;
683
+ '@tag'?: string;
684
+ '@tags'?: string[];
685
+ '@deprecationReason'?: string;
686
+ '@args'?: ArgsV3_50_0;
687
+ '@resolver'?: ResolverV3_50_0;
688
+ '@dependencies'?: DependenciesV3_50_0;
689
+ '@ref'?: RefV3_50_0;
690
+ '@derivedFrom'?: string;
691
+ '@indexed'?: IndexedV3_50_0;
692
+ '@graphql'?: GraphQLConfigV3_50_0;
693
+ }
694
+ /**
695
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
696
+ * via the `definition` "refSchema".
697
+ */
698
+ export interface RefSchemaV3_50_0 {
699
+ '@ref': RefV3_50_0;
700
+ [k: string]: any;
701
+ }
702
+ /**
703
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
704
+ * via the `definition` "refSchemaLegacy".
705
+ */
706
+ export interface RefSchemaLegacyV3_50_0 {
707
+ $ref: RefV3_50_0;
708
+ [k: string]: any;
709
+ }
710
+ /**
711
+ * A configuration object for a reverse reference in a relationship.
712
+ *
713
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
714
+ * via the `definition` "backreference".
715
+ */
716
+ export interface BackReferenceV3_50_0 {
717
+ enabled: boolean;
718
+ name?: string;
719
+ }
720
+ /**
721
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
722
+ * via the `definition` "utilResolver".
723
+ */
724
+ export interface UtilResolverV3_50_0 {
725
+ if?: string;
726
+ id?: string;
727
+ name: UtilResolverNameV3_50_0;
728
+ options?: UtilResolverOptionsV3_50_0;
729
+ /**
730
+ * Optional value to return from the noop resolver.
731
+ */
732
+ value?: number | string | boolean | {
733
+ [k: string]: any;
734
+ } | any[] | null;
735
+ args?: ParameterConfigForJsonV3_50_0;
736
+ results?: ParameterConfigForJsonV3_50_0;
737
+ argsMapping?: ArgsMappingV3_50_0;
738
+ resultsMapping?: ResultsMappingV3_50_0;
739
+ }
740
+ export interface UtilResolverOptionsV3_50_0 {
741
+ [k: string]: any;
742
+ }
743
+ /**
744
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
745
+ * via the `definition` "parameterConfigForJson".
746
+ */
747
+ export interface ParameterConfigForJsonV3_50_0 {
748
+ ops: ParameterOpListV3_50_0;
749
+ }
750
+ /**
751
+ * An object describing an operation to generate a parameter, using a nested OpList.
752
+ *
753
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
754
+ * via the `definition` "parameterOpNested".
755
+ */
756
+ export interface ParameterOpNestedV3_50_0 {
757
+ /**
758
+ * A path to the parameter for this operation.
759
+ */
760
+ path: string;
761
+ /**
762
+ * A mode for this parameter's operation.
763
+ */
764
+ op?: 'set' | 'concat' | 'extend' | 'remove';
765
+ ops: ParameterOpListV3_50_0;
766
+ }
767
+ /**
768
+ * An object describing an operation to generate a parameter using a value.
769
+ *
770
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
771
+ * via the `definition` "parameterOpValue".
772
+ */
773
+ export interface ParameterOpValueV3_50_0 {
774
+ /**
775
+ * A path to the parameter for this operation.
776
+ */
777
+ path: string;
778
+ /**
779
+ * A mode for this parameter's operation.
780
+ */
781
+ op?: 'set' | 'concat' | 'extend' | 'remove';
782
+ /**
783
+ * A value to set directly at this path.
784
+ */
785
+ value: number | string | boolean | {
786
+ [k: string]: any;
787
+ } | any[] | null;
788
+ }
789
+ /**
790
+ * An object describing an operation to generate a parameter using a mapping.
791
+ *
792
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
793
+ * via the `definition` "parameterOpMapping".
794
+ */
795
+ export interface ParameterOpMappingV3_50_0 {
796
+ /**
797
+ * A path to the parameter for this operation.
798
+ */
799
+ path: string;
800
+ /**
801
+ * A mode for this parameter's operation.
802
+ */
803
+ op?: 'set' | 'concat' | 'extend' | 'remove';
804
+ /**
805
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
806
+ */
807
+ mapping: string | DirectiveConfigV3_50_0;
808
+ }
809
+ export interface DirectiveOptionsV3_50_0 {
810
+ [k: string]: any;
811
+ }
812
+ /**
813
+ * An object describing an operation to generate a parameter using a mapping.
814
+ *
815
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
816
+ * via the `definition` "parameterOpOp".
817
+ */
818
+ export interface ParameterOpOpV3_50_0 {
819
+ /**
820
+ * A path to the parameter for this operation.
821
+ */
822
+ path: string;
823
+ /**
824
+ * A mode for this parameter's operation.
825
+ */
826
+ op: 'set' | 'concat' | 'extend' | 'remove';
827
+ }
828
+ /**
829
+ * An map of object keys / key paths to directive configs
830
+ *
831
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
832
+ * via the `definition` "directiveMappingMap".
833
+ */
834
+ export interface DirectiveMappingMapV3_50_0 {
835
+ [k: string]: DirectiveConfigV3_50_0;
836
+ }
837
+ /**
838
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
839
+ * via the `definition` "delegateResolver".
840
+ */
841
+ export interface DelegateResolverV3_50_0 {
842
+ if?: string;
843
+ id?: string;
844
+ name: DelegateResolverNameV3_50_0;
845
+ options?: DelegateResolverOptionsV3_50_0;
846
+ argsMapping?: ArgsMappingV3_50_0;
847
+ resultsMapping?: ResultsMappingV3_50_0;
848
+ /**
849
+ * A ref to a query/mutation/property to delegate to.
850
+ */
851
+ to: string;
852
+ args?: ParameterConfigForJsonV3_50_0;
853
+ results?: ParameterConfigForJsonV3_50_0;
854
+ }
855
+ export interface DelegateResolverOptionsV3_50_0 {
856
+ [k: string]: any;
857
+ }
858
+ /**
859
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
860
+ * via the `definition` "takeshapeResolver".
861
+ */
862
+ export interface TakeshapeResolverV3_50_0 {
863
+ if?: string;
864
+ id?: string;
865
+ name: TakeshapeResolverNameV3_50_0;
866
+ /**
867
+ * Internal service identifier.
868
+ */
869
+ service: 'takeshape';
870
+ options?: TakeshapeResolverOptionsV3_50_0;
871
+ /**
872
+ * An optional Shape name for the resolver.
873
+ */
874
+ shapeName?: string;
875
+ args?: ParameterConfigForJsonV3_50_0;
876
+ results?: ParameterConfigForJsonV3_50_0;
877
+ argsMapping?: ArgsMappingV3_50_0;
878
+ resultsMapping?: ResultsMappingV3_50_0;
879
+ }
880
+ export interface TakeshapeResolverOptionsV3_50_0 {
881
+ [k: string]: any;
882
+ }
883
+ /**
884
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
885
+ * via the `definition` "shapedbResolver".
886
+ */
887
+ export interface ShapedbResolverV3_50_0 {
888
+ if?: string;
889
+ id?: string;
890
+ name: ShapedbResolverNameV3_50_0;
891
+ /**
892
+ * Internal service identifier.
893
+ */
894
+ service: 'shapedb';
895
+ options?: ShapedbResolverOptionsV3_50_0;
896
+ argsMapping?: ArgsMappingV3_50_0;
897
+ resultsMapping?: ResultsMappingV3_50_0;
898
+ /**
899
+ * A Shape name for the resolver to use.
900
+ */
901
+ shapeName: string;
902
+ args?: ParameterConfigForJsonV3_50_0;
903
+ results?: ParameterConfigForJsonV3_50_0;
904
+ }
905
+ export interface ShapedbResolverOptionsV3_50_0 {
906
+ [k: string]: any;
907
+ }
908
+ /**
909
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
910
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
911
+ */
912
+ export interface ShapedbResolverShapeNameNotRequiredV3_50_0 {
913
+ if?: string;
914
+ id?: string;
915
+ name: ShapedbResolverShapeNameNotRequiredNameV3_50_0;
916
+ /**
917
+ * Internal service identifier.
918
+ */
919
+ service: 'shapedb';
920
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_50_0;
921
+ /**
922
+ * An optional Shape name for the resolver.
923
+ */
924
+ shapeName?: string;
925
+ args?: ParameterConfigForJsonV3_50_0;
926
+ results?: ParameterConfigForJsonV3_50_0;
927
+ argsMapping?: ArgsMappingV3_50_0;
928
+ resultsMapping?: ResultsMappingV3_50_0;
929
+ }
930
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_50_0 {
931
+ [k: string]: any;
932
+ }
933
+ /**
934
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
935
+ * via the `definition` "graphqlResolver".
936
+ */
937
+ export interface GraphqlResolverV3_50_0 {
938
+ if?: string;
939
+ id?: string;
940
+ name: GraphqlResolverNameV3_50_0;
941
+ /**
942
+ * Configuration for a service to use with this resolver.
943
+ */
944
+ service: string;
945
+ argsMapping?: ArgsMappingV3_50_0;
946
+ resultsMapping?: ResultsMappingV3_50_0;
947
+ options?: GraphqlResolverOptionsV3_50_0;
948
+ /**
949
+ * A fieldname to use in queries.
950
+ */
951
+ fieldName: string;
952
+ headers?: ParameterConfigForHeadersV3_50_0;
953
+ searchParams?: ParameterConfigForSearchParamsV3_50_0;
954
+ args?: ParameterConfigForJsonV3_50_0;
955
+ results?: ParameterConfigForJsonV3_50_0;
956
+ }
957
+ export interface GraphqlResolverOptionsV3_50_0 {
958
+ selectionSet?: string;
959
+ unboxParentSelectionSet?: boolean;
960
+ ignoreErrors?: boolean;
961
+ skipWhenMissingArgs?: boolean;
962
+ ttl?: number;
963
+ timeout?: number;
964
+ allowStream?: boolean;
965
+ retry?: number | {
966
+ [k: string]: any;
967
+ };
968
+ [k: string]: any;
969
+ }
970
+ /**
971
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
972
+ * via the `definition` "parameterConfigForHeaders".
973
+ */
974
+ export interface ParameterConfigForHeadersV3_50_0 {
975
+ ops: ParameterOpListV3_50_0;
976
+ serialize?: ParameterSerializeConfigForHeadersV3_50_0;
977
+ }
978
+ /**
979
+ * Top-level paths to use headers serialization options for.
980
+ *
981
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
982
+ * via the `definition` "parameterSerializeConfigForHeaders".
983
+ */
984
+ export interface ParameterSerializeConfigForHeadersV3_50_0 {
985
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
986
+ paths?: {
987
+ /**
988
+ * This interface was referenced by `undefined`'s JSON-Schema definition
989
+ * via the `patternProperty` "^[^\n\r]*$".
990
+ */
991
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
992
+ };
993
+ }
994
+ /**
995
+ * Options to be passed to the serialization routine.
996
+ *
997
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
998
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
999
+ */
1000
+ export interface ParameterSerializeStyleOptionsForHeadersV3_50_0 {
1001
+ style: 'simple' | 'none';
1002
+ explode?: boolean;
1003
+ }
1004
+ /**
1005
+ * Options to be passed to the serialization routine.
1006
+ *
1007
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1008
+ * via the `definition` "parameterSerializeContentOptions".
1009
+ */
1010
+ export interface ParameterSerializeContentOptionsV3_50_0 {
1011
+ contentType: string;
1012
+ /**
1013
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1014
+ */
1015
+ allowReserved?: boolean;
1016
+ skipEncoding?: boolean;
1017
+ /**
1018
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1019
+ */
1020
+ options?: {
1021
+ [k: string]: any;
1022
+ };
1023
+ }
1024
+ /**
1025
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1026
+ * via the `definition` "parameterConfigForSearchParams".
1027
+ */
1028
+ export interface ParameterConfigForSearchParamsV3_50_0 {
1029
+ ops: ParameterOpListV3_50_0;
1030
+ serialize?: ParameterSerializeConfigForSearchParamsV3_50_0;
1031
+ }
1032
+ /**
1033
+ * Top-level paths to use search params serialization options for.
1034
+ *
1035
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1036
+ * via the `definition` "parameterSerializeConfigForSearchParams".
1037
+ */
1038
+ export interface ParameterSerializeConfigForSearchParamsV3_50_0 {
1039
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
1040
+ paths?: {
1041
+ /**
1042
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1043
+ * via the `patternProperty` "^[^\n\r]*$".
1044
+ */
1045
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
1046
+ };
1047
+ }
1048
+ /**
1049
+ * Options to be passed to the serialization routine.
1050
+ *
1051
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1052
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1053
+ */
1054
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_50_0 {
1055
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1056
+ explode?: boolean;
1057
+ allowEmptyValue?: boolean;
1058
+ /**
1059
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1060
+ */
1061
+ allowReserved?: boolean;
1062
+ skipEncoding?: boolean;
1063
+ }
1064
+ /**
1065
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1066
+ * via the `definition` "restResolver".
1067
+ */
1068
+ export interface RestResolverV3_50_0 {
1069
+ if?: string;
1070
+ id?: string;
1071
+ name: RestResolverNameV3_50_0;
1072
+ /**
1073
+ * Configuration for a service to use with this resolver.
1074
+ */
1075
+ service: string;
1076
+ argsMapping?: ArgsMappingV3_50_0;
1077
+ searchParamsMapping?: SearchParamsMappingV3_50_0;
1078
+ resultsMapping?: ResultsMappingV3_50_0;
1079
+ options?: RestResolverOptionsV3_50_0;
1080
+ body?: ParameterConfigForBodyV3_50_0;
1081
+ form?: ParameterConfigForSearchParamsV3_50_0;
1082
+ headers?: ParameterConfigForHeadersV3_50_0;
1083
+ json?: ParameterConfigForJsonV3_50_0;
1084
+ /**
1085
+ * Mapping and serialization configuration for the path, or a simple string.
1086
+ */
1087
+ path: ParameterConfigForPathParamsV3_50_0 | string;
1088
+ searchParams?: ParameterConfigForSearchParamsV3_50_0;
1089
+ args?: ParameterConfigForJsonV3_50_0;
1090
+ results?: ParameterConfigForJsonV3_50_0;
1091
+ }
1092
+ export interface RestResolverOptionsV3_50_0 {
1093
+ trailingSlash?: boolean;
1094
+ allowStream?: boolean;
1095
+ ttl?: number;
1096
+ timeout?: number;
1097
+ retry?: number | {
1098
+ [k: string]: any;
1099
+ };
1100
+ [k: string]: any;
1101
+ }
1102
+ /**
1103
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1104
+ * via the `definition` "parameterConfigForBody".
1105
+ */
1106
+ export interface ParameterConfigForBodyV3_50_0 {
1107
+ ops: ParameterOpListV3_50_0;
1108
+ serialize?: ParameterSerializeConfigForBodyV3_50_0;
1109
+ }
1110
+ /**
1111
+ * Top-level paths to use serialization options for.
1112
+ *
1113
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1114
+ * via the `definition` "parameterSerializeConfigForBody".
1115
+ */
1116
+ export interface ParameterSerializeConfigForBodyV3_50_0 {
1117
+ content?: ParameterSerializeContentOptionsV3_50_0;
1118
+ }
1119
+ /**
1120
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1121
+ * via the `definition` "parameterConfigForPathParams".
1122
+ */
1123
+ export interface ParameterConfigForPathParamsV3_50_0 {
1124
+ ops: ParameterOpListV3_50_0;
1125
+ serialize: ParameterSerializeConfigForPathParamsV3_50_0;
1126
+ }
1127
+ /**
1128
+ * Top-level paths to use path params serialization options for.
1129
+ *
1130
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1131
+ * via the `definition` "parameterSerializeConfigForPathParams".
1132
+ */
1133
+ export interface ParameterSerializeConfigForPathParamsV3_50_0 {
1134
+ /**
1135
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1136
+ */
1137
+ template: string;
1138
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
1139
+ paths?: {
1140
+ /**
1141
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1142
+ * via the `patternProperty` "^[^\n\r]*$".
1143
+ */
1144
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_50_0 | ParameterSerializeContentOptionsV3_50_0;
1145
+ };
1146
+ }
1147
+ /**
1148
+ * Options to be passed to the serialization routine.
1149
+ *
1150
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1151
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1152
+ */
1153
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_50_0 {
1154
+ style: 'simple' | 'label' | 'matrix' | 'none';
1155
+ explode?: boolean;
1156
+ allowEmptyValue?: boolean;
1157
+ /**
1158
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1159
+ */
1160
+ allowReserved?: boolean;
1161
+ skipEncoding?: boolean;
1162
+ }
1163
+ /**
1164
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1165
+ * via the `definition` "awsLambdaResolver".
1166
+ */
1167
+ export interface AwsLambdaResolverV3_50_0 {
1168
+ if?: string;
1169
+ id?: string;
1170
+ name: AwsLambdaResolverNameV3_50_0;
1171
+ /**
1172
+ * Configuration for a service to use with this resolver.
1173
+ */
1174
+ service: string;
1175
+ options?: AwsLambdaResolverOptionsV3_50_0;
1176
+ payload?: ParameterConfigForJsonV3_50_0;
1177
+ /**
1178
+ * Mapping configuration for the FunctionName.
1179
+ */
1180
+ functionName: string | ParameterConfigForAwsLambdaV3_50_0;
1181
+ clientContext?: ParameterConfigForJsonV3_50_0;
1182
+ args?: ParameterConfigForJsonV3_50_0;
1183
+ results?: ParameterConfigForJsonV3_50_0;
1184
+ argsMapping?: ArgsMappingV3_50_0;
1185
+ searchParamsMapping?: SearchParamsMappingV3_50_0;
1186
+ resultsMapping?: ResultsMappingV3_50_0;
1187
+ }
1188
+ export interface AwsLambdaResolverOptionsV3_50_0 {
1189
+ [k: string]: any;
1190
+ }
1191
+ /**
1192
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1193
+ * via the `definition` "parameterConfigForAwsLambda".
1194
+ */
1195
+ export interface ParameterConfigForAwsLambdaV3_50_0 {
1196
+ ops: ParameterOpListV3_50_0;
1197
+ serialize: ParameterSerializeConfigForPathParamsV3_50_0;
1198
+ }
1199
+ /**
1200
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1201
+ * via the `definition` "salsifyResolver".
1202
+ */
1203
+ export interface SalsifyResolverV3_50_0 {
1204
+ if?: string;
1205
+ id?: string;
1206
+ name: SalsifyResolverNameV3_50_0;
1207
+ /**
1208
+ * Configuration for a service to use with this resolver.
1209
+ */
1210
+ service: string;
1211
+ options?: SalsifyResolverOptionsV3_50_0;
1212
+ args?: ParameterConfigForJsonV3_50_0;
1213
+ results?: ParameterConfigForJsonV3_50_0;
1214
+ argsMapping?: ArgsMappingV3_50_0;
1215
+ resultsMapping?: ResultsMappingV3_50_0;
1216
+ }
1217
+ export interface SalsifyResolverOptionsV3_50_0 {
1218
+ [k: string]: any;
1219
+ }
1220
+ /**
1221
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1222
+ * via the `definition` "syndigoResolver".
1223
+ */
1224
+ export interface SyndigoResolverV3_50_0 {
1225
+ if?: string;
1226
+ id?: string;
1227
+ name: SyndigoResolverNameV3_50_0;
1228
+ /**
1229
+ * Configuration for a service to use with this resolver.
1230
+ */
1231
+ service: string;
1232
+ options?: SyndigoResolverOptionsV3_50_0;
1233
+ args?: ParameterConfigForJsonV3_50_0;
1234
+ results?: ParameterConfigForJsonV3_50_0;
1235
+ argsMapping?: ArgsMappingV3_50_0;
1236
+ resultsMapping?: ResultsMappingV3_50_0;
1237
+ }
1238
+ export interface SyndigoResolverOptionsV3_50_0 {
1239
+ [k: string]: any;
1240
+ }
1241
+ /**
1242
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1243
+ * via the `definition` "functionResolver".
1244
+ */
1245
+ export interface FunctionResolverV3_50_0 {
1246
+ if?: string;
1247
+ id?: string;
1248
+ name: FunctionResolverNameV3_50_0;
1249
+ options?: FunctionResolverOptionsV3_50_0;
1250
+ args?: ParameterConfigForJsonV3_50_0;
1251
+ results?: ParameterConfigForJsonV3_50_0;
1252
+ argsMapping?: ArgsMappingV3_50_0;
1253
+ resultsMapping?: ResultsMappingV3_50_0;
1254
+ javascript?: FunctionResolverJavascriptV3_50_0;
1255
+ }
1256
+ export interface FunctionResolverOptionsV3_50_0 {
1257
+ [k: string]: any;
1258
+ }
1259
+ /**
1260
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1261
+ * via the `definition` "aiGenerateTextResolver".
1262
+ */
1263
+ export interface AIGenerateTextResolverV3_50_0 {
1264
+ if?: string;
1265
+ id?: string;
1266
+ name: AIResolverNameV3_50_0;
1267
+ /**
1268
+ * Configuration for a service to use with this resolver.
1269
+ */
1270
+ service: string;
1271
+ options?: AIGenerateTextResolverOptionsV3_50_0;
1272
+ systemPrompt: string;
1273
+ inputTemplate?: string;
1274
+ model: string;
1275
+ tools?: (string | AIToolConfigV3_50_0)[];
1276
+ guardrails?: AIGuardrailV3_50_0[];
1277
+ context?: ParameterConfigForJsonV3_50_0;
1278
+ results?: ParameterConfigForJsonV3_50_0;
1279
+ }
1280
+ /**
1281
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1282
+ * via the `definition` "aiGenerateTextResolverOptions".
1283
+ */
1284
+ export interface AIGenerateTextResolverOptionsV3_50_0 {
1285
+ history?: HistoryV3_50_0;
1286
+ maxTokens?: MaximumTokensV3_50_0;
1287
+ temperature?: TemperatureV3_50_0;
1288
+ topP?: TopPV3_50_0;
1289
+ topK?: TopKV3_50_0;
1290
+ presencePenalty?: PresencePenaltySettingV3_50_0;
1291
+ frequencyPenalty?: FrequencyPenaltySettingV3_50_0;
1292
+ stopSequences?: StopSequencesV3_50_0;
1293
+ seed?: SeedV3_50_0;
1294
+ /**
1295
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1296
+ */
1297
+ maxRetries?: number;
1298
+ /**
1299
+ * The tool choice strategy. Default: 'auto'
1300
+ */
1301
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1302
+ /**
1303
+ * Maximal number of automatic roundtrips for tool calls.
1304
+ */
1305
+ maxToolRoundtrips?: number;
1306
+ [k: string]: any;
1307
+ }
1308
+ /**
1309
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1310
+ * via the `definition` "aiToolConfig".
1311
+ */
1312
+ export interface AIToolConfigV3_50_0 {
1313
+ ref: string;
1314
+ selectionSet?: string;
1315
+ }
1316
+ /**
1317
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1318
+ * via the `definition` "aiSimilarityGuardrail".
1319
+ */
1320
+ export interface AISimilarityGuardrailV3_50_0 {
1321
+ name: 'similarity';
1322
+ shape: string;
1323
+ defaultResponse: string;
1324
+ threshold?: number;
1325
+ }
1326
+ /**
1327
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1328
+ * via the `definition` "aiGeneratePropertyResolver".
1329
+ */
1330
+ export interface AIGeneratePropertyResolverV3_50_0 {
1331
+ id?: string;
1332
+ name: AIResolverNameV3_50_01;
1333
+ /**
1334
+ * Configuration for a service to use with this resolver.
1335
+ */
1336
+ service: string;
1337
+ model: string;
1338
+ systemPrompt?: string;
1339
+ }
1340
+ /**
1341
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1342
+ * via the `definition` "aiEmbeddingResolver".
1343
+ */
1344
+ export interface AIEmbeddingResolverV3_50_0 {
1345
+ if?: string;
1346
+ id?: string;
1347
+ name: AIResolverNameV3_50_02;
1348
+ /**
1349
+ * Configuration for a service to use with this resolver.
1350
+ */
1351
+ service: string;
1352
+ options?: AIEmbeddingResolverOptionsV3_50_0;
1353
+ model: string;
1354
+ args?: ParameterConfigForJsonV3_50_0;
1355
+ results?: ParameterConfigForJsonV3_50_0;
1356
+ }
1357
+ /**
1358
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1359
+ * via the `definition` "aiEmbeddingResolverOptions".
1360
+ */
1361
+ export interface AIEmbeddingResolverOptionsV3_50_0 {
1362
+ useDependencies?: boolean;
1363
+ [k: string]: any;
1364
+ }
1365
+ /**
1366
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1367
+ * via the `definition` "aiParseFileResolver".
1368
+ */
1369
+ export interface AIParseFileResolverV3_50_0 {
1370
+ if?: string;
1371
+ id?: string;
1372
+ name: AIResolverNameV3_50_03;
1373
+ /**
1374
+ * Configuration for a service to use with this resolver.
1375
+ */
1376
+ service: string;
1377
+ options?: AIEmbeddingResolverOptionsV3_50_0;
1378
+ args?: ParameterConfigForJsonV3_50_0;
1379
+ results?: ParameterConfigForJsonV3_50_0;
1380
+ }
1381
+ export interface AIRunAgentResolverV3_50_0 {
1382
+ id?: string;
1383
+ name: AIResolverNameV3_50_04;
1384
+ agentName: string;
1385
+ }
1386
+ export interface AIInspectAgentResolverV3_50_0 {
1387
+ id?: string;
1388
+ name: AIResolverNameV3_50_05;
1389
+ agentName: string;
1390
+ }
1391
+ /**
1392
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1393
+ * via the `definition` "composeResolver".
1394
+ */
1395
+ export interface ComposeResolverV3_50_0 {
1396
+ compose: BasicResolverV3_50_0[];
1397
+ resultsMapping?: DirectiveMappingMapV3_50_0 | DirectiveConfigV3_50_0;
1398
+ results?: ParameterConfigForJsonV3_50_0;
1399
+ }
1400
+ /**
1401
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1402
+ * via the `definition` "indexed".
1403
+ */
1404
+ export interface IndexedV3_50_0 {
1405
+ nested?: boolean;
1406
+ }
1407
+ /**
1408
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1409
+ * via the `definition` "graphql".
1410
+ */
1411
+ export interface GraphQLConfigV3_50_0 {
1412
+ json?: boolean;
1413
+ }
1414
+ /**
1415
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1416
+ * via the `definition` "shapeMap".
1417
+ */
1418
+ export interface ShapeMapV3_50_0 {
1419
+ [k: string]: ShapeJSONV3_50_0;
1420
+ }
1421
+ /**
1422
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1423
+ *
1424
+ * This interface was referenced by `ShapeMapV3_50_0`'s JSON-Schema definition
1425
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1426
+ *
1427
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1428
+ * via the `definition` "shape".
1429
+ */
1430
+ export interface ShapeJSONV3_50_0 {
1431
+ /**
1432
+ * 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
1433
+ */
1434
+ name: string;
1435
+ /**
1436
+ * 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.
1437
+ */
1438
+ id: string;
1439
+ /**
1440
+ * The human-readable name for a Shape for use in a UI.
1441
+ */
1442
+ title: string;
1443
+ description?: string;
1444
+ type?: 'interface' | 'input' | 'output';
1445
+ interfaces?: string[];
1446
+ /**
1447
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1448
+ */
1449
+ model?: {
1450
+ type: ModelTypeV3_50_0;
1451
+ };
1452
+ workflow?: string;
1453
+ loaders?: ShapeLoadersV3_50_0;
1454
+ joins?: ShapeJoinsV3_50_0;
1455
+ cache?: ShapeCacheConfigV3_50_0;
1456
+ schema: ShapeSchemaV3_50_0;
1457
+ }
1458
+ /**
1459
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1460
+ * via the `definition` "shapeLoaders".
1461
+ */
1462
+ export interface ShapeLoadersV3_50_0 {
1463
+ list: StoredListQueryLoaderConfigV3_50_0 | StoredListQueryLoaderConfigV3_50_0[];
1464
+ get?: GetQueryLoaderConfigV3_50_0;
1465
+ }
1466
+ /**
1467
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1468
+ * via the `definition` "storedListQueryLoaderConfig".
1469
+ */
1470
+ export interface StoredListQueryLoaderConfigV3_50_0 {
1471
+ query: string;
1472
+ args?: {
1473
+ [k: string]: any;
1474
+ } | {
1475
+ [k: string]: any;
1476
+ }[];
1477
+ pagination?: PaginationConfigV3_50_0;
1478
+ }
1479
+ /**
1480
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1481
+ * via the `definition` "paginationCursorConfig".
1482
+ */
1483
+ export interface PaginationCursorConfigV3_50_0 {
1484
+ type: 'cursor';
1485
+ cursorArg: string;
1486
+ cursorPath: string;
1487
+ pageSize?: number;
1488
+ pageSizeArg: string;
1489
+ hasMorePath: string;
1490
+ itemsPath: string;
1491
+ }
1492
+ /**
1493
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1494
+ * via the `definition` "paginationPageConfig".
1495
+ */
1496
+ export interface PaginationPageConfigV3_50_0 {
1497
+ type: 'page';
1498
+ pageArg: string;
1499
+ pageSize?: number;
1500
+ pageSizeArg?: string;
1501
+ itemsPath: string;
1502
+ pageTotalPath: string;
1503
+ }
1504
+ /**
1505
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1506
+ * via the `definition` "paginationOffsetConfig".
1507
+ */
1508
+ export interface PaginationOffsetConfigV3_50_0 {
1509
+ type: 'offset';
1510
+ offsetArg: string;
1511
+ pageSize?: number;
1512
+ pageSizeArg?: string;
1513
+ itemsPath: string;
1514
+ itemTotalPath: string;
1515
+ }
1516
+ /**
1517
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1518
+ * via the `definition` "getQueryLoaderConfig".
1519
+ */
1520
+ export interface GetQueryLoaderConfigV3_50_0 {
1521
+ query: string;
1522
+ args?: {
1523
+ [k: string]: any;
1524
+ };
1525
+ idArg?: string;
1526
+ }
1527
+ /**
1528
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1529
+ * via the `definition` "shapeJoins".
1530
+ */
1531
+ export interface ShapeJoinsV3_50_0 {
1532
+ [k: string]: ShapeJoinV3_50_0;
1533
+ }
1534
+ /**
1535
+ * This interface was referenced by `ShapeJoinsV3_50_0`'s JSON-Schema definition
1536
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1537
+ *
1538
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1539
+ * via the `definition` "shapeJoin".
1540
+ */
1541
+ export interface ShapeJoinV3_50_0 {
1542
+ resolver: DelegateResolverV3_50_0 | ShapedbResolverV3_50_0;
1543
+ dependencies?: string;
1544
+ }
1545
+ /**
1546
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1547
+ * via the `definition` "shapeCacheConfig".
1548
+ */
1549
+ export interface ShapeCacheConfigV3_50_0 {
1550
+ enabled: boolean;
1551
+ idField?: string;
1552
+ searchSummaryField?: string;
1553
+ fragment?: CachedFragmentConfigV3_50_0;
1554
+ triggers?: CacheTriggerConfigV3_50_0[];
1555
+ /**
1556
+ * Number of seconds this Shape should be cached. Default 0.
1557
+ */
1558
+ maxAge?: number;
1559
+ }
1560
+ /**
1561
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1562
+ * via the `definition` "cachedFragmentConfig".
1563
+ */
1564
+ export interface CachedFragmentConfigV3_50_0 {
1565
+ ignoreFields?: string[];
1566
+ maxDepth?: number;
1567
+ selectionSet?: string;
1568
+ includeDeprecated?: boolean;
1569
+ }
1570
+ /**
1571
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1572
+ * via the `definition` "cacheScheduleTriggerConfig".
1573
+ */
1574
+ export interface CacheScheduleTriggerConfigV3_50_0 {
1575
+ type: 'schedule';
1576
+ loader: 'get' | 'list';
1577
+ interval: number;
1578
+ }
1579
+ /**
1580
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1581
+ * via the `definition` "cacheWebhookTriggerConfig".
1582
+ */
1583
+ export interface CacheWebhookTriggerConfigV3_50_0 {
1584
+ type: 'webhook';
1585
+ loader: 'get' | 'list';
1586
+ service: string;
1587
+ events: string[];
1588
+ }
1589
+ /**
1590
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1591
+ * via the `definition` "shapeSchemaAllOf".
1592
+ */
1593
+ export interface ShapeSchemaAllOfV3_50_0 {
1594
+ allOf: ObjectOrRefArrayV3_50_0;
1595
+ }
1596
+ /**
1597
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1598
+ * via the `definition` "shapeSchemaExtends".
1599
+ */
1600
+ export interface ShapeSchemaExtendsV3_50_0 {
1601
+ extends: ObjectOrRefArrayV3_50_0;
1602
+ }
1603
+ /**
1604
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1605
+ * via the `definition` "shapeSchemaOneOf".
1606
+ */
1607
+ export interface ShapeSchemaOneOfV3_50_0 {
1608
+ oneOf: ObjectOrRefArrayV3_50_0;
1609
+ }
1610
+ /**
1611
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1612
+ * via the `definition` "shapeSchemaEnum".
1613
+ */
1614
+ export interface ShapeSchemaEnumV3_50_0 {
1615
+ enum: any[];
1616
+ }
1617
+ /**
1618
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1619
+ * via the `definition` "shapeSchemaAny".
1620
+ */
1621
+ export interface ShapeSchemaAnyV3_50_0 {
1622
+ }
1623
+ export interface AIExperimentalV3_50_0 {
1624
+ agents?: AgentMapV3_50_0;
1625
+ guards?: GuardMapV3_50_0;
1626
+ }
1627
+ export interface AgentMapV3_50_0 {
1628
+ [k: string]: AgentJSONV3_50_0;
1629
+ }
1630
+ /**
1631
+ * An Agent is a configuration for an AI service such as a chat bot or a search engine.
1632
+ *
1633
+ * This interface was referenced by `AgentMapV3_50_0`'s JSON-Schema definition
1634
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1635
+ */
1636
+ export interface AgentJSONV3_50_0 {
1637
+ description?: string;
1638
+ systemPrompt?: string;
1639
+ api: AgentAPIV3_50_0;
1640
+ start: AgentStartV3_50_0;
1641
+ states: AgentStatesV3_50_0;
1642
+ guards?: AgentGuardV3_50_0[];
1643
+ }
1644
+ export interface AgentAPIChatV3_50_0 {
1645
+ type: 'chat';
1646
+ arguments?: AgentAPIArgumentV3_50_0[];
1647
+ }
1648
+ export interface AgentAPIArgumentV3_50_0 {
1649
+ argName: string;
1650
+ argDescription?: string;
1651
+ argType: 'boolean' | 'integer' | 'number' | 'string' | 'sessionId';
1652
+ required?: boolean;
1653
+ }
1654
+ export interface AgentAPIGenerateV3_50_0 {
1655
+ type: 'generate';
1656
+ arguments?: AgentAPIArgumentV3_50_0[];
1657
+ }
1658
+ /**
1659
+ * Configuration for the start of an agent's execution
1660
+ */
1661
+ export interface AgentStartV3_50_0 {
1662
+ transition: AgentTransitionStepV3_50_0[];
1663
+ }
1664
+ /**
1665
+ * These steps are evaluated in order until a destination is found.
1666
+ */
1667
+ export interface AgentTransitionStepV3_50_0 {
1668
+ destination: string;
1669
+ suspend?: boolean;
1670
+ condition: AgentTransitionStepConditionNoneV3_50_0 | AgentTransitionStepConditionArtifactV3_50_0 | AgentTransitionStepConditionStateOutputV3_50_0 | AgentTransitionStepConditionStringContainsV3_50_0 | AgentTransitionStepConditionArgumentV3_50_0;
1671
+ limit?: number;
1672
+ }
1673
+ export interface AgentTransitionStepConditionNoneV3_50_0 {
1674
+ type: 'none';
1675
+ }
1676
+ export interface AgentTransitionStepConditionArtifactV3_50_0 {
1677
+ type: 'artifact';
1678
+ path?: string;
1679
+ negated?: boolean;
1680
+ }
1681
+ export interface AgentTransitionStepConditionStateOutputV3_50_0 {
1682
+ type: 'stateOutput';
1683
+ stateId: string;
1684
+ path?: string;
1685
+ negated?: boolean;
1686
+ }
1687
+ export interface AgentTransitionStepConditionStringContainsV3_50_0 {
1688
+ type: 'stringContains';
1689
+ path?: string;
1690
+ string: string;
1691
+ negated?: boolean;
1692
+ }
1693
+ export interface AgentTransitionStepConditionArgumentV3_50_0 {
1694
+ type: 'argument';
1695
+ argument: string;
1696
+ negated?: boolean;
1697
+ }
1698
+ /**
1699
+ * States that are traversed during the execution of an agent.
1700
+ */
1701
+ export interface AgentStatesV3_50_0 {
1702
+ [k: string]: AgentStateV3_50_0;
1703
+ }
1704
+ /**
1705
+ * One step of an agent's execution.
1706
+ *
1707
+ * This interface was referenced by `AgentStatesV3_50_0`'s JSON-Schema definition
1708
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1709
+ */
1710
+ export interface AgentStateV3_50_0 {
1711
+ name: string;
1712
+ variables?: VariablesV3_50_0;
1713
+ execution: AgentExecutionV3_50_0;
1714
+ transition?: AgentTransitionStepV3_50_0[];
1715
+ }
1716
+ export interface AgentVariableV3_50_0 {
1717
+ name: string;
1718
+ /**
1719
+ * These are evaluated in order until a value is found.
1720
+ */
1721
+ steps: AgentVariableStepV3_50_0[];
1722
+ }
1723
+ /**
1724
+ * An Agent Variable that defines a GraphQL argument and makes its value available to templates.
1725
+ */
1726
+ export interface AgentVariableStepGraphQLArgV3_50_0 {
1727
+ type: 'graphqlArg';
1728
+ argName: string;
1729
+ }
1730
+ /**
1731
+ * An Agent Variable that provides the output of any previous state's execution.
1732
+ */
1733
+ export interface AgentVariableStepStateOutputV3_50_0 {
1734
+ type: 'stateOutput';
1735
+ stateId: string;
1736
+ path?: string;
1737
+ }
1738
+ /**
1739
+ * An Agent Variable that provides the output of the previous state's execution.
1740
+ */
1741
+ export interface AgentVariableStepPreviousStateOutputV3_50_0 {
1742
+ type: 'previousStateOutput';
1743
+ path?: string;
1744
+ }
1745
+ /**
1746
+ * An Agent Variable that has a static value.
1747
+ */
1748
+ export interface AgentVariableStepStaticValueV3_50_0 {
1749
+ type: 'staticValue';
1750
+ condition?: AgentVariableStepConditionV3_50_0;
1751
+ value: string;
1752
+ }
1753
+ export interface AgentVariableStepConditionNoneV3_50_0 {
1754
+ type: 'none';
1755
+ }
1756
+ export interface AgentVariableStepConditionSourceStateV3_50_0 {
1757
+ type: 'sourceState';
1758
+ stateId: string;
1759
+ negated?: boolean;
1760
+ }
1761
+ export interface AgentExecutionGraphQLV3_50_0 {
1762
+ type: 'graphql';
1763
+ query: string;
1764
+ path?: string;
1765
+ }
1766
+ export interface AgentExecutionGenerateV3_50_0 {
1767
+ type: 'generate';
1768
+ service: string;
1769
+ model: string;
1770
+ systemPrompt?: string;
1771
+ input: AgentAIStateInputV3_50_0;
1772
+ outputShape?: string;
1773
+ tools?: AgentToolConfigV3_50_0[];
1774
+ options?: AgentGenerateOptionsV3_50_0;
1775
+ }
1776
+ export interface AgentAIStateInputArgumentV3_50_0 {
1777
+ type: 'arg';
1778
+ }
1779
+ export interface AgentAIStateInputTemplateV3_50_0 {
1780
+ type: 'template';
1781
+ inputTemplate: string;
1782
+ }
1783
+ export interface AgentToolConfigV3_50_0 {
1784
+ ref: string;
1785
+ selectionSet?: string;
1786
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_50_0;
1787
+ description?: string;
1788
+ }
1789
+ export interface AgentGenerateOptionsV3_50_0 {
1790
+ history?: HistoryV3_50_01;
1791
+ maxTokens?: MaximumTokensV3_50_01;
1792
+ temperature?: TemperatureV3_50_01;
1793
+ topP?: TopPV3_50_01;
1794
+ topK?: TopKV3_50_01;
1795
+ presencePenalty?: PresencePenaltySettingV3_50_01;
1796
+ frequencyPenalty?: FrequencyPenaltySettingV3_50_01;
1797
+ stopSequences?: StopSequencesV3_50_01;
1798
+ seed?: SeedV3_50_01;
1799
+ /**
1800
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1801
+ */
1802
+ maxRetries?: number;
1803
+ /**
1804
+ * The tool choice strategy. Default: 'auto'
1805
+ */
1806
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1807
+ maxToolRoundtrips?: MaxToolRoundtripsV3_50_0;
1808
+ structuredOutputs?: StructuredOutputsV3_50_0;
1809
+ enableOpenAIFormat?: EnableOpenAISchemaFormatV3_50_0;
1810
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_50_0;
1811
+ }
1812
+ export interface AgentExecutionChatV3_50_0 {
1813
+ type: 'chat';
1814
+ service: string;
1815
+ model: string;
1816
+ systemPrompt?: string;
1817
+ input: AgentAIStateInputV3_50_0;
1818
+ artifact?: string;
1819
+ tools?: AgentToolConfigV3_50_0[];
1820
+ options?: AgentGenerateOptionsV3_50_0;
1821
+ }
1822
+ export interface AgentGuardV3_50_0 {
1823
+ guardId: GuardIDV3_50_0;
1824
+ }
1825
+ export interface GuardMapV3_50_0 {
1826
+ [k: string]: GuardJSONV3_50_0;
1827
+ }
1828
+ /**
1829
+ * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
1830
+ *
1831
+ * This interface was referenced by `GuardMapV3_50_0`'s JSON-Schema definition
1832
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1833
+ */
1834
+ export interface GuardJSONV3_50_0 {
1835
+ name: NameV3_50_0;
1836
+ description?: DescriptionV3_50_0;
1837
+ guardrailIdentifier?: GuardrailIdentifierV3_50_0;
1838
+ guardrailVersion?: GuardrailVersionV3_50_0;
1839
+ blockedInputMessaging?: BlockedInputMessagingV3_50_0;
1840
+ blockedOutputsMessaging?: BlockedOutputsMessagingV3_50_0;
1841
+ topicPolicyConfig?: TopicPolicyV3_50_0;
1842
+ contentPolicyConfig?: ContentPolicyV3_50_0;
1843
+ wordPolicyConfig?: WordPolicyV3_50_0;
1844
+ sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_50_0;
1845
+ contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_50_0;
1846
+ }
1847
+ /**
1848
+ * Topics to identify and block.
1849
+ */
1850
+ export interface TopicPolicyV3_50_0 {
1851
+ topicsConfig: TopicV3_50_0;
1852
+ }
1853
+ /**
1854
+ * Types of content to filter and strength configuration.
1855
+ */
1856
+ export interface ContentPolicyV3_50_0 {
1857
+ filtersConfig: FilterV3_50_0;
1858
+ }
1859
+ /**
1860
+ * Specific words to identify and block.
1861
+ */
1862
+ export interface WordPolicyV3_50_0 {
1863
+ wordsConfig?: WordListV3_50_0;
1864
+ managedWordListsConfig?: ManagedWordListV3_50_0;
1865
+ }
1866
+ /**
1867
+ * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
1868
+ */
1869
+ export interface SensitiveInformationPolicyV3_50_0 {
1870
+ piiEntitiesConfig?: PIIEntityV3_50_0;
1871
+ regexesConfig?: RegularExpressionV3_50_0;
1872
+ }
1873
+ /**
1874
+ * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
1875
+ */
1876
+ export interface ContextualGroundingPolicyV3_50_0 {
1877
+ filtersConfig: FilterV3_50_01;
1878
+ }
1879
+ /**
1880
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1881
+ * via the `definition` "formMap".
1882
+ */
1883
+ export interface FormMapV3_50_0 {
1884
+ [k: string]: FormsConfigV3_50_0;
1885
+ }
1886
+ /**
1887
+ * This interface was referenced by `FormMapV3_50_0`'s JSON-Schema definition
1888
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1889
+ *
1890
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1891
+ * via the `definition` "formsConfig".
1892
+ */
1893
+ export interface FormsConfigV3_50_0 {
1894
+ default: FormConfigV3_50_0;
1895
+ [k: string]: FormConfigV3_50_0;
1896
+ }
1897
+ /**
1898
+ * This interface was referenced by `FormsConfigV3_50_0`'s JSON-Schema definition
1899
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1900
+ *
1901
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1902
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1903
+ *
1904
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1905
+ * via the `definition` "formConfig".
1906
+ */
1907
+ export interface FormConfigV3_50_0 {
1908
+ [k: string]: any;
1909
+ }
1910
+ /**
1911
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1912
+ * via the `definition` "workflowMap".
1913
+ */
1914
+ export interface WorkflowMapV3_50_0 {
1915
+ [k: string]: WorkflowV3_50_0;
1916
+ }
1917
+ /**
1918
+ * This interface was referenced by `WorkflowMapV3_50_0`'s JSON-Schema definition
1919
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1920
+ *
1921
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1922
+ * via the `definition` "workflow".
1923
+ */
1924
+ export interface WorkflowV3_50_0 {
1925
+ /**
1926
+ * machine-readable id
1927
+ */
1928
+ name: string;
1929
+ title: WorkflowNameV3_50_0;
1930
+ steps: StepsV3_50_0;
1931
+ [k: string]: any;
1932
+ }
1933
+ /**
1934
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1935
+ * via the `definition` "workflowStep".
1936
+ */
1937
+ export interface WorkflowStepV3_50_0 {
1938
+ name: NameV3_50_01;
1939
+ title: TitleV3_50_0;
1940
+ description?: DescriptionV3_50_01;
1941
+ color: ColorV3_50_0;
1942
+ live: LiveV3_50_0;
1943
+ key: KeyV3_50_0;
1944
+ }
1945
+ /**
1946
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1947
+ * via the `definition` "storedServiceMap".
1948
+ */
1949
+ export interface ServiceMapJSONV3_50_0 {
1950
+ [k: string]: ServiceConfigJSONV3_50_0;
1951
+ }
1952
+ /**
1953
+ * This interface was referenced by `ServiceMapJSONV3_50_0`'s JSON-Schema definition
1954
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1955
+ *
1956
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1957
+ * via the `definition` "storedServiceConfig".
1958
+ */
1959
+ export interface ServiceConfigJSONV3_50_0 {
1960
+ /**
1961
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1962
+ */
1963
+ id: string;
1964
+ /**
1965
+ * Human-readable name for this service.
1966
+ */
1967
+ title: string;
1968
+ /**
1969
+ * The service provider id.
1970
+ */
1971
+ provider: string;
1972
+ /**
1973
+ * A namespace to use for the imported types tied to this service.
1974
+ */
1975
+ namespace?: string;
1976
+ serviceType: ServiceTypeV3_50_0;
1977
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
1978
+ authentication?: string;
1979
+ healthCheck?: ServiceHealthCheckV3_50_0;
1980
+ webhookId?: string;
1981
+ /**
1982
+ * Configuration options passed to and handled by the provider.
1983
+ */
1984
+ options?: {
1985
+ [k: string]: any;
1986
+ };
1987
+ }
1988
+ /**
1989
+ * Configuration for ping health checks.
1990
+ *
1991
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
1992
+ * via the `definition` "serviceHealthCheck".
1993
+ */
1994
+ export interface ServiceHealthCheckV3_50_0 {
1995
+ checkName: CheckNameV3_50_0;
1996
+ endpoint?: EndpointV3_50_0;
1997
+ requestMethod?: RequestMethodV3_50_0;
1998
+ requestHeaders?: RequestHeadersV3_50_0;
1999
+ requestSearchParams?: RequestSearchParamsV3_50_0;
2000
+ requestBody?: RequestBodyV3_50_0;
2001
+ requestBodyFormat?: RequestBodyFormatV3_50_0;
2002
+ requestTimeout?: RequestTimeoutV3_50_0;
2003
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_50_0;
2004
+ triggers?: ServiceHealthCheckTriggerV3_50_0[];
2005
+ }
2006
+ /**
2007
+ * Any custom headers to set with the health check request.
2008
+ */
2009
+ export interface RequestHeadersV3_50_0 {
2010
+ [k: string]: any;
2011
+ }
2012
+ /**
2013
+ * Any custom search params to set with the health check request.
2014
+ */
2015
+ export interface RequestSearchParamsV3_50_0 {
2016
+ [k: string]: any;
2017
+ }
2018
+ /**
2019
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
2020
+ *
2021
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2022
+ * via the `definition` "parameterSerializeStyleOptions".
2023
+ */
2024
+ export interface ParameterSerializeStyleOptionsV3_50_0 {
2025
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2026
+ explode?: boolean;
2027
+ allowEmptyValue?: boolean;
2028
+ /**
2029
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2030
+ */
2031
+ allowReserved?: boolean;
2032
+ skipEncoding?: boolean;
2033
+ }
2034
+ /**
2035
+ * All possible options for the more specific ParameterSerializeConfig types.
2036
+ *
2037
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2038
+ * via the `definition` "parameterSerializeConfig".
2039
+ */
2040
+ export interface ParameterSerializeConfigV3_50_0 {
2041
+ content?: ParameterSerializeContentOptionsV3_50_0;
2042
+ defaults?: ParameterSerializeOptionsV3_50_0;
2043
+ paths?: {
2044
+ [k: string]: ParameterSerializeOptionsV3_50_0;
2045
+ };
2046
+ }
2047
+ /**
2048
+ * All possible options for the more specific ParameterConfig types.
2049
+ *
2050
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2051
+ * via the `definition` "parameterConfig".
2052
+ */
2053
+ export interface ParameterConfigV3_50_0 {
2054
+ ops: ParameterOpListV3_50_0;
2055
+ serialize?: ParameterSerializeConfigV3_50_0;
2056
+ }
2057
+ /**
2058
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2059
+ * via the `definition` "aiParseFileResolverOptions".
2060
+ */
2061
+ export interface AIParseFileResolverOptionsV3_50_0 {
2062
+ [k: string]: any;
2063
+ }
2064
+ /**
2065
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2066
+ * via the `definition` "listQueryLoaderConfig".
2067
+ */
2068
+ export interface ListQueryLoaderConfigV3_50_0 {
2069
+ query: string;
2070
+ args?: {
2071
+ [k: string]: any;
2072
+ };
2073
+ pagination?: PaginationConfigV3_50_0;
2074
+ }
2075
+ /**
2076
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2077
+ * via the `definition` "formScalarConfig".
2078
+ */
2079
+ export interface FormScalarConfigV3_50_0 {
2080
+ widget: string;
2081
+ }
2082
+ /**
2083
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2084
+ * via the `definition` "formObjectConfig".
2085
+ */
2086
+ export interface FormObjectConfigV3_50_0 {
2087
+ widget?: string;
2088
+ order?: string[];
2089
+ properties?: {
2090
+ [k: string]: FormConfigV3_50_0;
2091
+ };
2092
+ }
2093
+ /**
2094
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2095
+ * via the `definition` "formArrayConfig".
2096
+ */
2097
+ export interface FormArrayConfigV3_50_0 {
2098
+ widget: string;
2099
+ items: FormConfigV3_50_0;
2100
+ }
2101
+ /**
2102
+ * For use with a custom auth handler on a service provider.
2103
+ *
2104
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2105
+ * via the `definition` "customAuthentication".
2106
+ */
2107
+ export interface CustomAuthenticationV3_50_0 {
2108
+ type: 'custom';
2109
+ [k: string]: any;
2110
+ }
2111
+ /**
2112
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2113
+ * via the `definition` "searchParamsAuthentication".
2114
+ */
2115
+ export interface SearchParamsAuthenticationV3_50_0 {
2116
+ type: 'searchParams';
2117
+ params: {
2118
+ name: string;
2119
+ value: string;
2120
+ }[];
2121
+ }
2122
+ /**
2123
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2124
+ * via the `definition` "bearerAuthentication".
2125
+ */
2126
+ export interface BearerAuthenticationV3_50_0 {
2127
+ type: 'bearer';
2128
+ token: string;
2129
+ prefix?: string;
2130
+ header?: string;
2131
+ }
2132
+ /**
2133
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2134
+ * via the `definition` "oauth2BearerAuthentication".
2135
+ */
2136
+ export interface OAuth2BearerAuthenticationV3_50_0 {
2137
+ type: 'oauth2Bearer';
2138
+ token: string;
2139
+ prefix?: string;
2140
+ header?: string;
2141
+ scope?: string;
2142
+ expiresAt?: string;
2143
+ }
2144
+ /**
2145
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2146
+ * via the `definition` "basicAuthentication".
2147
+ */
2148
+ export interface BasicAuthenticationV3_50_0 {
2149
+ type: 'basic';
2150
+ username: string;
2151
+ password: string;
2152
+ useIso8859?: boolean;
2153
+ }
2154
+ /**
2155
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2156
+ * via the `definition` "oauth2Authentication".
2157
+ */
2158
+ export interface OAuth2AuthenticationV3_50_0 {
2159
+ type: 'oauth2';
2160
+ grantType: 'authorizationCode' | 'clientCredentials';
2161
+ authorizationUrl?: string;
2162
+ accessTokenUrl?: string;
2163
+ clientId: string;
2164
+ clientSecret?: string;
2165
+ scope?: string;
2166
+ usePkce?: boolean;
2167
+ redirectUrl?: string;
2168
+ headerPrefix?: string;
2169
+ audience?: string;
2170
+ resource?: string;
2171
+ }
2172
+ /**
2173
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2174
+ * via the `definition` "awsAuthentication".
2175
+ */
2176
+ export interface AWSAuthenticationV3_50_0 {
2177
+ type: 'aws';
2178
+ awsAccessKeyId: string;
2179
+ awsSecretAccessKey: string;
2180
+ }
2181
+ /**
2182
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2183
+ * via the `definition` "googleAuthentication".
2184
+ */
2185
+ export interface GoogleAuthenticationV3_50_0 {
2186
+ type: 'google';
2187
+ clientEmail: string;
2188
+ privateKey: string;
2189
+ }
2190
+ /**
2191
+ * This interface was referenced by `ProjectSchemaJSONV3_50_0`'s JSON-Schema
2192
+ * via the `definition` "serviceConfig".
2193
+ */
2194
+ export interface ServiceConfigV3_50_0 {
2195
+ /**
2196
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
2197
+ */
2198
+ id: string;
2199
+ /**
2200
+ * Human-readable name for this service.
2201
+ */
2202
+ title: string;
2203
+ /**
2204
+ * The service provider id.
2205
+ */
2206
+ provider: string;
2207
+ /**
2208
+ * A namespace to use for the imported types tied to this service.
2209
+ */
2210
+ namespace?: string;
2211
+ serviceType: ServiceTypeV3_50_0;
2212
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2213
+ authentication?: ServiceAuthenticationV3_50_0;
2214
+ healthCheck?: ServiceHealthCheckV3_50_0;
2215
+ webhookId?: string;
2216
+ /**
2217
+ * Configuration options passed to and handled by the provider.
2218
+ */
2219
+ options?: {
2220
+ [k: string]: any;
2221
+ };
2222
+ }