@abyss-project/storage 1.0.2 → 1.0.4

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 (309) hide show
  1. package/dist/api/application-file-thumbnail.admin.api.d.ts +9 -9
  2. package/dist/api/application-file-thumbnail.admin.api.js +36 -36
  3. package/dist/api/application-file-thumbnail.api.d.ts +15 -15
  4. package/dist/api/application-file-thumbnail.api.js +64 -64
  5. package/dist/api/application-file.admin.api.d.ts +22 -22
  6. package/dist/api/application-file.admin.api.js +88 -88
  7. package/dist/api/application-file.api.d.ts +41 -40
  8. package/dist/api/application-file.api.js +177 -177
  9. package/dist/api/application-store.admin.api.d.ts +6 -0
  10. package/dist/api/application-store.admin.api.js +24 -0
  11. package/dist/api/application-store.api.d.ts +6 -0
  12. package/dist/api/application-store.api.js +24 -0
  13. package/dist/api/application-store.public.api.d.ts +3 -0
  14. package/dist/api/application-store.public.api.js +12 -0
  15. package/dist/api/application-webhook-history.admin.api.d.ts +3 -3
  16. package/dist/api/application-webhook-history.admin.api.js +12 -12
  17. package/dist/api/application-webhook-history.api.d.ts +3 -3
  18. package/dist/api/application-webhook-history.api.js +12 -12
  19. package/dist/api/application-webhook.admin.api.d.ts +7 -7
  20. package/dist/api/application-webhook.admin.api.js +28 -28
  21. package/dist/api/application-webhook.api.d.ts +7 -7
  22. package/dist/api/application-webhook.api.js +28 -28
  23. package/dist/api/application.admin.api.d.ts +6 -6
  24. package/dist/api/application.admin.api.js +24 -24
  25. package/dist/api/application.api.d.ts +3 -3
  26. package/dist/api/application.api.js +12 -12
  27. package/dist/api/collection.api.d.ts +3 -3
  28. package/dist/api/collection.api.js +12 -12
  29. package/dist/api/generics/download.request.d.ts +2 -2
  30. package/dist/api/generics/download.request.js +10 -10
  31. package/dist/api/generics/index.d.ts +2 -2
  32. package/dist/api/generics/index.js +18 -18
  33. package/dist/api/generics/upload.request.d.ts +3 -3
  34. package/dist/api/generics/upload.request.js +10 -10
  35. package/dist/api/index.d.ts +18 -15
  36. package/dist/api/index.js +34 -31
  37. package/dist/api/monitor.api.d.ts +2 -2
  38. package/dist/api/monitor.api.js +8 -8
  39. package/dist/api/storage.admin.api.d.ts +4 -4
  40. package/dist/api/storage.admin.api.js +16 -16
  41. package/dist/api/stream-media.admin.api.d.ts +7 -7
  42. package/dist/api/stream-media.admin.api.js +35 -35
  43. package/dist/api/stream-media.api.d.ts +4 -4
  44. package/dist/api/stream-media.api.js +18 -18
  45. package/dist/index.d.ts +21 -21
  46. package/dist/index.js +91 -91
  47. package/dist/types/enum/algorithm.enum.d.ts +3 -3
  48. package/dist/types/enum/algorithm.enum.js +7 -7
  49. package/dist/types/enum/api-error.enum.d.ts +33 -31
  50. package/dist/types/enum/api-error.enum.js +38 -36
  51. package/dist/types/enum/checksum-algorithm.enum.d.ts +5 -5
  52. package/dist/types/enum/checksum-algorithm.enum.js +9 -9
  53. package/dist/types/enum/index.d.ts +9 -9
  54. package/dist/types/enum/index.js +25 -25
  55. package/dist/types/enum/mime-type-thumbnail.enum.d.ts +15 -15
  56. package/dist/types/enum/mime-type-thumbnail.enum.js +20 -20
  57. package/dist/types/enum/picture-collection-source.enum.d.ts +3 -3
  58. package/dist/types/enum/picture-collection-source.enum.js +7 -7
  59. package/dist/types/enum/picture-collection-type.enum.d.ts +3 -3
  60. package/dist/types/enum/picture-collection-type.enum.js +7 -7
  61. package/dist/types/enum/pre-sign-url-type.enum.d.ts +5 -5
  62. package/dist/types/enum/pre-sign-url-type.enum.js +9 -9
  63. package/dist/types/enum/stream-media-type.enum.d.ts +4 -4
  64. package/dist/types/enum/stream-media-type.enum.js +8 -8
  65. package/dist/types/enum/webhook-type.enum.d.ts +5 -5
  66. package/dist/types/enum/webhook-type.enum.js +9 -9
  67. package/dist/types/index.d.ts +3 -3
  68. package/dist/types/index.js +19 -19
  69. package/dist/types/interface/api/index.d.ts +38 -32
  70. package/dist/types/interface/api/index.js +54 -48
  71. package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.d.ts +37 -37
  72. package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.js +2 -2
  73. package/dist/types/interface/api/requests/application-file-thumbnail.request.d.ts +56 -56
  74. package/dist/types/interface/api/requests/application-file-thumbnail.request.js +2 -2
  75. package/dist/types/interface/api/requests/application-file.admin.request.d.ts +144 -144
  76. package/dist/types/interface/api/requests/application-file.admin.request.js +2 -2
  77. package/dist/types/interface/api/requests/application-file.request.d.ts +228 -228
  78. package/dist/types/interface/api/requests/application-file.request.js +2 -2
  79. package/dist/types/interface/api/requests/application-store.admin.request.d.ts +34 -0
  80. package/dist/types/interface/api/requests/{abyss.admin.request.js → application-store.admin.request.js} +2 -2
  81. package/dist/types/interface/api/requests/application-store.public.request.d.ts +8 -0
  82. package/dist/types/interface/api/requests/{logger.admin.request.js → application-store.public.request.js} +2 -2
  83. package/dist/types/interface/api/requests/application-store.request.d.ts +39 -0
  84. package/dist/types/interface/api/requests/{picture-collection.request.js → application-store.request.js} +2 -2
  85. package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +14 -14
  86. package/dist/types/interface/api/requests/application-webhook-history.admin.request.js +2 -2
  87. package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +17 -17
  88. package/dist/types/interface/api/requests/application-webhook-history.request.js +2 -2
  89. package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +33 -33
  90. package/dist/types/interface/api/requests/application-webhook.admin.request.js +2 -2
  91. package/dist/types/interface/api/requests/application-webhook.request.d.ts +43 -43
  92. package/dist/types/interface/api/requests/application-webhook.request.js +2 -2
  93. package/dist/types/interface/api/requests/application.admin.request.d.ts +16 -16
  94. package/dist/types/interface/api/requests/application.admin.request.js +2 -2
  95. package/dist/types/interface/api/requests/application.request.d.ts +7 -7
  96. package/dist/types/interface/api/requests/application.request.js +2 -2
  97. package/dist/types/interface/api/requests/collection.request.d.ts +10 -10
  98. package/dist/types/interface/api/requests/collection.request.js +2 -2
  99. package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -3
  100. package/dist/types/interface/api/requests/storage.admin.request.js +2 -2
  101. package/dist/types/interface/api/requests/stream-media.admin.request.d.ts +28 -28
  102. package/dist/types/interface/api/requests/stream-media.admin.request.js +2 -2
  103. package/dist/types/interface/api/requests/stream-media.request.d.ts +12 -12
  104. package/dist/types/interface/api/requests/stream-media.request.js +2 -2
  105. package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.d.ts +30 -30
  106. package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.js +2 -2
  107. package/dist/types/interface/api/responses/application-file-thumbnail.response.d.ts +36 -35
  108. package/dist/types/interface/api/responses/application-file-thumbnail.response.js +2 -2
  109. package/dist/types/interface/api/responses/application-file.admin.response.d.ts +80 -80
  110. package/dist/types/interface/api/responses/application-file.admin.response.js +2 -2
  111. package/dist/types/interface/api/responses/application-file.response.d.ts +96 -95
  112. package/dist/types/interface/api/responses/application-file.response.js +2 -2
  113. package/dist/types/interface/api/responses/application-store.admin.response.d.ts +17 -0
  114. package/dist/types/interface/api/{requests/user-application-file-thumbnail.admin.request.js → responses/application-store.admin.response.js} +2 -2
  115. package/dist/types/interface/api/responses/application-store.public.response.d.ts +21 -0
  116. package/dist/types/interface/api/responses/application-store.public.response.js +2 -0
  117. package/dist/types/interface/api/responses/application-store.response.d.ts +17 -0
  118. package/dist/types/interface/api/responses/application-store.response.js +2 -0
  119. package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +7 -7
  120. package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +2 -2
  121. package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +7 -7
  122. package/dist/types/interface/api/responses/application-webhook-history.response.js +2 -2
  123. package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +21 -21
  124. package/dist/types/interface/api/responses/application-webhook.admin.response.js +2 -2
  125. package/dist/types/interface/api/responses/application-webhook.response.d.ts +21 -21
  126. package/dist/types/interface/api/responses/application-webhook.response.js +2 -2
  127. package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -33
  128. package/dist/types/interface/api/responses/application.admin.response.js +2 -2
  129. package/dist/types/interface/api/responses/application.response.d.ts +14 -14
  130. package/dist/types/interface/api/responses/application.response.js +2 -2
  131. package/dist/types/interface/api/responses/collection.response.d.ts +43 -43
  132. package/dist/types/interface/api/responses/collection.response.js +2 -2
  133. package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
  134. package/dist/types/interface/api/responses/monitor.response.js +2 -2
  135. package/dist/types/interface/api/responses/stream-media.admin.response.d.ts +20 -20
  136. package/dist/types/interface/api/responses/stream-media.admin.response.js +2 -2
  137. package/dist/types/interface/api/responses/stream-media.response.d.ts +10 -9
  138. package/dist/types/interface/api/responses/stream-media.response.js +2 -2
  139. package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
  140. package/dist/types/interface/api/type-message/api-error.js +2 -2
  141. package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
  142. package/dist/types/interface/api/type-message/base-order.js +2 -2
  143. package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
  144. package/dist/types/interface/api/type-message/base-paginate.js +2 -2
  145. package/dist/types/interface/api/type-message/response.d.ts +5 -5
  146. package/dist/types/interface/api/type-message/response.js +2 -2
  147. package/dist/types/interface/constants/application-store.constant.d.ts +1 -0
  148. package/dist/types/interface/constants/application-store.constant.js +4 -0
  149. package/dist/types/interface/constants/index.d.ts +1 -0
  150. package/dist/types/interface/constants/index.js +17 -0
  151. package/dist/types/interface/dto/archive.d.ts +34 -34
  152. package/dist/types/interface/dto/archive.js +2 -2
  153. package/dist/types/interface/dto/index.d.ts +3 -3
  154. package/dist/types/interface/dto/index.js +19 -19
  155. package/dist/types/interface/dto/metadata.d.ts +13 -13
  156. package/dist/types/interface/dto/metadata.js +2 -2
  157. package/dist/types/interface/dto/webhooks.d.ts +29 -29
  158. package/dist/types/interface/dto/webhooks.js +2 -2
  159. package/dist/types/interface/index.d.ts +11 -9
  160. package/dist/types/interface/index.js +27 -25
  161. package/dist/types/interface/models/application-file-thumbnail.model.d.ts +15 -15
  162. package/dist/types/interface/models/application-file-thumbnail.model.js +2 -2
  163. package/dist/types/interface/models/application-file.model.d.ts +28 -28
  164. package/dist/types/interface/models/application-file.model.js +2 -2
  165. package/dist/types/interface/models/application-store-entry.model.d.ts +14 -0
  166. package/dist/types/interface/models/application-store-entry.model.js +2 -0
  167. package/dist/types/interface/models/application-webhook-history.model.d.ts +16 -16
  168. package/dist/types/interface/models/application-webhook-history.model.js +2 -2
  169. package/dist/types/interface/models/application-webhook.model.d.ts +17 -17
  170. package/dist/types/interface/models/application-webhook.model.js +2 -2
  171. package/dist/types/interface/models/application.model.d.ts +14 -12
  172. package/dist/types/interface/models/application.model.js +2 -2
  173. package/dist/types/interface/models/pre-sign-url.model.d.ts +11 -11
  174. package/dist/types/interface/models/pre-sign-url.model.js +2 -2
  175. package/dist/types/interface/models/stream-media.model.d.ts +9 -9
  176. package/dist/types/interface/models/stream-media.model.js +2 -2
  177. package/dist/types/models/index.d.ts +1 -1
  178. package/dist/types/models/index.js +17 -17
  179. package/dist/types/models/transfer.model.d.ts +36 -36
  180. package/dist/types/models/transfer.model.js +73 -73
  181. package/dist/utils/error.utils.d.ts +15 -15
  182. package/dist/utils/error.utils.js +24 -24
  183. package/dist/utils/index.d.ts +1 -1
  184. package/dist/utils/index.js +17 -17
  185. package/package.json +5 -5
  186. package/dist/api/abyss.admin.api.d.ts +0 -2
  187. package/dist/api/abyss.admin.api.js +0 -8
  188. package/dist/api/logger.admin.api.d.ts +0 -3
  189. package/dist/api/logger.admin.api.js +0 -14
  190. package/dist/api/picture-collection.api.d.ts +0 -2
  191. package/dist/api/picture-collection.api.js +0 -10
  192. package/dist/api/user-application-file-thumbnail.admin.api.d.ts +0 -9
  193. package/dist/api/user-application-file-thumbnail.admin.api.js +0 -36
  194. package/dist/api/user-application-file-thumbnail.api.d.ts +0 -10
  195. package/dist/api/user-application-file-thumbnail.api.js +0 -46
  196. package/dist/api/user-application-file.admin.api.d.ts +0 -15
  197. package/dist/api/user-application-file.admin.api.js +0 -62
  198. package/dist/api/user-application-file.api.d.ts +0 -31
  199. package/dist/api/user-application-file.api.js +0 -134
  200. package/dist/api/user-application-webhook-history.admin.api.d.ts +0 -3
  201. package/dist/api/user-application-webhook-history.admin.api.js +0 -12
  202. package/dist/api/user-application-webhook-history.api.d.ts +0 -3
  203. package/dist/api/user-application-webhook-history.api.js +0 -12
  204. package/dist/api/user-application-webhook.admin.api.d.ts +0 -7
  205. package/dist/api/user-application-webhook.admin.api.js +0 -28
  206. package/dist/api/user-application-webhook.api.d.ts +0 -7
  207. package/dist/api/user-application-webhook.api.js +0 -28
  208. package/dist/api/user-application.admin.api.d.ts +0 -7
  209. package/dist/api/user-application.admin.api.js +0 -28
  210. package/dist/api/user-application.api.d.ts +0 -5
  211. package/dist/api/user-application.api.js +0 -20
  212. package/dist/api/user-file-thumbnail.admin.api.d.ts +0 -9
  213. package/dist/api/user-file-thumbnail.admin.api.js +0 -36
  214. package/dist/api/user-file-thumbnail.api.d.ts +0 -10
  215. package/dist/api/user-file-thumbnail.api.js +0 -46
  216. package/dist/api/user-file.admin.api.d.ts +0 -15
  217. package/dist/api/user-file.admin.api.js +0 -62
  218. package/dist/api/user-file.api.d.ts +0 -29
  219. package/dist/api/user-file.api.js +0 -137
  220. package/dist/api/user-webhook-history.admin.api.d.ts +0 -3
  221. package/dist/api/user-webhook-history.admin.api.js +0 -12
  222. package/dist/api/user-webhook-history.api.d.ts +0 -3
  223. package/dist/api/user-webhook-history.api.js +0 -12
  224. package/dist/api/user-webhook.admin.api.d.ts +0 -7
  225. package/dist/api/user-webhook.admin.api.js +0 -28
  226. package/dist/api/user-webhook.api.d.ts +0 -7
  227. package/dist/api/user-webhook.api.js +0 -28
  228. package/dist/api/user.admin.api.d.ts +0 -5
  229. package/dist/api/user.admin.api.js +0 -23
  230. package/dist/api/user.api.d.ts +0 -4
  231. package/dist/api/user.api.js +0 -17
  232. package/dist/types/enum/log-type.enum.d.ts +0 -6
  233. package/dist/types/enum/log-type.enum.js +0 -10
  234. package/dist/types/interface/api/requests/abyss.admin.request.d.ts +0 -4
  235. package/dist/types/interface/api/requests/logger.admin.request.d.ts +0 -10
  236. package/dist/types/interface/api/requests/picture-collection.request.d.ts +0 -3
  237. package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.d.ts +0 -35
  238. package/dist/types/interface/api/requests/user-application-file-thumbnail.request.d.ts +0 -50
  239. package/dist/types/interface/api/requests/user-application-file-thumbnail.request.js +0 -2
  240. package/dist/types/interface/api/requests/user-application-file.admin.request.d.ts +0 -90
  241. package/dist/types/interface/api/requests/user-application-file.admin.request.js +0 -2
  242. package/dist/types/interface/api/requests/user-application-file.request.d.ts +0 -141
  243. package/dist/types/interface/api/requests/user-application-file.request.js +0 -2
  244. package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.d.ts +0 -14
  245. package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.js +0 -2
  246. package/dist/types/interface/api/requests/user-application-webhook-history.request.d.ts +0 -17
  247. package/dist/types/interface/api/requests/user-application-webhook-history.request.js +0 -2
  248. package/dist/types/interface/api/requests/user-application-webhook.admin.request.d.ts +0 -33
  249. package/dist/types/interface/api/requests/user-application-webhook.admin.request.js +0 -2
  250. package/dist/types/interface/api/requests/user-application-webhook.request.d.ts +0 -43
  251. package/dist/types/interface/api/requests/user-application-webhook.request.js +0 -2
  252. package/dist/types/interface/api/requests/user-application.admin.request.d.ts +0 -18
  253. package/dist/types/interface/api/requests/user-application.admin.request.js +0 -2
  254. package/dist/types/interface/api/requests/user-application.request.d.ts +0 -12
  255. package/dist/types/interface/api/requests/user-application.request.js +0 -2
  256. package/dist/types/interface/api/requests/user.admin.request.d.ts +0 -21
  257. package/dist/types/interface/api/requests/user.admin.request.js +0 -2
  258. package/dist/types/interface/api/requests/user.request.d.ts +0 -3
  259. package/dist/types/interface/api/requests/user.request.js +0 -2
  260. package/dist/types/interface/api/responses/abyss.admin.response.d.ts +0 -6
  261. package/dist/types/interface/api/responses/abyss.admin.response.js +0 -2
  262. package/dist/types/interface/api/responses/logger.admin.response.d.ts +0 -7
  263. package/dist/types/interface/api/responses/logger.admin.response.js +0 -2
  264. package/dist/types/interface/api/responses/picture-collection.response.d.ts +0 -17
  265. package/dist/types/interface/api/responses/picture-collection.response.js +0 -2
  266. package/dist/types/interface/api/responses/storage.admin.response.d.ts +0 -5
  267. package/dist/types/interface/api/responses/storage.admin.response.js +0 -2
  268. package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.d.ts +0 -30
  269. package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.js +0 -2
  270. package/dist/types/interface/api/responses/user-application-file-thumbnail.response.d.ts +0 -33
  271. package/dist/types/interface/api/responses/user-application-file-thumbnail.response.js +0 -2
  272. package/dist/types/interface/api/responses/user-application-file.admin.response.d.ts +0 -57
  273. package/dist/types/interface/api/responses/user-application-file.admin.response.js +0 -2
  274. package/dist/types/interface/api/responses/user-application-file.response.d.ts +0 -70
  275. package/dist/types/interface/api/responses/user-application-file.response.js +0 -2
  276. package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.d.ts +0 -7
  277. package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.js +0 -2
  278. package/dist/types/interface/api/responses/user-application-webhook-history.response.d.ts +0 -7
  279. package/dist/types/interface/api/responses/user-application-webhook-history.response.js +0 -2
  280. package/dist/types/interface/api/responses/user-application-webhook.admin.response.d.ts +0 -21
  281. package/dist/types/interface/api/responses/user-application-webhook.admin.response.js +0 -2
  282. package/dist/types/interface/api/responses/user-application-webhook.response.d.ts +0 -21
  283. package/dist/types/interface/api/responses/user-application-webhook.response.js +0 -2
  284. package/dist/types/interface/api/responses/user-application.admin.response.d.ts +0 -25
  285. package/dist/types/interface/api/responses/user-application.admin.response.js +0 -2
  286. package/dist/types/interface/api/responses/user-application.response.d.ts +0 -19
  287. package/dist/types/interface/api/responses/user-application.response.js +0 -2
  288. package/dist/types/interface/api/responses/user.admin.response.d.ts +0 -15
  289. package/dist/types/interface/api/responses/user.admin.response.js +0 -2
  290. package/dist/types/interface/api/responses/user.response.d.ts +0 -13
  291. package/dist/types/interface/api/responses/user.response.js +0 -2
  292. package/dist/types/interface/models/log-console.model.d.ts +0 -17
  293. package/dist/types/interface/models/log-console.model.js +0 -2
  294. package/dist/types/interface/models/log-endpoint.model.d.ts +0 -22
  295. package/dist/types/interface/models/log-endpoint.model.js +0 -2
  296. package/dist/types/interface/models/picture-collection.model.d.ts +0 -17
  297. package/dist/types/interface/models/picture-collection.model.js +0 -2
  298. package/dist/types/interface/models/user-application-file-thumbnail.model.d.ts +0 -14
  299. package/dist/types/interface/models/user-application-file-thumbnail.model.js +0 -2
  300. package/dist/types/interface/models/user-application-file.model.d.ts +0 -20
  301. package/dist/types/interface/models/user-application-file.model.js +0 -2
  302. package/dist/types/interface/models/user-application-webhook-history.model.d.ts +0 -16
  303. package/dist/types/interface/models/user-application-webhook-history.model.js +0 -2
  304. package/dist/types/interface/models/user-application-webhook.model.d.ts +0 -17
  305. package/dist/types/interface/models/user-application-webhook.model.js +0 -2
  306. package/dist/types/interface/models/user-application.model.d.ts +0 -15
  307. package/dist/types/interface/models/user-application.model.js +0 -2
  308. package/dist/types/interface/models/user.model.d.ts +0 -8
  309. package/dist/types/interface/models/user.model.js +0 -2
