@takeshape/schema 11.144.1 → 11.154.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 (537) hide show
  1. package/examples/latest/all-fields-shapes-inline.json +1 -1
  2. package/examples/latest/all-fields-shapes.json +1 -1
  3. package/examples/latest/betzino.json +1 -1
  4. package/examples/latest/blog-schema.json +1 -1
  5. package/examples/latest/brewery-schema.json +1 -1
  6. package/examples/latest/chat-agent-schema.json +1 -1
  7. package/examples/latest/clear-cache-schema.json +1 -1
  8. package/examples/latest/complex-project-schema.json +1 -1
  9. package/examples/latest/complex-schema.json +1 -1
  10. package/examples/latest/edit-schema.json +1 -1
  11. package/examples/latest/frank-and-fred-schema.json +1 -1
  12. package/examples/latest/generate-agent-schema.json +1 -1
  13. package/examples/latest/klirr-schema.json +1 -1
  14. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  15. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  16. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  17. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  18. package/examples/latest/massive-schema.json +1 -1
  19. package/examples/latest/mill-components-schema.json +1 -1
  20. package/examples/latest/nested-shape-arrays.json +1 -1
  21. package/examples/latest/one-earth.json +1 -1
  22. package/examples/latest/pet-oneof-array.json +1 -1
  23. package/examples/latest/post-schema.json +1 -1
  24. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  25. package/examples/latest/rag-example.json +1 -1
  26. package/examples/latest/real-world-schema.json +1 -1
  27. package/examples/latest/recursive-repeater-schema.json +1 -1
  28. package/examples/latest/recursive-schema.json +1 -1
  29. package/examples/latest/rick-and-morty-ast.json +1 -1
  30. package/examples/latest/rick-and-morty-graphql.json +1 -1
  31. package/examples/latest/rick-and-morty-rest.json +1 -1
  32. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  33. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  34. package/examples/latest/schema-where-filter.json +1 -1
  35. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  36. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  37. package/examples/latest/shape-books-v3_2_0.json +1 -1
  38. package/examples/latest/shape-books.json +1 -1
  39. package/examples/latest/shape-editor-schema-edited.json +1 -1
  40. package/examples/latest/shape-editor-schema-initial.json +1 -1
  41. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  42. package/examples/latest/shopify-lookbook.json +1 -1
  43. package/examples/latest/shopify-product-2022-07.json +1 -1
  44. package/examples/latest/shopify-product-2023-04.json +1 -1
  45. package/examples/latest/shopify-store-with-widget.json +1 -1
  46. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  47. package/examples/latest/stripe-starter-resolved.json +1 -1
  48. package/examples/latest/user-schema-no-required.json +1 -1
  49. package/examples/latest/user-schema-with-defaults.json +1 -1
  50. package/examples/latest/valvoline-ai-demo.json +1461 -1421
  51. package/examples/latest/vector-search-schema.json +1 -1
  52. package/package.json +10 -9
  53. package/dist/agents.d.ts +0 -62
  54. package/dist/agents.js +0 -338
  55. package/dist/api-version.d.ts +0 -5
  56. package/dist/api-version.js +0 -17
  57. package/dist/auth-schemas.d.ts +0 -128
  58. package/dist/auth-schemas.js +0 -7
  59. package/dist/auth-utils.d.ts +0 -5
  60. package/dist/auth-utils.js +0 -6
  61. package/dist/builtin-schema.d.ts +0 -18
  62. package/dist/builtin-schema.js +0 -683
  63. package/dist/constants.d.ts +0 -1
  64. package/dist/constants.js +0 -1
  65. package/dist/content-schema-transform.d.ts +0 -35
  66. package/dist/content-schema-transform.js +0 -162
  67. package/dist/create-input-schema.d.ts +0 -9
  68. package/dist/create-input-schema.js +0 -68
  69. package/dist/enum.d.ts +0 -2
  70. package/dist/enum.js +0 -9
  71. package/dist/flatten-templates.d.ts +0 -2
  72. package/dist/flatten-templates.js +0 -20
  73. package/dist/get-is-leaf.d.ts +0 -3
  74. package/dist/get-is-leaf.js +0 -56
  75. package/dist/index.d.ts +0 -62
  76. package/dist/index.js +0 -59
  77. package/dist/interfaces.d.ts +0 -14
  78. package/dist/interfaces.js +0 -86
  79. package/dist/layers/layers.d.ts +0 -26
  80. package/dist/layers/layers.js +0 -301
  81. package/dist/layers/refs.d.ts +0 -102
  82. package/dist/layers/refs.js +0 -220
  83. package/dist/layers/type-utils.d.ts +0 -59
  84. package/dist/layers/type-utils.js +0 -118
  85. package/dist/layers/visitor.d.ts +0 -5
  86. package/dist/layers/visitor.js +0 -38
  87. package/dist/migration/index.d.ts +0 -73
  88. package/dist/migration/index.js +0 -103
  89. package/dist/migration/to/v3.0.0.d.ts +0 -4
  90. package/dist/migration/to/v3.0.0.js +0 -212
  91. package/dist/migration/to/v3.1.0.d.ts +0 -4
  92. package/dist/migration/to/v3.1.0.js +0 -194
  93. package/dist/migration/to/v3.10.0.d.ts +0 -4
  94. package/dist/migration/to/v3.10.0.js +0 -67
  95. package/dist/migration/to/v3.11.0.d.ts +0 -4
  96. package/dist/migration/to/v3.11.0.js +0 -85
  97. package/dist/migration/to/v3.12.3.d.ts +0 -4
  98. package/dist/migration/to/v3.12.3.js +0 -87
  99. package/dist/migration/to/v3.13.0.d.ts +0 -4
  100. package/dist/migration/to/v3.13.0.js +0 -17
  101. package/dist/migration/to/v3.17.0.d.ts +0 -4
  102. package/dist/migration/to/v3.17.0.js +0 -22
  103. package/dist/migration/to/v3.18.0.d.ts +0 -4
  104. package/dist/migration/to/v3.18.0.js +0 -64
  105. package/dist/migration/to/v3.18.1.d.ts +0 -4
  106. package/dist/migration/to/v3.18.1.js +0 -12
  107. package/dist/migration/to/v3.18.2.d.ts +0 -4
  108. package/dist/migration/to/v3.18.2.js +0 -19
  109. package/dist/migration/to/v3.20.0.d.ts +0 -4
  110. package/dist/migration/to/v3.20.0.js +0 -24
  111. package/dist/migration/to/v3.22.0.d.ts +0 -4
  112. package/dist/migration/to/v3.22.0.js +0 -25
  113. package/dist/migration/to/v3.24.0.d.ts +0 -4
  114. package/dist/migration/to/v3.24.0.js +0 -11
  115. package/dist/migration/to/v3.25.0.d.ts +0 -4
  116. package/dist/migration/to/v3.25.0.js +0 -11
  117. package/dist/migration/to/v3.3.0.d.ts +0 -4
  118. package/dist/migration/to/v3.3.0.js +0 -13
  119. package/dist/migration/to/v3.31.0.d.ts +0 -4
  120. package/dist/migration/to/v3.31.0.js +0 -38
  121. package/dist/migration/to/v3.32.0.d.ts +0 -4
  122. package/dist/migration/to/v3.32.0.js +0 -59
  123. package/dist/migration/to/v3.34.0.d.ts +0 -6
  124. package/dist/migration/to/v3.34.0.js +0 -111
  125. package/dist/migration/to/v3.36.0.d.ts +0 -4
  126. package/dist/migration/to/v3.36.0.js +0 -22
  127. package/dist/migration/to/v3.39.0.d.ts +0 -4
  128. package/dist/migration/to/v3.39.0.js +0 -45
  129. package/dist/migration/to/v3.40.0.d.ts +0 -4
  130. package/dist/migration/to/v3.40.0.js +0 -26
  131. package/dist/migration/to/v3.46.0.d.ts +0 -4
  132. package/dist/migration/to/v3.46.0.js +0 -35
  133. package/dist/migration/to/v3.57.0.d.ts +0 -4
  134. package/dist/migration/to/v3.57.0.js +0 -18
  135. package/dist/migration/to/v3.9.0.d.ts +0 -4
  136. package/dist/migration/to/v3.9.0.js +0 -79
  137. package/dist/migration/types.d.ts +0 -26
  138. package/dist/migration/types.js +0 -3
  139. package/dist/migration/utils.d.ts +0 -2
  140. package/dist/migration/utils.js +0 -6
  141. package/dist/mocks.d.ts +0 -14
  142. package/dist/mocks.js +0 -58
  143. package/dist/models/agent.d.ts +0 -3
  144. package/dist/models/agent.js +0 -29
  145. package/dist/models/project-schema.d.ts +0 -18
  146. package/dist/models/project-schema.js +0 -119
  147. package/dist/models/query.d.ts +0 -3
  148. package/dist/models/query.js +0 -38
  149. package/dist/models/runtime-schema.d.ts +0 -9
  150. package/dist/models/runtime-schema.js +0 -20
  151. package/dist/models/shape.d.ts +0 -4
  152. package/dist/models/shape.js +0 -36
  153. package/dist/models/types.d.ts +0 -36
  154. package/dist/models/types.js +0 -1
  155. package/dist/models/user-schema.d.ts +0 -7
  156. package/dist/models/user-schema.js +0 -9
  157. package/dist/patterns.d.ts +0 -12
  158. package/dist/patterns.js +0 -1
  159. package/dist/project-schema/index.d.ts +0 -211
  160. package/dist/project-schema/index.js +0 -83
  161. package/dist/project-schema/latest.d.ts +0 -2619
  162. package/dist/project-schema/latest.js +0 -7
  163. package/dist/project-schema/migrate.d.ts +0 -4
  164. package/dist/project-schema/migrate.js +0 -218
  165. package/dist/project-schema/v1.0.0.d.ts +0 -299
  166. package/dist/project-schema/v1.0.0.js +0 -7
  167. package/dist/project-schema/v3.0.0.d.ts +0 -478
  168. package/dist/project-schema/v3.0.0.js +0 -7
  169. package/dist/project-schema/v3.1.0.d.ts +0 -621
  170. package/dist/project-schema/v3.1.0.js +0 -7
  171. package/dist/project-schema/v3.10.0.d.ts +0 -1201
  172. package/dist/project-schema/v3.10.0.js +0 -7
  173. package/dist/project-schema/v3.11.0.d.ts +0 -1210
  174. package/dist/project-schema/v3.11.0.js +0 -7
  175. package/dist/project-schema/v3.12.0.d.ts +0 -1214
  176. package/dist/project-schema/v3.12.0.js +0 -7
  177. package/dist/project-schema/v3.12.1.d.ts +0 -1273
  178. package/dist/project-schema/v3.12.1.js +0 -7
  179. package/dist/project-schema/v3.12.2.d.ts +0 -1283
  180. package/dist/project-schema/v3.12.2.js +0 -7
  181. package/dist/project-schema/v3.12.3.d.ts +0 -1306
  182. package/dist/project-schema/v3.12.3.js +0 -7
  183. package/dist/project-schema/v3.13.0.d.ts +0 -1317
  184. package/dist/project-schema/v3.13.0.js +0 -7
  185. package/dist/project-schema/v3.13.1.d.ts +0 -1412
  186. package/dist/project-schema/v3.13.1.js +0 -7
  187. package/dist/project-schema/v3.14.0.d.ts +0 -1436
  188. package/dist/project-schema/v3.14.0.js +0 -7
  189. package/dist/project-schema/v3.15.0.d.ts +0 -1458
  190. package/dist/project-schema/v3.15.0.js +0 -7
  191. package/dist/project-schema/v3.16.0.d.ts +0 -1470
  192. package/dist/project-schema/v3.16.0.js +0 -7
  193. package/dist/project-schema/v3.17.0.d.ts +0 -1467
  194. package/dist/project-schema/v3.17.0.js +0 -7
  195. package/dist/project-schema/v3.17.1.d.ts +0 -1468
  196. package/dist/project-schema/v3.17.1.js +0 -7
  197. package/dist/project-schema/v3.18.0.d.ts +0 -1333
  198. package/dist/project-schema/v3.18.0.js +0 -7
  199. package/dist/project-schema/v3.18.1.d.ts +0 -1332
  200. package/dist/project-schema/v3.18.1.js +0 -7
  201. package/dist/project-schema/v3.18.2.d.ts +0 -1332
  202. package/dist/project-schema/v3.18.2.js +0 -7
  203. package/dist/project-schema/v3.19.0.d.ts +0 -1336
  204. package/dist/project-schema/v3.19.0.js +0 -7
  205. package/dist/project-schema/v3.2.0.d.ts +0 -632
  206. package/dist/project-schema/v3.2.0.js +0 -7
  207. package/dist/project-schema/v3.20.0.d.ts +0 -1336
  208. package/dist/project-schema/v3.20.0.js +0 -7
  209. package/dist/project-schema/v3.21.0.d.ts +0 -1338
  210. package/dist/project-schema/v3.21.0.js +0 -7
  211. package/dist/project-schema/v3.22.0.d.ts +0 -1344
  212. package/dist/project-schema/v3.22.0.js +0 -7
  213. package/dist/project-schema/v3.23.0.d.ts +0 -1376
  214. package/dist/project-schema/v3.23.0.js +0 -7
  215. package/dist/project-schema/v3.24.0.d.ts +0 -1364
  216. package/dist/project-schema/v3.24.0.js +0 -7
  217. package/dist/project-schema/v3.25.0.d.ts +0 -1363
  218. package/dist/project-schema/v3.25.0.js +0 -7
  219. package/dist/project-schema/v3.26.0.d.ts +0 -1388
  220. package/dist/project-schema/v3.26.0.js +0 -7
  221. package/dist/project-schema/v3.27.0.d.ts +0 -1397
  222. package/dist/project-schema/v3.27.0.js +0 -7
  223. package/dist/project-schema/v3.28.0.d.ts +0 -1416
  224. package/dist/project-schema/v3.28.0.js +0 -7
  225. package/dist/project-schema/v3.29.0.d.ts +0 -1423
  226. package/dist/project-schema/v3.29.0.js +0 -7
  227. package/dist/project-schema/v3.3.0.d.ts +0 -632
  228. package/dist/project-schema/v3.3.0.js +0 -7
  229. package/dist/project-schema/v3.30.0.d.ts +0 -1416
  230. package/dist/project-schema/v3.30.0.js +0 -7
  231. package/dist/project-schema/v3.31.0.d.ts +0 -1448
  232. package/dist/project-schema/v3.31.0.js +0 -7
  233. package/dist/project-schema/v3.32.0.d.ts +0 -1439
  234. package/dist/project-schema/v3.32.0.js +0 -7
  235. package/dist/project-schema/v3.33.0.d.ts +0 -1445
  236. package/dist/project-schema/v3.33.0.js +0 -7
  237. package/dist/project-schema/v3.34.0.d.ts +0 -1445
  238. package/dist/project-schema/v3.34.0.js +0 -7
  239. package/dist/project-schema/v3.35.0.d.ts +0 -1464
  240. package/dist/project-schema/v3.35.0.js +0 -7
  241. package/dist/project-schema/v3.36.0.d.ts +0 -1470
  242. package/dist/project-schema/v3.36.0.js +0 -7
  243. package/dist/project-schema/v3.37.0.d.ts +0 -1522
  244. package/dist/project-schema/v3.37.0.js +0 -7
  245. package/dist/project-schema/v3.38.0.d.ts +0 -1522
  246. package/dist/project-schema/v3.38.0.js +0 -7
  247. package/dist/project-schema/v3.39.0.d.ts +0 -1529
  248. package/dist/project-schema/v3.39.0.js +0 -7
  249. package/dist/project-schema/v3.4.0.d.ts +0 -624
  250. package/dist/project-schema/v3.4.0.js +0 -7
  251. package/dist/project-schema/v3.40.0.d.ts +0 -1530
  252. package/dist/project-schema/v3.40.0.js +0 -7
  253. package/dist/project-schema/v3.41.0.d.ts +0 -1530
  254. package/dist/project-schema/v3.41.0.js +0 -7
  255. package/dist/project-schema/v3.42.0.d.ts +0 -1534
  256. package/dist/project-schema/v3.42.0.js +0 -7
  257. package/dist/project-schema/v3.43.0.d.ts +0 -1536
  258. package/dist/project-schema/v3.43.0.js +0 -7
  259. package/dist/project-schema/v3.44.0.d.ts +0 -1621
  260. package/dist/project-schema/v3.44.0.js +0 -7
  261. package/dist/project-schema/v3.45.0.d.ts +0 -1650
  262. package/dist/project-schema/v3.45.0.js +0 -7
  263. package/dist/project-schema/v3.46.0.d.ts +0 -1703
  264. package/dist/project-schema/v3.46.0.js +0 -7
  265. package/dist/project-schema/v3.47.0.d.ts +0 -1736
  266. package/dist/project-schema/v3.47.0.js +0 -7
  267. package/dist/project-schema/v3.48.0.d.ts +0 -2208
  268. package/dist/project-schema/v3.48.0.js +0 -7
  269. package/dist/project-schema/v3.49.0.d.ts +0 -2217
  270. package/dist/project-schema/v3.49.0.js +0 -7
  271. package/dist/project-schema/v3.5.0.d.ts +0 -649
  272. package/dist/project-schema/v3.5.0.js +0 -7
  273. package/dist/project-schema/v3.5.1.d.ts +0 -649
  274. package/dist/project-schema/v3.5.1.js +0 -7
  275. package/dist/project-schema/v3.50.0.d.ts +0 -2269
  276. package/dist/project-schema/v3.50.0.js +0 -7
  277. package/dist/project-schema/v3.51.0.d.ts +0 -2269
  278. package/dist/project-schema/v3.51.0.js +0 -7
  279. package/dist/project-schema/v3.52.0.d.ts +0 -2269
  280. package/dist/project-schema/v3.52.0.js +0 -7
  281. package/dist/project-schema/v3.53.0.d.ts +0 -2350
  282. package/dist/project-schema/v3.53.0.js +0 -7
  283. package/dist/project-schema/v3.54.0.d.ts +0 -2369
  284. package/dist/project-schema/v3.54.0.js +0 -7
  285. package/dist/project-schema/v3.55.0.d.ts +0 -2369
  286. package/dist/project-schema/v3.55.0.js +0 -7
  287. package/dist/project-schema/v3.56.0.d.ts +0 -2405
  288. package/dist/project-schema/v3.56.0.js +0 -7
  289. package/dist/project-schema/v3.57.0.d.ts +0 -2601
  290. package/dist/project-schema/v3.57.0.js +0 -7
  291. package/dist/project-schema/v3.58.0.d.ts +0 -2601
  292. package/dist/project-schema/v3.58.0.js +0 -7
  293. package/dist/project-schema/v3.59.0.d.ts +0 -2619
  294. package/dist/project-schema/v3.59.0.js +0 -7
  295. package/dist/project-schema/v3.6.0.d.ts +0 -658
  296. package/dist/project-schema/v3.6.0.js +0 -7
  297. package/dist/project-schema/v3.7.0.d.ts +0 -961
  298. package/dist/project-schema/v3.7.0.js +0 -7
  299. package/dist/project-schema/v3.8.0.d.ts +0 -979
  300. package/dist/project-schema/v3.8.0.js +0 -7
  301. package/dist/project-schema/v3.9.0.d.ts +0 -1178
  302. package/dist/project-schema/v3.9.0.js +0 -7
  303. package/dist/project-schema/v4.0.0.d.ts +0 -1328
  304. package/dist/project-schema/v4.0.0.js +0 -7
  305. package/dist/refs.d.ts +0 -218
  306. package/dist/refs.js +0 -616
  307. package/dist/relationships.d.ts +0 -40
  308. package/dist/relationships.js +0 -302
  309. package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
  310. package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
  311. package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
  312. package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
  313. package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
  314. package/dist/resolvers/ai/agent-chat-args.js +0 -14
  315. package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
  316. package/dist/resolvers/ai/agent-chat-payload.js +0 -26
  317. package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
  318. package/dist/resolvers/ai/agent-chat-response.js +0 -21
  319. package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
  320. package/dist/resolvers/ai/agent-generate-args.js +0 -14
  321. package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
  322. package/dist/resolvers/ai/agent-message-input.js +0 -39
  323. package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
  324. package/dist/resolvers/ai/agent-message-output.js +0 -77
  325. package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
  326. package/dist/resolvers/ai/agent-message-payload.js +0 -156
  327. package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
  328. package/dist/resolvers/ai/agent-run-mode.js +0 -9
  329. package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
  330. package/dist/resolvers/ai/agent-session-payload.js +0 -175
  331. package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
  332. package/dist/resolvers/ai/create-agent-session-response.js +0 -9
  333. package/dist/resolvers/ai/embedding-search.d.ts +0 -54
  334. package/dist/resolvers/ai/embedding-search.js +0 -46
  335. package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
  336. package/dist/resolvers/ai/get-agent-message-args.js +0 -13
  337. package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
  338. package/dist/resolvers/ai/get-agent-message-response.js +0 -63
  339. package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
  340. package/dist/resolvers/ai/inspect-agent-args.js +0 -13
  341. package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
  342. package/dist/resolvers/ai/inspect-agent-response.js +0 -48
  343. package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
  344. package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
  345. package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
  346. package/dist/resolvers/ai/send-agent-message-args.js +0 -36
  347. package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
  348. package/dist/resolvers/ai/send-agent-message-response.js +0 -51
  349. package/dist/resolvers/ai/types.d.ts +0 -6
  350. package/dist/resolvers/ai/types.js +0 -1
  351. package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
  352. package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
  353. package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
  354. package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
  355. package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
  356. package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
  357. package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
  358. package/dist/resolvers/takeshape/assets/asset.js +0 -107
  359. package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
  360. package/dist/resolvers/takeshape/assets/constants.js +0 -11
  361. package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
  362. package/dist/resolvers/takeshape/builtins/constants.js +0 -1
  363. package/dist/runtime-schema.d.ts +0 -6
  364. package/dist/runtime-schema.js +0 -85
  365. package/dist/scalars.d.ts +0 -2
  366. package/dist/scalars.js +0 -4
  367. package/dist/schema-transform.d.ts +0 -19
  368. package/dist/schema-transform.js +0 -74
  369. package/dist/schema-util.d.ts +0 -266
  370. package/dist/schema-util.js +0 -1127
  371. package/dist/schemas/auth-schemas.json +0 -374
  372. package/dist/schemas/index.d.ts +0 -4
  373. package/dist/schemas/index.js +0 -170
  374. package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
  375. package/dist/schemas/project-schema/latest.d.ts +0 -180
  376. package/dist/schemas/project-schema/latest.js +0 -11
  377. package/dist/schemas/project-schema/latest.json +0 -4846
  378. package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  379. package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  380. package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  381. package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  382. package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  383. package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  384. package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  385. package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  386. package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  387. package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  388. package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  389. package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  390. package/dist/schemas/project-schema/v1.0.0.json +0 -321
  391. package/dist/schemas/project-schema/v3.0.0.json +0 -414
  392. package/dist/schemas/project-schema/v3.1.0.json +0 -572
  393. package/dist/schemas/project-schema/v3.10.0.json +0 -2097
  394. package/dist/schemas/project-schema/v3.11.0.json +0 -2141
  395. package/dist/schemas/project-schema/v3.12.0.json +0 -2144
  396. package/dist/schemas/project-schema/v3.12.1.json +0 -2282
  397. package/dist/schemas/project-schema/v3.12.2.json +0 -2304
  398. package/dist/schemas/project-schema/v3.12.3.json +0 -2357
  399. package/dist/schemas/project-schema/v3.13.0.json +0 -2377
  400. package/dist/schemas/project-schema/v3.14.0.json +0 -2385
  401. package/dist/schemas/project-schema/v3.15.0.json +0 -2365
  402. package/dist/schemas/project-schema/v3.16.0.json +0 -2373
  403. package/dist/schemas/project-schema/v3.17.0.json +0 -2378
  404. package/dist/schemas/project-schema/v3.17.1.json +0 -2380
  405. package/dist/schemas/project-schema/v3.18.0.json +0 -2356
  406. package/dist/schemas/project-schema/v3.18.1.json +0 -2357
  407. package/dist/schemas/project-schema/v3.18.2.json +0 -2357
  408. package/dist/schemas/project-schema/v3.19.0.json +0 -2369
  409. package/dist/schemas/project-schema/v3.2.0.json +0 -580
  410. package/dist/schemas/project-schema/v3.20.0.json +0 -2369
  411. package/dist/schemas/project-schema/v3.21.0.json +0 -2376
  412. package/dist/schemas/project-schema/v3.22.0.json +0 -2381
  413. package/dist/schemas/project-schema/v3.23.0.json +0 -2456
  414. package/dist/schemas/project-schema/v3.24.0.json +0 -2556
  415. package/dist/schemas/project-schema/v3.25.0.json +0 -2552
  416. package/dist/schemas/project-schema/v3.26.0.json +0 -2599
  417. package/dist/schemas/project-schema/v3.27.0.json +0 -2611
  418. package/dist/schemas/project-schema/v3.28.0.json +0 -2656
  419. package/dist/schemas/project-schema/v3.29.0.json +0 -2670
  420. package/dist/schemas/project-schema/v3.3.0.json +0 -581
  421. package/dist/schemas/project-schema/v3.30.0.json +0 -2656
  422. package/dist/schemas/project-schema/v3.31.0.json +0 -2714
  423. package/dist/schemas/project-schema/v3.32.0.json +0 -2708
  424. package/dist/schemas/project-schema/v3.33.0.json +0 -2715
  425. package/dist/schemas/project-schema/v3.34.0.json +0 -2715
  426. package/dist/schemas/project-schema/v3.35.0.json +0 -2748
  427. package/dist/schemas/project-schema/v3.36.0.json +0 -2756
  428. package/dist/schemas/project-schema/v3.37.0.json +0 -2821
  429. package/dist/schemas/project-schema/v3.38.0.json +0 -2819
  430. package/dist/schemas/project-schema/v3.39.0.json +0 -2827
  431. package/dist/schemas/project-schema/v3.4.0.json +0 -571
  432. package/dist/schemas/project-schema/v3.40.0.json +0 -2830
  433. package/dist/schemas/project-schema/v3.41.0.json +0 -2830
  434. package/dist/schemas/project-schema/v3.42.0.json +0 -2835
  435. package/dist/schemas/project-schema/v3.43.0.json +0 -2841
  436. package/dist/schemas/project-schema/v3.44.0.json +0 -3013
  437. package/dist/schemas/project-schema/v3.45.0.json +0 -3064
  438. package/dist/schemas/project-schema/v3.46.0.json +0 -3136
  439. package/dist/schemas/project-schema/v3.47.0.json +0 -3189
  440. package/dist/schemas/project-schema/v3.48.0.json +0 -3196
  441. package/dist/schemas/project-schema/v3.49.0.json +0 -3239
  442. package/dist/schemas/project-schema/v3.5.0.json +0 -571
  443. package/dist/schemas/project-schema/v3.5.1.json +0 -571
  444. package/dist/schemas/project-schema/v3.50.0.json +0 -3320
  445. package/dist/schemas/project-schema/v3.51.0.json +0 -3326
  446. package/dist/schemas/project-schema/v3.52.0.json +0 -3326
  447. package/dist/schemas/project-schema/v3.53.0.json +0 -3476
  448. package/dist/schemas/project-schema/v3.54.0.json +0 -3512
  449. package/dist/schemas/project-schema/v3.55.0.json +0 -3515
  450. package/dist/schemas/project-schema/v3.56.0.json +0 -3530
  451. package/dist/schemas/project-schema/v3.57.0.json +0 -4815
  452. package/dist/schemas/project-schema/v3.58.0.json +0 -4815
  453. package/dist/schemas/project-schema/v3.59.0.json +0 -4846
  454. package/dist/schemas/project-schema/v3.6.0.json +0 -587
  455. package/dist/schemas/project-schema/v3.7.0.json +0 -587
  456. package/dist/schemas/project-schema/v3.8.0.json +0 -604
  457. package/dist/schemas/project-schema/v3.9.0.json +0 -604
  458. package/dist/schemas/project-schema/v4.0.0.json +0 -2316
  459. package/dist/schemas/project-schema.json +0 -214
  460. package/dist/service-dependencies.d.ts +0 -13
  461. package/dist/service-dependencies.js +0 -165
  462. package/dist/services/services.d.ts +0 -31
  463. package/dist/services/services.js +0 -145
  464. package/dist/services/types.d.ts +0 -11
  465. package/dist/services/types.js +0 -1
  466. package/dist/services/util.d.ts +0 -16
  467. package/dist/services/util.js +0 -36
  468. package/dist/shape-paths.d.ts +0 -7
  469. package/dist/shape-paths.js +0 -28
  470. package/dist/taxonomies.d.ts +0 -15
  471. package/dist/taxonomies.js +0 -24
  472. package/dist/template-shapes/index.d.ts +0 -7
  473. package/dist/template-shapes/index.js +0 -33
  474. package/dist/template-shapes/names.d.ts +0 -10
  475. package/dist/template-shapes/names.js +0 -21
  476. package/dist/template-shapes/templates.d.ts +0 -32
  477. package/dist/template-shapes/templates.js +0 -316
  478. package/dist/template-shapes/types.d.ts +0 -15
  479. package/dist/template-shapes/types.js +0 -7
  480. package/dist/template-shapes/where.d.ts +0 -37
  481. package/dist/template-shapes/where.js +0 -400
  482. package/dist/types/index.d.ts +0 -3
  483. package/dist/types/index.js +0 -2
  484. package/dist/types/transforms.d.ts +0 -15
  485. package/dist/types/transforms.js +0 -1
  486. package/dist/types/types.d.ts +0 -200
  487. package/dist/types/types.js +0 -10
  488. package/dist/types/utils.d.ts +0 -112
  489. package/dist/types/utils.js +0 -269
  490. package/dist/unions.d.ts +0 -14
  491. package/dist/unions.js +0 -77
  492. package/dist/util/ai-tools.d.ts +0 -2
  493. package/dist/util/ai-tools.js +0 -14
  494. package/dist/util/api-indexing.d.ts +0 -9
  495. package/dist/util/api-indexing.js +0 -57
  496. package/dist/util/coerce-value.d.ts +0 -9
  497. package/dist/util/coerce-value.js +0 -32
  498. package/dist/util/detect-cycles.d.ts +0 -7
  499. package/dist/util/detect-cycles.js +0 -45
  500. package/dist/util/expressions.d.ts +0 -34
  501. package/dist/util/expressions.js +0 -350
  502. package/dist/util/find-shape-at-path.d.ts +0 -21
  503. package/dist/util/find-shape-at-path.js +0 -53
  504. package/dist/util/form-config.d.ts +0 -11
  505. package/dist/util/form-config.js +0 -62
  506. package/dist/util/get-conflicting-properties.d.ts +0 -6
  507. package/dist/util/get-conflicting-properties.js +0 -55
  508. package/dist/util/get-return-shape.d.ts +0 -4
  509. package/dist/util/get-return-shape.js +0 -30
  510. package/dist/util/has-arg.d.ts +0 -6
  511. package/dist/util/has-arg.js +0 -25
  512. package/dist/util/is-asset-property.d.ts +0 -3
  513. package/dist/util/is-asset-property.js +0 -11
  514. package/dist/util/mcp.d.ts +0 -8
  515. package/dist/util/mcp.js +0 -21
  516. package/dist/util/merge.d.ts +0 -15
  517. package/dist/util/merge.js +0 -254
  518. package/dist/util/patch-schema.d.ts +0 -8
  519. package/dist/util/patch-schema.js +0 -51
  520. package/dist/util/query-field-path.d.ts +0 -9
  521. package/dist/util/query-field-path.js +0 -23
  522. package/dist/util/shapes.d.ts +0 -5
  523. package/dist/util/shapes.js +0 -22
  524. package/dist/validate/ai.d.ts +0 -6
  525. package/dist/validate/ai.js +0 -183
  526. package/dist/validate/errors.d.ts +0 -3
  527. package/dist/validate/errors.js +0 -20
  528. package/dist/validate/types.d.ts +0 -1
  529. package/dist/validate/types.js +0 -1
  530. package/dist/validate/util.d.ts +0 -3
  531. package/dist/validate/util.js +0 -28
  532. package/dist/validate/validate.d.ts +0 -80
  533. package/dist/validate/validate.js +0 -1058
  534. package/dist/versions.d.ts +0 -4
  535. package/dist/versions.js +0 -4
  536. package/dist/workflows.d.ts +0 -14
  537. package/dist/workflows.js +0 -66
@@ -1,1536 +0,0 @@
1
- /**
2
- * This file was automatically generated by json-schema-to-typescript.
3
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
- * and run json-schema-to-typescript to regenerate this file.
5
- */
6
- /**
7
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
8
- * via the `definition` "args".
9
- */
10
- export type ArgsV3_43_0 = string | ObjectSchemaV3_43_0;
11
- /**
12
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
13
- * via the `definition` "objectSchema".
14
- */
15
- export type ObjectSchemaV3_43_0 = PropertySchemaV3_43_0 & {
16
- type: 'object';
17
- properties: {
18
- [k: string]: PropertySchemaV3_43_0;
19
- };
20
- };
21
- /**
22
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
23
- * via the `definition` "nonNegativeInteger".
24
- */
25
- export type NonNegativeIntegerV3_43_0 = number;
26
- /**
27
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
28
- * via the `definition` "nonNegativeIntegerDefault0".
29
- */
30
- export type NonNegativeIntegerDefault0V3_43_0 = NonNegativeIntegerV3_43_0;
31
- /**
32
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
33
- * via the `definition` "stringArray".
34
- */
35
- export type StringArrayV3_43_0 = string[];
36
- /**
37
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
38
- * via the `definition` "simpleTypes".
39
- */
40
- export type SimpleTypesV3_43_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
- /**
42
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
43
- * via the `definition` "schemaArray".
44
- */
45
- export type SchemaArrayV3_43_0 = PropertySchemaV3_43_0[];
46
- /**
47
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
48
- * via the `definition` "ref".
49
- */
50
- export type RefV3_43_0 = string;
51
- /**
52
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
53
- * via the `definition` "objectOrRefArray".
54
- */
55
- export type ObjectOrRefArrayV3_43_0 = (RefSchemaV3_43_0 | RefSchemaLegacyV3_43_0 | ObjectSchemaV3_43_0)[];
56
- /**
57
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
58
- * via the `definition` "fieldMapping".
59
- */
60
- export type FieldMappingV3_43_0 = MappingStringV3_43_0 | MappingStringV3_43_0[];
61
- /**
62
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
63
- * via the `definition` "mappingString".
64
- */
65
- export type MappingStringV3_43_0 = string;
66
- /**
67
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
68
- * via the `definition` "resolver".
69
- */
70
- export type ResolverV3_43_0 = BasicResolverV3_43_0 | ComposeResolverV3_43_0;
71
- /**
72
- * A single resolver, can be composed with the ComposeResolver.
73
- *
74
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
75
- * via the `definition` "basicResolver".
76
- */
77
- export type BasicResolverV3_43_0 = UtilResolverV3_43_0 | DelegateResolverV3_43_0 | TakeshapeResolverV3_43_0 | ShapedbResolverV3_43_0 | ShapedbResolverShapeNameNotRequiredV3_43_0 | GraphqlResolverV3_43_0 | RestResolverV3_43_0 | AwsLambdaResolverV3_43_0 | SalsifyResolverV3_43_0;
78
- /**
79
- * Name of the resolver function.
80
- */
81
- export type UtilResolverNameV3_43_0 = 'util:noop' | 'util:wrap';
82
- /**
83
- * An object describing an operation to generate a parameter.
84
- *
85
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
86
- * via the `definition` "parameterOp".
87
- */
88
- export type ParameterOpV3_43_0 = ParameterOpNestedV3_43_0 | ParameterOpValueV3_43_0 | ParameterOpMappingV3_43_0 | ParameterOpOpV3_43_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_43_0`'s JSON-Schema
93
- * via the `definition` "directiveConfigItem".
94
- */
95
- export type DirectiveConfigItemV3_43_0 = [DirectiveNameV3_43_0, DirectiveOptionsV3_43_0];
96
- export type DirectiveNameV3_43_0 = string;
97
- /**
98
- * An array of individual directive config items to process in order
99
- *
100
- * This interface was referenced by `DirectiveMappingMapV3_43_0`'s JSON-Schema definition
101
- * via the `patternProperty` "[0-9A-Za-z_-]+".
102
- *
103
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
104
- * via the `definition` "directiveConfig".
105
- */
106
- export type DirectiveConfigV3_43_0 = DirectiveConfigItemV3_43_0[];
107
- /**
108
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
109
- * via the `definition` "parameterOpList".
110
- */
111
- export type ParameterOpListV3_43_0 = ParameterOpV3_43_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_43_0`'s JSON-Schema
116
- * via the `definition` "argsMapping".
117
- */
118
- export type ArgsMappingV3_43_0 = DirectiveMappingMapV3_43_0 | DirectiveConfigV3_43_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_43_0`'s JSON-Schema
123
- * via the `definition` "resultsMapping".
124
- */
125
- export type ResultsMappingV3_43_0 = DirectiveMappingMapV3_43_0 | DirectiveConfigV3_43_0;
126
- /**
127
- * Name of the resolver function.
128
- */
129
- export type DelegateResolverNameV3_43_0 = 'delegate';
130
- /**
131
- * Name of the resolver function.
132
- */
133
- export type TakeshapeResolverNameV3_43_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
- /**
135
- * Name of the resolver function.
136
- */
137
- export type ShapedbResolverNameV3_43_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_43_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
- /**
143
- * Name of the resolver function.
144
- */
145
- export type GraphqlResolverNameV3_43_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
- /**
147
- * Name of the resolver function.
148
- */
149
- export type RestResolverNameV3_43_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_43_0`'s JSON-Schema
154
- * via the `definition` "directiveMappingArrayItem".
155
- */
156
- export type DirectiveMappingArrayItemV3_43_0 = [string, DirectiveConfigV3_43_0];
157
- /**
158
- * An array of key / value or directive config tuples
159
- */
160
- export type SearchParamsMappingV3_43_0 = DirectiveMappingArrayItemV3_43_0[];
161
- /**
162
- * Name of the resolver function.
163
- */
164
- export type AwsLambdaResolverNameV3_43_0 = 'awsLambda:invoke';
165
- /**
166
- * Name of the resolver function.
167
- */
168
- export type SalsifyResolverNameV3_43_0 = 'salsify:listChannelProducts';
169
- /**
170
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
171
- * via the `definition` "dependencies".
172
- */
173
- export type DependenciesV3_43_0 = string;
174
- /**
175
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
176
- * via the `definition` "returnShape".
177
- */
178
- export type ReturnShapeV3_43_0 = string | ReturnShapeArraySchemaV3_43_0;
179
- /**
180
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
181
- * via the `definition` "returnShapeArraySchema".
182
- */
183
- export type ReturnShapeArraySchemaV3_43_0 = PropertySchemaV3_43_0 & {
184
- type: 'array';
185
- items: RefSchemaV3_43_0 | {
186
- type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
187
- [k: string]: any;
188
- };
189
- };
190
- export type ModelTypeV3_43_0 = 'single' | 'multiple' | 'taxonomy';
191
- /**
192
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
193
- * via the `definition` "paginationConfig".
194
- */
195
- export type PaginationConfigV3_43_0 = PaginationCursorConfigV3_43_0 | PaginationPageConfigV3_43_0 | PaginationOffsetConfigV3_43_0;
196
- /**
197
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
198
- * via the `definition` "cacheTriggerConfig".
199
- */
200
- export type CacheTriggerConfigV3_43_0 = CacheScheduleTriggerConfigV3_43_0 | CacheWebhookTriggerConfigV3_43_0;
201
- /**
202
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
203
- * via the `definition` "shapeSchema".
204
- */
205
- export type ShapeSchemaV3_43_0 = ShapeSchemaAllOfV3_43_0 | ShapeSchemaExtendsV3_43_0 | ShapeSchemaOneOfV3_43_0 | ShapeSchemaEnumV3_43_0 | ObjectSchemaV3_43_0 | ShapeSchemaAnyV3_43_0;
206
- /**
207
- * Human-readable id for use in the UI
208
- */
209
- export type WorkflowNameV3_43_0 = string;
210
- /**
211
- * machine-readable slug
212
- */
213
- export type NameV3_43_0 = string;
214
- /**
215
- * Human-readable id for use in the UI
216
- */
217
- export type TitleV3_43_0 = string;
218
- export type DescriptionV3_43_0 = string;
219
- /**
220
- * Hex color code
221
- */
222
- export type ColorV3_43_0 = string;
223
- /**
224
- * Value to indicate whether items in the state should be returned in list queries
225
- */
226
- export type LiveV3_43_0 = boolean;
227
- /**
228
- * machine-readable id
229
- */
230
- export type KeyV3_43_0 = string;
231
- export type StepsV3_43_0 = WorkflowStepV3_43_0[];
232
- /**
233
- * The general type of this service, specifying how and where it will be utilized.
234
- *
235
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
236
- * via the `definition` "serviceType".
237
- */
238
- export type ServiceTypeV3_43_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
239
- /**
240
- * The name of a health check to run
241
- */
242
- export type CheckNameV3_43_0 = 'graphqlIntrospection' | 'ping' | 'none';
243
- /**
244
- * The endpoint to use when checking the service health.
245
- */
246
- export type EndpointV3_43_0 = string;
247
- /**
248
- * A custom method to use for the health check request.
249
- */
250
- export type RequestMethodV3_43_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
251
- /**
252
- * A custom body to send along with the ping request.
253
- */
254
- export type RequestBodyV3_43_0 = string;
255
- /**
256
- * A custom body to send along with the ping request.
257
- */
258
- export type RequestBodyFormatV3_43_0 = 'string' | 'form' | 'json';
259
- /**
260
- * The amount of time to wait when receiving a response from the health check, in seconds.
261
- */
262
- export type RequestTimeoutV3_43_0 = number;
263
- /**
264
- * The response status code that qualifies as healthy.
265
- */
266
- export type HealthyResponseStatusCodeV3_43_0 = number;
267
- /**
268
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
269
- * via the `definition` "allOfSchema".
270
- */
271
- export type AllOfSchemaV3_43_0 = PropertySchemaV3_43_0 & {
272
- allOf: ObjectOrRefArrayV3_43_0;
273
- };
274
- /**
275
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
276
- * via the `definition` "extendsSchema".
277
- */
278
- export type ExtendsSchemaV3_43_0 = PropertySchemaV3_43_0 & {
279
- extends: ObjectOrRefArrayV3_43_0;
280
- };
281
- /**
282
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
283
- * via the `definition` "oneOfSchema".
284
- */
285
- export type OneOfSchemaV3_43_0 = PropertySchemaV3_43_0 & {
286
- oneOf: ObjectOrRefArrayV3_43_0;
287
- };
288
- /**
289
- * Options to be passed to the serialization routine.
290
- *
291
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
292
- * via the `definition` "parameterSerializeOptions".
293
- *
294
- * This interface was referenced by `undefined`'s JSON-Schema definition
295
- * via the `patternProperty` "^[^\n\r]*$".
296
- */
297
- export type ParameterSerializeOptionsV3_43_0 = ParameterSerializeStyleOptionsV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
298
- /**
299
- * An array of key / value or directive config tuples
300
- *
301
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
302
- * via the `definition` "directiveMappingArray".
303
- */
304
- export type DirectiveMappingArrayV3_43_0 = DirectiveMappingArrayItemV3_43_0[];
305
- /**
306
- * A resolver which references a specific service
307
- *
308
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
309
- * via the `definition` "serviceResolver".
310
- */
311
- export type ServiceResolverV3_43_0 = TakeshapeResolverV3_43_0 | ShapedbResolverShapeNameNotRequiredV3_43_0 | ShapedbResolverV3_43_0 | GraphqlResolverV3_43_0 | RestResolverV3_43_0 | AwsLambdaResolverV3_43_0;
312
- /**
313
- * An array of key / value or directive config tuples
314
- *
315
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
316
- * via the `definition` "searchParamsMapping".
317
- */
318
- export type SearchParamsMappingV3_43_01 = DirectiveMappingArrayItemV3_43_0[];
319
- /**
320
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
321
- * via the `definition` "shapeWithObjectSchema".
322
- */
323
- export type ShapeWithObjectSchemaV3_43_0 = ShapeJSONV3_43_0 & {
324
- schema: ObjectSchemaV3_43_0;
325
- };
326
- /**
327
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
328
- * via the `definition` "serviceAuthentication".
329
- */
330
- export type ServiceAuthenticationV3_43_0 = OAuth2AuthenticationV3_43_0 | OAuth2BearerAuthenticationV3_43_0 | BearerAuthenticationV3_43_0 | BasicAuthenticationV3_43_0 | SearchParamsAuthenticationV3_43_0 | AWSAuthenticationV3_43_0 | CustomAuthenticationV3_43_0;
331
- /**
332
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
333
- * via the `definition` "anyServiceConfig".
334
- */
335
- export type AnyServiceConfigV3_43_0 = ServiceConfigJSONV3_43_0 | ServiceConfigV3_43_0;
336
- export interface ProjectSchemaJSONV3_43_0 {
337
- $schema?: string;
338
- /**
339
- * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
340
- */
341
- apiVersion: string;
342
- /**
343
- * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
344
- */
345
- schemaVersion: '3.43.0';
346
- /**
347
- * The ID of the TakeShape project this schema belongs to.
348
- */
349
- projectId: string;
350
- /**
351
- * The ID of the TakeShape user who created the schema.
352
- */
353
- author?: string;
354
- deactivated?: number;
355
- /**
356
- * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
357
- */
358
- defaultLocale: string;
359
- locales: string[];
360
- queries: QueryMapV3_43_0;
361
- mutations: QueryMapV3_43_0;
362
- shapes: ShapeMapV3_43_0;
363
- forms?: FormMapV3_43_0;
364
- workflows: WorkflowMapV3_43_0;
365
- services?: ServiceMapJSONV3_43_0;
366
- }
367
- /**
368
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
369
- * via the `definition` "queryMap".
370
- */
371
- export interface QueryMapV3_43_0 {
372
- [k: string]: QueryJSONV3_43_0;
373
- }
374
- /**
375
- * This interface was referenced by `QueryMapV3_43_0`'s JSON-Schema definition
376
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
377
- *
378
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
379
- * via the `definition` "query".
380
- */
381
- export interface QueryJSONV3_43_0 {
382
- args?: ArgsV3_43_0;
383
- resolver: ResolverV3_43_0;
384
- shape: ReturnShapeV3_43_0;
385
- /**
386
- * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
387
- */
388
- description?: string;
389
- }
390
- /**
391
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
392
- * via the `definition` "propertySchema".
393
- */
394
- export interface PropertySchemaV3_43_0 {
395
- $ref?: string;
396
- title?: string;
397
- description?: string;
398
- default?: any;
399
- readOnly?: boolean;
400
- multipleOf?: number;
401
- maximum?: number;
402
- exclusiveMaximum?: number;
403
- minimum?: number;
404
- exclusiveMinimum?: number;
405
- maxLength?: NonNegativeIntegerV3_43_0;
406
- minLength?: NonNegativeIntegerDefault0V3_43_0;
407
- pattern?: string;
408
- additionalItems?: PropertySchemaV3_43_0;
409
- items?: PropertySchemaV3_43_0;
410
- maxItems?: NonNegativeIntegerV3_43_0;
411
- minItems?: NonNegativeIntegerDefault0V3_43_0;
412
- uniqueItems?: boolean;
413
- contains?: PropertySchemaV3_43_0;
414
- maxProperties?: NonNegativeIntegerV3_43_0;
415
- minProperties?: NonNegativeIntegerDefault0V3_43_0;
416
- required?: StringArrayV3_43_0;
417
- additionalProperties?: PropertySchemaV3_43_0 | false;
418
- definitions?: {
419
- [k: string]: PropertySchemaV3_43_0;
420
- };
421
- properties?: {
422
- [k: string]: PropertySchemaV3_43_0;
423
- };
424
- const?: any;
425
- enum?: any[];
426
- type?: SimpleTypesV3_43_0 | SimpleTypesV3_43_0[];
427
- format?: string;
428
- contentMediaType?: string;
429
- contentEncoding?: string;
430
- allOf?: SchemaArrayV3_43_0;
431
- discriminator?: {
432
- propertyName?: string;
433
- [k: string]: any;
434
- };
435
- oneOf?: SchemaArrayV3_43_0;
436
- extends?: ObjectOrRefArrayV3_43_0;
437
- '@backreference'?: BackReferenceV3_43_0;
438
- '@input'?: PropertySchemaV3_43_0;
439
- '@output'?: PropertySchemaV3_43_0;
440
- '@syncLocaleStructure'?: boolean;
441
- '@sensitive'?: boolean;
442
- '@draftjs'?: boolean;
443
- '@l10n'?: boolean;
444
- '@key'?: string;
445
- '@workflow'?: string;
446
- '@mapping'?: FieldMappingV3_43_0;
447
- '@tag'?: string;
448
- '@tags'?: string[];
449
- '@deprecationReason'?: string;
450
- '@args'?: ArgsV3_43_0;
451
- '@resolver'?: ResolverV3_43_0;
452
- '@dependencies'?: DependenciesV3_43_0;
453
- '@ref'?: RefV3_43_0;
454
- '@derivedFrom'?: string;
455
- '@indexed'?: IndexedV3_43_0;
456
- '@graphql'?: GraphQLConfigV3_43_0;
457
- }
458
- /**
459
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
460
- * via the `definition` "refSchema".
461
- */
462
- export interface RefSchemaV3_43_0 {
463
- '@ref': RefV3_43_0;
464
- [k: string]: any;
465
- }
466
- /**
467
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
468
- * via the `definition` "refSchemaLegacy".
469
- */
470
- export interface RefSchemaLegacyV3_43_0 {
471
- $ref: RefV3_43_0;
472
- [k: string]: any;
473
- }
474
- /**
475
- * A configuration object for a reverse reference in a relationship.
476
- *
477
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
478
- * via the `definition` "backreference".
479
- */
480
- export interface BackReferenceV3_43_0 {
481
- enabled: boolean;
482
- name?: string;
483
- }
484
- /**
485
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
486
- * via the `definition` "utilResolver".
487
- */
488
- export interface UtilResolverV3_43_0 {
489
- if?: string;
490
- id?: string;
491
- name: UtilResolverNameV3_43_0;
492
- options?: UtilResolverOptionsV3_43_0;
493
- args?: ParameterConfigForJsonV3_43_0;
494
- results?: ParameterConfigForJsonV3_43_0;
495
- argsMapping?: ArgsMappingV3_43_0;
496
- resultsMapping?: ResultsMappingV3_43_0;
497
- }
498
- export interface UtilResolverOptionsV3_43_0 {
499
- [k: string]: any;
500
- }
501
- /**
502
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
503
- * via the `definition` "parameterConfigForJson".
504
- */
505
- export interface ParameterConfigForJsonV3_43_0 {
506
- ops: ParameterOpListV3_43_0;
507
- }
508
- /**
509
- * An object describing an operation to generate a parameter, using a nested OpList.
510
- *
511
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
512
- * via the `definition` "parameterOpNested".
513
- */
514
- export interface ParameterOpNestedV3_43_0 {
515
- /**
516
- * A path to the parameter for this operation.
517
- */
518
- path: string;
519
- /**
520
- * A mode for this parameter's operation.
521
- */
522
- op?: 'set' | 'concat' | 'extend' | 'remove';
523
- ops: ParameterOpListV3_43_0;
524
- }
525
- /**
526
- * An object describing an operation to generate a parameter using a value.
527
- *
528
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
529
- * via the `definition` "parameterOpValue".
530
- */
531
- export interface ParameterOpValueV3_43_0 {
532
- /**
533
- * A path to the parameter for this operation.
534
- */
535
- path: string;
536
- /**
537
- * A mode for this parameter's operation.
538
- */
539
- op?: 'set' | 'concat' | 'extend' | 'remove';
540
- /**
541
- * A value to set directly at this path.
542
- */
543
- value: number | string | boolean | {
544
- [k: string]: any;
545
- } | any[] | null;
546
- }
547
- /**
548
- * An object describing an operation to generate a parameter using a mapping.
549
- *
550
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
551
- * via the `definition` "parameterOpMapping".
552
- */
553
- export interface ParameterOpMappingV3_43_0 {
554
- /**
555
- * A path to the parameter for this operation.
556
- */
557
- path: string;
558
- /**
559
- * A mode for this parameter's operation.
560
- */
561
- op?: 'set' | 'concat' | 'extend' | 'remove';
562
- /**
563
- * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
564
- */
565
- mapping: string | DirectiveConfigV3_43_0;
566
- }
567
- export interface DirectiveOptionsV3_43_0 {
568
- [k: string]: any;
569
- }
570
- /**
571
- * An object describing an operation to generate a parameter using a mapping.
572
- *
573
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
574
- * via the `definition` "parameterOpOp".
575
- */
576
- export interface ParameterOpOpV3_43_0 {
577
- /**
578
- * A path to the parameter for this operation.
579
- */
580
- path: string;
581
- /**
582
- * A mode for this parameter's operation.
583
- */
584
- op: 'set' | 'concat' | 'extend' | 'remove';
585
- }
586
- /**
587
- * An map of object keys / key paths to directive configs
588
- *
589
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
590
- * via the `definition` "directiveMappingMap".
591
- */
592
- export interface DirectiveMappingMapV3_43_0 {
593
- [k: string]: DirectiveConfigV3_43_0;
594
- }
595
- /**
596
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
597
- * via the `definition` "delegateResolver".
598
- */
599
- export interface DelegateResolverV3_43_0 {
600
- if?: string;
601
- id?: string;
602
- name: DelegateResolverNameV3_43_0;
603
- options?: DelegateResolverOptionsV3_43_0;
604
- argsMapping?: ArgsMappingV3_43_0;
605
- resultsMapping?: ResultsMappingV3_43_0;
606
- /**
607
- * A ref to a query/mutation/property to delegate to.
608
- */
609
- to: string;
610
- args?: ParameterConfigForJsonV3_43_0;
611
- results?: ParameterConfigForJsonV3_43_0;
612
- }
613
- export interface DelegateResolverOptionsV3_43_0 {
614
- [k: string]: any;
615
- }
616
- /**
617
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
618
- * via the `definition` "takeshapeResolver".
619
- */
620
- export interface TakeshapeResolverV3_43_0 {
621
- if?: string;
622
- id?: string;
623
- name: TakeshapeResolverNameV3_43_0;
624
- /**
625
- * Internal service identifier.
626
- */
627
- service: 'takeshape';
628
- options?: TakeshapeResolverOptionsV3_43_0;
629
- /**
630
- * An optional Shape name for the resolver.
631
- */
632
- shapeName?: string;
633
- args?: ParameterConfigForJsonV3_43_0;
634
- results?: ParameterConfigForJsonV3_43_0;
635
- argsMapping?: ArgsMappingV3_43_0;
636
- resultsMapping?: ResultsMappingV3_43_0;
637
- }
638
- export interface TakeshapeResolverOptionsV3_43_0 {
639
- [k: string]: any;
640
- }
641
- /**
642
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
643
- * via the `definition` "shapedbResolver".
644
- */
645
- export interface ShapedbResolverV3_43_0 {
646
- if?: string;
647
- id?: string;
648
- name: ShapedbResolverNameV3_43_0;
649
- /**
650
- * Internal service identifier.
651
- */
652
- service: 'shapedb';
653
- options?: ShapedbResolverOptionsV3_43_0;
654
- argsMapping?: ArgsMappingV3_43_0;
655
- resultsMapping?: ResultsMappingV3_43_0;
656
- /**
657
- * A Shape name for the resolver to use.
658
- */
659
- shapeName: string;
660
- args?: ParameterConfigForJsonV3_43_0;
661
- results?: ParameterConfigForJsonV3_43_0;
662
- }
663
- export interface ShapedbResolverOptionsV3_43_0 {
664
- [k: string]: any;
665
- }
666
- /**
667
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
668
- * via the `definition` "shapedbResolverShapeNameNotRequired".
669
- */
670
- export interface ShapedbResolverShapeNameNotRequiredV3_43_0 {
671
- if?: string;
672
- id?: string;
673
- name: ShapedbResolverShapeNameNotRequiredNameV3_43_0;
674
- /**
675
- * Internal service identifier.
676
- */
677
- service: 'shapedb';
678
- options?: ShapedbResolverShapeNameNotRequiredOptionsV3_43_0;
679
- /**
680
- * An optional Shape name for the resolver.
681
- */
682
- shapeName?: string;
683
- args?: ParameterConfigForJsonV3_43_0;
684
- results?: ParameterConfigForJsonV3_43_0;
685
- argsMapping?: ArgsMappingV3_43_0;
686
- resultsMapping?: ResultsMappingV3_43_0;
687
- }
688
- export interface ShapedbResolverShapeNameNotRequiredOptionsV3_43_0 {
689
- [k: string]: any;
690
- }
691
- /**
692
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
693
- * via the `definition` "graphqlResolver".
694
- */
695
- export interface GraphqlResolverV3_43_0 {
696
- if?: string;
697
- id?: string;
698
- name: GraphqlResolverNameV3_43_0;
699
- /**
700
- * Configuration for a service to use with this resolver.
701
- */
702
- service: string;
703
- argsMapping?: ArgsMappingV3_43_0;
704
- resultsMapping?: ResultsMappingV3_43_0;
705
- options?: GraphqlResolverOptionsV3_43_0;
706
- /**
707
- * A fieldname to use in queries.
708
- */
709
- fieldName: string;
710
- headers?: ParameterConfigForHeadersV3_43_0;
711
- searchParams?: ParameterConfigForSearchParamsV3_43_0;
712
- args?: ParameterConfigForJsonV3_43_0;
713
- results?: ParameterConfigForJsonV3_43_0;
714
- }
715
- export interface GraphqlResolverOptionsV3_43_0 {
716
- selectionSet?: string;
717
- unboxParentSelectionSet?: boolean;
718
- ignoreErrors?: boolean;
719
- skipWhenMissingArgs?: boolean;
720
- ttl?: number;
721
- timeout?: number;
722
- allowStream?: boolean;
723
- retry?: number | {
724
- [k: string]: any;
725
- };
726
- [k: string]: any;
727
- }
728
- /**
729
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
730
- * via the `definition` "parameterConfigForHeaders".
731
- */
732
- export interface ParameterConfigForHeadersV3_43_0 {
733
- ops: ParameterOpListV3_43_0;
734
- serialize?: ParameterSerializeConfigForHeadersV3_43_0;
735
- }
736
- /**
737
- * Top-level paths to use headers serialization options for.
738
- *
739
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
740
- * via the `definition` "parameterSerializeConfigForHeaders".
741
- */
742
- export interface ParameterSerializeConfigForHeadersV3_43_0 {
743
- defaults?: ParameterSerializeStyleOptionsForHeadersV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
744
- paths?: {
745
- /**
746
- * This interface was referenced by `undefined`'s JSON-Schema definition
747
- * via the `patternProperty` "^[^\n\r]*$".
748
- */
749
- [k: string]: ParameterSerializeStyleOptionsForHeadersV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
750
- };
751
- }
752
- /**
753
- * Options to be passed to the serialization routine.
754
- *
755
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
756
- * via the `definition` "parameterSerializeStyleOptionsForHeaders".
757
- */
758
- export interface ParameterSerializeStyleOptionsForHeadersV3_43_0 {
759
- style: 'simple' | 'none';
760
- explode?: boolean;
761
- }
762
- /**
763
- * Options to be passed to the serialization routine.
764
- *
765
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
766
- * via the `definition` "parameterSerializeContentOptions".
767
- */
768
- export interface ParameterSerializeContentOptionsV3_43_0 {
769
- contentType: string;
770
- /**
771
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
772
- */
773
- allowReserved?: boolean;
774
- skipEncoding?: boolean;
775
- /**
776
- * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
777
- */
778
- options?: {
779
- [k: string]: any;
780
- };
781
- }
782
- /**
783
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
784
- * via the `definition` "parameterConfigForSearchParams".
785
- */
786
- export interface ParameterConfigForSearchParamsV3_43_0 {
787
- ops: ParameterOpListV3_43_0;
788
- serialize?: ParameterSerializeConfigForSearchParamsV3_43_0;
789
- }
790
- /**
791
- * Top-level paths to use search params serialization options for.
792
- *
793
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
794
- * via the `definition` "parameterSerializeConfigForSearchParams".
795
- */
796
- export interface ParameterSerializeConfigForSearchParamsV3_43_0 {
797
- defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
798
- paths?: {
799
- /**
800
- * This interface was referenced by `undefined`'s JSON-Schema definition
801
- * via the `patternProperty` "^[^\n\r]*$".
802
- */
803
- [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
804
- };
805
- }
806
- /**
807
- * Options to be passed to the serialization routine.
808
- *
809
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
810
- * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
811
- */
812
- export interface ParameterSerializeStyleOptionsForSearchParamsV3_43_0 {
813
- style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
814
- explode?: boolean;
815
- allowEmptyValue?: boolean;
816
- /**
817
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
818
- */
819
- allowReserved?: boolean;
820
- skipEncoding?: boolean;
821
- }
822
- /**
823
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
824
- * via the `definition` "restResolver".
825
- */
826
- export interface RestResolverV3_43_0 {
827
- if?: string;
828
- id?: string;
829
- name: RestResolverNameV3_43_0;
830
- /**
831
- * Configuration for a service to use with this resolver.
832
- */
833
- service: string;
834
- argsMapping?: ArgsMappingV3_43_0;
835
- searchParamsMapping?: SearchParamsMappingV3_43_0;
836
- resultsMapping?: ResultsMappingV3_43_0;
837
- options?: RestResolverOptionsV3_43_0;
838
- body?: ParameterConfigForBodyV3_43_0;
839
- form?: ParameterConfigForSearchParamsV3_43_0;
840
- headers?: ParameterConfigForHeadersV3_43_0;
841
- json?: ParameterConfigForJsonV3_43_0;
842
- /**
843
- * Mapping and serialization configuration for the path, or a simple string.
844
- */
845
- path: ParameterConfigForPathParamsV3_43_0 | string;
846
- searchParams?: ParameterConfigForSearchParamsV3_43_0;
847
- args?: ParameterConfigForJsonV3_43_0;
848
- results?: ParameterConfigForJsonV3_43_0;
849
- }
850
- export interface RestResolverOptionsV3_43_0 {
851
- trailingSlash?: boolean;
852
- allowStream?: boolean;
853
- ttl?: number;
854
- timeout?: number;
855
- retry?: number | {
856
- [k: string]: any;
857
- };
858
- [k: string]: any;
859
- }
860
- /**
861
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
862
- * via the `definition` "parameterConfigForBody".
863
- */
864
- export interface ParameterConfigForBodyV3_43_0 {
865
- ops: ParameterOpListV3_43_0;
866
- serialize?: ParameterSerializeConfigForBodyV3_43_0;
867
- }
868
- /**
869
- * Top-level paths to use serialization options for.
870
- *
871
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
872
- * via the `definition` "parameterSerializeConfigForBody".
873
- */
874
- export interface ParameterSerializeConfigForBodyV3_43_0 {
875
- content?: ParameterSerializeContentOptionsV3_43_0;
876
- }
877
- /**
878
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
879
- * via the `definition` "parameterConfigForPathParams".
880
- */
881
- export interface ParameterConfigForPathParamsV3_43_0 {
882
- ops: ParameterOpListV3_43_0;
883
- serialize: ParameterSerializeConfigForPathParamsV3_43_0;
884
- }
885
- /**
886
- * Top-level paths to use path params serialization options for.
887
- *
888
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
889
- * via the `definition` "parameterSerializeConfigForPathParams".
890
- */
891
- export interface ParameterSerializeConfigForPathParamsV3_43_0 {
892
- /**
893
- * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
894
- */
895
- template: string;
896
- defaults?: ParameterSerializeStyleOptionsForPathParamsV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
897
- paths?: {
898
- /**
899
- * This interface was referenced by `undefined`'s JSON-Schema definition
900
- * via the `patternProperty` "^[^\n\r]*$".
901
- */
902
- [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_43_0 | ParameterSerializeContentOptionsV3_43_0;
903
- };
904
- }
905
- /**
906
- * Options to be passed to the serialization routine.
907
- *
908
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
909
- * via the `definition` "parameterSerializeStyleOptionsForPathParams".
910
- */
911
- export interface ParameterSerializeStyleOptionsForPathParamsV3_43_0 {
912
- style: 'simple' | 'label' | 'matrix' | 'none';
913
- explode?: boolean;
914
- allowEmptyValue?: boolean;
915
- /**
916
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
917
- */
918
- allowReserved?: boolean;
919
- skipEncoding?: boolean;
920
- }
921
- /**
922
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
923
- * via the `definition` "awsLambdaResolver".
924
- */
925
- export interface AwsLambdaResolverV3_43_0 {
926
- if?: string;
927
- id?: string;
928
- name: AwsLambdaResolverNameV3_43_0;
929
- /**
930
- * Configuration for a service to use with this resolver.
931
- */
932
- service: string;
933
- options?: AwsLambdaResolverOptionsV3_43_0;
934
- payload?: ParameterConfigForJsonV3_43_0;
935
- /**
936
- * Mapping configuration for the FunctionName.
937
- */
938
- functionName: string | ParameterConfigForAwsLambdaV3_43_0;
939
- clientContext?: ParameterConfigForJsonV3_43_0;
940
- args?: ParameterConfigForJsonV3_43_0;
941
- results?: ParameterConfigForJsonV3_43_0;
942
- argsMapping?: ArgsMappingV3_43_0;
943
- searchParamsMapping?: SearchParamsMappingV3_43_0;
944
- resultsMapping?: ResultsMappingV3_43_0;
945
- }
946
- export interface AwsLambdaResolverOptionsV3_43_0 {
947
- [k: string]: any;
948
- }
949
- /**
950
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
951
- * via the `definition` "parameterConfigForAwsLambda".
952
- */
953
- export interface ParameterConfigForAwsLambdaV3_43_0 {
954
- ops: ParameterOpListV3_43_0;
955
- serialize: ParameterSerializeConfigForPathParamsV3_43_0;
956
- }
957
- /**
958
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
959
- * via the `definition` "salsifyResolver".
960
- */
961
- export interface SalsifyResolverV3_43_0 {
962
- if?: string;
963
- id?: string;
964
- name: SalsifyResolverNameV3_43_0;
965
- /**
966
- * Configuration for a service to use with this resolver.
967
- */
968
- service: string;
969
- options?: SalsifyResolverOptionsV3_43_0;
970
- args?: ParameterConfigForJsonV3_43_0;
971
- results?: ParameterConfigForJsonV3_43_0;
972
- argsMapping?: ArgsMappingV3_43_0;
973
- resultsMapping?: ResultsMappingV3_43_0;
974
- }
975
- export interface SalsifyResolverOptionsV3_43_0 {
976
- [k: string]: any;
977
- }
978
- /**
979
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
980
- * via the `definition` "composeResolver".
981
- */
982
- export interface ComposeResolverV3_43_0 {
983
- compose: BasicResolverV3_43_0[];
984
- resultsMapping?: DirectiveMappingMapV3_43_0 | DirectiveConfigV3_43_0;
985
- results?: ParameterConfigForJsonV3_43_0;
986
- }
987
- /**
988
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
989
- * via the `definition` "indexed".
990
- */
991
- export interface IndexedV3_43_0 {
992
- nested?: boolean;
993
- }
994
- /**
995
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
996
- * via the `definition` "graphql".
997
- */
998
- export interface GraphQLConfigV3_43_0 {
999
- json?: boolean;
1000
- }
1001
- /**
1002
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1003
- * via the `definition` "shapeMap".
1004
- */
1005
- export interface ShapeMapV3_43_0 {
1006
- [k: string]: ShapeJSONV3_43_0;
1007
- }
1008
- /**
1009
- * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1010
- *
1011
- * This interface was referenced by `ShapeMapV3_43_0`'s JSON-Schema definition
1012
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1013
- *
1014
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1015
- * via the `definition` "shape".
1016
- */
1017
- export interface ShapeJSONV3_43_0 {
1018
- /**
1019
- * 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
1020
- */
1021
- name: string;
1022
- /**
1023
- * 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.
1024
- */
1025
- id: string;
1026
- /**
1027
- * The human-readable name for a Shape for use in a UI.
1028
- */
1029
- title: string;
1030
- description?: string;
1031
- type?: 'interface' | 'input' | 'output';
1032
- interfaces?: string[];
1033
- /**
1034
- * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1035
- */
1036
- model?: {
1037
- type: ModelTypeV3_43_0;
1038
- };
1039
- workflow?: string;
1040
- loaders?: ShapeLoadersV3_43_0;
1041
- joins?: ShapeJoinsV3_43_0;
1042
- cache?: ShapeCacheConfigV3_43_0;
1043
- schema: ShapeSchemaV3_43_0;
1044
- }
1045
- /**
1046
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1047
- * via the `definition` "shapeLoaders".
1048
- */
1049
- export interface ShapeLoadersV3_43_0 {
1050
- list: StoredListQueryLoaderConfigV3_43_0 | StoredListQueryLoaderConfigV3_43_0[];
1051
- get?: GetQueryLoaderConfigV3_43_0;
1052
- }
1053
- /**
1054
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1055
- * via the `definition` "storedListQueryLoaderConfig".
1056
- */
1057
- export interface StoredListQueryLoaderConfigV3_43_0 {
1058
- query: string;
1059
- args?: {
1060
- [k: string]: any;
1061
- } | {
1062
- [k: string]: any;
1063
- }[];
1064
- pagination?: PaginationConfigV3_43_0;
1065
- }
1066
- /**
1067
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1068
- * via the `definition` "paginationCursorConfig".
1069
- */
1070
- export interface PaginationCursorConfigV3_43_0 {
1071
- type: 'cursor';
1072
- cursorArg: string;
1073
- cursorPath: string;
1074
- pageSize?: number;
1075
- pageSizeArg: string;
1076
- hasMorePath: string;
1077
- itemsPath: string;
1078
- }
1079
- /**
1080
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1081
- * via the `definition` "paginationPageConfig".
1082
- */
1083
- export interface PaginationPageConfigV3_43_0 {
1084
- type: 'page';
1085
- pageArg: string;
1086
- pageSize?: number;
1087
- pageSizeArg?: string;
1088
- itemsPath: string;
1089
- pageTotalPath: string;
1090
- }
1091
- /**
1092
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1093
- * via the `definition` "paginationOffsetConfig".
1094
- */
1095
- export interface PaginationOffsetConfigV3_43_0 {
1096
- type: 'offset';
1097
- offsetArg: string;
1098
- pageSize?: number;
1099
- pageSizeArg?: string;
1100
- itemsPath: string;
1101
- itemTotalPath: string;
1102
- }
1103
- /**
1104
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1105
- * via the `definition` "getQueryLoaderConfig".
1106
- */
1107
- export interface GetQueryLoaderConfigV3_43_0 {
1108
- query: string;
1109
- args?: {
1110
- [k: string]: any;
1111
- };
1112
- idArg?: string;
1113
- }
1114
- /**
1115
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1116
- * via the `definition` "shapeJoins".
1117
- */
1118
- export interface ShapeJoinsV3_43_0 {
1119
- [k: string]: ShapeJoinV3_43_0;
1120
- }
1121
- /**
1122
- * This interface was referenced by `ShapeJoinsV3_43_0`'s JSON-Schema definition
1123
- * via the `patternProperty` "[:0-9A-Za-z_-]+".
1124
- *
1125
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1126
- * via the `definition` "shapeJoin".
1127
- */
1128
- export interface ShapeJoinV3_43_0 {
1129
- resolver: DelegateResolverV3_43_0 | ShapedbResolverV3_43_0;
1130
- dependencies?: string;
1131
- }
1132
- /**
1133
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1134
- * via the `definition` "shapeCacheConfig".
1135
- */
1136
- export interface ShapeCacheConfigV3_43_0 {
1137
- enabled: boolean;
1138
- idField?: string;
1139
- searchSummaryField?: string;
1140
- fragment?: CachedFragmentConfigV3_43_0;
1141
- triggers?: CacheTriggerConfigV3_43_0[];
1142
- /**
1143
- * Number of seconds this Shape should be cached. Default 0.
1144
- */
1145
- maxAge?: number;
1146
- }
1147
- /**
1148
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1149
- * via the `definition` "cachedFragmentConfig".
1150
- */
1151
- export interface CachedFragmentConfigV3_43_0 {
1152
- ignoreFields?: string[];
1153
- maxDepth?: number;
1154
- selectionSet?: string;
1155
- includeDeprecated?: boolean;
1156
- }
1157
- /**
1158
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1159
- * via the `definition` "cacheScheduleTriggerConfig".
1160
- */
1161
- export interface CacheScheduleTriggerConfigV3_43_0 {
1162
- type: 'schedule';
1163
- loader: 'get' | 'list';
1164
- interval: number;
1165
- }
1166
- /**
1167
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1168
- * via the `definition` "cacheWebhookTriggerConfig".
1169
- */
1170
- export interface CacheWebhookTriggerConfigV3_43_0 {
1171
- type: 'webhook';
1172
- loader: 'get' | 'list';
1173
- service: string;
1174
- events: string[];
1175
- }
1176
- /**
1177
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1178
- * via the `definition` "shapeSchemaAllOf".
1179
- */
1180
- export interface ShapeSchemaAllOfV3_43_0 {
1181
- allOf: ObjectOrRefArrayV3_43_0;
1182
- }
1183
- /**
1184
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1185
- * via the `definition` "shapeSchemaExtends".
1186
- */
1187
- export interface ShapeSchemaExtendsV3_43_0 {
1188
- extends: ObjectOrRefArrayV3_43_0;
1189
- }
1190
- /**
1191
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1192
- * via the `definition` "shapeSchemaOneOf".
1193
- */
1194
- export interface ShapeSchemaOneOfV3_43_0 {
1195
- oneOf: ObjectOrRefArrayV3_43_0;
1196
- }
1197
- /**
1198
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1199
- * via the `definition` "shapeSchemaEnum".
1200
- */
1201
- export interface ShapeSchemaEnumV3_43_0 {
1202
- enum: any[];
1203
- }
1204
- /**
1205
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1206
- * via the `definition` "shapeSchemaAny".
1207
- */
1208
- export interface ShapeSchemaAnyV3_43_0 {
1209
- }
1210
- /**
1211
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1212
- * via the `definition` "formMap".
1213
- */
1214
- export interface FormMapV3_43_0 {
1215
- [k: string]: FormsConfigV3_43_0;
1216
- }
1217
- /**
1218
- * This interface was referenced by `FormMapV3_43_0`'s JSON-Schema definition
1219
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1220
- *
1221
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1222
- * via the `definition` "formsConfig".
1223
- */
1224
- export interface FormsConfigV3_43_0 {
1225
- default: FormConfigV3_43_0;
1226
- [k: string]: FormConfigV3_43_0;
1227
- }
1228
- /**
1229
- * This interface was referenced by `FormsConfigV3_43_0`'s JSON-Schema definition
1230
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1231
- *
1232
- * This interface was referenced by `undefined`'s JSON-Schema definition
1233
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1234
- *
1235
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1236
- * via the `definition` "formConfig".
1237
- */
1238
- export interface FormConfigV3_43_0 {
1239
- [k: string]: any;
1240
- }
1241
- /**
1242
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1243
- * via the `definition` "workflowMap".
1244
- */
1245
- export interface WorkflowMapV3_43_0 {
1246
- [k: string]: WorkflowV3_43_0;
1247
- }
1248
- /**
1249
- * This interface was referenced by `WorkflowMapV3_43_0`'s JSON-Schema definition
1250
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1251
- *
1252
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1253
- * via the `definition` "workflow".
1254
- */
1255
- export interface WorkflowV3_43_0 {
1256
- /**
1257
- * machine-readable id
1258
- */
1259
- name: string;
1260
- title: WorkflowNameV3_43_0;
1261
- steps: StepsV3_43_0;
1262
- [k: string]: any;
1263
- }
1264
- /**
1265
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1266
- * via the `definition` "workflowStep".
1267
- */
1268
- export interface WorkflowStepV3_43_0 {
1269
- name: NameV3_43_0;
1270
- title: TitleV3_43_0;
1271
- description?: DescriptionV3_43_0;
1272
- color: ColorV3_43_0;
1273
- live: LiveV3_43_0;
1274
- key: KeyV3_43_0;
1275
- }
1276
- /**
1277
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1278
- * via the `definition` "storedServiceMap".
1279
- */
1280
- export interface ServiceMapJSONV3_43_0 {
1281
- [k: string]: ServiceConfigJSONV3_43_0;
1282
- }
1283
- /**
1284
- * This interface was referenced by `ServiceMapJSONV3_43_0`'s JSON-Schema definition
1285
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1286
- *
1287
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1288
- * via the `definition` "storedServiceConfig".
1289
- */
1290
- export interface ServiceConfigJSONV3_43_0 {
1291
- /**
1292
- * Machine-readable identifier, should typically be the same as the property name on the services object.
1293
- */
1294
- id: string;
1295
- /**
1296
- * Human-readable name for this service.
1297
- */
1298
- title: string;
1299
- /**
1300
- * The service provider id.
1301
- */
1302
- provider: string;
1303
- /**
1304
- * A namespace to use for the imported types tied to this service.
1305
- */
1306
- namespace?: string;
1307
- serviceType: ServiceTypeV3_43_0;
1308
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1309
- authentication?: string;
1310
- healthCheck?: ServiceHealthCheckV3_43_0;
1311
- webhookId?: string;
1312
- /**
1313
- * Configuration options passed to and handled by the provider.
1314
- */
1315
- options?: {
1316
- [k: string]: any;
1317
- };
1318
- }
1319
- /**
1320
- * Configuration for ping health checks.
1321
- *
1322
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1323
- * via the `definition` "serviceHealthCheck".
1324
- */
1325
- export interface ServiceHealthCheckV3_43_0 {
1326
- checkName: CheckNameV3_43_0;
1327
- endpoint?: EndpointV3_43_0;
1328
- requestMethod?: RequestMethodV3_43_0;
1329
- requestHeaders?: RequestHeadersV3_43_0;
1330
- requestSearchParams?: RequestSearchParamsV3_43_0;
1331
- requestBody?: RequestBodyV3_43_0;
1332
- requestBodyFormat?: RequestBodyFormatV3_43_0;
1333
- requestTimeout?: RequestTimeoutV3_43_0;
1334
- healthyResponseStatusCode?: HealthyResponseStatusCodeV3_43_0;
1335
- }
1336
- /**
1337
- * Any custom headers to set with the health check request.
1338
- */
1339
- export interface RequestHeadersV3_43_0 {
1340
- [k: string]: any;
1341
- }
1342
- /**
1343
- * Any custom search params to set with the health check request.
1344
- */
1345
- export interface RequestSearchParamsV3_43_0 {
1346
- [k: string]: any;
1347
- }
1348
- /**
1349
- * All possible options for the more specific ParameterSerializeStyleOptions types.
1350
- *
1351
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1352
- * via the `definition` "parameterSerializeStyleOptions".
1353
- */
1354
- export interface ParameterSerializeStyleOptionsV3_43_0 {
1355
- style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1356
- explode?: boolean;
1357
- allowEmptyValue?: boolean;
1358
- /**
1359
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1360
- */
1361
- allowReserved?: boolean;
1362
- skipEncoding?: boolean;
1363
- }
1364
- /**
1365
- * All possible options for the more specific ParameterSerializeConfig types.
1366
- *
1367
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1368
- * via the `definition` "parameterSerializeConfig".
1369
- */
1370
- export interface ParameterSerializeConfigV3_43_0 {
1371
- content?: ParameterSerializeContentOptionsV3_43_0;
1372
- defaults?: ParameterSerializeOptionsV3_43_0;
1373
- paths?: {
1374
- [k: string]: ParameterSerializeOptionsV3_43_0;
1375
- };
1376
- }
1377
- /**
1378
- * All possible options for the more specific ParameterConfig types.
1379
- *
1380
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1381
- * via the `definition` "parameterConfig".
1382
- */
1383
- export interface ParameterConfigV3_43_0 {
1384
- ops: ParameterOpListV3_43_0;
1385
- serialize?: ParameterSerializeConfigV3_43_0;
1386
- }
1387
- /**
1388
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1389
- * via the `definition` "listQueryLoaderConfig".
1390
- */
1391
- export interface ListQueryLoaderConfigV3_43_0 {
1392
- query: string;
1393
- args?: {
1394
- [k: string]: any;
1395
- };
1396
- pagination?: PaginationConfigV3_43_0;
1397
- }
1398
- /**
1399
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1400
- * via the `definition` "formScalarConfig".
1401
- */
1402
- export interface FormScalarConfigV3_43_0 {
1403
- widget: string;
1404
- }
1405
- /**
1406
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1407
- * via the `definition` "formObjectConfig".
1408
- */
1409
- export interface FormObjectConfigV3_43_0 {
1410
- widget?: string;
1411
- order?: string[];
1412
- properties?: {
1413
- [k: string]: FormConfigV3_43_0;
1414
- };
1415
- }
1416
- /**
1417
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1418
- * via the `definition` "formArrayConfig".
1419
- */
1420
- export interface FormArrayConfigV3_43_0 {
1421
- widget: string;
1422
- items: FormConfigV3_43_0;
1423
- }
1424
- /**
1425
- * For use with a custom auth handler on a service provider.
1426
- *
1427
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1428
- * via the `definition` "customAuthentication".
1429
- */
1430
- export interface CustomAuthenticationV3_43_0 {
1431
- type: 'custom';
1432
- [k: string]: any;
1433
- }
1434
- /**
1435
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1436
- * via the `definition` "searchParamsAuthentication".
1437
- */
1438
- export interface SearchParamsAuthenticationV3_43_0 {
1439
- type: 'searchParams';
1440
- params: {
1441
- name: string;
1442
- value: string;
1443
- }[];
1444
- }
1445
- /**
1446
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1447
- * via the `definition` "bearerAuthentication".
1448
- */
1449
- export interface BearerAuthenticationV3_43_0 {
1450
- type: 'bearer';
1451
- token: string;
1452
- prefix?: string;
1453
- header?: string;
1454
- }
1455
- /**
1456
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1457
- * via the `definition` "oauth2BearerAuthentication".
1458
- */
1459
- export interface OAuth2BearerAuthenticationV3_43_0 {
1460
- type: 'oauth2Bearer';
1461
- token: string;
1462
- prefix?: string;
1463
- header?: string;
1464
- scope?: string;
1465
- expiresAt?: string;
1466
- }
1467
- /**
1468
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1469
- * via the `definition` "basicAuthentication".
1470
- */
1471
- export interface BasicAuthenticationV3_43_0 {
1472
- type: 'basic';
1473
- username: string;
1474
- password: string;
1475
- useIso8859?: boolean;
1476
- }
1477
- /**
1478
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1479
- * via the `definition` "oauth2Authentication".
1480
- */
1481
- export interface OAuth2AuthenticationV3_43_0 {
1482
- type: 'oauth2';
1483
- grantType: 'authorizationCode' | 'clientCredentials';
1484
- authorizationUrl?: string;
1485
- accessTokenUrl?: string;
1486
- clientId: string;
1487
- clientSecret?: string;
1488
- scope?: string;
1489
- usePkce?: boolean;
1490
- redirectUrl?: string;
1491
- headerPrefix?: string;
1492
- audience?: string;
1493
- resource?: string;
1494
- }
1495
- /**
1496
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1497
- * via the `definition` "awsAuthentication".
1498
- */
1499
- export interface AWSAuthenticationV3_43_0 {
1500
- type: 'aws';
1501
- awsAccessKeyId: string;
1502
- awsSecretAccessKey: string;
1503
- }
1504
- /**
1505
- * This interface was referenced by `ProjectSchemaJSONV3_43_0`'s JSON-Schema
1506
- * via the `definition` "serviceConfig".
1507
- */
1508
- export interface ServiceConfigV3_43_0 {
1509
- /**
1510
- * Machine-readable identifier, should typically be the same as the property name on the services object.
1511
- */
1512
- id: string;
1513
- /**
1514
- * Human-readable name for this service.
1515
- */
1516
- title: string;
1517
- /**
1518
- * The service provider id.
1519
- */
1520
- provider: string;
1521
- /**
1522
- * A namespace to use for the imported types tied to this service.
1523
- */
1524
- namespace?: string;
1525
- serviceType: ServiceTypeV3_43_0;
1526
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1527
- authentication?: ServiceAuthenticationV3_43_0;
1528
- healthCheck?: ServiceHealthCheckV3_43_0;
1529
- webhookId?: string;
1530
- /**
1531
- * Configuration options passed to and handled by the provider.
1532
- */
1533
- options?: {
1534
- [k: string]: any;
1535
- };
1536
- }