@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.
- package/README.md +1 -0
- package/hyrd-ui.preset.ts +463 -0
- package/i18n.config.ts +3 -0
- package/locales/en.yaml +719 -0
- package/locales/vi.yaml +726 -0
- package/nuxt-config.ts +23 -0
- package/nuxt.config.ts +267 -0
- package/package.json +119 -0
- package/public/routes.json +34 -0
- package/src/MediaInfoModule.wasm +0 -0
- package/src/api/api.ts +15 -0
- package/src/api/axios.ts +125 -0
- package/src/api/service-loading.ts +50 -0
- package/src/api-client-auth/.openapi-generator/FILES +83 -0
- package/src/api-client-auth/.openapi-generator/VERSION +1 -0
- package/src/api-client-auth/.openapi-generator-ignore +23 -0
- package/src/api-client-auth/api/admin-groups-api.ts +612 -0
- package/src/api-client-auth/api/admin-members-api.ts +708 -0
- package/src/api-client-auth/api/administration-api-groups-api.ts +547 -0
- package/src/api-client-auth/api/administration-apps-api.ts +709 -0
- package/src/api-client-auth/api/administration-packages-api.ts +547 -0
- package/src/api-client-auth/api/api-groups-api.ts +296 -0
- package/src/api-client-auth/api/apps-api.ts +1613 -0
- package/src/api-client-auth/api/basic-credential-api.ts +950 -0
- package/src/api-client-auth/api/groups-api.ts +702 -0
- package/src/api-client-auth/api/members-api.ts +708 -0
- package/src/api-client-auth/api/members-on-premise-api.ts +351 -0
- package/src/api-client-auth/api/packages-api.ts +296 -0
- package/src/api-client-auth/api/users-api.ts +1387 -0
- package/src/api-client-auth/api.ts +30 -0
- package/src/api-client-auth/base.ts +72 -0
- package/src/api-client-auth/common.ts +150 -0
- package/src/api-client-auth/configuration.ts +101 -0
- package/src/api-client-auth/git_push.sh +57 -0
- package/src/api-client-auth/index.ts +18 -0
- package/src/api-client-auth/models/add-member-dto.ts +42 -0
- package/src/api-client-auth/models/admin-permission.ts +44 -0
- package/src/api-client-auth/models/api-group-collection.ts +57 -0
- package/src/api-client-auth/models/api-group.ts +80 -0
- package/src/api-client-auth/models/api.ts +44 -0
- package/src/api-client-auth/models/app-collection.ts +57 -0
- package/src/api-client-auth/models/app.ts +147 -0
- package/src/api-client-auth/models/backdoor-cred.ts +39 -0
- package/src/api-client-auth/models/basic-cred-collection.ts +57 -0
- package/src/api-client-auth/models/basic-cred.ts +83 -0
- package/src/api-client-auth/models/change-password-dto.ts +42 -0
- package/src/api-client-auth/models/create-admin-group-dto.ts +39 -0
- package/src/api-client-auth/models/create-api-group-dto.ts +42 -0
- package/src/api-client-auth/models/create-app-by-user-dto.ts +36 -0
- package/src/api-client-auth/models/create-app-dto.ts +65 -0
- package/src/api-client-auth/models/create-basic-cred-dto.ts +39 -0
- package/src/api-client-auth/models/create-group-dto.ts +39 -0
- package/src/api-client-auth/models/create-package-dto.ts +48 -0
- package/src/api-client-auth/models/create-user-dto.ts +60 -0
- package/src/api-client-auth/models/free-trial.ts +54 -0
- package/src/api-client-auth/models/general-app.ts +48 -0
- package/src/api-client-auth/models/generate-app-id.ts +30 -0
- package/src/api-client-auth/models/group-collection.ts +57 -0
- package/src/api-client-auth/models/group.ts +75 -0
- package/src/api-client-auth/models/index.ts +60 -0
- package/src/api-client-auth/models/invite-email-dto.ts +30 -0
- package/src/api-client-auth/models/invite-member-dto.ts +36 -0
- package/src/api-client-auth/models/live-stream-quota.ts +42 -0
- package/src/api-client-auth/models/login-dto.ts +36 -0
- package/src/api-client-auth/models/login-result.ts +39 -0
- package/src/api-client-auth/models/member-collection.ts +57 -0
- package/src/api-client-auth/models/member.ts +92 -0
- package/src/api-client-auth/models/package-collection.ts +57 -0
- package/src/api-client-auth/models/package-permission.ts +44 -0
- package/src/api-client-auth/models/package.ts +66 -0
- package/src/api-client-auth/models/permission.ts +44 -0
- package/src/api-client-auth/models/quota.ts +45 -0
- package/src/api-client-auth/models/re-get-password-dto.ts +30 -0
- package/src/api-client-auth/models/register-dto.ts +54 -0
- package/src/api-client-auth/models/register-through-email-dto.ts +36 -0
- package/src/api-client-auth/models/rename-app-dto.ts +30 -0
- package/src/api-client-auth/models/resend-confirmation-dto.ts +30 -0
- package/src/api-client-auth/models/resend-invitation-dto.ts +30 -0
- package/src/api-client-auth/models/resend-result.ts +36 -0
- package/src/api-client-auth/models/reset-password-dto.ts +36 -0
- package/src/api-client-auth/models/revoke-basic-dto.ts +38 -0
- package/src/api-client-auth/models/signup-result.ts +45 -0
- package/src/api-client-auth/models/token-check-result.ts +36 -0
- package/src/api-client-auth/models/trial-remaining-days.ts +42 -0
- package/src/api-client-auth/models/update-admin-group-dto.ts +39 -0
- package/src/api-client-auth/models/update-api-group-dto.ts +30 -0
- package/src/api-client-auth/models/update-app-by-admin-dto.ts +48 -0
- package/src/api-client-auth/models/update-app-by-user-dto.ts +36 -0
- package/src/api-client-auth/models/update-basic-cred-dto.ts +30 -0
- package/src/api-client-auth/models/update-group-dto.ts +39 -0
- package/src/api-client-auth/models/update-member-dto.ts +30 -0
- package/src/api-client-auth/models/update-package-dto.ts +42 -0
- package/src/api-client-auth/models/update-password-member-dto.ts +30 -0
- package/src/api-client-auth/models/update-user-by-user-dto.ts +48 -0
- package/src/api-client-auth/models/user.ts +120 -0
- package/src/api-client-auth/models/validate-app-id.ts +36 -0
- package/src/api-client-billing/.openapi-generator/FILES +38 -0
- package/src/api-client-billing/.openapi-generator/VERSION +1 -0
- package/src/api-client-billing/.openapi-generator-ignore +23 -0
- package/src/api-client-billing/api/invoice-api.ts +363 -0
- package/src/api-client-billing/api/payment-methods-api.ts +414 -0
- package/src/api-client-billing/api/payment-plan-api.ts +121 -0
- package/src/api-client-billing/api/subscriptions-api.ts +121 -0
- package/src/api-client-billing/api/usages-api.ts +121 -0
- package/src/api-client-billing/api/vnpay-provider-api.ts +327 -0
- package/src/api-client-billing/api.ts +23 -0
- package/src/api-client-billing/base.ts +72 -0
- package/src/api-client-billing/common.ts +150 -0
- package/src/api-client-billing/configuration.ts +101 -0
- package/src/api-client-billing/git_push.sh +57 -0
- package/src/api-client-billing/index.ts +18 -0
- package/src/api-client-billing/models/common-paginate-response.ts +48 -0
- package/src/api-client-billing/models/dto-billing-item-info.ts +60 -0
- package/src/api-client-billing/models/dto-billing-item.ts +36 -0
- package/src/api-client-billing/models/dto-create-draft-invoice-request.ts +33 -0
- package/src/api-client-billing/models/dto-create-draft-invoice-response.ts +57 -0
- package/src/api-client-billing/models/dto-create-vnpay-card-form.ts +48 -0
- package/src/api-client-billing/models/dto-return-uri-response.ts +30 -0
- package/src/api-client-billing/models/index.ts +22 -0
- package/src/api-client-billing/models/invoices-get200-response.ts +42 -0
- package/src/api-client-billing/models/model-charge.ts +47 -0
- package/src/api-client-billing/models/model-charges-usage.ts +57 -0
- package/src/api-client-billing/models/model-graduated-range.ts +48 -0
- package/src/api-client-billing/models/model-info.ts +42 -0
- package/src/api-client-billing/models/model-invoice.ts +105 -0
- package/src/api-client-billing/models/model-item-usage.ts +54 -0
- package/src/api-client-billing/models/model-payment-method.ts +135 -0
- package/src/api-client-billing/models/model-product.ts +51 -0
- package/src/api-client-billing/models/model-properties.ts +39 -0
- package/src/api-client-billing/models/model-quota.ts +48 -0
- package/src/api-client-billing/models/model-subscription.ts +51 -0
- package/src/api-client-billing/models/model-usage-payment.ts +87 -0
- package/src/api-client-billing/models/payment-methods-get200-response.ts +42 -0
- package/src/api-client-billing/models/subscriptions-get200-response.ts +42 -0
- package/src/api-client-machine/.openapi-generator/FILES +90 -0
- package/src/api-client-machine/.openapi-generator/VERSION +1 -0
- package/src/api-client-machine/.openapi-generator-ignore +23 -0
- package/src/api-client-machine/api/apps-config-api.ts +523 -0
- package/src/api-client-machine/api/component-clusters-api.ts +741 -0
- package/src/api-client-machine/api/expose-api.ts +141 -0
- package/src/api-client-machine/api/machine-actions-api.ts +850 -0
- package/src/api-client-machine/api/machines-api.ts +524 -0
- package/src/api-client-machine/api/networks-api.ts +375 -0
- package/src/api-client-machine/api/sigma-clusters-api.ts +741 -0
- package/src/api-client-machine/api/sigma-machine-actions-api.ts +292 -0
- package/src/api-client-machine/api/sigma-machine-apps-configuration-api.ts +523 -0
- package/src/api-client-machine/api/sigma-machines-api.ts +557 -0
- package/src/api-client-machine/api/sigma-vod-server-api.ts +478 -0
- package/src/api-client-machine/api/sigma-vod-server-app-config-api.ts +980 -0
- package/src/api-client-machine/api/transcoder-configuration-api.ts +359 -0
- package/src/api-client-machine/api.ts +30 -0
- package/src/api-client-machine/base.ts +72 -0
- package/src/api-client-machine/common.ts +150 -0
- package/src/api-client-machine/configuration.ts +101 -0
- package/src/api-client-machine/git_push.sh +57 -0
- package/src/api-client-machine/index.ts +18 -0
- package/src/api-client-machine/models/actions-to-app-dto.ts +38 -0
- package/src/api-client-machine/models/add-license-machine-dto.ts +30 -0
- package/src/api-client-machine/models/app-status.ts +47 -0
- package/src/api-client-machine/models/check-quota-limit-result.ts +36 -0
- package/src/api-client-machine/models/cluster-log.ts +54 -0
- package/src/api-client-machine/models/component-cluster-collection.ts +57 -0
- package/src/api-client-machine/models/component-cluster.ts +116 -0
- package/src/api-client-machine/models/create-component-machine-cluster-dto.ts +86 -0
- package/src/api-client-machine/models/create-sigma-machine-cluster-dto.ts +77 -0
- package/src/api-client-machine/models/create-vodroute-dto.ts +42 -0
- package/src/api-client-machine/models/decklink-collection.ts +57 -0
- package/src/api-client-machine/models/decklink.ts +42 -0
- package/src/api-client-machine/models/http-app.ts +45 -0
- package/src/api-client-machine/models/https-config.ts +42 -0
- package/src/api-client-machine/models/index.ts +67 -0
- package/src/api-client-machine/models/info-channel.ts +42 -0
- package/src/api-client-machine/models/ingest-app.ts +60 -0
- package/src/api-client-machine/models/ingest-config.ts +74 -0
- package/src/api-client-machine/models/ingest-update-config-dto.ts +68 -0
- package/src/api-client-machine/models/machine-cluster-collection.ts +57 -0
- package/src/api-client-machine/models/machine-cluster.ts +120 -0
- package/src/api-client-machine/models/machine-details-license.ts +42 -0
- package/src/api-client-machine/models/machine-details.ts +127 -0
- package/src/api-client-machine/models/machine-dto.ts +42 -0
- package/src/api-client-machine/models/machine-dump.ts +108 -0
- package/src/api-client-machine/models/machine.ts +42 -0
- package/src/api-client-machine/models/network-collection.ts +57 -0
- package/src/api-client-machine/models/network-interface.ts +36 -0
- package/src/api-client-machine/models/network.ts +66 -0
- package/src/api-client-machine/models/origin-config.ts +50 -0
- package/src/api-client-machine/models/origin-update-config-dto.ts +59 -0
- package/src/api-client-machine/models/packager-component-cluster.ts +42 -0
- package/src/api-client-machine/models/packager-live-cluster.ts +42 -0
- package/src/api-client-machine/models/packager-to-component-cluster.ts +51 -0
- package/src/api-client-machine/models/quotas-result.ts +30 -0
- package/src/api-client-machine/models/registration-config.ts +48 -0
- package/src/api-client-machine/models/sigma-cluster-ingest-config.ts +42 -0
- package/src/api-client-machine/models/sigma-cluster-origin-config.ts +30 -0
- package/src/api-client-machine/models/sigma-ingest-config-entity.ts +42 -0
- package/src/api-client-machine/models/sigma-ingest-config.ts +42 -0
- package/src/api-client-machine/models/sigma-origin-config-entity.ts +30 -0
- package/src/api-client-machine/models/sigma-origin-config.ts +30 -0
- package/src/api-client-machine/models/stats.ts +57 -0
- package/src/api-client-machine/models/status.ts +36 -0
- package/src/api-client-machine/models/stop-channel.ts +48 -0
- package/src/api-client-machine/models/transcoder-apps.ts +42 -0
- package/src/api-client-machine/models/transcoder-collection.ts +57 -0
- package/src/api-client-machine/models/transcoder-component-cluster.ts +42 -0
- package/src/api-client-machine/models/transcoder-license.ts +42 -0
- package/src/api-client-machine/models/transcoder-live-cluster.ts +42 -0
- package/src/api-client-machine/models/transcoder-live-to-component-cluster.ts +45 -0
- package/src/api-client-machine/models/transcoder-network.ts +42 -0
- package/src/api-client-machine/models/transcoder.ts +276 -0
- package/src/api-client-machine/models/update-app-config-dto-config-data.ts +33 -0
- package/src/api-client-machine/models/update-app-config-dto.ts +33 -0
- package/src/api-client-machine/models/update-app-config-of-sigma-vod-server-dto-config-data.ts +30 -0
- package/src/api-client-machine/models/update-app-config-of-sigma-vod-server-dto.ts +33 -0
- package/src/api-client-machine/models/update-component-cluster-dto.ts +72 -0
- package/src/api-client-machine/models/update-machine-cluster-dto.ts +63 -0
- package/src/api-client-machine/models/update-machine-dto.ts +42 -0
- package/src/api-client-machine/models/update-packager-live-cluster.ts +42 -0
- package/src/api-client-machine/models/update-packager-to-component-cluster.ts +51 -0
- package/src/api-client-machine/models/update-route-config-of-sigma-vod-server.ts +33 -0
- package/src/api-client-machine/models/update-route-config-sigma-machine.ts +42 -0
- package/src/api-client-machine/models/update-transcoder-live-cluster.ts +42 -0
- package/src/api-client-machine/models/update-transcoder-to-component-cluster.ts +45 -0
- package/src/api-client-machine/models/video-encoder.ts +56 -0
- package/src/api-client-machine/models/vodroute.ts +60 -0
- package/src/api-client-noti/.openapi-generator/FILES +13 -0
- package/src/api-client-noti/.openapi-generator/VERSION +1 -0
- package/src/api-client-noti/.openapi-generator-ignore +23 -0
- package/src/api-client-noti/api/notification-api.ts +386 -0
- package/src/api-client-noti/api.ts +18 -0
- package/src/api-client-noti/base.ts +72 -0
- package/src/api-client-noti/common.ts +150 -0
- package/src/api-client-noti/configuration.ts +101 -0
- package/src/api-client-noti/git_push.sh +57 -0
- package/src/api-client-noti/index.ts +18 -0
- package/src/api-client-noti/models/index.ts +2 -0
- package/src/api-client-noti/models/notification-collection.ts +57 -0
- package/src/api-client-noti/models/notification.ts +101 -0
- package/src/api-client-transcode/.openapi-generator/FILES +129 -0
- package/src/api-client-transcode/.openapi-generator/VERSION +1 -0
- package/src/api-client-transcode/.openapi-generator-ignore +23 -0
- package/src/api-client-transcode/api/alert-logs-apiapi.ts +281 -0
- package/src/api-client-transcode/api/channel-package-inputs-apiapi.ts +650 -0
- package/src/api-client-transcode/api/channel-transcode-inputs-apiapi.ts +650 -0
- package/src/api-client-transcode/api/channels-crudapiapi.ts +869 -0
- package/src/api-client-transcode/api/channels-job-action-apiapi.ts +434 -0
- package/src/api-client-transcode/api/drm-credentials-api.ts +525 -0
- package/src/api-client-transcode/api/event-channel-action-apiapi.ts +363 -0
- package/src/api-client-transcode/api/event-channel-crudapiapi.ts +545 -0
- package/src/api-client-transcode/api/fast-channel-action-apiapi.ts +301 -0
- package/src/api-client-transcode/api/fast-channel-apiapi.ts +525 -0
- package/src/api-client-transcode/api/fast-channel-programs-api-api.ts +525 -0
- package/src/api-client-transcode/api/multi-channel-action-apiapi.ts +387 -0
- package/src/api-client-transcode/api/sigma-transcode-live-interactive-action-api.ts +152 -0
- package/src/api-client-transcode/api/single-channel-action-apiapi.ts +1155 -0
- package/src/api-client-transcode/api/transcode-templates-apiapi.ts +541 -0
- package/src/api-client-transcode/api.ts +32 -0
- package/src/api-client-transcode/base.ts +71 -0
- package/src/api-client-transcode/common.ts +138 -0
- package/src/api-client-transcode/configuration.ts +101 -0
- package/src/api-client-transcode/git_push.sh +57 -0
- package/src/api-client-transcode/index.ts +18 -0
- package/src/api-client-transcode/models/ads-dto.ts +137 -0
- package/src/api-client-transcode/models/alert-log-collection.ts +55 -0
- package/src/api-client-transcode/models/audio-watermark-dto.ts +59 -0
- package/src/api-client-transcode/models/blackout-slate-dto.ts +36 -0
- package/src/api-client-transcode/models/catchup-dto.ts +43 -0
- package/src/api-client-transcode/models/channel-collection.ts +55 -0
- package/src/api-client-transcode/models/channel-config-advance-dto-info.ts +25 -0
- package/src/api-client-transcode/models/channel-config-advance-dto.ts +121 -0
- package/src/api-client-transcode/models/channel-config-advance-info-dto.ts +78 -0
- package/src/api-client-transcode/models/channel-config-base.ts +69 -0
- package/src/api-client-transcode/models/channel-config-blackout-entity.ts +36 -0
- package/src/api-client-transcode/models/channel-config-dto.ts +72 -0
- package/src/api-client-transcode/models/channel-config-interactive-entity.ts +30 -0
- package/src/api-client-transcode/models/channel-config-template-dto.ts +66 -0
- package/src/api-client-transcode/models/channel-detail-catchup-dto.ts +37 -0
- package/src/api-client-transcode/models/channel-detail-dto.ts +69 -0
- package/src/api-client-transcode/models/channel-detail-input.ts +43 -0
- package/src/api-client-transcode/models/channel-detail-package.ts +50 -0
- package/src/api-client-transcode/models/channel-detail-transcode.ts +37 -0
- package/src/api-client-transcode/models/channel-job-detail.ts +84 -0
- package/src/api-client-transcode/models/channel-stats.ts +36 -0
- package/src/api-client-transcode/models/channel-template-data-dto.ts +59 -0
- package/src/api-client-transcode/models/channel-template-dto-data.ts +28 -0
- package/src/api-client-transcode/models/channel-template-dto.ts +63 -0
- package/src/api-client-transcode/models/channel.ts +168 -0
- package/src/api-client-transcode/models/create-alert-log-dto.ts +138 -0
- package/src/api-client-transcode/models/create-channel-dto.ts +84 -0
- package/src/api-client-transcode/models/create-drm-credential-dto.ts +63 -0
- package/src/api-client-transcode/models/create-event-channel-dto-targets.ts +26 -0
- package/src/api-client-transcode/models/create-event-channel-dto.ts +76 -0
- package/src/api-client-transcode/models/create-fast-channel-dto.ts +42 -0
- package/src/api-client-transcode/models/create-fast-program-dto.ts +72 -0
- package/src/api-client-transcode/models/drm-credential-collection.ts +55 -0
- package/src/api-client-transcode/models/drm-credential-entity.ts +87 -0
- package/src/api-client-transcode/models/drm-data-dto.ts +54 -0
- package/src/api-client-transcode/models/drm-data-entity.ts +54 -0
- package/src/api-client-transcode/models/drm-dto.ts +103 -0
- package/src/api-client-transcode/models/event-channel-collection.ts +55 -0
- package/src/api-client-transcode/models/event-channel-config-dto.ts +78 -0
- package/src/api-client-transcode/models/event-channel-config-entity.ts +75 -0
- package/src/api-client-transcode/models/event-channel-input-dto.ts +45 -0
- package/src/api-client-transcode/models/event-channel-input-entity.ts +45 -0
- package/src/api-client-transcode/models/event-channel-transcoder-dto.ts +56 -0
- package/src/api-client-transcode/models/event-channel.ts +147 -0
- package/src/api-client-transcode/models/event-profile-dto.ts +62 -0
- package/src/api-client-transcode/models/event-target-data-dto.ts +95 -0
- package/src/api-client-transcode/models/event-target-dto.ts +49 -0
- package/src/api-client-transcode/models/fast-channel-collection.ts +55 -0
- package/src/api-client-transcode/models/fast-channel.ts +75 -0
- package/src/api-client-transcode/models/fast-program-collection.ts +55 -0
- package/src/api-client-transcode/models/fast-program.ts +84 -0
- package/src/api-client-transcode/models/fingerprint-dto.ts +42 -0
- package/src/api-client-transcode/models/index.ts +104 -0
- package/src/api-client-transcode/models/input-collection.ts +55 -0
- package/src/api-client-transcode/models/input-data-dto.ts +104 -0
- package/src/api-client-transcode/models/input-data-item-dto.ts +42 -0
- package/src/api-client-transcode/models/input-dto.ts +30 -0
- package/src/api-client-transcode/models/input-entity.ts +30 -0
- package/src/api-client-transcode/models/input-info-response.ts +31 -0
- package/src/api-client-transcode/models/input-info.ts +123 -0
- package/src/api-client-transcode/models/input-machine-config.ts +45 -0
- package/src/api-client-transcode/models/input-program.ts +66 -0
- package/src/api-client-transcode/models/interactive-dto.ts +30 -0
- package/src/api-client-transcode/models/interactive-publish-dto.ts +30 -0
- package/src/api-client-transcode/models/job-entity.ts +102 -0
- package/src/api-client-transcode/models/low-latency-dto.ts +68 -0
- package/src/api-client-transcode/models/machine-config-dto.ts +75 -0
- package/src/api-client-transcode/models/main-input-dto.ts +62 -0
- package/src/api-client-transcode/models/main-input-entity.ts +54 -0
- package/src/api-client-transcode/models/maintenance-dto.ts +30 -0
- package/src/api-client-transcode/models/manifest-dto.ts +62 -0
- package/src/api-client-transcode/models/package-input-collection.ts +55 -0
- package/src/api-client-transcode/models/package-input-data-dto.ts +99 -0
- package/src/api-client-transcode/models/package-input-list.ts +36 -0
- package/src/api-client-transcode/models/package-input.ts +115 -0
- package/src/api-client-transcode/models/post-input-dto.ts +48 -0
- package/src/api-client-transcode/models/post-input-entity.ts +48 -0
- package/src/api-client-transcode/models/pre-input-dto.ts +54 -0
- package/src/api-client-transcode/models/pre-input-entity.ts +54 -0
- package/src/api-client-transcode/models/preset-dto.ts +247 -0
- package/src/api-client-transcode/models/profile-default-response-dto.ts +30 -0
- package/src/api-client-transcode/models/profile-dto.ts +62 -0
- package/src/api-client-transcode/models/profile-entity.ts +60 -0
- package/src/api-client-transcode/models/scte35-dto.ts +36 -0
- package/src/api-client-transcode/models/start-over-dto.ts +30 -0
- package/src/api-client-transcode/models/switch-input-dto.ts +56 -0
- package/src/api-client-transcode/models/switch-input-entity.ts +44 -0
- package/src/api-client-transcode/models/target-data-dto.ts +101 -0
- package/src/api-client-transcode/models/target-dto.ts +44 -0
- package/src/api-client-transcode/models/target-entity.ts +55 -0
- package/src/api-client-transcode/models/target-profile-dto.ts +71 -0
- package/src/api-client-transcode/models/target-profile.ts +71 -0
- package/src/api-client-transcode/models/target-template-dto.ts +44 -0
- package/src/api-client-transcode/models/target-update-dto.ts +50 -0
- package/src/api-client-transcode/models/transcode-input.ts +144 -0
- package/src/api-client-transcode/models/transcoder.ts +36 -0
- package/src/api-client-transcode/models/trick-play-dto.ts +54 -0
- package/src/api-client-transcode/models/update-channel-dto-targets.ts +27 -0
- package/src/api-client-transcode/models/update-channel-dto.ts +84 -0
- package/src/api-client-transcode/models/update-drm-management-dto.ts +63 -0
- package/src/api-client-transcode/models/update-event-channel-dto.ts +76 -0
- package/src/api-client-transcode/models/update-fast-channel-dto.ts +42 -0
- package/src/api-client-transcode/models/update-fast-program-dto.ts +30 -0
- package/src/api-client-transcode/models/watermark-dto.ts +66 -0
- package/src/api-client-transcode/models/watermark-entity.ts +102 -0
- package/src/app/spa-loading-template.html +127 -0
- package/src/app.config.ts +2 -0
- package/src/assets/global.css.ts +3 -0
- package/src/assets/scss/element/dark.scss +13 -0
- package/src/assets/scss/element/index.scss +26 -0
- package/src/assets/scss/index.scss +181 -0
- package/src/components/AdvancedFilter/SSAdvancedFilterItem.vue +180 -0
- package/src/components/AdvancedFilter/SSAdvancedFilterItemCustom.vue +165 -0
- package/src/components/AdvancedFilter/SSAdvancedFilterItemDefined.vue +298 -0
- package/src/components/AdvancedFilter/SSAdvancedFilterItemSchedule.vue +293 -0
- package/src/components/AdvancedFilter/SSAdvancedFilterMain.vue +196 -0
- package/src/components/AdvancedFilter/types.ts +37 -0
- package/src/components/AdvancedFilterReport/SSAdvancedFilterReportItem.vue +110 -0
- package/src/components/AdvancedFilterReport/SSAdvancedFilterReportItemDefined.vue +159 -0
- package/src/components/AdvancedFilterReport/SSAdvancedFilterReportMain.vue +197 -0
- package/src/components/AdvancedFilterReport/types.ts +19 -0
- package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiItem.vue +102 -0
- package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiItemDefined.vue +119 -0
- package/src/components/AdvancedFilterSsai/SSAdvancedFilterSsaiMain.vue +194 -0
- package/src/components/AdvancedFilterSsai/types.ts +19 -0
- package/src/components/Asset/AssetAddPlaylist.vue +169 -0
- package/src/components/Asset/AssetExtra.vue +46 -0
- package/src/components/Asset/AssetImportLinks.vue +281 -0
- package/src/components/Asset/AssetInfiniteSelect.vue +62 -0
- package/src/components/Asset/AssetItem.vue +194 -0
- package/src/components/Asset/AssetItemPreview.vue +117 -0
- package/src/components/Asset/AssetList.vue +869 -0
- package/src/components/Asset/AssetMeta.vue +97 -0
- package/src/components/Asset/AssetPicker.vue +204 -0
- package/src/components/Asset/AssetPlaylist.vue +414 -0
- package/src/components/Asset/AssetPlaylistInfiniteSelect.vue +136 -0
- package/src/components/Asset/AssetPlaylistModalAdd.vue +138 -0
- package/src/components/Asset/AssetPreview.vue +89 -0
- package/src/components/Asset/AssetShareModal.vue +131 -0
- package/src/components/Asset/AssetTable.vue +365 -0
- package/src/components/Asset/FormUploadAsset.vue +647 -0
- package/src/components/Asset/FormUploadAssetItem.vue +115 -0
- package/src/components/Asset/FormUploadAssetProgress.vue +161 -0
- package/src/components/Asset/Scrubber.vue +57 -0
- package/src/components/Asset/VideoPlayer.vue +226 -0
- package/src/components/Asset/VideoPreview.vue +102 -0
- package/src/components/Asset/VideoPreviewConfig.vue +329 -0
- package/src/components/Asset/VideoPreviewConfigMessage.vue +120 -0
- package/src/components/Asset/VideoPreviewConfigVod.vue +287 -0
- package/src/components/Asset/VideoPreviewNew.vue +66 -0
- package/src/components/Asset/VideoPreviewNewLoader.vue +144 -0
- package/src/components/Asset/VideoPreviewWrapper.vue +208 -0
- package/src/components/Asset/asset-context.ts +24 -0
- package/src/components/Asset/usePickerStore.ts +55 -0
- package/src/components/AuthLayout/AuthLayoutSimple.vue +150 -0
- package/src/components/AuthLayout/index.vue +151 -0
- package/src/components/AutoRefresh/AutoRefresh.vue +91 -0
- package/src/components/AutoRefresh/AutoRefreshOld.vue +87 -0
- package/src/components/AutoRefresh/useRefresh.ts +93 -0
- package/src/components/BackButton.vue +13 -0
- package/src/components/Card/CardInfo.vue +21 -0
- package/src/components/Channel/AIConfig.vue +101 -0
- package/src/components/Channel/AdvancedForm.vue +542 -0
- package/src/components/Channel/ChannelListGrid.vue +154 -0
- package/src/components/Channel/ConfigBlackout.vue +98 -0
- package/src/components/Channel/ConfigCensorship.vue +387 -0
- package/src/components/Channel/ConfigForensicWatermark.vue +152 -0
- package/src/components/Channel/ConfigForm.vue +102 -0
- package/src/components/Channel/ConfigInformation.vue +191 -0
- package/src/components/Channel/ConfigInteraction.vue +11 -0
- package/src/components/Channel/ConfigNameModifier.vue +15 -0
- package/src/components/Channel/ConfigOptionItem.vue +114 -0
- package/src/components/Channel/ConfigOptions.vue +181 -0
- package/src/components/Channel/ConfigPte.vue +368 -0
- package/src/components/Channel/ConfigScte.vue +442 -0
- package/src/components/Channel/ConfigTranscoder.vue +353 -0
- package/src/components/Channel/ConfigWaterMarkAudio.vue +52 -0
- package/src/components/Channel/ConfigWatermark.vue +76 -0
- package/src/components/Channel/ConfigWatermarkEventChannel.vue +86 -0
- package/src/components/Channel/ConfigWatermarkItem.vue +239 -0
- package/src/components/Channel/HeaderItem.vue +75 -0
- package/src/components/Channel/InputDetail.vue +68 -0
- package/src/components/Channel/InputForm.vue +175 -0
- package/src/components/Channel/InputList.vue +38 -0
- package/src/components/Channel/InputPackageDetail.vue +125 -0
- package/src/components/Channel/MediaProfileFormModal.vue +79 -0
- package/src/components/Channel/MediaProfileModify.vue +229 -0
- package/src/components/Channel/MessageButtonGetHelp.vue +30 -0
- package/src/components/Channel/MessageTooltipAi.vue +29 -0
- package/src/components/Channel/MultipleSelectProfile.vue +312 -0
- package/src/components/Channel/PackageInputItem.vue +13 -0
- package/src/components/Channel/PresetConfigItem.vue +1957 -0
- package/src/components/Channel/PresetConfigItemExtra.vue +59 -0
- package/src/components/Channel/PresetConfigItemPId.vue +145 -0
- package/src/components/Channel/ProfileConfigItem.vue +829 -0
- package/src/components/Channel/ProfileDetailsList.vue +160 -0
- package/src/components/Channel/ProfileForm.vue +134 -0
- package/src/components/Channel/ProfileList.vue +228 -0
- package/src/components/Channel/SelectServer.vue +134 -0
- package/src/components/Channel/SignalLoss.vue +92 -0
- package/src/components/Channel/SwitchInputButton.vue +38 -0
- package/src/components/Channel/TargetCatchup.vue +75 -0
- package/src/components/Channel/TargetDataInfo.vue +100 -0
- package/src/components/Channel/TargetDestination.vue +375 -0
- package/src/components/Channel/TargetDrm.vue +518 -0
- package/src/components/Channel/TargetForm.vue +136 -0
- package/src/components/Channel/TargetList.vue +159 -0
- package/src/components/Channel/TargetLowLatency.vue +107 -0
- package/src/components/Channel/TargetMabrOutput.vue +58 -0
- package/src/components/Channel/TargetMabrOutputItem.vue +91 -0
- package/src/components/Channel/TargetManifest.vue +94 -0
- package/src/components/Channel/TargetNetworkInterface.vue +95 -0
- package/src/components/Channel/TargetOutputMultiplex.vue +237 -0
- package/src/components/Channel/TargetOutputType.vue +201 -0
- package/src/components/Channel/TargetOutputUdp.vue +200 -0
- package/src/components/Channel/TargetPreset.vue +541 -0
- package/src/components/Channel/TargetProfileAudioGroup.vue +27 -0
- package/src/components/Channel/TargetProfileProgram.vue +43 -0
- package/src/components/Channel/TargetProfileURI.vue +68 -0
- package/src/components/Channel/TargetSrtOutput.vue +35 -0
- package/src/components/Channel/TargetSrtOutputItem.vue +83 -0
- package/src/components/Channel/TargetStartover.vue +40 -0
- package/src/components/Channel/WarningName.vue +39 -0
- package/src/components/Channel/WarningOutput.vue +40 -0
- package/src/components/CollapseTagsTooltip/CollapseTagsTooltip.vue +87 -0
- package/src/components/CollapseTagsTooltip/index.ts +1 -0
- package/src/components/CopyButton.vue +46 -0
- package/src/components/CopyText.vue +40 -0
- package/src/components/CopyTextButton.vue +40 -0
- package/src/components/DefaultLayout/DefaultLayout.vue +134 -0
- package/src/components/DefaultLayout/GlobalASide.vue +75 -0
- package/src/components/DefaultLayout/GlobalFooter.vue +15 -0
- package/src/components/DefaultLayout/GlobalHeader.vue +43 -0
- package/src/components/DefaultLayout/Logo.vue +35 -0
- package/src/components/DefaultLayout/Menu.vue +464 -0
- package/src/components/DefaultLayout/RightMenu.vue +93 -0
- package/src/components/DialogWarningAddLicense.vue +37 -0
- package/src/components/Epg/Epg.vue +24 -0
- package/src/components/Epg/components/Channel.vue +28 -0
- package/src/components/Epg/components/Channels.vue +33 -0
- package/src/components/Epg/components/Layout.vue +121 -0
- package/src/components/Epg/components/Line.vue +41 -0
- package/src/components/Epg/components/Loader.vue +23 -0
- package/src/components/Epg/components/Program.vue +101 -0
- package/src/components/Epg/components/SideBar.vue +18 -0
- package/src/components/Epg/components/Timeline.vue +72 -0
- package/src/components/Epg/helpers/common.ts +68 -0
- package/src/components/Epg/helpers/epg.ts +192 -0
- package/src/components/Epg/helpers/index.ts +5 -0
- package/src/components/Epg/helpers/interfaces.ts +54 -0
- package/src/components/Epg/helpers/time.ts +51 -0
- package/src/components/Epg/helpers/types.ts +26 -0
- package/src/components/Epg/helpers/variables.ts +33 -0
- package/src/components/Epg/hooks/index.ts +2 -0
- package/src/components/Epg/hooks/useEpg.ts +160 -0
- package/src/components/Epg/hooks/useLayout.ts +187 -0
- package/src/components/Epg/hooks/useProgram.ts +63 -0
- package/src/components/Epg/hooks/useTimeline.ts +35 -0
- package/src/components/Epg/index.ts +4 -0
- package/src/components/Epg/store.ts +85 -0
- package/src/components/Epg/theme.ts +44 -0
- package/src/components/Exception/403.png +0 -0
- package/src/components/Exception/403.vue +58 -0
- package/src/components/Exception/404.png +0 -0
- package/src/components/Exception/404.vue +59 -0
- package/src/components/Exception/500.png +0 -0
- package/src/components/Exception/500.vue +39 -0
- package/src/components/Exception/index.scss +30 -0
- package/src/components/Field.vue +193 -0
- package/src/components/FilterQuerySchema/FilterQuerySchemaForm.vue +200 -0
- package/src/components/FilterQuerySchema/QueryTag.vue +109 -0
- package/src/components/FilterQuerySchema/Tag.vue +68 -0
- package/src/components/FilterTimeDimensions.vue +265 -0
- package/src/components/FilterTimeDimensionsSingle.vue +214 -0
- package/src/components/HelpPanel.vue +87 -0
- package/src/components/HexagonPro.vue +7 -0
- package/src/components/IconCopyButton.vue +43 -0
- package/src/components/InformationLabel.vue +67 -0
- package/src/components/Input/InputTags.vue +136 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/MainDefaultLayout/index.vue +120 -0
- package/src/components/NoticeAddLicense.vue +20 -0
- package/src/components/NoticeRunningOutResources.vue +20 -0
- package/src/components/Pagination.vue +61 -0
- package/src/components/QueryBuilder/QueryBuilder.vue +141 -0
- package/src/components/QueryBuilder/components/inputs/DateInputField.vue +105 -0
- package/src/components/QueryBuilder/components/inputs/FieldSelect.vue +44 -0
- package/src/components/QueryBuilder/components/inputs/InputMultiSelect.vue +60 -0
- package/src/components/QueryBuilder/components/inputs/InputSelect.vue +39 -0
- package/src/components/QueryBuilder/components/inputs/NumberInputField.vue +91 -0
- package/src/components/QueryBuilder/components/inputs/OperatorSelect.vue +59 -0
- package/src/components/QueryBuilder/components/inputs/TextInput.vue +40 -0
- package/src/components/QueryBuilder/components/inputs/TimeInputField.vue +114 -0
- package/src/components/QueryBuilder/components/inputs/logics.ts +27 -0
- package/src/components/QueryBuilder/components/item/InputMultiOptions.vue +56 -0
- package/src/components/QueryBuilder/components/item/QueryGroup.vue +71 -0
- package/src/components/QueryBuilder/components/item/QueryGroupActions.vue +76 -0
- package/src/components/QueryBuilder/components/item/QueryRule.vue +233 -0
- package/src/components/QueryBuilder/useConfigStore.ts +27 -0
- package/src/components/QueryBuilder/utils/config.ts +194 -0
- package/src/components/QueryBuilder/utils/index.ts +3 -0
- package/src/components/QueryBuilder/utils/mongodb.ts +175 -0
- package/src/components/QueryBuilder/utils/rules.ts +213 -0
- package/src/components/RecommendedConfigurationPTE.vue +238 -0
- package/src/components/Server/MachineConfig.vue +333 -0
- package/src/components/Server/ServerConfig.vue +599 -0
- package/src/components/Server/useQueryMachine.ts +380 -0
- package/src/components/Server/validator.ts +13 -0
- package/src/components/SwitchDark.vue +19 -0
- package/src/components/SwitchLang.vue +31 -0
- package/src/components/TableEmpty.vue +50 -0
- package/src/components/Toast/ToastNoti.vue +52 -0
- package/src/components/Tool/ForensicWatermarkingDialog.vue +39 -0
- package/src/components/Tool/FormRecord.vue +162 -0
- package/src/components/Tool/FormUpload.vue +118 -0
- package/src/components/Tool/ResultChecking.vue +103 -0
- package/src/components/Tool/Watermarking.vue +159 -0
- package/src/components/Tool/record.js +92 -0
- package/src/components/Tooltip/Ellipsis.vue +52 -0
- package/src/components/Tooltip/index.vue +47 -0
- package/src/components/app/AppList.vue +50 -0
- package/src/components/button/Button.vue +27 -0
- package/src/components/button/index.ts +37 -0
- package/src/components/context-menu/ContextMenu.vue +15 -0
- package/src/components/context-menu/ContextMenuCheckboxItem.vue +39 -0
- package/src/components/context-menu/ContextMenuContent.vue +35 -0
- package/src/components/context-menu/ContextMenuGroup.vue +11 -0
- package/src/components/context-menu/ContextMenuItem.vue +33 -0
- package/src/components/context-menu/ContextMenuLabel.vue +24 -0
- package/src/components/context-menu/ContextMenuPortal.vue +11 -0
- package/src/components/context-menu/ContextMenuRadioGroup.vue +19 -0
- package/src/components/context-menu/ContextMenuRadioItem.vue +39 -0
- package/src/components/context-menu/ContextMenuSeparator.vue +19 -0
- package/src/components/context-menu/ContextMenuShortcut.vue +13 -0
- package/src/components/context-menu/ContextMenuSub.vue +19 -0
- package/src/components/context-menu/ContextMenuSubContent.vue +34 -0
- package/src/components/context-menu/ContextMenuSubTrigger.vue +33 -0
- package/src/components/context-menu/ContextMenuTrigger.vue +13 -0
- package/src/components/context-menu/index.ts +14 -0
- package/src/components/dashboard/SSDashboardChartRoot.vue +18 -0
- package/src/components/dashboard/SSDashboardDocument.vue +45 -0
- package/src/components/dashboard/SSDashboardEmpty.vue +16 -0
- package/src/components/dashboard/SSDashboardGuideline.vue +45 -0
- package/src/components/dashboard/SSDashboardInfo.vue +36 -0
- package/src/components/dashboard/SSDashboardInfoRoot.vue +9 -0
- package/src/components/dashboard/SSDashboardInfoTime.vue +38 -0
- package/src/components/markdown/Markdown.vue +295 -0
- package/src/components/tabs/Tabs.vue +15 -0
- package/src/components/tabs/TabsContent.vue +22 -0
- package/src/components/tabs/TabsList.vue +22 -0
- package/src/components/tabs/TabsTrigger.vue +26 -0
- package/src/composables/asset.ts +13 -0
- package/src/composables/channel.ts +333 -0
- package/src/composables/country.ts +788 -0
- package/src/composables/error.ts +24 -0
- package/src/composables/form.ts +351 -0
- package/src/composables/getBuildTime.ts +7 -0
- package/src/composables/micro.ts +113 -0
- package/src/composables/microState.ts +22 -0
- package/src/composables/notiGlobal.ts +19 -0
- package/src/composables/plan.ts +162 -0
- package/src/composables/refReset.ts +12 -0
- package/src/composables/resetInfiniteQueryPagination.ts +18 -0
- package/src/composables/route.ts +19 -0
- package/src/composables/toast.ts +21 -0
- package/src/composables/useApp.ts +6 -0
- package/src/composables/useAsyncSchema.ts +58 -0
- package/src/composables/useChannelActions.ts +151 -0
- package/src/composables/useComplexSearchParam.ts +293 -0
- package/src/composables/useFilterSchema.ts +106 -0
- package/src/composables/useGetInputDetail.ts +36 -0
- package/src/composables/useGetServerAddLicense.ts +21 -0
- package/src/composables/useJobPreview.ts +438 -0
- package/src/composables/useLayoutStore.ts +106 -0
- package/src/composables/usePermission.ts +5 -0
- package/src/composables/usePickerStore.ts +53 -0
- package/src/composables/useQueryAssets.ts +56 -0
- package/src/composables/useQueryParams.ts +20 -0
- package/src/composables/useRouteParams.ts +36 -0
- package/src/composables/useRouteQueries.ts +54 -0
- package/src/composables/useRouterHistory.ts +76 -0
- package/src/composables/useSearchQuery.ts +27 -0
- package/src/composables/useTooltipEllipsis.ts +12 -0
- package/src/constants/env.ts +11 -0
- package/src/constants/filterable.ts +32 -0
- package/src/constants/languageCode.ts +185 -0
- package/src/constants/micro.ts +1 -0
- package/src/constants/queryKeys.ts +11 -0
- package/src/constants/regex.ts +8 -0
- package/src/constants/storage.ts +41 -0
- package/src/enums/index.ts +24 -0
- package/src/layouts/empty.vue +7 -0
- package/src/modules/api-party/kit.ts +30 -0
- package/src/modules/api-party/module.ts +259 -0
- package/src/modules/api-party/openapi.ts +74 -0
- package/src/modules/api-party/runtime/composables/$api.ts +157 -0
- package/src/modules/api-party/runtime/composables/useApiData.ts +229 -0
- package/src/modules/api-party/runtime/constants.ts +1 -0
- package/src/modules/api-party/runtime/formData.ts +85 -0
- package/src/modules/api-party/runtime/server/$api.ts +29 -0
- package/src/modules/api-party/runtime/server/handler.ts +92 -0
- package/src/modules/api-party/runtime/types.ts +97 -0
- package/src/modules/api-party/runtime/utils.ts +43 -0
- package/src/pages/403.vue +11 -0
- package/src/pages/500.vue +11 -0
- package/src/pages/[...all].vue +11 -0
- package/src/pages/login.vue +67 -0
- package/src/plugins/auth.ts +10 -0
- package/src/plugins/build-time.ts +5 -0
- package/src/plugins/dayjs.ts +14 -0
- package/src/plugins/i18n.ts +6 -0
- package/src/plugins/router.ts +6 -0
- package/src/plugins/vue-json-pretty.ts +5 -0
- package/src/plugins/vue-query.ts +41 -0
- package/src/plugins/wujie.ts +19 -0
- package/src/public/apple-touch-icon.png +0 -0
- package/src/public/audio-recorder.js +31 -0
- package/src/public/build-time.json +1 -0
- package/src/public/favicon.ico +0 -0
- package/src/public/icon-block-free-app.png +0 -0
- package/src/public/maskable-icon.png +0 -0
- package/src/public/nuxt.svg +3 -0
- package/src/public/preview/step-1.png +0 -0
- package/src/public/preview/step-2.png +0 -0
- package/src/public/preview/step-3.png +0 -0
- package/src/public/pwa-192x192.png +0 -0
- package/src/public/pwa-512x512.png +0 -0
- package/src/public/robots.txt +2 -0
- package/src/public/vite.png +0 -0
- package/src/pwa/config.ts +61 -0
- package/src/pwa/index.ts +194 -0
- package/src/pwa/runtime/VitePwaManifest.ts +33 -0
- package/src/pwa/types.ts +56 -0
- package/src/pwa/utils.ts +16 -0
- package/src/schemas/authServiceApi.json +6709 -0
- package/src/schemas/billingApi.json +1083 -0
- package/src/schemas/chatApi.json +497 -0
- package/src/schemas/libraryApi.json +2009 -0
- package/src/schemas/licenseApi.json +772 -0
- package/src/schemas/livestreamApi.json +3354 -0
- package/src/schemas/lrmApi.json +2848 -0
- package/src/schemas/machineApi.json +4604 -0
- package/src/schemas/metricApi.json +141 -0
- package/src/schemas/notificationApi.json +1 -0
- package/src/schemas/playoutApi.json +8315 -0
- package/src/schemas/ssaiApi.json +1108 -0
- package/src/schemas/transcodeApi.json +9670 -0
- package/src/schemas/vastControlApi.json +961 -0
- package/src/schemas/vodApi.json +3974 -0
- package/src/server/plugins/loading.css +111 -0
- package/src/server/plugins/loading.html +12 -0
- package/src/server/plugins/loading.ts +134 -0
- package/src/templates/pwa.client.ts +136 -0
- package/src/utils/$apiOptions.ts +79 -0
- package/src/utils/app.ts +23 -0
- package/src/utils/cn.ts +3 -0
- package/src/utils/format.ts +88 -0
- package/src/utils/gen-routes.ts +100 -0
- package/src/utils/helper.ts +56 -0
- package/src/utils/micro.ts +207 -0
- package/src/utils/popoverSelectAttrs.ts +24 -0
- package/src/utils/popup.ts +96 -0
- package/src/utils/pwa.ts +86 -0
- package/src/utils/query-filter.ts +111 -0
- package/src/utils/table.ts +35 -0
- package/src/utils/tryCatch.ts +25 -0
- package/src/utils/utils.ts +58 -0
- package/src/utils/validator.ts +185 -0
- package/src/utils/videojs.ts +490 -0
- package/src/utils/wujie.ts +1 -0
- package/tsconfig.json +3 -0
- package/uno.config.ts +375 -0
|
@@ -0,0 +1,869 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sigma Transcode Live System
|
|
5
|
+
* Sigma Transcode Live System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { Channel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ChannelCollection } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ChannelDetailDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { CreateChannelDto } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateChannelDto } from '../models';
|
|
33
|
+
/**
|
|
34
|
+
* ChannelsCRUDAPIApi - axios parameter creator
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
export const ChannelsCRUDAPIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
|
+
return {
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param {string} [name] Tìm kiếm theo tên
|
|
42
|
+
* @param {'transcode' | 'package'} [type] Tìm kiếm theo loại
|
|
43
|
+
* @param {'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent'} [status] Tìm kiếm theo trạng thái của kênh
|
|
44
|
+
* @param {'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished'} [jobState] Tìm kiếm kênh theo job state
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
channelControllerCountChannel: async (name?: string, type?: 'transcode' | 'package', status?: 'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent', jobState?: 'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
const localVarPath = `/api/transcode/channels/count`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
if (name !== undefined) {
|
|
62
|
+
localVarQueryParameter['name'] = name;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (type !== undefined) {
|
|
66
|
+
localVarQueryParameter['type'] = type;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (status !== undefined) {
|
|
70
|
+
localVarQueryParameter['status'] = status;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (jobState !== undefined) {
|
|
74
|
+
localVarQueryParameter['job-state'] = jobState;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* Create Transcode live channel
|
|
90
|
+
* @summary Create Transcode live channel
|
|
91
|
+
* @param {boolean} start
|
|
92
|
+
* @param {CreateChannelDto} createChannelDto
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
channelControllerCreateChannel: async (start: boolean, createChannelDto: CreateChannelDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
|
+
// verify required parameter 'start' is not null or undefined
|
|
98
|
+
assertParamExists('channelControllerCreateChannel', 'start', start)
|
|
99
|
+
// verify required parameter 'createChannelDto' is not null or undefined
|
|
100
|
+
assertParamExists('channelControllerCreateChannel', 'createChannelDto', createChannelDto)
|
|
101
|
+
const localVarPath = `/api/transcode/channels`;
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
if (configuration) {
|
|
106
|
+
baseOptions = configuration.baseOptions;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
if (start !== undefined) {
|
|
114
|
+
localVarQueryParameter['start'] = start;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120
|
+
|
|
121
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
124
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createChannelDto, localVarRequestOptions, configuration)
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
url: toPathString(localVarUrlObj),
|
|
128
|
+
options: localVarRequestOptions,
|
|
129
|
+
};
|
|
130
|
+
},
|
|
131
|
+
/**
|
|
132
|
+
* Delete Channel by Id
|
|
133
|
+
* @summary Delete Channel by Id
|
|
134
|
+
* @param {string} channelId
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
channelControllerDeleteChannel: async (channelId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
140
|
+
assertParamExists('channelControllerDeleteChannel', 'channelId', channelId)
|
|
141
|
+
const localVarPath = `/api/transcode/channels/{channelId}`
|
|
142
|
+
.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
|
|
143
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
151
|
+
const localVarHeaderParameter = {} as any;
|
|
152
|
+
const localVarQueryParameter = {} as any;
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
url: toPathString(localVarUrlObj),
|
|
162
|
+
options: localVarRequestOptions,
|
|
163
|
+
};
|
|
164
|
+
},
|
|
165
|
+
/**
|
|
166
|
+
* Get Channel by Id
|
|
167
|
+
* @summary Get Channel by Id
|
|
168
|
+
* @param {string} channelId
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
channelControllerGetChannel: async (channelId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
173
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
174
|
+
assertParamExists('channelControllerGetChannel', 'channelId', channelId)
|
|
175
|
+
const localVarPath = `/api/transcode/channels/{channelId}`
|
|
176
|
+
.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
185
|
+
const localVarHeaderParameter = {} as any;
|
|
186
|
+
const localVarQueryParameter = {} as any;
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
193
|
+
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary
|
|
202
|
+
* @param {string} channelId
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @deprecated
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
channelControllerGetDetail: async (channelId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
208
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
209
|
+
assertParamExists('channelControllerGetDetail', 'channelId', channelId)
|
|
210
|
+
const localVarPath = `/api/transcode/channels/{channelId}/detail`
|
|
211
|
+
.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
|
|
212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
214
|
+
let baseOptions;
|
|
215
|
+
if (configuration) {
|
|
216
|
+
baseOptions = configuration.baseOptions;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
220
|
+
const localVarHeaderParameter = {} as any;
|
|
221
|
+
const localVarQueryParameter = {} as any;
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
226
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
227
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
228
|
+
|
|
229
|
+
return {
|
|
230
|
+
url: toPathString(localVarUrlObj),
|
|
231
|
+
options: localVarRequestOptions,
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary
|
|
237
|
+
* @param {string} channelId
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @deprecated
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
channelControllerGetOutput: async (channelId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
243
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
244
|
+
assertParamExists('channelControllerGetOutput', 'channelId', channelId)
|
|
245
|
+
const localVarPath = `/api/transcode/channels/{channelId}/output`
|
|
246
|
+
.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
if (configuration) {
|
|
251
|
+
baseOptions = configuration.baseOptions;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
255
|
+
const localVarHeaderParameter = {} as any;
|
|
256
|
+
const localVarQueryParameter = {} as any;
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
263
|
+
|
|
264
|
+
return {
|
|
265
|
+
url: toPathString(localVarUrlObj),
|
|
266
|
+
options: localVarRequestOptions,
|
|
267
|
+
};
|
|
268
|
+
},
|
|
269
|
+
/**
|
|
270
|
+
* Get List Transcode Live Channel
|
|
271
|
+
* @summary Get List Transcode Live Channel
|
|
272
|
+
* @param {string} [sort] Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order
|
|
273
|
+
* @param {string} [q] search conditions ($and, $or with all possible variations)
|
|
274
|
+
* @param {number} [page] pagination number
|
|
275
|
+
* @param {number} [perPage]
|
|
276
|
+
* @param {string} [fields] 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.
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
channelControllerListChannel: async (sort?: string, q?: string, page?: number, perPage?: number, fields?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
|
+
const localVarPath = `/api/transcode/channels`;
|
|
282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
284
|
+
let baseOptions;
|
|
285
|
+
if (configuration) {
|
|
286
|
+
baseOptions = configuration.baseOptions;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
290
|
+
const localVarHeaderParameter = {} as any;
|
|
291
|
+
const localVarQueryParameter = {} as any;
|
|
292
|
+
|
|
293
|
+
if (sort !== undefined) {
|
|
294
|
+
localVarQueryParameter['sort'] = sort;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if (q !== undefined) {
|
|
298
|
+
localVarQueryParameter['q'] = q;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
if (page !== undefined) {
|
|
302
|
+
localVarQueryParameter['page'] = page;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (perPage !== undefined) {
|
|
306
|
+
localVarQueryParameter['perPage'] = perPage;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
if (fields !== undefined) {
|
|
310
|
+
localVarQueryParameter['fields'] = fields;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
318
|
+
|
|
319
|
+
return {
|
|
320
|
+
url: toPathString(localVarUrlObj),
|
|
321
|
+
options: localVarRequestOptions,
|
|
322
|
+
};
|
|
323
|
+
},
|
|
324
|
+
/**
|
|
325
|
+
* Update Channel by Id
|
|
326
|
+
* @summary Update Channel by Id
|
|
327
|
+
* @param {string} channelId
|
|
328
|
+
* @param {boolean} restart
|
|
329
|
+
* @param {UpdateChannelDto} updateChannelDto
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
channelControllerUpdateChannel: async (channelId: string, restart: boolean, updateChannelDto: UpdateChannelDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
334
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
335
|
+
assertParamExists('channelControllerUpdateChannel', 'channelId', channelId)
|
|
336
|
+
// verify required parameter 'restart' is not null or undefined
|
|
337
|
+
assertParamExists('channelControllerUpdateChannel', 'restart', restart)
|
|
338
|
+
// verify required parameter 'updateChannelDto' is not null or undefined
|
|
339
|
+
assertParamExists('channelControllerUpdateChannel', 'updateChannelDto', updateChannelDto)
|
|
340
|
+
const localVarPath = `/api/transcode/channels/{channelId}`
|
|
341
|
+
.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
|
|
342
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
343
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
344
|
+
let baseOptions;
|
|
345
|
+
if (configuration) {
|
|
346
|
+
baseOptions = configuration.baseOptions;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
350
|
+
const localVarHeaderParameter = {} as any;
|
|
351
|
+
const localVarQueryParameter = {} as any;
|
|
352
|
+
|
|
353
|
+
if (restart !== undefined) {
|
|
354
|
+
localVarQueryParameter['restart'] = restart;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
360
|
+
|
|
361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
364
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateChannelDto, localVarRequestOptions, configuration)
|
|
365
|
+
|
|
366
|
+
return {
|
|
367
|
+
url: toPathString(localVarUrlObj),
|
|
368
|
+
options: localVarRequestOptions,
|
|
369
|
+
};
|
|
370
|
+
},
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* ChannelsCRUDAPIApi - functional programming interface
|
|
376
|
+
* @export
|
|
377
|
+
*/
|
|
378
|
+
export const ChannelsCRUDAPIApiFp = function(configuration?: Configuration) {
|
|
379
|
+
const localVarAxiosParamCreator = ChannelsCRUDAPIApiAxiosParamCreator(configuration)
|
|
380
|
+
return {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @param {string} [name] Tìm kiếm theo tên
|
|
384
|
+
* @param {'transcode' | 'package'} [type] Tìm kiếm theo loại
|
|
385
|
+
* @param {'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent'} [status] Tìm kiếm theo trạng thái của kênh
|
|
386
|
+
* @param {'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished'} [jobState] Tìm kiếm kênh theo job state
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
*/
|
|
390
|
+
async channelControllerCountChannel(name?: string, type?: 'transcode' | 'package', status?: 'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent', jobState?: 'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerCountChannel(name, type, status, jobState, options);
|
|
392
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
|
+
},
|
|
394
|
+
/**
|
|
395
|
+
* Create Transcode live channel
|
|
396
|
+
* @summary Create Transcode live channel
|
|
397
|
+
* @param {boolean} start
|
|
398
|
+
* @param {CreateChannelDto} createChannelDto
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
async channelControllerCreateChannel(start: boolean, createChannelDto: CreateChannelDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Channel>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerCreateChannel(start, createChannelDto, options);
|
|
404
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Delete Channel by Id
|
|
408
|
+
* @summary Delete Channel by Id
|
|
409
|
+
* @param {string} channelId
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
async channelControllerDeleteChannel(channelId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Channel>> {
|
|
414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerDeleteChannel(channelId, options);
|
|
415
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
416
|
+
},
|
|
417
|
+
/**
|
|
418
|
+
* Get Channel by Id
|
|
419
|
+
* @summary Get Channel by Id
|
|
420
|
+
* @param {string} channelId
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
*/
|
|
424
|
+
async channelControllerGetChannel(channelId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Channel>> {
|
|
425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerGetChannel(channelId, options);
|
|
426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
|
+
},
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary
|
|
431
|
+
* @param {string} channelId
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @deprecated
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
async channelControllerGetDetail(channelId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelDetailDto>> {
|
|
437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerGetDetail(channelId, options);
|
|
438
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @summary
|
|
443
|
+
* @param {string} channelId
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @deprecated
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
*/
|
|
448
|
+
async channelControllerGetOutput(channelId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerGetOutput(channelId, options);
|
|
450
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
451
|
+
},
|
|
452
|
+
/**
|
|
453
|
+
* Get List Transcode Live Channel
|
|
454
|
+
* @summary Get List Transcode Live Channel
|
|
455
|
+
* @param {string} [sort] Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order
|
|
456
|
+
* @param {string} [q] search conditions ($and, $or with all possible variations)
|
|
457
|
+
* @param {number} [page] pagination number
|
|
458
|
+
* @param {number} [perPage]
|
|
459
|
+
* @param {string} [fields] 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.
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
async channelControllerListChannel(sort?: string, q?: string, page?: number, perPage?: number, fields?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelCollection>> {
|
|
464
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerListChannel(sort, q, page, perPage, fields, options);
|
|
465
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
466
|
+
},
|
|
467
|
+
/**
|
|
468
|
+
* Update Channel by Id
|
|
469
|
+
* @summary Update Channel by Id
|
|
470
|
+
* @param {string} channelId
|
|
471
|
+
* @param {boolean} restart
|
|
472
|
+
* @param {UpdateChannelDto} updateChannelDto
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
async channelControllerUpdateChannel(channelId: string, restart: boolean, updateChannelDto: UpdateChannelDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Channel>> {
|
|
477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.channelControllerUpdateChannel(channelId, restart, updateChannelDto, options);
|
|
478
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
479
|
+
},
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* ChannelsCRUDAPIApi - factory interface
|
|
485
|
+
* @export
|
|
486
|
+
*/
|
|
487
|
+
export const ChannelsCRUDAPIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
488
|
+
const localVarFp = ChannelsCRUDAPIApiFp(configuration)
|
|
489
|
+
return {
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @param {string} [name] Tìm kiếm theo tên
|
|
493
|
+
* @param {'transcode' | 'package'} [type] Tìm kiếm theo loại
|
|
494
|
+
* @param {'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent'} [status] Tìm kiếm theo trạng thái của kênh
|
|
495
|
+
* @param {'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished'} [jobState] Tìm kiếm kênh theo job state
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
channelControllerCountChannel(name?: string, type?: 'transcode' | 'package', status?: 'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent', jobState?: 'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished', options?: any): AxiosPromise<object> {
|
|
500
|
+
return localVarFp.channelControllerCountChannel(name, type, status, jobState, options).then((request) => request(axios, basePath));
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
* Create Transcode live channel
|
|
504
|
+
* @summary Create Transcode live channel
|
|
505
|
+
* @param {boolean} start
|
|
506
|
+
* @param {CreateChannelDto} createChannelDto
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
*/
|
|
510
|
+
channelControllerCreateChannel(start: boolean, createChannelDto: CreateChannelDto, options?: any): AxiosPromise<Channel> {
|
|
511
|
+
return localVarFp.channelControllerCreateChannel(start, createChannelDto, options).then((request) => request(axios, basePath));
|
|
512
|
+
},
|
|
513
|
+
/**
|
|
514
|
+
* Delete Channel by Id
|
|
515
|
+
* @summary Delete Channel by Id
|
|
516
|
+
* @param {string} channelId
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
*/
|
|
520
|
+
channelControllerDeleteChannel(channelId: string, options?: any): AxiosPromise<Channel> {
|
|
521
|
+
return localVarFp.channelControllerDeleteChannel(channelId, options).then((request) => request(axios, basePath));
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
* Get Channel by Id
|
|
525
|
+
* @summary Get Channel by Id
|
|
526
|
+
* @param {string} channelId
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
channelControllerGetChannel(channelId: string, options?: any): AxiosPromise<Channel> {
|
|
531
|
+
return localVarFp.channelControllerGetChannel(channelId, options).then((request) => request(axios, basePath));
|
|
532
|
+
},
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @summary
|
|
536
|
+
* @param {string} channelId
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @deprecated
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
channelControllerGetDetail(channelId: string, options?: any): AxiosPromise<ChannelDetailDto> {
|
|
542
|
+
return localVarFp.channelControllerGetDetail(channelId, options).then((request) => request(axios, basePath));
|
|
543
|
+
},
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @summary
|
|
547
|
+
* @param {string} channelId
|
|
548
|
+
* @param {*} [options] Override http request option.
|
|
549
|
+
* @deprecated
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
*/
|
|
552
|
+
channelControllerGetOutput(channelId: string, options?: any): AxiosPromise<void> {
|
|
553
|
+
return localVarFp.channelControllerGetOutput(channelId, options).then((request) => request(axios, basePath));
|
|
554
|
+
},
|
|
555
|
+
/**
|
|
556
|
+
* Get List Transcode Live Channel
|
|
557
|
+
* @summary Get List Transcode Live Channel
|
|
558
|
+
* @param {string} [sort] Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order
|
|
559
|
+
* @param {string} [q] search conditions ($and, $or with all possible variations)
|
|
560
|
+
* @param {number} [page] pagination number
|
|
561
|
+
* @param {number} [perPage]
|
|
562
|
+
* @param {string} [fields] 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.
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
channelControllerListChannel(sort?: string, q?: string, page?: number, perPage?: number, fields?: string, options?: any): AxiosPromise<ChannelCollection> {
|
|
567
|
+
return localVarFp.channelControllerListChannel(sort, q, page, perPage, fields, options).then((request) => request(axios, basePath));
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
* Update Channel by Id
|
|
571
|
+
* @summary Update Channel by Id
|
|
572
|
+
* @param {string} channelId
|
|
573
|
+
* @param {boolean} restart
|
|
574
|
+
* @param {UpdateChannelDto} updateChannelDto
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
channelControllerUpdateChannel(channelId: string, restart: boolean, updateChannelDto: UpdateChannelDto, options?: any): AxiosPromise<Channel> {
|
|
579
|
+
return localVarFp.channelControllerUpdateChannel(channelId, restart, updateChannelDto, options).then((request) => request(axios, basePath));
|
|
580
|
+
},
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Request parameters for channelControllerCountChannel operation in ChannelsCRUDAPIApi.
|
|
586
|
+
* @export
|
|
587
|
+
* @interface ChannelsCRUDAPIApiChannelControllerCountChannelRequest
|
|
588
|
+
*/
|
|
589
|
+
export interface ChannelsCRUDAPIApiChannelControllerCountChannelRequest {
|
|
590
|
+
/**
|
|
591
|
+
* Tìm kiếm theo tên
|
|
592
|
+
* @type {string}
|
|
593
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCountChannel
|
|
594
|
+
*/
|
|
595
|
+
readonly name?: string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Tìm kiếm theo loại
|
|
599
|
+
* @type {'transcode' | 'package'}
|
|
600
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCountChannel
|
|
601
|
+
*/
|
|
602
|
+
readonly type?: 'transcode' | 'package'
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Tìm kiếm theo trạng thái của kênh
|
|
606
|
+
* @type {'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent'}
|
|
607
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCountChannel
|
|
608
|
+
*/
|
|
609
|
+
readonly status?: 'live' | 'error' | 'maintenance' | 'stop' | 'alternateContent'
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Tìm kiếm kênh theo job state
|
|
613
|
+
* @type {'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished'}
|
|
614
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCountChannel
|
|
615
|
+
*/
|
|
616
|
+
readonly jobState?: 'preparing' | 'starting' | 'started' | 'error' | 'stop' | 'finished'
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Request parameters for channelControllerCreateChannel operation in ChannelsCRUDAPIApi.
|
|
621
|
+
* @export
|
|
622
|
+
* @interface ChannelsCRUDAPIApiChannelControllerCreateChannelRequest
|
|
623
|
+
*/
|
|
624
|
+
export interface ChannelsCRUDAPIApiChannelControllerCreateChannelRequest {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {boolean}
|
|
628
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCreateChannel
|
|
629
|
+
*/
|
|
630
|
+
readonly start: boolean
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {CreateChannelDto}
|
|
635
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerCreateChannel
|
|
636
|
+
*/
|
|
637
|
+
readonly createChannelDto: CreateChannelDto
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Request parameters for channelControllerDeleteChannel operation in ChannelsCRUDAPIApi.
|
|
642
|
+
* @export
|
|
643
|
+
* @interface ChannelsCRUDAPIApiChannelControllerDeleteChannelRequest
|
|
644
|
+
*/
|
|
645
|
+
export interface ChannelsCRUDAPIApiChannelControllerDeleteChannelRequest {
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {string}
|
|
649
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerDeleteChannel
|
|
650
|
+
*/
|
|
651
|
+
readonly channelId: string
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Request parameters for channelControllerGetChannel operation in ChannelsCRUDAPIApi.
|
|
656
|
+
* @export
|
|
657
|
+
* @interface ChannelsCRUDAPIApiChannelControllerGetChannelRequest
|
|
658
|
+
*/
|
|
659
|
+
export interface ChannelsCRUDAPIApiChannelControllerGetChannelRequest {
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {string}
|
|
663
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerGetChannel
|
|
664
|
+
*/
|
|
665
|
+
readonly channelId: string
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Request parameters for channelControllerGetDetail operation in ChannelsCRUDAPIApi.
|
|
670
|
+
* @export
|
|
671
|
+
* @interface ChannelsCRUDAPIApiChannelControllerGetDetailRequest
|
|
672
|
+
*/
|
|
673
|
+
export interface ChannelsCRUDAPIApiChannelControllerGetDetailRequest {
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerGetDetail
|
|
678
|
+
*/
|
|
679
|
+
readonly channelId: string
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Request parameters for channelControllerGetOutput operation in ChannelsCRUDAPIApi.
|
|
684
|
+
* @export
|
|
685
|
+
* @interface ChannelsCRUDAPIApiChannelControllerGetOutputRequest
|
|
686
|
+
*/
|
|
687
|
+
export interface ChannelsCRUDAPIApiChannelControllerGetOutputRequest {
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerGetOutput
|
|
692
|
+
*/
|
|
693
|
+
readonly channelId: string
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Request parameters for channelControllerListChannel operation in ChannelsCRUDAPIApi.
|
|
698
|
+
* @export
|
|
699
|
+
* @interface ChannelsCRUDAPIApiChannelControllerListChannelRequest
|
|
700
|
+
*/
|
|
701
|
+
export interface ChannelsCRUDAPIApiChannelControllerListChannelRequest {
|
|
702
|
+
/**
|
|
703
|
+
* Use only allowed properties separated by semicolon; default is ascending created_at; prefix name with hyphen/minus sign to get descending order
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerListChannel
|
|
706
|
+
*/
|
|
707
|
+
readonly sort?: string
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* search conditions ($and, $or with all possible variations)
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerListChannel
|
|
713
|
+
*/
|
|
714
|
+
readonly q?: string
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* pagination number
|
|
718
|
+
* @type {number}
|
|
719
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerListChannel
|
|
720
|
+
*/
|
|
721
|
+
readonly page?: number
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {number}
|
|
726
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerListChannel
|
|
727
|
+
*/
|
|
728
|
+
readonly perPage?: number
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* 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.
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerListChannel
|
|
734
|
+
*/
|
|
735
|
+
readonly fields?: string
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Request parameters for channelControllerUpdateChannel operation in ChannelsCRUDAPIApi.
|
|
740
|
+
* @export
|
|
741
|
+
* @interface ChannelsCRUDAPIApiChannelControllerUpdateChannelRequest
|
|
742
|
+
*/
|
|
743
|
+
export interface ChannelsCRUDAPIApiChannelControllerUpdateChannelRequest {
|
|
744
|
+
/**
|
|
745
|
+
*
|
|
746
|
+
* @type {string}
|
|
747
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerUpdateChannel
|
|
748
|
+
*/
|
|
749
|
+
readonly channelId: string
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @type {boolean}
|
|
754
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerUpdateChannel
|
|
755
|
+
*/
|
|
756
|
+
readonly restart: boolean
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {UpdateChannelDto}
|
|
761
|
+
* @memberof ChannelsCRUDAPIApiChannelControllerUpdateChannel
|
|
762
|
+
*/
|
|
763
|
+
readonly updateChannelDto: UpdateChannelDto
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* ChannelsCRUDAPIApi - object-oriented interface
|
|
768
|
+
* @export
|
|
769
|
+
* @class ChannelsCRUDAPIApi
|
|
770
|
+
* @extends {BaseAPI}
|
|
771
|
+
*/
|
|
772
|
+
export class ChannelsCRUDAPIApi extends BaseAPI {
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @param {ChannelsCRUDAPIApiChannelControllerCountChannelRequest} requestParameters Request parameters.
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
* @memberof ChannelsCRUDAPIApi
|
|
779
|
+
*/
|
|
780
|
+
public channelControllerCountChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerCountChannelRequest = {}, options?: AxiosRequestConfig) {
|
|
781
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerCountChannel(requestParameters.name, requestParameters.type, requestParameters.status, requestParameters.jobState, options).then((request) => request(this.axios, this.basePath));
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Create Transcode live channel
|
|
786
|
+
* @summary Create Transcode live channel
|
|
787
|
+
* @param {ChannelsCRUDAPIApiChannelControllerCreateChannelRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
* @memberof ChannelsCRUDAPIApi
|
|
791
|
+
*/
|
|
792
|
+
public channelControllerCreateChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerCreateChannelRequest, options?: AxiosRequestConfig) {
|
|
793
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerCreateChannel(requestParameters.start, requestParameters.createChannelDto, options).then((request) => request(this.axios, this.basePath));
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Delete Channel by Id
|
|
798
|
+
* @summary Delete Channel by Id
|
|
799
|
+
* @param {ChannelsCRUDAPIApiChannelControllerDeleteChannelRequest} requestParameters Request parameters.
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
* @memberof ChannelsCRUDAPIApi
|
|
803
|
+
*/
|
|
804
|
+
public channelControllerDeleteChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerDeleteChannelRequest, options?: AxiosRequestConfig) {
|
|
805
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerDeleteChannel(requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Get Channel by Id
|
|
810
|
+
* @summary Get Channel by Id
|
|
811
|
+
* @param {ChannelsCRUDAPIApiChannelControllerGetChannelRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof ChannelsCRUDAPIApi
|
|
815
|
+
*/
|
|
816
|
+
public channelControllerGetChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerGetChannelRequest, options?: AxiosRequestConfig) {
|
|
817
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerGetChannel(requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @summary
|
|
823
|
+
* @param {ChannelsCRUDAPIApiChannelControllerGetDetailRequest} requestParameters Request parameters.
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @deprecated
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
* @memberof ChannelsCRUDAPIApi
|
|
828
|
+
*/
|
|
829
|
+
public channelControllerGetDetail(requestParameters: ChannelsCRUDAPIApiChannelControllerGetDetailRequest, options?: AxiosRequestConfig) {
|
|
830
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerGetDetail(requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @summary
|
|
836
|
+
* @param {ChannelsCRUDAPIApiChannelControllerGetOutputRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @deprecated
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
* @memberof ChannelsCRUDAPIApi
|
|
841
|
+
*/
|
|
842
|
+
public channelControllerGetOutput(requestParameters: ChannelsCRUDAPIApiChannelControllerGetOutputRequest, options?: AxiosRequestConfig) {
|
|
843
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerGetOutput(requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Get List Transcode Live Channel
|
|
848
|
+
* @summary Get List Transcode Live Channel
|
|
849
|
+
* @param {ChannelsCRUDAPIApiChannelControllerListChannelRequest} requestParameters Request parameters.
|
|
850
|
+
* @param {*} [options] Override http request option.
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
* @memberof ChannelsCRUDAPIApi
|
|
853
|
+
*/
|
|
854
|
+
public channelControllerListChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerListChannelRequest = {}, options?: AxiosRequestConfig) {
|
|
855
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerListChannel(requestParameters.sort, requestParameters.q, requestParameters.page, requestParameters.perPage, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Update Channel by Id
|
|
860
|
+
* @summary Update Channel by Id
|
|
861
|
+
* @param {ChannelsCRUDAPIApiChannelControllerUpdateChannelRequest} requestParameters Request parameters.
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
* @memberof ChannelsCRUDAPIApi
|
|
865
|
+
*/
|
|
866
|
+
public channelControllerUpdateChannel(requestParameters: ChannelsCRUDAPIApiChannelControllerUpdateChannelRequest, options?: AxiosRequestConfig) {
|
|
867
|
+
return ChannelsCRUDAPIApiFp(this.configuration).channelControllerUpdateChannel(requestParameters.channelId, requestParameters.restart, requestParameters.updateChannelDto, options).then((request) => request(this.axios, this.basePath));
|
|
868
|
+
}
|
|
869
|
+
}
|