@etohq/types 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/dist/api-key/common/api-key.d.ts +1 -1
  2. package/dist/api-key/common/api-key.d.ts.map +1 -1
  3. package/dist/bundles.d.ts +0 -1
  4. package/dist/bundles.d.ts.map +1 -1
  5. package/dist/bundles.js +1 -2
  6. package/dist/bundles.js.map +1 -1
  7. package/dist/index.d.ts +1 -5
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +1 -3
  10. package/dist/index.js.map +1 -1
  11. package/dist/notification/common.d.ts +1 -2
  12. package/dist/notification/common.d.ts.map +1 -1
  13. package/dist/tsconfig.tsbuildinfo +1 -1
  14. package/dist/user/common.d.ts +1 -1
  15. package/dist/user/common.d.ts.map +1 -1
  16. package/dist/workflows-sdk/common.d.ts +1 -1
  17. package/dist/workflows-sdk/common.d.ts.map +1 -1
  18. package/package.json +1 -1
  19. package/dist/http/access-link/index.d.ts +0 -4
  20. package/dist/http/access-link/index.d.ts.map +0 -1
  21. package/dist/http/access-link/index.js +0 -20
  22. package/dist/http/access-link/index.js.map +0 -1
  23. package/dist/http/access-link/invitation.d.ts +0 -144
  24. package/dist/http/access-link/invitation.d.ts.map +0 -1
  25. package/dist/http/access-link/invitation.js +0 -7
  26. package/dist/http/access-link/invitation.js.map +0 -1
  27. package/dist/http/access-link/payloads.d.ts +0 -104
  28. package/dist/http/access-link/payloads.d.ts.map +0 -1
  29. package/dist/http/access-link/payloads.js +0 -3
  30. package/dist/http/access-link/payloads.js.map +0 -1
  31. package/dist/http/access-link/queries.d.ts +0 -110
  32. package/dist/http/access-link/queries.d.ts.map +0 -1
  33. package/dist/http/access-link/queries.js +0 -3
  34. package/dist/http/access-link/queries.js.map +0 -1
  35. package/dist/http/access-link/responses.d.ts +0 -169
  36. package/dist/http/access-link/responses.d.ts.map +0 -1
  37. package/dist/http/access-link/responses.js +0 -3
  38. package/dist/http/access-link/responses.js.map +0 -1
  39. package/dist/http/ambassador/admin/index.d.ts +0 -4
  40. package/dist/http/ambassador/admin/index.d.ts.map +0 -1
  41. package/dist/http/ambassador/admin/index.js +0 -20
  42. package/dist/http/ambassador/admin/index.js.map +0 -1
  43. package/dist/http/ambassador/admin/payloads.d.ts +0 -97
  44. package/dist/http/ambassador/admin/payloads.d.ts.map +0 -1
  45. package/dist/http/ambassador/admin/payloads.js +0 -3
  46. package/dist/http/ambassador/admin/payloads.js.map +0 -1
  47. package/dist/http/ambassador/admin/queries.d.ts +0 -120
  48. package/dist/http/ambassador/admin/queries.d.ts.map +0 -1
  49. package/dist/http/ambassador/admin/queries.js +0 -3
  50. package/dist/http/ambassador/admin/queries.js.map +0 -1
  51. package/dist/http/ambassador/admin/responses.d.ts +0 -171
  52. package/dist/http/ambassador/admin/responses.d.ts.map +0 -1
  53. package/dist/http/ambassador/admin/responses.js +0 -3
  54. package/dist/http/ambassador/admin/responses.js.map +0 -1
  55. package/dist/http/ambassador/index.d.ts +0 -2
  56. package/dist/http/ambassador/index.d.ts.map +0 -1
  57. package/dist/http/ambassador/index.js +0 -18
  58. package/dist/http/ambassador/index.js.map +0 -1
  59. package/dist/http/api-key/admin/index.d.ts +0 -4
  60. package/dist/http/api-key/admin/index.d.ts.map +0 -1
  61. package/dist/http/api-key/admin/index.js +0 -20
  62. package/dist/http/api-key/admin/index.js.map +0 -1
  63. package/dist/http/api-key/admin/payloads.d.ts +0 -21
  64. package/dist/http/api-key/admin/payloads.d.ts.map +0 -1
  65. package/dist/http/api-key/admin/payloads.js +0 -3
  66. package/dist/http/api-key/admin/payloads.js.map +0 -1
  67. package/dist/http/api-key/admin/queries.d.ts +0 -41
  68. package/dist/http/api-key/admin/queries.d.ts.map +0 -1
  69. package/dist/http/api-key/admin/queries.js +0 -18
  70. package/dist/http/api-key/admin/queries.js.map +0 -1
  71. package/dist/http/api-key/admin/responses.d.ts +0 -67
  72. package/dist/http/api-key/admin/responses.d.ts.map +0 -1
  73. package/dist/http/api-key/admin/responses.js +0 -3
  74. package/dist/http/api-key/admin/responses.js.map +0 -1
  75. package/dist/http/api-key/index.d.ts +0 -2
  76. package/dist/http/api-key/index.d.ts.map +0 -1
  77. package/dist/http/api-key/index.js +0 -18
  78. package/dist/http/api-key/index.js.map +0 -1
  79. package/dist/http/auth/index.d.ts +0 -2
  80. package/dist/http/auth/index.d.ts.map +0 -1
  81. package/dist/http/auth/index.js +0 -18
  82. package/dist/http/auth/index.js.map +0 -1
  83. package/dist/http/auth/payloads.d.ts +0 -10
  84. package/dist/http/auth/payloads.d.ts.map +0 -1
  85. package/dist/http/auth/payloads.js +0 -3
  86. package/dist/http/auth/payloads.js.map +0 -1
  87. package/dist/http/common/additional_data.d.ts +0 -15
  88. package/dist/http/common/additional_data.d.ts.map +0 -1
  89. package/dist/http/common/additional_data.js +0 -3
  90. package/dist/http/common/additional_data.js.map +0 -1
  91. package/dist/http/common/index.d.ts +0 -4
  92. package/dist/http/common/index.d.ts.map +0 -1
  93. package/dist/http/common/index.js +0 -20
  94. package/dist/http/common/index.js.map +0 -1
  95. package/dist/http/common/request.d.ts +0 -71
  96. package/dist/http/common/request.d.ts.map +0 -1
  97. package/dist/http/common/request.js +0 -3
  98. package/dist/http/common/request.js.map +0 -1
  99. package/dist/http/common/response.d.ts +0 -73
  100. package/dist/http/common/response.d.ts.map +0 -1
  101. package/dist/http/common/response.js +0 -3
  102. package/dist/http/common/response.js.map +0 -1
  103. package/dist/http/currency/common.d.ts +0 -48
  104. package/dist/http/currency/common.d.ts.map +0 -1
  105. package/dist/http/currency/common.js +0 -3
  106. package/dist/http/currency/common.js.map +0 -1
  107. package/dist/http/currency/index.d.ts +0 -2
  108. package/dist/http/currency/index.d.ts.map +0 -1
  109. package/dist/http/currency/index.js +0 -18
  110. package/dist/http/currency/index.js.map +0 -1
  111. package/dist/http/encore/dal-validator.d.ts +0 -187
  112. package/dist/http/encore/dal-validator.d.ts.map +0 -1
  113. package/dist/http/encore/dal-validator.js +0 -9
  114. package/dist/http/encore/dal-validator.js.map +0 -1
  115. package/dist/http/encore/encore.d.ts +0 -199
  116. package/dist/http/encore/encore.d.ts.map +0 -1
  117. package/dist/http/encore/encore.js +0 -16
  118. package/dist/http/encore/encore.js.map +0 -1
  119. package/dist/http/encore/index.d.ts +0 -3
  120. package/dist/http/encore/index.d.ts.map +0 -1
  121. package/dist/http/encore/index.js +0 -3
  122. package/dist/http/encore/index.js.map +0 -1
  123. package/dist/http/file/admin/entities.d.ts +0 -4
  124. package/dist/http/file/admin/entities.d.ts.map +0 -1
  125. package/dist/http/file/admin/entities.js +0 -3
  126. package/dist/http/file/admin/entities.js.map +0 -1
  127. package/dist/http/file/admin/index.d.ts +0 -4
  128. package/dist/http/file/admin/index.d.ts.map +0 -1
  129. package/dist/http/file/admin/index.js +0 -20
  130. package/dist/http/file/admin/index.js.map +0 -1
  131. package/dist/http/file/admin/payloads.d.ts +0 -21
  132. package/dist/http/file/admin/payloads.d.ts.map +0 -1
  133. package/dist/http/file/admin/payloads.js +0 -3
  134. package/dist/http/file/admin/payloads.js.map +0 -1
  135. package/dist/http/file/admin/responses.d.ts +0 -43
  136. package/dist/http/file/admin/responses.d.ts.map +0 -1
  137. package/dist/http/file/admin/responses.js +0 -3
  138. package/dist/http/file/admin/responses.js.map +0 -1
  139. package/dist/http/file/common.d.ts +0 -28
  140. package/dist/http/file/common.d.ts.map +0 -1
  141. package/dist/http/file/common.js +0 -3
  142. package/dist/http/file/common.js.map +0 -1
  143. package/dist/http/file/index.d.ts +0 -3
  144. package/dist/http/file/index.d.ts.map +0 -1
  145. package/dist/http/file/index.js +0 -19
  146. package/dist/http/file/index.js.map +0 -1
  147. package/dist/http/file/store.d.ts +0 -4
  148. package/dist/http/file/store.d.ts.map +0 -1
  149. package/dist/http/file/store.js +0 -3
  150. package/dist/http/file/store.js.map +0 -1
  151. package/dist/http/index.d.ts +0 -12
  152. package/dist/http/index.d.ts.map +0 -1
  153. package/dist/http/index.js +0 -28
  154. package/dist/http/index.js.map +0 -1
  155. package/dist/http/invite/admin/entities.d.ts +0 -35
  156. package/dist/http/invite/admin/entities.d.ts.map +0 -1
  157. package/dist/http/invite/admin/entities.js +0 -3
  158. package/dist/http/invite/admin/entities.js.map +0 -1
  159. package/dist/http/invite/admin/index.d.ts +0 -5
  160. package/dist/http/invite/admin/index.d.ts.map +0 -1
  161. package/dist/http/invite/admin/index.js +0 -21
  162. package/dist/http/invite/admin/index.js.map +0 -1
  163. package/dist/http/invite/admin/payloads.d.ts +0 -25
  164. package/dist/http/invite/admin/payloads.d.ts.map +0 -1
  165. package/dist/http/invite/admin/payloads.js +0 -3
  166. package/dist/http/invite/admin/payloads.js.map +0 -1
  167. package/dist/http/invite/admin/queries.d.ts +0 -11
  168. package/dist/http/invite/admin/queries.d.ts.map +0 -1
  169. package/dist/http/invite/admin/queries.js +0 -3
  170. package/dist/http/invite/admin/queries.js.map +0 -1
  171. package/dist/http/invite/admin/responses.d.ts +0 -28
  172. package/dist/http/invite/admin/responses.d.ts.map +0 -1
  173. package/dist/http/invite/admin/responses.js +0 -3
  174. package/dist/http/invite/admin/responses.js.map +0 -1
  175. package/dist/http/invite/index.d.ts +0 -2
  176. package/dist/http/invite/index.d.ts.map +0 -1
  177. package/dist/http/invite/index.js +0 -18
  178. package/dist/http/invite/index.js.map +0 -1
  179. package/dist/http/locale/admin/entities.d.ts +0 -4
  180. package/dist/http/locale/admin/entities.d.ts.map +0 -1
  181. package/dist/http/locale/admin/entities.js +0 -3
  182. package/dist/http/locale/admin/entities.js.map +0 -1
  183. package/dist/http/locale/admin/index.d.ts +0 -4
  184. package/dist/http/locale/admin/index.d.ts.map +0 -1
  185. package/dist/http/locale/admin/index.js +0 -20
  186. package/dist/http/locale/admin/index.js.map +0 -1
  187. package/dist/http/locale/admin/queries.d.ts +0 -18
  188. package/dist/http/locale/admin/queries.d.ts.map +0 -1
  189. package/dist/http/locale/admin/queries.js +0 -3
  190. package/dist/http/locale/admin/queries.js.map +0 -1
  191. package/dist/http/locale/admin/responses.d.ts +0 -16
  192. package/dist/http/locale/admin/responses.d.ts.map +0 -1
  193. package/dist/http/locale/admin/responses.js +0 -3
  194. package/dist/http/locale/admin/responses.js.map +0 -1
  195. package/dist/http/locale/common.d.ts +0 -29
  196. package/dist/http/locale/common.d.ts.map +0 -1
  197. package/dist/http/locale/common.js +0 -3
  198. package/dist/http/locale/common.js.map +0 -1
  199. package/dist/http/locale/index.d.ts +0 -4
  200. package/dist/http/locale/index.d.ts.map +0 -1
  201. package/dist/http/locale/index.js +0 -20
  202. package/dist/http/locale/index.js.map +0 -1
  203. package/dist/http/locale/store/entities.d.ts +0 -4
  204. package/dist/http/locale/store/entities.d.ts.map +0 -1
  205. package/dist/http/locale/store/entities.js +0 -3
  206. package/dist/http/locale/store/entities.js.map +0 -1
  207. package/dist/http/locale/store/index.d.ts +0 -3
  208. package/dist/http/locale/store/index.d.ts.map +0 -1
  209. package/dist/http/locale/store/index.js +0 -19
  210. package/dist/http/locale/store/index.js.map +0 -1
  211. package/dist/http/locale/store/responses.d.ts +0 -8
  212. package/dist/http/locale/store/responses.d.ts.map +0 -1
  213. package/dist/http/locale/store/responses.js +0 -3
  214. package/dist/http/locale/store/responses.js.map +0 -1
  215. package/dist/http/notification/admin/entities.d.ts +0 -68
  216. package/dist/http/notification/admin/entities.d.ts.map +0 -1
  217. package/dist/http/notification/admin/entities.js +0 -3
  218. package/dist/http/notification/admin/entities.js.map +0 -1
  219. package/dist/http/notification/admin/index.d.ts +0 -4
  220. package/dist/http/notification/admin/index.d.ts.map +0 -1
  221. package/dist/http/notification/admin/index.js +0 -20
  222. package/dist/http/notification/admin/index.js.map +0 -1
  223. package/dist/http/notification/admin/queries.d.ts +0 -19
  224. package/dist/http/notification/admin/queries.d.ts.map +0 -1
  225. package/dist/http/notification/admin/queries.js +0 -3
  226. package/dist/http/notification/admin/queries.js.map +0 -1
  227. package/dist/http/notification/admin/responses.d.ts +0 -16
  228. package/dist/http/notification/admin/responses.d.ts.map +0 -1
  229. package/dist/http/notification/admin/responses.js +0 -3
  230. package/dist/http/notification/admin/responses.js.map +0 -1
  231. package/dist/http/notification/index.d.ts +0 -2
  232. package/dist/http/notification/index.d.ts.map +0 -1
  233. package/dist/http/notification/index.js +0 -18
  234. package/dist/http/notification/index.js.map +0 -1
  235. package/dist/http/payment/admin/entities.d.ts +0 -46
  236. package/dist/http/payment/admin/entities.d.ts.map +0 -1
  237. package/dist/http/payment/admin/entities.js +0 -3
  238. package/dist/http/payment/admin/entities.js.map +0 -1
  239. package/dist/http/payment/admin/index.d.ts +0 -5
  240. package/dist/http/payment/admin/index.d.ts.map +0 -1
  241. package/dist/http/payment/admin/index.js +0 -21
  242. package/dist/http/payment/admin/index.js.map +0 -1
  243. package/dist/http/payment/admin/payloads.d.ts +0 -40
  244. package/dist/http/payment/admin/payloads.d.ts.map +0 -1
  245. package/dist/http/payment/admin/payloads.js +0 -3
  246. package/dist/http/payment/admin/payloads.js.map +0 -1
  247. package/dist/http/payment/admin/queries.d.ts +0 -55
  248. package/dist/http/payment/admin/queries.d.ts.map +0 -1
  249. package/dist/http/payment/admin/queries.js +0 -3
  250. package/dist/http/payment/admin/queries.js.map +0 -1
  251. package/dist/http/payment/admin/responses.d.ts +0 -48
  252. package/dist/http/payment/admin/responses.d.ts.map +0 -1
  253. package/dist/http/payment/admin/responses.js +0 -3
  254. package/dist/http/payment/admin/responses.js.map +0 -1
  255. package/dist/http/payment/common.d.ts +0 -369
  256. package/dist/http/payment/common.d.ts.map +0 -1
  257. package/dist/http/payment/common.js +0 -3
  258. package/dist/http/payment/common.js.map +0 -1
  259. package/dist/http/payment/index.d.ts +0 -2
  260. package/dist/http/payment/index.d.ts.map +0 -1
  261. package/dist/http/payment/index.js +0 -18
  262. package/dist/http/payment/index.js.map +0 -1
  263. package/dist/http/plugins/admin/responses.d.ts +0 -13
  264. package/dist/http/plugins/admin/responses.d.ts.map +0 -1
  265. package/dist/http/plugins/admin/responses.js +0 -3
  266. package/dist/http/plugins/admin/responses.js.map +0 -1
  267. package/dist/http/plugins/index.d.ts +0 -2
  268. package/dist/http/plugins/index.d.ts.map +0 -1
  269. package/dist/http/plugins/index.js +0 -18
  270. package/dist/http/plugins/index.js.map +0 -1
  271. package/dist/http/refund-reason/admin/entities.d.ts +0 -4
  272. package/dist/http/refund-reason/admin/entities.d.ts.map +0 -1
  273. package/dist/http/refund-reason/admin/entities.js +0 -3
  274. package/dist/http/refund-reason/admin/entities.js.map +0 -1
  275. package/dist/http/refund-reason/admin/index.d.ts +0 -5
  276. package/dist/http/refund-reason/admin/index.d.ts.map +0 -1
  277. package/dist/http/refund-reason/admin/index.js +0 -21
  278. package/dist/http/refund-reason/admin/index.js.map +0 -1
  279. package/dist/http/refund-reason/admin/payloads.d.ts +0 -30
  280. package/dist/http/refund-reason/admin/payloads.d.ts.map +0 -1
  281. package/dist/http/refund-reason/admin/payloads.js +0 -3
  282. package/dist/http/refund-reason/admin/payloads.js.map +0 -1
  283. package/dist/http/refund-reason/admin/queries.d.ts +0 -8
  284. package/dist/http/refund-reason/admin/queries.d.ts.map +0 -1
  285. package/dist/http/refund-reason/admin/queries.js +0 -3
  286. package/dist/http/refund-reason/admin/queries.js.map +0 -1
  287. package/dist/http/refund-reason/admin/responses.d.ts +0 -18
  288. package/dist/http/refund-reason/admin/responses.d.ts.map +0 -1
  289. package/dist/http/refund-reason/admin/responses.js +0 -3
  290. package/dist/http/refund-reason/admin/responses.js.map +0 -1
  291. package/dist/http/refund-reason/common.d.ts +0 -65
  292. package/dist/http/refund-reason/common.d.ts.map +0 -1
  293. package/dist/http/refund-reason/common.js +0 -3
  294. package/dist/http/refund-reason/common.js.map +0 -1
  295. package/dist/http/refund-reason/index.d.ts +0 -2
  296. package/dist/http/refund-reason/index.d.ts.map +0 -1
  297. package/dist/http/refund-reason/index.js +0 -18
  298. package/dist/http/refund-reason/index.js.map +0 -1
  299. package/dist/http/translations/admin/entities.d.ts +0 -81
  300. package/dist/http/translations/admin/entities.d.ts.map +0 -1
  301. package/dist/http/translations/admin/entities.js +0 -3
  302. package/dist/http/translations/admin/entities.js.map +0 -1
  303. package/dist/http/translations/admin/index.d.ts +0 -5
  304. package/dist/http/translations/admin/index.d.ts.map +0 -1
  305. package/dist/http/translations/admin/index.js +0 -21
  306. package/dist/http/translations/admin/index.js.map +0 -1
  307. package/dist/http/translations/admin/payloads.d.ts +0 -90
  308. package/dist/http/translations/admin/payloads.d.ts.map +0 -1
  309. package/dist/http/translations/admin/payloads.js +0 -3
  310. package/dist/http/translations/admin/payloads.js.map +0 -1
  311. package/dist/http/translations/admin/queries.d.ts +0 -85
  312. package/dist/http/translations/admin/queries.d.ts.map +0 -1
  313. package/dist/http/translations/admin/queries.js +0 -6
  314. package/dist/http/translations/admin/queries.js.map +0 -1
  315. package/dist/http/translations/admin/responses.d.ts +0 -152
  316. package/dist/http/translations/admin/responses.d.ts.map +0 -1
  317. package/dist/http/translations/admin/responses.js +0 -3
  318. package/dist/http/translations/admin/responses.js.map +0 -1
  319. package/dist/http/translations/index.d.ts +0 -2
  320. package/dist/http/translations/index.d.ts.map +0 -1
  321. package/dist/http/translations/index.js +0 -18
  322. package/dist/http/translations/index.js.map +0 -1
  323. package/dist/http/user/admin/entities.d.ts +0 -39
  324. package/dist/http/user/admin/entities.d.ts.map +0 -1
  325. package/dist/http/user/admin/entities.js +0 -3
  326. package/dist/http/user/admin/entities.js.map +0 -1
  327. package/dist/http/user/admin/index.d.ts +0 -5
  328. package/dist/http/user/admin/index.d.ts.map +0 -1
  329. package/dist/http/user/admin/index.js +0 -21
  330. package/dist/http/user/admin/index.js.map +0 -1
  331. package/dist/http/user/admin/payloads.d.ts +0 -25
  332. package/dist/http/user/admin/payloads.d.ts.map +0 -1
  333. package/dist/http/user/admin/payloads.js +0 -3
  334. package/dist/http/user/admin/payloads.js.map +0 -1
  335. package/dist/http/user/admin/queries.d.ts +0 -38
  336. package/dist/http/user/admin/queries.d.ts.map +0 -1
  337. package/dist/http/user/admin/queries.js +0 -19
  338. package/dist/http/user/admin/queries.js.map +0 -1
  339. package/dist/http/user/admin/responses.d.ts +0 -18
  340. package/dist/http/user/admin/responses.d.ts.map +0 -1
  341. package/dist/http/user/admin/responses.js +0 -3
  342. package/dist/http/user/admin/responses.js.map +0 -1
  343. package/dist/http/user/index.d.ts +0 -2
  344. package/dist/http/user/index.d.ts.map +0 -1
  345. package/dist/http/user/index.js +0 -18
  346. package/dist/http/user/index.js.map +0 -1
  347. package/dist/http/view-configuration/admin/columns.d.ts +0 -72
  348. package/dist/http/view-configuration/admin/columns.d.ts.map +0 -1
  349. package/dist/http/view-configuration/admin/columns.js +0 -3
  350. package/dist/http/view-configuration/admin/columns.js.map +0 -1
  351. package/dist/http/view-configuration/admin/index.d.ts +0 -5
  352. package/dist/http/view-configuration/admin/index.d.ts.map +0 -1
  353. package/dist/http/view-configuration/admin/index.js +0 -21
  354. package/dist/http/view-configuration/admin/index.js.map +0 -1
  355. package/dist/http/view-configuration/admin/payloads.d.ts +0 -103
  356. package/dist/http/view-configuration/admin/payloads.d.ts.map +0 -1
  357. package/dist/http/view-configuration/admin/payloads.js +0 -3
  358. package/dist/http/view-configuration/admin/payloads.js.map +0 -1
  359. package/dist/http/view-configuration/admin/queries.d.ts +0 -35
  360. package/dist/http/view-configuration/admin/queries.d.ts.map +0 -1
  361. package/dist/http/view-configuration/admin/queries.js +0 -6
  362. package/dist/http/view-configuration/admin/queries.js.map +0 -1
  363. package/dist/http/view-configuration/admin/responses.d.ts +0 -78
  364. package/dist/http/view-configuration/admin/responses.d.ts.map +0 -1
  365. package/dist/http/view-configuration/admin/responses.js +0 -3
  366. package/dist/http/view-configuration/admin/responses.js.map +0 -1
  367. package/dist/http/view-configuration/index.d.ts +0 -2
  368. package/dist/http/view-configuration/index.d.ts.map +0 -1
  369. package/dist/http/view-configuration/index.js +0 -18
  370. package/dist/http/view-configuration/index.js.map +0 -1
  371. package/dist/http/workflow-execution/admin/entities.d.ts +0 -202
  372. package/dist/http/workflow-execution/admin/entities.d.ts.map +0 -1
  373. package/dist/http/workflow-execution/admin/entities.js +0 -3
  374. package/dist/http/workflow-execution/admin/entities.js.map +0 -1
  375. package/dist/http/workflow-execution/admin/index.d.ts +0 -4
  376. package/dist/http/workflow-execution/admin/index.d.ts.map +0 -1
  377. package/dist/http/workflow-execution/admin/index.js +0 -20
  378. package/dist/http/workflow-execution/admin/index.js.map +0 -1
  379. package/dist/http/workflow-execution/admin/queries.d.ts +0 -16
  380. package/dist/http/workflow-execution/admin/queries.d.ts.map +0 -1
  381. package/dist/http/workflow-execution/admin/queries.js +0 -3
  382. package/dist/http/workflow-execution/admin/queries.js.map +0 -1
  383. package/dist/http/workflow-execution/admin/responses.d.ts +0 -19
  384. package/dist/http/workflow-execution/admin/responses.d.ts.map +0 -1
  385. package/dist/http/workflow-execution/admin/responses.js +0 -3
  386. package/dist/http/workflow-execution/admin/responses.js.map +0 -1
  387. package/dist/http/workflow-execution/index.d.ts +0 -2
  388. package/dist/http/workflow-execution/index.d.ts.map +0 -1
  389. package/dist/http/workflow-execution/index.js +0 -18
  390. package/dist/http/workflow-execution/index.js.map +0 -1
