@sigmaott/base-next 1.0.6

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 (733) hide show
  1. package/README.md +1 -0
  2. package/hyrd-ui.preset.ts +463 -0
  3. package/i18n.config.ts +3 -0
  4. package/locales/en.yaml +719 -0
  5. package/locales/vi.yaml +726 -0
  6. package/nuxt-config.ts +23 -0
  7. package/nuxt.config.ts +267 -0
  8. package/package.json +119 -0
  9. package/public/routes.json +34 -0
  10. package/src/MediaInfoModule.wasm +0 -0
  11. package/src/api/api.ts +15 -0
  12. package/src/api/axios.ts +125 -0
  13. package/src/api/service-loading.ts +50 -0
  14. package/src/api-client-auth/.openapi-generator/FILES +83 -0
  15. package/src/api-client-auth/.openapi-generator/VERSION +1 -0
  16. package/src/api-client-auth/.openapi-generator-ignore +23 -0
  17. package/src/api-client-auth/api/admin-groups-api.ts +612 -0
  18. package/src/api-client-auth/api/admin-members-api.ts +708 -0
  19. package/src/api-client-auth/api/administration-api-groups-api.ts +547 -0
  20. package/src/api-client-auth/api/administration-apps-api.ts +709 -0
  21. package/src/api-client-auth/api/administration-packages-api.ts +547 -0
  22. package/src/api-client-auth/api/api-groups-api.ts +296 -0
  23. package/src/api-client-auth/api/apps-api.ts +1613 -0
  24. package/src/api-client-auth/api/basic-credential-api.ts +950 -0
  25. package/src/api-client-auth/api/groups-api.ts +702 -0
  26. package/src/api-client-auth/api/members-api.ts +708 -0
  27. package/src/api-client-auth/api/members-on-premise-api.ts +351 -0
  28. package/src/api-client-auth/api/packages-api.ts +296 -0
  29. package/src/api-client-auth/api/users-api.ts +1387 -0
  30. package/src/api-client-auth/api.ts +30 -0
  31. package/src/api-client-auth/base.ts +72 -0
  32. package/src/api-client-auth/common.ts +150 -0
  33. package/src/api-client-auth/configuration.ts +101 -0
  34. package/src/api-client-auth/git_push.sh +57 -0
  35. package/src/api-client-auth/index.ts +18 -0
  36. package/src/api-client-auth/models/add-member-dto.ts +42 -0
  37. package/src/api-client-auth/models/admin-permission.ts +44 -0
  38. package/src/api-client-auth/models/api-group-collection.ts +57 -0
  39. package/src/api-client-auth/models/api-group.ts +80 -0
  40. package/src/api-client-auth/models/api.ts +44 -0
  41. package/src/api-client-auth/models/app-collection.ts +57 -0
  42. package/src/api-client-auth/models/app.ts +147 -0
  43. package/src/api-client-auth/models/backdoor-cred.ts +39 -0
  44. package/src/api-client-auth/models/basic-cred-collection.ts +57 -0
  45. package/src/api-client-auth/models/basic-cred.ts +83 -0
  46. package/src/api-client-auth/models/change-password-dto.ts +42 -0
  47. package/src/api-client-auth/models/create-admin-group-dto.ts +39 -0
  48. package/src/api-client-auth/models/create-api-group-dto.ts +42 -0
  49. package/src/api-client-auth/models/create-app-by-user-dto.ts +36 -0
  50. package/src/api-client-auth/models/create-app-dto.ts +65 -0
  51. package/src/api-client-auth/models/create-basic-cred-dto.ts +39 -0
  52. package/src/api-client-auth/models/create-group-dto.ts +39 -0
  53. package/src/api-client-auth/models/create-package-dto.ts +48 -0
  54. package/src/api-client-auth/models/create-user-dto.ts +60 -0
  55. package/src/api-client-auth/models/free-trial.ts +54 -0
  56. package/src/api-client-auth/models/general-app.ts +48 -0
  57. package/src/api-client-auth/models/generate-app-id.ts +30 -0
  58. package/src/api-client-auth/models/group-collection.ts +57 -0
  59. package/src/api-client-auth/models/group.ts +75 -0
  60. package/src/api-client-auth/models/index.ts +60 -0
  61. package/src/api-client-auth/models/invite-email-dto.ts +30 -0
  62. package/src/api-client-auth/models/invite-member-dto.ts +36 -0
  63. package/src/api-client-auth/models/live-stream-quota.ts +42 -0
  64. package/src/api-client-auth/models/login-dto.ts +36 -0
  65. package/src/api-client-auth/models/login-result.ts +39 -0
  66. package/src/api-client-auth/models/member-collection.ts +57 -0
  67. package/src/api-client-auth/models/member.ts +92 -0
  68. package/src/api-client-auth/models/package-collection.ts +57 -0
  69. package/src/api-client-auth/models/package-permission.ts +44 -0
  70. package/src/api-client-auth/models/package.ts +66 -0
  71. package/src/api-client-auth/models/permission.ts +44 -0
  72. package/src/api-client-auth/models/quota.ts +45 -0
  73. package/src/api-client-auth/models/re-get-password-dto.ts +30 -0
  74. package/src/api-client-auth/models/register-dto.ts +54 -0
  75. package/src/api-client-auth/models/register-through-email-dto.ts +36 -0
  76. package/src/api-client-auth/models/rename-app-dto.ts +30 -0
  77. package/src/api-client-auth/models/resend-confirmation-dto.ts +30 -0
  78. package/src/api-client-auth/models/resend-invitation-dto.ts +30 -0
  79. package/src/api-client-auth/models/resend-result.ts +36 -0
  80. package/src/api-client-auth/models/reset-password-dto.ts +36 -0
  81. package/src/api-client-auth/models/revoke-basic-dto.ts +38 -0
  82. package/src/api-client-auth/models/signup-result.ts +45 -0
  83. package/src/api-client-auth/models/token-check-result.ts +36 -0
  84. package/src/api-client-auth/models/trial-remaining-days.ts +42 -0
  85. package/src/api-client-auth/models/update-admin-group-dto.ts +39 -0
  86. package/src/api-client-auth/models/update-api-group-dto.ts +30 -0
  87. package/src/api-client-auth/models/update-app-by-admin-dto.ts +48 -0
  88. package/src/api-client-auth/models/update-app-by-user-dto.ts +36 -0
  89. package/src/api-client-auth/models/update-basic-cred-dto.ts +30 -0
  90. package/src/api-client-auth/models/update-group-dto.ts +39 -0
  91. package/src/api-client-auth/models/update-member-dto.ts +30 -0
  92. package/src/api-client-auth/models/update-package-dto.ts +42 -0
  93. package/src/api-client-auth/models/update-password-member-dto.ts +30 -0
  94. package/src/api-client-auth/models/update-user-by-user-dto.ts +48 -0
  95. package/src/api-client-auth/models/user.ts +120 -0
  96. package/src/api-client-auth/models/validate-app-id.ts +36 -0
  97. package/src/api-client-billing/.openapi-generator/FILES +38 -0
  98. package/src/api-client-billing/.openapi-generator/VERSION +1 -0
  99. package/src/api-client-billing/.openapi-generator-ignore +23 -0
  100. package/src/api-client-billing/api/invoice-api.ts +363 -0
  101. package/src/api-client-billing/api/payment-methods-api.ts +414 -0
  102. package/src/api-client-billing/api/payment-plan-api.ts +121 -0
  103. package/src/api-client-billing/api/subscriptions-api.ts +121 -0
  104. package/src/api-client-billing/api/usages-api.ts +121 -0
  105. package/src/api-client-billing/api/vnpay-provider-api.ts +327 -0
  106. package/src/api-client-billing/api.ts +23 -0
  107. package/src/api-client-billing/base.ts +72 -0
  108. package/src/api-client-billing/common.ts +150 -0
  109. package/src/api-client-billing/configuration.ts +101 -0
  110. package/src/api-client-billing/git_push.sh +57 -0
  111. package/src/api-client-billing/index.ts +18 -0
  112. package/src/api-client-billing/models/common-paginate-response.ts +48 -0
  113. package/src/api-client-billing/models/dto-billing-item-info.ts +60 -0
  114. package/src/api-client-billing/models/dto-billing-item.ts +36 -0
  115. package/src/api-client-billing/models/dto-create-draft-invoice-request.ts +33 -0
  116. package/src/api-client-billing/models/dto-create-draft-invoice-response.ts +57 -0
  117. package/src/api-client-billing/models/dto-create-vnpay-card-form.ts +48 -0
  118. package/src/api-client-billing/models/dto-return-uri-response.ts +30 -0
  119. package/src/api-client-billing/models/index.ts +22 -0
  120. package/src/api-client-billing/models/invoices-get200-response.ts +42 -0
  121. package/src/api-client-billing/models/model-charge.ts +47 -0
  122. package/src/api-client-billing/models/model-charges-usage.ts +57 -0
  123. package/src/api-client-billing/models/model-graduated-range.ts +48 -0
  124. package/src/api-client-billing/models/model-info.ts +42 -0
  125. package/src/api-client-billing/models/model-invoice.ts +105 -0
  126. package/src/api-client-billing/models/model-item-usage.ts +54 -0
  127. package/src/api-client-billing/models/model-payment-method.ts +135 -0
  128. package/src/api-client-billing/models/model-product.ts +51 -0
  129. package/src/api-client-billing/models/model-properties.ts +39 -0
  130. package/src/api-client-billing/models/model-quota.ts +48 -0
  131. package/src/api-client-billing/models/model-subscription.ts +51 -0
  132. package/src/api-client-billing/models/model-usage-payment.ts +87 -0
  133. package/src/api-client-billing/models/payment-methods-get200-response.ts +42 -0
  134. package/src/api-client-billing/models/subscriptions-get200-response.ts +42 -0
  135. package/src/api-client-machine/.openapi-generator/FILES +90 -0
  136. package/src/api-client-machine/.openapi-generator/VERSION +1 -0
  137. package/src/api-client-machine/.openapi-generator-ignore +23 -0
  138. package/src/api-client-machine/api/apps-config-api.ts +523 -0
  139. package/src/api-client-machine/api/component-clusters-api.ts +741 -0
  140. package/src/api-client-machine/api/expose-api.ts +141 -0
  141. package/src/api-client-machine/api/machine-actions-api.ts +850 -0
  142. package/src/api-client-machine/api/machines-api.ts +524 -0
  143. package/src/api-client-machine/api/networks-api.ts +375 -0
  144. package/src/api-client-machine/api/sigma-clusters-api.ts +741 -0
  145. package/src/api-client-machine/api/sigma-machine-actions-api.ts +292 -0
  146. package/src/api-client-machine/api/sigma-machine-apps-configuration-api.ts +523 -0
  147. package/src/api-client-machine/api/sigma-machines-api.ts +557 -0
  148. package/src/api-client-machine/api/sigma-vod-server-api.ts +478 -0
  149. package/src/api-client-machine/api/sigma-vod-server-app-config-api.ts +980 -0
  150. package/src/api-client-machine/api/transcoder-configuration-api.ts +359 -0
  151. package/src/api-client-machine/api.ts +30 -0
  152. package/src/api-client-machine/base.ts +72 -0
  153. package/src/api-client-machine/common.ts +150 -0
  154. package/src/api-client-machine/configuration.ts +101 -0
  155. package/src/api-client-machine/git_push.sh +57 -0
  156. package/src/api-client-machine/index.ts +18 -0
  157. package/src/api-client-machine/models/actions-to-app-dto.ts +38 -0
  158. package/src/api-client-machine/models/add-license-machine-dto.ts +30 -0
  159. package/src/api-client-machine/models/app-status.ts +47 -0
  160. package/src/api-client-machine/models/check-quota-limit-result.ts +36 -0
  161. package/src/api-client-machine/models/cluster-log.ts +54 -0
  162. package/src/api-client-machine/models/component-cluster-collection.ts +57 -0
  163. package/src/api-client-machine/models/component-cluster.ts +116 -0
  164. package/src/api-client-machine/models/create-component-machine-cluster-dto.ts +86 -0
  165. package/src/api-client-machine/models/create-sigma-machine-cluster-dto.ts +77 -0
  166. package/src/api-client-machine/models/create-vodroute-dto.ts +42 -0
  167. package/src/api-client-machine/models/decklink-collection.ts +57 -0
  168. package/src/api-client-machine/models/decklink.ts +42 -0
  169. package/src/api-client-machine/models/http-app.ts +45 -0
  170. package/src/api-client-machine/models/https-config.ts +42 -0
  171. package/src/api-client-machine/models/index.ts +67 -0
  172. package/src/api-client-machine/models/info-channel.ts +42 -0
  173. package/src/api-client-machine/models/ingest-app.ts +60 -0
  174. package/src/api-client-machine/models/ingest-config.ts +74 -0
  175. package/src/api-client-machine/models/ingest-update-config-dto.ts +68 -0
  176. package/src/api-client-machine/models/machine-cluster-collection.ts +57 -0
  177. package/src/api-client-machine/models/machine-cluster.ts +120 -0
  178. package/src/api-client-machine/models/machine-details-license.ts +42 -0
  179. package/src/api-client-machine/models/machine-details.ts +127 -0
  180. package/src/api-client-machine/models/machine-dto.ts +42 -0
  181. package/src/api-client-machine/models/machine-dump.ts +108 -0
  182. package/src/api-client-machine/models/machine.ts +42 -0
  183. package/src/api-client-machine/models/network-collection.ts +57 -0
  184. package/src/api-client-machine/models/network-interface.ts +36 -0
  185. package/src/api-client-machine/models/network.ts +66 -0
  186. package/src/api-client-machine/models/origin-config.ts +50 -0
  187. package/src/api-client-machine/models/origin-update-config-dto.ts +59 -0
  188. package/src/api-client-machine/models/packager-component-cluster.ts +42 -0
  189. package/src/api-client-machine/models/packager-live-cluster.ts +42 -0
  190. package/src/api-client-machine/models/packager-to-component-cluster.ts +51 -0
  191. package/src/api-client-machine/models/quotas-result.ts +30 -0
  192. package/src/api-client-machine/models/registration-config.ts +48 -0
  193. package/src/api-client-machine/models/sigma-cluster-ingest-config.ts +42 -0
  194. package/src/api-client-machine/models/sigma-cluster-origin-config.ts +30 -0
  195. package/src/api-client-machine/models/sigma-ingest-config-entity.ts +42 -0
  196. package/src/api-client-machine/models/sigma-ingest-config.ts +42 -0
  197. package/src/api-client-machine/models/sigma-origin-config-entity.ts +30 -0
  198. package/src/api-client-machine/models/sigma-origin-config.ts +30 -0
  199. package/src/api-client-machine/models/stats.ts +57 -0
  200. package/src/api-client-machine/models/status.ts +36 -0
  201. package/src/api-client-machine/models/stop-channel.ts +48 -0
  202. package/src/api-client-machine/models/transcoder-apps.ts +42 -0
  203. package/src/api-client-machine/models/transcoder-collection.ts +57 -0
  204. package/src/api-client-machine/models/transcoder-component-cluster.ts +42 -0
  205. package/src/api-client-machine/models/transcoder-license.ts +42 -0
  206. package/src/api-client-machine/models/transcoder-live-cluster.ts +42 -0
  207. package/src/api-client-machine/models/transcoder-live-to-component-cluster.ts +45 -0
  208. package/src/api-client-machine/models/transcoder-network.ts +42 -0
  209. package/src/api-client-machine/models/transcoder.ts +276 -0
  210. package/src/api-client-machine/models/update-app-config-dto-config-data.ts +33 -0
  211. package/src/api-client-machine/models/update-app-config-dto.ts +33 -0
  212. package/src/api-client-machine/models/update-app-config-of-sigma-vod-server-dto-config-data.ts +30 -0
  213. package/src/api-client-machine/models/update-app-config-of-sigma-vod-server-dto.ts +33 -0
  214. package/src/api-client-machine/models/update-component-cluster-dto.ts +72 -0
  215. package/src/api-client-machine/models/update-machine-cluster-dto.ts +63 -0
  216. package/src/api-client-machine/models/update-machine-dto.ts +42 -0
  217. package/src/api-client-machine/models/update-packager-live-cluster.ts +42 -0
  218. package/src/api-client-machine/models/update-packager-to-component-cluster.ts +51 -0
  219. package/src/api-client-machine/models/update-route-config-of-sigma-vod-server.ts +33 -0
  220. package/src/api-client-machine/models/update-route-config-sigma-machine.ts +42 -0
  221. package/src/api-client-machine/models/update-transcoder-live-cluster.ts +42 -0
  222. package/src/api-client-machine/models/update-transcoder-to-component-cluster.ts +45 -0
  223. package/src/api-client-machine/models/video-encoder.ts +56 -0
  224. package/src/api-client-machine/models/vodroute.ts +60 -0
  225. package/src/api-client-noti/.openapi-generator/FILES +13 -0
  226. package/src/api-client-noti/.openapi-generator/VERSION +1 -0
  227. package/src/api-client-noti/.openapi-generator-ignore +23 -0
  228. package/src/api-client-noti/api/notification-api.ts +386 -0
  229. package/src/api-client-noti/api.ts +18 -0
  230. package/src/api-client-noti/base.ts +72 -0
  231. package/src/api-client-noti/common.ts +150 -0
  232. package/src/api-client-noti/configuration.ts +101 -0
  233. package/src/api-client-noti/git_push.sh +57 -0
  234. package/src/api-client-noti/index.ts +18 -0
  235. package/src/api-client-noti/models/index.ts +2 -0
  236. package/src/api-client-noti/models/notification-collection.ts +57 -0
  237. package/src/api-client-noti/models/notification.ts +101 -0
  238. package/src/api-client-transcode/.openapi-generator/FILES +129 -0
  239. package/src/api-client-transcode/.openapi-generator/VERSION +1 -0
  240. package/src/api-client-transcode/.openapi-generator-ignore +23 -0
  241. package/src/api-client-transcode/api/alert-logs-apiapi.ts +281 -0
  242. package/src/api-client-transcode/api/channel-package-inputs-apiapi.ts +650 -0
  243. package/src/api-client-transcode/api/channel-transcode-inputs-apiapi.ts +650 -0
  244. package/src/api-client-transcode/api/channels-crudapiapi.ts +869 -0
  245. package/src/api-client-transcode/api/channels-job-action-apiapi.ts +434 -0
  246. package/src/api-client-transcode/api/drm-credentials-api.ts +525 -0
  247. package/src/api-client-transcode/api/event-channel-action-apiapi.ts +363 -0
  248. package/src/api-client-transcode/api/event-channel-crudapiapi.ts +545 -0
  249. package/src/api-client-transcode/api/fast-channel-action-apiapi.ts +301 -0
  250. package/src/api-client-transcode/api/fast-channel-apiapi.ts +525 -0
  251. package/src/api-client-transcode/api/fast-channel-programs-api-api.ts +525 -0
  252. package/src/api-client-transcode/api/multi-channel-action-apiapi.ts +387 -0
  253. package/src/api-client-transcode/api/sigma-transcode-live-interactive-action-api.ts +152 -0
  254. package/src/api-client-transcode/api/single-channel-action-apiapi.ts +1155 -0
  255. package/src/api-client-transcode/api/transcode-templates-apiapi.ts +541 -0
  256. package/src/api-client-transcode/api.ts +32 -0
  257. package/src/api-client-transcode/base.ts +71 -0
  258. package/src/api-client-transcode/common.ts +138 -0
  259. package/src/api-client-transcode/configuration.ts +101 -0
  260. package/src/api-client-transcode/git_push.sh +57 -0
  261. package/src/api-client-transcode/index.ts +18 -0
  262. package/src/api-client-transcode/models/ads-dto.ts +137 -0
  263. package/src/api-client-transcode/models/alert-log-collection.ts +55 -0
  264. package/src/api-client-transcode/models/audio-watermark-dto.ts +59 -0
  265. package/src/api-client-transcode/models/blackout-slate-dto.ts +36 -0
  266. package/src/api-client-transcode/models/catchup-dto.ts +43 -0
  267. package/src/api-client-transcode/models/channel-collection.ts +55 -0
  268. package/src/api-client-transcode/models/channel-config-advance-dto-info.ts +25 -0
  269. package/src/api-client-transcode/models/channel-config-advance-dto.ts +121 -0
  270. package/src/api-client-transcode/models/channel-config-advance-info-dto.ts +78 -0
  271. package/src/api-client-transcode/models/channel-config-base.ts +69 -0
  272. package/src/api-client-transcode/models/channel-config-blackout-entity.ts +36 -0
  273. package/src/api-client-transcode/models/channel-config-dto.ts +72 -0
  274. package/src/api-client-transcode/models/channel-config-interactive-entity.ts +30 -0
  275. package/src/api-client-transcode/models/channel-config-template-dto.ts +66 -0
  276. package/src/api-client-transcode/models/channel-detail-catchup-dto.ts +37 -0
  277. package/src/api-client-transcode/models/channel-detail-dto.ts +69 -0
  278. package/src/api-client-transcode/models/channel-detail-input.ts +43 -0
  279. package/src/api-client-transcode/models/channel-detail-package.ts +50 -0
  280. package/src/api-client-transcode/models/channel-detail-transcode.ts +37 -0
  281. package/src/api-client-transcode/models/channel-job-detail.ts +84 -0
  282. package/src/api-client-transcode/models/channel-stats.ts +36 -0
  283. package/src/api-client-transcode/models/channel-template-data-dto.ts +59 -0
  284. package/src/api-client-transcode/models/channel-template-dto-data.ts +28 -0
  285. package/src/api-client-transcode/models/channel-template-dto.ts +63 -0
  286. package/src/api-client-transcode/models/channel.ts +168 -0
  287. package/src/api-client-transcode/models/create-alert-log-dto.ts +138 -0
  288. package/src/api-client-transcode/models/create-channel-dto.ts +84 -0
  289. package/src/api-client-transcode/models/create-drm-credential-dto.ts +63 -0
  290. package/src/api-client-transcode/models/create-event-channel-dto-targets.ts +26 -0
  291. package/src/api-client-transcode/models/create-event-channel-dto.ts +76 -0
  292. package/src/api-client-transcode/models/create-fast-channel-dto.ts +42 -0
  293. package/src/api-client-transcode/models/create-fast-program-dto.ts +72 -0
  294. package/src/api-client-transcode/models/drm-credential-collection.ts +55 -0
  295. package/src/api-client-transcode/models/drm-credential-entity.ts +87 -0
  296. package/src/api-client-transcode/models/drm-data-dto.ts +54 -0
  297. package/src/api-client-transcode/models/drm-data-entity.ts +54 -0
  298. package/src/api-client-transcode/models/drm-dto.ts +103 -0
  299. package/src/api-client-transcode/models/event-channel-collection.ts +55 -0
  300. package/src/api-client-transcode/models/event-channel-config-dto.ts +78 -0
  301. package/src/api-client-transcode/models/event-channel-config-entity.ts +75 -0
  302. package/src/api-client-transcode/models/event-channel-input-dto.ts +45 -0
  303. package/src/api-client-transcode/models/event-channel-input-entity.ts +45 -0
  304. package/src/api-client-transcode/models/event-channel-transcoder-dto.ts +56 -0
  305. package/src/api-client-transcode/models/event-channel.ts +147 -0
  306. package/src/api-client-transcode/models/event-profile-dto.ts +62 -0
  307. package/src/api-client-transcode/models/event-target-data-dto.ts +95 -0
  308. package/src/api-client-transcode/models/event-target-dto.ts +49 -0
  309. package/src/api-client-transcode/models/fast-channel-collection.ts +55 -0
  310. package/src/api-client-transcode/models/fast-channel.ts +75 -0
  311. package/src/api-client-transcode/models/fast-program-collection.ts +55 -0
  312. package/src/api-client-transcode/models/fast-program.ts +84 -0
  313. package/src/api-client-transcode/models/fingerprint-dto.ts +42 -0
  314. package/src/api-client-transcode/models/index.ts +104 -0
  315. package/src/api-client-transcode/models/input-collection.ts +55 -0
  316. package/src/api-client-transcode/models/input-data-dto.ts +104 -0
  317. package/src/api-client-transcode/models/input-data-item-dto.ts +42 -0
  318. package/src/api-client-transcode/models/input-dto.ts +30 -0
  319. package/src/api-client-transcode/models/input-entity.ts +30 -0
  320. package/src/api-client-transcode/models/input-info-response.ts +31 -0
  321. package/src/api-client-transcode/models/input-info.ts +123 -0
  322. package/src/api-client-transcode/models/input-machine-config.ts +45 -0
  323. package/src/api-client-transcode/models/input-program.ts +66 -0
  324. package/src/api-client-transcode/models/interactive-dto.ts +30 -0
  325. package/src/api-client-transcode/models/interactive-publish-dto.ts +30 -0
  326. package/src/api-client-transcode/models/job-entity.ts +102 -0
  327. package/src/api-client-transcode/models/low-latency-dto.ts +68 -0
  328. package/src/api-client-transcode/models/machine-config-dto.ts +75 -0
  329. package/src/api-client-transcode/models/main-input-dto.ts +62 -0
  330. package/src/api-client-transcode/models/main-input-entity.ts +54 -0
  331. package/src/api-client-transcode/models/maintenance-dto.ts +30 -0
  332. package/src/api-client-transcode/models/manifest-dto.ts +62 -0
  333. package/src/api-client-transcode/models/package-input-collection.ts +55 -0
  334. package/src/api-client-transcode/models/package-input-data-dto.ts +99 -0
  335. package/src/api-client-transcode/models/package-input-list.ts +36 -0
  336. package/src/api-client-transcode/models/package-input.ts +115 -0
  337. package/src/api-client-transcode/models/post-input-dto.ts +48 -0
  338. package/src/api-client-transcode/models/post-input-entity.ts +48 -0
  339. package/src/api-client-transcode/models/pre-input-dto.ts +54 -0
  340. package/src/api-client-transcode/models/pre-input-entity.ts +54 -0
  341. package/src/api-client-transcode/models/preset-dto.ts +247 -0
  342. package/src/api-client-transcode/models/profile-default-response-dto.ts +30 -0
  343. package/src/api-client-transcode/models/profile-dto.ts +62 -0
  344. package/src/api-client-transcode/models/profile-entity.ts +60 -0
  345. package/src/api-client-transcode/models/scte35-dto.ts +36 -0
  346. package/src/api-client-transcode/models/start-over-dto.ts +30 -0
  347. package/src/api-client-transcode/models/switch-input-dto.ts +56 -0
  348. package/src/api-client-transcode/models/switch-input-entity.ts +44 -0
  349. package/src/api-client-transcode/models/target-data-dto.ts +101 -0
  350. package/src/api-client-transcode/models/target-dto.ts +44 -0
  351. package/src/api-client-transcode/models/target-entity.ts +55 -0
  352. package/src/api-client-transcode/models/target-profile-dto.ts +71 -0
  353. package/src/api-client-transcode/models/target-profile.ts +71 -0
  354. package/src/api-client-transcode/models/target-template-dto.ts +44 -0
  355. package/src/api-client-transcode/models/target-update-dto.ts +50 -0
  356. package/src/api-client-transcode/models/transcode-input.ts +144 -0
  357. package/src/api-client-transcode/models/transcoder.ts +36 -0
  358. package/src/api-client-transcode/models/trick-play-dto.ts +54 -0
  359. package/src/api-client-transcode/models/update-channel-dto-targets.ts +27 -0
  360. package/src/api-client-transcode/models/update-channel-dto.ts +84 -0
  361. package/src/api-client-transcode/models/update-drm-management-dto.ts +63 -0
  362. package/src/api-client-transcode/models/update-event-channel-dto.ts +76 -0
  363. package/src/api-client-transcode/models/update-fast-channel-dto.ts +42 -0
  364. package/src/api-client-transcode/models/update-fast-program-dto.ts +30 -0
  365. package/src/api-client-transcode/models/watermark-dto.ts +66 -0
  366. package/src/api-client-transcode/models/watermark-entity.ts +102 -0
  367. package/src/app/spa-loading-template.html +127 -0
  368. package/src/app.config.ts +2 -0
  369. package/src/assets/global.css.ts +3 -0
  370. package/src/assets/scss/element/dark.scss +13 -0
  371. package/src/assets/scss/element/index.scss +26 -0
  372. package/src/assets/scss/index.scss +181 -0
  373. package/src/components/AdvancedFilter/SSAdvancedFilterItem.vue +180 -0
  374. package/src/components/AdvancedFilter/SSAdvancedFilterItemCustom.vue +165 -0
  375. package/src/components/AdvancedFilter/SSAdvancedFilterItemDefined.vue +298 -0
  376. package/src/components/AdvancedFilter/SSAdvancedFilterItemSchedule.vue +293 -0
  377. package/src/components/AdvancedFilter/SSAdvancedFilterMain.vue +196 -0
  378. package/src/components/AdvancedFilter/types.ts +37 -0
  379. package/src/components/AdvancedFilterReport/SSAdvancedFilterReportItem.vue +110 -0
  380. package/src/components/AdvancedFilterReport/SSAdvancedFilterReportItemDefined.vue +159 -0
  381. package/src/components/AdvancedFilterReport/SSAdvancedFilterReportMain.vue +197 -0
  382. package/src/components/AdvancedFilterReport/types.ts +19 -0
  383. package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiItem.vue +102 -0
  384. package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiItemDefined.vue +119 -0
  385. package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiMain.vue +194 -0
  386. package/src/components/AdvancedFilterSsai/types.ts +19 -0
  387. package/src/components/Asset/AssetAddPlaylist.vue +169 -0
  388. package/src/components/Asset/AssetExtra.vue +46 -0
  389. package/src/components/Asset/AssetImportLinks.vue +281 -0
  390. package/src/components/Asset/AssetInfiniteSelect.vue +62 -0
  391. package/src/components/Asset/AssetItem.vue +194 -0
  392. package/src/components/Asset/AssetItemPreview.vue +117 -0
  393. package/src/components/Asset/AssetList.vue +869 -0
  394. package/src/components/Asset/AssetMeta.vue +97 -0
  395. package/src/components/Asset/AssetPicker.vue +204 -0
  396. package/src/components/Asset/AssetPlaylist.vue +414 -0
  397. package/src/components/Asset/AssetPlaylistInfiniteSelect.vue +136 -0
  398. package/src/components/Asset/AssetPlaylistModalAdd.vue +138 -0
  399. package/src/components/Asset/AssetPreview.vue +89 -0
  400. package/src/components/Asset/AssetShareModal.vue +131 -0
  401. package/src/components/Asset/AssetTable.vue +365 -0
  402. package/src/components/Asset/FormUploadAsset.vue +647 -0
  403. package/src/components/Asset/FormUploadAssetItem.vue +115 -0
  404. package/src/components/Asset/FormUploadAssetProgress.vue +161 -0
  405. package/src/components/Asset/Scrubber.vue +57 -0
  406. package/src/components/Asset/VideoPlayer.vue +226 -0
  407. package/src/components/Asset/VideoPreview.vue +102 -0
  408. package/src/components/Asset/VideoPreviewConfig.vue +329 -0
  409. package/src/components/Asset/VideoPreviewConfigMessage.vue +120 -0
  410. package/src/components/Asset/VideoPreviewConfigVod.vue +287 -0
  411. package/src/components/Asset/VideoPreviewNew.vue +66 -0
  412. package/src/components/Asset/VideoPreviewNewLoader.vue +144 -0
  413. package/src/components/Asset/VideoPreviewWrapper.vue +208 -0
  414. package/src/components/Asset/asset-context.ts +24 -0
  415. package/src/components/Asset/usePickerStore.ts +55 -0
  416. package/src/components/AuthLayout/AuthLayoutSimple.vue +150 -0
  417. package/src/components/AuthLayout/index.vue +151 -0
  418. package/src/components/AutoRefresh/AutoRefresh.vue +91 -0
  419. package/src/components/AutoRefresh/AutoRefreshOld.vue +87 -0
  420. package/src/components/AutoRefresh/useRefresh.ts +93 -0
  421. package/src/components/BackButton.vue +13 -0
  422. package/src/components/Card/CardInfo.vue +21 -0
  423. package/src/components/Channel/AIConfig.vue +101 -0
  424. package/src/components/Channel/AdvancedForm.vue +542 -0
  425. package/src/components/Channel/ChannelListGrid.vue +154 -0
  426. package/src/components/Channel/ConfigBlackout.vue +98 -0
  427. package/src/components/Channel/ConfigCensorship.vue +387 -0
  428. package/src/components/Channel/ConfigForensicWatermark.vue +152 -0
  429. package/src/components/Channel/ConfigForm.vue +102 -0
  430. package/src/components/Channel/ConfigInformation.vue +191 -0
  431. package/src/components/Channel/ConfigInteraction.vue +11 -0
  432. package/src/components/Channel/ConfigNameModifier.vue +15 -0
  433. package/src/components/Channel/ConfigOptionItem.vue +114 -0
  434. package/src/components/Channel/ConfigOptions.vue +181 -0
  435. package/src/components/Channel/ConfigPte.vue +368 -0
  436. package/src/components/Channel/ConfigScte.vue +442 -0
  437. package/src/components/Channel/ConfigTranscoder.vue +353 -0
  438. package/src/components/Channel/ConfigWaterMarkAudio.vue +52 -0
  439. package/src/components/Channel/ConfigWatermark.vue +76 -0
  440. package/src/components/Channel/ConfigWatermarkEventChannel.vue +86 -0
  441. package/src/components/Channel/ConfigWatermarkItem.vue +239 -0
  442. package/src/components/Channel/HeaderItem.vue +75 -0
  443. package/src/components/Channel/InputDetail.vue +68 -0
  444. package/src/components/Channel/InputForm.vue +175 -0
  445. package/src/components/Channel/InputList.vue +38 -0
  446. package/src/components/Channel/InputPackageDetail.vue +125 -0
  447. package/src/components/Channel/MediaProfileFormModal.vue +79 -0
  448. package/src/components/Channel/MediaProfileModify.vue +229 -0
  449. package/src/components/Channel/MessageButtonGetHelp.vue +30 -0
  450. package/src/components/Channel/MessageTooltipAi.vue +29 -0
  451. package/src/components/Channel/MultipleSelectProfile.vue +312 -0
  452. package/src/components/Channel/PackageInputItem.vue +13 -0
  453. package/src/components/Channel/PresetConfigItem.vue +1957 -0
  454. package/src/components/Channel/PresetConfigItemExtra.vue +59 -0
  455. package/src/components/Channel/PresetConfigItemPId.vue +145 -0
  456. package/src/components/Channel/ProfileConfigItem.vue +829 -0
  457. package/src/components/Channel/ProfileDetailsList.vue +160 -0
  458. package/src/components/Channel/ProfileForm.vue +134 -0
  459. package/src/components/Channel/ProfileList.vue +228 -0
  460. package/src/components/Channel/SelectServer.vue +134 -0
  461. package/src/components/Channel/SignalLoss.vue +92 -0
  462. package/src/components/Channel/SwitchInputButton.vue +38 -0
  463. package/src/components/Channel/TargetCatchup.vue +75 -0
  464. package/src/components/Channel/TargetDataInfo.vue +100 -0
  465. package/src/components/Channel/TargetDestination.vue +375 -0
  466. package/src/components/Channel/TargetDrm.vue +518 -0
  467. package/src/components/Channel/TargetForm.vue +136 -0
  468. package/src/components/Channel/TargetList.vue +159 -0
  469. package/src/components/Channel/TargetLowLatency.vue +107 -0
  470. package/src/components/Channel/TargetMabrOutput.vue +58 -0
  471. package/src/components/Channel/TargetMabrOutputItem.vue +91 -0
  472. package/src/components/Channel/TargetManifest.vue +94 -0
  473. package/src/components/Channel/TargetNetworkInterface.vue +95 -0
  474. package/src/components/Channel/TargetOutputMultiplex.vue +237 -0
  475. package/src/components/Channel/TargetOutputType.vue +201 -0
  476. package/src/components/Channel/TargetOutputUdp.vue +200 -0
  477. package/src/components/Channel/TargetPreset.vue +541 -0
  478. package/src/components/Channel/TargetProfileAudioGroup.vue +27 -0
  479. package/src/components/Channel/TargetProfileProgram.vue +43 -0
  480. package/src/components/Channel/TargetProfileURI.vue +68 -0
  481. package/src/components/Channel/TargetSrtOutput.vue +35 -0
  482. package/src/components/Channel/TargetSrtOutputItem.vue +83 -0
  483. package/src/components/Channel/TargetStartover.vue +40 -0
  484. package/src/components/Channel/WarningName.vue +39 -0
  485. package/src/components/Channel/WarningOutput.vue +40 -0
  486. package/src/components/CollapseTagsTooltip/CollapseTagsTooltip.vue +87 -0
  487. package/src/components/CollapseTagsTooltip/index.ts +1 -0
  488. package/src/components/CopyButton.vue +46 -0
  489. package/src/components/CopyText.vue +40 -0
  490. package/src/components/CopyTextButton.vue +40 -0
  491. package/src/components/DefaultLayout/DefaultLayout.vue +134 -0
  492. package/src/components/DefaultLayout/GlobalASide.vue +75 -0
  493. package/src/components/DefaultLayout/GlobalFooter.vue +15 -0
  494. package/src/components/DefaultLayout/GlobalHeader.vue +43 -0
  495. package/src/components/DefaultLayout/Logo.vue +35 -0
  496. package/src/components/DefaultLayout/Menu.vue +464 -0
  497. package/src/components/DefaultLayout/RightMenu.vue +93 -0
  498. package/src/components/DialogWarningAddLicense.vue +37 -0
  499. package/src/components/Epg/Epg.vue +24 -0
  500. package/src/components/Epg/components/Channel.vue +28 -0
  501. package/src/components/Epg/components/Channels.vue +33 -0
  502. package/src/components/Epg/components/Layout.vue +121 -0
  503. package/src/components/Epg/components/Line.vue +41 -0
  504. package/src/components/Epg/components/Loader.vue +23 -0
  505. package/src/components/Epg/components/Program.vue +101 -0
  506. package/src/components/Epg/components/SideBar.vue +18 -0
  507. package/src/components/Epg/components/Timeline.vue +72 -0
  508. package/src/components/Epg/helpers/common.ts +68 -0
  509. package/src/components/Epg/helpers/epg.ts +192 -0
  510. package/src/components/Epg/helpers/index.ts +5 -0
  511. package/src/components/Epg/helpers/interfaces.ts +54 -0
  512. package/src/components/Epg/helpers/time.ts +51 -0
  513. package/src/components/Epg/helpers/types.ts +26 -0
  514. package/src/components/Epg/helpers/variables.ts +33 -0
  515. package/src/components/Epg/hooks/index.ts +2 -0
  516. package/src/components/Epg/hooks/useEpg.ts +160 -0
  517. package/src/components/Epg/hooks/useLayout.ts +187 -0
  518. package/src/components/Epg/hooks/useProgram.ts +63 -0
  519. package/src/components/Epg/hooks/useTimeline.ts +35 -0
  520. package/src/components/Epg/index.ts +4 -0
  521. package/src/components/Epg/store.ts +85 -0
  522. package/src/components/Epg/theme.ts +44 -0
  523. package/src/components/Exception/403.png +0 -0
  524. package/src/components/Exception/403.vue +58 -0
  525. package/src/components/Exception/404.png +0 -0
  526. package/src/components/Exception/404.vue +59 -0
  527. package/src/components/Exception/500.png +0 -0
  528. package/src/components/Exception/500.vue +39 -0
  529. package/src/components/Exception/index.scss +30 -0
  530. package/src/components/Field.vue +193 -0
  531. package/src/components/FilterQuerySchema/FilterQuerySchemaForm.vue +200 -0
  532. package/src/components/FilterQuerySchema/QueryTag.vue +109 -0
  533. package/src/components/FilterQuerySchema/Tag.vue +68 -0
  534. package/src/components/FilterTimeDimensions.vue +265 -0
  535. package/src/components/FilterTimeDimensionsSingle.vue +214 -0
  536. package/src/components/HelpPanel.vue +87 -0
  537. package/src/components/HexagonPro.vue +7 -0
  538. package/src/components/IconCopyButton.vue +43 -0
  539. package/src/components/InformationLabel.vue +67 -0
  540. package/src/components/Input/InputTags.vue +136 -0
  541. package/src/components/Input/index.ts +1 -0
  542. package/src/components/MainDefaultLayout/index.vue +120 -0
  543. package/src/components/NoticeAddLicense.vue +20 -0
  544. package/src/components/NoticeRunningOutResources.vue +20 -0
  545. package/src/components/Pagination.vue +61 -0
  546. package/src/components/QueryBuilder/QueryBuilder.vue +141 -0
  547. package/src/components/QueryBuilder/components/inputs/DateInputField.vue +105 -0
  548. package/src/components/QueryBuilder/components/inputs/FieldSelect.vue +44 -0
  549. package/src/components/QueryBuilder/components/inputs/InputMultiSelect.vue +60 -0
  550. package/src/components/QueryBuilder/components/inputs/InputSelect.vue +39 -0
  551. package/src/components/QueryBuilder/components/inputs/NumberInputField.vue +91 -0
  552. package/src/components/QueryBuilder/components/inputs/OperatorSelect.vue +59 -0
  553. package/src/components/QueryBuilder/components/inputs/TextInput.vue +40 -0
  554. package/src/components/QueryBuilder/components/inputs/TimeInputField.vue +114 -0
  555. package/src/components/QueryBuilder/components/inputs/logics.ts +27 -0
  556. package/src/components/QueryBuilder/components/item/InputMultiOptions.vue +56 -0
  557. package/src/components/QueryBuilder/components/item/QueryGroup.vue +71 -0
  558. package/src/components/QueryBuilder/components/item/QueryGroupActions.vue +76 -0
  559. package/src/components/QueryBuilder/components/item/QueryRule.vue +233 -0
  560. package/src/components/QueryBuilder/useConfigStore.ts +27 -0
  561. package/src/components/QueryBuilder/utils/config.ts +194 -0
  562. package/src/components/QueryBuilder/utils/index.ts +3 -0
  563. package/src/components/QueryBuilder/utils/mongodb.ts +175 -0
  564. package/src/components/QueryBuilder/utils/rules.ts +213 -0
  565. package/src/components/RecommendedConfigurationPTE.vue +238 -0
  566. package/src/components/Server/MachineConfig.vue +333 -0
  567. package/src/components/Server/ServerConfig.vue +599 -0
  568. package/src/components/Server/useQueryMachine.ts +380 -0
  569. package/src/components/Server/validator.ts +13 -0
  570. package/src/components/SwitchDark.vue +19 -0
  571. package/src/components/SwitchLang.vue +31 -0
  572. package/src/components/TableEmpty.vue +50 -0
  573. package/src/components/Toast/ToastNoti.vue +52 -0
  574. package/src/components/Tool/ForensicWatermarkingDialog.vue +39 -0
  575. package/src/components/Tool/FormRecord.vue +162 -0
  576. package/src/components/Tool/FormUpload.vue +118 -0
  577. package/src/components/Tool/ResultChecking.vue +103 -0
  578. package/src/components/Tool/Watermarking.vue +159 -0
  579. package/src/components/Tool/record.js +92 -0
  580. package/src/components/Tooltip/Ellipsis.vue +52 -0
  581. package/src/components/Tooltip/index.vue +47 -0
  582. package/src/components/app/AppList.vue +50 -0
  583. package/src/components/button/Button.vue +27 -0
  584. package/src/components/button/index.ts +37 -0
  585. package/src/components/context-menu/ContextMenu.vue +15 -0
  586. package/src/components/context-menu/ContextMenuCheckboxItem.vue +39 -0
  587. package/src/components/context-menu/ContextMenuContent.vue +35 -0
  588. package/src/components/context-menu/ContextMenuGroup.vue +11 -0
  589. package/src/components/context-menu/ContextMenuItem.vue +33 -0
  590. package/src/components/context-menu/ContextMenuLabel.vue +24 -0
  591. package/src/components/context-menu/ContextMenuPortal.vue +11 -0
  592. package/src/components/context-menu/ContextMenuRadioGroup.vue +19 -0
  593. package/src/components/context-menu/ContextMenuRadioItem.vue +39 -0
  594. package/src/components/context-menu/ContextMenuSeparator.vue +19 -0
  595. package/src/components/context-menu/ContextMenuShortcut.vue +13 -0
  596. package/src/components/context-menu/ContextMenuSub.vue +19 -0
  597. package/src/components/context-menu/ContextMenuSubContent.vue +34 -0
  598. package/src/components/context-menu/ContextMenuSubTrigger.vue +33 -0
  599. package/src/components/context-menu/ContextMenuTrigger.vue +13 -0
  600. package/src/components/context-menu/index.ts +14 -0
  601. package/src/components/dashboard/SSDashboardChartRoot.vue +18 -0
  602. package/src/components/dashboard/SSDashboardDocument.vue +45 -0
  603. package/src/components/dashboard/SSDashboardEmpty.vue +16 -0
  604. package/src/components/dashboard/SSDashboardGuideline.vue +45 -0
  605. package/src/components/dashboard/SSDashboardInfo.vue +36 -0
  606. package/src/components/dashboard/SSDashboardInfoRoot.vue +9 -0
  607. package/src/components/dashboard/SSDashboardInfoTime.vue +38 -0
  608. package/src/components/markdown/Markdown.vue +295 -0
  609. package/src/components/tabs/Tabs.vue +15 -0
  610. package/src/components/tabs/TabsContent.vue +22 -0
  611. package/src/components/tabs/TabsList.vue +22 -0
  612. package/src/components/tabs/TabsTrigger.vue +26 -0
  613. package/src/composables/asset.ts +13 -0
  614. package/src/composables/channel.ts +333 -0
  615. package/src/composables/country.ts +788 -0
  616. package/src/composables/error.ts +24 -0
  617. package/src/composables/form.ts +351 -0
  618. package/src/composables/getBuildTime.ts +7 -0
  619. package/src/composables/micro.ts +113 -0
  620. package/src/composables/microState.ts +22 -0
  621. package/src/composables/notiGlobal.ts +19 -0
  622. package/src/composables/plan.ts +162 -0
  623. package/src/composables/refReset.ts +12 -0
  624. package/src/composables/resetInfiniteQueryPagination.ts +18 -0
  625. package/src/composables/route.ts +19 -0
  626. package/src/composables/toast.ts +21 -0
  627. package/src/composables/useApp.ts +6 -0
  628. package/src/composables/useAsyncSchema.ts +58 -0
  629. package/src/composables/useChannelActions.ts +151 -0
  630. package/src/composables/useComplexSearchParam.ts +293 -0
  631. package/src/composables/useFilterSchema.ts +106 -0
  632. package/src/composables/useGetInputDetail.ts +36 -0
  633. package/src/composables/useGetServerAddLicense.ts +21 -0
  634. package/src/composables/useJobPreview.ts +438 -0
  635. package/src/composables/useLayoutStore.ts +106 -0
  636. package/src/composables/usePermission.ts +5 -0
  637. package/src/composables/usePickerStore.ts +53 -0
  638. package/src/composables/useQueryAssets.ts +56 -0
  639. package/src/composables/useQueryParams.ts +20 -0
  640. package/src/composables/useRouteParams.ts +36 -0
  641. package/src/composables/useRouteQueries.ts +54 -0
  642. package/src/composables/useRouterHistory.ts +76 -0
  643. package/src/composables/useSearchQuery.ts +27 -0
  644. package/src/composables/useTooltipEllipsis.ts +12 -0
  645. package/src/constants/env.ts +11 -0
  646. package/src/constants/filterable.ts +32 -0
  647. package/src/constants/languageCode.ts +185 -0
  648. package/src/constants/micro.ts +1 -0
  649. package/src/constants/queryKeys.ts +11 -0
  650. package/src/constants/regex.ts +8 -0
  651. package/src/constants/storage.ts +41 -0
  652. package/src/enums/index.ts +24 -0
  653. package/src/layouts/empty.vue +7 -0
  654. package/src/modules/api-party/kit.ts +30 -0
  655. package/src/modules/api-party/module.ts +259 -0
  656. package/src/modules/api-party/openapi.ts +74 -0
  657. package/src/modules/api-party/runtime/composables/$api.ts +157 -0
  658. package/src/modules/api-party/runtime/composables/useApiData.ts +229 -0
  659. package/src/modules/api-party/runtime/constants.ts +1 -0
  660. package/src/modules/api-party/runtime/formData.ts +85 -0
  661. package/src/modules/api-party/runtime/server/$api.ts +29 -0
  662. package/src/modules/api-party/runtime/server/handler.ts +92 -0
  663. package/src/modules/api-party/runtime/types.ts +97 -0
  664. package/src/modules/api-party/runtime/utils.ts +43 -0
  665. package/src/pages/403.vue +11 -0
  666. package/src/pages/500.vue +11 -0
  667. package/src/pages/[...all].vue +11 -0
  668. package/src/pages/login.vue +67 -0
  669. package/src/plugins/auth.ts +10 -0
  670. package/src/plugins/build-time.ts +5 -0
  671. package/src/plugins/dayjs.ts +14 -0
  672. package/src/plugins/i18n.ts +6 -0
  673. package/src/plugins/router.ts +6 -0
  674. package/src/plugins/vue-json-pretty.ts +5 -0
  675. package/src/plugins/vue-query.ts +41 -0
  676. package/src/plugins/wujie.ts +19 -0
  677. package/src/public/apple-touch-icon.png +0 -0
  678. package/src/public/audio-recorder.js +31 -0
  679. package/src/public/build-time.json +1 -0
  680. package/src/public/favicon.ico +0 -0
  681. package/src/public/icon-block-free-app.png +0 -0
  682. package/src/public/maskable-icon.png +0 -0
  683. package/src/public/nuxt.svg +3 -0
  684. package/src/public/preview/step-1.png +0 -0
  685. package/src/public/preview/step-2.png +0 -0
  686. package/src/public/preview/step-3.png +0 -0
  687. package/src/public/pwa-192x192.png +0 -0
  688. package/src/public/pwa-512x512.png +0 -0
  689. package/src/public/robots.txt +2 -0
  690. package/src/public/vite.png +0 -0
  691. package/src/pwa/config.ts +61 -0
  692. package/src/pwa/index.ts +194 -0
  693. package/src/pwa/runtime/VitePwaManifest.ts +33 -0
  694. package/src/pwa/types.ts +56 -0
  695. package/src/pwa/utils.ts +16 -0
  696. package/src/schemas/authServiceApi.json +6709 -0
  697. package/src/schemas/billingApi.json +1083 -0
  698. package/src/schemas/chatApi.json +497 -0
  699. package/src/schemas/libraryApi.json +2009 -0
  700. package/src/schemas/licenseApi.json +772 -0
  701. package/src/schemas/livestreamApi.json +3354 -0
  702. package/src/schemas/lrmApi.json +2848 -0
  703. package/src/schemas/machineApi.json +4604 -0
  704. package/src/schemas/metricApi.json +141 -0
  705. package/src/schemas/notificationApi.json +1 -0
  706. package/src/schemas/playoutApi.json +8315 -0
  707. package/src/schemas/ssaiApi.json +1108 -0
  708. package/src/schemas/transcodeApi.json +9670 -0
  709. package/src/schemas/vastControlApi.json +961 -0
  710. package/src/schemas/vodApi.json +3974 -0
  711. package/src/server/plugins/loading.css +111 -0
  712. package/src/server/plugins/loading.html +12 -0
  713. package/src/server/plugins/loading.ts +134 -0
  714. package/src/templates/pwa.client.ts +136 -0
  715. package/src/utils/$apiOptions.ts +79 -0
  716. package/src/utils/app.ts +23 -0
  717. package/src/utils/cn.ts +3 -0
  718. package/src/utils/format.ts +88 -0
  719. package/src/utils/gen-routes.ts +100 -0
  720. package/src/utils/helper.ts +56 -0
  721. package/src/utils/micro.ts +207 -0
  722. package/src/utils/popoverSelectAttrs.ts +24 -0
  723. package/src/utils/popup.ts +96 -0
  724. package/src/utils/pwa.ts +86 -0
  725. package/src/utils/query-filter.ts +111 -0
  726. package/src/utils/table.ts +35 -0
  727. package/src/utils/tryCatch.ts +25 -0
  728. package/src/utils/utils.ts +58 -0
  729. package/src/utils/validator.ts +185 -0
  730. package/src/utils/videojs.ts +490 -0
  731. package/src/utils/wujie.ts +1 -0
  732. package/tsconfig.json +3 -0
  733. package/uno.config.ts +375 -0
@@ -0,0 +1,3974 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "paths": {
4
+ "/api/vod/vod-to-live": {
5
+ "post": {
6
+ "operationId": "VodToLiveController_create",
7
+ "summary": "Create VodToLive",
8
+ "description": "Create VodToLive",
9
+ "parameters": [],
10
+ "requestBody": {
11
+ "required": true,
12
+ "content": {
13
+ "application/json": {
14
+ "schema": {
15
+ "$ref": "#/components/schemas/CreateVodToLiveDto"
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "responses": {
21
+ "201": {
22
+ "description": "",
23
+ "content": {
24
+ "application/json": {
25
+ "schema": {
26
+ "$ref": "#/components/schemas/VodToLive"
27
+ }
28
+ }
29
+ }
30
+ }
31
+ },
32
+ "tags": [
33
+ "vod-to-live"
34
+ ],
35
+ "security": [
36
+ {
37
+ "basic": []
38
+ }
39
+ ]
40
+ }
41
+ },
42
+ "/api/vod/inputs/examples": {
43
+ "get": {
44
+ "operationId": "InputController_findAll",
45
+ "summary": "Get Input Example",
46
+ "description": "Get Input Example",
47
+ "parameters": [],
48
+ "responses": {
49
+ "200": {
50
+ "description": "",
51
+ "content": {
52
+ "application/json": {
53
+ "schema": {
54
+ "type": "array",
55
+ "items": {
56
+ "$ref": "#/components/schemas/FileInfoEntity"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "tags": [
64
+ "Input"
65
+ ],
66
+ "security": [
67
+ {
68
+ "basic": []
69
+ }
70
+ ]
71
+ }
72
+ },
73
+ "/api/vod/inputs/local-machine": {
74
+ "get": {
75
+ "operationId": "InputController_findFilesFrom",
76
+ "summary": "Get List File Info",
77
+ "description": "Get List File Info",
78
+ "parameters": [
79
+ {
80
+ "name": "prefix",
81
+ "required": true,
82
+ "in": "query",
83
+ "schema": {
84
+ "type": "string"
85
+ }
86
+ },
87
+ {
88
+ "name": "name",
89
+ "required": false,
90
+ "in": "query",
91
+ "schema": {
92
+ "type": "string"
93
+ }
94
+ },
95
+ {
96
+ "name": "machineId",
97
+ "required": true,
98
+ "in": "query",
99
+ "schema": {
100
+ "type": "string"
101
+ }
102
+ }
103
+ ],
104
+ "responses": {
105
+ "200": {
106
+ "description": "",
107
+ "content": {
108
+ "application/json": {
109
+ "schema": {
110
+ "type": "array",
111
+ "items": {
112
+ "$ref": "#/components/schemas/FileLocalInfo"
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ },
119
+ "tags": [
120
+ "Input"
121
+ ],
122
+ "security": [
123
+ {
124
+ "basic": []
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ "/api/vod/inputs/input-info": {
130
+ "post": {
131
+ "operationId": "InputController_checkInfo",
132
+ "summary": "Get Input Info",
133
+ "description": "Get Input Info",
134
+ "parameters": [],
135
+ "requestBody": {
136
+ "required": true,
137
+ "content": {
138
+ "application/json": {
139
+ "schema": {
140
+ "$ref": "#/components/schemas/GetInfoDto"
141
+ }
142
+ }
143
+ }
144
+ },
145
+ "responses": {
146
+ "201": {
147
+ "description": "",
148
+ "content": {
149
+ "application/json": {
150
+ "schema": {
151
+ "$ref": "#/components/schemas/InputInfo"
152
+ }
153
+ }
154
+ }
155
+ },
156
+ "default": {
157
+ "description": "",
158
+ "content": {
159
+ "application/json": {
160
+ "schema": {
161
+ "$ref": "#/components/schemas/InputInfo"
162
+ }
163
+ }
164
+ }
165
+ }
166
+ },
167
+ "tags": [
168
+ "Input"
169
+ ],
170
+ "security": [
171
+ {
172
+ "basic": []
173
+ }
174
+ ]
175
+ }
176
+ },
177
+ "/api/vod/drm-credentials": {
178
+ "post": {
179
+ "operationId": "DrmCredentialController_create",
180
+ "parameters": [],
181
+ "requestBody": {
182
+ "required": true,
183
+ "content": {
184
+ "application/json": {
185
+ "schema": {
186
+ "$ref": "#/components/schemas/CreateDrmCredentialDto"
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "responses": {
192
+ "201": {
193
+ "description": "",
194
+ "content": {
195
+ "application/json": {
196
+ "schema": {
197
+ "type": "object"
198
+ }
199
+ }
200
+ }
201
+ }
202
+ },
203
+ "tags": [
204
+ "Drm Credentials"
205
+ ]
206
+ },
207
+ "get": {
208
+ "operationId": "DrmCredentialController_findAll",
209
+ "parameters": [
210
+ {
211
+ "name": "sort",
212
+ "required": false,
213
+ "in": "query",
214
+ "example": "created_at|desc;filename|asc",
215
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
216
+ "schema": {
217
+ "type": "string"
218
+ }
219
+ },
220
+ {
221
+ "name": "page",
222
+ "required": false,
223
+ "in": "query",
224
+ "example": "1",
225
+ "description": "pagination number",
226
+ "schema": {
227
+ "type": "number"
228
+ }
229
+ },
230
+ {
231
+ "name": "perPage",
232
+ "required": false,
233
+ "in": "query",
234
+ "example": "10",
235
+ "description": "",
236
+ "schema": {
237
+ "type": "number"
238
+ }
239
+ },
240
+ {
241
+ "name": "limit",
242
+ "required": false,
243
+ "in": "query",
244
+ "example": "10",
245
+ "description": "",
246
+ "schema": {
247
+ "type": "number"
248
+ }
249
+ },
250
+ {
251
+ "name": "offset",
252
+ "required": false,
253
+ "in": "query",
254
+ "example": "0",
255
+ "description": "",
256
+ "schema": {
257
+ "type": "number"
258
+ }
259
+ },
260
+ {
261
+ "name": "fields",
262
+ "required": false,
263
+ "in": "query",
264
+ "example": "id,name,url",
265
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
266
+ "schema": {
267
+ "type": "string"
268
+ }
269
+ },
270
+ {
271
+ "name": "populates",
272
+ "required": false,
273
+ "in": "query",
274
+ "example": "author,book",
275
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
276
+ "schema": {
277
+ "type": "string"
278
+ }
279
+ }
280
+ ],
281
+ "responses": {
282
+ "200": {
283
+ "description": "",
284
+ "content": {
285
+ "application/json": {
286
+ "schema": {
287
+ "$ref": "#/components/schemas/DrmCredentialCollection"
288
+ }
289
+ }
290
+ }
291
+ }
292
+ },
293
+ "tags": [
294
+ "Drm Credentials"
295
+ ]
296
+ }
297
+ },
298
+ "/api/vod/drm-credentials/{id}": {
299
+ "get": {
300
+ "operationId": "DrmCredentialController_findOne",
301
+ "parameters": [
302
+ {
303
+ "name": "id",
304
+ "required": true,
305
+ "in": "path",
306
+ "schema": {
307
+ "type": "string"
308
+ }
309
+ }
310
+ ],
311
+ "responses": {
312
+ "200": {
313
+ "description": "",
314
+ "content": {
315
+ "application/json": {
316
+ "schema": {
317
+ "$ref": "#/components/schemas/DrmCredentialEntity"
318
+ }
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "tags": [
324
+ "Drm Credentials"
325
+ ]
326
+ },
327
+ "patch": {
328
+ "operationId": "DrmCredentialController_update",
329
+ "parameters": [
330
+ {
331
+ "name": "id",
332
+ "required": true,
333
+ "in": "path",
334
+ "schema": {
335
+ "type": "string"
336
+ }
337
+ }
338
+ ],
339
+ "requestBody": {
340
+ "required": true,
341
+ "content": {
342
+ "application/json": {
343
+ "schema": {
344
+ "$ref": "#/components/schemas/UpdateDrmManagementDto"
345
+ }
346
+ }
347
+ }
348
+ },
349
+ "responses": {
350
+ "200": {
351
+ "description": "",
352
+ "content": {
353
+ "application/json": {
354
+ "schema": {
355
+ "$ref": "#/components/schemas/DrmCredentialEntity"
356
+ }
357
+ }
358
+ }
359
+ }
360
+ },
361
+ "tags": [
362
+ "Drm Credentials"
363
+ ]
364
+ },
365
+ "delete": {
366
+ "operationId": "DrmCredentialController_remove",
367
+ "parameters": [
368
+ {
369
+ "name": "id",
370
+ "required": true,
371
+ "in": "path",
372
+ "schema": {
373
+ "type": "string"
374
+ }
375
+ }
376
+ ],
377
+ "responses": {
378
+ "200": {
379
+ "description": "",
380
+ "content": {
381
+ "application/json": {
382
+ "schema": {
383
+ "$ref": "#/components/schemas/DrmCredentialEntity"
384
+ }
385
+ }
386
+ }
387
+ }
388
+ },
389
+ "tags": [
390
+ "Drm Credentials"
391
+ ]
392
+ }
393
+ },
394
+ "/api/vod/jobs": {
395
+ "post": {
396
+ "operationId": "JobController_create",
397
+ "summary": "Create Job",
398
+ "description": "Create job",
399
+ "parameters": [],
400
+ "requestBody": {
401
+ "required": true,
402
+ "content": {
403
+ "application/json": {
404
+ "schema": {
405
+ "$ref": "#/components/schemas/CreateJobDto"
406
+ }
407
+ }
408
+ }
409
+ },
410
+ "responses": {
411
+ "201": {
412
+ "description": "",
413
+ "content": {
414
+ "application/json": {
415
+ "schema": {
416
+ "$ref": "#/components/schemas/Job"
417
+ }
418
+ }
419
+ }
420
+ }
421
+ },
422
+ "tags": [
423
+ "Job"
424
+ ],
425
+ "security": [
426
+ {
427
+ "basic": []
428
+ }
429
+ ]
430
+ },
431
+ "get": {
432
+ "operationId": "JobController_get",
433
+ "summary": "Get list job",
434
+ "description": "Get list job",
435
+ "parameters": [
436
+ {
437
+ "name": "sort",
438
+ "required": false,
439
+ "in": "query",
440
+ "example": "created_at|desc;filename|asc",
441
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
442
+ "schema": {
443
+ "type": "string"
444
+ }
445
+ },
446
+ {
447
+ "name": "page",
448
+ "required": false,
449
+ "in": "query",
450
+ "example": "1",
451
+ "description": "pagination number",
452
+ "schema": {
453
+ "type": "number"
454
+ }
455
+ },
456
+ {
457
+ "name": "perPage",
458
+ "required": false,
459
+ "in": "query",
460
+ "example": "10",
461
+ "description": "",
462
+ "schema": {
463
+ "type": "number"
464
+ }
465
+ },
466
+ {
467
+ "name": "limit",
468
+ "required": false,
469
+ "in": "query",
470
+ "example": "10",
471
+ "description": "",
472
+ "schema": {
473
+ "type": "number"
474
+ }
475
+ },
476
+ {
477
+ "name": "offset",
478
+ "required": false,
479
+ "in": "query",
480
+ "example": "0",
481
+ "description": "",
482
+ "schema": {
483
+ "type": "number"
484
+ }
485
+ },
486
+ {
487
+ "name": "fields",
488
+ "required": false,
489
+ "in": "query",
490
+ "example": "id,name,url",
491
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
492
+ "schema": {
493
+ "type": "string"
494
+ }
495
+ },
496
+ {
497
+ "name": "populates",
498
+ "required": false,
499
+ "in": "query",
500
+ "example": "author,book",
501
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
502
+ "schema": {
503
+ "type": "string"
504
+ }
505
+ }
506
+ ],
507
+ "responses": {
508
+ "200": {
509
+ "description": "",
510
+ "content": {
511
+ "application/json": {
512
+ "schema": {
513
+ "$ref": "#/components/schemas/JobInfoCollection"
514
+ }
515
+ }
516
+ }
517
+ }
518
+ },
519
+ "tags": [
520
+ "Job"
521
+ ],
522
+ "security": [
523
+ {
524
+ "basic": []
525
+ }
526
+ ]
527
+ }
528
+ },
529
+ "/api/vod/jobs/{id}": {
530
+ "delete": {
531
+ "operationId": "JobController_delete",
532
+ "summary": "Delete job by id",
533
+ "description": "Delete job by id",
534
+ "parameters": [
535
+ {
536
+ "name": "id",
537
+ "required": true,
538
+ "in": "path",
539
+ "schema": {
540
+ "type": "string"
541
+ }
542
+ }
543
+ ],
544
+ "responses": {
545
+ "200": {
546
+ "description": "",
547
+ "content": {
548
+ "application/json": {
549
+ "schema": {
550
+ "$ref": "#/components/schemas/Job"
551
+ }
552
+ }
553
+ }
554
+ }
555
+ },
556
+ "tags": [
557
+ "Job"
558
+ ],
559
+ "security": [
560
+ {
561
+ "basic": []
562
+ }
563
+ ]
564
+ },
565
+ "get": {
566
+ "operationId": "JobController_findOne",
567
+ "summary": "Get Job By Id",
568
+ "description": "Get Job By Id",
569
+ "parameters": [
570
+ {
571
+ "name": "id",
572
+ "required": true,
573
+ "in": "path",
574
+ "schema": {
575
+ "type": "string"
576
+ }
577
+ }
578
+ ],
579
+ "responses": {
580
+ "200": {
581
+ "description": "",
582
+ "content": {
583
+ "application/json": {
584
+ "schema": {
585
+ "$ref": "#/components/schemas/Job"
586
+ }
587
+ }
588
+ }
589
+ }
590
+ },
591
+ "tags": [
592
+ "Job"
593
+ ],
594
+ "security": [
595
+ {
596
+ "basic": []
597
+ }
598
+ ]
599
+ }
600
+ },
601
+ "/api/vod/jobs/{id}/retry": {
602
+ "patch": {
603
+ "operationId": "JobController_retry",
604
+ "summary": "Retry Job By Id",
605
+ "description": "Retry Job By Id",
606
+ "parameters": [
607
+ {
608
+ "name": "id",
609
+ "required": true,
610
+ "in": "path",
611
+ "schema": {
612
+ "type": "string"
613
+ }
614
+ }
615
+ ],
616
+ "responses": {
617
+ "200": {
618
+ "description": "",
619
+ "content": {
620
+ "application/json": {
621
+ "schema": {
622
+ "$ref": "#/components/schemas/Job"
623
+ }
624
+ }
625
+ }
626
+ }
627
+ },
628
+ "tags": [
629
+ "Job"
630
+ ],
631
+ "security": [
632
+ {
633
+ "basic": []
634
+ }
635
+ ]
636
+ }
637
+ },
638
+ "/api/vod/jobs/create-job-by-watch-file": {
639
+ "post": {
640
+ "operationId": "JobController_internalCreateJob",
641
+ "parameters": [],
642
+ "requestBody": {
643
+ "required": true,
644
+ "content": {
645
+ "application/json": {
646
+ "schema": {
647
+ "$ref": "#/components/schemas/CreateJobByWatchFileDto"
648
+ }
649
+ }
650
+ }
651
+ },
652
+ "responses": {
653
+ "201": {
654
+ "description": "",
655
+ "content": {
656
+ "application/json": {
657
+ "schema": {
658
+ "$ref": "#/components/schemas/Job"
659
+ }
660
+ }
661
+ }
662
+ }
663
+ },
664
+ "tags": [
665
+ "Job"
666
+ ],
667
+ "security": [
668
+ {
669
+ "basic": []
670
+ }
671
+ ]
672
+ }
673
+ },
674
+ "/api/vod/jobs/create-job-by-batch-job": {
675
+ "post": {
676
+ "operationId": "JobController_createJobByBatchJob",
677
+ "summary": "Delete BatchJob by id",
678
+ "description": "Delete BatchJob by id",
679
+ "parameters": [],
680
+ "requestBody": {
681
+ "required": true,
682
+ "content": {
683
+ "application/json": {
684
+ "schema": {
685
+ "$ref": "#/components/schemas/CreateJobByBatchJobDto"
686
+ }
687
+ }
688
+ }
689
+ },
690
+ "responses": {
691
+ "201": {
692
+ "description": "",
693
+ "content": {
694
+ "application/json": {
695
+ "schema": {
696
+ "$ref": "#/components/schemas/BatchJob"
697
+ }
698
+ }
699
+ }
700
+ }
701
+ },
702
+ "tags": [
703
+ "Job"
704
+ ],
705
+ "security": [
706
+ {
707
+ "basic": []
708
+ }
709
+ ]
710
+ }
711
+ },
712
+ "/api/vod/watch-folder": {
713
+ "post": {
714
+ "operationId": "WatchFolderController_create",
715
+ "summary": "Create Watch Folder",
716
+ "description": "Create watch folder",
717
+ "parameters": [],
718
+ "requestBody": {
719
+ "required": true,
720
+ "content": {
721
+ "application/json": {
722
+ "schema": {
723
+ "$ref": "#/components/schemas/CreateWatchFile"
724
+ }
725
+ }
726
+ }
727
+ },
728
+ "responses": {
729
+ "201": {
730
+ "description": "",
731
+ "content": {
732
+ "application/json": {
733
+ "schema": {
734
+ "$ref": "#/components/schemas/WatchFile"
735
+ }
736
+ }
737
+ }
738
+ }
739
+ },
740
+ "tags": [
741
+ "Watch-folder-machine"
742
+ ],
743
+ "security": [
744
+ {
745
+ "basic": []
746
+ }
747
+ ]
748
+ },
749
+ "get": {
750
+ "operationId": "WatchFolderController_get",
751
+ "summary": "Get list watch file",
752
+ "description": "Get list watch file",
753
+ "parameters": [
754
+ {
755
+ "name": "sort",
756
+ "required": false,
757
+ "in": "query",
758
+ "example": "created_at|desc;filename|asc",
759
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
760
+ "schema": {
761
+ "type": "string"
762
+ }
763
+ },
764
+ {
765
+ "name": "page",
766
+ "required": false,
767
+ "in": "query",
768
+ "example": "1",
769
+ "description": "pagination number",
770
+ "schema": {
771
+ "type": "number"
772
+ }
773
+ },
774
+ {
775
+ "name": "perPage",
776
+ "required": false,
777
+ "in": "query",
778
+ "example": "10",
779
+ "description": "",
780
+ "schema": {
781
+ "type": "number"
782
+ }
783
+ },
784
+ {
785
+ "name": "limit",
786
+ "required": false,
787
+ "in": "query",
788
+ "example": "10",
789
+ "description": "",
790
+ "schema": {
791
+ "type": "number"
792
+ }
793
+ },
794
+ {
795
+ "name": "offset",
796
+ "required": false,
797
+ "in": "query",
798
+ "example": "0",
799
+ "description": "",
800
+ "schema": {
801
+ "type": "number"
802
+ }
803
+ },
804
+ {
805
+ "name": "fields",
806
+ "required": false,
807
+ "in": "query",
808
+ "example": "id,name,url",
809
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
810
+ "schema": {
811
+ "type": "string"
812
+ }
813
+ },
814
+ {
815
+ "name": "populates",
816
+ "required": false,
817
+ "in": "query",
818
+ "example": "author,book",
819
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
820
+ "schema": {
821
+ "type": "string"
822
+ }
823
+ }
824
+ ],
825
+ "responses": {
826
+ "200": {
827
+ "description": "",
828
+ "content": {
829
+ "application/json": {
830
+ "schema": {
831
+ "$ref": "#/components/schemas/WatchFileCollection"
832
+ }
833
+ }
834
+ }
835
+ }
836
+ },
837
+ "tags": [
838
+ "Watch-folder-machine"
839
+ ],
840
+ "security": [
841
+ {
842
+ "basic": []
843
+ }
844
+ ]
845
+ }
846
+ },
847
+ "/api/vod/watch-folder/{id}": {
848
+ "patch": {
849
+ "operationId": "WatchFolderController_update",
850
+ "summary": "Update Watch Folderl By Id",
851
+ "description": "Update Watch Folder By Id",
852
+ "parameters": [
853
+ {
854
+ "name": "id",
855
+ "required": true,
856
+ "in": "path",
857
+ "schema": {
858
+ "type": "string"
859
+ }
860
+ }
861
+ ],
862
+ "requestBody": {
863
+ "required": true,
864
+ "content": {
865
+ "application/json": {
866
+ "schema": {
867
+ "$ref": "#/components/schemas/UpdateWatchFileDto"
868
+ }
869
+ }
870
+ }
871
+ },
872
+ "responses": {
873
+ "200": {
874
+ "description": "",
875
+ "content": {
876
+ "application/json": {
877
+ "schema": {
878
+ "$ref": "#/components/schemas/WatchFile"
879
+ }
880
+ }
881
+ }
882
+ }
883
+ },
884
+ "tags": [
885
+ "Watch-folder-machine"
886
+ ],
887
+ "security": [
888
+ {
889
+ "basic": []
890
+ }
891
+ ]
892
+ },
893
+ "delete": {
894
+ "operationId": "WatchFolderController_delete",
895
+ "summary": "Delete watchfile by id",
896
+ "description": "Delete watchfile by id",
897
+ "parameters": [
898
+ {
899
+ "name": "id",
900
+ "required": true,
901
+ "in": "path",
902
+ "schema": {
903
+ "type": "string"
904
+ }
905
+ }
906
+ ],
907
+ "responses": {
908
+ "200": {
909
+ "description": "",
910
+ "content": {
911
+ "application/json": {
912
+ "schema": {
913
+ "$ref": "#/components/schemas/WatchFile"
914
+ }
915
+ }
916
+ }
917
+ }
918
+ },
919
+ "tags": [
920
+ "Watch-folder-machine"
921
+ ],
922
+ "security": [
923
+ {
924
+ "basic": []
925
+ }
926
+ ]
927
+ },
928
+ "get": {
929
+ "operationId": "WatchFolderController_findOne",
930
+ "summary": "Get watchfile By Id",
931
+ "description": "Get watchfile By Id",
932
+ "parameters": [
933
+ {
934
+ "name": "id",
935
+ "required": true,
936
+ "in": "path",
937
+ "schema": {
938
+ "type": "string"
939
+ }
940
+ }
941
+ ],
942
+ "responses": {
943
+ "200": {
944
+ "description": "",
945
+ "content": {
946
+ "application/json": {
947
+ "schema": {
948
+ "$ref": "#/components/schemas/WatchFile"
949
+ }
950
+ }
951
+ }
952
+ }
953
+ },
954
+ "tags": [
955
+ "Watch-folder-machine"
956
+ ],
957
+ "security": [
958
+ {
959
+ "basic": []
960
+ }
961
+ ]
962
+ }
963
+ },
964
+ "/api/vod/watch-folder/{id}/stop": {
965
+ "patch": {
966
+ "operationId": "WatchFolderController_stop",
967
+ "parameters": [
968
+ {
969
+ "name": "id",
970
+ "required": true,
971
+ "in": "path",
972
+ "schema": {
973
+ "type": "string"
974
+ }
975
+ }
976
+ ],
977
+ "responses": {
978
+ "200": {
979
+ "description": "",
980
+ "content": {
981
+ "application/json": {
982
+ "schema": {
983
+ "$ref": "#/components/schemas/WatchFile"
984
+ }
985
+ }
986
+ }
987
+ }
988
+ },
989
+ "tags": [
990
+ "Watch-folder-machine"
991
+ ],
992
+ "security": [
993
+ {
994
+ "basic": []
995
+ }
996
+ ]
997
+ }
998
+ },
999
+ "/api/vod/watch-folder/{id}/start": {
1000
+ "patch": {
1001
+ "operationId": "WatchFolderController_start",
1002
+ "parameters": [
1003
+ {
1004
+ "name": "id",
1005
+ "required": true,
1006
+ "in": "path",
1007
+ "schema": {
1008
+ "type": "string"
1009
+ }
1010
+ }
1011
+ ],
1012
+ "responses": {
1013
+ "200": {
1014
+ "description": "",
1015
+ "content": {
1016
+ "application/json": {
1017
+ "schema": {
1018
+ "$ref": "#/components/schemas/WatchFile"
1019
+ }
1020
+ }
1021
+ }
1022
+ }
1023
+ },
1024
+ "tags": [
1025
+ "Watch-folder-machine"
1026
+ ],
1027
+ "security": [
1028
+ {
1029
+ "basic": []
1030
+ }
1031
+ ]
1032
+ }
1033
+ },
1034
+ "/api/vod/batch-jobs": {
1035
+ "post": {
1036
+ "operationId": "BatchJobController_create",
1037
+ "summary": "Create BatchJob",
1038
+ "description": "Create BatchJob",
1039
+ "parameters": [],
1040
+ "requestBody": {
1041
+ "required": true,
1042
+ "content": {
1043
+ "application/json": {
1044
+ "schema": {
1045
+ "$ref": "#/components/schemas/CreateBatchJobDto"
1046
+ }
1047
+ }
1048
+ }
1049
+ },
1050
+ "responses": {
1051
+ "201": {
1052
+ "description": "",
1053
+ "content": {
1054
+ "application/json": {
1055
+ "schema": {
1056
+ "$ref": "#/components/schemas/BatchJob"
1057
+ }
1058
+ }
1059
+ }
1060
+ }
1061
+ },
1062
+ "tags": [
1063
+ "BatchJob"
1064
+ ],
1065
+ "security": [
1066
+ {
1067
+ "basic": []
1068
+ }
1069
+ ]
1070
+ },
1071
+ "get": {
1072
+ "operationId": "BatchJobController_list",
1073
+ "summary": "Get BatchJobs",
1074
+ "description": "Get BatchJobs",
1075
+ "parameters": [
1076
+ {
1077
+ "name": "sort",
1078
+ "required": false,
1079
+ "in": "query",
1080
+ "example": "created_at|desc;filename|asc",
1081
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
1082
+ "schema": {
1083
+ "type": "string"
1084
+ }
1085
+ },
1086
+ {
1087
+ "name": "page",
1088
+ "required": false,
1089
+ "in": "query",
1090
+ "example": "1",
1091
+ "description": "pagination number",
1092
+ "schema": {
1093
+ "type": "number"
1094
+ }
1095
+ },
1096
+ {
1097
+ "name": "perPage",
1098
+ "required": false,
1099
+ "in": "query",
1100
+ "example": "10",
1101
+ "description": "",
1102
+ "schema": {
1103
+ "type": "number"
1104
+ }
1105
+ },
1106
+ {
1107
+ "name": "limit",
1108
+ "required": false,
1109
+ "in": "query",
1110
+ "example": "10",
1111
+ "description": "",
1112
+ "schema": {
1113
+ "type": "number"
1114
+ }
1115
+ },
1116
+ {
1117
+ "name": "offset",
1118
+ "required": false,
1119
+ "in": "query",
1120
+ "example": "0",
1121
+ "description": "",
1122
+ "schema": {
1123
+ "type": "number"
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "fields",
1128
+ "required": false,
1129
+ "in": "query",
1130
+ "example": "id,name,url",
1131
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1132
+ "schema": {
1133
+ "type": "string"
1134
+ }
1135
+ },
1136
+ {
1137
+ "name": "populates",
1138
+ "required": false,
1139
+ "in": "query",
1140
+ "example": "author,book",
1141
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1142
+ "schema": {
1143
+ "type": "string"
1144
+ }
1145
+ }
1146
+ ],
1147
+ "responses": {
1148
+ "200": {
1149
+ "description": "",
1150
+ "content": {
1151
+ "application/json": {
1152
+ "schema": {
1153
+ "$ref": "#/components/schemas/BatchJobCollection"
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+ },
1159
+ "tags": [
1160
+ "BatchJob"
1161
+ ],
1162
+ "security": [
1163
+ {
1164
+ "basic": []
1165
+ }
1166
+ ]
1167
+ }
1168
+ },
1169
+ "/api/vod/batch-jobs/{id}": {
1170
+ "get": {
1171
+ "operationId": "BatchJobController_getOne",
1172
+ "summary": "Get BatchJob by Id",
1173
+ "description": "Get BatchJob by Id",
1174
+ "parameters": [
1175
+ {
1176
+ "name": "id",
1177
+ "required": true,
1178
+ "in": "path",
1179
+ "schema": {
1180
+ "type": "string"
1181
+ }
1182
+ }
1183
+ ],
1184
+ "responses": {
1185
+ "200": {
1186
+ "description": "",
1187
+ "content": {
1188
+ "application/json": {
1189
+ "schema": {
1190
+ "$ref": "#/components/schemas/BatchJob"
1191
+ }
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ "tags": [
1197
+ "BatchJob"
1198
+ ],
1199
+ "security": [
1200
+ {
1201
+ "basic": []
1202
+ }
1203
+ ]
1204
+ },
1205
+ "delete": {
1206
+ "operationId": "BatchJobController_deleteOne",
1207
+ "summary": "Delete BatchJob by id",
1208
+ "description": "Delete BatchJob by id",
1209
+ "parameters": [
1210
+ {
1211
+ "name": "id",
1212
+ "required": true,
1213
+ "in": "path",
1214
+ "schema": {
1215
+ "type": "string"
1216
+ }
1217
+ }
1218
+ ],
1219
+ "responses": {
1220
+ "200": {
1221
+ "description": "",
1222
+ "content": {
1223
+ "application/json": {
1224
+ "schema": {
1225
+ "$ref": "#/components/schemas/BatchJob"
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+ },
1231
+ "tags": [
1232
+ "BatchJob"
1233
+ ],
1234
+ "security": [
1235
+ {
1236
+ "basic": []
1237
+ }
1238
+ ]
1239
+ }
1240
+ },
1241
+ "/api/vod/batch-jobs/{id}/stop": {
1242
+ "patch": {
1243
+ "operationId": "BatchJobController_Stop",
1244
+ "summary": "Stop BatchJob by Id",
1245
+ "description": "Stop BatchJob by Id",
1246
+ "parameters": [
1247
+ {
1248
+ "name": "id",
1249
+ "required": true,
1250
+ "in": "path",
1251
+ "schema": {
1252
+ "type": "string"
1253
+ }
1254
+ }
1255
+ ],
1256
+ "responses": {
1257
+ "200": {
1258
+ "description": "",
1259
+ "content": {
1260
+ "application/json": {
1261
+ "schema": {
1262
+ "$ref": "#/components/schemas/BatchJob"
1263
+ }
1264
+ }
1265
+ }
1266
+ }
1267
+ },
1268
+ "tags": [
1269
+ "BatchJob"
1270
+ ],
1271
+ "security": [
1272
+ {
1273
+ "basic": []
1274
+ }
1275
+ ]
1276
+ }
1277
+ },
1278
+ "/api/vod/templates": {
1279
+ "post": {
1280
+ "operationId": "TemplateController_create",
1281
+ "summary": "Create template",
1282
+ "description": "Create template",
1283
+ "parameters": [],
1284
+ "requestBody": {
1285
+ "required": true,
1286
+ "content": {
1287
+ "application/json": {
1288
+ "schema": {
1289
+ "$ref": "#/components/schemas/CreateTemplateDto"
1290
+ }
1291
+ }
1292
+ }
1293
+ },
1294
+ "responses": {
1295
+ "201": {
1296
+ "description": "",
1297
+ "content": {
1298
+ "application/json": {
1299
+ "schema": {
1300
+ "$ref": "#/components/schemas/Template"
1301
+ }
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1306
+ "tags": [
1307
+ "Template"
1308
+ ],
1309
+ "security": [
1310
+ {
1311
+ "basic": []
1312
+ }
1313
+ ]
1314
+ },
1315
+ "get": {
1316
+ "operationId": "TemplateController_getList",
1317
+ "summary": "Get templates",
1318
+ "description": "Get templates",
1319
+ "parameters": [
1320
+ {
1321
+ "name": "sort",
1322
+ "required": false,
1323
+ "in": "query",
1324
+ "example": "created_at|desc;filename|asc",
1325
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
1326
+ "schema": {
1327
+ "type": "string"
1328
+ }
1329
+ },
1330
+ {
1331
+ "name": "page",
1332
+ "required": false,
1333
+ "in": "query",
1334
+ "example": "1",
1335
+ "description": "pagination number",
1336
+ "schema": {
1337
+ "type": "number"
1338
+ }
1339
+ },
1340
+ {
1341
+ "name": "perPage",
1342
+ "required": false,
1343
+ "in": "query",
1344
+ "example": "10",
1345
+ "description": "",
1346
+ "schema": {
1347
+ "type": "number"
1348
+ }
1349
+ },
1350
+ {
1351
+ "name": "limit",
1352
+ "required": false,
1353
+ "in": "query",
1354
+ "example": "10",
1355
+ "description": "",
1356
+ "schema": {
1357
+ "type": "number"
1358
+ }
1359
+ },
1360
+ {
1361
+ "name": "offset",
1362
+ "required": false,
1363
+ "in": "query",
1364
+ "example": "0",
1365
+ "description": "",
1366
+ "schema": {
1367
+ "type": "number"
1368
+ }
1369
+ },
1370
+ {
1371
+ "name": "fields",
1372
+ "required": false,
1373
+ "in": "query",
1374
+ "example": "id,name,url",
1375
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1376
+ "schema": {
1377
+ "type": "string"
1378
+ }
1379
+ },
1380
+ {
1381
+ "name": "populates",
1382
+ "required": false,
1383
+ "in": "query",
1384
+ "example": "author,book",
1385
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1386
+ "schema": {
1387
+ "type": "string"
1388
+ }
1389
+ }
1390
+ ],
1391
+ "responses": {
1392
+ "200": {
1393
+ "description": "",
1394
+ "content": {
1395
+ "application/json": {
1396
+ "schema": {
1397
+ "$ref": "#/components/schemas/TemplateCollection"
1398
+ }
1399
+ }
1400
+ }
1401
+ }
1402
+ },
1403
+ "tags": [
1404
+ "Template"
1405
+ ],
1406
+ "security": [
1407
+ {
1408
+ "basic": []
1409
+ }
1410
+ ]
1411
+ }
1412
+ },
1413
+ "/api/vod/templates/{id}": {
1414
+ "delete": {
1415
+ "operationId": "TemplateController_delete",
1416
+ "summary": "Delete template by id",
1417
+ "description": "Delete template by id",
1418
+ "parameters": [
1419
+ {
1420
+ "name": "id",
1421
+ "required": true,
1422
+ "in": "path",
1423
+ "schema": {
1424
+ "type": "string"
1425
+ }
1426
+ }
1427
+ ],
1428
+ "responses": {
1429
+ "200": {
1430
+ "description": "",
1431
+ "content": {
1432
+ "application/json": {
1433
+ "schema": {
1434
+ "$ref": "#/components/schemas/Template"
1435
+ }
1436
+ }
1437
+ }
1438
+ }
1439
+ },
1440
+ "tags": [
1441
+ "Template"
1442
+ ],
1443
+ "security": [
1444
+ {
1445
+ "basic": []
1446
+ }
1447
+ ]
1448
+ },
1449
+ "patch": {
1450
+ "operationId": "TemplateController_update",
1451
+ "summary": "Update Template by Id",
1452
+ "description": "Update Template by Id",
1453
+ "parameters": [
1454
+ {
1455
+ "name": "id",
1456
+ "required": true,
1457
+ "in": "path",
1458
+ "schema": {
1459
+ "type": "string"
1460
+ }
1461
+ }
1462
+ ],
1463
+ "requestBody": {
1464
+ "required": true,
1465
+ "content": {
1466
+ "application/json": {
1467
+ "schema": {
1468
+ "$ref": "#/components/schemas/UpdateTemplateDto"
1469
+ }
1470
+ }
1471
+ }
1472
+ },
1473
+ "responses": {
1474
+ "200": {
1475
+ "description": "",
1476
+ "content": {
1477
+ "application/json": {
1478
+ "schema": {
1479
+ "$ref": "#/components/schemas/Template"
1480
+ }
1481
+ }
1482
+ }
1483
+ }
1484
+ },
1485
+ "tags": [
1486
+ "Template"
1487
+ ],
1488
+ "security": [
1489
+ {
1490
+ "basic": []
1491
+ }
1492
+ ]
1493
+ },
1494
+ "get": {
1495
+ "operationId": "TemplateController_getById",
1496
+ "summary": "Get Template by Id",
1497
+ "description": "Get Template by Id",
1498
+ "parameters": [
1499
+ {
1500
+ "name": "id",
1501
+ "required": true,
1502
+ "in": "path",
1503
+ "schema": {
1504
+ "type": "string"
1505
+ }
1506
+ }
1507
+ ],
1508
+ "responses": {
1509
+ "200": {
1510
+ "description": "",
1511
+ "content": {
1512
+ "application/json": {
1513
+ "schema": {
1514
+ "$ref": "#/components/schemas/Template"
1515
+ }
1516
+ }
1517
+ }
1518
+ }
1519
+ },
1520
+ "tags": [
1521
+ "Template"
1522
+ ],
1523
+ "security": [
1524
+ {
1525
+ "basic": []
1526
+ }
1527
+ ]
1528
+ }
1529
+ },
1530
+ "/api/vod/templates/profiles": {
1531
+ "get": {
1532
+ "operationId": "TemplateController_getDefaultProfile",
1533
+ "summary": "Get default profile",
1534
+ "description": "Get default profile",
1535
+ "parameters": [],
1536
+ "responses": {
1537
+ "200": {
1538
+ "description": "",
1539
+ "content": {
1540
+ "application/json": {
1541
+ "schema": {
1542
+ "type": "array",
1543
+ "items": {
1544
+ "$ref": "#/components/schemas/Profile"
1545
+ }
1546
+ }
1547
+ }
1548
+ }
1549
+ }
1550
+ },
1551
+ "tags": [
1552
+ "Template"
1553
+ ],
1554
+ "security": [
1555
+ {
1556
+ "basic": []
1557
+ }
1558
+ ]
1559
+ }
1560
+ },
1561
+ "/api/vod/third-party": {
1562
+ "post": {
1563
+ "operationId": "ThirdPartyController_create",
1564
+ "summary": "Create third party",
1565
+ "description": "Create third party",
1566
+ "parameters": [],
1567
+ "requestBody": {
1568
+ "required": true,
1569
+ "content": {
1570
+ "application/json": {
1571
+ "schema": {
1572
+ "$ref": "#/components/schemas/CreateThirdPartyDto"
1573
+ }
1574
+ }
1575
+ }
1576
+ },
1577
+ "responses": {
1578
+ "201": {
1579
+ "description": "",
1580
+ "content": {
1581
+ "application/json": {
1582
+ "schema": {
1583
+ "$ref": "#/components/schemas/Destination"
1584
+ }
1585
+ }
1586
+ }
1587
+ }
1588
+ },
1589
+ "tags": [
1590
+ "ThirdParty"
1591
+ ],
1592
+ "security": [
1593
+ {
1594
+ "basic": []
1595
+ }
1596
+ ]
1597
+ },
1598
+ "get": {
1599
+ "operationId": "ThirdPartyController_get",
1600
+ "summary": "Get list destination",
1601
+ "description": "Get list destination",
1602
+ "parameters": [
1603
+ {
1604
+ "name": "sort",
1605
+ "required": false,
1606
+ "in": "query",
1607
+ "example": "created_at|desc;filename|asc",
1608
+ "description": "Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order",
1609
+ "schema": {
1610
+ "type": "string"
1611
+ }
1612
+ },
1613
+ {
1614
+ "name": "page",
1615
+ "required": false,
1616
+ "in": "query",
1617
+ "example": "1",
1618
+ "description": "pagination number",
1619
+ "schema": {
1620
+ "type": "number"
1621
+ }
1622
+ },
1623
+ {
1624
+ "name": "perPage",
1625
+ "required": false,
1626
+ "in": "query",
1627
+ "example": "10",
1628
+ "description": "",
1629
+ "schema": {
1630
+ "type": "number"
1631
+ }
1632
+ },
1633
+ {
1634
+ "name": "limit",
1635
+ "required": false,
1636
+ "in": "query",
1637
+ "example": "10",
1638
+ "description": "",
1639
+ "schema": {
1640
+ "type": "number"
1641
+ }
1642
+ },
1643
+ {
1644
+ "name": "offset",
1645
+ "required": false,
1646
+ "in": "query",
1647
+ "example": "0",
1648
+ "description": "",
1649
+ "schema": {
1650
+ "type": "number"
1651
+ }
1652
+ },
1653
+ {
1654
+ "name": "fields",
1655
+ "required": false,
1656
+ "in": "query",
1657
+ "example": "id,name,url",
1658
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1659
+ "schema": {
1660
+ "type": "string"
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "populates",
1665
+ "required": false,
1666
+ "in": "query",
1667
+ "example": "author,book",
1668
+ "description": "Nevertheless, you may choose that some fields would always be sent along with the requested fields, in the response payload. Like the id for example.",
1669
+ "schema": {
1670
+ "type": "string"
1671
+ }
1672
+ }
1673
+ ],
1674
+ "responses": {
1675
+ "200": {
1676
+ "description": "",
1677
+ "content": {
1678
+ "application/json": {
1679
+ "schema": {
1680
+ "$ref": "#/components/schemas/DestinationCollection"
1681
+ }
1682
+ }
1683
+ }
1684
+ }
1685
+ },
1686
+ "tags": [
1687
+ "ThirdParty"
1688
+ ],
1689
+ "security": [
1690
+ {
1691
+ "basic": []
1692
+ }
1693
+ ]
1694
+ }
1695
+ },
1696
+ "/api/vod/third-party/{id}": {
1697
+ "delete": {
1698
+ "operationId": "ThirdPartyController_delete",
1699
+ "summary": "Delete destination by id",
1700
+ "description": "Delete destination by id",
1701
+ "parameters": [
1702
+ {
1703
+ "name": "id",
1704
+ "required": true,
1705
+ "in": "path",
1706
+ "schema": {
1707
+ "type": "string"
1708
+ }
1709
+ }
1710
+ ],
1711
+ "responses": {
1712
+ "200": {
1713
+ "description": "",
1714
+ "content": {
1715
+ "application/json": {
1716
+ "schema": {
1717
+ "$ref": "#/components/schemas/Destination"
1718
+ }
1719
+ }
1720
+ }
1721
+ }
1722
+ },
1723
+ "tags": [
1724
+ "ThirdParty"
1725
+ ],
1726
+ "security": [
1727
+ {
1728
+ "basic": []
1729
+ }
1730
+ ]
1731
+ },
1732
+ "get": {
1733
+ "operationId": "ThirdPartyController_findOne",
1734
+ "summary": "Get destination By Id",
1735
+ "description": "Get destination By Id",
1736
+ "parameters": [
1737
+ {
1738
+ "name": "id",
1739
+ "required": true,
1740
+ "in": "path",
1741
+ "schema": {
1742
+ "type": "string"
1743
+ }
1744
+ }
1745
+ ],
1746
+ "responses": {
1747
+ "200": {
1748
+ "description": "",
1749
+ "content": {
1750
+ "application/json": {
1751
+ "schema": {
1752
+ "$ref": "#/components/schemas/Destination"
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ },
1758
+ "tags": [
1759
+ "ThirdParty"
1760
+ ],
1761
+ "security": [
1762
+ {
1763
+ "basic": []
1764
+ }
1765
+ ]
1766
+ }
1767
+ }
1768
+ },
1769
+ "info": {
1770
+ "title": "Sigma Streaming VOD",
1771
+ "description": "Sigma Streaming Platform VOD",
1772
+ "version": "1.0",
1773
+ "contact": {}
1774
+ },
1775
+ "tags": [],
1776
+ "servers": [],
1777
+ "components": {
1778
+ "securitySchemes": {
1779
+ "basic": {
1780
+ "type": "http",
1781
+ "scheme": "basic"
1782
+ }
1783
+ },
1784
+ "schemas": {
1785
+ "Route": {
1786
+ "type": "object",
1787
+ "properties": {
1788
+ "domain": {
1789
+ "type": "string"
1790
+ },
1791
+ "prefix": {
1792
+ "type": "string"
1793
+ },
1794
+ "baseFolder": {
1795
+ "type": "string"
1796
+ }
1797
+ },
1798
+ "required": [
1799
+ "domain"
1800
+ ]
1801
+ },
1802
+ "CreateVodToLiveDto": {
1803
+ "type": "object",
1804
+ "properties": {
1805
+ "sourceUrl": {
1806
+ "type": "string"
1807
+ },
1808
+ "duration": {
1809
+ "type": "number"
1810
+ },
1811
+ "router": {
1812
+ "$ref": "#/components/schemas/Route"
1813
+ },
1814
+ "startTime": {
1815
+ "format": "date-time",
1816
+ "type": "string"
1817
+ },
1818
+ "repeat": {
1819
+ "type": "number"
1820
+ },
1821
+ "forever": {
1822
+ "type": "boolean"
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "sourceUrl",
1827
+ "duration",
1828
+ "router",
1829
+ "startTime",
1830
+ "repeat",
1831
+ "forever"
1832
+ ]
1833
+ },
1834
+ "VodToLive": {
1835
+ "type": "object",
1836
+ "properties": {
1837
+ "url": {
1838
+ "type": "string"
1839
+ }
1840
+ },
1841
+ "required": [
1842
+ "url"
1843
+ ]
1844
+ },
1845
+ "FileInfoEntity": {
1846
+ "type": "object",
1847
+ "properties": {
1848
+ "name": {
1849
+ "type": "string"
1850
+ },
1851
+ "url": {
1852
+ "type": "string"
1853
+ },
1854
+ "thumbUri": {
1855
+ "type": "string"
1856
+ },
1857
+ "resolution": {
1858
+ "type": "object",
1859
+ "properties": {
1860
+ "height": {
1861
+ "required": true,
1862
+ "type": "number"
1863
+ },
1864
+ "width": {
1865
+ "required": true,
1866
+ "type": "number"
1867
+ }
1868
+ }
1869
+ },
1870
+ "duration": {
1871
+ "type": "number"
1872
+ },
1873
+ "mimeType": {
1874
+ "type": "string"
1875
+ },
1876
+ "fps": {
1877
+ "type": "number"
1878
+ },
1879
+ "codec": {
1880
+ "type": "string"
1881
+ },
1882
+ "size": {
1883
+ "type": "number"
1884
+ }
1885
+ },
1886
+ "required": [
1887
+ "name",
1888
+ "url",
1889
+ "resolution",
1890
+ "size"
1891
+ ]
1892
+ },
1893
+ "FileLocalInfo": {
1894
+ "type": "object",
1895
+ "properties": {
1896
+ "name": {
1897
+ "type": "string"
1898
+ },
1899
+ "size": {
1900
+ "type": "number"
1901
+ },
1902
+ "lastModified": {
1903
+ "format": "date-time",
1904
+ "type": "string"
1905
+ },
1906
+ "isDir": {
1907
+ "type": "boolean"
1908
+ }
1909
+ },
1910
+ "required": [
1911
+ "name",
1912
+ "size",
1913
+ "lastModified",
1914
+ "isDir"
1915
+ ]
1916
+ },
1917
+ "Input": {
1918
+ "type": "object",
1919
+ "properties": {
1920
+ "type": {
1921
+ "type": "string",
1922
+ "enum": [
1923
+ "file",
1924
+ "asset",
1925
+ "url",
1926
+ "sample"
1927
+ ]
1928
+ },
1929
+ "videoUrl": {
1930
+ "type": "string"
1931
+ },
1932
+ "assetId": {
1933
+ "type": "string"
1934
+ },
1935
+ "file": {
1936
+ "type": "string"
1937
+ },
1938
+ "sampleUrl": {
1939
+ "type": "string"
1940
+ }
1941
+ },
1942
+ "required": [
1943
+ "type"
1944
+ ]
1945
+ },
1946
+ "GetInfoDto": {
1947
+ "type": "object",
1948
+ "properties": {
1949
+ "machineId": {
1950
+ "type": "string"
1951
+ },
1952
+ "input": {
1953
+ "$ref": "#/components/schemas/Input"
1954
+ }
1955
+ },
1956
+ "required": [
1957
+ "machineId",
1958
+ "input"
1959
+ ]
1960
+ },
1961
+ "Preset": {
1962
+ "type": "object",
1963
+ "properties": {
1964
+ "id": {
1965
+ "type": "string"
1966
+ },
1967
+ "channel": {
1968
+ "type": "number"
1969
+ },
1970
+ "type": {
1971
+ "type": "string"
1972
+ },
1973
+ "description": {
1974
+ "type": "string"
1975
+ },
1976
+ "name": {
1977
+ "type": "string"
1978
+ },
1979
+ "codec": {
1980
+ "type": "string"
1981
+ },
1982
+ "bitrate": {
1983
+ "type": "number"
1984
+ },
1985
+ "minRate": {
1986
+ "type": "number"
1987
+ },
1988
+ "maxRate": {
1989
+ "type": "number"
1990
+ },
1991
+ "sampleRate": {
1992
+ "type": "number"
1993
+ },
1994
+ "fps": {
1995
+ "type": "number"
1996
+ },
1997
+ "width": {
1998
+ "type": "number"
1999
+ },
2000
+ "height": {
2001
+ "type": "number"
2002
+ }
2003
+ },
2004
+ "required": [
2005
+ "id",
2006
+ "channel",
2007
+ "type",
2008
+ "name",
2009
+ "codec",
2010
+ "bitrate"
2011
+ ]
2012
+ },
2013
+ "InputInfo": {
2014
+ "type": "object",
2015
+ "properties": {
2016
+ "size": {
2017
+ "type": "number"
2018
+ },
2019
+ "duration": {
2020
+ "type": "number"
2021
+ },
2022
+ "profiles": {
2023
+ "type": "array",
2024
+ "items": {
2025
+ "$ref": "#/components/schemas/Preset"
2026
+ }
2027
+ }
2028
+ },
2029
+ "required": [
2030
+ "size",
2031
+ "duration",
2032
+ "profiles"
2033
+ ]
2034
+ },
2035
+ "DrmDataDto": {
2036
+ "type": "object",
2037
+ "properties": {
2038
+ "appId": {
2039
+ "type": "string",
2040
+ "description": "AppId của hệ thông sigma drm,sigma multi drm",
2041
+ "default": ""
2042
+ },
2043
+ "merchantId": {
2044
+ "type": "string",
2045
+ "description": "MerchantId của hệ thông sigma drm,sigma multi drm",
2046
+ "default": ""
2047
+ },
2048
+ "email": {
2049
+ "type": "string",
2050
+ "description": "user đăng nhập hệ thống sigma drm,sigma multi drm",
2051
+ "default": ""
2052
+ },
2053
+ "username": {
2054
+ "type": "string",
2055
+ "description": "user đăng nhập hệ thống sigma drm,sigma multi drm",
2056
+ "default": ""
2057
+ },
2058
+ "password": {
2059
+ "type": "string",
2060
+ "description": "password hệ thống sigma drm,sigma multi drm, drm today",
2061
+ "default": ""
2062
+ }
2063
+ },
2064
+ "required": [
2065
+ "merchantId",
2066
+ "email",
2067
+ "username",
2068
+ "password"
2069
+ ]
2070
+ },
2071
+ "CreateDrmCredentialDto": {
2072
+ "type": "object",
2073
+ "properties": {
2074
+ "tags": {
2075
+ "default": [],
2076
+ "description": "tag đánh dấu",
2077
+ "type": "array",
2078
+ "items": {
2079
+ "type": "string"
2080
+ }
2081
+ },
2082
+ "provider": {
2083
+ "enum": [
2084
+ "SIGMA",
2085
+ "DRM_TODAY"
2086
+ ],
2087
+ "type": "string",
2088
+ "description": "Drm Provider"
2089
+ },
2090
+ "data": {
2091
+ "$ref": "#/components/schemas/DrmDataDto"
2092
+ },
2093
+ "name": {
2094
+ "type": "string",
2095
+ "pattern": "/^[a-zA-Z0-9_-\\s]*$/"
2096
+ },
2097
+ "description": {
2098
+ "type": "string"
2099
+ }
2100
+ },
2101
+ "required": [
2102
+ "provider",
2103
+ "data",
2104
+ "name",
2105
+ "description"
2106
+ ]
2107
+ },
2108
+ "DrmDataEntity": {
2109
+ "type": "object",
2110
+ "properties": {
2111
+ "appId": {
2112
+ "type": "string"
2113
+ },
2114
+ "merchantId": {
2115
+ "type": "string"
2116
+ },
2117
+ "username": {
2118
+ "type": "string"
2119
+ },
2120
+ "email": {
2121
+ "type": "string"
2122
+ },
2123
+ "password": {
2124
+ "type": "string"
2125
+ }
2126
+ },
2127
+ "required": [
2128
+ "appId",
2129
+ "merchantId",
2130
+ "username",
2131
+ "email",
2132
+ "password"
2133
+ ]
2134
+ },
2135
+ "DrmCredentialEntity": {
2136
+ "type": "object",
2137
+ "properties": {
2138
+ "id": {
2139
+ "type": "string",
2140
+ "filterable": true
2141
+ },
2142
+ "name": {
2143
+ "type": "string",
2144
+ "pattern": "/^[a-zA-Z0-9_-\\s]*$/",
2145
+ "filterable": true,
2146
+ "sortable": true
2147
+ },
2148
+ "description": {
2149
+ "type": "string",
2150
+ "filterable": true
2151
+ },
2152
+ "tags": {
2153
+ "filterable": true,
2154
+ "type": "array",
2155
+ "items": {
2156
+ "type": "string"
2157
+ }
2158
+ },
2159
+ "provider": {
2160
+ "enum": [
2161
+ "SIGMA",
2162
+ "DRM_TODAY"
2163
+ ],
2164
+ "type": "string",
2165
+ "filterable": true
2166
+ },
2167
+ "createdAt": {
2168
+ "format": "date-time",
2169
+ "type": "string",
2170
+ "filterable": true,
2171
+ "sortable": true
2172
+ },
2173
+ "updatedAt": {
2174
+ "format": "date-time",
2175
+ "type": "string",
2176
+ "filterable": true,
2177
+ "sortable": true
2178
+ },
2179
+ "appId": {
2180
+ "type": "string"
2181
+ },
2182
+ "data": {
2183
+ "$ref": "#/components/schemas/DrmDataEntity"
2184
+ }
2185
+ },
2186
+ "required": [
2187
+ "appId",
2188
+ "data"
2189
+ ]
2190
+ },
2191
+ "DrmCredentialCollection": {
2192
+ "type": "object",
2193
+ "properties": {
2194
+ "data": {
2195
+ "readOnly": true,
2196
+ "type": "array",
2197
+ "items": {
2198
+ "$ref": "#/components/schemas/DrmCredentialEntity"
2199
+ }
2200
+ },
2201
+ "count": {
2202
+ "type": "number",
2203
+ "readOnly": true
2204
+ },
2205
+ "total": {
2206
+ "type": "number",
2207
+ "readOnly": true
2208
+ },
2209
+ "page": {
2210
+ "type": "number",
2211
+ "readOnly": true
2212
+ },
2213
+ "perPage": {
2214
+ "type": "number",
2215
+ "readOnly": true
2216
+ }
2217
+ },
2218
+ "required": [
2219
+ "count",
2220
+ "total",
2221
+ "page",
2222
+ "perPage"
2223
+ ]
2224
+ },
2225
+ "UpdateDrmManagementDto": {
2226
+ "type": "object",
2227
+ "properties": {
2228
+ "tags": {
2229
+ "default": [],
2230
+ "description": "tag đánh dấu",
2231
+ "type": "array",
2232
+ "items": {
2233
+ "type": "string"
2234
+ }
2235
+ },
2236
+ "provider": {
2237
+ "enum": [
2238
+ "SIGMA",
2239
+ "DRM_TODAY"
2240
+ ],
2241
+ "type": "string",
2242
+ "description": "Drm Provider"
2243
+ },
2244
+ "data": {
2245
+ "$ref": "#/components/schemas/DrmDataDto"
2246
+ },
2247
+ "name": {
2248
+ "type": "string",
2249
+ "pattern": "/^[a-zA-Z0-9_-\\s]*$/"
2250
+ },
2251
+ "description": {
2252
+ "type": "string"
2253
+ }
2254
+ }
2255
+ },
2256
+ "S3": {
2257
+ "type": "object",
2258
+ "properties": {
2259
+ "endpoint": {
2260
+ "type": "string"
2261
+ },
2262
+ "bucket": {
2263
+ "type": "string"
2264
+ },
2265
+ "accessKey": {
2266
+ "type": "string"
2267
+ },
2268
+ "secretKey": {
2269
+ "type": "string"
2270
+ },
2271
+ "publicPermission": {
2272
+ "type": "boolean"
2273
+ },
2274
+ "region": {
2275
+ "type": "string"
2276
+ }
2277
+ },
2278
+ "required": [
2279
+ "endpoint",
2280
+ "bucket",
2281
+ "accessKey",
2282
+ "secretKey",
2283
+ "publicPermission"
2284
+ ]
2285
+ },
2286
+ "FTP": {
2287
+ "type": "object",
2288
+ "properties": {
2289
+ "host": {
2290
+ "type": "string"
2291
+ },
2292
+ "port": {
2293
+ "type": "number"
2294
+ },
2295
+ "username": {
2296
+ "type": "string"
2297
+ },
2298
+ "password": {
2299
+ "type": "string"
2300
+ }
2301
+ },
2302
+ "required": [
2303
+ "host",
2304
+ "port",
2305
+ "username",
2306
+ "password"
2307
+ ]
2308
+ },
2309
+ "AssetInfo": {
2310
+ "type": "object",
2311
+ "properties": {
2312
+ "name": {
2313
+ "type": "string"
2314
+ },
2315
+ "tags": {
2316
+ "type": "array",
2317
+ "items": {
2318
+ "type": "string"
2319
+ }
2320
+ },
2321
+ "category": {
2322
+ "type": "string"
2323
+ }
2324
+ },
2325
+ "required": [
2326
+ "name",
2327
+ "tags",
2328
+ "category"
2329
+ ]
2330
+ },
2331
+ "Asset": {
2332
+ "type": "object",
2333
+ "properties": {
2334
+ "type": {
2335
+ "type": "string",
2336
+ "enum": [
2337
+ "asset",
2338
+ "outputAsset"
2339
+ ]
2340
+ },
2341
+ "asset": {
2342
+ "$ref": "#/components/schemas/AssetInfo"
2343
+ }
2344
+ },
2345
+ "required": [
2346
+ "type"
2347
+ ]
2348
+ },
2349
+ "LocalFile": {
2350
+ "type": "object",
2351
+ "properties": {
2352
+ "folder": {
2353
+ "type": "string"
2354
+ }
2355
+ },
2356
+ "required": [
2357
+ "folder"
2358
+ ]
2359
+ },
2360
+ "DestinationDto": {
2361
+ "type": "object",
2362
+ "properties": {
2363
+ "type": {
2364
+ "type": "string",
2365
+ "enum": [
2366
+ "s3",
2367
+ "ftp",
2368
+ "file",
2369
+ "asset"
2370
+ ]
2371
+ },
2372
+ "s3": {
2373
+ "$ref": "#/components/schemas/S3"
2374
+ },
2375
+ "ftp": {
2376
+ "$ref": "#/components/schemas/FTP"
2377
+ },
2378
+ "asset": {
2379
+ "$ref": "#/components/schemas/Asset"
2380
+ },
2381
+ "localFile": {
2382
+ "$ref": "#/components/schemas/LocalFile"
2383
+ },
2384
+ "route": {
2385
+ "$ref": "#/components/schemas/Route"
2386
+ },
2387
+ "prefixOutputPath": {
2388
+ "type": "string",
2389
+ "pattern": "/^([a-zA-Z0-9-_+]+(\\/[a-zA-Z0-9-_+]+)*)\\/?$/"
2390
+ }
2391
+ },
2392
+ "required": [
2393
+ "type"
2394
+ ]
2395
+ },
2396
+ "Watermark": {
2397
+ "type": "object",
2398
+ "properties": {
2399
+ "x": {
2400
+ "type": "number"
2401
+ },
2402
+ "y": {
2403
+ "type": "number"
2404
+ },
2405
+ "id": {
2406
+ "type": "string"
2407
+ },
2408
+ "mediaScale": {
2409
+ "type": "number"
2410
+ },
2411
+ "delay": {
2412
+ "type": "number"
2413
+ },
2414
+ "enable": {
2415
+ "type": "boolean"
2416
+ },
2417
+ "assetId": {
2418
+ "type": "string"
2419
+ },
2420
+ "width": {
2421
+ "type": "number"
2422
+ },
2423
+ "height": {
2424
+ "type": "number"
2425
+ }
2426
+ },
2427
+ "required": [
2428
+ "x",
2429
+ "y",
2430
+ "id",
2431
+ "mediaScale",
2432
+ "delay",
2433
+ "enable",
2434
+ "assetId",
2435
+ "width",
2436
+ "height"
2437
+ ]
2438
+ },
2439
+ "AudioWatermark": {
2440
+ "type": "object",
2441
+ "properties": {
2442
+ "enable": {
2443
+ "type": "boolean"
2444
+ },
2445
+ "preset": {
2446
+ "type": "string",
2447
+ "enum": [
2448
+ "AUTO",
2449
+ "PRESET_1",
2450
+ "PRESET_2",
2451
+ "PRESET_3",
2452
+ "PRESET_4",
2453
+ "PRESET_5",
2454
+ "PRESET_6",
2455
+ "PRESET_7",
2456
+ "PRESET_8",
2457
+ "PRESET_9",
2458
+ "PRESET_10"
2459
+ ]
2460
+ },
2461
+ "value": {
2462
+ "type": "number",
2463
+ "minimum": 0,
2464
+ "maximum": 10000000
2465
+ }
2466
+ },
2467
+ "required": [
2468
+ "enable",
2469
+ "preset",
2470
+ "value"
2471
+ ]
2472
+ },
2473
+ "Profile": {
2474
+ "type": "object",
2475
+ "properties": {
2476
+ "id": {
2477
+ "type": "string"
2478
+ },
2479
+ "name": {
2480
+ "type": "string"
2481
+ },
2482
+ "presets": {
2483
+ "type": "array",
2484
+ "items": {
2485
+ "$ref": "#/components/schemas/Preset"
2486
+ }
2487
+ },
2488
+ "watermark": {
2489
+ "type": "array",
2490
+ "items": {
2491
+ "$ref": "#/components/schemas/Watermark"
2492
+ }
2493
+ },
2494
+ "enablePTE": {
2495
+ "type": "boolean"
2496
+ }
2497
+ },
2498
+ "required": [
2499
+ "id",
2500
+ "name",
2501
+ "presets"
2502
+ ]
2503
+ },
2504
+ "ProfileSelect": {
2505
+ "type": "object",
2506
+ "properties": {
2507
+ "id": {
2508
+ "type": "string"
2509
+ },
2510
+ "multiKey": {
2511
+ "type": "string"
2512
+ },
2513
+ "modifyName": {
2514
+ "type": "string"
2515
+ }
2516
+ },
2517
+ "required": [
2518
+ "id"
2519
+ ]
2520
+ },
2521
+ "Manifest": {
2522
+ "type": "object",
2523
+ "properties": {
2524
+ "ts": {
2525
+ "type": "number"
2526
+ },
2527
+ "enableTime": {
2528
+ "type": "boolean"
2529
+ },
2530
+ "appendList": {
2531
+ "type": "boolean"
2532
+ },
2533
+ "count": {
2534
+ "type": "number"
2535
+ },
2536
+ "containerType": {
2537
+ "type": "string"
2538
+ }
2539
+ },
2540
+ "required": [
2541
+ "containerType"
2542
+ ]
2543
+ },
2544
+ "Header": {
2545
+ "type": "object",
2546
+ "properties": {
2547
+ "key": {
2548
+ "type": "string",
2549
+ "minLength": 1,
2550
+ "maxLength": 200
2551
+ },
2552
+ "value": {
2553
+ "type": "string",
2554
+ "minLength": 1,
2555
+ "maxLength": 1000
2556
+ }
2557
+ },
2558
+ "required": [
2559
+ "key",
2560
+ "value"
2561
+ ]
2562
+ },
2563
+ "DRM": {
2564
+ "type": "object",
2565
+ "properties": {
2566
+ "enable": {
2567
+ "type": "boolean"
2568
+ },
2569
+ "keyProvider": {
2570
+ "type": "string",
2571
+ "enum": [
2572
+ "static",
2573
+ "sigma-drm-v1",
2574
+ "sigma-drm",
2575
+ "sigma-multi-drm",
2576
+ "drmtoday",
2577
+ "cpix"
2578
+ ]
2579
+ },
2580
+ "key": {
2581
+ "type": "string"
2582
+ },
2583
+ "keyRotationTime": {
2584
+ "type": "number",
2585
+ "minimum": 1,
2586
+ "maximum": 43200
2587
+ },
2588
+ "keyId": {
2589
+ "type": "string"
2590
+ },
2591
+ "keyUri": {
2592
+ "type": "string"
2593
+ },
2594
+ "assetId": {
2595
+ "type": "string"
2596
+ },
2597
+ "multiKey": {
2598
+ "type": "boolean"
2599
+ },
2600
+ "drmManagementId": {
2601
+ "type": "string"
2602
+ },
2603
+ "filter": {
2604
+ "type": "array",
2605
+ "items": {
2606
+ "type": "string",
2607
+ "enum": [
2608
+ "widevine",
2609
+ "playready",
2610
+ "fairplay"
2611
+ ]
2612
+ }
2613
+ },
2614
+ "systems": {
2615
+ "type": "array",
2616
+ "items": {
2617
+ "type": "string",
2618
+ "enum": [
2619
+ "widevine",
2620
+ "playready",
2621
+ "fairplay"
2622
+ ]
2623
+ }
2624
+ },
2625
+ "endpoint": {
2626
+ "type": "string",
2627
+ "maxLength": 2048
2628
+ },
2629
+ "headers": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "$ref": "#/components/schemas/Header"
2633
+ }
2634
+ },
2635
+ "contentId": {
2636
+ "type": "string",
2637
+ "maxLength": 64,
2638
+ "pattern": "/^[a-zA-Z0-9_-]+$/"
2639
+ },
2640
+ "environment": {
2641
+ "type": "string",
2642
+ "enum": [
2643
+ "test",
2644
+ "staging",
2645
+ "production"
2646
+ ]
2647
+ }
2648
+ },
2649
+ "required": [
2650
+ "enable",
2651
+ "key",
2652
+ "keyRotationTime",
2653
+ "filter",
2654
+ "systems",
2655
+ "endpoint",
2656
+ "headers",
2657
+ "contentId",
2658
+ "environment"
2659
+ ]
2660
+ },
2661
+ "DataTarget": {
2662
+ "type": "object",
2663
+ "properties": {
2664
+ "description": {
2665
+ "type": "string"
2666
+ },
2667
+ "format": {
2668
+ "type": "string",
2669
+ "enum": [
2670
+ "hls",
2671
+ "dash",
2672
+ "mp3",
2673
+ "mp4",
2674
+ "multiple-mp4",
2675
+ "hls-dash"
2676
+ ]
2677
+ },
2678
+ "url": {
2679
+ "type": "string"
2680
+ },
2681
+ "manifest": {
2682
+ "$ref": "#/components/schemas/Manifest"
2683
+ },
2684
+ "drm": {
2685
+ "$ref": "#/components/schemas/DRM"
2686
+ },
2687
+ "name": {
2688
+ "type": "string"
2689
+ }
2690
+ },
2691
+ "required": [
2692
+ "format",
2693
+ "url",
2694
+ "manifest",
2695
+ "name"
2696
+ ]
2697
+ },
2698
+ "TrickPlay": {
2699
+ "type": "object",
2700
+ "properties": {
2701
+ "enable": {
2702
+ "type": "boolean"
2703
+ },
2704
+ "width": {
2705
+ "type": "number",
2706
+ "minimum": 50,
2707
+ "maximum": 1920
2708
+ },
2709
+ "delay": {
2710
+ "type": "number",
2711
+ "minimum": 2,
2712
+ "maximum": 30
2713
+ },
2714
+ "col": {
2715
+ "type": "number",
2716
+ "minimum": 2,
2717
+ "maximum": 50
2718
+ },
2719
+ "row": {
2720
+ "type": "number",
2721
+ "minimum": 2,
2722
+ "maximum": 50
2723
+ }
2724
+ },
2725
+ "required": [
2726
+ "enable",
2727
+ "width",
2728
+ "delay",
2729
+ "col",
2730
+ "row"
2731
+ ]
2732
+ },
2733
+ "Subtitle": {
2734
+ "type": "object",
2735
+ "properties": {
2736
+ "id": {
2737
+ "type": "string"
2738
+ },
2739
+ "language": {
2740
+ "type": "string"
2741
+ },
2742
+ "url": {
2743
+ "type": "string"
2744
+ }
2745
+ },
2746
+ "required": [
2747
+ "id",
2748
+ "language",
2749
+ "url"
2750
+ ]
2751
+ },
2752
+ "Target": {
2753
+ "type": "object",
2754
+ "properties": {
2755
+ "id": {
2756
+ "type": "string"
2757
+ },
2758
+ "profiles": {
2759
+ "type": "array",
2760
+ "items": {
2761
+ "$ref": "#/components/schemas/ProfileSelect"
2762
+ }
2763
+ },
2764
+ "name": {
2765
+ "type": "string"
2766
+ },
2767
+ "data": {
2768
+ "$ref": "#/components/schemas/DataTarget"
2769
+ },
2770
+ "trickPlay": {
2771
+ "$ref": "#/components/schemas/TrickPlay"
2772
+ },
2773
+ "subtitles": {
2774
+ "type": "array",
2775
+ "items": {
2776
+ "$ref": "#/components/schemas/Subtitle"
2777
+ }
2778
+ }
2779
+ },
2780
+ "required": [
2781
+ "id",
2782
+ "profiles",
2783
+ "name",
2784
+ "data"
2785
+ ]
2786
+ },
2787
+ "CreateJobDto": {
2788
+ "type": "object",
2789
+ "properties": {
2790
+ "machineId": {
2791
+ "type": "string"
2792
+ },
2793
+ "clusterId": {
2794
+ "type": "string"
2795
+ },
2796
+ "machineType": {
2797
+ "type": "string",
2798
+ "enum": [
2799
+ "SIGMA_MACHINE",
2800
+ "SIGMA_MACHINE_CLUSTER",
2801
+ "SIGMA_COMPONENT_CLUSTER"
2802
+ ]
2803
+ },
2804
+ "machineInClusterId": {
2805
+ "type": "string"
2806
+ },
2807
+ "input": {
2808
+ "$ref": "#/components/schemas/Input"
2809
+ },
2810
+ "destination": {
2811
+ "$ref": "#/components/schemas/DestinationDto"
2812
+ },
2813
+ "videoWatermarks": {
2814
+ "type": "array",
2815
+ "items": {
2816
+ "$ref": "#/components/schemas/Watermark"
2817
+ }
2818
+ },
2819
+ "audioWatermark": {
2820
+ "$ref": "#/components/schemas/AudioWatermark"
2821
+ },
2822
+ "enablePTE": {
2823
+ "type": "boolean"
2824
+ },
2825
+ "profiles": {
2826
+ "type": "array",
2827
+ "items": {
2828
+ "$ref": "#/components/schemas/Profile"
2829
+ }
2830
+ },
2831
+ "targets": {
2832
+ "type": "array",
2833
+ "items": {
2834
+ "$ref": "#/components/schemas/Target"
2835
+ }
2836
+ }
2837
+ },
2838
+ "required": [
2839
+ "machineType",
2840
+ "input",
2841
+ "destination",
2842
+ "enablePTE",
2843
+ "profiles",
2844
+ "targets"
2845
+ ]
2846
+ },
2847
+ "Machine": {
2848
+ "type": "object",
2849
+ "properties": {
2850
+ "id": {
2851
+ "type": "string",
2852
+ "filterable": true
2853
+ },
2854
+ "name": {
2855
+ "type": "string"
2856
+ }
2857
+ },
2858
+ "required": [
2859
+ "id",
2860
+ "name"
2861
+ ]
2862
+ },
2863
+ "Destination": {
2864
+ "type": "object",
2865
+ "properties": {
2866
+ "id": {
2867
+ "type": "string",
2868
+ "filterable": true
2869
+ },
2870
+ "createdAt": {
2871
+ "format": "date-time",
2872
+ "type": "string",
2873
+ "filterable": true,
2874
+ "description": "created at",
2875
+ "sortable": true
2876
+ },
2877
+ "updatedAt": {
2878
+ "format": "date-time",
2879
+ "type": "string",
2880
+ "filterable": true,
2881
+ "description": "updated at",
2882
+ "sortable": true
2883
+ },
2884
+ "type": {
2885
+ "type": "string",
2886
+ "enum": [
2887
+ "s3"
2888
+ ]
2889
+ },
2890
+ "s3": {
2891
+ "$ref": "#/components/schemas/S3"
2892
+ },
2893
+ "appId": {
2894
+ "type": "string"
2895
+ }
2896
+ },
2897
+ "required": [
2898
+ "type",
2899
+ "appId"
2900
+ ]
2901
+ },
2902
+ "Event": {
2903
+ "type": "object",
2904
+ "properties": {
2905
+ "status": {
2906
+ "type": "string",
2907
+ "enum": [
2908
+ "created",
2909
+ "queued",
2910
+ "encoding",
2911
+ "error",
2912
+ "complete"
2913
+ ]
2914
+ },
2915
+ "timestamp": {
2916
+ "format": "date-time",
2917
+ "type": "string"
2918
+ }
2919
+ },
2920
+ "required": [
2921
+ "status",
2922
+ "timestamp"
2923
+ ]
2924
+ },
2925
+ "Info": {
2926
+ "type": "object",
2927
+ "properties": {
2928
+ "destinationType": {
2929
+ "type": "string",
2930
+ "enum": [
2931
+ "s3",
2932
+ "ftp",
2933
+ "file",
2934
+ "asset"
2935
+ ]
2936
+ },
2937
+ "assetId": {
2938
+ "type": "string"
2939
+ },
2940
+ "url": {
2941
+ "type": "string"
2942
+ },
2943
+ "format": {
2944
+ "type": "string",
2945
+ "enum": [
2946
+ "thumbnail",
2947
+ "hls",
2948
+ "dash",
2949
+ "mp3",
2950
+ "mp4",
2951
+ "multiple-mp4",
2952
+ "hls-dash"
2953
+ ]
2954
+ },
2955
+ "size": {
2956
+ "type": "number"
2957
+ }
2958
+ },
2959
+ "required": [
2960
+ "destinationType",
2961
+ "url",
2962
+ "format"
2963
+ ]
2964
+ },
2965
+ "Output": {
2966
+ "type": "object",
2967
+ "properties": {
2968
+ "format": {
2969
+ "type": "string"
2970
+ },
2971
+ "infos": {
2972
+ "type": "array",
2973
+ "items": {
2974
+ "$ref": "#/components/schemas/Info"
2975
+ }
2976
+ },
2977
+ "profiles": {
2978
+ "type": "array",
2979
+ "items": {
2980
+ "$ref": "#/components/schemas/Profile"
2981
+ }
2982
+ },
2983
+ "name": {
2984
+ "type": "string"
2985
+ },
2986
+ "duration": {
2987
+ "type": "number"
2988
+ }
2989
+ },
2990
+ "required": [
2991
+ "format",
2992
+ "profiles",
2993
+ "name",
2994
+ "duration"
2995
+ ]
2996
+ },
2997
+ "Job": {
2998
+ "type": "object",
2999
+ "properties": {
3000
+ "id": {
3001
+ "type": "string",
3002
+ "filterable": true,
3003
+ "description": "job Identify"
3004
+ },
3005
+ "name": {
3006
+ "type": "string",
3007
+ "filterable": true,
3008
+ "sortable": true
3009
+ },
3010
+ "duration": {
3011
+ "type": "number",
3012
+ "sortable": true,
3013
+ "filterable": true
3014
+ },
3015
+ "size": {
3016
+ "type": "number",
3017
+ "sortable": true
3018
+ },
3019
+ "estimatedTimeDuration": {
3020
+ "type": "number",
3021
+ "sortable": true
3022
+ },
3023
+ "fileInfo": {
3024
+ "sortable": true,
3025
+ "filterable": true,
3026
+ "allOf": [
3027
+ {
3028
+ "$ref": "#/components/schemas/InputInfo"
3029
+ }
3030
+ ]
3031
+ },
3032
+ "status": {
3033
+ "enum": [
3034
+ "created",
3035
+ "queued",
3036
+ "encoding",
3037
+ "error",
3038
+ "complete"
3039
+ ],
3040
+ "type": "string",
3041
+ "filterable": true
3042
+ },
3043
+ "createdAt": {
3044
+ "format": "date-time",
3045
+ "type": "string",
3046
+ "filterable": true,
3047
+ "description": "created at",
3048
+ "sortable": true
3049
+ },
3050
+ "updatedAt": {
3051
+ "format": "date-time",
3052
+ "type": "string",
3053
+ "filterable": true,
3054
+ "description": "updated at",
3055
+ "sortable": true
3056
+ },
3057
+ "watchFileId": {
3058
+ "type": "string",
3059
+ "filterable": true
3060
+ },
3061
+ "batchJobId": {
3062
+ "type": "string",
3063
+ "filterable": true
3064
+ },
3065
+ "machineId": {
3066
+ "type": "string"
3067
+ },
3068
+ "clusterId": {
3069
+ "type": "string"
3070
+ },
3071
+ "machineType": {
3072
+ "enum": [
3073
+ "SIGMA_MACHINE",
3074
+ "SIGMA_MACHINE_CLUSTER",
3075
+ "SIGMA_COMPONENT_CLUSTER"
3076
+ ],
3077
+ "type": "string"
3078
+ },
3079
+ "machineInClusterId": {
3080
+ "type": "string"
3081
+ },
3082
+ "machine": {
3083
+ "$ref": "#/components/schemas/Machine"
3084
+ },
3085
+ "input": {
3086
+ "$ref": "#/components/schemas/Input"
3087
+ },
3088
+ "destination": {
3089
+ "$ref": "#/components/schemas/Destination"
3090
+ },
3091
+ "videoWatermarks": {
3092
+ "type": "array",
3093
+ "items": {
3094
+ "$ref": "#/components/schemas/Watermark"
3095
+ }
3096
+ },
3097
+ "audioWatermark": {
3098
+ "$ref": "#/components/schemas/AudioWatermark"
3099
+ },
3100
+ "targets": {
3101
+ "type": "array",
3102
+ "items": {
3103
+ "$ref": "#/components/schemas/Target"
3104
+ }
3105
+ },
3106
+ "enablePTE": {
3107
+ "type": "boolean"
3108
+ },
3109
+ "usePTE": {
3110
+ "type": "boolean"
3111
+ },
3112
+ "profiles": {
3113
+ "type": "array",
3114
+ "items": {
3115
+ "$ref": "#/components/schemas/Profile"
3116
+ }
3117
+ },
3118
+ "events": {
3119
+ "type": "array",
3120
+ "items": {
3121
+ "$ref": "#/components/schemas/Event"
3122
+ }
3123
+ },
3124
+ "progress": {
3125
+ "type": "number"
3126
+ },
3127
+ "error": {
3128
+ "type": "string"
3129
+ },
3130
+ "outputs": {
3131
+ "type": "array",
3132
+ "items": {
3133
+ "$ref": "#/components/schemas/Output"
3134
+ }
3135
+ },
3136
+ "appId": {
3137
+ "type": "string"
3138
+ }
3139
+ },
3140
+ "required": [
3141
+ "id",
3142
+ "name",
3143
+ "duration",
3144
+ "size",
3145
+ "estimatedTimeDuration",
3146
+ "fileInfo",
3147
+ "status",
3148
+ "machineId",
3149
+ "machineType",
3150
+ "input",
3151
+ "destination",
3152
+ "videoWatermarks",
3153
+ "audioWatermark",
3154
+ "targets",
3155
+ "enablePTE",
3156
+ "usePTE",
3157
+ "profiles",
3158
+ "events",
3159
+ "progress",
3160
+ "outputs",
3161
+ "appId"
3162
+ ]
3163
+ },
3164
+ "JobInfoCollection": {
3165
+ "type": "object",
3166
+ "properties": {
3167
+ "data": {
3168
+ "readOnly": true,
3169
+ "type": "array",
3170
+ "items": {
3171
+ "$ref": "#/components/schemas/Job"
3172
+ }
3173
+ },
3174
+ "count": {
3175
+ "type": "number",
3176
+ "readOnly": true
3177
+ },
3178
+ "total": {
3179
+ "type": "number",
3180
+ "readOnly": true
3181
+ },
3182
+ "page": {
3183
+ "type": "number",
3184
+ "readOnly": true
3185
+ },
3186
+ "perPage": {
3187
+ "type": "number",
3188
+ "readOnly": true
3189
+ }
3190
+ },
3191
+ "required": [
3192
+ "count",
3193
+ "total",
3194
+ "page",
3195
+ "perPage"
3196
+ ]
3197
+ },
3198
+ "CreateJobByWatchFileDto": {
3199
+ "type": "object",
3200
+ "properties": {
3201
+ "filePath": {
3202
+ "type": "string"
3203
+ },
3204
+ "watchFileId": {
3205
+ "type": "string"
3206
+ }
3207
+ },
3208
+ "required": [
3209
+ "filePath",
3210
+ "watchFileId"
3211
+ ]
3212
+ },
3213
+ "CreateJobByBatchJobDto": {
3214
+ "type": "object",
3215
+ "properties": {
3216
+ "type": {
3217
+ "type": "object"
3218
+ },
3219
+ "file": {
3220
+ "type": "string"
3221
+ },
3222
+ "videoUrl": {
3223
+ "type": "string"
3224
+ },
3225
+ "batchJobId": {
3226
+ "type": "string"
3227
+ }
3228
+ },
3229
+ "required": [
3230
+ "type",
3231
+ "batchJobId"
3232
+ ]
3233
+ },
3234
+ "BatchJobInput": {
3235
+ "type": "object",
3236
+ "properties": {
3237
+ "type": {
3238
+ "type": "string",
3239
+ "enum": [
3240
+ "file",
3241
+ "url"
3242
+ ]
3243
+ },
3244
+ "videoUrls": {
3245
+ "type": "array",
3246
+ "items": {
3247
+ "type": "string"
3248
+ }
3249
+ },
3250
+ "folder": {
3251
+ "type": "string"
3252
+ },
3253
+ "fileNames": {
3254
+ "type": "array",
3255
+ "items": {
3256
+ "type": "string"
3257
+ }
3258
+ }
3259
+ },
3260
+ "required": [
3261
+ "type"
3262
+ ]
3263
+ },
3264
+ "Rule": {
3265
+ "type": "object",
3266
+ "properties": {
3267
+ "field": {
3268
+ "type": "string",
3269
+ "enum": [
3270
+ "path",
3271
+ "bitrate",
3272
+ "width",
3273
+ "height",
3274
+ "fps",
3275
+ "size",
3276
+ "codec",
3277
+ "duration",
3278
+ "fileInfo"
3279
+ ]
3280
+ },
3281
+ "operator": {
3282
+ "type": "string",
3283
+ "enum": [
3284
+ "contains",
3285
+ "not_contains",
3286
+ "equal",
3287
+ "not_equal",
3288
+ "less",
3289
+ "less_or_equal",
3290
+ "greater",
3291
+ "greater_or_equal",
3292
+ "in",
3293
+ "not_in",
3294
+ "between",
3295
+ "not_between",
3296
+ "is_empty",
3297
+ "is_not_empty",
3298
+ "regex"
3299
+ ]
3300
+ },
3301
+ "value": {
3302
+ "type": "object"
3303
+ },
3304
+ "condition": {
3305
+ "type": "string",
3306
+ "enum": [
3307
+ "AND",
3308
+ "OR"
3309
+ ]
3310
+ },
3311
+ "rules": {
3312
+ "type": "array",
3313
+ "items": {
3314
+ "$ref": "#/components/schemas/Rule"
3315
+ }
3316
+ }
3317
+ }
3318
+ },
3319
+ "BatchJobResult": {
3320
+ "type": "object",
3321
+ "properties": {
3322
+ "complete": {
3323
+ "type": "string",
3324
+ "filterable": true
3325
+ },
3326
+ "error": {
3327
+ "type": "string"
3328
+ }
3329
+ },
3330
+ "required": [
3331
+ "complete",
3332
+ "error"
3333
+ ]
3334
+ },
3335
+ "BatchJob": {
3336
+ "type": "object",
3337
+ "properties": {
3338
+ "createdAt": {
3339
+ "format": "date-time",
3340
+ "type": "string",
3341
+ "filterable": true,
3342
+ "description": "created at",
3343
+ "sortable": true
3344
+ },
3345
+ "updatedAt": {
3346
+ "format": "date-time",
3347
+ "type": "string",
3348
+ "filterable": true,
3349
+ "description": "updated at",
3350
+ "sortable": true
3351
+ },
3352
+ "name": {
3353
+ "type": "string",
3354
+ "filterable": true,
3355
+ "description": "name",
3356
+ "sortable": true
3357
+ },
3358
+ "status": {
3359
+ "enum": [
3360
+ "created",
3361
+ "queue",
3362
+ "processing",
3363
+ "stopped",
3364
+ "completed"
3365
+ ],
3366
+ "type": "string",
3367
+ "filterable": true
3368
+ },
3369
+ "appId": {
3370
+ "type": "string",
3371
+ "filterable": true,
3372
+ "description": "app Id",
3373
+ "sortable": true
3374
+ },
3375
+ "id": {
3376
+ "type": "string"
3377
+ },
3378
+ "input": {
3379
+ "$ref": "#/components/schemas/BatchJobInput"
3380
+ },
3381
+ "condition": {
3382
+ "$ref": "#/components/schemas/Rule"
3383
+ },
3384
+ "targets": {
3385
+ "type": "array",
3386
+ "items": {
3387
+ "$ref": "#/components/schemas/Target"
3388
+ }
3389
+ },
3390
+ "profiles": {
3391
+ "type": "array",
3392
+ "items": {
3393
+ "$ref": "#/components/schemas/Profile"
3394
+ }
3395
+ },
3396
+ "destination": {
3397
+ "$ref": "#/components/schemas/Destination"
3398
+ },
3399
+ "machine": {
3400
+ "$ref": "#/components/schemas/Machine"
3401
+ },
3402
+ "machineId": {
3403
+ "type": "string"
3404
+ },
3405
+ "clusterId": {
3406
+ "type": "string"
3407
+ },
3408
+ "machineType": {
3409
+ "enum": [
3410
+ "SIGMA_MACHINE",
3411
+ "SIGMA_MACHINE_CLUSTER",
3412
+ "SIGMA_COMPONENT_CLUSTER"
3413
+ ],
3414
+ "type": "string"
3415
+ },
3416
+ "machineInClusterId": {
3417
+ "type": "string"
3418
+ },
3419
+ "progress": {
3420
+ "type": "number"
3421
+ },
3422
+ "totalInput": {
3423
+ "type": "number"
3424
+ },
3425
+ "currentIndex": {
3426
+ "type": "number"
3427
+ },
3428
+ "result": {
3429
+ "$ref": "#/components/schemas/BatchJobResult"
3430
+ }
3431
+ },
3432
+ "required": [
3433
+ "name",
3434
+ "status",
3435
+ "input",
3436
+ "condition",
3437
+ "targets",
3438
+ "profiles",
3439
+ "destination",
3440
+ "machineType",
3441
+ "progress",
3442
+ "totalInput",
3443
+ "currentIndex"
3444
+ ]
3445
+ },
3446
+ "ConditionRule": {
3447
+ "type": "object",
3448
+ "properties": {
3449
+ "field": {
3450
+ "type": "string",
3451
+ "enum": [
3452
+ "path",
3453
+ "bitrate",
3454
+ "width",
3455
+ "height",
3456
+ "fps",
3457
+ "size",
3458
+ "codec",
3459
+ "duration",
3460
+ "fileInfo"
3461
+ ]
3462
+ },
3463
+ "rules": {
3464
+ "type": "array",
3465
+ "items": {
3466
+ "$ref": "#/components/schemas/Rule"
3467
+ }
3468
+ },
3469
+ "condition": {
3470
+ "type": "string",
3471
+ "enum": [
3472
+ "AND",
3473
+ "OR"
3474
+ ]
3475
+ },
3476
+ "input": {
3477
+ "type": "string"
3478
+ }
3479
+ },
3480
+ "required": [
3481
+ "input"
3482
+ ]
3483
+ },
3484
+ "CreateWatchFile": {
3485
+ "type": "object",
3486
+ "properties": {
3487
+ "folder": {
3488
+ "type": "string"
3489
+ },
3490
+ "name": {
3491
+ "type": "string"
3492
+ },
3493
+ "machineId": {
3494
+ "type": "string"
3495
+ },
3496
+ "condition": {
3497
+ "$ref": "#/components/schemas/ConditionRule"
3498
+ },
3499
+ "destination": {
3500
+ "$ref": "#/components/schemas/DestinationDto"
3501
+ },
3502
+ "profiles": {
3503
+ "type": "array",
3504
+ "items": {
3505
+ "$ref": "#/components/schemas/Profile"
3506
+ }
3507
+ },
3508
+ "targets": {
3509
+ "type": "array",
3510
+ "items": {
3511
+ "$ref": "#/components/schemas/Target"
3512
+ }
3513
+ }
3514
+ },
3515
+ "required": [
3516
+ "folder",
3517
+ "name",
3518
+ "machineId",
3519
+ "condition",
3520
+ "destination",
3521
+ "profiles",
3522
+ "targets"
3523
+ ]
3524
+ },
3525
+ "WatchFile": {
3526
+ "type": "object",
3527
+ "properties": {
3528
+ "id": {
3529
+ "type": "string",
3530
+ "filterable": true,
3531
+ "description": "job Identify"
3532
+ },
3533
+ "createdAt": {
3534
+ "format": "date-time",
3535
+ "type": "string",
3536
+ "filterable": true,
3537
+ "description": "created at",
3538
+ "sortable": true
3539
+ },
3540
+ "updatedAt": {
3541
+ "format": "date-time",
3542
+ "type": "string",
3543
+ "filterable": true,
3544
+ "description": "updated at",
3545
+ "sortable": true
3546
+ },
3547
+ "name": {
3548
+ "type": "string",
3549
+ "filterable": true,
3550
+ "description": "name",
3551
+ "sortable": true
3552
+ },
3553
+ "status": {
3554
+ "enum": [
3555
+ "active",
3556
+ "inactive"
3557
+ ],
3558
+ "type": "string",
3559
+ "filterable": true
3560
+ },
3561
+ "condition": {
3562
+ "$ref": "#/components/schemas/Rule"
3563
+ },
3564
+ "folder": {
3565
+ "type": "string"
3566
+ },
3567
+ "targets": {
3568
+ "type": "array",
3569
+ "items": {
3570
+ "$ref": "#/components/schemas/Target"
3571
+ }
3572
+ },
3573
+ "profiles": {
3574
+ "type": "array",
3575
+ "items": {
3576
+ "$ref": "#/components/schemas/Profile"
3577
+ }
3578
+ },
3579
+ "destination": {
3580
+ "$ref": "#/components/schemas/Destination"
3581
+ },
3582
+ "machine": {
3583
+ "$ref": "#/components/schemas/Machine"
3584
+ },
3585
+ "machineId": {
3586
+ "type": "string"
3587
+ },
3588
+ "appId": {
3589
+ "type": "string"
3590
+ }
3591
+ },
3592
+ "required": [
3593
+ "id",
3594
+ "name",
3595
+ "status",
3596
+ "condition",
3597
+ "folder",
3598
+ "targets",
3599
+ "profiles",
3600
+ "destination",
3601
+ "appId"
3602
+ ]
3603
+ },
3604
+ "UpdateWatchFileDto": {
3605
+ "type": "object",
3606
+ "properties": {
3607
+ "folder": {
3608
+ "type": "string"
3609
+ },
3610
+ "name": {
3611
+ "type": "string"
3612
+ },
3613
+ "machineId": {
3614
+ "type": "string"
3615
+ },
3616
+ "condition": {
3617
+ "$ref": "#/components/schemas/ConditionRule"
3618
+ },
3619
+ "destination": {
3620
+ "$ref": "#/components/schemas/DestinationDto"
3621
+ },
3622
+ "profiles": {
3623
+ "type": "array",
3624
+ "items": {
3625
+ "$ref": "#/components/schemas/Profile"
3626
+ }
3627
+ },
3628
+ "targets": {
3629
+ "type": "array",
3630
+ "items": {
3631
+ "$ref": "#/components/schemas/Target"
3632
+ }
3633
+ }
3634
+ }
3635
+ },
3636
+ "WatchFileCollection": {
3637
+ "type": "object",
3638
+ "properties": {
3639
+ "data": {
3640
+ "readOnly": true,
3641
+ "type": "array",
3642
+ "items": {
3643
+ "$ref": "#/components/schemas/WatchFile"
3644
+ }
3645
+ },
3646
+ "count": {
3647
+ "type": "number",
3648
+ "readOnly": true
3649
+ },
3650
+ "total": {
3651
+ "type": "number",
3652
+ "readOnly": true
3653
+ },
3654
+ "page": {
3655
+ "type": "number",
3656
+ "readOnly": true
3657
+ },
3658
+ "perPage": {
3659
+ "type": "number",
3660
+ "readOnly": true
3661
+ }
3662
+ },
3663
+ "required": [
3664
+ "count",
3665
+ "total",
3666
+ "page",
3667
+ "perPage"
3668
+ ]
3669
+ },
3670
+ "InputBatchJob": {
3671
+ "type": "object",
3672
+ "properties": {
3673
+ "type": {
3674
+ "type": "string",
3675
+ "enum": [
3676
+ "file",
3677
+ "url"
3678
+ ]
3679
+ },
3680
+ "videoUrls": {
3681
+ "type": "array",
3682
+ "items": {
3683
+ "type": "string"
3684
+ }
3685
+ },
3686
+ "folder": {
3687
+ "type": "string"
3688
+ }
3689
+ },
3690
+ "required": [
3691
+ "type"
3692
+ ]
3693
+ },
3694
+ "CreateBatchJobDto": {
3695
+ "type": "object",
3696
+ "properties": {
3697
+ "name": {
3698
+ "type": "string"
3699
+ },
3700
+ "input": {
3701
+ "$ref": "#/components/schemas/InputBatchJob"
3702
+ },
3703
+ "machineId": {
3704
+ "type": "string"
3705
+ },
3706
+ "clusterId": {
3707
+ "type": "string"
3708
+ },
3709
+ "machineType": {
3710
+ "type": "string",
3711
+ "enum": [
3712
+ "SIGMA_MACHINE",
3713
+ "SIGMA_MACHINE_CLUSTER",
3714
+ "SIGMA_COMPONENT_CLUSTER"
3715
+ ]
3716
+ },
3717
+ "machineInClusterId": {
3718
+ "type": "string"
3719
+ },
3720
+ "condition": {
3721
+ "$ref": "#/components/schemas/ConditionRule"
3722
+ },
3723
+ "destination": {
3724
+ "$ref": "#/components/schemas/DestinationDto"
3725
+ },
3726
+ "profiles": {
3727
+ "type": "array",
3728
+ "items": {
3729
+ "$ref": "#/components/schemas/Profile"
3730
+ }
3731
+ },
3732
+ "targets": {
3733
+ "type": "array",
3734
+ "items": {
3735
+ "$ref": "#/components/schemas/Target"
3736
+ }
3737
+ }
3738
+ },
3739
+ "required": [
3740
+ "name",
3741
+ "input",
3742
+ "machineId",
3743
+ "machineType",
3744
+ "condition",
3745
+ "destination",
3746
+ "profiles",
3747
+ "targets"
3748
+ ]
3749
+ },
3750
+ "BatchJobCollection": {
3751
+ "type": "object",
3752
+ "properties": {
3753
+ "data": {
3754
+ "readOnly": true,
3755
+ "type": "array",
3756
+ "items": {
3757
+ "$ref": "#/components/schemas/BatchJob"
3758
+ }
3759
+ },
3760
+ "count": {
3761
+ "type": "number",
3762
+ "readOnly": true
3763
+ },
3764
+ "total": {
3765
+ "type": "number",
3766
+ "readOnly": true
3767
+ },
3768
+ "page": {
3769
+ "type": "number",
3770
+ "readOnly": true
3771
+ },
3772
+ "perPage": {
3773
+ "type": "number",
3774
+ "readOnly": true
3775
+ }
3776
+ },
3777
+ "required": [
3778
+ "count",
3779
+ "total",
3780
+ "page",
3781
+ "perPage"
3782
+ ]
3783
+ },
3784
+ "CreateTemplateDto": {
3785
+ "type": "object",
3786
+ "properties": {
3787
+ "name": {
3788
+ "type": "string",
3789
+ "minLength": 1,
3790
+ "maxLength": 50
3791
+ },
3792
+ "targets": {
3793
+ "type": "array",
3794
+ "items": {
3795
+ "$ref": "#/components/schemas/Target"
3796
+ }
3797
+ },
3798
+ "profiles": {
3799
+ "type": "array",
3800
+ "items": {
3801
+ "$ref": "#/components/schemas/Profile"
3802
+ }
3803
+ }
3804
+ },
3805
+ "required": [
3806
+ "name",
3807
+ "targets",
3808
+ "profiles"
3809
+ ]
3810
+ },
3811
+ "Template": {
3812
+ "type": "object",
3813
+ "properties": {
3814
+ "name": {
3815
+ "type": "string",
3816
+ "filterable": true
3817
+ },
3818
+ "createdAt": {
3819
+ "format": "date-time",
3820
+ "type": "string",
3821
+ "filterable": true,
3822
+ "description": "created at",
3823
+ "sortable": true
3824
+ },
3825
+ "appId": {
3826
+ "type": "string",
3827
+ "filterable": true,
3828
+ "description": "appId",
3829
+ "sortable": true
3830
+ },
3831
+ "isDefault": {
3832
+ "type": "boolean",
3833
+ "filterable": true
3834
+ },
3835
+ "updatedAt": {
3836
+ "format": "date-time",
3837
+ "type": "string",
3838
+ "filterable": true,
3839
+ "description": "updated at",
3840
+ "sortable": true
3841
+ },
3842
+ "id": {
3843
+ "type": "string"
3844
+ },
3845
+ "targets": {
3846
+ "type": "array",
3847
+ "items": {
3848
+ "$ref": "#/components/schemas/Target"
3849
+ }
3850
+ },
3851
+ "profiles": {
3852
+ "type": "array",
3853
+ "items": {
3854
+ "$ref": "#/components/schemas/Profile"
3855
+ }
3856
+ }
3857
+ },
3858
+ "required": [
3859
+ "name",
3860
+ "appId",
3861
+ "isDefault",
3862
+ "id"
3863
+ ]
3864
+ },
3865
+ "TemplateCollection": {
3866
+ "type": "object",
3867
+ "properties": {
3868
+ "data": {
3869
+ "readOnly": true,
3870
+ "type": "array",
3871
+ "items": {
3872
+ "$ref": "#/components/schemas/Template"
3873
+ }
3874
+ },
3875
+ "count": {
3876
+ "type": "number",
3877
+ "readOnly": true
3878
+ },
3879
+ "total": {
3880
+ "type": "number",
3881
+ "readOnly": true
3882
+ },
3883
+ "page": {
3884
+ "type": "number",
3885
+ "readOnly": true
3886
+ },
3887
+ "perPage": {
3888
+ "type": "number",
3889
+ "readOnly": true
3890
+ }
3891
+ },
3892
+ "required": [
3893
+ "count",
3894
+ "total",
3895
+ "page",
3896
+ "perPage"
3897
+ ]
3898
+ },
3899
+ "UpdateTemplateDto": {
3900
+ "type": "object",
3901
+ "properties": {
3902
+ "name": {
3903
+ "type": "string",
3904
+ "minLength": 1,
3905
+ "maxLength": 50
3906
+ },
3907
+ "targets": {
3908
+ "type": "array",
3909
+ "items": {
3910
+ "$ref": "#/components/schemas/Target"
3911
+ }
3912
+ },
3913
+ "profiles": {
3914
+ "type": "array",
3915
+ "items": {
3916
+ "$ref": "#/components/schemas/Profile"
3917
+ }
3918
+ }
3919
+ }
3920
+ },
3921
+ "CreateThirdPartyDto": {
3922
+ "type": "object",
3923
+ "properties": {
3924
+ "type": {
3925
+ "type": "string",
3926
+ "enum": [
3927
+ "s3"
3928
+ ]
3929
+ },
3930
+ "s3": {
3931
+ "$ref": "#/components/schemas/S3"
3932
+ }
3933
+ },
3934
+ "required": [
3935
+ "type"
3936
+ ]
3937
+ },
3938
+ "DestinationCollection": {
3939
+ "type": "object",
3940
+ "properties": {
3941
+ "data": {
3942
+ "readOnly": true,
3943
+ "type": "array",
3944
+ "items": {
3945
+ "$ref": "#/components/schemas/Destination"
3946
+ }
3947
+ },
3948
+ "count": {
3949
+ "type": "number",
3950
+ "readOnly": true
3951
+ },
3952
+ "total": {
3953
+ "type": "number",
3954
+ "readOnly": true
3955
+ },
3956
+ "page": {
3957
+ "type": "number",
3958
+ "readOnly": true
3959
+ },
3960
+ "perPage": {
3961
+ "type": "number",
3962
+ "readOnly": true
3963
+ }
3964
+ },
3965
+ "required": [
3966
+ "count",
3967
+ "total",
3968
+ "page",
3969
+ "perPage"
3970
+ ]
3971
+ }
3972
+ }
3973
+ }
3974
+ }