@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,1522 +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_37_0`'s JSON-Schema
8
- * via the `definition` "args".
9
- */
10
- export type ArgsV3_37_0 = string | ObjectSchemaV3_37_0;
11
- /**
12
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
13
- * via the `definition` "objectSchema".
14
- */
15
- export type ObjectSchemaV3_37_0 = PropertySchemaV3_37_0 & {
16
- type: 'object';
17
- properties: {
18
- [k: string]: PropertySchemaV3_37_0;
19
- };
20
- };
21
- /**
22
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
23
- * via the `definition` "nonNegativeInteger".
24
- */
25
- export type NonNegativeIntegerV3_37_0 = number;
26
- /**
27
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
28
- * via the `definition` "nonNegativeIntegerDefault0".
29
- */
30
- export type NonNegativeIntegerDefault0V3_37_0 = NonNegativeIntegerV3_37_0;
31
- /**
32
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
33
- * via the `definition` "stringArray".
34
- */
35
- export type StringArrayV3_37_0 = string[];
36
- /**
37
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
38
- * via the `definition` "simpleTypes".
39
- */
40
- export type SimpleTypesV3_37_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
- /**
42
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
43
- * via the `definition` "schemaArray".
44
- */
45
- export type SchemaArrayV3_37_0 = PropertySchemaV3_37_0[];
46
- /**
47
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
48
- * via the `definition` "ref".
49
- */
50
- export type RefV3_37_0 = string;
51
- /**
52
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
53
- * via the `definition` "objectOrRefArray".
54
- */
55
- export type ObjectOrRefArrayV3_37_0 = (RefSchemaV3_37_0 | RefSchemaLegacyV3_37_0 | ObjectSchemaV3_37_0)[];
56
- /**
57
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
58
- * via the `definition` "fieldMapping".
59
- */
60
- export type FieldMappingV3_37_0 = MappingStringV3_37_0 | MappingStringV3_37_0[];
61
- /**
62
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
63
- * via the `definition` "mappingString".
64
- */
65
- export type MappingStringV3_37_0 = string;
66
- /**
67
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
68
- * via the `definition` "resolver".
69
- */
70
- export type ResolverV3_37_0 = BasicResolverV3_37_0 | ComposeResolverV3_37_0;
71
- /**
72
- * A single resolver, can be composed with the ComposeResolver.
73
- *
74
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
75
- * via the `definition` "basicResolver".
76
- */
77
- export type BasicResolverV3_37_0 = UtilResolverV3_37_0 | DelegateResolverV3_37_0 | TakeshapeResolverV3_37_0 | ShapedbResolverV3_37_0 | ShapedbResolverShapeNameNotRequiredV3_37_0 | GraphqlResolverV3_37_0 | RestResolverV3_37_0 | AwsLambdaResolverV3_37_0 | SalsifyResolverV3_37_0;
78
- /**
79
- * Name of the resolver function.
80
- */
81
- export type UtilResolverNameV3_37_0 = 'util:noop' | 'util:wrap';
82
- /**
83
- * An object describing an operation to generate a parameter.
84
- *
85
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
86
- * via the `definition` "parameterOp".
87
- */
88
- export type ParameterOpV3_37_0 = ParameterOpNestedV3_37_0 | ParameterOpValueV3_37_0 | ParameterOpMappingV3_37_0 | ParameterOpOpV3_37_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_37_0`'s JSON-Schema
93
- * via the `definition` "directiveConfigItem".
94
- */
95
- export type DirectiveConfigItemV3_37_0 = [DirectiveNameV3_37_0, DirectiveOptionsV3_37_0];
96
- export type DirectiveNameV3_37_0 = string;
97
- /**
98
- * An array of individual directive config items to process in order
99
- *
100
- * This interface was referenced by `DirectiveMappingMapV3_37_0`'s JSON-Schema definition
101
- * via the `patternProperty` "[0-9A-Za-z_-]+".
102
- *
103
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
104
- * via the `definition` "directiveConfig".
105
- */
106
- export type DirectiveConfigV3_37_0 = DirectiveConfigItemV3_37_0[];
107
- /**
108
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
109
- * via the `definition` "parameterOpList".
110
- */
111
- export type ParameterOpListV3_37_0 = ParameterOpV3_37_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_37_0`'s JSON-Schema
116
- * via the `definition` "argsMapping".
117
- */
118
- export type ArgsMappingV3_37_0 = DirectiveMappingMapV3_37_0 | DirectiveConfigV3_37_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_37_0`'s JSON-Schema
123
- * via the `definition` "resultsMapping".
124
- */
125
- export type ResultsMappingV3_37_0 = DirectiveMappingMapV3_37_0 | DirectiveConfigV3_37_0;
126
- /**
127
- * Name of the resolver function.
128
- */
129
- export type DelegateResolverNameV3_37_0 = 'delegate';
130
- /**
131
- * Name of the resolver function.
132
- */
133
- export type TakeshapeResolverNameV3_37_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:queryApiIndex';
134
- /**
135
- * Name of the resolver function.
136
- */
137
- export type ShapedbResolverNameV3_37_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_37_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
- /**
143
- * Name of the resolver function.
144
- */
145
- export type GraphqlResolverNameV3_37_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
- /**
147
- * Name of the resolver function.
148
- */
149
- export type RestResolverNameV3_37_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_37_0`'s JSON-Schema
154
- * via the `definition` "directiveMappingArrayItem".
155
- */
156
- export type DirectiveMappingArrayItemV3_37_0 = [string, DirectiveConfigV3_37_0];
157
- /**
158
- * An array of key / value or directive config tuples
159
- */
160
- export type SearchParamsMappingV3_37_0 = DirectiveMappingArrayItemV3_37_0[];
161
- /**
162
- * Name of the resolver function.
163
- */
164
- export type AwsLambdaResolverNameV3_37_0 = 'awsLambda:invoke';
165
- /**
166
- * Name of the resolver function.
167
- */
168
- export type SalsifyResolverNameV3_37_0 = 'salsify:listChannelProducts';
169
- /**
170
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
171
- * via the `definition` "dependencies".
172
- */
173
- export type DependenciesV3_37_0 = string;
174
- /**
175
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
176
- * via the `definition` "returnShape".
177
- */
178
- export type ReturnShapeV3_37_0 = string | ReturnShapeArraySchemaV3_37_0;
179
- /**
180
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
181
- * via the `definition` "returnShapeArraySchema".
182
- */
183
- export type ReturnShapeArraySchemaV3_37_0 = PropertySchemaV3_37_0 & {
184
- type: 'array';
185
- items: RefSchemaV3_37_0 | {
186
- type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
187
- [k: string]: any;
188
- };
189
- };
190
- export type ModelTypeV3_37_0 = 'single' | 'multiple' | 'taxonomy';
191
- /**
192
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
193
- * via the `definition` "paginationConfig".
194
- */
195
- export type PaginationConfigV3_37_0 = PaginationCursorConfigV3_37_0 | PaginationPageConfigV3_37_0 | PaginationOffsetConfigV3_37_0;
196
- /**
197
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
198
- * via the `definition` "cacheTriggerConfig".
199
- */
200
- export type CacheTriggerConfigV3_37_0 = CacheScheduleTriggerConfigV3_37_0 | CacheWebhookTriggerConfigV3_37_0;
201
- /**
202
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
203
- * via the `definition` "shapeSchema".
204
- */
205
- export type ShapeSchemaV3_37_0 = ShapeSchemaAllOfV3_37_0 | ShapeSchemaExtendsV3_37_0 | ShapeSchemaOneOfV3_37_0 | ShapeSchemaEnumV3_37_0 | ObjectSchemaV3_37_0 | ShapeSchemaAnyV3_37_0;
206
- /**
207
- * Human-readable id for use in the UI
208
- */
209
- export type WorkflowNameV3_37_0 = string;
210
- /**
211
- * machine-readable slug
212
- */
213
- export type NameV3_37_0 = string;
214
- /**
215
- * Human-readable id for use in the UI
216
- */
217
- export type TitleV3_37_0 = string;
218
- export type DescriptionV3_37_0 = string;
219
- /**
220
- * Hex color code
221
- */
222
- export type ColorV3_37_0 = string;
223
- /**
224
- * Value to indicate whether items in the state should be returned in list queries
225
- */
226
- export type LiveV3_37_0 = boolean;
227
- /**
228
- * machine-readable id
229
- */
230
- export type KeyV3_37_0 = string;
231
- export type StepsV3_37_0 = WorkflowStepV3_37_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_37_0`'s JSON-Schema
236
- * via the `definition` "serviceType".
237
- */
238
- export type ServiceTypeV3_37_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
239
- /**
240
- * The name of a health check to run
241
- */
242
- export type CheckNameV3_37_0 = 'graphqlIntrospection' | 'ping' | 'none';
243
- /**
244
- * The endpoint to use when checking the service health.
245
- */
246
- export type EndpointV3_37_0 = string;
247
- /**
248
- * A custom method to use for the health check request.
249
- */
250
- export type RequestMethodV3_37_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
251
- /**
252
- * A custom body to send along with the ping request.
253
- */
254
- export type RequestBodyV3_37_0 = string;
255
- /**
256
- * A custom body to send along with the ping request.
257
- */
258
- export type RequestBodyFormatV3_37_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_37_0 = number;
263
- /**
264
- * The response status code that qualifies as healthy.
265
- */
266
- export type HealthyResponseStatusCodeV3_37_0 = number;
267
- /**
268
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
269
- * via the `definition` "allOfSchema".
270
- */
271
- export type AllOfSchemaV3_37_0 = PropertySchemaV3_37_0 & {
272
- allOf: ObjectOrRefArrayV3_37_0;
273
- };
274
- /**
275
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
276
- * via the `definition` "extendsSchema".
277
- */
278
- export type ExtendsSchemaV3_37_0 = PropertySchemaV3_37_0 & {
279
- extends: ObjectOrRefArrayV3_37_0;
280
- };
281
- /**
282
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
283
- * via the `definition` "oneOfSchema".
284
- */
285
- export type OneOfSchemaV3_37_0 = PropertySchemaV3_37_0 & {
286
- oneOf: ObjectOrRefArrayV3_37_0;
287
- };
288
- /**
289
- * Options to be passed to the serialization routine.
290
- *
291
- * This interface was referenced by `ProjectSchemaJSONV3_37_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_37_0 = ParameterSerializeStyleOptionsV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
298
- /**
299
- * An array of key / value or directive config tuples
300
- *
301
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
302
- * via the `definition` "directiveMappingArray".
303
- */
304
- export type DirectiveMappingArrayV3_37_0 = DirectiveMappingArrayItemV3_37_0[];
305
- /**
306
- * A resolver which references a specific service
307
- *
308
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
309
- * via the `definition` "serviceResolver".
310
- */
311
- export type ServiceResolverV3_37_0 = TakeshapeResolverV3_37_0 | ShapedbResolverShapeNameNotRequiredV3_37_0 | ShapedbResolverV3_37_0 | GraphqlResolverV3_37_0 | RestResolverV3_37_0 | AwsLambdaResolverV3_37_0;
312
- /**
313
- * An array of key / value or directive config tuples
314
- *
315
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
316
- * via the `definition` "searchParamsMapping".
317
- */
318
- export type SearchParamsMappingV3_37_01 = DirectiveMappingArrayItemV3_37_0[];
319
- /**
320
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
321
- * via the `definition` "shapeWithObjectSchema".
322
- */
323
- export type ShapeWithObjectSchemaV3_37_0 = ShapeJSONV3_37_0 & {
324
- schema: ObjectSchemaV3_37_0;
325
- };
326
- /**
327
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
328
- * via the `definition` "serviceAuthentication".
329
- */
330
- export type ServiceAuthenticationV3_37_0 = OAuth2AuthenticationV3_37_0 | OAuth2BearerAuthenticationV3_37_0 | BearerAuthenticationV3_37_0 | BasicAuthenticationV3_37_0 | SearchParamsAuthenticationV3_37_0 | AWSAuthenticationV3_37_0 | CustomAuthenticationV3_37_0;
331
- /**
332
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
333
- * via the `definition` "anyServiceConfig".
334
- */
335
- export type AnyServiceConfigV3_37_0 = ServiceConfigJSONV3_37_0 | ServiceConfigV3_37_0;
336
- export interface ProjectSchemaJSONV3_37_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.37.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_37_0;
361
- mutations: QueryMapV3_37_0;
362
- shapes: ShapeMapV3_37_0;
363
- forms?: FormMapV3_37_0;
364
- workflows: WorkflowMapV3_37_0;
365
- services?: ServiceMapJSONV3_37_0;
366
- }
367
- /**
368
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
369
- * via the `definition` "queryMap".
370
- */
371
- export interface QueryMapV3_37_0 {
372
- [k: string]: QueryJSONV3_37_0;
373
- }
374
- /**
375
- * This interface was referenced by `QueryMapV3_37_0`'s JSON-Schema definition
376
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
377
- *
378
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
379
- * via the `definition` "query".
380
- */
381
- export interface QueryJSONV3_37_0 {
382
- args?: ArgsV3_37_0;
383
- resolver: ResolverV3_37_0;
384
- shape: ReturnShapeV3_37_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_37_0`'s JSON-Schema
392
- * via the `definition` "propertySchema".
393
- */
394
- export interface PropertySchemaV3_37_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_37_0;
406
- minLength?: NonNegativeIntegerDefault0V3_37_0;
407
- pattern?: string;
408
- additionalItems?: PropertySchemaV3_37_0;
409
- items?: PropertySchemaV3_37_0;
410
- maxItems?: NonNegativeIntegerV3_37_0;
411
- minItems?: NonNegativeIntegerDefault0V3_37_0;
412
- uniqueItems?: boolean;
413
- contains?: PropertySchemaV3_37_0;
414
- maxProperties?: NonNegativeIntegerV3_37_0;
415
- minProperties?: NonNegativeIntegerDefault0V3_37_0;
416
- required?: StringArrayV3_37_0;
417
- additionalProperties?: PropertySchemaV3_37_0 | false;
418
- definitions?: {
419
- [k: string]: PropertySchemaV3_37_0;
420
- };
421
- properties?: {
422
- [k: string]: PropertySchemaV3_37_0;
423
- };
424
- const?: any;
425
- enum?: any[];
426
- type?: SimpleTypesV3_37_0 | SimpleTypesV3_37_0[];
427
- format?: string;
428
- contentMediaType?: string;
429
- contentEncoding?: string;
430
- allOf?: SchemaArrayV3_37_0;
431
- discriminator?: {
432
- propertyName?: string;
433
- [k: string]: any;
434
- };
435
- oneOf?: SchemaArrayV3_37_0;
436
- extends?: ObjectOrRefArrayV3_37_0;
437
- '@backreference'?: BackReferenceV3_37_0;
438
- '@input'?: PropertySchemaV3_37_0;
439
- '@output'?: PropertySchemaV3_37_0;
440
- '@syncLocaleStructure'?: boolean;
441
- '@sensitive'?: boolean;
442
- '@draftjs'?: boolean;
443
- '@l10n'?: boolean;
444
- '@key'?: string;
445
- '@workflow'?: string;
446
- '@mapping'?: FieldMappingV3_37_0;
447
- '@tag'?: string;
448
- '@tags'?: string[];
449
- '@deprecationReason'?: string;
450
- '@args'?: ArgsV3_37_0;
451
- '@resolver'?: ResolverV3_37_0;
452
- '@dependencies'?: DependenciesV3_37_0;
453
- '@ref'?: RefV3_37_0;
454
- '@derivedFrom'?: string;
455
- '@indexed'?: IndexedV3_37_0;
456
- '@graphql'?: GraphQLConfigV3_37_0;
457
- }
458
- /**
459
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
460
- * via the `definition` "refSchema".
461
- */
462
- export interface RefSchemaV3_37_0 {
463
- '@ref': RefV3_37_0;
464
- [k: string]: any;
465
- }
466
- /**
467
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
468
- * via the `definition` "refSchemaLegacy".
469
- */
470
- export interface RefSchemaLegacyV3_37_0 {
471
- $ref: RefV3_37_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_37_0`'s JSON-Schema
478
- * via the `definition` "backreference".
479
- */
480
- export interface BackReferenceV3_37_0 {
481
- enabled: boolean;
482
- name?: string;
483
- }
484
- /**
485
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
486
- * via the `definition` "utilResolver".
487
- */
488
- export interface UtilResolverV3_37_0 {
489
- if?: string;
490
- id?: string;
491
- name: UtilResolverNameV3_37_0;
492
- options?: UtilResolverOptionsV3_37_0;
493
- args?: ParameterConfigForJsonV3_37_0;
494
- results?: ParameterConfigForJsonV3_37_0;
495
- argsMapping?: ArgsMappingV3_37_0;
496
- resultsMapping?: ResultsMappingV3_37_0;
497
- }
498
- export interface UtilResolverOptionsV3_37_0 {
499
- [k: string]: any;
500
- }
501
- /**
502
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
503
- * via the `definition` "parameterConfigForJson".
504
- */
505
- export interface ParameterConfigForJsonV3_37_0 {
506
- ops: ParameterOpListV3_37_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_37_0`'s JSON-Schema
512
- * via the `definition` "parameterOpNested".
513
- */
514
- export interface ParameterOpNestedV3_37_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_37_0;
524
- }
525
- /**
526
- * An object describing an operation to generate a parameter using a value.
527
- *
528
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
529
- * via the `definition` "parameterOpValue".
530
- */
531
- export interface ParameterOpValueV3_37_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_37_0`'s JSON-Schema
551
- * via the `definition` "parameterOpMapping".
552
- */
553
- export interface ParameterOpMappingV3_37_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_37_0;
566
- }
567
- export interface DirectiveOptionsV3_37_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_37_0`'s JSON-Schema
574
- * via the `definition` "parameterOpOp".
575
- */
576
- export interface ParameterOpOpV3_37_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_37_0`'s JSON-Schema
590
- * via the `definition` "directiveMappingMap".
591
- */
592
- export interface DirectiveMappingMapV3_37_0 {
593
- [k: string]: DirectiveConfigV3_37_0;
594
- }
595
- /**
596
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
597
- * via the `definition` "delegateResolver".
598
- */
599
- export interface DelegateResolverV3_37_0 {
600
- if?: string;
601
- id?: string;
602
- name: DelegateResolverNameV3_37_0;
603
- options?: DelegateResolverOptionsV3_37_0;
604
- argsMapping?: ArgsMappingV3_37_0;
605
- resultsMapping?: ResultsMappingV3_37_0;
606
- /**
607
- * A ref to a query/mutation/property to delegate to.
608
- */
609
- to: string;
610
- args?: ParameterConfigForJsonV3_37_0;
611
- results?: ParameterConfigForJsonV3_37_0;
612
- }
613
- export interface DelegateResolverOptionsV3_37_0 {
614
- [k: string]: any;
615
- }
616
- /**
617
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
618
- * via the `definition` "takeshapeResolver".
619
- */
620
- export interface TakeshapeResolverV3_37_0 {
621
- if?: string;
622
- id?: string;
623
- name: TakeshapeResolverNameV3_37_0;
624
- /**
625
- * Internal service identifier.
626
- */
627
- service: 'takeshape';
628
- options?: TakeshapeResolverOptionsV3_37_0;
629
- /**
630
- * An optional Shape name for the resolver.
631
- */
632
- shapeName?: string;
633
- args?: ParameterConfigForJsonV3_37_0;
634
- results?: ParameterConfigForJsonV3_37_0;
635
- argsMapping?: ArgsMappingV3_37_0;
636
- resultsMapping?: ResultsMappingV3_37_0;
637
- }
638
- export interface TakeshapeResolverOptionsV3_37_0 {
639
- [k: string]: any;
640
- }
641
- /**
642
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
643
- * via the `definition` "shapedbResolver".
644
- */
645
- export interface ShapedbResolverV3_37_0 {
646
- if?: string;
647
- id?: string;
648
- name: ShapedbResolverNameV3_37_0;
649
- /**
650
- * Internal service identifier.
651
- */
652
- service: 'shapedb';
653
- options?: ShapedbResolverOptionsV3_37_0;
654
- argsMapping?: ArgsMappingV3_37_0;
655
- resultsMapping?: ResultsMappingV3_37_0;
656
- /**
657
- * A Shape name for the resolver to use.
658
- */
659
- shapeName: string;
660
- args?: ParameterConfigForJsonV3_37_0;
661
- results?: ParameterConfigForJsonV3_37_0;
662
- }
663
- export interface ShapedbResolverOptionsV3_37_0 {
664
- [k: string]: any;
665
- }
666
- /**
667
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
668
- * via the `definition` "shapedbResolverShapeNameNotRequired".
669
- */
670
- export interface ShapedbResolverShapeNameNotRequiredV3_37_0 {
671
- if?: string;
672
- id?: string;
673
- name: ShapedbResolverShapeNameNotRequiredNameV3_37_0;
674
- /**
675
- * Internal service identifier.
676
- */
677
- service: 'shapedb';
678
- options?: ShapedbResolverShapeNameNotRequiredOptionsV3_37_0;
679
- /**
680
- * An optional Shape name for the resolver.
681
- */
682
- shapeName?: string;
683
- args?: ParameterConfigForJsonV3_37_0;
684
- results?: ParameterConfigForJsonV3_37_0;
685
- argsMapping?: ArgsMappingV3_37_0;
686
- resultsMapping?: ResultsMappingV3_37_0;
687
- }
688
- export interface ShapedbResolverShapeNameNotRequiredOptionsV3_37_0 {
689
- [k: string]: any;
690
- }
691
- /**
692
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
693
- * via the `definition` "graphqlResolver".
694
- */
695
- export interface GraphqlResolverV3_37_0 {
696
- if?: string;
697
- id?: string;
698
- name: GraphqlResolverNameV3_37_0;
699
- /**
700
- * Configuration for a service to use with this resolver.
701
- */
702
- service: string;
703
- argsMapping?: ArgsMappingV3_37_0;
704
- resultsMapping?: ResultsMappingV3_37_0;
705
- options?: GraphqlResolverOptionsV3_37_0;
706
- /**
707
- * A fieldname to use in queries.
708
- */
709
- fieldName: string;
710
- headers?: ParameterConfigForHeadersV3_37_0;
711
- searchParams?: ParameterConfigForSearchParamsV3_37_0;
712
- args?: ParameterConfigForJsonV3_37_0;
713
- results?: ParameterConfigForJsonV3_37_0;
714
- }
715
- export interface GraphqlResolverOptionsV3_37_0 {
716
- selectionSet?: string;
717
- unboxParentSelectionSet?: boolean;
718
- ignoreErrors?: boolean;
719
- skipWhenMissingArgs?: boolean;
720
- ttl?: number;
721
- timeout?: number;
722
- retry?: number | {
723
- [k: string]: any;
724
- };
725
- [k: string]: any;
726
- }
727
- /**
728
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
729
- * via the `definition` "parameterConfigForHeaders".
730
- */
731
- export interface ParameterConfigForHeadersV3_37_0 {
732
- ops: ParameterOpListV3_37_0;
733
- serialize?: ParameterSerializeConfigForHeadersV3_37_0;
734
- }
735
- /**
736
- * Top-level paths to use headers serialization options for.
737
- *
738
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
739
- * via the `definition` "parameterSerializeConfigForHeaders".
740
- */
741
- export interface ParameterSerializeConfigForHeadersV3_37_0 {
742
- defaults?: ParameterSerializeStyleOptionsForHeadersV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
743
- paths?: {
744
- /**
745
- * This interface was referenced by `undefined`'s JSON-Schema definition
746
- * via the `patternProperty` "^[^\n\r]*$".
747
- */
748
- [k: string]: ParameterSerializeStyleOptionsForHeadersV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
749
- };
750
- }
751
- /**
752
- * Options to be passed to the serialization routine.
753
- *
754
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
755
- * via the `definition` "parameterSerializeStyleOptionsForHeaders".
756
- */
757
- export interface ParameterSerializeStyleOptionsForHeadersV3_37_0 {
758
- style: 'simple' | 'none';
759
- explode?: boolean;
760
- }
761
- /**
762
- * Options to be passed to the serialization routine.
763
- *
764
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
765
- * via the `definition` "parameterSerializeContentOptions".
766
- */
767
- export interface ParameterSerializeContentOptionsV3_37_0 {
768
- contentType: string;
769
- /**
770
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
771
- */
772
- allowReserved?: boolean;
773
- skipEncoding?: boolean;
774
- /**
775
- * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
776
- */
777
- options?: {
778
- [k: string]: any;
779
- };
780
- }
781
- /**
782
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
783
- * via the `definition` "parameterConfigForSearchParams".
784
- */
785
- export interface ParameterConfigForSearchParamsV3_37_0 {
786
- ops: ParameterOpListV3_37_0;
787
- serialize?: ParameterSerializeConfigForSearchParamsV3_37_0;
788
- }
789
- /**
790
- * Top-level paths to use search params serialization options for.
791
- *
792
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
793
- * via the `definition` "parameterSerializeConfigForSearchParams".
794
- */
795
- export interface ParameterSerializeConfigForSearchParamsV3_37_0 {
796
- defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
797
- paths?: {
798
- /**
799
- * This interface was referenced by `undefined`'s JSON-Schema definition
800
- * via the `patternProperty` "^[^\n\r]*$".
801
- */
802
- [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
803
- };
804
- }
805
- /**
806
- * Options to be passed to the serialization routine.
807
- *
808
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
809
- * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
810
- */
811
- export interface ParameterSerializeStyleOptionsForSearchParamsV3_37_0 {
812
- style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
813
- explode?: boolean;
814
- allowEmptyValue?: boolean;
815
- /**
816
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
817
- */
818
- allowReserved?: boolean;
819
- skipEncoding?: boolean;
820
- }
821
- /**
822
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
823
- * via the `definition` "restResolver".
824
- */
825
- export interface RestResolverV3_37_0 {
826
- if?: string;
827
- id?: string;
828
- name: RestResolverNameV3_37_0;
829
- /**
830
- * Configuration for a service to use with this resolver.
831
- */
832
- service: string;
833
- argsMapping?: ArgsMappingV3_37_0;
834
- searchParamsMapping?: SearchParamsMappingV3_37_0;
835
- resultsMapping?: ResultsMappingV3_37_0;
836
- options?: RestResolverOptionsV3_37_0;
837
- body?: ParameterConfigForBodyV3_37_0;
838
- form?: ParameterConfigForSearchParamsV3_37_0;
839
- headers?: ParameterConfigForHeadersV3_37_0;
840
- json?: ParameterConfigForJsonV3_37_0;
841
- /**
842
- * Mapping and serialization configuration for the path, or a simple string.
843
- */
844
- path: ParameterConfigForPathParamsV3_37_0 | string;
845
- searchParams?: ParameterConfigForSearchParamsV3_37_0;
846
- args?: ParameterConfigForJsonV3_37_0;
847
- results?: ParameterConfigForJsonV3_37_0;
848
- }
849
- export interface RestResolverOptionsV3_37_0 {
850
- trailingSlash?: boolean;
851
- ttl?: number;
852
- timeout?: number;
853
- retry?: number | {
854
- [k: string]: any;
855
- };
856
- [k: string]: any;
857
- }
858
- /**
859
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
860
- * via the `definition` "parameterConfigForBody".
861
- */
862
- export interface ParameterConfigForBodyV3_37_0 {
863
- ops: ParameterOpListV3_37_0;
864
- serialize?: ParameterSerializeConfigForBodyV3_37_0;
865
- }
866
- /**
867
- * Top-level paths to use serialization options for.
868
- *
869
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
870
- * via the `definition` "parameterSerializeConfigForBody".
871
- */
872
- export interface ParameterSerializeConfigForBodyV3_37_0 {
873
- content?: ParameterSerializeContentOptionsV3_37_0;
874
- }
875
- /**
876
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
877
- * via the `definition` "parameterConfigForPathParams".
878
- */
879
- export interface ParameterConfigForPathParamsV3_37_0 {
880
- ops: ParameterOpListV3_37_0;
881
- serialize: ParameterSerializeConfigForPathParamsV3_37_0;
882
- }
883
- /**
884
- * Top-level paths to use path params serialization options for.
885
- *
886
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
887
- * via the `definition` "parameterSerializeConfigForPathParams".
888
- */
889
- export interface ParameterSerializeConfigForPathParamsV3_37_0 {
890
- /**
891
- * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
892
- */
893
- template: string;
894
- defaults?: ParameterSerializeStyleOptionsForPathParamsV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
895
- paths?: {
896
- /**
897
- * This interface was referenced by `undefined`'s JSON-Schema definition
898
- * via the `patternProperty` "^[^\n\r]*$".
899
- */
900
- [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_37_0 | ParameterSerializeContentOptionsV3_37_0;
901
- };
902
- }
903
- /**
904
- * Options to be passed to the serialization routine.
905
- *
906
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
907
- * via the `definition` "parameterSerializeStyleOptionsForPathParams".
908
- */
909
- export interface ParameterSerializeStyleOptionsForPathParamsV3_37_0 {
910
- style: 'simple' | 'label' | 'matrix' | 'none';
911
- explode?: boolean;
912
- allowEmptyValue?: boolean;
913
- /**
914
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
915
- */
916
- allowReserved?: boolean;
917
- skipEncoding?: boolean;
918
- }
919
- /**
920
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
921
- * via the `definition` "awsLambdaResolver".
922
- */
923
- export interface AwsLambdaResolverV3_37_0 {
924
- if?: string;
925
- id?: string;
926
- name: AwsLambdaResolverNameV3_37_0;
927
- /**
928
- * Configuration for a service to use with this resolver.
929
- */
930
- service: string;
931
- options?: AwsLambdaResolverOptionsV3_37_0;
932
- payload?: ParameterConfigForJsonV3_37_0;
933
- /**
934
- * Mapping configuration for the FunctionName.
935
- */
936
- functionName: string | ParameterConfigForAwsLambdaV3_37_0;
937
- clientContext?: ParameterConfigForJsonV3_37_0;
938
- args?: ParameterConfigForJsonV3_37_0;
939
- results?: ParameterConfigForJsonV3_37_0;
940
- argsMapping?: ArgsMappingV3_37_0;
941
- searchParamsMapping?: SearchParamsMappingV3_37_0;
942
- resultsMapping?: ResultsMappingV3_37_0;
943
- }
944
- export interface AwsLambdaResolverOptionsV3_37_0 {
945
- [k: string]: any;
946
- }
947
- /**
948
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
949
- * via the `definition` "parameterConfigForAwsLambda".
950
- */
951
- export interface ParameterConfigForAwsLambdaV3_37_0 {
952
- ops: ParameterOpListV3_37_0;
953
- serialize: ParameterSerializeConfigForPathParamsV3_37_0;
954
- }
955
- /**
956
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
957
- * via the `definition` "salsifyResolver".
958
- */
959
- export interface SalsifyResolverV3_37_0 {
960
- if?: string;
961
- id?: string;
962
- name: SalsifyResolverNameV3_37_0;
963
- /**
964
- * Configuration for a service to use with this resolver.
965
- */
966
- service: string;
967
- options?: SalsifyResolverOptionsV3_37_0;
968
- args?: ParameterConfigForJsonV3_37_0;
969
- results?: ParameterConfigForJsonV3_37_0;
970
- argsMapping?: ArgsMappingV3_37_0;
971
- resultsMapping?: ResultsMappingV3_37_0;
972
- }
973
- export interface SalsifyResolverOptionsV3_37_0 {
974
- [k: string]: any;
975
- }
976
- /**
977
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
978
- * via the `definition` "composeResolver".
979
- */
980
- export interface ComposeResolverV3_37_0 {
981
- compose: BasicResolverV3_37_0[];
982
- resultsMapping?: DirectiveMappingMapV3_37_0 | DirectiveConfigV3_37_0;
983
- results?: ParameterConfigForJsonV3_37_0;
984
- }
985
- /**
986
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
987
- * via the `definition` "indexed".
988
- */
989
- export interface IndexedV3_37_0 {
990
- nested?: boolean;
991
- }
992
- /**
993
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
994
- * via the `definition` "graphql".
995
- */
996
- export interface GraphQLConfigV3_37_0 {
997
- json?: boolean;
998
- }
999
- /**
1000
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1001
- * via the `definition` "shapeMap".
1002
- */
1003
- export interface ShapeMapV3_37_0 {
1004
- [k: string]: ShapeJSONV3_37_0;
1005
- }
1006
- /**
1007
- * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1008
- *
1009
- * This interface was referenced by `ShapeMapV3_37_0`'s JSON-Schema definition
1010
- * via the `patternProperty` "^[0-9A-Za-z_]+$".
1011
- *
1012
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1013
- * via the `definition` "shape".
1014
- */
1015
- export interface ShapeJSONV3_37_0 {
1016
- /**
1017
- * 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
1018
- */
1019
- name: string;
1020
- /**
1021
- * 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.
1022
- */
1023
- id: string;
1024
- /**
1025
- * The human-readable name for a Shape for use in a UI.
1026
- */
1027
- title: string;
1028
- description?: string;
1029
- type?: 'interface' | 'input' | 'output';
1030
- interfaces?: string[];
1031
- /**
1032
- * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1033
- */
1034
- model?: {
1035
- type: ModelTypeV3_37_0;
1036
- };
1037
- workflow?: string;
1038
- loaders?: ShapeLoadersV3_37_0;
1039
- joins?: ShapeJoinsV3_37_0;
1040
- cache?: ShapeCacheConfigV3_37_0;
1041
- schema: ShapeSchemaV3_37_0;
1042
- }
1043
- /**
1044
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1045
- * via the `definition` "shapeLoaders".
1046
- */
1047
- export interface ShapeLoadersV3_37_0 {
1048
- list: StoredListQueryLoaderConfigV3_37_0 | StoredListQueryLoaderConfigV3_37_0[];
1049
- get?: GetQueryLoaderConfigV3_37_0;
1050
- }
1051
- /**
1052
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1053
- * via the `definition` "storedListQueryLoaderConfig".
1054
- */
1055
- export interface StoredListQueryLoaderConfigV3_37_0 {
1056
- query: string;
1057
- args?: {
1058
- [k: string]: any;
1059
- } | {
1060
- [k: string]: any;
1061
- }[];
1062
- pagination?: PaginationConfigV3_37_0;
1063
- }
1064
- /**
1065
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1066
- * via the `definition` "paginationCursorConfig".
1067
- */
1068
- export interface PaginationCursorConfigV3_37_0 {
1069
- type: 'cursor';
1070
- cursorArg: string;
1071
- cursorPath: string;
1072
- pageSize?: number;
1073
- pageSizeArg: string;
1074
- hasMorePath: string;
1075
- itemsPath: string;
1076
- }
1077
- /**
1078
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1079
- * via the `definition` "paginationPageConfig".
1080
- */
1081
- export interface PaginationPageConfigV3_37_0 {
1082
- type: 'page';
1083
- pageArg: string;
1084
- pageSize?: number;
1085
- pageSizeArg?: string;
1086
- itemsPath: string;
1087
- pageTotalPath: string;
1088
- }
1089
- /**
1090
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1091
- * via the `definition` "paginationOffsetConfig".
1092
- */
1093
- export interface PaginationOffsetConfigV3_37_0 {
1094
- type: 'offset';
1095
- offsetArg: string;
1096
- pageSize?: number;
1097
- pageSizeArg?: string;
1098
- itemsPath: string;
1099
- itemTotalPath: string;
1100
- }
1101
- /**
1102
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1103
- * via the `definition` "getQueryLoaderConfig".
1104
- */
1105
- export interface GetQueryLoaderConfigV3_37_0 {
1106
- query: string;
1107
- args?: {
1108
- [k: string]: any;
1109
- };
1110
- idArg?: string;
1111
- }
1112
- /**
1113
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1114
- * via the `definition` "shapeJoins".
1115
- */
1116
- export interface ShapeJoinsV3_37_0 {
1117
- [k: string]: ShapeJoinV3_37_0;
1118
- }
1119
- /**
1120
- * This interface was referenced by `ShapeJoinsV3_37_0`'s JSON-Schema definition
1121
- * via the `patternProperty` "[:0-9A-Za-z_-]+".
1122
- *
1123
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1124
- * via the `definition` "shapeJoin".
1125
- */
1126
- export interface ShapeJoinV3_37_0 {
1127
- resolver: DelegateResolverV3_37_0 | ShapedbResolverV3_37_0;
1128
- dependencies?: string;
1129
- }
1130
- /**
1131
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1132
- * via the `definition` "shapeCacheConfig".
1133
- */
1134
- export interface ShapeCacheConfigV3_37_0 {
1135
- enabled: boolean;
1136
- idField?: string;
1137
- searchSummaryField?: string;
1138
- fragment?: CachedFragmentConfigV3_37_0;
1139
- triggers?: CacheTriggerConfigV3_37_0[];
1140
- }
1141
- /**
1142
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1143
- * via the `definition` "cachedFragmentConfig".
1144
- */
1145
- export interface CachedFragmentConfigV3_37_0 {
1146
- ignoreFields?: string[];
1147
- maxDepth?: number;
1148
- selectionSet?: string;
1149
- }
1150
- /**
1151
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1152
- * via the `definition` "cacheScheduleTriggerConfig".
1153
- */
1154
- export interface CacheScheduleTriggerConfigV3_37_0 {
1155
- type: 'schedule';
1156
- loader: 'get' | 'list';
1157
- interval: number;
1158
- }
1159
- /**
1160
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1161
- * via the `definition` "cacheWebhookTriggerConfig".
1162
- */
1163
- export interface CacheWebhookTriggerConfigV3_37_0 {
1164
- type: 'webhook';
1165
- loader: 'get' | 'list';
1166
- service: string;
1167
- events: string[];
1168
- }
1169
- /**
1170
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1171
- * via the `definition` "shapeSchemaAllOf".
1172
- */
1173
- export interface ShapeSchemaAllOfV3_37_0 {
1174
- allOf: ObjectOrRefArrayV3_37_0;
1175
- }
1176
- /**
1177
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1178
- * via the `definition` "shapeSchemaExtends".
1179
- */
1180
- export interface ShapeSchemaExtendsV3_37_0 {
1181
- extends: ObjectOrRefArrayV3_37_0;
1182
- }
1183
- /**
1184
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1185
- * via the `definition` "shapeSchemaOneOf".
1186
- */
1187
- export interface ShapeSchemaOneOfV3_37_0 {
1188
- oneOf: ObjectOrRefArrayV3_37_0;
1189
- }
1190
- /**
1191
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1192
- * via the `definition` "shapeSchemaEnum".
1193
- */
1194
- export interface ShapeSchemaEnumV3_37_0 {
1195
- enum: string[];
1196
- }
1197
- /**
1198
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1199
- * via the `definition` "shapeSchemaAny".
1200
- */
1201
- export interface ShapeSchemaAnyV3_37_0 {
1202
- }
1203
- /**
1204
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1205
- * via the `definition` "formMap".
1206
- */
1207
- export interface FormMapV3_37_0 {
1208
- [k: string]: FormsConfigV3_37_0;
1209
- }
1210
- /**
1211
- * This interface was referenced by `FormMapV3_37_0`'s JSON-Schema definition
1212
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1213
- *
1214
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1215
- * via the `definition` "formsConfig".
1216
- */
1217
- export interface FormsConfigV3_37_0 {
1218
- default: FormConfigV3_37_0;
1219
- [k: string]: FormConfigV3_37_0;
1220
- }
1221
- /**
1222
- * This interface was referenced by `FormsConfigV3_37_0`'s JSON-Schema definition
1223
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1224
- *
1225
- * This interface was referenced by `undefined`'s JSON-Schema definition
1226
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1227
- *
1228
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1229
- * via the `definition` "formConfig".
1230
- */
1231
- export interface FormConfigV3_37_0 {
1232
- [k: string]: any;
1233
- }
1234
- /**
1235
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1236
- * via the `definition` "workflowMap".
1237
- */
1238
- export interface WorkflowMapV3_37_0 {
1239
- [k: string]: WorkflowV3_37_0;
1240
- }
1241
- /**
1242
- * This interface was referenced by `WorkflowMapV3_37_0`'s JSON-Schema definition
1243
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1244
- *
1245
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1246
- * via the `definition` "workflow".
1247
- */
1248
- export interface WorkflowV3_37_0 {
1249
- /**
1250
- * machine-readable id
1251
- */
1252
- name: string;
1253
- title: WorkflowNameV3_37_0;
1254
- steps: StepsV3_37_0;
1255
- [k: string]: any;
1256
- }
1257
- /**
1258
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1259
- * via the `definition` "workflowStep".
1260
- */
1261
- export interface WorkflowStepV3_37_0 {
1262
- name: NameV3_37_0;
1263
- title: TitleV3_37_0;
1264
- description?: DescriptionV3_37_0;
1265
- color: ColorV3_37_0;
1266
- live: LiveV3_37_0;
1267
- key: KeyV3_37_0;
1268
- }
1269
- /**
1270
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1271
- * via the `definition` "storedServiceMap".
1272
- */
1273
- export interface ServiceMapJSONV3_37_0 {
1274
- [k: string]: ServiceConfigJSONV3_37_0;
1275
- }
1276
- /**
1277
- * This interface was referenced by `ServiceMapJSONV3_37_0`'s JSON-Schema definition
1278
- * via the `patternProperty` "[0-9A-Za-z_-]+".
1279
- *
1280
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1281
- * via the `definition` "storedServiceConfig".
1282
- */
1283
- export interface ServiceConfigJSONV3_37_0 {
1284
- /**
1285
- * Machine-readable identifier, should typically be the same as the property name on the services object.
1286
- */
1287
- id: string;
1288
- /**
1289
- * Human-readable name for this service.
1290
- */
1291
- title: string;
1292
- /**
1293
- * The service provider id.
1294
- */
1295
- provider: string;
1296
- /**
1297
- * A namespace to use for the imported types tied to this service.
1298
- */
1299
- namespace?: string;
1300
- serviceType: ServiceTypeV3_37_0;
1301
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1302
- authentication?: string;
1303
- healthCheck?: ServiceHealthCheckV3_37_0;
1304
- webhookId?: string;
1305
- /**
1306
- * Configuration options passed to and handled by the provider.
1307
- */
1308
- options?: {
1309
- [k: string]: any;
1310
- };
1311
- }
1312
- /**
1313
- * Configuration for ping health checks.
1314
- *
1315
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1316
- * via the `definition` "serviceHealthCheck".
1317
- */
1318
- export interface ServiceHealthCheckV3_37_0 {
1319
- checkName: CheckNameV3_37_0;
1320
- endpoint?: EndpointV3_37_0;
1321
- requestMethod?: RequestMethodV3_37_0;
1322
- requestHeaders?: RequestHeadersV3_37_0;
1323
- requestBody?: RequestBodyV3_37_0;
1324
- requestBodyFormat?: RequestBodyFormatV3_37_0;
1325
- requestTimeout?: RequestTimeoutV3_37_0;
1326
- healthyResponseStatusCode?: HealthyResponseStatusCodeV3_37_0;
1327
- }
1328
- /**
1329
- * Any custom headers to set with the health check request.
1330
- */
1331
- export interface RequestHeadersV3_37_0 {
1332
- [k: string]: any;
1333
- }
1334
- /**
1335
- * All possible options for the more specific ParameterSerializeStyleOptions types.
1336
- *
1337
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1338
- * via the `definition` "parameterSerializeStyleOptions".
1339
- */
1340
- export interface ParameterSerializeStyleOptionsV3_37_0 {
1341
- style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1342
- explode?: boolean;
1343
- allowEmptyValue?: boolean;
1344
- /**
1345
- * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1346
- */
1347
- allowReserved?: boolean;
1348
- skipEncoding?: boolean;
1349
- }
1350
- /**
1351
- * All possible options for the more specific ParameterSerializeConfig types.
1352
- *
1353
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1354
- * via the `definition` "parameterSerializeConfig".
1355
- */
1356
- export interface ParameterSerializeConfigV3_37_0 {
1357
- content?: ParameterSerializeContentOptionsV3_37_0;
1358
- defaults?: ParameterSerializeOptionsV3_37_0;
1359
- paths?: {
1360
- [k: string]: ParameterSerializeOptionsV3_37_0;
1361
- };
1362
- }
1363
- /**
1364
- * All possible options for the more specific ParameterConfig types.
1365
- *
1366
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1367
- * via the `definition` "parameterConfig".
1368
- */
1369
- export interface ParameterConfigV3_37_0 {
1370
- ops: ParameterOpListV3_37_0;
1371
- serialize?: ParameterSerializeConfigV3_37_0;
1372
- }
1373
- /**
1374
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1375
- * via the `definition` "listQueryLoaderConfig".
1376
- */
1377
- export interface ListQueryLoaderConfigV3_37_0 {
1378
- query: string;
1379
- args?: {
1380
- [k: string]: any;
1381
- };
1382
- pagination?: PaginationConfigV3_37_0;
1383
- }
1384
- /**
1385
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1386
- * via the `definition` "formScalarConfig".
1387
- */
1388
- export interface FormScalarConfigV3_37_0 {
1389
- widget: string;
1390
- }
1391
- /**
1392
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1393
- * via the `definition` "formObjectConfig".
1394
- */
1395
- export interface FormObjectConfigV3_37_0 {
1396
- widget?: string;
1397
- order?: string[];
1398
- properties?: {
1399
- [k: string]: FormConfigV3_37_0;
1400
- };
1401
- }
1402
- /**
1403
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1404
- * via the `definition` "formArrayConfig".
1405
- */
1406
- export interface FormArrayConfigV3_37_0 {
1407
- widget: string;
1408
- items: FormConfigV3_37_0;
1409
- }
1410
- /**
1411
- * For use with a custom auth handler on a service provider.
1412
- *
1413
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1414
- * via the `definition` "customAuthentication".
1415
- */
1416
- export interface CustomAuthenticationV3_37_0 {
1417
- type: 'custom';
1418
- [k: string]: any;
1419
- }
1420
- /**
1421
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1422
- * via the `definition` "searchParamsAuthentication".
1423
- */
1424
- export interface SearchParamsAuthenticationV3_37_0 {
1425
- type: 'searchParams';
1426
- params: {
1427
- name: string;
1428
- value: string;
1429
- }[];
1430
- }
1431
- /**
1432
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1433
- * via the `definition` "bearerAuthentication".
1434
- */
1435
- export interface BearerAuthenticationV3_37_0 {
1436
- type: 'bearer';
1437
- token: string;
1438
- prefix?: string;
1439
- header?: string;
1440
- }
1441
- /**
1442
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1443
- * via the `definition` "oauth2BearerAuthentication".
1444
- */
1445
- export interface OAuth2BearerAuthenticationV3_37_0 {
1446
- type: 'oauth2Bearer';
1447
- token: string;
1448
- prefix?: string;
1449
- header?: string;
1450
- scope?: string;
1451
- expiresAt?: string;
1452
- }
1453
- /**
1454
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1455
- * via the `definition` "basicAuthentication".
1456
- */
1457
- export interface BasicAuthenticationV3_37_0 {
1458
- type: 'basic';
1459
- username: string;
1460
- password: string;
1461
- useIso8859?: boolean;
1462
- }
1463
- /**
1464
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1465
- * via the `definition` "oauth2Authentication".
1466
- */
1467
- export interface OAuth2AuthenticationV3_37_0 {
1468
- type: 'oauth2';
1469
- grantType: 'authorizationCode' | 'clientCredentials';
1470
- authorizationUrl?: string;
1471
- accessTokenUrl?: string;
1472
- clientId: string;
1473
- clientSecret?: string;
1474
- scope?: string;
1475
- usePkce?: boolean;
1476
- redirectUrl?: string;
1477
- headerPrefix?: string;
1478
- audience?: string;
1479
- resource?: string;
1480
- }
1481
- /**
1482
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1483
- * via the `definition` "awsAuthentication".
1484
- */
1485
- export interface AWSAuthenticationV3_37_0 {
1486
- type: 'aws';
1487
- awsAccessKeyId: string;
1488
- awsSecretAccessKey: string;
1489
- }
1490
- /**
1491
- * This interface was referenced by `ProjectSchemaJSONV3_37_0`'s JSON-Schema
1492
- * via the `definition` "serviceConfig".
1493
- */
1494
- export interface ServiceConfigV3_37_0 {
1495
- /**
1496
- * Machine-readable identifier, should typically be the same as the property name on the services object.
1497
- */
1498
- id: string;
1499
- /**
1500
- * Human-readable name for this service.
1501
- */
1502
- title: string;
1503
- /**
1504
- * The service provider id.
1505
- */
1506
- provider: string;
1507
- /**
1508
- * A namespace to use for the imported types tied to this service.
1509
- */
1510
- namespace?: string;
1511
- serviceType: ServiceTypeV3_37_0;
1512
- authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1513
- authentication?: ServiceAuthenticationV3_37_0;
1514
- healthCheck?: ServiceHealthCheckV3_37_0;
1515
- webhookId?: string;
1516
- /**
1517
- * Configuration options passed to and handled by the provider.
1518
- */
1519
- options?: {
1520
- [k: string]: any;
1521
- };
1522
- }