@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,2161 @@
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_48_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_48_0 = string | ObjectSchemaV3_48_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_48_0 = PropertySchemaV3_48_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_48_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_48_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_48_0 = NonNegativeIntegerV3_48_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_48_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_48_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_48_0 = PropertySchemaV3_48_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_48_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_48_0 = (RefSchemaV3_48_0 | RefSchemaLegacyV3_48_0 | ObjectSchemaV3_48_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_48_0 = MappingStringV3_48_0 | MappingStringV3_48_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_48_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_48_0 = BasicResolverV3_48_0 | ComposeResolverV3_48_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_48_0 = UtilResolverV3_48_0 | DelegateResolverV3_48_0 | TakeshapeResolverV3_48_0 | ShapedbResolverV3_48_0 | ShapedbResolverShapeNameNotRequiredV3_48_0 | GraphqlResolverV3_48_0 | RestResolverV3_48_0 | AwsLambdaResolverV3_48_0 | SalsifyResolverV3_48_0 | FunctionResolverV3_48_0 | AIGenerateTextResolverV3_48_0 | AIEmbeddingResolverV3_48_0 | AIParseFileResolverV3_48_0 | AIRunAgentResolverV3_48_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_48_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_48_0 = ParameterOpNestedV3_48_0 | ParameterOpValueV3_48_0 | ParameterOpMappingV3_48_0 | ParameterOpOpV3_48_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_48_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_48_0 = [DirectiveNameV3_48_0, DirectiveOptionsV3_48_0];
96
+ export type DirectiveNameV3_48_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_48_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_48_0 = DirectiveConfigItemV3_48_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_48_0 = ParameterOpV3_48_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_48_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_48_0 = DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_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_48_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_48_0 = DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_48_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_48_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export type ShapedbResolverNameV3_48_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_48_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_48_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_48_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_48_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_48_0 = [string, DirectiveConfigV3_48_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_48_0 = DirectiveMappingArrayItemV3_48_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_48_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_48_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type FunctionResolverNameV3_48_0 = 'function:run';
173
+ export type FunctionResolverJavascriptV3_48_0 = string;
174
+ /**
175
+ * Name of the resolver function.
176
+ */
177
+ export type AIResolverNameV3_48_0 = 'ai:generateText' | 'ai:chat';
178
+ export type HistoryV3_48_0 = boolean;
179
+ /**
180
+ * Maximum number of tokens to generate.
181
+ */
182
+ export type MaximumTokensV3_48_0 = number;
183
+ /**
184
+ * 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
185
+ */
186
+ export type TemperatureV3_48_0 = number;
187
+ /**
188
+ * 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.
189
+ */
190
+ export type TopPV3_48_0 = number;
191
+ /**
192
+ * 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.
193
+ */
194
+ export type TopKV3_48_0 = number;
195
+ /**
196
+ * 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.
197
+ */
198
+ export type PresencePenaltySettingV3_48_0 = number;
199
+ /**
200
+ * 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.
201
+ */
202
+ export type FrequencyPenaltySettingV3_48_0 = number;
203
+ /**
204
+ * If set, the model will stop generating text when one of the stop sequences is generated.
205
+ */
206
+ export type StopSequencesV3_48_0 = string[];
207
+ /**
208
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
209
+ */
210
+ export type SeedV3_48_0 = number;
211
+ /**
212
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
213
+ * via the `definition` "aiGuardrail".
214
+ */
215
+ export type AIGuardrailV3_48_0 = AISimilarityGuardrailV3_48_0;
216
+ /**
217
+ * Name of the resolver function.
218
+ */
219
+ export type AIResolverNameV3_48_01 = 'ai:createEmbedding';
220
+ /**
221
+ * Name of the resolver function.
222
+ */
223
+ export type AIResolverNameV3_48_02 = 'ai:parseFile';
224
+ /**
225
+ * Name of the resolver function.
226
+ */
227
+ export type AIResolverNameV3_48_03 = 'ai:runAgent';
228
+ /**
229
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
230
+ * via the `definition` "dependencies".
231
+ */
232
+ export type DependenciesV3_48_0 = string;
233
+ /**
234
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
235
+ * via the `definition` "returnShape".
236
+ */
237
+ export type ReturnShapeV3_48_0 = string | ReturnShapeArraySchemaV3_48_0;
238
+ /**
239
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
240
+ * via the `definition` "returnShapeArraySchema".
241
+ */
242
+ export type ReturnShapeArraySchemaV3_48_0 = PropertySchemaV3_48_0 & {
243
+ type: 'array';
244
+ items: RefSchemaV3_48_0 | {
245
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
246
+ [k: string]: any;
247
+ };
248
+ };
249
+ export type ModelTypeV3_48_0 = 'single' | 'multiple' | 'taxonomy';
250
+ /**
251
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
252
+ * via the `definition` "paginationConfig".
253
+ */
254
+ export type PaginationConfigV3_48_0 = PaginationCursorConfigV3_48_0 | PaginationPageConfigV3_48_0 | PaginationOffsetConfigV3_48_0;
255
+ /**
256
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
257
+ * via the `definition` "cacheTriggerConfig".
258
+ */
259
+ export type CacheTriggerConfigV3_48_0 = CacheScheduleTriggerConfigV3_48_0 | CacheWebhookTriggerConfigV3_48_0;
260
+ /**
261
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
262
+ * via the `definition` "shapeSchema".
263
+ */
264
+ export type ShapeSchemaV3_48_0 = ShapeSchemaAllOfV3_48_0 | ShapeSchemaExtendsV3_48_0 | ShapeSchemaOneOfV3_48_0 | ShapeSchemaEnumV3_48_0 | ObjectSchemaV3_48_0 | ShapeSchemaAnyV3_48_0;
265
+ export type AgentAPIV3_48_0 = AgentAPIChatV3_48_0 | AgentAPIGenerateV3_48_0;
266
+ export type AgentVariableStepV3_48_0 = AgentVariableStepGraphQLArgV3_48_0 | AgentVariableStepStateOutputV3_48_0 | AgentVariableStepPreviousStateOutputV3_48_0 | AgentVariableStepStaticValueV3_48_0;
267
+ export type AgentVariableStepConditionV3_48_0 = AgentVariableStepConditionNoneV3_48_0 | AgentVariableStepConditionSourceStateV3_48_0;
268
+ export type VariablesV3_48_0 = AgentVariableV3_48_0[];
269
+ export type AgentExecutionV3_48_0 = AgentExecutionGraphQLV3_48_0 | AgentExecutionGenerateV3_48_0 | AgentExecutionChatV3_48_0;
270
+ export type AgentAIStateInputV3_48_0 = AgentAIStateInputArgumentV3_48_0 | AgentAIStateInputTemplateV3_48_0;
271
+ export type MinimatchPatternV3_48_0 = string;
272
+ /**
273
+ * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
274
+ */
275
+ export type RemovePropertyKeyPatternsV3_48_0 = MinimatchPatternV3_48_0[];
276
+ export type HistoryV3_48_01 = boolean;
277
+ /**
278
+ * Maximum number of tokens to generate.
279
+ */
280
+ export type MaximumTokensV3_48_01 = number;
281
+ /**
282
+ * 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
283
+ */
284
+ export type TemperatureV3_48_01 = number;
285
+ /**
286
+ * 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.
287
+ */
288
+ export type TopPV3_48_01 = number;
289
+ /**
290
+ * 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.
291
+ */
292
+ export type TopKV3_48_01 = number;
293
+ /**
294
+ * 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.
295
+ */
296
+ export type PresencePenaltySettingV3_48_01 = number;
297
+ /**
298
+ * 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.
299
+ */
300
+ export type FrequencyPenaltySettingV3_48_01 = number;
301
+ /**
302
+ * If set, the model will stop generating text when one of the stop sequences is generated.
303
+ */
304
+ export type StopSequencesV3_48_01 = string[];
305
+ /**
306
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
307
+ */
308
+ export type SeedV3_48_01 = number;
309
+ /**
310
+ * Maximal number of automatic roundtrips for tool calls.
311
+ */
312
+ export type MaxToolRoundtripsV3_48_0 = number;
313
+ /**
314
+ * If true, structured outputs will be enabled on the model for non-text requests.
315
+ */
316
+ export type StructuredOutputsV3_48_0 = boolean;
317
+ /**
318
+ * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
319
+ */
320
+ export type EnableOpenAISchemaFormatV3_48_0 = boolean;
321
+ export type GuardIDV3_48_0 = string;
322
+ /**
323
+ * The human-readable name of the Guard.
324
+ */
325
+ export type NameV3_48_0 = string;
326
+ /**
327
+ * A description of the Guard.
328
+ */
329
+ export type DescriptionV3_48_0 = string;
330
+ /**
331
+ * The remote id of the Guardrail.
332
+ */
333
+ export type GuardrailIdentifierV3_48_0 = string;
334
+ /**
335
+ * The remote version of the Guardrail.
336
+ */
337
+ export type GuardrailVersionV3_48_0 = string;
338
+ /**
339
+ * A message to return when the input message is blocked by the Guard.
340
+ */
341
+ export type BlockedInputMessagingV3_48_0 = string;
342
+ /**
343
+ * A message to return when the output message is blocked by the Guard.
344
+ */
345
+ export type BlockedOutputsMessagingV3_48_0 = string;
346
+ export type ExampleV3_48_0 = string;
347
+ /**
348
+ * A topic to block.
349
+ */
350
+ export type TopicV3_48_0 = {
351
+ name: string;
352
+ definition: string;
353
+ /**
354
+ * Examples of the topic that can hint the LLM.
355
+ */
356
+ examples?: ExampleV3_48_0[];
357
+ type: 'DENY';
358
+ }[];
359
+ export type InputStrengthV3_48_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
360
+ export type OutputStrengthV3_48_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
361
+ export type GuardrailModalityV3_48_0 = 'TEXT' | 'IMAGE';
362
+ /**
363
+ * Whether to filter images or text
364
+ */
365
+ export type InputModalitiesV3_48_0 = GuardrailModalityV3_48_0[];
366
+ /**
367
+ * Whether to filter images or text
368
+ */
369
+ export type OutputModalitiesV3_48_0 = GuardrailModalityV3_48_0[];
370
+ /**
371
+ * Types of content to filter.
372
+ */
373
+ export type FilterV3_48_0 = {
374
+ type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
375
+ inputStrength: InputStrengthV3_48_0;
376
+ outputStrength: OutputStrengthV3_48_0;
377
+ inputModalities?: InputModalitiesV3_48_0;
378
+ outputModalities?: OutputModalitiesV3_48_0;
379
+ }[];
380
+ /**
381
+ * Specific words to block.
382
+ */
383
+ export type WordListV3_48_0 = {
384
+ text: string;
385
+ }[];
386
+ /**
387
+ * This is solely used for blocking profanity.
388
+ */
389
+ export type ManagedWordListV3_48_0 = {
390
+ type: 'PROFANITY';
391
+ }[];
392
+ export type GuardrailSensitiveInformationActionV3_48_0 = 'ANONYMIZE' | 'BLOCK';
393
+ /**
394
+ * PII entity to infer from the text.
395
+ */
396
+ export type PIIEntityV3_48_0 = {
397
+ 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';
398
+ action: GuardrailSensitiveInformationActionV3_48_0;
399
+ }[];
400
+ /**
401
+ * A regular expression to match sensitive information.
402
+ */
403
+ export type RegularExpressionV3_48_0 = {
404
+ name: string;
405
+ description?: string;
406
+ pattern: string;
407
+ action: GuardrailSensitiveInformationActionV3_48_0;
408
+ }[];
409
+ /**
410
+ * The type of filter.
411
+ */
412
+ export type TypeV3_48_0 = 'GROUNDING' | 'RELEVANCE';
413
+ /**
414
+ * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
415
+ */
416
+ export type ThresholdV3_48_0 = number;
417
+ /**
418
+ * Filter to evaluate grounding text.
419
+ */
420
+ export type FilterV3_48_01 = {
421
+ type: TypeV3_48_0;
422
+ threshold: ThresholdV3_48_0;
423
+ }[];
424
+ /**
425
+ * Human-readable id for use in the UI
426
+ */
427
+ export type WorkflowNameV3_48_0 = string;
428
+ /**
429
+ * machine-readable slug
430
+ */
431
+ export type NameV3_48_01 = string;
432
+ /**
433
+ * Human-readable id for use in the UI
434
+ */
435
+ export type TitleV3_48_0 = string;
436
+ export type DescriptionV3_48_01 = string;
437
+ /**
438
+ * Hex color code
439
+ */
440
+ export type ColorV3_48_0 = string;
441
+ /**
442
+ * Value to indicate whether items in the state should be returned in list queries
443
+ */
444
+ export type LiveV3_48_0 = boolean;
445
+ /**
446
+ * machine-readable id
447
+ */
448
+ export type KeyV3_48_0 = string;
449
+ export type StepsV3_48_0 = WorkflowStepV3_48_0[];
450
+ /**
451
+ * The general type of this service, specifying how and where it will be utilized.
452
+ *
453
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
454
+ * via the `definition` "serviceType".
455
+ */
456
+ export type ServiceTypeV3_48_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
457
+ /**
458
+ * The name of a health check to run
459
+ */
460
+ export type CheckNameV3_48_0 = 'graphqlIntrospection' | 'ping' | 'none';
461
+ /**
462
+ * The endpoint to use when checking the service health.
463
+ */
464
+ export type EndpointV3_48_0 = string;
465
+ /**
466
+ * A custom method to use for the health check request.
467
+ */
468
+ export type RequestMethodV3_48_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
469
+ /**
470
+ * A custom body to send along with the ping request.
471
+ */
472
+ export type RequestBodyV3_48_0 = string;
473
+ /**
474
+ * A custom body to send along with the ping request.
475
+ */
476
+ export type RequestBodyFormatV3_48_0 = 'string' | 'form' | 'json' | 'form-data';
477
+ /**
478
+ * The amount of time to wait when receiving a response from the health check, in seconds.
479
+ */
480
+ export type RequestTimeoutV3_48_0 = number;
481
+ /**
482
+ * The response status code that qualifies as healthy.
483
+ */
484
+ export type HealthyResponseStatusCodeV3_48_0 = number;
485
+ /**
486
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
487
+ * via the `definition` "serviceHealthCheckTrigger".
488
+ */
489
+ export type ServiceHealthCheckTriggerV3_48_0 = 'manual' | 'schedule';
490
+ /**
491
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
492
+ * via the `definition` "allOfSchema".
493
+ */
494
+ export type AllOfSchemaV3_48_0 = PropertySchemaV3_48_0 & {
495
+ allOf: ObjectOrRefArrayV3_48_0;
496
+ };
497
+ /**
498
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
499
+ * via the `definition` "extendsSchema".
500
+ */
501
+ export type ExtendsSchemaV3_48_0 = PropertySchemaV3_48_0 & {
502
+ extends: ObjectOrRefArrayV3_48_0;
503
+ };
504
+ /**
505
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
506
+ * via the `definition` "oneOfSchema".
507
+ */
508
+ export type OneOfSchemaV3_48_0 = PropertySchemaV3_48_0 & {
509
+ oneOf: ObjectOrRefArrayV3_48_0;
510
+ };
511
+ /**
512
+ * Options to be passed to the serialization routine.
513
+ *
514
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
515
+ * via the `definition` "parameterSerializeOptions".
516
+ *
517
+ * This interface was referenced by `undefined`'s JSON-Schema definition
518
+ * via the `patternProperty` "^[^\n\r]*$".
519
+ */
520
+ export type ParameterSerializeOptionsV3_48_0 = ParameterSerializeStyleOptionsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
521
+ /**
522
+ * An array of key / value or directive config tuples
523
+ *
524
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
525
+ * via the `definition` "directiveMappingArray".
526
+ */
527
+ export type DirectiveMappingArrayV3_48_0 = DirectiveMappingArrayItemV3_48_0[];
528
+ /**
529
+ * A resolver which references a specific service
530
+ *
531
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
532
+ * via the `definition` "serviceResolver".
533
+ */
534
+ export type ServiceResolverV3_48_0 = TakeshapeResolverV3_48_0 | ShapedbResolverShapeNameNotRequiredV3_48_0 | ShapedbResolverV3_48_0 | GraphqlResolverV3_48_0 | RestResolverV3_48_0 | AwsLambdaResolverV3_48_0;
535
+ /**
536
+ * An array of key / value or directive config tuples
537
+ *
538
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
539
+ * via the `definition` "searchParamsMapping".
540
+ */
541
+ export type SearchParamsMappingV3_48_01 = DirectiveMappingArrayItemV3_48_0[];
542
+ /**
543
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
544
+ * via the `definition` "shapeWithObjectSchema".
545
+ */
546
+ export type ShapeWithObjectSchemaV3_48_0 = ShapeJSONV3_48_0 & {
547
+ schema: ObjectSchemaV3_48_0;
548
+ };
549
+ /**
550
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
551
+ * via the `definition` "serviceAuthentication".
552
+ */
553
+ export type ServiceAuthenticationV3_48_0 = OAuth2AuthenticationV3_48_0 | OAuth2BearerAuthenticationV3_48_0 | BearerAuthenticationV3_48_0 | BasicAuthenticationV3_48_0 | SearchParamsAuthenticationV3_48_0 | AWSAuthenticationV3_48_0 | CustomAuthenticationV3_48_0;
554
+ /**
555
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
556
+ * via the `definition` "anyServiceConfig".
557
+ */
558
+ export type AnyServiceConfigV3_48_0 = ServiceConfigJSONV3_48_0 | ServiceConfigV3_48_0;
559
+ export interface ProjectSchemaJSONV3_48_0 {
560
+ $schema?: string;
561
+ /**
562
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
563
+ */
564
+ apiVersion: string;
565
+ /**
566
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
567
+ */
568
+ schemaVersion: '3.48.0';
569
+ /**
570
+ * The ID of the TakeShape project this schema belongs to.
571
+ */
572
+ projectId: string;
573
+ /**
574
+ * The ID of the TakeShape user who created the schema.
575
+ */
576
+ author?: string;
577
+ deactivated?: number;
578
+ /**
579
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
580
+ */
581
+ defaultLocale: string;
582
+ locales: string[];
583
+ queries: QueryMapV3_48_0;
584
+ mutations: QueryMapV3_48_0;
585
+ shapes: ShapeMapV3_48_0;
586
+ 'ai-experimental'?: AIExperimentalV3_48_0;
587
+ forms?: FormMapV3_48_0;
588
+ workflows: WorkflowMapV3_48_0;
589
+ services?: ServiceMapJSONV3_48_0;
590
+ }
591
+ /**
592
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
593
+ * via the `definition` "queryMap".
594
+ */
595
+ export interface QueryMapV3_48_0 {
596
+ [k: string]: QueryJSONV3_48_0;
597
+ }
598
+ /**
599
+ * This interface was referenced by `QueryMapV3_48_0`'s JSON-Schema definition
600
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
601
+ *
602
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
603
+ * via the `definition` "query".
604
+ */
605
+ export interface QueryJSONV3_48_0 {
606
+ args?: ArgsV3_48_0;
607
+ resolver: ResolverV3_48_0;
608
+ shape: ReturnShapeV3_48_0;
609
+ /**
610
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
611
+ */
612
+ description?: string;
613
+ }
614
+ /**
615
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
616
+ * via the `definition` "propertySchema".
617
+ */
618
+ export interface PropertySchemaV3_48_0 {
619
+ $ref?: string;
620
+ title?: string;
621
+ description?: string;
622
+ default?: any;
623
+ readOnly?: boolean;
624
+ multipleOf?: number;
625
+ maximum?: number;
626
+ exclusiveMaximum?: number;
627
+ minimum?: number;
628
+ exclusiveMinimum?: number;
629
+ maxLength?: NonNegativeIntegerV3_48_0;
630
+ minLength?: NonNegativeIntegerDefault0V3_48_0;
631
+ pattern?: string;
632
+ additionalItems?: PropertySchemaV3_48_0;
633
+ items?: PropertySchemaV3_48_0;
634
+ maxItems?: NonNegativeIntegerV3_48_0;
635
+ minItems?: NonNegativeIntegerDefault0V3_48_0;
636
+ uniqueItems?: boolean;
637
+ contains?: PropertySchemaV3_48_0;
638
+ maxProperties?: NonNegativeIntegerV3_48_0;
639
+ minProperties?: NonNegativeIntegerDefault0V3_48_0;
640
+ required?: StringArrayV3_48_0;
641
+ additionalProperties?: PropertySchemaV3_48_0 | false;
642
+ definitions?: {
643
+ [k: string]: PropertySchemaV3_48_0;
644
+ };
645
+ properties?: {
646
+ [k: string]: PropertySchemaV3_48_0;
647
+ };
648
+ const?: any;
649
+ enum?: any[];
650
+ type?: SimpleTypesV3_48_0 | SimpleTypesV3_48_0[];
651
+ format?: string;
652
+ contentMediaType?: string;
653
+ contentEncoding?: string;
654
+ allOf?: SchemaArrayV3_48_0;
655
+ discriminator?: {
656
+ propertyName?: string;
657
+ [k: string]: any;
658
+ };
659
+ oneOf?: SchemaArrayV3_48_0;
660
+ extends?: ObjectOrRefArrayV3_48_0;
661
+ '@backreference'?: BackReferenceV3_48_0;
662
+ '@input'?: PropertySchemaV3_48_0;
663
+ '@output'?: PropertySchemaV3_48_0;
664
+ '@syncLocaleStructure'?: boolean;
665
+ '@sensitive'?: boolean;
666
+ '@draftjs'?: boolean;
667
+ '@l10n'?: boolean;
668
+ '@key'?: string;
669
+ '@workflow'?: string;
670
+ '@mapping'?: FieldMappingV3_48_0;
671
+ '@tag'?: string;
672
+ '@tags'?: string[];
673
+ '@deprecationReason'?: string;
674
+ '@args'?: ArgsV3_48_0;
675
+ '@resolver'?: ResolverV3_48_0;
676
+ '@dependencies'?: DependenciesV3_48_0;
677
+ '@ref'?: RefV3_48_0;
678
+ '@derivedFrom'?: string;
679
+ '@indexed'?: IndexedV3_48_0;
680
+ '@graphql'?: GraphQLConfigV3_48_0;
681
+ }
682
+ /**
683
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
684
+ * via the `definition` "refSchema".
685
+ */
686
+ export interface RefSchemaV3_48_0 {
687
+ '@ref': RefV3_48_0;
688
+ [k: string]: any;
689
+ }
690
+ /**
691
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
692
+ * via the `definition` "refSchemaLegacy".
693
+ */
694
+ export interface RefSchemaLegacyV3_48_0 {
695
+ $ref: RefV3_48_0;
696
+ [k: string]: any;
697
+ }
698
+ /**
699
+ * A configuration object for a reverse reference in a relationship.
700
+ *
701
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
702
+ * via the `definition` "backreference".
703
+ */
704
+ export interface BackReferenceV3_48_0 {
705
+ enabled: boolean;
706
+ name?: string;
707
+ }
708
+ /**
709
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
710
+ * via the `definition` "utilResolver".
711
+ */
712
+ export interface UtilResolverV3_48_0 {
713
+ if?: string;
714
+ id?: string;
715
+ name: UtilResolverNameV3_48_0;
716
+ options?: UtilResolverOptionsV3_48_0;
717
+ /**
718
+ * Optional value to return from the noop resolver.
719
+ */
720
+ value?: number | string | boolean | {
721
+ [k: string]: any;
722
+ } | any[] | null;
723
+ args?: ParameterConfigForJsonV3_48_0;
724
+ results?: ParameterConfigForJsonV3_48_0;
725
+ argsMapping?: ArgsMappingV3_48_0;
726
+ resultsMapping?: ResultsMappingV3_48_0;
727
+ }
728
+ export interface UtilResolverOptionsV3_48_0 {
729
+ [k: string]: any;
730
+ }
731
+ /**
732
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
733
+ * via the `definition` "parameterConfigForJson".
734
+ */
735
+ export interface ParameterConfigForJsonV3_48_0 {
736
+ ops: ParameterOpListV3_48_0;
737
+ }
738
+ /**
739
+ * An object describing an operation to generate a parameter, using a nested OpList.
740
+ *
741
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
742
+ * via the `definition` "parameterOpNested".
743
+ */
744
+ export interface ParameterOpNestedV3_48_0 {
745
+ /**
746
+ * A path to the parameter for this operation.
747
+ */
748
+ path: string;
749
+ /**
750
+ * A mode for this parameter's operation.
751
+ */
752
+ op?: 'set' | 'concat' | 'extend' | 'remove';
753
+ ops: ParameterOpListV3_48_0;
754
+ }
755
+ /**
756
+ * An object describing an operation to generate a parameter using a value.
757
+ *
758
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
759
+ * via the `definition` "parameterOpValue".
760
+ */
761
+ export interface ParameterOpValueV3_48_0 {
762
+ /**
763
+ * A path to the parameter for this operation.
764
+ */
765
+ path: string;
766
+ /**
767
+ * A mode for this parameter's operation.
768
+ */
769
+ op?: 'set' | 'concat' | 'extend' | 'remove';
770
+ /**
771
+ * A value to set directly at this path.
772
+ */
773
+ value: number | string | boolean | {
774
+ [k: string]: any;
775
+ } | any[] | null;
776
+ }
777
+ /**
778
+ * An object describing an operation to generate a parameter using a mapping.
779
+ *
780
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
781
+ * via the `definition` "parameterOpMapping".
782
+ */
783
+ export interface ParameterOpMappingV3_48_0 {
784
+ /**
785
+ * A path to the parameter for this operation.
786
+ */
787
+ path: string;
788
+ /**
789
+ * A mode for this parameter's operation.
790
+ */
791
+ op?: 'set' | 'concat' | 'extend' | 'remove';
792
+ /**
793
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
794
+ */
795
+ mapping: string | DirectiveConfigV3_48_0;
796
+ }
797
+ export interface DirectiveOptionsV3_48_0 {
798
+ [k: string]: any;
799
+ }
800
+ /**
801
+ * An object describing an operation to generate a parameter using a mapping.
802
+ *
803
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
804
+ * via the `definition` "parameterOpOp".
805
+ */
806
+ export interface ParameterOpOpV3_48_0 {
807
+ /**
808
+ * A path to the parameter for this operation.
809
+ */
810
+ path: string;
811
+ /**
812
+ * A mode for this parameter's operation.
813
+ */
814
+ op: 'set' | 'concat' | 'extend' | 'remove';
815
+ }
816
+ /**
817
+ * An map of object keys / key paths to directive configs
818
+ *
819
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
820
+ * via the `definition` "directiveMappingMap".
821
+ */
822
+ export interface DirectiveMappingMapV3_48_0 {
823
+ [k: string]: DirectiveConfigV3_48_0;
824
+ }
825
+ /**
826
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
827
+ * via the `definition` "delegateResolver".
828
+ */
829
+ export interface DelegateResolverV3_48_0 {
830
+ if?: string;
831
+ id?: string;
832
+ name: DelegateResolverNameV3_48_0;
833
+ options?: DelegateResolverOptionsV3_48_0;
834
+ argsMapping?: ArgsMappingV3_48_0;
835
+ resultsMapping?: ResultsMappingV3_48_0;
836
+ /**
837
+ * A ref to a query/mutation/property to delegate to.
838
+ */
839
+ to: string;
840
+ args?: ParameterConfigForJsonV3_48_0;
841
+ results?: ParameterConfigForJsonV3_48_0;
842
+ }
843
+ export interface DelegateResolverOptionsV3_48_0 {
844
+ [k: string]: any;
845
+ }
846
+ /**
847
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
848
+ * via the `definition` "takeshapeResolver".
849
+ */
850
+ export interface TakeshapeResolverV3_48_0 {
851
+ if?: string;
852
+ id?: string;
853
+ name: TakeshapeResolverNameV3_48_0;
854
+ /**
855
+ * Internal service identifier.
856
+ */
857
+ service: 'takeshape';
858
+ options?: TakeshapeResolverOptionsV3_48_0;
859
+ /**
860
+ * An optional Shape name for the resolver.
861
+ */
862
+ shapeName?: string;
863
+ args?: ParameterConfigForJsonV3_48_0;
864
+ results?: ParameterConfigForJsonV3_48_0;
865
+ argsMapping?: ArgsMappingV3_48_0;
866
+ resultsMapping?: ResultsMappingV3_48_0;
867
+ }
868
+ export interface TakeshapeResolverOptionsV3_48_0 {
869
+ [k: string]: any;
870
+ }
871
+ /**
872
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
873
+ * via the `definition` "shapedbResolver".
874
+ */
875
+ export interface ShapedbResolverV3_48_0 {
876
+ if?: string;
877
+ id?: string;
878
+ name: ShapedbResolverNameV3_48_0;
879
+ /**
880
+ * Internal service identifier.
881
+ */
882
+ service: 'shapedb';
883
+ options?: ShapedbResolverOptionsV3_48_0;
884
+ argsMapping?: ArgsMappingV3_48_0;
885
+ resultsMapping?: ResultsMappingV3_48_0;
886
+ /**
887
+ * A Shape name for the resolver to use.
888
+ */
889
+ shapeName: string;
890
+ args?: ParameterConfigForJsonV3_48_0;
891
+ results?: ParameterConfigForJsonV3_48_0;
892
+ }
893
+ export interface ShapedbResolverOptionsV3_48_0 {
894
+ [k: string]: any;
895
+ }
896
+ /**
897
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
898
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
899
+ */
900
+ export interface ShapedbResolverShapeNameNotRequiredV3_48_0 {
901
+ if?: string;
902
+ id?: string;
903
+ name: ShapedbResolverShapeNameNotRequiredNameV3_48_0;
904
+ /**
905
+ * Internal service identifier.
906
+ */
907
+ service: 'shapedb';
908
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_48_0;
909
+ /**
910
+ * An optional Shape name for the resolver.
911
+ */
912
+ shapeName?: string;
913
+ args?: ParameterConfigForJsonV3_48_0;
914
+ results?: ParameterConfigForJsonV3_48_0;
915
+ argsMapping?: ArgsMappingV3_48_0;
916
+ resultsMapping?: ResultsMappingV3_48_0;
917
+ }
918
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_48_0 {
919
+ [k: string]: any;
920
+ }
921
+ /**
922
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
923
+ * via the `definition` "graphqlResolver".
924
+ */
925
+ export interface GraphqlResolverV3_48_0 {
926
+ if?: string;
927
+ id?: string;
928
+ name: GraphqlResolverNameV3_48_0;
929
+ /**
930
+ * Configuration for a service to use with this resolver.
931
+ */
932
+ service: string;
933
+ argsMapping?: ArgsMappingV3_48_0;
934
+ resultsMapping?: ResultsMappingV3_48_0;
935
+ options?: GraphqlResolverOptionsV3_48_0;
936
+ /**
937
+ * A fieldname to use in queries.
938
+ */
939
+ fieldName: string;
940
+ headers?: ParameterConfigForHeadersV3_48_0;
941
+ searchParams?: ParameterConfigForSearchParamsV3_48_0;
942
+ args?: ParameterConfigForJsonV3_48_0;
943
+ results?: ParameterConfigForJsonV3_48_0;
944
+ }
945
+ export interface GraphqlResolverOptionsV3_48_0 {
946
+ selectionSet?: string;
947
+ unboxParentSelectionSet?: boolean;
948
+ ignoreErrors?: boolean;
949
+ skipWhenMissingArgs?: boolean;
950
+ ttl?: number;
951
+ timeout?: number;
952
+ allowStream?: boolean;
953
+ retry?: number | {
954
+ [k: string]: any;
955
+ };
956
+ [k: string]: any;
957
+ }
958
+ /**
959
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
960
+ * via the `definition` "parameterConfigForHeaders".
961
+ */
962
+ export interface ParameterConfigForHeadersV3_48_0 {
963
+ ops: ParameterOpListV3_48_0;
964
+ serialize?: ParameterSerializeConfigForHeadersV3_48_0;
965
+ }
966
+ /**
967
+ * Top-level paths to use headers serialization options for.
968
+ *
969
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
970
+ * via the `definition` "parameterSerializeConfigForHeaders".
971
+ */
972
+ export interface ParameterSerializeConfigForHeadersV3_48_0 {
973
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
974
+ paths?: {
975
+ /**
976
+ * This interface was referenced by `undefined`'s JSON-Schema definition
977
+ * via the `patternProperty` "^[^\n\r]*$".
978
+ */
979
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
980
+ };
981
+ }
982
+ /**
983
+ * Options to be passed to the serialization routine.
984
+ *
985
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
986
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
987
+ */
988
+ export interface ParameterSerializeStyleOptionsForHeadersV3_48_0 {
989
+ style: 'simple' | 'none';
990
+ explode?: boolean;
991
+ }
992
+ /**
993
+ * Options to be passed to the serialization routine.
994
+ *
995
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
996
+ * via the `definition` "parameterSerializeContentOptions".
997
+ */
998
+ export interface ParameterSerializeContentOptionsV3_48_0 {
999
+ contentType: string;
1000
+ /**
1001
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1002
+ */
1003
+ allowReserved?: boolean;
1004
+ skipEncoding?: boolean;
1005
+ /**
1006
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1007
+ */
1008
+ options?: {
1009
+ [k: string]: any;
1010
+ };
1011
+ }
1012
+ /**
1013
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1014
+ * via the `definition` "parameterConfigForSearchParams".
1015
+ */
1016
+ export interface ParameterConfigForSearchParamsV3_48_0 {
1017
+ ops: ParameterOpListV3_48_0;
1018
+ serialize?: ParameterSerializeConfigForSearchParamsV3_48_0;
1019
+ }
1020
+ /**
1021
+ * Top-level paths to use search params serialization options for.
1022
+ *
1023
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1024
+ * via the `definition` "parameterSerializeConfigForSearchParams".
1025
+ */
1026
+ export interface ParameterSerializeConfigForSearchParamsV3_48_0 {
1027
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
1028
+ paths?: {
1029
+ /**
1030
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1031
+ * via the `patternProperty` "^[^\n\r]*$".
1032
+ */
1033
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
1034
+ };
1035
+ }
1036
+ /**
1037
+ * Options to be passed to the serialization routine.
1038
+ *
1039
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1040
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1041
+ */
1042
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_48_0 {
1043
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1044
+ explode?: boolean;
1045
+ allowEmptyValue?: boolean;
1046
+ /**
1047
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1048
+ */
1049
+ allowReserved?: boolean;
1050
+ skipEncoding?: boolean;
1051
+ }
1052
+ /**
1053
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1054
+ * via the `definition` "restResolver".
1055
+ */
1056
+ export interface RestResolverV3_48_0 {
1057
+ if?: string;
1058
+ id?: string;
1059
+ name: RestResolverNameV3_48_0;
1060
+ /**
1061
+ * Configuration for a service to use with this resolver.
1062
+ */
1063
+ service: string;
1064
+ argsMapping?: ArgsMappingV3_48_0;
1065
+ searchParamsMapping?: SearchParamsMappingV3_48_0;
1066
+ resultsMapping?: ResultsMappingV3_48_0;
1067
+ options?: RestResolverOptionsV3_48_0;
1068
+ body?: ParameterConfigForBodyV3_48_0;
1069
+ form?: ParameterConfigForSearchParamsV3_48_0;
1070
+ headers?: ParameterConfigForHeadersV3_48_0;
1071
+ json?: ParameterConfigForJsonV3_48_0;
1072
+ /**
1073
+ * Mapping and serialization configuration for the path, or a simple string.
1074
+ */
1075
+ path: ParameterConfigForPathParamsV3_48_0 | string;
1076
+ searchParams?: ParameterConfigForSearchParamsV3_48_0;
1077
+ args?: ParameterConfigForJsonV3_48_0;
1078
+ results?: ParameterConfigForJsonV3_48_0;
1079
+ }
1080
+ export interface RestResolverOptionsV3_48_0 {
1081
+ trailingSlash?: boolean;
1082
+ allowStream?: boolean;
1083
+ ttl?: number;
1084
+ timeout?: number;
1085
+ retry?: number | {
1086
+ [k: string]: any;
1087
+ };
1088
+ [k: string]: any;
1089
+ }
1090
+ /**
1091
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1092
+ * via the `definition` "parameterConfigForBody".
1093
+ */
1094
+ export interface ParameterConfigForBodyV3_48_0 {
1095
+ ops: ParameterOpListV3_48_0;
1096
+ serialize?: ParameterSerializeConfigForBodyV3_48_0;
1097
+ }
1098
+ /**
1099
+ * Top-level paths to use serialization options for.
1100
+ *
1101
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1102
+ * via the `definition` "parameterSerializeConfigForBody".
1103
+ */
1104
+ export interface ParameterSerializeConfigForBodyV3_48_0 {
1105
+ content?: ParameterSerializeContentOptionsV3_48_0;
1106
+ }
1107
+ /**
1108
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1109
+ * via the `definition` "parameterConfigForPathParams".
1110
+ */
1111
+ export interface ParameterConfigForPathParamsV3_48_0 {
1112
+ ops: ParameterOpListV3_48_0;
1113
+ serialize: ParameterSerializeConfigForPathParamsV3_48_0;
1114
+ }
1115
+ /**
1116
+ * Top-level paths to use path params serialization options for.
1117
+ *
1118
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1119
+ * via the `definition` "parameterSerializeConfigForPathParams".
1120
+ */
1121
+ export interface ParameterSerializeConfigForPathParamsV3_48_0 {
1122
+ /**
1123
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1124
+ */
1125
+ template: string;
1126
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
1127
+ paths?: {
1128
+ /**
1129
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1130
+ * via the `patternProperty` "^[^\n\r]*$".
1131
+ */
1132
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
1133
+ };
1134
+ }
1135
+ /**
1136
+ * Options to be passed to the serialization routine.
1137
+ *
1138
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1139
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1140
+ */
1141
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_48_0 {
1142
+ style: 'simple' | 'label' | 'matrix' | 'none';
1143
+ explode?: boolean;
1144
+ allowEmptyValue?: boolean;
1145
+ /**
1146
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1147
+ */
1148
+ allowReserved?: boolean;
1149
+ skipEncoding?: boolean;
1150
+ }
1151
+ /**
1152
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1153
+ * via the `definition` "awsLambdaResolver".
1154
+ */
1155
+ export interface AwsLambdaResolverV3_48_0 {
1156
+ if?: string;
1157
+ id?: string;
1158
+ name: AwsLambdaResolverNameV3_48_0;
1159
+ /**
1160
+ * Configuration for a service to use with this resolver.
1161
+ */
1162
+ service: string;
1163
+ options?: AwsLambdaResolverOptionsV3_48_0;
1164
+ payload?: ParameterConfigForJsonV3_48_0;
1165
+ /**
1166
+ * Mapping configuration for the FunctionName.
1167
+ */
1168
+ functionName: string | ParameterConfigForAwsLambdaV3_48_0;
1169
+ clientContext?: ParameterConfigForJsonV3_48_0;
1170
+ args?: ParameterConfigForJsonV3_48_0;
1171
+ results?: ParameterConfigForJsonV3_48_0;
1172
+ argsMapping?: ArgsMappingV3_48_0;
1173
+ searchParamsMapping?: SearchParamsMappingV3_48_0;
1174
+ resultsMapping?: ResultsMappingV3_48_0;
1175
+ }
1176
+ export interface AwsLambdaResolverOptionsV3_48_0 {
1177
+ [k: string]: any;
1178
+ }
1179
+ /**
1180
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1181
+ * via the `definition` "parameterConfigForAwsLambda".
1182
+ */
1183
+ export interface ParameterConfigForAwsLambdaV3_48_0 {
1184
+ ops: ParameterOpListV3_48_0;
1185
+ serialize: ParameterSerializeConfigForPathParamsV3_48_0;
1186
+ }
1187
+ /**
1188
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1189
+ * via the `definition` "salsifyResolver".
1190
+ */
1191
+ export interface SalsifyResolverV3_48_0 {
1192
+ if?: string;
1193
+ id?: string;
1194
+ name: SalsifyResolverNameV3_48_0;
1195
+ /**
1196
+ * Configuration for a service to use with this resolver.
1197
+ */
1198
+ service: string;
1199
+ options?: SalsifyResolverOptionsV3_48_0;
1200
+ args?: ParameterConfigForJsonV3_48_0;
1201
+ results?: ParameterConfigForJsonV3_48_0;
1202
+ argsMapping?: ArgsMappingV3_48_0;
1203
+ resultsMapping?: ResultsMappingV3_48_0;
1204
+ }
1205
+ export interface SalsifyResolverOptionsV3_48_0 {
1206
+ [k: string]: any;
1207
+ }
1208
+ /**
1209
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1210
+ * via the `definition` "functionResolver".
1211
+ */
1212
+ export interface FunctionResolverV3_48_0 {
1213
+ if?: string;
1214
+ id?: string;
1215
+ name: FunctionResolverNameV3_48_0;
1216
+ options?: FunctionResolverOptionsV3_48_0;
1217
+ args?: ParameterConfigForJsonV3_48_0;
1218
+ results?: ParameterConfigForJsonV3_48_0;
1219
+ argsMapping?: ArgsMappingV3_48_0;
1220
+ resultsMapping?: ResultsMappingV3_48_0;
1221
+ javascript?: FunctionResolverJavascriptV3_48_0;
1222
+ }
1223
+ export interface FunctionResolverOptionsV3_48_0 {
1224
+ [k: string]: any;
1225
+ }
1226
+ /**
1227
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1228
+ * via the `definition` "aiGenerateTextResolver".
1229
+ */
1230
+ export interface AIGenerateTextResolverV3_48_0 {
1231
+ if?: string;
1232
+ id?: string;
1233
+ name: AIResolverNameV3_48_0;
1234
+ /**
1235
+ * Configuration for a service to use with this resolver.
1236
+ */
1237
+ service: string;
1238
+ options?: AIGenerateTextResolverOptionsV3_48_0;
1239
+ systemPrompt: string;
1240
+ inputTemplate?: string;
1241
+ model: string;
1242
+ tools?: (string | AIToolConfigV3_48_0)[];
1243
+ guardrails?: AIGuardrailV3_48_0[];
1244
+ context?: ParameterConfigForJsonV3_48_0;
1245
+ results?: ParameterConfigForJsonV3_48_0;
1246
+ }
1247
+ /**
1248
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1249
+ * via the `definition` "aiGenerateTextResolverOptions".
1250
+ */
1251
+ export interface AIGenerateTextResolverOptionsV3_48_0 {
1252
+ history?: HistoryV3_48_0;
1253
+ maxTokens?: MaximumTokensV3_48_0;
1254
+ temperature?: TemperatureV3_48_0;
1255
+ topP?: TopPV3_48_0;
1256
+ topK?: TopKV3_48_0;
1257
+ presencePenalty?: PresencePenaltySettingV3_48_0;
1258
+ frequencyPenalty?: FrequencyPenaltySettingV3_48_0;
1259
+ stopSequences?: StopSequencesV3_48_0;
1260
+ seed?: SeedV3_48_0;
1261
+ /**
1262
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1263
+ */
1264
+ maxRetries?: number;
1265
+ /**
1266
+ * The tool choice strategy. Default: 'auto'
1267
+ */
1268
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1269
+ /**
1270
+ * Maximal number of automatic roundtrips for tool calls.
1271
+ */
1272
+ maxToolRoundtrips?: number;
1273
+ [k: string]: any;
1274
+ }
1275
+ /**
1276
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1277
+ * via the `definition` "aiToolConfig".
1278
+ */
1279
+ export interface AIToolConfigV3_48_0 {
1280
+ ref: string;
1281
+ selectionSet?: string;
1282
+ }
1283
+ /**
1284
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1285
+ * via the `definition` "aiSimilarityGuardrail".
1286
+ */
1287
+ export interface AISimilarityGuardrailV3_48_0 {
1288
+ name: 'similarity';
1289
+ shape: string;
1290
+ defaultResponse: string;
1291
+ threshold?: number;
1292
+ }
1293
+ /**
1294
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1295
+ * via the `definition` "aiEmbeddingResolver".
1296
+ */
1297
+ export interface AIEmbeddingResolverV3_48_0 {
1298
+ if?: string;
1299
+ id?: string;
1300
+ name: AIResolverNameV3_48_01;
1301
+ /**
1302
+ * Configuration for a service to use with this resolver.
1303
+ */
1304
+ service: string;
1305
+ options?: AIEmbeddingResolverOptionsV3_48_0;
1306
+ model: string;
1307
+ args?: ParameterConfigForJsonV3_48_0;
1308
+ results?: ParameterConfigForJsonV3_48_0;
1309
+ }
1310
+ /**
1311
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1312
+ * via the `definition` "aiEmbeddingResolverOptions".
1313
+ */
1314
+ export interface AIEmbeddingResolverOptionsV3_48_0 {
1315
+ useDependencies?: boolean;
1316
+ [k: string]: any;
1317
+ }
1318
+ /**
1319
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1320
+ * via the `definition` "aiParseFileResolver".
1321
+ */
1322
+ export interface AIParseFileResolverV3_48_0 {
1323
+ if?: string;
1324
+ id?: string;
1325
+ name: AIResolverNameV3_48_02;
1326
+ /**
1327
+ * Configuration for a service to use with this resolver.
1328
+ */
1329
+ service: string;
1330
+ options?: AIEmbeddingResolverOptionsV3_48_0;
1331
+ args?: ParameterConfigForJsonV3_48_0;
1332
+ results?: ParameterConfigForJsonV3_48_0;
1333
+ }
1334
+ export interface AIRunAgentResolverV3_48_0 {
1335
+ id?: string;
1336
+ name: AIResolverNameV3_48_03;
1337
+ agentName: string;
1338
+ }
1339
+ /**
1340
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1341
+ * via the `definition` "composeResolver".
1342
+ */
1343
+ export interface ComposeResolverV3_48_0 {
1344
+ compose: BasicResolverV3_48_0[];
1345
+ resultsMapping?: DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_0;
1346
+ results?: ParameterConfigForJsonV3_48_0;
1347
+ }
1348
+ /**
1349
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1350
+ * via the `definition` "indexed".
1351
+ */
1352
+ export interface IndexedV3_48_0 {
1353
+ nested?: boolean;
1354
+ }
1355
+ /**
1356
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1357
+ * via the `definition` "graphql".
1358
+ */
1359
+ export interface GraphQLConfigV3_48_0 {
1360
+ json?: boolean;
1361
+ }
1362
+ /**
1363
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1364
+ * via the `definition` "shapeMap".
1365
+ */
1366
+ export interface ShapeMapV3_48_0 {
1367
+ [k: string]: ShapeJSONV3_48_0;
1368
+ }
1369
+ /**
1370
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1371
+ *
1372
+ * This interface was referenced by `ShapeMapV3_48_0`'s JSON-Schema definition
1373
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1374
+ *
1375
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1376
+ * via the `definition` "shape".
1377
+ */
1378
+ export interface ShapeJSONV3_48_0 {
1379
+ /**
1380
+ * 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
1381
+ */
1382
+ name: string;
1383
+ /**
1384
+ * 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.
1385
+ */
1386
+ id: string;
1387
+ /**
1388
+ * The human-readable name for a Shape for use in a UI.
1389
+ */
1390
+ title: string;
1391
+ description?: string;
1392
+ type?: 'interface' | 'input' | 'output';
1393
+ interfaces?: string[];
1394
+ /**
1395
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1396
+ */
1397
+ model?: {
1398
+ type: ModelTypeV3_48_0;
1399
+ };
1400
+ workflow?: string;
1401
+ loaders?: ShapeLoadersV3_48_0;
1402
+ joins?: ShapeJoinsV3_48_0;
1403
+ cache?: ShapeCacheConfigV3_48_0;
1404
+ schema: ShapeSchemaV3_48_0;
1405
+ }
1406
+ /**
1407
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1408
+ * via the `definition` "shapeLoaders".
1409
+ */
1410
+ export interface ShapeLoadersV3_48_0 {
1411
+ list: StoredListQueryLoaderConfigV3_48_0 | StoredListQueryLoaderConfigV3_48_0[];
1412
+ get?: GetQueryLoaderConfigV3_48_0;
1413
+ }
1414
+ /**
1415
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1416
+ * via the `definition` "storedListQueryLoaderConfig".
1417
+ */
1418
+ export interface StoredListQueryLoaderConfigV3_48_0 {
1419
+ query: string;
1420
+ args?: {
1421
+ [k: string]: any;
1422
+ } | {
1423
+ [k: string]: any;
1424
+ }[];
1425
+ pagination?: PaginationConfigV3_48_0;
1426
+ }
1427
+ /**
1428
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1429
+ * via the `definition` "paginationCursorConfig".
1430
+ */
1431
+ export interface PaginationCursorConfigV3_48_0 {
1432
+ type: 'cursor';
1433
+ cursorArg: string;
1434
+ cursorPath: string;
1435
+ pageSize?: number;
1436
+ pageSizeArg: string;
1437
+ hasMorePath: string;
1438
+ itemsPath: string;
1439
+ }
1440
+ /**
1441
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1442
+ * via the `definition` "paginationPageConfig".
1443
+ */
1444
+ export interface PaginationPageConfigV3_48_0 {
1445
+ type: 'page';
1446
+ pageArg: string;
1447
+ pageSize?: number;
1448
+ pageSizeArg?: string;
1449
+ itemsPath: string;
1450
+ pageTotalPath: string;
1451
+ }
1452
+ /**
1453
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1454
+ * via the `definition` "paginationOffsetConfig".
1455
+ */
1456
+ export interface PaginationOffsetConfigV3_48_0 {
1457
+ type: 'offset';
1458
+ offsetArg: string;
1459
+ pageSize?: number;
1460
+ pageSizeArg?: string;
1461
+ itemsPath: string;
1462
+ itemTotalPath: string;
1463
+ }
1464
+ /**
1465
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1466
+ * via the `definition` "getQueryLoaderConfig".
1467
+ */
1468
+ export interface GetQueryLoaderConfigV3_48_0 {
1469
+ query: string;
1470
+ args?: {
1471
+ [k: string]: any;
1472
+ };
1473
+ idArg?: string;
1474
+ }
1475
+ /**
1476
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1477
+ * via the `definition` "shapeJoins".
1478
+ */
1479
+ export interface ShapeJoinsV3_48_0 {
1480
+ [k: string]: ShapeJoinV3_48_0;
1481
+ }
1482
+ /**
1483
+ * This interface was referenced by `ShapeJoinsV3_48_0`'s JSON-Schema definition
1484
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1485
+ *
1486
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1487
+ * via the `definition` "shapeJoin".
1488
+ */
1489
+ export interface ShapeJoinV3_48_0 {
1490
+ resolver: DelegateResolverV3_48_0 | ShapedbResolverV3_48_0;
1491
+ dependencies?: string;
1492
+ }
1493
+ /**
1494
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1495
+ * via the `definition` "shapeCacheConfig".
1496
+ */
1497
+ export interface ShapeCacheConfigV3_48_0 {
1498
+ enabled: boolean;
1499
+ idField?: string;
1500
+ searchSummaryField?: string;
1501
+ fragment?: CachedFragmentConfigV3_48_0;
1502
+ triggers?: CacheTriggerConfigV3_48_0[];
1503
+ /**
1504
+ * Number of seconds this Shape should be cached. Default 0.
1505
+ */
1506
+ maxAge?: number;
1507
+ }
1508
+ /**
1509
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1510
+ * via the `definition` "cachedFragmentConfig".
1511
+ */
1512
+ export interface CachedFragmentConfigV3_48_0 {
1513
+ ignoreFields?: string[];
1514
+ maxDepth?: number;
1515
+ selectionSet?: string;
1516
+ includeDeprecated?: boolean;
1517
+ }
1518
+ /**
1519
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1520
+ * via the `definition` "cacheScheduleTriggerConfig".
1521
+ */
1522
+ export interface CacheScheduleTriggerConfigV3_48_0 {
1523
+ type: 'schedule';
1524
+ loader: 'get' | 'list';
1525
+ interval: number;
1526
+ }
1527
+ /**
1528
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1529
+ * via the `definition` "cacheWebhookTriggerConfig".
1530
+ */
1531
+ export interface CacheWebhookTriggerConfigV3_48_0 {
1532
+ type: 'webhook';
1533
+ loader: 'get' | 'list';
1534
+ service: string;
1535
+ events: string[];
1536
+ }
1537
+ /**
1538
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1539
+ * via the `definition` "shapeSchemaAllOf".
1540
+ */
1541
+ export interface ShapeSchemaAllOfV3_48_0 {
1542
+ allOf: ObjectOrRefArrayV3_48_0;
1543
+ }
1544
+ /**
1545
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1546
+ * via the `definition` "shapeSchemaExtends".
1547
+ */
1548
+ export interface ShapeSchemaExtendsV3_48_0 {
1549
+ extends: ObjectOrRefArrayV3_48_0;
1550
+ }
1551
+ /**
1552
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1553
+ * via the `definition` "shapeSchemaOneOf".
1554
+ */
1555
+ export interface ShapeSchemaOneOfV3_48_0 {
1556
+ oneOf: ObjectOrRefArrayV3_48_0;
1557
+ }
1558
+ /**
1559
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1560
+ * via the `definition` "shapeSchemaEnum".
1561
+ */
1562
+ export interface ShapeSchemaEnumV3_48_0 {
1563
+ enum: any[];
1564
+ }
1565
+ /**
1566
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1567
+ * via the `definition` "shapeSchemaAny".
1568
+ */
1569
+ export interface ShapeSchemaAnyV3_48_0 {
1570
+ }
1571
+ export interface AIExperimentalV3_48_0 {
1572
+ agents?: AgentMapV3_48_0;
1573
+ guards?: GuardMapV3_48_0;
1574
+ }
1575
+ export interface AgentMapV3_48_0 {
1576
+ [k: string]: AgentJSONV3_48_0;
1577
+ }
1578
+ /**
1579
+ * An Agent is a configuration for an AI service such as a chat bot or a search engine.
1580
+ *
1581
+ * This interface was referenced by `AgentMapV3_48_0`'s JSON-Schema definition
1582
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1583
+ */
1584
+ export interface AgentJSONV3_48_0 {
1585
+ description?: string;
1586
+ systemPrompt?: string;
1587
+ api: AgentAPIV3_48_0;
1588
+ start: AgentStartV3_48_0;
1589
+ states: AgentStatesV3_48_0;
1590
+ guards?: AgentGuardV3_48_0[];
1591
+ }
1592
+ export interface AgentAPIChatV3_48_0 {
1593
+ type: 'chat';
1594
+ arguments?: AgentAPIArgumentV3_48_0[];
1595
+ }
1596
+ export interface AgentAPIArgumentV3_48_0 {
1597
+ argName: string;
1598
+ argDescription?: string;
1599
+ argType: 'boolean' | 'integer' | 'number' | 'string' | 'sessionId';
1600
+ required?: boolean;
1601
+ }
1602
+ export interface AgentAPIGenerateV3_48_0 {
1603
+ type: 'generate';
1604
+ arguments?: AgentAPIArgumentV3_48_0[];
1605
+ }
1606
+ /**
1607
+ * Configuration for the start of an agent's execution
1608
+ */
1609
+ export interface AgentStartV3_48_0 {
1610
+ transition: AgentTransitionStepV3_48_0[];
1611
+ }
1612
+ /**
1613
+ * These steps are evaluated in order until a destination is found.
1614
+ */
1615
+ export interface AgentTransitionStepV3_48_0 {
1616
+ destination: string;
1617
+ suspend?: boolean;
1618
+ condition: AgentTransitionStepConditionNoneV3_48_0 | AgentTransitionStepConditionArtifactV3_48_0 | AgentTransitionStepConditionStateOutputV3_48_0 | AgentTransitionStepConditionStringContainsV3_48_0 | AgentTransitionStepConditionArgumentV3_48_0;
1619
+ limit?: number;
1620
+ }
1621
+ export interface AgentTransitionStepConditionNoneV3_48_0 {
1622
+ type: 'none';
1623
+ }
1624
+ export interface AgentTransitionStepConditionArtifactV3_48_0 {
1625
+ type: 'artifact';
1626
+ path?: string;
1627
+ negated?: boolean;
1628
+ }
1629
+ export interface AgentTransitionStepConditionStateOutputV3_48_0 {
1630
+ type: 'stateOutput';
1631
+ stateId: string;
1632
+ path?: string;
1633
+ negated?: boolean;
1634
+ }
1635
+ export interface AgentTransitionStepConditionStringContainsV3_48_0 {
1636
+ type: 'stringContains';
1637
+ path?: string;
1638
+ string: string;
1639
+ negated?: boolean;
1640
+ }
1641
+ export interface AgentTransitionStepConditionArgumentV3_48_0 {
1642
+ type: 'argument';
1643
+ argument: string;
1644
+ negated?: boolean;
1645
+ }
1646
+ /**
1647
+ * States that are traversed during the execution of an agent.
1648
+ */
1649
+ export interface AgentStatesV3_48_0 {
1650
+ [k: string]: AgentStateV3_48_0;
1651
+ }
1652
+ /**
1653
+ * One step of an agent's execution.
1654
+ *
1655
+ * This interface was referenced by `AgentStatesV3_48_0`'s JSON-Schema definition
1656
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1657
+ */
1658
+ export interface AgentStateV3_48_0 {
1659
+ name: string;
1660
+ variables?: VariablesV3_48_0;
1661
+ execution: AgentExecutionV3_48_0;
1662
+ transition?: AgentTransitionStepV3_48_0[];
1663
+ }
1664
+ export interface AgentVariableV3_48_0 {
1665
+ name: string;
1666
+ /**
1667
+ * These are evaluated in order until a value is found.
1668
+ */
1669
+ steps: AgentVariableStepV3_48_0[];
1670
+ }
1671
+ /**
1672
+ * An Agent Variable that defines a GraphQL argument and makes its value available to templates.
1673
+ */
1674
+ export interface AgentVariableStepGraphQLArgV3_48_0 {
1675
+ type: 'graphqlArg';
1676
+ argName: string;
1677
+ }
1678
+ /**
1679
+ * An Agent Variable that provides the output of any previous state's execution.
1680
+ */
1681
+ export interface AgentVariableStepStateOutputV3_48_0 {
1682
+ type: 'stateOutput';
1683
+ stateId: string;
1684
+ path?: string;
1685
+ }
1686
+ /**
1687
+ * An Agent Variable that provides the output of the previous state's execution.
1688
+ */
1689
+ export interface AgentVariableStepPreviousStateOutputV3_48_0 {
1690
+ type: 'previousStateOutput';
1691
+ path?: string;
1692
+ }
1693
+ /**
1694
+ * An Agent Variable that has a static value.
1695
+ */
1696
+ export interface AgentVariableStepStaticValueV3_48_0 {
1697
+ type: 'staticValue';
1698
+ condition?: AgentVariableStepConditionV3_48_0;
1699
+ value: string;
1700
+ }
1701
+ export interface AgentVariableStepConditionNoneV3_48_0 {
1702
+ type: 'none';
1703
+ }
1704
+ export interface AgentVariableStepConditionSourceStateV3_48_0 {
1705
+ type: 'sourceState';
1706
+ stateId: string;
1707
+ negated?: boolean;
1708
+ }
1709
+ export interface AgentExecutionGraphQLV3_48_0 {
1710
+ type: 'graphql';
1711
+ query: string;
1712
+ path?: string;
1713
+ }
1714
+ export interface AgentExecutionGenerateV3_48_0 {
1715
+ type: 'generate';
1716
+ service: string;
1717
+ model: string;
1718
+ systemPrompt?: string;
1719
+ input: AgentAIStateInputV3_48_0;
1720
+ outputShape?: string;
1721
+ tools?: AgentToolConfigV3_48_0[];
1722
+ options?: AgentGenerateOptionsV3_48_0;
1723
+ }
1724
+ export interface AgentAIStateInputArgumentV3_48_0 {
1725
+ type: 'arg';
1726
+ }
1727
+ export interface AgentAIStateInputTemplateV3_48_0 {
1728
+ type: 'template';
1729
+ inputTemplate: string;
1730
+ }
1731
+ export interface AgentToolConfigV3_48_0 {
1732
+ ref: string;
1733
+ selectionSet?: string;
1734
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_48_0;
1735
+ description?: string;
1736
+ }
1737
+ export interface AgentGenerateOptionsV3_48_0 {
1738
+ history?: HistoryV3_48_01;
1739
+ maxTokens?: MaximumTokensV3_48_01;
1740
+ temperature?: TemperatureV3_48_01;
1741
+ topP?: TopPV3_48_01;
1742
+ topK?: TopKV3_48_01;
1743
+ presencePenalty?: PresencePenaltySettingV3_48_01;
1744
+ frequencyPenalty?: FrequencyPenaltySettingV3_48_01;
1745
+ stopSequences?: StopSequencesV3_48_01;
1746
+ seed?: SeedV3_48_01;
1747
+ /**
1748
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1749
+ */
1750
+ maxRetries?: number;
1751
+ /**
1752
+ * The tool choice strategy. Default: 'auto'
1753
+ */
1754
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1755
+ maxToolRoundtrips?: MaxToolRoundtripsV3_48_0;
1756
+ structuredOutputs?: StructuredOutputsV3_48_0;
1757
+ enableOpenAIFormat?: EnableOpenAISchemaFormatV3_48_0;
1758
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_48_0;
1759
+ }
1760
+ export interface AgentExecutionChatV3_48_0 {
1761
+ type: 'chat';
1762
+ service: string;
1763
+ model: string;
1764
+ systemPrompt?: string;
1765
+ input: AgentAIStateInputV3_48_0;
1766
+ artifact?: string;
1767
+ tools?: AgentToolConfigV3_48_0[];
1768
+ options?: AgentGenerateOptionsV3_48_0;
1769
+ }
1770
+ export interface AgentGuardV3_48_0 {
1771
+ guardId: GuardIDV3_48_0;
1772
+ }
1773
+ export interface GuardMapV3_48_0 {
1774
+ [k: string]: GuardJSONV3_48_0;
1775
+ }
1776
+ /**
1777
+ * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
1778
+ *
1779
+ * This interface was referenced by `GuardMapV3_48_0`'s JSON-Schema definition
1780
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1781
+ */
1782
+ export interface GuardJSONV3_48_0 {
1783
+ name: NameV3_48_0;
1784
+ description?: DescriptionV3_48_0;
1785
+ guardrailIdentifier?: GuardrailIdentifierV3_48_0;
1786
+ guardrailVersion?: GuardrailVersionV3_48_0;
1787
+ blockedInputMessaging?: BlockedInputMessagingV3_48_0;
1788
+ blockedOutputsMessaging?: BlockedOutputsMessagingV3_48_0;
1789
+ topicPolicyConfig?: TopicPolicyV3_48_0;
1790
+ contentPolicyConfig?: ContentPolicyV3_48_0;
1791
+ wordPolicyConfig?: WordPolicyV3_48_0;
1792
+ sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_48_0;
1793
+ contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_48_0;
1794
+ }
1795
+ /**
1796
+ * Topics to identify and block.
1797
+ */
1798
+ export interface TopicPolicyV3_48_0 {
1799
+ topicsConfig: TopicV3_48_0;
1800
+ }
1801
+ /**
1802
+ * Types of content to filter and strength configuration.
1803
+ */
1804
+ export interface ContentPolicyV3_48_0 {
1805
+ filtersConfig: FilterV3_48_0;
1806
+ }
1807
+ /**
1808
+ * Specific words to identify and block.
1809
+ */
1810
+ export interface WordPolicyV3_48_0 {
1811
+ wordsConfig?: WordListV3_48_0;
1812
+ managedWordListsConfig?: ManagedWordListV3_48_0;
1813
+ }
1814
+ /**
1815
+ * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
1816
+ */
1817
+ export interface SensitiveInformationPolicyV3_48_0 {
1818
+ piiEntitiesConfig?: PIIEntityV3_48_0;
1819
+ regexesConfig?: RegularExpressionV3_48_0;
1820
+ }
1821
+ /**
1822
+ * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
1823
+ */
1824
+ export interface ContextualGroundingPolicyV3_48_0 {
1825
+ filtersConfig: FilterV3_48_01;
1826
+ }
1827
+ /**
1828
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1829
+ * via the `definition` "formMap".
1830
+ */
1831
+ export interface FormMapV3_48_0 {
1832
+ [k: string]: FormsConfigV3_48_0;
1833
+ }
1834
+ /**
1835
+ * This interface was referenced by `FormMapV3_48_0`'s JSON-Schema definition
1836
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1837
+ *
1838
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1839
+ * via the `definition` "formsConfig".
1840
+ */
1841
+ export interface FormsConfigV3_48_0 {
1842
+ default: FormConfigV3_48_0;
1843
+ [k: string]: FormConfigV3_48_0;
1844
+ }
1845
+ /**
1846
+ * This interface was referenced by `FormsConfigV3_48_0`'s JSON-Schema definition
1847
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1848
+ *
1849
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1850
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1851
+ *
1852
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1853
+ * via the `definition` "formConfig".
1854
+ */
1855
+ export interface FormConfigV3_48_0 {
1856
+ [k: string]: any;
1857
+ }
1858
+ /**
1859
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1860
+ * via the `definition` "workflowMap".
1861
+ */
1862
+ export interface WorkflowMapV3_48_0 {
1863
+ [k: string]: WorkflowV3_48_0;
1864
+ }
1865
+ /**
1866
+ * This interface was referenced by `WorkflowMapV3_48_0`'s JSON-Schema definition
1867
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1868
+ *
1869
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1870
+ * via the `definition` "workflow".
1871
+ */
1872
+ export interface WorkflowV3_48_0 {
1873
+ /**
1874
+ * machine-readable id
1875
+ */
1876
+ name: string;
1877
+ title: WorkflowNameV3_48_0;
1878
+ steps: StepsV3_48_0;
1879
+ [k: string]: any;
1880
+ }
1881
+ /**
1882
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1883
+ * via the `definition` "workflowStep".
1884
+ */
1885
+ export interface WorkflowStepV3_48_0 {
1886
+ name: NameV3_48_01;
1887
+ title: TitleV3_48_0;
1888
+ description?: DescriptionV3_48_01;
1889
+ color: ColorV3_48_0;
1890
+ live: LiveV3_48_0;
1891
+ key: KeyV3_48_0;
1892
+ }
1893
+ /**
1894
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1895
+ * via the `definition` "storedServiceMap".
1896
+ */
1897
+ export interface ServiceMapJSONV3_48_0 {
1898
+ [k: string]: ServiceConfigJSONV3_48_0;
1899
+ }
1900
+ /**
1901
+ * This interface was referenced by `ServiceMapJSONV3_48_0`'s JSON-Schema definition
1902
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1903
+ *
1904
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1905
+ * via the `definition` "storedServiceConfig".
1906
+ */
1907
+ export interface ServiceConfigJSONV3_48_0 {
1908
+ /**
1909
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1910
+ */
1911
+ id: string;
1912
+ /**
1913
+ * Human-readable name for this service.
1914
+ */
1915
+ title: string;
1916
+ /**
1917
+ * The service provider id.
1918
+ */
1919
+ provider: string;
1920
+ /**
1921
+ * A namespace to use for the imported types tied to this service.
1922
+ */
1923
+ namespace?: string;
1924
+ serviceType: ServiceTypeV3_48_0;
1925
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1926
+ authentication?: string;
1927
+ healthCheck?: ServiceHealthCheckV3_48_0;
1928
+ webhookId?: string;
1929
+ /**
1930
+ * Configuration options passed to and handled by the provider.
1931
+ */
1932
+ options?: {
1933
+ [k: string]: any;
1934
+ };
1935
+ }
1936
+ /**
1937
+ * Configuration for ping health checks.
1938
+ *
1939
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1940
+ * via the `definition` "serviceHealthCheck".
1941
+ */
1942
+ export interface ServiceHealthCheckV3_48_0 {
1943
+ checkName: CheckNameV3_48_0;
1944
+ endpoint?: EndpointV3_48_0;
1945
+ requestMethod?: RequestMethodV3_48_0;
1946
+ requestHeaders?: RequestHeadersV3_48_0;
1947
+ requestSearchParams?: RequestSearchParamsV3_48_0;
1948
+ requestBody?: RequestBodyV3_48_0;
1949
+ requestBodyFormat?: RequestBodyFormatV3_48_0;
1950
+ requestTimeout?: RequestTimeoutV3_48_0;
1951
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_48_0;
1952
+ triggers?: ServiceHealthCheckTriggerV3_48_0[];
1953
+ }
1954
+ /**
1955
+ * Any custom headers to set with the health check request.
1956
+ */
1957
+ export interface RequestHeadersV3_48_0 {
1958
+ [k: string]: any;
1959
+ }
1960
+ /**
1961
+ * Any custom search params to set with the health check request.
1962
+ */
1963
+ export interface RequestSearchParamsV3_48_0 {
1964
+ [k: string]: any;
1965
+ }
1966
+ /**
1967
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
1968
+ *
1969
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1970
+ * via the `definition` "parameterSerializeStyleOptions".
1971
+ */
1972
+ export interface ParameterSerializeStyleOptionsV3_48_0 {
1973
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1974
+ explode?: boolean;
1975
+ allowEmptyValue?: boolean;
1976
+ /**
1977
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1978
+ */
1979
+ allowReserved?: boolean;
1980
+ skipEncoding?: boolean;
1981
+ }
1982
+ /**
1983
+ * All possible options for the more specific ParameterSerializeConfig types.
1984
+ *
1985
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1986
+ * via the `definition` "parameterSerializeConfig".
1987
+ */
1988
+ export interface ParameterSerializeConfigV3_48_0 {
1989
+ content?: ParameterSerializeContentOptionsV3_48_0;
1990
+ defaults?: ParameterSerializeOptionsV3_48_0;
1991
+ paths?: {
1992
+ [k: string]: ParameterSerializeOptionsV3_48_0;
1993
+ };
1994
+ }
1995
+ /**
1996
+ * All possible options for the more specific ParameterConfig types.
1997
+ *
1998
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1999
+ * via the `definition` "parameterConfig".
2000
+ */
2001
+ export interface ParameterConfigV3_48_0 {
2002
+ ops: ParameterOpListV3_48_0;
2003
+ serialize?: ParameterSerializeConfigV3_48_0;
2004
+ }
2005
+ /**
2006
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2007
+ * via the `definition` "aiParseFileResolverOptions".
2008
+ */
2009
+ export interface AIParseFileResolverOptionsV3_48_0 {
2010
+ [k: string]: any;
2011
+ }
2012
+ /**
2013
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2014
+ * via the `definition` "listQueryLoaderConfig".
2015
+ */
2016
+ export interface ListQueryLoaderConfigV3_48_0 {
2017
+ query: string;
2018
+ args?: {
2019
+ [k: string]: any;
2020
+ };
2021
+ pagination?: PaginationConfigV3_48_0;
2022
+ }
2023
+ /**
2024
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2025
+ * via the `definition` "formScalarConfig".
2026
+ */
2027
+ export interface FormScalarConfigV3_48_0 {
2028
+ widget: string;
2029
+ }
2030
+ /**
2031
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2032
+ * via the `definition` "formObjectConfig".
2033
+ */
2034
+ export interface FormObjectConfigV3_48_0 {
2035
+ widget?: string;
2036
+ order?: string[];
2037
+ properties?: {
2038
+ [k: string]: FormConfigV3_48_0;
2039
+ };
2040
+ }
2041
+ /**
2042
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2043
+ * via the `definition` "formArrayConfig".
2044
+ */
2045
+ export interface FormArrayConfigV3_48_0 {
2046
+ widget: string;
2047
+ items: FormConfigV3_48_0;
2048
+ }
2049
+ /**
2050
+ * For use with a custom auth handler on a service provider.
2051
+ *
2052
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2053
+ * via the `definition` "customAuthentication".
2054
+ */
2055
+ export interface CustomAuthenticationV3_48_0 {
2056
+ type: 'custom';
2057
+ [k: string]: any;
2058
+ }
2059
+ /**
2060
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2061
+ * via the `definition` "searchParamsAuthentication".
2062
+ */
2063
+ export interface SearchParamsAuthenticationV3_48_0 {
2064
+ type: 'searchParams';
2065
+ params: {
2066
+ name: string;
2067
+ value: string;
2068
+ }[];
2069
+ }
2070
+ /**
2071
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2072
+ * via the `definition` "bearerAuthentication".
2073
+ */
2074
+ export interface BearerAuthenticationV3_48_0 {
2075
+ type: 'bearer';
2076
+ token: string;
2077
+ prefix?: string;
2078
+ header?: string;
2079
+ }
2080
+ /**
2081
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2082
+ * via the `definition` "oauth2BearerAuthentication".
2083
+ */
2084
+ export interface OAuth2BearerAuthenticationV3_48_0 {
2085
+ type: 'oauth2Bearer';
2086
+ token: string;
2087
+ prefix?: string;
2088
+ header?: string;
2089
+ scope?: string;
2090
+ expiresAt?: string;
2091
+ }
2092
+ /**
2093
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2094
+ * via the `definition` "basicAuthentication".
2095
+ */
2096
+ export interface BasicAuthenticationV3_48_0 {
2097
+ type: 'basic';
2098
+ username: string;
2099
+ password: string;
2100
+ useIso8859?: boolean;
2101
+ }
2102
+ /**
2103
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2104
+ * via the `definition` "oauth2Authentication".
2105
+ */
2106
+ export interface OAuth2AuthenticationV3_48_0 {
2107
+ type: 'oauth2';
2108
+ grantType: 'authorizationCode' | 'clientCredentials';
2109
+ authorizationUrl?: string;
2110
+ accessTokenUrl?: string;
2111
+ clientId: string;
2112
+ clientSecret?: string;
2113
+ scope?: string;
2114
+ usePkce?: boolean;
2115
+ redirectUrl?: string;
2116
+ headerPrefix?: string;
2117
+ audience?: string;
2118
+ resource?: string;
2119
+ }
2120
+ /**
2121
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2122
+ * via the `definition` "awsAuthentication".
2123
+ */
2124
+ export interface AWSAuthenticationV3_48_0 {
2125
+ type: 'aws';
2126
+ awsAccessKeyId: string;
2127
+ awsSecretAccessKey: string;
2128
+ }
2129
+ /**
2130
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
2131
+ * via the `definition` "serviceConfig".
2132
+ */
2133
+ export interface ServiceConfigV3_48_0 {
2134
+ /**
2135
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
2136
+ */
2137
+ id: string;
2138
+ /**
2139
+ * Human-readable name for this service.
2140
+ */
2141
+ title: string;
2142
+ /**
2143
+ * The service provider id.
2144
+ */
2145
+ provider: string;
2146
+ /**
2147
+ * A namespace to use for the imported types tied to this service.
2148
+ */
2149
+ namespace?: string;
2150
+ serviceType: ServiceTypeV3_48_0;
2151
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
2152
+ authentication?: ServiceAuthenticationV3_48_0;
2153
+ healthCheck?: ServiceHealthCheckV3_48_0;
2154
+ webhookId?: string;
2155
+ /**
2156
+ * Configuration options passed to and handled by the provider.
2157
+ */
2158
+ options?: {
2159
+ [k: string]: any;
2160
+ };
2161
+ }