@@ -1,71 +0,0 @@
1
- /**
2
- * Generic type to modify a property of a base interface only if it exists.
3
- * Makes the specified key required with the new type.
4
- */
5
- export type ModIfKey<T, K extends keyof T, U> = {
6
- [P in keyof T]: P extends K ? U : T[P];
7
- };
8
- export interface SelectParams {
9
- /**
10
- * The fields and relations to retrieve separated by commas.
11
- *
12
- * Learn more in the [API reference](https://docs.etohq.com/api/store#select-fields-and-relations).
13
- */
14
- fields?: string[];
15
- }
16
- export interface FindParams extends SelectParams {
17
- /**
18
- * The maximum number of items to retrieve.
19
- */
20
- limit?: number;
21
- /**
22
- * The number of items to skip before retrieving the returned items.
23
- */
24
- offset?: number;
25
- /**
26
- * The field to sort by and in which order.
27
- *
28
- * @example
29
- * -created_at
30
- */
31
- order?: string;
32
- }
33
- export interface AdminBatchLink {
34
- /**
35
- * The IDs of the items to create an association to.
36
- */
37
- add?: string[];
38
- /**
39
- * The IDs of the items to remove the association from.
40
- */
41
- remove?: string[];
42
- }
43
- export type LinkMethodRequest = {
44
- add?: string[];
45
- remove?: string[];
46
- };
47
- /**
48
- * Specific generic type to ensure `id` is present as a required `string` (never undefined).
49
- * If `id` exists in T, it is overridden as required string (not string | undefined).
50
- * If `id` does not exist in T, it is added as required string.
51
- */
52
- export type ModReqId<T extends object> = Omit<T, "id"> & {
53
- id: string;
54
- };
55
- export type WithRequestConfig = {
56
- queryConfig: {
57
- fields?: string[];
58
- pagination: {
59
- skip?: number;
60
- take?: number;
61
- };
62
- };
63
- };
64
- export type EtoRequest<Body = unknown> = Body;
65
- /**
66
- * Combines ModReqId and EtoRequest: ensures `id` is required string and merges with QueryFields.
67
- */
68
- export type EtoReqIdRequest<T extends object> = T & {
69
- id: string;
70
- };
71
- //# sourceMappingURL=request.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EAAE,CAAC,IAAI;KAC7C,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AACD;;;;GAIG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;QACjB,UAAU,EAAE;YAEV,IAAI,CAAC,EAAE,MAAM,CAAA;YACb,IAAI,CAAC,EAAE,MAAM,CAAA;SACd,CAAA;KACF,CAAA;CACF,CAAA;AAED,MAAM,MAAM,UAAU,CAAC,IAAI,GAAG,OAAO,IAAI,IAAI,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":""}
@@ -1,73 +0,0 @@
1
- export type EtoResponse<Body = unknown> = Body;
2
- export type DeleteResponse<TObject extends string> = {
3
- /**
4
- * The ID of the item that was deleted.
5
- */
6
- id: string;
7
- /**
8
- * The type of the item that was deleted.
9
- */
10
- object: TObject;
11
- /**
12
- * Whether the item was deleted successfully.
13
- */
14
- deleted: boolean;
15
- };
16
- export type DeleteResponseWithParent<TObject extends string, TParent = unknown> = DeleteResponse<TObject> & {
17
- /**
18
- * The parent resource of the item that was deleted, if applicable.
19
- */
20
- parent?: TParent;
21
- };
22
- export type PaginatedResponse<T> = {
23
- /**
24
- * The maximum number of items retrieved.
25
- */
26
- limit: number;
27
- /**
28
- * The number of items to skip before retrieving the returned items.
29
- */
30
- offset: number;
31
- /**
32
- * The total number of items.
33
- */
34
- count: number;
35
- /**
36
- * The estimated count retrieved from the PostgreSQL query planner, which may be inaccurate.
37
- *
38
- * @featureFlag index_engine
39
- * @version 2.8.0
40
- */
41
- estimate_count?: number;
42
- } & T;
43
- export type BatchResponse<T> = {
44
- /**
45
- * The items that were created.
46
- */
47
- created: T[];
48
- /**
49
- * The items that were updated.
50
- */
51
- updated: T[];
52
- /**
53
- * Details of the items that were deleted.
54
- */
55
- deleted: {
56
- /**
57
- * The IDs of the items that were deleted.
58
- */
59
- ids: string[];
60
- /**
61
- * The type of the items that were deleted.
62
- *
63
- * @example
64
- * "product"
65
- */
66
- object: string;
67
- /**
68
- * Whether the items were deleted successfully.
69
- */
70
- deleted: boolean;
71
- };
72
- };
73
- //# sourceMappingURL=response.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CAAC,IAAI,GAAG,OAAO,IAAI,IAAI,CAAA;AAE9C,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAClC,OAAO,SAAS,MAAM,EACtB,OAAO,GAAG,OAAO,IACf,cAAc,CAAC,OAAO,CAAC,GAAG;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,CAAC,CAAA;AAEL,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ;;OAEG;IACH,OAAO,EAAE;QACP;;WAEG;QACH,GAAG,EAAE,MAAM,EAAE,CAAA;QACb;;;;;WAKG;QACH,MAAM,EAAE,MAAM,CAAA;QACd;;WAEG;QACH,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":""}
@@ -1,48 +0,0 @@
1
- export interface BaseCurrency {
2
- /**
3
- * The currency's code.
4
- *
5
- * @example
6
- * usd
7
- */
8
- code: string;
9
- /**
10
- * The currency's symbol.
11
- *
12
- * @example
13
- * $
14
- */
15
- symbol: string;
16
- /**
17
- * The currency's symbol in its native language or country.
18
- *
19
- * @example
20
- * $
21
- */
22
- symbol_native: string;
23
- /**
24
- * The currency's name.
25
- */
26
- name: string;
27
- /**
28
- * The number of digits after the decimal for prices in this currency.
29
- */
30
- decimal_digits: number;
31
- /**
32
- * The rounding percision applied on prices in this currency.
33
- */
34
- rounding: number;
35
- /**
36
- * The date the currency was created.
37
- */
38
- created_at: string;
39
- /**
40
- * The date the currency was updated.
41
- */
42
- updated_at: string;
43
- /**
44
- * The date the currency was deleted.
45
- */
46
- deleted_at: string | null;
47
- }
48
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from "./common";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./common"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
@@ -1,187 +0,0 @@
1
- /**
2
- * If T is an array then return its non-null element type;
3
- * otherwise, return the non-null T.
4
- */
5
- export type ExpandProperty<T> = T extends any[] ? NonNullable<T[number]> : NonNullable<T>;
6
- /**
7
- * A generic object with string keys.
8
- */
9
- export type Dictionary<T = any> = {
10
- [k: string]: T;
11
- };
12
- /**
13
- * A set of scalar types.
14
- */
15
- export type Scalar = boolean | number | string | bigint | symbol | Date | Buffer | {
16
- toHexString(): string;
17
- };
18
- /**
19
- * For strings and dates we allow an alternate representation.
20
- */
21
- /**
22
- * A simplified operator map for filtering string values. Each operator’s type
23
- * is chosen to mirror the original meaning:
24
- *
25
- * below not supported at validation later but supported at dal entity layer.
26
- * - `$eq` accepts a single value or an array of values.
27
- * - `$gt`, `$gte`, `$lt`, and `$lte` can be used to compare values.
28
- * - `$like`, `$re`, etc., are strings used to express text patterns.
29
- // * - The `$and` and `$or` keys allow for recursive, compound filtering.
30
- */
31
- export type ExpandScalar<T> = T extends string ? string | null : T extends Date ? Date | string | null : T | null;
32
- /**
33
- * Exclude keys whose values are functions.
34
- */
35
- export type NonFunctionKeys<T> = {
36
- [K in keyof T]: T[K] extends Function ? never : K;
37
- }[keyof T];
38
- /**
39
- * Make a type readonly. (If it’s an array, use ReadonlyArray.)
40
- */
41
- export type ReadonlyPrimary<T> = T extends any[] ? Readonly<T> : T;
42
- /**
43
- * A unique symbol to tag primary keys.
44
- */
45
- export declare const PrimaryKeyType: unique symbol;
46
- /**
47
- * Attempt to extract a primary key type from a model.
48
- * (Note: This simplified version only checks for a few common keys.)
49
- */
50
- export type Primary<T> = T extends {
51
- [key in typeof PrimaryKeyType]?: unknown;
52
- } ? ReadonlyPrimary<T[typeof PrimaryKeyType]> : T extends {
53
- _id?: unknown;
54
- } ? ReadonlyPrimary<T["_id"]> | string : T extends {
55
- uuid?: unknown;
56
- } ? ReadonlyPrimary<T["uuid"]> : T extends {
57
- id?: unknown;
58
- } ? ReadonlyPrimary<T["id"]> : never;
59
- /**
60
- * A simplified operator map for filtering values.
61
- *
62
- * This is the ENCORE-COMPATIBLE version of OperatorMap. It is intentionally
63
- * simplified to just `T` (the base type) because Encore's API parser cannot
64
- * handle the complex OperatorMap structure from the DAL version.
65
- *
66
- * WHY THIS MATTERS:
67
- * - DAL version: Complex object with operators ($eq, $gt, $in, etc.)
68
- * Used internally for database queries via ctx.filterableFields
69
- * - HTTP/Encore version: Simplified to base type T
70
- * Used in route query parameter interfaces for Encore API compatibility
71
- *
72
- * ROUTE USAGE PATTERN:
73
- * When defining query parameters for routes, use simple types:
74
- * created_at?: string // NOT: created_at?: OperatorMap<string>
75
- *
76
- * The actual filtering logic uses ctx.filterableFields (which has the DAL
77
- * OperatorMap) passed to remoteQueryObjectFromString().
78
- *
79
- * TEMPORARY WORKAROUND:
80
- * Until Encore supports complex type aliases, routes should use EncoreSafe
81
- * interfaces that replace OperatorMap<T> with plain T.
82
- *
83
- * @example
84
- * // INCORRECT - causes "type not supported for query parameters"
85
- * interface BadQueryParams {
86
- * created_at?: OperatorMap<string> // Encore can't serialize this
87
- * }
88
- *
89
- * // CORRECT - simple type that Encore can handle
90
- * interface GoodQueryParams {
91
- * created_at?: string
92
- * }
93
- *
94
- * // Runtime filtering still works via:
95
- * const { rows } = await remoteQuery({
96
- * filters: ctx.filterableFields // Has full DAL OperatorMap
97
- * })
98
- */
99
- export type OperatorMap<T> = T;
100
- /**
101
- * A union that includes a field’s value, an alternate scalar representation,
102
- * or (if available) its primary key.
103
- */
104
- export type FilterValue2<T> = T | ExpandScalar<T> | Primary<T>;
105
- /**
106
- * A field’s filter value may be given as a literal value, as an operator map,
107
- * or as an array of literal values.
108
- */
109
- export type FilterValue<T> = OperatorMap<T> | FilterValue2<T> | FilterValue2<T>[] | null;
110
- /**
111
- * A simplified filter query object.
112
- *
113
- * Each key may either be the raw value or an operator map.
114
- */
115
- export type FilterQueryProperties<T> = {
116
- [K in keyof T]?: T[K] | OperatorMap<T>;
117
- };
118
- /**
119
- * A simplified filter query type.
120
- */
121
- export type FilterQuery<T = any> = FilterQueryProperties<T>;
122
- /**
123
- * A query may be either a filter query or a single filter value.
124
- */
125
- export type Query<T> = FilterQuery<T> | FilterValue<T>;
126
- /**
127
- * Allowed ordering strings.
128
- */
129
- export type QueryOrder = "ASC" | "DESC" | "asc" | "desc";
130
- /**
131
- * Also allow numeric orderings.
132
- */
133
- export type QueryOrderKeysFlat = QueryOrder | 1 | -1;
134
- /**
135
- * A simplified ordering map: each key of T can be ordered by a flat ordering.
136
- */
137
- export type QueryOrderMap<T> = {
138
- [K in keyof T]?: QueryOrderKeysFlat;
139
- };
140
- /**
141
- * An ordering value may be either a flat ordering value or a map of orderings.
142
- */
143
- export type QueryOrderKeys<T> = QueryOrderKeysFlat | QueryOrderMap<T>;
144
- /**
145
- * A simplified Order type for queries.
146
- *
147
- * (For simplicity we only allow a flat ordering per key.)
148
- */
149
- export type Order<T> = {
150
- [K in keyof T]?: "ASC" | "DESC";
151
- };
152
- /**
153
- * @interface
154
- *
155
- * An object used to allow specifying flexible queries with and/or conditions.
156
- *
157
- * ENCORE COMPATIBILITY NOTE:
158
- * This interface is intentionally empty in the HTTP/Encore version because
159
- * Encore's API parser cannot handle the recursive generic type of $and and $or.
160
- *
161
- * The DAL version (in @etohq/types/dal) has the full implementation with:
162
- * $and?: T[] | BaseFilterable<T>[]
163
- * $or?: T[] | BaseFilterable<T>[]
164
- *
165
- * ROUTE USAGE:
166
- * When creating query parameter interfaces, DO NOT extend BaseFilterable directly.
167
- * Instead, use simple interfaces with plain types:
168
- *
169
- * @example
170
- * // INCORRECT - causes type serialization errors
171
- * interface BadParams extends BaseFilterable<MyEntity> {
172
- * id?: string
173
- * }
174
- *
175
- * // CORRECT - simple interface that Encore can serialize
176
- * interface GoodParams {
177
- * id?: string
178
- * name?: string
179
- * }
180
- *
181
- * TODO: When Encore supports recursive generics in query params, uncomment:
182
- * $and?: T[]
183
- * $or?: T[]
184
- */
185
- export interface BaseFilterable<T> {
186
- }
187
- //# sourceMappingURL=dal-validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dal-validator.d.ts","sourceRoot":"","sources":["../../../src/http/encore/dal-validator.ts"],"names":[],"mappings":"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"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- // ---
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.PrimaryKeyType = void 0;
5
- /**
6
- * A unique symbol to tag primary keys.
7
- */
8
- exports.PrimaryKeyType = Symbol("PrimaryKeyType");
9
- //# sourceMappingURL=dal-validator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dal-validator.js","sourceRoot":"","sources":["../../../src/http/encore/dal-validator.ts"],"names":[],"mappings":";AAAA,MAAM;;;AAqEN;;GAEG;AACU,QAAA,cAAc,GAAkB,MAAM,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1,199 +0,0 @@
1
- /** Describes an API endpoint. */
2
- /** Describes an API endpoint. */
3
- export interface APIDesc {
4
- /** The name of the service that the endpoint belongs to. */
5
- service: string;
6
- /** The name of the endpoint itself. */
7
- endpoint: string;
8
- /** Whether the endpoint is a raw endpoint. */
9
- raw: boolean;
10
- /** Whether the endpoint requires auth. */
11
- auth: boolean;
12
- /** Tags specified on the endpoint. */
13
- tags: string[];
14
- }
15
- export type Method = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS" | "CONNECT" | "TRACE";
16
- /**
17
- * List of all the supported HTTP methods
18
- */
19
- export declare const HTTP_METHODS: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"];
20
- export type RouteVerb = (typeof HTTP_METHODS)[number];
21
- export type MiddlewareVerb = "USE" | "ALL" | RouteVerb;
22
- /** Describes an API call being processed. */
23
- export interface APICallMeta {
24
- /** Specifies that the request is an API call. */
25
- type: "api-call";
26
- /** Describes the API Endpoint being called. */
27
- api: APIDesc;
28
- /** The HTTP method used in the API call. */
29
- method: Method;
30
- /**
31
- * The request URL path used in the API call,
32
- * excluding any query string parameters.
33
- * For example "/path/to/endpoint".
34
- */
35
- path: string;
36
- /**
37
- * The request URL path used in the API call,
38
- * including any query string parameters.
39
- * For example "/path/to/endpoint?with=querystring".
40
- */
41
- pathAndQuery: string;
42
- /**
43
- * The parsed path parameters for the API endpoint.
44
- * The keys are the names of the path parameters,
45
- * from the API definition.
46
- *
47
- * For example {id: 5}.
48
- */
49
- pathParams: Record<string, any>;
50
- /**
51
- * The request headers from the HTTP request.
52
- * The values are arrays if the header contains multiple values,
53
- * either separated by ";" or when the header key appears more than once.
54
- */
55
- headers: Record<string, string | string[]>;
56
- /**
57
- * The parsed request payload, as expected by the application code.
58
- * Not provided for raw endpoints or when the API endpoint expects no
59
- * request data.
60
- */
61
- parsedPayload?: Record<string, any>;
62
- /**
63
- * Contains values set in middlewares via `MiddlewareRequest.data`.
64
- */
65
- middlewareData?: Record<string, any>;
66
- }
67
- /** Describes a Pub/Sub message being processed. */
68
- export interface PubSubMessageMeta {
69
- /** Specifies that the request is a Pub/Sub message. */
70
- type: "pubsub-message";
71
- /** The service processing the message. */
72
- service: string;
73
- /** The name of the Pub/Sub topic. */
74
- topic: string;
75
- /** The name of the Pub/Sub subscription. */
76
- subscription: string;
77
- /**
78
- * The unique id of the Pub/Sub message.
79
- * It is the same id returned by `topic.publish()`.
80
- * The message id stays the same across delivery attempts.
81
- */
82
- messageId: string;
83
- /**
84
- * The delivery attempt. The first attempt starts at 1,
85
- * and increases by 1 for each retry.
86
- */
87
- deliveryAttempt: number;
88
- /**
89
- * The parsed request payload, as expected by the application code.
90
- */
91
- parsedPayload?: Record<string, any>;
92
- }
93
- /** Provides information about the active trace. */
94
- export interface TraceData {
95
- /** The trace id. */
96
- traceId: string;
97
- /** The current span id. */
98
- spanId: string;
99
- /**
100
- * The trace id that initiated this trace, if any.
101
- */
102
- parentTraceId?: string;
103
- /**
104
- * The span that initiated this span, if any.
105
- */
106
- parentSpanId?: string;
107
- /**
108
- * The external correlation id provided when the trace
109
- * was created, if any.
110
- * For example via the `Request-Id` or `X-Correlation-Id` headers.
111
- */
112
- extCorrelationId?: string;
113
- }
114
- export interface BaseRequestMeta {
115
- /** Information about the trace, if the request is being traced */
116
- trace?: TraceData;
117
- }
118
- /** Describes an API call or Pub/Sub message being processed. */
119
- export type RequestMeta = (APICallMeta | PubSubMessageMeta) & BaseRequestMeta;
120
- /**
121
- * Returns information about the running Encore request,
122
- * such as API calls and Pub/Sub messages being processed.
123
- *
124
- * Returns undefined only if no request is being processed,
125
- * such as during system initialization.
126
- */
127
- export declare function currentRequest(): RequestMeta | undefined;
128
- export interface MiddlewareOptions {
129
- /**
130
- * Configuration for what endpoints that should be targeted by the middleware
131
- */
132
- target?: {
133
- /**
134
- * If set, only run middleware on endpoints that are either exposed or not
135
- * exposed.
136
- */
137
- expose?: boolean;
138
- /**
139
- * If set, only run middleware on endpoints that either require or not
140
- * requires auth.
141
- */
142
- auth?: boolean;
143
- /**
144
- * If set, only run middleware on endpoints that are raw endpoints.
145
- */
146
- isRaw?: boolean;
147
- /**
148
- * If set, only run middleware on endpoints that are stream endpoints.
149
- */
150
- isStream?: boolean;
151
- /**
152
- * If set, only run middleware on endpoints that have specific tags.
153
- * These tags are evaluated with OR, meaning the middleware applies to an
154
- * API if the API has at least one of those tags.
155
- */
156
- tags?: string[];
157
- };
158
- }
159
- export type MiddlewareRequest = {
160
- requestMeta: RequestMeta | undefined;
161
- stream: any | undefined;
162
- rawRequest: any | undefined;
163
- rawResponse: any | undefined;
164
- data: Record<string, any>;
165
- };
166
- export type ResponseHeader = {
167
- headers: Record<string, string | string[]>;
168
- set(key: string, value: string | string[]): void;
169
- add(key: string, value: string | string[]): void;
170
- };
171
- export type HandlerResponse = {
172
- /**
173
- * The payload returned by the handler when the handler is either
174
- * a typed handler or stream handler.
175
- */
176
- payload: any;
177
- /**
178
- * header can be used by middlewares to set headers to the
179
- * response. This only works for typed handler. For raw handlers
180
- * see MiddlewareRequest.rawResponse.
181
- */
182
- header: ResponseHeader;
183
- /**
184
- * Override the http status code for successful requests for typed endpoints.
185
- */
186
- status: number;
187
- /**
188
- * __internalToResponse converts a response to the internal representation
189
- */
190
- __internalToResponse(): any;
191
- };
192
- export type Next = (req: MiddlewareRequest) => Promise<HandlerResponse>;
193
- export type MiddlewareFn = (req: MiddlewareRequest, next: Next) => Promise<HandlerResponse>;
194
- export interface Middleware extends MiddlewareFn {
195
- options?: MiddlewareOptions;
196
- }
197
- export declare function middleware(m: MiddlewareFn): Middleware;
198
- export declare function middleware(options: MiddlewareOptions, fn: MiddlewareFn): Middleware;
199
- //# sourceMappingURL=encore.d.ts.map