@@ -1,228 +1,228 @@
1
- import * as core from 'express-serve-static-core';
2
- import { Algorithm, PreSignUrlType } from '../../../enum';
3
- import { ArchiveElement } from '../../dto';
4
- import { QueryPaginate } from '../type-message/base-paginate';
5
- export interface IUploadApplicationFileParams extends core.ParamsDictionary {
6
- token: string;
7
- }
8
- export interface IUploadApplicationFileQuery {
9
- should_skip_await_webhook_delivery?: boolean;
10
- }
11
- export interface IDownloadApplicationFileParams extends core.ParamsDictionary {
12
- token: string;
13
- }
14
- export interface IDownloadWithPublicAccessIdApplicationFileParams extends core.ParamsDictionary {
15
- publicAccessId: string;
16
- }
17
- export interface IWriteApplicationFileParams extends core.ParamsDictionary {
18
- token: string;
19
- }
20
- export interface IWriteApplicationFileQuery {
21
- should_skip_await_webhook_delivery?: boolean;
22
- }
23
- export interface IDeleteApplicationFileParams extends core.ParamsDictionary {
24
- applicationId: string;
25
- applicationFileId: string;
26
- }
27
- export interface IDeleteMultipleApplicationFileParams extends core.ParamsDictionary {
28
- applicationId: string;
29
- }
30
- export interface IDeleteMultipleApplicationFileBody {
31
- applicationFileIds: string[];
32
- }
33
- export interface IDuplicateApplicationFileParams extends core.ParamsDictionary {
34
- applicationId: string;
35
- applicationFileId: string;
36
- }
37
- export interface IDuplicateApplicationFileBody {
38
- name: string;
39
- tag?: string[];
40
- bucket?: string;
41
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
42
- customPublicAccessId?: string | null;
43
- publicAccessPassword?: string;
44
- }
45
- export interface IDuplicateMultipleApplicationFileParams extends core.ParamsDictionary {
46
- applicationId: string;
47
- }
48
- export interface IDuplicateMultipleApplicationFileBody {
49
- applicationFile: {
50
- id: string;
51
- name: string;
52
- tag?: string[];
53
- bucket?: string;
54
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
55
- customPublicAccessId?: string | null;
56
- publicAccessPassword?: string;
57
- }[];
58
- }
59
- export interface IGetApplicationFileParams extends core.ParamsDictionary {
60
- applicationId: string;
61
- applicationFileId: string;
62
- }
63
- export interface IUpdateApplicationFileParams extends core.ParamsDictionary {
64
- applicationId: string;
65
- applicationFileId: string;
66
- }
67
- export interface IUpdateApplicationFileBody {
68
- name?: string;
69
- customPublicAccessId?: string | null;
70
- publicAccessPassword?: string | null;
71
- tag?: string[];
72
- bucket?: string;
73
- }
74
- export interface IEncryptApplicationFileParams extends core.ParamsDictionary {
75
- applicationId: string;
76
- applicationFileId: string;
77
- }
78
- export interface IEncryptApplicationFileBody {
79
- algorithm: Algorithm;
80
- password: string;
81
- }
82
- export interface IDecryptApplicationFileParams extends core.ParamsDictionary {
83
- applicationId: string;
84
- applicationFileId: string;
85
- }
86
- export interface IDecryptApplicationFileBody {
87
- password: string;
88
- }
89
- export interface ResolutionPreSignUrlApplicationFileBody {
90
- x: number;
91
- y: number;
92
- }
93
- export interface ThumbnailPreSignUrlApplicationFileBody {
94
- shouldNotGenerate?: boolean;
95
- resolution?: ResolutionPreSignUrlApplicationFileBody;
96
- customPublicAccessId?: string | null;
97
- }
98
- export interface IGetPreSignUrlApplicationFileParams extends core.ParamsDictionary {
99
- applicationId: string;
100
- }
101
- export type IUploadGetPreSignUrlApplicationFileBody = {
102
- type: PreSignUrlType.UPLOAD;
103
- throttleInOctet?: number;
104
- fileName: string;
105
- maxApplicationFileSizeInOctet?: number;
106
- data?: Record<string, unknown>;
107
- shouldGeneratePublicAccess?: boolean;
108
- customPublicAccessId?: string | null;
109
- publicAccessPassword?: string;
110
- tag?: string[];
111
- bucket?: string;
112
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
113
- };
114
- export type IWriteGetPreSignUrlApplicationFileBody = {
115
- type: PreSignUrlType.WRITE;
116
- throttleInOctet?: number;
117
- maxApplicationFileSizeInOctet?: number;
118
- applicationFileId: string;
119
- data?: Record<string, unknown>;
120
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
121
- };
122
- export type IDownloadGetPreSignUrlApplicationFileBody = {
123
- type: PreSignUrlType.DOWNLOAD;
124
- throttleInOctet?: number;
125
- applicationFileId?: string;
126
- archive?: ArchiveElement;
127
- data?: Record<string, unknown>;
128
- };
129
- export type IGetPreSignUrlApplicationFileBody = IUploadGetPreSignUrlApplicationFileBody | IWriteGetPreSignUrlApplicationFileBody | IDownloadGetPreSignUrlApplicationFileBody;
130
- export type IPaginateApplicationFileParams = {
131
- applicationId: string;
132
- };
133
- export type IPaginateApplicationFileQuery = {
134
- name?: string;
135
- partialId?: string;
136
- partialPublicAccessId?: string;
137
- tag?: string[];
138
- bucket?: string | null;
139
- customPublicAccessId?: string | null;
140
- partialCustomPublicAccessId?: string;
141
- } & QueryPaginate;
142
- export type IListBucketApplicationFileParams = {
143
- applicationId: string;
144
- };
145
- export type IListBucketApplicationFileQuery = {
146
- bucket?: string | null;
147
- };
148
- export type IResetPublicAccessApplicationFileParams = {
149
- applicationId: string;
150
- applicationFileId: string;
151
- };
152
- export type IUnsetPublicAccessApplicationFileParams = {
153
- applicationId: string;
154
- applicationFileId: string;
155
- };
156
- export interface IExtractArchiveApplicationFileParams extends core.ParamsDictionary {
157
- applicationId: string;
158
- applicationFileId: string;
159
- }
160
- export interface IExtractArchiveApplicationFileQuery {
161
- should_delete_original_file?: boolean;
162
- }
163
- export interface ICompressArchiveApplicationFileParams extends core.ParamsDictionary {
164
- applicationId: string;
165
- }
166
- export interface ICompressArchiveApplicationFileBody {
167
- archive: ArchiveElement;
168
- name: string;
169
- }
170
- export interface ICompressArchiveApplicationFileQuery {
171
- should_delete_original_file?: boolean;
172
- }
173
- export interface IDeleteBucketApplicationFileParams extends core.ParamsDictionary {
174
- applicationId: string;
175
- }
176
- export interface IDeleteBucketApplicationFileBody {
177
- bucket: string;
178
- }
179
- export interface IRenameBucketApplicationFileParams extends core.ParamsDictionary {
180
- applicationId: string;
181
- }
182
- export interface IRenameBucketApplicationFileBody {
183
- bucket: string;
184
- newBucket: string;
185
- }
186
- export interface IUpdateBucketApplicationFileParams extends core.ParamsDictionary {
187
- applicationId: string;
188
- }
189
- export interface IUpdateBucketApplicationFileBody {
190
- bucket: string;
191
- applicationFileIds: string[];
192
- }
193
- export interface ICustomPublicAccessDownloadIdApplicationFileParams extends core.ParamsDictionary {
194
- applicationId: string;
195
- applicationFileCustomPublicAccessId: string;
196
- }
197
- export interface IExtractMetadataApplicationFileParams extends core.ParamsDictionary {
198
- applicationId: string;
199
- applicationFileId: string;
200
- }
201
- export interface IUploadFromUrlApplicationFileParams extends core.ParamsDictionary {
202
- applicationId: string;
203
- }
204
- export interface IUploadFromUrlApplicationFileBody {
205
- name: string;
206
- url: string;
207
- shouldGeneratePublicAccess?: boolean;
208
- customPublicAccessId?: string | null;
209
- publicAccessPassword?: string;
210
- tag?: string[];
211
- bucket?: string;
212
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
213
- maxSizeOctet?: number;
214
- }
215
- export interface ISaveFreepikApplicationFileParams extends core.ParamsDictionary {
216
- applicationId: string;
217
- resourceId: string;
218
- }
219
- export interface ISaveFreepikApplicationFileBody {
220
- name?: string;
221
- shouldGeneratePublicAccess?: boolean;
222
- customPublicAccessId?: string | null;
223
- publicAccessPassword?: string;
224
- tag?: string[];
225
- bucket?: string;
226
- thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
227
- maxSizeOctet?: number;
228
- }
1
+ import * as core from 'express-serve-static-core';
2
+ import { Algorithm, PreSignUrlType } from '../../../enum';
3
+ import { ArchiveElement } from '../../dto';
4
+ import { QueryPaginate } from '../type-message/base-paginate';
5
+ export interface IUploadApplicationFileParams extends core.ParamsDictionary {
6
+ token: string;
7
+ }
8
+ export interface IUploadApplicationFileQuery {
9
+ should_skip_await_webhook_delivery?: boolean;
10
+ }
11
+ export interface IDownloadApplicationFileParams extends core.ParamsDictionary {
12
+ token: string;
13
+ }
14
+ export interface IDownloadWithPublicAccessIdApplicationFileParams extends core.ParamsDictionary {
15
+ publicAccessId: string;
16
+ }
17
+ export interface IWriteApplicationFileParams extends core.ParamsDictionary {
18
+ token: string;
19
+ }
20
+ export interface IWriteApplicationFileQuery {
21
+ should_skip_await_webhook_delivery?: boolean;
22
+ }
23
+ export interface IDeleteApplicationFileParams extends core.ParamsDictionary {
24
+ applicationId: string;
25
+ applicationFileId: string;
26
+ }
27
+ export interface IDeleteMultipleApplicationFileParams extends core.ParamsDictionary {
28
+ applicationId: string;
29
+ }
30
+ export interface IDeleteMultipleApplicationFileBody {
31
+ applicationFileIds: string[];
32
+ }
33
+ export interface IDuplicateApplicationFileParams extends core.ParamsDictionary {
34
+ applicationId: string;
35
+ applicationFileId: string;
36
+ }
37
+ export interface IDuplicateApplicationFileBody {
38
+ name: string;
39
+ tag?: string[];
40
+ bucket?: string;
41
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
42
+ customPublicAccessId?: string | null;
43
+ publicAccessPassword?: string;
44
+ }
45
+ export interface IDuplicateMultipleApplicationFileParams extends core.ParamsDictionary {
46
+ applicationId: string;
47
+ }
48
+ export interface IDuplicateMultipleApplicationFileBody {
49
+ applicationFile: {
50
+ id: string;
51
+ name: string;
52
+ tag?: string[];
53
+ bucket?: string;
54
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
55
+ customPublicAccessId?: string | null;
56
+ publicAccessPassword?: string;
57
+ }[];
58
+ }
59
+ export interface IGetApplicationFileParams extends core.ParamsDictionary {
60
+ applicationId: string;
61
+ applicationFileId: string;
62
+ }
63
+ export interface IUpdateApplicationFileParams extends core.ParamsDictionary {
64
+ applicationId: string;
65
+ applicationFileId: string;
66
+ }
67
+ export interface IUpdateApplicationFileBody {
68
+ name?: string;
69
+ customPublicAccessId?: string | null;
70
+ publicAccessPassword?: string | null;
71
+ tag?: string[];
72
+ bucket?: string;
73
+ }
74
+ export interface IEncryptApplicationFileParams extends core.ParamsDictionary {
75
+ applicationId: string;
76
+ applicationFileId: string;
77
+ }
78
+ export interface IEncryptApplicationFileBody {
79
+ algorithm: Algorithm;
80
+ password: string;
81
+ }
82
+ export interface IDecryptApplicationFileParams extends core.ParamsDictionary {
83
+ applicationId: string;
84
+ applicationFileId: string;
85
+ }
86
+ export interface IDecryptApplicationFileBody {
87
+ password: string;
88
+ }
89
+ export interface ResolutionPreSignUrlApplicationFileBody {
90
+ x: number;
91
+ y: number;
92
+ }
93
+ export interface ThumbnailPreSignUrlApplicationFileBody {
94
+ shouldNotGenerate?: boolean;
95
+ resolution?: ResolutionPreSignUrlApplicationFileBody;
96
+ customPublicAccessId?: string | null;
97
+ }
98
+ export interface IGetPreSignUrlApplicationFileParams extends core.ParamsDictionary {
99
+ applicationId: string;
100
+ }
101
+ export type IUploadGetPreSignUrlApplicationFileBody = {
102
+ type: PreSignUrlType.UPLOAD;
103
+ throttleInOctet?: number;
104
+ fileName: string;
105
+ maxApplicationFileSizeInOctet?: number;
106
+ data?: Record<string, unknown>;
107
+ shouldGeneratePublicAccess?: boolean;
108
+ customPublicAccessId?: string | null;
109
+ publicAccessPassword?: string;
110
+ tag?: string[];
111
+ bucket?: string;
112
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
113
+ };
114
+ export type IWriteGetPreSignUrlApplicationFileBody = {
115
+ type: PreSignUrlType.WRITE;
116
+ throttleInOctet?: number;
117
+ maxApplicationFileSizeInOctet?: number;
118
+ applicationFileId: string;
119
+ data?: Record<string, unknown>;
120
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
121
+ };
122
+ export type IDownloadGetPreSignUrlApplicationFileBody = {
123
+ type: PreSignUrlType.DOWNLOAD;
124
+ throttleInOctet?: number;
125
+ applicationFileId?: string;
126
+ archive?: ArchiveElement;
127
+ data?: Record<string, unknown>;
128
+ };
129
+ export type IGetPreSignUrlApplicationFileBody = IUploadGetPreSignUrlApplicationFileBody | IWriteGetPreSignUrlApplicationFileBody | IDownloadGetPreSignUrlApplicationFileBody;
130
+ export type IPaginateApplicationFileParams = {
131
+ applicationId: string;
132
+ };
133
+ export type IPaginateApplicationFileQuery = {
134
+ name?: string;
135
+ partialId?: string;
136
+ partialPublicAccessId?: string;
137
+ tag?: string[];
138
+ bucket?: string | null;
139
+ customPublicAccessId?: string | null;
140
+ partialCustomPublicAccessId?: string;
141
+ } & QueryPaginate;
142
+ export type IListBucketApplicationFileParams = {
143
+ applicationId: string;
144
+ };
145
+ export type IListBucketApplicationFileQuery = {
146
+ bucket?: string | null;
147
+ };
148
+ export type IResetPublicAccessApplicationFileParams = {
149
+ applicationId: string;
150
+ applicationFileId: string;
151
+ };
152
+ export type IUnsetPublicAccessApplicationFileParams = {
153
+ applicationId: string;
154
+ applicationFileId: string;
155
+ };
156
+ export interface IExtractArchiveApplicationFileParams extends core.ParamsDictionary {
157
+ applicationId: string;
158
+ applicationFileId: string;
159
+ }
160
+ export interface IExtractArchiveApplicationFileQuery {
161
+ should_delete_original_file?: boolean;
162
+ }
163
+ export interface ICompressArchiveApplicationFileParams extends core.ParamsDictionary {
164
+ applicationId: string;
165
+ }
166
+ export interface ICompressArchiveApplicationFileBody {
167
+ archive: ArchiveElement;
168
+ name: string;
169
+ }
170
+ export interface ICompressArchiveApplicationFileQuery {
171
+ should_delete_original_file?: boolean;
172
+ }
173
+ export interface IDeleteBucketApplicationFileParams extends core.ParamsDictionary {
174
+ applicationId: string;
175
+ }
176
+ export interface IDeleteBucketApplicationFileBody {
177
+ bucket: string;
178
+ }
179
+ export interface IRenameBucketApplicationFileParams extends core.ParamsDictionary {
180
+ applicationId: string;
181
+ }
182
+ export interface IRenameBucketApplicationFileBody {
183
+ bucket: string;
184
+ newBucket: string;
185
+ }
186
+ export interface IUpdateBucketApplicationFileParams extends core.ParamsDictionary {
187
+ applicationId: string;
188
+ }
189
+ export interface IUpdateBucketApplicationFileBody {
190
+ bucket: string;
191
+ applicationFileIds: string[];
192
+ }
193
+ export interface ICustomPublicAccessDownloadIdApplicationFileParams extends core.ParamsDictionary {
194
+ applicationId: string;
195
+ applicationFileCustomPublicAccessId: string;
196
+ }
197
+ export interface IExtractMetadataApplicationFileParams extends core.ParamsDictionary {
198
+ applicationId: string;
199
+ applicationFileId: string;
200
+ }
201
+ export interface IUploadFromUrlApplicationFileParams extends core.ParamsDictionary {
202
+ applicationId: string;
203
+ }
204
+ export interface IUploadFromUrlApplicationFileBody {
205
+ name: string;
206
+ url: string;
207
+ shouldGeneratePublicAccess?: boolean;
208
+ customPublicAccessId?: string | null;
209
+ publicAccessPassword?: string;
210
+ tag?: string[];
211
+ bucket?: string;
212
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
213
+ maxSizeOctet?: number;
214
+ }
215
+ export interface ISaveFreepikApplicationFileParams extends core.ParamsDictionary {
216
+ applicationId: string;
217
+ resourceId: string;
218
+ }
219
+ export interface ISaveFreepikApplicationFileBody {
220
+ name?: string;
221
+ shouldGeneratePublicAccess?: boolean;
222
+ customPublicAccessId?: string | null;
223
+ publicAccessPassword?: string;
224
+ tag?: string[];
225
+ bucket?: string;
226
+ thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
227
+ maxSizeOctet?: number;
228
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ import { QueryPaginate } from '..';
2
+ export interface IGetEntryApplicationStoreAdminParams {
3
+ applicationStoreEntryId: string;
4
+ }
5
+ export interface ICreateEntryApplicationStoreAdminParams {
6
+ applicationId: string;
7
+ }
8
+ export interface ICreateEntryApplicationStoreAdminBody {
9
+ name: string;
10
+ slug: string;
11
+ value: string;
12
+ isActive: boolean;
13
+ expireAt?: Date | null;
14
+ }
15
+ export type IPaginateEntryApplicationStoreAdminQuery = {
16
+ name?: string;
17
+ slug?: string;
18
+ isActive?: boolean;
19
+ applicationId?: string[];
20
+ id?: string;
21
+ } & QueryPaginate;
22
+ export interface IUpdateEntryApplicationStoreAdminParams {
23
+ applicationStoreEntryId: string;
24
+ }
25
+ export interface IUpdateEntryApplicationStoreAdminBody {
26
+ name?: string;
27
+ slug?: string;
28
+ value?: string;
29
+ isActive?: boolean;
30
+ expireAt?: Date | null;
31
+ }
32
+ export interface IDeleteEntryApplicationStoreAdminParams {
33
+ applicationStoreEntryId: string;
34
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface IGetEntryBySlugApplicationStorePublicParams {
2
+ applicationId: string;
3
+ slug: string;
4
+ }
5
+ export interface IGetEntryByIdApplicationStorePublicParams {
6
+ applicationId: string;
7
+ applicationStoreEntryId: string;
8
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,39 @@
1
+ import { QueryPaginate } from '..';
2
+ export interface IGetEntryApplicationStoreParams {
3
+ applicationId: string;
4
+ applicationStoreEntryId: string;
5
+ }
6
+ export interface ICreateEntryApplicationStoreParams {
7
+ applicationId: string;
8
+ }
9
+ export interface ICreateEntryApplicationStoreBody {
10
+ name: string;
11
+ slug: string;
12
+ value: string;
13
+ isActive: boolean;
14
+ expireAt?: Date | null;
15
+ }
16
+ export interface IPaginateEntryApplicationStoreParams {
17
+ applicationId: string;
18
+ }
19
+ export type IPaginateEntryApplicationStoreQuery = {
20
+ name?: string;
21
+ slug?: string;
22
+ isActive?: boolean;
23
+ id?: string;
24
+ } & QueryPaginate;
25
+ export interface IUpdateEntryApplicationStoreParams {
26
+ applicationId: string;
27
+ applicationStoreEntryId: string;
28
+ }
29
+ export interface IUpdateEntryApplicationStoreBody {
30
+ name?: string;
31
+ slug?: string;
32
+ value?: string;
33
+ isActive?: boolean;
34
+ expireAt?: Date | null;
35
+ }
36
+ export interface IDeleteEntryApplicationStoreParams {
37
+ applicationId: string;
38
+ applicationStoreEntryId: string;
39
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +1,14 @@
1
- import * as core from 'express-serve-static-core';
2
- import { WebhookType } from '../../../enum';
3
- import { QueryPaginate } from '..';
4
- export interface IGetApplicationWebhookHistoryAdminParams extends core.ParamsDictionary {
5
- applicationWebhookHistoryId: string;
6
- }
7
- export type IPaginateApplicationWebhookHistoryAdminQuery = {
8
- responseCode?: number[];
9
- applicationWebhookId?: string[];
10
- applicationId?: string[];
11
- webhookId?: string;
12
- groupId?: string;
13
- type?: WebhookType[];
14
- } & QueryPaginate;
1
+ import * as core from 'express-serve-static-core';
2
+ import { WebhookType } from '../../../enum';
3
+ import { QueryPaginate } from '..';
4
+ export interface IGetApplicationWebhookHistoryAdminParams extends core.ParamsDictionary {
5
+ applicationWebhookHistoryId: string;
6
+ }
7
+ export type IPaginateApplicationWebhookHistoryAdminQuery = {
8
+ responseCode?: number[];
9
+ applicationWebhookId?: string[];
10
+ applicationId?: string[];
11
+ webhookId?: string;
12
+ groupId?: string;
13
+ type?: WebhookType[];
14
+ } & QueryPaginate;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +1,17 @@
1
- import * as core from 'express-serve-static-core';
2
- import { WebhookType } from '../../../enum';
3
- import { QueryPaginate } from '..';
4
- export interface IGetApplicationWebhookHistoryParams extends core.ParamsDictionary {
5
- applicationId: string;
6
- applicationWebhookHistoryId: string;
7
- }
8
- export interface IPaginateApplicationWebhookHistoryParams extends core.ParamsDictionary {
9
- applicationId: string;
10
- }
11
- export type IPaginateApplicationWebhookHistoryQuery = {
12
- responseCode?: number[];
13
- applicationWebhookId?: string[];
14
- webhookId?: string;
15
- groupId?: string;
16
- type?: WebhookType[];
17
- } & QueryPaginate;
1
+ import * as core from 'express-serve-static-core';
2
+ import { WebhookType } from '../../../enum';
3
+ import { QueryPaginate } from '..';
4
+ export interface IGetApplicationWebhookHistoryParams extends core.ParamsDictionary {
5
+ applicationId: string;
6
+ applicationWebhookHistoryId: string;
7
+ }
8
+ export interface IPaginateApplicationWebhookHistoryParams extends core.ParamsDictionary {
9
+ applicationId: string;
10
+ }
11
+ export type IPaginateApplicationWebhookHistoryQuery = {
12
+ responseCode?: number[];
13
+ applicationWebhookId?: string[];
14
+ webhookId?: string;
15
+ groupId?: string;
16
+ type?: WebhookType[];
17
+ } & QueryPaginate;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });