@etohq/types 2.0.0 → 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,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=queries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/queries.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { DeleteResponse, PaginatedResponse } from "../../common";
2
- import { AdminRefundReason } from "./entities";
3
- export interface AdminRefundReasonResponse {
4
- /**
5
- * The refund reason's details.
6
- */
7
- refund_reason: AdminRefundReason;
8
- }
9
- export interface AdminRefundReasonListResponse extends PaginatedResponse<{
10
- /**
11
- * The list of refund reasons.
12
- */
13
- refund_reasons: AdminRefundReason[];
14
- }> {
15
- }
16
- export interface AdminRefundReasonDeleteResponse extends DeleteResponse<"refund_reason"> {
17
- }
18
- //# sourceMappingURL=responses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,WAAW,6BACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC;CAAG;AAEP,MAAM,WAAW,+BACf,SAAQ,cAAc,CAAC,eAAe,CAAC;CAAG"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=responses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/responses.ts"],"names":[],"mappings":""}
@@ -1,65 +0,0 @@
1
- import { OperatorMap } from "../encore";
2
- import { FindParams } from "../common";
3
- export interface BaseRefundReason {
4
- /**
5
- * The refund reason's ID.
6
- */
7
- id: string;
8
- /**
9
- * The refund reason's label.
10
- *
11
- * @example
12
- * "Refund"
13
- */
14
- label: string;
15
- /**
16
- * The refund reason's code.
17
- *
18
- * @example
19
- * "refund"
20
- */
21
- code: string;
22
- /**
23
- * The refund reason's description.
24
- */
25
- description?: string | null;
26
- /**
27
- * Custom key-value pairs that can be added to the refund reason.
28
- */
29
- metadata?: Record<string, any> | null;
30
- /**
31
- * The date that the refund reason was created.
32
- */
33
- created_at: string;
34
- /**
35
- * The date that the refund reason was updated.
36
- */
37
- updated_at: string;
38
- }
39
- export interface BaseRefundReasonListParams extends FindParams {
40
- /**
41
- * A search term to search for refund reasons by label or description.
42
- */
43
- q?: string;
44
- /**
45
- * Filter by refund reason ID(s).
46
- */
47
- id?: string | string[];
48
- /**
49
- * Filter by parent refund reason ID(s).
50
- */
51
- parent_refund_reason_id?: string | OperatorMap<string | string[]>;
52
- /**
53
- * Filter by creation date.
54
- */
55
- created_at?: OperatorMap<string>;
56
- /**
57
- * Filter by update date.
58
- */
59
- updated_at?: OperatorMap<string>;
60
- /**
61
- * Apply filters on the refund reason's deletion date.
62
- */
63
- deleted_at?: OperatorMap<string>;
64
- }
65
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/refund-reason/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEjE;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -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/refund-reason/common.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from "./admin";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/refund-reason/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,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("./admin"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/refund-reason/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
@@ -1,81 +0,0 @@
1
- export interface AdminTranslation {
2
- /**
3
- * The ID of the translation.
4
- */
5
- id: string;
6
- /**
7
- * The ID of the entity being translated.
8
- *
9
- * @example
10
- * "prod_123"
11
- */
12
- reference_id: string;
13
- /**
14
- * The name of the table that the translation belongs to.
15
- *
16
- * @example
17
- * "product"
18
- */
19
- reference: string;
20
- /**
21
- * The BCP 47 language tag code for this translation.
22
- *
23
- * @example
24
- * "en-US"
25
- */
26
- locale_code: string;
27
- /**
28
- * The translations of the resource.
29
- * The object's keys are the field names of the data model, and its value is the translated value.
30
- *
31
- * @example
32
- * {
33
- * "title": "Product Title",
34
- * "description": "Product Description",
35
- * }
36
- */
37
- translations: Record<string, unknown>;
38
- /**
39
- * The date and time the translation was created.
40
- */
41
- created_at: Date | string;
42
- /**
43
- * The date and time the translation was last updated.
44
- */
45
- updated_at: Date | string;
46
- /**
47
- * The date and time the translation was deleted.
48
- */
49
- deleted_at: Date | string | null;
50
- }
51
- export interface AdminTranslationSettings {
52
- /**
53
- * The ID of the settings.
54
- */
55
- id: string;
56
- /**
57
- * The date and time the settings were created.
58
- */
59
- created_at: Date | string;
60
- /**
61
- * The date and time the settings were last updated.
62
- */
63
- updated_at: Date | string;
64
- /**
65
- * The date and time the settings were deleted.
66
- */
67
- deleted_at: Date | string | null;
68
- /**
69
- * The entity type.
70
- */
71
- entity_type: string;
72
- /**
73
- * The translatable fields.
74
- */
75
- fields: string[];
76
- /**
77
- * Whether the entity translatable status is enabled.
78
- */
79
- is_active: boolean;
80
- }
81
- //# sourceMappingURL=entities.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;;;;;OASG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;CACjC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;CACnB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=entities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/entities.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export * from "./queries";
2
- export * from "./responses";
3
- export * from "./entities";
4
- export * from "./payloads";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
@@ -1,21 +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("./queries"), exports);
18
- __exportStar(require("./responses"), exports);
19
- __exportStar(require("./entities"), exports);
20
- __exportStar(require("./payloads"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,6CAA0B;AAC1B,6CAA0B"}
@@ -1,90 +0,0 @@
1
- interface AdminCreateTranslation {
2
- /**
3
- * The ID of the entity being translated.
4
- */
5
- reference_id: string;
6
- /**
7
- * The type of entity being translated (e.g., "product", "product_variant").
8
- */
9
- reference: string;
10
- /**
11
- * The BCP 47 language tag code for this translation (e.g., "en-US", "fr-FR").
12
- */
13
- locale_code: string;
14
- /**
15
- * The translated fields as key-value pairs.
16
- */
17
- translations: Record<string, unknown>;
18
- }
19
- interface AdminUpdateTranslation {
20
- /**
21
- * The ID of the translation.
22
- */
23
- id: string;
24
- /**
25
- * The translated fields as key-value pairs.
26
- */
27
- translations: Record<string, unknown>;
28
- }
29
- export interface AdminBatchTranslations {
30
- /**
31
- * The translations to create.
32
- */
33
- create?: AdminCreateTranslation[];
34
- /**
35
- * The translations to update.
36
- */
37
- update?: AdminUpdateTranslation[];
38
- /**
39
- * The translations to delete.
40
- */
41
- delete?: string[];
42
- }
43
- interface AdminCreateTranslationSettings {
44
- /**
45
- * The entity type (e.g., "product", "product_variant").
46
- */
47
- entity_type: string;
48
- /**
49
- * The translatable fields for this entity type.
50
- */
51
- fields: string[];
52
- /**
53
- * Whether the entity translatable status is enabled.
54
- */
55
- is_active?: boolean;
56
- }
57
- interface AdminUpdateTranslationSettings {
58
- /**
59
- * The ID of the settings.
60
- */
61
- id: string;
62
- /**
63
- * The entity type (e.g., "product", "product_variant").
64
- */
65
- entity_type?: string;
66
- /**
67
- * The translatable fields for this entity type.
68
- */
69
- fields?: string[];
70
- /**
71
- * Whether the entity translatable status is enabled.
72
- */
73
- is_active?: boolean;
74
- }
75
- export interface AdminBatchTranslationSettings {
76
- /**
77
- * The translation settings to create.
78
- */
79
- create?: AdminCreateTranslationSettings[];
80
- /**
81
- * The translation settings to update.
82
- */
83
- update?: AdminUpdateTranslationSettings[];
84
- /**
85
- * The translation settings to delete (IDs).
86
- */
87
- delete?: string[];
88
- }
89
- export {};
90
- //# sourceMappingURL=payloads.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,UAAU,sBAAsB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,UAAU,8BAA8B;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,8BAA8B;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=payloads.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":""}
@@ -1,85 +0,0 @@
1
- import { FindParams } from "../../common/request";
2
- import { BaseFilterable } from "../../encore";
3
- export interface AdminTranslationsListParams extends FindParams, BaseFilterable<AdminTranslationsListParams> {
4
- /**
5
- * Query or keywords to search the translations searchable fields.
6
- */
7
- q?: string;
8
- /**
9
- * Filter by entity ID.
10
- *
11
- * @example
12
- * "prod_123"
13
- */
14
- reference_id?: string | string[];
15
- /**
16
- * Filter by the table of the resource being translated.
17
- *
18
- * @example
19
- * "product"
20
- */
21
- reference?: string;
22
- /**
23
- * Filter by locale code in BCP 47 format.
24
- *
25
- * @example
26
- * "en-US"
27
- */
28
- locale_code?: string | string[];
29
- }
30
- /**
31
- * Request body for translation statistics endpoint.
32
- */
33
- export interface AdminTranslationStatisticsParams {
34
- /**
35
- * The locales to check translations for.
36
- *
37
- * @example
38
- * ["en-US", "fr-FR"]
39
- */
40
- locales: string[];
41
- /**
42
- * The entity types to get statistics for.
43
- *
44
- * @example
45
- * ["product", "product_variant"]
46
- */
47
- entity_types: string[];
48
- }
49
- /**
50
- * Query parameters for translation settings endpoint.
51
- */
52
- export interface AdminTranslationSettingsParams {
53
- /**
54
- * The entity type to get the settings for (e.g., "product").
55
- */
56
- entity_type?: string;
57
- /**
58
- * Whether to get the settings for active/inactive entities only.
59
- */
60
- is_active?: boolean;
61
- }
62
- /**
63
- * Query parameters for translation entities endpoint.
64
- */
65
- export interface AdminTranslationEntitiesParams extends FindParams {
66
- /**
67
- * The entity type to retrieve (e.g., "product", "product_variant").
68
- * This determines which table to query and which translatable fields to return.
69
- *
70
- * @example
71
- * "product"
72
- */
73
- type: string;
74
- /**
75
- * Filter by entity ID(s). Can be a single ID or an array of IDs.
76
- *
77
- * @example
78
- * "prod_123"
79
- *
80
- * @example
81
- * ["prod_123", "prod_456"]
82
- */
83
- id?: string | string[];
84
- }
85
- //# sourceMappingURL=queries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/queries.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,2BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,2BAA2B,CAAC;IAC7C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;OAKG;IACH,OAAO,EAAE,MAAM,EAAE,CAAA;IAEjB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,UAAU;IAChE;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;;;;;OAQG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- // NOTE: Keep all query/request types in `src/http/**` import scope.
3
- // Encore's TS parser can fail to resolve or generate schemas when request
4
- // types reach outside the HTTP tree.
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=queries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/queries.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,0EAA0E;AAC1E,qCAAqC"}
@@ -1,152 +0,0 @@
1
- import type { PaginatedResponse } from "../../common/response";
2
- import { AdminTranslation, AdminTranslationSettings } from "./entities";
3
- export interface AdminTranslationsResponse {
4
- /**
5
- * The list of translations.
6
- */
7
- translation: AdminTranslation;
8
- }
9
- export type AdminTranslationsListResponse = PaginatedResponse<{
10
- /**
11
- * The list of translations.
12
- */
13
- translations: AdminTranslation[];
14
- }>;
15
- export interface AdminTranslationsBatchResponse {
16
- /**
17
- * The created translations.
18
- */
19
- created: AdminTranslation[];
20
- /**
21
- * The updated translations.
22
- */
23
- updated: AdminTranslation[];
24
- /**
25
- * The deleted translations.
26
- */
27
- deleted: {
28
- /**
29
- * The IDs of the deleted translations.
30
- */
31
- ids: string[];
32
- /**
33
- * The name of the deleted object.
34
- */
35
- object: "translation";
36
- /**
37
- * Whether the translations were deleted successfully.
38
- */
39
- deleted: boolean;
40
- };
41
- }
42
- /**
43
- * Statistics for a specific locale.
44
- */
45
- export interface AdminTranslationLocaleStatistics {
46
- /**
47
- * Expected number of translated fields.
48
- */
49
- expected: number;
50
- /**
51
- * Actual number of translated fields. This doesn't count
52
- * translations that are null or empty.
53
- */
54
- translated: number;
55
- /**
56
- * Number of missing translations for expected translatable
57
- * fields.
58
- */
59
- missing: number;
60
- }
61
- /**
62
- * Statistics for an entity type.
63
- */
64
- export interface AdminTranslationEntityStatistics extends AdminTranslationLocaleStatistics {
65
- /**
66
- * Breakdown of statistics by locale.
67
- */
68
- by_locale: Record<string, AdminTranslationLocaleStatistics>;
69
- }
70
- /**
71
- * Response for translation statistics endpoint.
72
- */
73
- export interface AdminTranslationStatisticsResponse {
74
- /**
75
- * Statistics by entity type.
76
- */
77
- statistics: Record<string, AdminTranslationEntityStatistics>;
78
- }
79
- /**
80
- * Response for translation settings endpoint.
81
- */
82
- export interface AdminTranslationSettingsResponse {
83
- /**
84
- * A mapping of entity types to their tranlsation settings.
85
- *
86
- * @example
87
- * {
88
- * "product": {
89
- * "id": "trset_123",
90
- * "fields": ["title", "description", "subtitle", "status"],
91
- * "is_active": true,
92
- * "inactive_fields": []
93
- * },
94
- * "product_variant": {
95
- * "id": "trset_456",
96
- * "fields": ["title", "material"],
97
- * "is_active": false,
98
- * "inactive_fields": []
99
- * }
100
- * }
101
- */
102
- translation_settings: Record<string, Pick<AdminTranslationSettings, "id" | "fields" | "is_active"> & {
103
- inactive_fields: string[];
104
- }>;
105
- }
106
- export interface AdminBatchTranslationSettingsResponse {
107
- /**
108
- * The created settings.
109
- */
110
- created: AdminTranslationSettings[];
111
- /**
112
- * The updated settings.
113
- */
114
- updated: AdminTranslationSettings[];
115
- /**
116
- * The deleted settings.
117
- */
118
- deleted: {
119
- ids: string[];
120
- object: "translation_settings";
121
- deleted: boolean;
122
- };
123
- }
124
- /**
125
- * Response for translation entities endpoint.
126
- * Returns paginated entities with only their translatable fields and all their translations.
127
- */
128
- export interface AdminTranslationEntitiesResponse {
129
- /**
130
- * The list of entities with their translatable fields.
131
- * Each entity contains only the fields configured as translatable
132
- * for that entity type in the translation settings, plus all
133
- * translations for all locales.
134
- */
135
- data: (Record<string, unknown> & {
136
- id: string;
137
- translations: AdminTranslation[];
138
- })[];
139
- /**
140
- * The total count of entities.
141
- */
142
- count: number;
143
- /**
144
- * The offset of the current page.
145
- */
146
- offset: number;
147
- /**
148
- * The limit of items per page.
149
- */
150
- limit: number;
151
- }
152
- //# sourceMappingURL=responses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAEvE,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAA;CAC9B;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D;;OAEG;IACH,YAAY,EAAE,gBAAgB,EAAE,CAAA;CACjC,CAAC,CAAA;AAEF,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B;;OAEG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B;;OAEG;IACH,OAAO,EAAE;QACP;;WAEG;QACH,GAAG,EAAE,MAAM,EAAE,CAAA;QACb;;WAEG;QACH,MAAM,EAAE,aAAa,CAAA;QACrB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,gCACf,SAAQ,gCAAgC;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;CAC5D;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAAoB,EAAE,MAAM,CAC1B,MAAM,EACN,IAAI,CAAC,wBAAwB,EAAE,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC,GAAG;QAC9D,eAAe,EAAE,MAAM,EAAE,CAAA;KAC1B,CACF,CAAA;CACF;AAED,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,OAAO,EAAE,wBAAwB,EAAE,CAAA;IACnC;;OAEG;IACH,OAAO,EAAE,wBAAwB,EAAE,CAAA;IACnC;;OAEG;IACH,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,sBAAsB,CAAA;QAC9B,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;OAKG;IACH,IAAI,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAC/B,EAAE,EAAE,MAAM,CAAA;QACV,YAAY,EAAE,gBAAgB,EAAE,CAAA;KACjC,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=responses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/responses.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from "./admin";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/translations/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}