From 9017fbb1b587fad84ccca98fc8b51f8247c41d1f Mon Sep 17 00:00:00 2001 From: Xannyx <56308735+xannyxs@users.noreply.github.com> Date: Mon, 19 Aug 2024 09:50:52 +0200 Subject: [PATCH] Improvements to Speaker page (#881) ## Description The following improvements have been made: - Made the speaker page mobile friendly - Added the streamEth logo in the navigation bar - Created a state to makes sure the user does not reupload the NFT on Zora - Added trackers on the "Upload to YT" and "Upload to Zora" buttons ## Type of change Please delete options that are not relevant. - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Screenshots (if appropriate): ## Additional context: @Eric-Vondee There is one error when I try to upload to Zora, which is the following: `message: "type has should be one of the following; ['event','video']"` @Greatsamist The YouTube upload does not work yet, because we are missing the "socialId" Tracker has not been tested yet, since it needs to be on production. --------- Co-authored-by: mariodev Co-authored-by: greatsamist --- .../SpeakerYoutubePublishButton.tsx | 7 +- .../[session]/components/ZoraUploadButton.tsx | 10 +- packages/app/app/speaker/[session]/layout.tsx | 18 + packages/app/app/speaker/[session]/page.tsx | 4 +- packages/app/components/Layout/Footer.tsx | 4 +- .../app/components/Layout/HomePageNavbar.tsx | 40 +- .../components/misc/ConnectWalletButton.tsx | 2 +- packages/server/package.json | 2 +- .../src/controllers/state.controller.ts | 1 + packages/server/src/routes/routes.ts | 2 +- packages/server/src/swagger/swagger.json | 11436 ++++++++-------- 11 files changed, 6008 insertions(+), 5518 deletions(-) create mode 100644 packages/app/app/speaker/[session]/layout.tsx diff --git a/packages/app/app/speaker/[session]/components/SpeakerYoutubePublishButton.tsx b/packages/app/app/speaker/[session]/components/SpeakerYoutubePublishButton.tsx index 82c39bb12..3a630814f 100644 --- a/packages/app/app/speaker/[session]/components/SpeakerYoutubePublishButton.tsx +++ b/packages/app/app/speaker/[session]/components/SpeakerYoutubePublishButton.tsx @@ -1,4 +1,5 @@ 'use client'; + import { Button } from '@/components/ui/button'; import { Dialog, DialogContent } from '@/components/ui/dialog'; import useSearchParams from '@/lib/hooks/useSearchParams'; @@ -44,7 +45,6 @@ const SpeakerYoutubePublishButton = ({ const handleYoutubePublish = async () => { setIsLoading(true); - track('Upload to YouTube', { location: 'Speaker Page' }); try { const response = await fetch(`${apiUrl()}/sessions/upload`, { method: 'POST', @@ -134,7 +134,10 @@ const SpeakerYoutubePublishButton = ({ ) : ( - showSearchBar && ( - - Logo - - ) + + Logo + )} -
+
{showSearchBar && ( )} @@ -204,8 +202,8 @@ const PCNavBar = ({ }; return ( - -
+ +
{showLogo && ( )}
-
+
{showSearchBar && ( )}
-
+
{organizations && ( - {isConnected ? ensName ?? truncatedAddress : btnText} + {isConnected ? (ensName ?? truncatedAddress) : btnText} ); diff --git a/packages/server/package.json b/packages/server/package.json index 750f0185d..a8f6ef4fd 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -3,7 +3,7 @@ "version": "3.0.0", "private": true, "scripts": { - "start": "node ./dist/server/src/server.js", + "start": "node ./dist/server.js", "dev": "nodemon --config nodemon.json", "build": "yarn run generate:routes && tsc --build tsconfig.prod.json && tsc-alias -p tsconfig.prod.json", "test": "mocha", diff --git a/packages/server/src/controllers/state.controller.ts b/packages/server/src/controllers/state.controller.ts index 6ffd841c4..7fd49d67c 100644 --- a/packages/server/src/controllers/state.controller.ts +++ b/packages/server/src/controllers/state.controller.ts @@ -35,6 +35,7 @@ export class StateController extends Controller { const state = await this.stateService.create(body); return SendApiResponse('state created', state); } + /** * * @Summary Edit state diff --git a/packages/server/src/routes/routes.ts b/packages/server/src/routes/routes.ts index b4399af84..854e78213 100644 --- a/packages/server/src/routes/routes.ts +++ b/packages/server/src/routes/routes.ts @@ -259,7 +259,7 @@ const models: TsoaRoute.Models = { // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "StateType": { "dataType": "refEnum", - "enums": ["event","video"], + "enums": ["zora","event","video"], }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "IState": { diff --git a/packages/server/src/swagger/swagger.json b/packages/server/src/swagger/swagger.json index 73849955b..4c6989e05 100644 --- a/packages/server/src/swagger/swagger.json +++ b/packages/server/src/swagger/swagger.json @@ -1,5487 +1,5951 @@ { - "openapi": "3.0.0", - "components": { - "examples": {}, - "headers": {}, - "parameters": {}, - "requestBodies": {}, - "responses": {}, - "schemas": { - "mongoose.Types.ObjectId": { - "type": "string" - }, - "ISocials": { - "properties": { - "_id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "accessToken": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "expireTime": { - "type": "number", - "format": "double" - }, - "name": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "channelId": { - "type": "string" - } - }, - "required": [ - "type", - "accessToken", - "refreshToken", - "expireTime", - "name" - ], - "type": "object", - "additionalProperties": false - }, - "IOrganization": { - "properties": { - "_id": { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "description": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "url": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "location": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "walletAddress": { - "type": "string" - }, - "address": { - "type": "string" - }, - "socials": { - "items": { - "$ref": "#/components/schemas/ISocials" - }, - "type": "array" - } - }, - "required": ["name", "email", "logo"], - "type": "object", - "additionalProperties": false - }, - "UserRole": { - "enum": ["user", "admin"], - "type": "string" - }, - "IUser": { - "properties": { - "walletAddress": { - "type": "string" - }, - "organizations": { - "items": { - "$ref": "#/components/schemas/IOrganization" - }, - "type": "array" - }, - "role": { - "$ref": "#/components/schemas/UserRole" - }, - "token": { - "type": "string" - }, - "did": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IUser_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IUser" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "ISupport": { - "properties": { - "message": { - "type": "string" - }, - "telegram": { - "type": "string" - }, - "email": { - "type": "string" - }, - "image": { - "type": "string" - } - }, - "required": ["message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_ISupport_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/ISupport" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateSupportTicketDto": { - "properties": { - "message": { - "type": "string" - }, - "telegram": { - "type": "string" - }, - "email": { - "type": "string" - }, - "image": { - "type": "string" - } - }, - "required": ["message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_ISupport-Array_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/ISupport" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_any_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": {} - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateMultiStreamDto": { - "properties": { - "name": { - "type": "string" - }, - "streamId": { - "type": "string" - }, - "targetStreamKey": { - "type": "string" - }, - "targetURL": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "socialId": { - "type": "string" - }, - "socialType": { - "type": "string" - }, - "broadcastId": { - "type": "string" - } - }, - "required": [ - "name", - "streamId", - "targetStreamKey", - "targetURL", - "organizationId" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_void_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": {} - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "DeleteMultiStreamDto": { - "properties": { - "streamId": { - "type": "string" - }, - "targetId": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - }, - "required": ["streamId", "targetId", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__url-string--assetId-string__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "assetId": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": ["assetId", "url"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_string_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "type": "string" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__playbackUrl-string--phaseStatus-string__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "phaseStatus": { - "type": "string" - }, - "playbackUrl": { - "type": "string" - } - }, - "required": ["phaseStatus", "playbackUrl"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__viewCount-number--playTimeMins-number__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "playTimeMins": { - "type": "number", - "format": "double" - }, - "viewCount": { - "type": "number", - "format": "double" - } - }, - "required": ["playTimeMins", "viewCount"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateClipDto": { - "properties": { - "playbackId": { - "type": "string" - }, - "sessionId": { - "type": "string" - }, - "recordingId": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - } - }, - "required": ["playbackId", "sessionId", "recordingId", "start", "end"], - "type": "object", - "additionalProperties": false - }, - "SheetType": { - "enum": ["gsheet", "pretalx"], - "type": "string" - }, - "StateStatus": { - "enum": ["pending", "completed", "canceled", "sync", "failed"], - "type": "string" - }, - "StateType": { - "enum": ["event", "video"], - "type": "string" - }, - "IState": { - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "eventId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "sessionId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "eventSlug": { - "type": "string" - }, - "sessionSlug": { - "type": "string" - }, - "sheetType": { - "$ref": "#/components/schemas/SheetType" - }, - "status": { - "$ref": "#/components/schemas/StateStatus" - }, - "type": { - "$ref": "#/components/schemas/StateType" - } - }, - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IState_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IState" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateStateDto": { - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "eventId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "sessionId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "eventSlug": { - "type": "string" - }, - "sessionSlug": { - "type": "string" - }, - "sheetType": { - "$ref": "#/components/schemas/SheetType" - }, - "status": { - "$ref": "#/components/schemas/StateStatus" - }, - "type": { - "$ref": "#/components/schemas/StateType" - } - }, - "required": ["organizationId"], - "type": "object", - "additionalProperties": false - }, - "UpdateStateDto": { - "properties": { - "eventId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "sessionId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "eventSlug": { - "type": "string" - }, - "sessionSlug": { - "type": "string" - }, - "sheetType": { - "$ref": "#/components/schemas/SheetType" - }, - "status": { - "$ref": "#/components/schemas/StateStatus" - }, - "type": { - "$ref": "#/components/schemas/StateType" - } - }, - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_IState__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IState" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "TargetOutput": { - "properties": { - "_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "socialId": { - "type": "string" - }, - "socialType": { - "type": "string" - }, - "broadcastId": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "IStreamSettings": { - "properties": { - "streamId": { - "type": "string" - }, - "parentId": { - "type": "string" - }, - "playbackId": { - "type": "string" - }, - "isHealthy": { - "type": "boolean" - }, - "isActive": { - "type": "boolean" - }, - "streamKey": { - "type": "string" - }, - "ipfshash": { - "type": "string" - }, - "targets": { - "items": { - "$ref": "#/components/schemas/TargetOutput" - }, - "type": "array" - } - }, - "type": "object", - "additionalProperties": false - }, - "IPlugin": { - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "type": "object", - "additionalProperties": false - }, - "IStage": { - "properties": { - "_id": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "eventId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "streamSettings": { - "$ref": "#/components/schemas/IStreamSettings" - }, - "plugins": { - "items": { - "$ref": "#/components/schemas/IPlugin" - }, - "type": "array" - }, - "order": { - "type": "number", - "format": "double" - }, - "slug": { - "type": "string" - }, - "published": { - "type": "boolean" - }, - "isMultipleDate": { - "type": "boolean" - }, - "organizationId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "thumbnail": { - "type": "string" - }, - "streamDate": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "string" - } - ] - }, - "streamEndDate": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "string" - } - ] - }, - "mintable": { - "type": "boolean" - }, - "createdAt": { - "type": "string" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - } - }, - "required": ["name", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IStage_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IStage" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateStageDto": { - "properties": { - "_id": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "eventId": { - "type": "string" - }, - "streamSettings": { - "$ref": "#/components/schemas/IStreamSettings" - }, - "plugins": { - "items": { - "$ref": "#/components/schemas/IPlugin" - }, - "type": "array" - }, - "order": { - "type": "number", - "format": "double" - }, - "slug": { - "type": "string" - }, - "published": { - "type": "boolean" - }, - "isMultipleDate": { - "type": "boolean" - }, - "organizationId": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "streamDate": { - "type": "string", - "format": "date-time" - }, - "streamEndDate": { - "type": "string", - "format": "date-time" - }, - "mintable": { - "type": "boolean" - }, - "createdAt": { - "type": "string" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - } - }, - "required": ["name", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "UpdateStageDto": { - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "eventId": { - "type": "string" - }, - "published": { - "type": "boolean" - }, - "isMultipleDate": { - "type": "boolean" - }, - "streamSettings": { - "$ref": "#/components/schemas/IStreamSettings" - }, - "plugins": { - "items": { - "$ref": "#/components/schemas/IPlugin" - }, - "type": "array" - }, - "order": { - "type": "number", - "format": "double" - }, - "organizationId": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "streamDate": { - "type": "string" - }, - "streamEndDate": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "mintable": { - "type": "boolean" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - } - }, - "required": ["name", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_IStage__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IStage" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "OrgIdDto": { - "properties": { - "organizationId": { - "type": "string" - } - }, - "required": ["organizationId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__streamKey-string--ingestUrl-string__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "ingestUrl": { - "type": "string" - }, - "streamKey": { - "type": "string" - } - }, - "required": ["ingestUrl", "streamKey"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateLiveStreamDto": { - "properties": { - "stageId": { - "type": "string" - }, - "socialId": { - "type": "string" - }, - "socialType": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - }, - "required": ["stageId", "socialId", "socialType", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "ISpeaker": { - "properties": { - "_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "eventId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "twitter": { - "type": "string" - }, - "github": { - "type": "string" - }, - "website": { - "type": "string" - }, - "photo": { - "type": "string" - }, - "company": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "organizationId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - } - }, - "required": ["name", "bio", "organizationId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_ISpeaker_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/ISpeaker" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateSpeakerDto": { - "properties": { - "_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "eventId": { - "type": "string" - }, - "twitter": { - "type": "string" - }, - "github": { - "type": "string" - }, - "website": { - "type": "string" - }, - "photo": { - "type": "string" - }, - "company": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "organizationId": { - "type": "string" - } - }, - "required": ["name", "bio", "organizationId", "eventId"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_ISpeaker__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/ISpeaker" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "Pick_ISpeaker.Exclude_keyofISpeaker.organizationId__": { - "properties": { - "_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "eventId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "twitter": { - "type": "string" - }, - "github": { - "type": "string" - }, - "website": { - "type": "string" - }, - "photo": { - "type": "string" - }, - "company": { - "type": "string" - }, - "slug": { - "type": "string" - } - }, - "required": ["name", "bio"], - "type": "object", - "description": "From T, pick a set of properties whose keys are in the union K" - }, - "Omit_ISpeaker.organizationId_": { - "$ref": "#/components/schemas/Pick_ISpeaker.Exclude_keyofISpeaker.organizationId__", - "description": "Construct a type with the properties of T except for those in type K." - }, - "ISource": { - "properties": { - "streamUrl": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - } - }, - "type": "object", - "additionalProperties": false - }, - "IPlayback": { - "properties": { - "livepeerId": { - "type": "string" - }, - "videoUrl": { - "type": "string" - }, - "ipfsHash": { - "type": "string" - }, - "format": { - "type": "string" - }, - "duration": { - "type": "number", - "format": "double" - } - }, - "type": "object", - "additionalProperties": false - }, - "SessionType": { - "enum": ["clip", "livestream", "video"], - "type": "string" - }, - "ClippingStatus": { - "enum": ["pending", "failed", "completed"], - "type": "string" - }, - "ISession": { - "properties": { - "_id": { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - }, - "startClipTime": { - "type": "number", - "format": "double" - }, - "endClipTime": { - "type": "number", - "format": "double" - }, - "stageId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "speakers": { - "items": { - "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" - }, - "type": "array" - }, - "source": { - "$ref": "#/components/schemas/ISource" - }, - "assetId": { - "type": "string" - }, - "playback": { - "$ref": "#/components/schemas/IPlayback" - }, - "videoUrl": { - "type": "string" - }, - "playbackId": { - "type": "string" - }, - "eventId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "organizationId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "track": { - "items": { - "type": "string" - }, - "type": "array" - }, - "coverImage": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "eventSlug": { - "type": "string" - }, - "videoTranscription": { - "type": "string" - }, - "aiDescription": { - "type": "string" - }, - "autoLabels": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ipfsURI": { - "type": "string" - }, - "mintable": { - "type": "boolean" - }, - "published": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/SessionType" - }, - "createdAt": { - "type": "string" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "socials": { - "items": { - "properties": { - "date": { - "type": "number", - "format": "double" - }, - "name": { - "type": "string" - } - }, - "required": ["date", "name"], - "type": "object" - }, - "type": "array" - }, - "firebaseId": { - "type": "string" - }, - "talkType": { - "type": "string" - }, - "clippingStatus": { - "$ref": "#/components/schemas/ClippingStatus" - } - }, - "required": [ - "name", - "description", - "start", - "end", - "organizationId", - "type" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_ISession_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/ISession" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "Pick_ISession.Exclude_keyofISession._id__": { - "properties": { - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "name": { - "type": "string" - }, - "eventId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - }, - "startClipTime": { - "type": "number", - "format": "double" - }, - "endClipTime": { - "type": "number", - "format": "double" - }, - "stageId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "speakers": { - "items": { - "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" - }, - "type": "array" - }, - "source": { - "$ref": "#/components/schemas/ISource" - }, - "assetId": { - "type": "string" - }, - "playback": { - "$ref": "#/components/schemas/IPlayback" - }, - "videoUrl": { - "type": "string" - }, - "playbackId": { - "type": "string" - }, - "track": { - "items": { - "type": "string" - }, - "type": "array" - }, - "coverImage": { - "type": "string" - }, - "eventSlug": { - "type": "string" - }, - "videoTranscription": { - "type": "string" - }, - "aiDescription": { - "type": "string" - }, - "autoLabels": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ipfsURI": { - "type": "string" - }, - "mintable": { - "type": "boolean" - }, - "published": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/SessionType" - }, - "createdAt": { - "type": "string" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "socials": { - "items": { - "properties": { - "date": { - "type": "number", - "format": "double" - }, - "name": { - "type": "string" - } - }, - "required": ["date", "name"], - "type": "object" - }, - "type": "array" - }, - "firebaseId": { - "type": "string" - }, - "talkType": { - "type": "string" - }, - "clippingStatus": { - "$ref": "#/components/schemas/ClippingStatus" - } - }, - "required": [ - "organizationId", - "name", - "description", - "start", - "end", - "type" - ], - "type": "object", - "description": "From T, pick a set of properties whose keys are in the union K" - }, - "CreateSessionDto": { - "properties": { - "organizationId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "eventId": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - }, - "startClipTime": { - "type": "number", - "format": "double" - }, - "endClipTime": { - "type": "number", - "format": "double" - }, - "stageId": { - "type": "string" - }, - "speakers": { - "items": { - "$ref": "#/components/schemas/ISpeaker" - }, - "type": "array" - }, - "source": { - "$ref": "#/components/schemas/ISource" - }, - "assetId": { - "type": "string" - }, - "playback": { - "$ref": "#/components/schemas/IPlayback" - }, - "videoUrl": { - "type": "string" - }, - "playbackId": { - "type": "string" - }, - "track": { - "items": { - "type": "string" - }, - "type": "array" - }, - "coverImage": { - "type": "string" - }, - "eventSlug": { - "type": "string" - }, - "videoTranscription": { - "type": "string" - }, - "aiDescription": { - "type": "string" - }, - "autoLabels": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ipfsURI": { - "type": "string" - }, - "mintable": { - "type": "boolean" - }, - "published": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/SessionType" - }, - "createdAt": { - "type": "string" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "socials": { - "items": { - "properties": { - "date": { - "type": "number", - "format": "double" - }, - "name": { - "type": "string" - } - }, - "required": ["date", "name"], - "type": "object" - }, - "type": "array" - }, - "firebaseId": { - "type": "string" - }, - "talkType": { - "type": "string" - }, - "clippingStatus": { - "$ref": "#/components/schemas/ClippingStatus" - }, - "autolabels": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "organizationId", - "name", - "description", - "start", - "end", - "type", - "speakers" - ], - "type": "object", - "additionalProperties": false - }, - "UpdateSessionDto": { - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "number", - "format": "double" - }, - "end": { - "type": "number", - "format": "double" - }, - "startClipTime": { - "type": "number", - "format": "double" - }, - "endClipTime": { - "type": "number", - "format": "double" - }, - "stageId": { - "type": "string" - }, - "speakers": { - "items": { - "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" - }, - "type": "array" - }, - "source": { - "$ref": "#/components/schemas/ISource" - }, - "playback": { - "$ref": "#/components/schemas/IPlayback" - }, - "videoUrl": { - "type": "string" - }, - "playbackId": { - "type": "string" - }, - "eventId": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "track": { - "items": { - "type": "string" - }, - "type": "array" - }, - "coverImage": { - "type": "string" - }, - "eventSlug": { - "type": "string" - }, - "videoTranscription": { - "type": "string" - }, - "aiDescription": { - "type": "string" - }, - "autolabels": { - "items": { - "type": "string" - }, - "type": "array" - }, - "assetId": { - "type": "string" - }, - "ipfsURI": { - "type": "string" - }, - "published": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/SessionType" - }, - "nftURI": { - "type": "string" - }, - "mintable": { - "type": "boolean" - }, - "nftCollections": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "active": { - "type": "boolean" - }, - "socials": { - "items": { - "properties": { - "date": { - "type": "number", - "format": "double" - }, - "name": { - "type": "string" - } - }, - "required": ["date", "name"], - "type": "object" - }, - "type": "array" - } - }, - "required": [ - "name", - "description", - "start", - "end", - "speakers", - "organizationId", - "type" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_ISession__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/ISession" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "UploadSessionDto": { - "properties": { - "socialId": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "sessionId": { - "type": "string" - }, - "token": { - "properties": { - "secret": { - "type": "string" - }, - "key": { - "type": "string" - } - }, - "required": ["secret"], - "type": "object" - }, - "type": { - "type": "string" - }, - "text": { - "type": "string" - }, - "refreshToken": { - "type": "string" - } - }, - "required": ["sessionId", "type"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__sessions-Array_ISession_--totalDocuments-number--pageable_58__page-number--size-number___": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "pageable": { - "properties": { - "size": { - "type": "number", - "format": "double" - }, - "page": { - "type": "number", - "format": "double" - } - }, - "required": ["size", "page"], - "type": "object" - }, - "totalDocuments": { - "type": "number", - "format": "double" - }, - "sessions": { - "items": { - "$ref": "#/components/schemas/ISession" - }, - "type": "array" - } - }, - "required": ["pageable", "totalDocuments", "sessions"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IOrganization_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IOrganization" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "Pick_IOrganization.Exclude_keyofIOrganization._id__": { - "properties": { - "name": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string" - }, - "socials": { - "items": { - "$ref": "#/components/schemas/ISocials" - }, - "type": "array" - }, - "email": { - "type": "string" - }, - "url": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "location": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "walletAddress": { - "type": "string" - }, - "address": { - "type": "string" - } - }, - "required": ["name", "email", "logo"], - "type": "object", - "description": "From T, pick a set of properties whose keys are in the union K" - }, - "CreateOrganizationDto": { - "properties": { - "name": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string" - }, - "socials": { - "items": { - "$ref": "#/components/schemas/ISocials" - }, - "type": "array" - }, - "email": { - "type": "string" - }, - "url": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "location": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "walletAddress": { - "type": "string" - }, - "address": { - "type": "string" - } - }, - "required": ["name", "email", "logo", "walletAddress"], - "type": "object", - "additionalProperties": false - }, - "UpdateOrganizationDto": { - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "email": { - "type": "string" - }, - "walletAddress": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": ["name", "logo", "email", "walletAddress"], - "type": "object", - "additionalProperties": false - }, - "Pick_CreateOrganizationDto.address_": { - "properties": { - "address": { - "type": "string" - } - }, - "type": "object", - "description": "From T, pick a set of properties whose keys are in the union K" - }, - "IStandardResponse_Array_IOrganization__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IOrganization" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_IUser__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IUser" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "Pick_CreateOrganizationDto.walletAddress_": { - "properties": { - "walletAddress": { - "type": "string" - } - }, - "required": ["walletAddress"], - "type": "object", - "description": "From T, pick a set of properties whose keys are in the union K" - }, - "NftCollectionType": { - "enum": ["single", "multiple"], - "type": "string" - }, - "INftCollection": { - "properties": { - "_id": { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/NftCollectionType" - }, - "organizationId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "videos": { - "items": { - "properties": { - "ipfsURI": { - "type": "string" - }, - "stageId": { - "type": "string" - }, - "sessionId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "index": { - "type": "number", - "format": "double" - } - }, - "required": ["type"], - "type": "object" - }, - "type": "array" - }, - "contractAddress": { - "type": "string" - }, - "ipfsPath": { - "type": "string" - } - }, - "required": ["name"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_INftCollection_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/INftCollection" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateNftCollectionDto": { - "properties": { - "_id": { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/NftCollectionType" - }, - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "videos": { - "items": { - "properties": { - "ipfsURI": { - "type": "string" - }, - "stageId": { - "type": "string" - }, - "sessionId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "index": { - "type": "number", - "format": "double" - } - }, - "required": ["ipfsURI", "type", "index"], - "type": "object" - }, - "type": "array" - }, - "contractAddress": { - "type": "string" - }, - "ipfsPath": { - "type": "string" - } - }, - "required": [ - "name", - "description", - "thumbnail", - "type", - "organizationId", - "videos" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__ipfsPath-string--videos-Array_any___": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "videos": { - "items": {}, - "type": "array" - }, - "ipfsPath": { - "type": "string" - } - }, - "required": ["videos", "ipfsPath"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "UpdateNftCollectionDto": { - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "thumbnail": { - "type": "string" - }, - "contractAddress": { - "type": "string" - }, - "ipfsPath": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/NftCollectionType" - }, - "organizationId": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - } - ] - }, - "videos": { - "items": { - "properties": { - "ipfsURI": { - "type": "string" - }, - "stageId": { - "type": "string" - }, - "sessionId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "index": { - "type": "number", - "format": "double" - } - }, - "required": ["type"], - "type": "object" - }, - "type": "array" - } - }, - "required": ["name"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_INftCollection__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/INftCollection" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "GSheetConfig": { - "properties": { - "sheetId": { - "type": "string" - }, - "apiKey": { - "type": "string" - }, - "driveId": { - "type": "string" - }, - "driveApiKey": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "PretalxConfig": { - "properties": { - "url": { - "type": "string" - }, - "apiToken": { - "type": "string" - }, - "sheetId": { - "type": "string" - } - }, - "required": ["apiToken"], - "type": "object", - "additionalProperties": false - }, - "IDataImporter": { - "anyOf": [ - { - "properties": { - "config": { - "$ref": "#/components/schemas/GSheetConfig" - }, - "type": { - "type": "string", - "enum": ["gsheet"], - "nullable": false - } - }, - "required": ["config", "type"], - "type": "object" - }, - { - "properties": { - "config": { - "$ref": "#/components/schemas/PretalxConfig" - }, - "type": { - "type": "string", - "enum": ["pretalx"], - "nullable": false - } - }, - "required": ["config", "type"], - "type": "object" - } - ] - }, - "IDataExporter": { - "properties": { - "config": { - "$ref": "#/components/schemas/GSheetConfig" - }, - "type": { - "type": "string", - "enum": ["gdrive"], - "nullable": false - } - }, - "required": ["config", "type"], - "type": "object" - }, - "IPlugins": { - "properties": { - "disableChat": { - "type": "boolean" - }, - "hideSchedule": { - "type": "boolean" - } - }, - "required": ["disableChat"], - "type": "object", - "additionalProperties": false - }, - "IEventNFT": { - "properties": { - "address": { - "type": "string" - }, - "name": { - "type": "string" - }, - "symbol": { - "type": "string" - }, - "uri": { - "type": "string" - }, - "maxSupply": { - "type": "string" - }, - "mintFee": { - "type": "string" - }, - "startTime": { - "type": "string" - }, - "endTime": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, - "IEvent": { - "properties": { - "_id": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "string" - } - ] - }, - "end": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "string" - } - ] - }, - "location": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "startTime": { - "type": "string" - }, - "endTime": { - "type": "string" - }, - "organizationId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "dataImporter": { - "items": { - "$ref": "#/components/schemas/IDataImporter" - }, - "type": "array" - }, - "eventCover": { - "type": "string" - }, - "archiveMode": { - "type": "boolean" - }, - "website": { - "type": "string" - }, - "timezone": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "unlisted": { - "type": "boolean" - }, - "dataExporter": { - "items": { - "$ref": "#/components/schemas/IDataExporter" - }, - "type": "array" - }, - "enableVideoDownloader": { - "type": "boolean" - }, - "plugins": { - "$ref": "#/components/schemas/IPlugins" - }, - "slug": { - "type": "string" - }, - "eventNFT": { - "$ref": "#/components/schemas/IEventNFT" - } - }, - "required": [ - "name", - "description", - "start", - "end", - "location", - "organizationId", - "timezone" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IEvent_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IEvent" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateEventDto": { - "properties": { - "_id": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "startTime": { - "type": "string" - }, - "endTime": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "dataImporter": { - "items": { - "$ref": "#/components/schemas/IDataImporter" - }, - "type": "array" - }, - "eventCover": { - "type": "string" - }, - "archiveMode": { - "type": "boolean" - }, - "website": { - "type": "string" - }, - "timezone": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "unlisted": { - "type": "boolean" - }, - "dataExporter": { - "items": { - "$ref": "#/components/schemas/IDataExporter" - }, - "type": "array" - }, - "enableVideoDownloader": { - "type": "boolean" - }, - "plugins": { - "$ref": "#/components/schemas/IPlugins" - }, - "slug": { - "type": "string" - }, - "eventNFT": { - "$ref": "#/components/schemas/IEventNFT" - }, - "nftAddress": { - "type": "string" - } - }, - "required": [ - "name", - "description", - "start", - "end", - "location", - "organizationId", - "timezone", - "logo", - "banner" - ], - "type": "object", - "additionalProperties": false - }, - "UpdateEventDto": { - "properties": { - "_id": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "start": { - "type": "string" - }, - "end": { - "type": "string" - }, - "location": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "banner": { - "type": "string" - }, - "startTime": { - "type": "string" - }, - "endTime": { - "type": "string" - }, - "organizationId": { - "type": "string" - }, - "dataImporter": { - "items": { - "$ref": "#/components/schemas/IDataImporter" - }, - "type": "array" - }, - "eventCover": { - "type": "string" - }, - "archiveMode": { - "type": "boolean" - }, - "website": { - "type": "string" - }, - "timezone": { - "type": "string" - }, - "accentColor": { - "type": "string" - }, - "unlisted": { - "type": "boolean" - }, - "dataExporter": { - "items": { - "$ref": "#/components/schemas/IDataExporter" - }, - "type": "array" - }, - "enableVideoDownloader": { - "type": "boolean" - }, - "plugins": { - "$ref": "#/components/schemas/IPlugins" - }, - "slug": { - "type": "string" - }, - "eventNFT": { - "$ref": "#/components/schemas/IEventNFT" - } - }, - "required": [ - "name", - "description", - "start", - "end", - "location", - "organizationId", - "timezone", - "logo", - "banner" - ], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_Array_IEvent__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IEvent" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IFrom": { - "properties": { - "identity": { - "type": "string" - } - }, - "required": ["identity"], - "type": "object", - "additionalProperties": false - }, - "IChat": { - "properties": { - "stageId": { - "anyOf": [ - { - "$ref": "#/components/schemas/mongoose.Types.ObjectId" - }, - { - "type": "string" - } - ] - }, - "message": { - "type": "string" - }, - "from": { - "$ref": "#/components/schemas/IFrom" - }, - "timestamp": { - "type": "number", - "format": "double" - } - }, - "required": ["stageId", "message", "from", "timestamp"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IChat_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "$ref": "#/components/schemas/IChat" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "CreateChatDto": { - "properties": { - "stageId": { - "type": "string" - }, - "message": { - "type": "string" - }, - "from": { - "$ref": "#/components/schemas/IFrom" - }, - "timestamp": { - "type": "number", - "format": "double" - } - }, - "required": ["stageId", "message", "from", "timestamp"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_IChat-Array_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "items": { - "$ref": "#/components/schemas/IChat" - }, - "type": "array" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse__user-IUser--token-string__": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "properties": { - "token": { - "type": "string" - }, - "user": { - "$ref": "#/components/schemas/IUser" - } - }, - "required": ["token", "user"], - "type": "object" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - }, - "UserDto": { - "properties": { - "token": { - "type": "string" - } - }, - "required": ["token"], - "type": "object", - "additionalProperties": false - }, - "IStandardResponse_boolean_": { - "properties": { - "status": { - "type": "string" - }, - "message": { - "type": "string" - }, - "data": { - "type": "boolean" - } - }, - "required": ["status", "message"], - "type": "object", - "additionalProperties": false - } - }, - "securitySchemes": { - "jwt": { - "name": "Authorization", - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT", - "in": "header" - } - } - }, - "info": { - "title": "streameth-api", - "version": "3.0.0", - "contact": {} - }, - "paths": { - "/users/{walletAddress}": { - "get": { - "operationId": "GetUserById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IUser_" - } - } - } - } - }, - "tags": ["User"], - "security": [ - { - "jwt": [] - } - ], - "parameters": [ - { - "in": "path", - "name": "walletAddress", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/Tickets": { - "post": { - "operationId": "CreateTicket", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISupport_" - } - } - } - } - }, - "summary": "Creates support ticket", - "tags": ["Support"], - "security": [ - { - "jwt": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSupportTicketDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllTickets", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISupport-Array_" - } - } - } - } - }, - "summary": "Get all support tickets", - "tags": ["Support"], - "security": [], - "parameters": [] - } - }, - "/streams/multistream": { - "post": { - "operationId": "CreateMultiStream", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Create Multistream", - "tags": ["Stream"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateMultiStreamDto" - } - } - } - } - }, - "delete": { - "operationId": "DeleteMultiStream", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete Multistream", - "tags": ["Stream"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteMultiStreamDto" - } - } - } - } - } - }, - "/streams/asset": { - "post": { - "operationId": "CreateAsset", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__url-string--assetId-string__" - } - } - } - } - }, - "summary": "Create stream asset", - "tags": ["Stream"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": {} - } - } - } - } - }, - "/streams/{streamId}": { - "get": { - "operationId": "GetStream", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Get Stream", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "streamId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/asset/{assetId}": { - "get": { - "operationId": "GetAsset", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Get Asset", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "assetId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/asset/url/{assetId}": { - "get": { - "operationId": "GetVideoUrl", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_string_" - } - } - } - } - }, - "summary": "Get Video url", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "assetId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/asset/phase-action/{assetId}": { - "get": { - "operationId": "GetPhaseAction", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__playbackUrl-string--phaseStatus-string__" - } - } - } - } - }, - "summary": "Get Video Phase Action", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "assetId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/metric/{playbackId}": { - "get": { - "operationId": "GetSessionMetrics", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__viewCount-number--playTimeMins-number__" - } - } - } - } - }, - "summary": "Get stream metrics", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "playbackId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/recording/{streamId}": { - "get": { - "operationId": "GetStreamRecordings", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Get stream recordings", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "streamId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/upload/{assetId}": { - "get": { - "operationId": "UploadToIpfs", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_string_" - } - } - } - } - }, - "summary": "Upload", - "tags": ["Stream"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "assetId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/streams/clip": { - "post": { - "operationId": "CreateClip", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Create clip", - "tags": ["Stream"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateClipDto" - } - } - } - } - } - }, - "/streams/thumbnail/generate": { - "post": { - "operationId": "GenerateThumbnail", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_any_" - } - } - } - } - }, - "summary": "Generate thumbnail", - "tags": ["Stream"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": {} - } - } - } - } - }, - "/states": { - "post": { - "operationId": "CreateState", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IState_" - } - } - } - } - }, - "tags": ["State"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateStateDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllStates", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IState__" - } - } - } - } - }, - "tags": ["State"], - "security": [], - "parameters": [ - { - "in": "query", - "name": "eventId", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "sessionId", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "eventSlug", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "type", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "status", - "required": false, - "schema": { - "type": "string" - } - } - ] - } - }, - "/states/{stateId}": { - "put": { - "operationId": "UpdateState", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IState_" - } - } - } - } - }, - "tags": ["State"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "stateId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateStateDto" - } - } - } - } - } - }, - "/stages": { - "post": { - "operationId": "CreateStage", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IStage_" - } - } - } - } - }, - "summary": "Create Session", - "tags": ["Stage"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateStageDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllStages", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" - } - } - } - } - }, - "summary": "Get All Stage", - "tags": ["Stage"], - "security": [], - "parameters": [ - { - "in": "query", - "name": "published", - "required": false, - "schema": { - "type": "boolean" - } - } - ] - } - }, - "/stages/{stageId}": { - "put": { - "operationId": "EditStage", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IStage_" - } - } - } - } - }, - "summary": "Update Stage", - "tags": ["Stage"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "stageId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateStageDto" - } - } - } - } - }, - "get": { - "operationId": "GetStageById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IStage_" - } - } - } - } - }, - "summary": "Get Stage by id", - "tags": ["Stage"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "stageId", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, - "delete": { - "operationId": "DeleteStage", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete Stage", - "tags": ["Stage"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "stageId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgIdDto" - } - } - } - } - } - }, - "/stages/event/{eventId}": { - "get": { - "operationId": "GetAllStagesForEvent", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" - } - } - } - } - }, - "summary": "Get All Stage for Event", - "tags": ["Stage"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/stages/organization/{organizationId}": { - "get": { - "operationId": "GetAllStagesForOrganization", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" - } - } - } - } - }, - "summary": "Get All Stage for Organization", - "tags": ["Stage"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/stages/livestream": { - "post": { - "operationId": "YoutubeStage", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__streamKey-string--ingestUrl-string__" - } - } - } - } - }, - "summary": "Create Livestream on youtube & twitter", - "tags": ["Stage"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateLiveStreamDto" - } - } - } - } - } - }, - "/speakers": { - "post": { - "operationId": "CreateSpeaker", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISpeaker_" - } - } - } - } - }, - "tags": ["Speaker"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSpeakerDto" - } - } - } - } - } - }, - "/speakers/{speakerId}": { - "get": { - "operationId": "GetSpeaker", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISpeaker_" - } - } - } - } - }, - "tags": ["Speaker"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "speakerId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/speakers/event/{eventId}": { - "get": { - "operationId": "GetAllSpeakersForEvent", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_ISpeaker__" - } - } - } - } - }, - "tags": ["Speaker"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/sessions": { - "post": { - "operationId": "CreateSession", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISession_" - } - } - } - } - }, - "summary": "Create Session", - "tags": ["Session"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSessionDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllSessions", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__sessions-Array_ISession_--totalDocuments-number--pageable_58__page-number--size-number___" - } - } - } - } - }, - "summary": "Get All Session", - "tags": ["Session"], - "security": [], - "parameters": [ - { - "in": "query", - "name": "event", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "organization", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "speaker", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "stageId", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "onlyVideos", - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "page", - "required": false, - "schema": { - "format": "double", - "type": "number" - } - }, - { - "in": "query", - "name": "size", - "required": false, - "schema": { - "format": "double", - "type": "number" - } - }, - { - "in": "query", - "name": "timestamp", - "required": false, - "schema": { - "format": "double", - "type": "number" - } - }, - { - "in": "query", - "name": "assetId", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "published", - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type", - "required": false, - "schema": { - "type": "string" - } - } - ] - } - }, - "/sessions/{sessionId}": { - "put": { - "operationId": "EditSession", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISession_" - } - } - } - } - }, - "summary": "Update Session", - "tags": ["Session"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "sessionId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateSessionDto" - } - } - } - } - }, - "get": { - "operationId": "GetSessionById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_ISession_" - } - } - } - } - }, - "summary": "Fetch session by id", - "tags": ["Session"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "sessionId", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, - "delete": { - "operationId": "DeleteSession", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete Session", - "tags": ["Session"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "sessionId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgIdDto" - } - } - } - } - } - }, - "/sessions/organization/{organizationId}": { - "get": { - "operationId": "GetOrgEventSessions", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" - } - } - } - } - }, - "summary": "Get all event sessions", - "tags": ["Session"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/sessions/search": { - "get": { - "operationId": "FilterSession", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" - } - } - } - } - }, - "summary": "Search sessions", - "tags": ["Session"], - "security": [], - "parameters": [ - { - "in": "query", - "name": "search", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/sessions/{organizationSlug}/search": { - "get": { - "operationId": "FilterSessionByOrganisation", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" - } - } - } - } - }, - "summary": "Search sessions per organisation", - "tags": ["Session"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "organizationSlug", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "search", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/sessions/upload": { - "post": { - "operationId": "UploadSessionToSocials", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Publish session to socials", - "tags": ["Session"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UploadSessionDto" - } - } - } - } - } - }, - "/organizations": { - "post": { - "operationId": "CreateOrganization", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IOrganization_" - } - } - } - } - }, - "summary": "Create organization", - "tags": ["Organization"], - "security": [ - { - "jwt": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateOrganizationDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllOrganizations", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IOrganization__" - } - } - } - } - }, - "summary": "Get all organizations", - "tags": ["Organization"], - "security": [], - "parameters": [] - } - }, - "/organizations/{organizationId}": { - "put": { - "operationId": "EditOrganization", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IOrganization_" - } - } - } - } - }, - "summary": "Update organization", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateOrganizationDto" - } - } - } - } - }, - "get": { - "operationId": "GetOrganizationById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IOrganization_" - } - } - } - } - }, - "summary": "Get organization by", - "tags": ["Organization"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, - "delete": { - "operationId": "DeleteOrganization", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete organization", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/organizations/member/{organizationId}": { - "put": { - "operationId": "UpdateOrgMembers", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Add member to organization", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Pick_CreateOrganizationDto.address_" - } - } - } - } - }, - "get": { - "operationId": "GetAllOrgMembers", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IUser__" - } - } - } - } - }, - "summary": "Get all organization members", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, - "delete": { - "operationId": "DeleteOrgMember", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete organization member", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Pick_CreateOrganizationDto.walletAddress_" - } - } - } - } - } - }, - "/organizations/socials/{organizationId}": { - "put": { - "operationId": "UpdateOrgSocials", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Add socials to organization", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ISocials" - } - } - } - } - }, - "delete": { - "operationId": "DeleteOrgSocial", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete organization social", - "tags": ["Organization"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "destinationId": { - "type": "string" - } - }, - "required": ["destinationId"], - "type": "object" - } - } - } - } - } - }, - "/collections": { - "post": { - "operationId": "CreateNftCollection", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_INftCollection_" - } - } - } - } - }, - "summary": "Create nft collection", - "tags": ["Collections"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateNftCollectionDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllCollections", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_INftCollection__" - } - } - } - } - }, - "summary": "Get all nft collections", - "tags": ["Collections"], - "security": [], - "parameters": [] - } - }, - "/collections/metadata/generate": { - "post": { - "operationId": "GenerateNftMetadata", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__ipfsPath-string--videos-Array_any___" - } - } - } - } - }, - "summary": "Generate nft metadata", - "tags": ["Collections"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateNftCollectionDto" - } - } - } - } - } - }, - "/collections/{collectionId}": { - "put": { - "operationId": "UpdateNftCollection", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_INftCollection_" - } - } - } - } - }, - "summary": "Update nft collection", - "tags": ["Collections"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "collectionId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateNftCollectionDto" - } - } - } - } - }, - "get": { - "operationId": "GetNftCollectionById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_INftCollection_" - } - } - } - } - }, - "summary": "Get Nft collection by id", - "tags": ["Collections"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "collectionId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/collections/organization/{organizationId}": { - "get": { - "operationId": "GetAllOrganizationNft", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_INftCollection__" - } - } - } - } - }, - "summary": "Get Nft collections by organization", - "tags": ["Collections"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "organizationId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/": { - "get": { - "operationId": "Index", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_string_" - } - } - } - } - }, - "tags": ["Index"], - "security": [], - "parameters": [] - } - }, - "/upload": { - "post": { - "operationId": "UploadImges", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_string_" - } - } - } - } - }, - "tags": ["Index"], - "security": [ - { - "jwt": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "file": { - "type": "string", - "format": "binary" - }, - "directory": { - "type": "string" - } - }, - "required": ["file", "directory"] - } - } - } - } - } - }, - "/webhook": { - "post": { - "operationId": "Webhook", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_string_" - } - } - } - } - }, - "tags": ["Index"], - "security": [], - "parameters": [ - { - "in": "header", - "name": "livepeer-signature", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": {} - } - } - } - } - }, - "/events": { - "post": { - "operationId": "CreateEvent", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IEvent_" - } - } - } - } - }, - "summary": "Creates Event", - "tags": ["Event"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateEventDto" - } - } - } - } - }, - "get": { - "operationId": "GetAllEvents", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_Array_IEvent__" - } - } - } - } - }, - "summary": "Get All Event", - "tags": ["Event"], - "security": [], - "parameters": [ - { - "in": "query", - "name": "organizationId", - "required": false, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "unlisted", - "required": false, - "schema": { - "type": "boolean" - } - } - ] - } - }, - "/events/{eventId}": { - "get": { - "operationId": "GetEventById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IEvent_" - } - } - } - } - }, - "summary": "Get Event", - "tags": ["Event"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, - "put": { - "operationId": "EditEvent", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IEvent_" - } - } - } - } - }, - "summary": "Update Event", - "tags": ["Event"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateEventDto" - } - } - } - } - }, - "delete": { - "operationId": "DeleteEvent", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Delete Event", - "tags": ["Event"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgIdDto" - } - } - } - } - } - }, - "/events/import/{eventId}": { - "put": { - "operationId": "EvenImporter", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_void_" - } - } - } - } - }, - "summary": "Event importer", - "tags": ["Event"], - "security": [ - { - "jwt": ["org"] - } - ], - "parameters": [ - { - "in": "path", - "name": "eventId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgIdDto" - } - } - } - } - } - }, - "/chats": { - "post": { - "operationId": "CreateCHar", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IChat_" - } - } - } - } - }, - "summary": "Creates Chat", - "tags": ["Chat"], - "security": [ - { - "jwt": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateChatDto" - } - } - } - } - } - }, - "/chats/{stageId}": { - "get": { - "operationId": "GetChatStageById", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_IChat-Array_" - } - } - } - } - }, - "summary": "Get all chats by stage", - "tags": ["Chat"], - "security": [], - "parameters": [ - { - "in": "path", - "name": "stageId", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/auth/login": { - "post": { - "operationId": "Login", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse__user-IUser--token-string__" - } - } - } - } - }, - "summary": "Login", - "tags": ["Auth"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - } - } - }, - "/auth/verify-token": { - "post": { - "operationId": "VerifyToken", - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IStandardResponse_boolean_" - } - } - } - } - }, - "summary": "Verify auth token", - "tags": ["Auth"], - "security": [], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - } - } - } - }, - "servers": [ - { - "url": "/streameth-platform-packages-new2" - } - ] -} + "openapi": "3.0.0", + "components": { + "examples": {}, + "headers": {}, + "parameters": {}, + "requestBodies": {}, + "responses": {}, + "schemas": { + "mongoose.Types.ObjectId": { + "type": "string" + }, + "ISocials": { + "properties": { + "_id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "accessToken": { + "type": "string" + }, + "refreshToken": { + "type": "string" + }, + "expireTime": { + "type": "number", + "format": "double" + }, + "name": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "channelId": { + "type": "string" + } + }, + "required": [ + "type", + "accessToken", + "refreshToken", + "expireTime", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "IOrganization": { + "properties": { + "_id": { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "description": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "url": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "location": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "address": { + "type": "string" + }, + "socials": { + "items": { + "$ref": "#/components/schemas/ISocials" + }, + "type": "array" + } + }, + "required": [ + "name", + "email", + "logo" + ], + "type": "object", + "additionalProperties": false + }, + "UserRole": { + "enum": [ + "user", + "admin" + ], + "type": "string" + }, + "IUser": { + "properties": { + "walletAddress": { + "type": "string" + }, + "organizations": { + "items": { + "$ref": "#/components/schemas/IOrganization" + }, + "type": "array" + }, + "role": { + "$ref": "#/components/schemas/UserRole" + }, + "token": { + "type": "string" + }, + "did": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IUser_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IUser" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "ISupport": { + "properties": { + "message": { + "type": "string" + }, + "telegram": { + "type": "string" + }, + "email": { + "type": "string" + }, + "image": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_ISupport_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/ISupport" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateSupportTicketDto": { + "properties": { + "message": { + "type": "string" + }, + "telegram": { + "type": "string" + }, + "email": { + "type": "string" + }, + "image": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_ISupport-Array_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/ISupport" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_any_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": {} + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateMultiStreamDto": { + "properties": { + "name": { + "type": "string" + }, + "streamId": { + "type": "string" + }, + "targetStreamKey": { + "type": "string" + }, + "targetURL": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "socialId": { + "type": "string" + }, + "socialType": { + "type": "string" + }, + "broadcastId": { + "type": "string" + } + }, + "required": [ + "name", + "streamId", + "targetStreamKey", + "targetURL", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_void_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": {} + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "DeleteMultiStreamDto": { + "properties": { + "streamId": { + "type": "string" + }, + "targetId": { + "type": "string" + }, + "organizationId": { + "type": "string" + } + }, + "required": [ + "streamId", + "targetId", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__url-string--assetId-string__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "assetId": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "assetId", + "url" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_string_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "type": "string" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__playbackUrl-string--phaseStatus-string__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "phaseStatus": { + "type": "string" + }, + "playbackUrl": { + "type": "string" + } + }, + "required": [ + "phaseStatus", + "playbackUrl" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__viewCount-number--playTimeMins-number__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "playTimeMins": { + "type": "number", + "format": "double" + }, + "viewCount": { + "type": "number", + "format": "double" + } + }, + "required": [ + "playTimeMins", + "viewCount" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateClipDto": { + "properties": { + "playbackId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "recordingId": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + } + }, + "required": [ + "playbackId", + "sessionId", + "recordingId", + "start", + "end" + ], + "type": "object", + "additionalProperties": false + }, + "SheetType": { + "enum": [ + "gsheet", + "pretalx" + ], + "type": "string" + }, + "StateStatus": { + "enum": [ + "pending", + "completed", + "canceled", + "sync", + "failed" + ], + "type": "string" + }, + "StateType": { + "enum": [ + "zora", + "event", + "video" + ], + "type": "string" + }, + "IState": { + "properties": { + "_id": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "eventId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "sessionId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "eventSlug": { + "type": "string" + }, + "sessionSlug": { + "type": "string" + }, + "sheetType": { + "$ref": "#/components/schemas/SheetType" + }, + "status": { + "$ref": "#/components/schemas/StateStatus" + }, + "type": { + "$ref": "#/components/schemas/StateType" + } + }, + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IState_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IState" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateStateDto": { + "properties": { + "_id": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "eventId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "sessionId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "eventSlug": { + "type": "string" + }, + "sessionSlug": { + "type": "string" + }, + "sheetType": { + "$ref": "#/components/schemas/SheetType" + }, + "status": { + "$ref": "#/components/schemas/StateStatus" + }, + "type": { + "$ref": "#/components/schemas/StateType" + } + }, + "required": [ + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateStateDto": { + "properties": { + "eventId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "sessionId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "eventSlug": { + "type": "string" + }, + "sessionSlug": { + "type": "string" + }, + "sheetType": { + "$ref": "#/components/schemas/SheetType" + }, + "status": { + "$ref": "#/components/schemas/StateStatus" + }, + "type": { + "$ref": "#/components/schemas/StateType" + } + }, + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_IState__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IState" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "TargetOutput": { + "properties": { + "_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "socialId": { + "type": "string" + }, + "socialType": { + "type": "string" + }, + "broadcastId": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "IStreamSettings": { + "properties": { + "streamId": { + "type": "string" + }, + "parentId": { + "type": "string" + }, + "playbackId": { + "type": "string" + }, + "isHealthy": { + "type": "boolean" + }, + "isActive": { + "type": "boolean" + }, + "streamKey": { + "type": "string" + }, + "ipfshash": { + "type": "string" + }, + "targets": { + "items": { + "$ref": "#/components/schemas/TargetOutput" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "IPlugin": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "IStage": { + "properties": { + "_id": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "eventId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "streamSettings": { + "$ref": "#/components/schemas/IStreamSettings" + }, + "plugins": { + "items": { + "$ref": "#/components/schemas/IPlugin" + }, + "type": "array" + }, + "order": { + "type": "number", + "format": "double" + }, + "slug": { + "type": "string" + }, + "published": { + "type": "boolean" + }, + "isMultipleDate": { + "type": "boolean" + }, + "organizationId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "thumbnail": { + "type": "string" + }, + "streamDate": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "streamEndDate": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "mintable": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "required": [ + "name", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IStage_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IStage" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateStageDto": { + "properties": { + "_id": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "eventId": { + "type": "string" + }, + "streamSettings": { + "$ref": "#/components/schemas/IStreamSettings" + }, + "plugins": { + "items": { + "$ref": "#/components/schemas/IPlugin" + }, + "type": "array" + }, + "order": { + "type": "number", + "format": "double" + }, + "slug": { + "type": "string" + }, + "published": { + "type": "boolean" + }, + "isMultipleDate": { + "type": "boolean" + }, + "organizationId": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "streamDate": { + "type": "string", + "format": "date-time" + }, + "streamEndDate": { + "type": "string", + "format": "date-time" + }, + "mintable": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "required": [ + "name", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateStageDto": { + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "eventId": { + "type": "string" + }, + "published": { + "type": "boolean" + }, + "isMultipleDate": { + "type": "boolean" + }, + "streamSettings": { + "$ref": "#/components/schemas/IStreamSettings" + }, + "plugins": { + "items": { + "$ref": "#/components/schemas/IPlugin" + }, + "type": "array" + }, + "order": { + "type": "number", + "format": "double" + }, + "organizationId": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "streamDate": { + "type": "string" + }, + "streamEndDate": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "mintable": { + "type": "boolean" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "required": [ + "name", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_IStage__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IStage" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "OrgIdDto": { + "properties": { + "organizationId": { + "type": "string" + } + }, + "required": [ + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__streamKey-string--ingestUrl-string__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "ingestUrl": { + "type": "string" + }, + "streamKey": { + "type": "string" + } + }, + "required": [ + "ingestUrl", + "streamKey" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateLiveStreamDto": { + "properties": { + "stageId": { + "type": "string" + }, + "socialId": { + "type": "string" + }, + "socialType": { + "type": "string" + }, + "organizationId": { + "type": "string" + } + }, + "required": [ + "stageId", + "socialId", + "socialType", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "ISpeaker": { + "properties": { + "_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "eventId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "twitter": { + "type": "string" + }, + "github": { + "type": "string" + }, + "website": { + "type": "string" + }, + "photo": { + "type": "string" + }, + "company": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "organizationId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "name", + "bio", + "organizationId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_ISpeaker_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/ISpeaker" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateSpeakerDto": { + "properties": { + "_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "eventId": { + "type": "string" + }, + "twitter": { + "type": "string" + }, + "github": { + "type": "string" + }, + "website": { + "type": "string" + }, + "photo": { + "type": "string" + }, + "company": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "organizationId": { + "type": "string" + } + }, + "required": [ + "name", + "bio", + "organizationId", + "eventId" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_ISpeaker__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/ISpeaker" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "Pick_ISpeaker.Exclude_keyofISpeaker.organizationId__": { + "properties": { + "_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "eventId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "twitter": { + "type": "string" + }, + "github": { + "type": "string" + }, + "website": { + "type": "string" + }, + "photo": { + "type": "string" + }, + "company": { + "type": "string" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "name", + "bio" + ], + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "Omit_ISpeaker.organizationId_": { + "$ref": "#/components/schemas/Pick_ISpeaker.Exclude_keyofISpeaker.organizationId__", + "description": "Construct a type with the properties of T except for those in type K." + }, + "ISource": { + "properties": { + "streamUrl": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + } + }, + "type": "object", + "additionalProperties": false + }, + "IPlayback": { + "properties": { + "livepeerId": { + "type": "string" + }, + "videoUrl": { + "type": "string" + }, + "ipfsHash": { + "type": "string" + }, + "format": { + "type": "string" + }, + "duration": { + "type": "number", + "format": "double" + } + }, + "type": "object", + "additionalProperties": false + }, + "SessionType": { + "enum": [ + "clip", + "livestream", + "video" + ], + "type": "string" + }, + "ClippingStatus": { + "enum": [ + "pending", + "failed", + "completed" + ], + "type": "string" + }, + "ISession": { + "properties": { + "_id": { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + }, + "startClipTime": { + "type": "number", + "format": "double" + }, + "endClipTime": { + "type": "number", + "format": "double" + }, + "stageId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "speakers": { + "items": { + "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" + }, + "type": "array" + }, + "source": { + "$ref": "#/components/schemas/ISource" + }, + "assetId": { + "type": "string" + }, + "playback": { + "$ref": "#/components/schemas/IPlayback" + }, + "videoUrl": { + "type": "string" + }, + "playbackId": { + "type": "string" + }, + "eventId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "organizationId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "track": { + "items": { + "type": "string" + }, + "type": "array" + }, + "coverImage": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "eventSlug": { + "type": "string" + }, + "videoTranscription": { + "type": "string" + }, + "aiDescription": { + "type": "string" + }, + "autoLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ipfsURI": { + "type": "string" + }, + "mintable": { + "type": "boolean" + }, + "published": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/SessionType" + }, + "createdAt": { + "type": "string" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "socials": { + "items": { + "properties": { + "date": { + "type": "number", + "format": "double" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "firebaseId": { + "type": "string" + }, + "talkType": { + "type": "string" + }, + "clippingStatus": { + "$ref": "#/components/schemas/ClippingStatus" + } + }, + "required": [ + "name", + "description", + "start", + "end", + "organizationId", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_ISession_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/ISession" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "Pick_ISession.Exclude_keyofISession._id__": { + "properties": { + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "name": { + "type": "string" + }, + "eventId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + }, + "startClipTime": { + "type": "number", + "format": "double" + }, + "endClipTime": { + "type": "number", + "format": "double" + }, + "stageId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "speakers": { + "items": { + "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" + }, + "type": "array" + }, + "source": { + "$ref": "#/components/schemas/ISource" + }, + "assetId": { + "type": "string" + }, + "playback": { + "$ref": "#/components/schemas/IPlayback" + }, + "videoUrl": { + "type": "string" + }, + "playbackId": { + "type": "string" + }, + "track": { + "items": { + "type": "string" + }, + "type": "array" + }, + "coverImage": { + "type": "string" + }, + "eventSlug": { + "type": "string" + }, + "videoTranscription": { + "type": "string" + }, + "aiDescription": { + "type": "string" + }, + "autoLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ipfsURI": { + "type": "string" + }, + "mintable": { + "type": "boolean" + }, + "published": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/SessionType" + }, + "createdAt": { + "type": "string" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "socials": { + "items": { + "properties": { + "date": { + "type": "number", + "format": "double" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "firebaseId": { + "type": "string" + }, + "talkType": { + "type": "string" + }, + "clippingStatus": { + "$ref": "#/components/schemas/ClippingStatus" + } + }, + "required": [ + "organizationId", + "name", + "description", + "start", + "end", + "type" + ], + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "CreateSessionDto": { + "properties": { + "organizationId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "eventId": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + }, + "startClipTime": { + "type": "number", + "format": "double" + }, + "endClipTime": { + "type": "number", + "format": "double" + }, + "stageId": { + "type": "string" + }, + "speakers": { + "items": { + "$ref": "#/components/schemas/ISpeaker" + }, + "type": "array" + }, + "source": { + "$ref": "#/components/schemas/ISource" + }, + "assetId": { + "type": "string" + }, + "playback": { + "$ref": "#/components/schemas/IPlayback" + }, + "videoUrl": { + "type": "string" + }, + "playbackId": { + "type": "string" + }, + "track": { + "items": { + "type": "string" + }, + "type": "array" + }, + "coverImage": { + "type": "string" + }, + "eventSlug": { + "type": "string" + }, + "videoTranscription": { + "type": "string" + }, + "aiDescription": { + "type": "string" + }, + "autoLabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ipfsURI": { + "type": "string" + }, + "mintable": { + "type": "boolean" + }, + "published": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/SessionType" + }, + "createdAt": { + "type": "string" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "socials": { + "items": { + "properties": { + "date": { + "type": "number", + "format": "double" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "firebaseId": { + "type": "string" + }, + "talkType": { + "type": "string" + }, + "clippingStatus": { + "$ref": "#/components/schemas/ClippingStatus" + }, + "autolabels": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "organizationId", + "name", + "description", + "start", + "end", + "type", + "speakers" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateSessionDto": { + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "number", + "format": "double" + }, + "end": { + "type": "number", + "format": "double" + }, + "startClipTime": { + "type": "number", + "format": "double" + }, + "endClipTime": { + "type": "number", + "format": "double" + }, + "stageId": { + "type": "string" + }, + "speakers": { + "items": { + "$ref": "#/components/schemas/Omit_ISpeaker.organizationId_" + }, + "type": "array" + }, + "source": { + "$ref": "#/components/schemas/ISource" + }, + "playback": { + "$ref": "#/components/schemas/IPlayback" + }, + "videoUrl": { + "type": "string" + }, + "playbackId": { + "type": "string" + }, + "eventId": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "track": { + "items": { + "type": "string" + }, + "type": "array" + }, + "coverImage": { + "type": "string" + }, + "eventSlug": { + "type": "string" + }, + "videoTranscription": { + "type": "string" + }, + "aiDescription": { + "type": "string" + }, + "autolabels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "assetId": { + "type": "string" + }, + "ipfsURI": { + "type": "string" + }, + "published": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/SessionType" + }, + "nftURI": { + "type": "string" + }, + "mintable": { + "type": "boolean" + }, + "nftCollections": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "active": { + "type": "boolean" + }, + "socials": { + "items": { + "properties": { + "date": { + "type": "number", + "format": "double" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name", + "description", + "start", + "end", + "speakers", + "organizationId", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_ISession__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/ISession" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "UploadSessionDto": { + "properties": { + "socialId": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "token": { + "properties": { + "secret": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "secret" + ], + "type": "object" + }, + "type": { + "type": "string" + }, + "text": { + "type": "string" + }, + "refreshToken": { + "type": "string" + } + }, + "required": [ + "sessionId", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__sessions-Array_ISession_--totalDocuments-number--pageable_58__page-number--size-number___": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "pageable": { + "properties": { + "size": { + "type": "number", + "format": "double" + }, + "page": { + "type": "number", + "format": "double" + } + }, + "required": [ + "size", + "page" + ], + "type": "object" + }, + "totalDocuments": { + "type": "number", + "format": "double" + }, + "sessions": { + "items": { + "$ref": "#/components/schemas/ISession" + }, + "type": "array" + } + }, + "required": [ + "pageable", + "totalDocuments", + "sessions" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IOrganization_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IOrganization" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "Pick_IOrganization.Exclude_keyofIOrganization._id__": { + "properties": { + "name": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "socials": { + "items": { + "$ref": "#/components/schemas/ISocials" + }, + "type": "array" + }, + "email": { + "type": "string" + }, + "url": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "location": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "address": { + "type": "string" + } + }, + "required": [ + "name", + "email", + "logo" + ], + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "CreateOrganizationDto": { + "properties": { + "name": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "socials": { + "items": { + "$ref": "#/components/schemas/ISocials" + }, + "type": "array" + }, + "email": { + "type": "string" + }, + "url": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "location": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "address": { + "type": "string" + } + }, + "required": [ + "name", + "email", + "logo", + "walletAddress" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateOrganizationDto": { + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "email": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "logo", + "email", + "walletAddress" + ], + "type": "object", + "additionalProperties": false + }, + "Pick_CreateOrganizationDto.address_": { + "properties": { + "address": { + "type": "string" + } + }, + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "IStandardResponse_Array_IOrganization__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IOrganization" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_IUser__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IUser" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "Pick_CreateOrganizationDto.walletAddress_": { + "properties": { + "walletAddress": { + "type": "string" + } + }, + "required": [ + "walletAddress" + ], + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "NftCollectionType": { + "enum": [ + "single", + "multiple" + ], + "type": "string" + }, + "INftCollection": { + "properties": { + "_id": { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/NftCollectionType" + }, + "organizationId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "videos": { + "items": { + "properties": { + "ipfsURI": { + "type": "string" + }, + "stageId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "index": { + "type": "number", + "format": "double" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": "array" + }, + "contractAddress": { + "type": "string" + }, + "ipfsPath": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_INftCollection_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/INftCollection" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateNftCollectionDto": { + "properties": { + "_id": { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/NftCollectionType" + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "videos": { + "items": { + "properties": { + "ipfsURI": { + "type": "string" + }, + "stageId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "index": { + "type": "number", + "format": "double" + } + }, + "required": [ + "ipfsURI", + "type", + "index" + ], + "type": "object" + }, + "type": "array" + }, + "contractAddress": { + "type": "string" + }, + "ipfsPath": { + "type": "string" + } + }, + "required": [ + "name", + "description", + "thumbnail", + "type", + "organizationId", + "videos" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__ipfsPath-string--videos-Array_any___": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "videos": { + "items": {}, + "type": "array" + }, + "ipfsPath": { + "type": "string" + } + }, + "required": [ + "videos", + "ipfsPath" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateNftCollectionDto": { + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "thumbnail": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "ipfsPath": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/NftCollectionType" + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + } + ] + }, + "videos": { + "items": { + "properties": { + "ipfsURI": { + "type": "string" + }, + "stageId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "index": { + "type": "number", + "format": "double" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_INftCollection__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/INftCollection" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "GSheetConfig": { + "properties": { + "sheetId": { + "type": "string" + }, + "apiKey": { + "type": "string" + }, + "driveId": { + "type": "string" + }, + "driveApiKey": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "PretalxConfig": { + "properties": { + "url": { + "type": "string" + }, + "apiToken": { + "type": "string" + }, + "sheetId": { + "type": "string" + } + }, + "required": [ + "apiToken" + ], + "type": "object", + "additionalProperties": false + }, + "IDataImporter": { + "anyOf": [ + { + "properties": { + "config": { + "$ref": "#/components/schemas/GSheetConfig" + }, + "type": { + "type": "string", + "enum": [ + "gsheet" + ], + "nullable": false + } + }, + "required": [ + "config", + "type" + ], + "type": "object" + }, + { + "properties": { + "config": { + "$ref": "#/components/schemas/PretalxConfig" + }, + "type": { + "type": "string", + "enum": [ + "pretalx" + ], + "nullable": false + } + }, + "required": [ + "config", + "type" + ], + "type": "object" + } + ] + }, + "IDataExporter": { + "properties": { + "config": { + "$ref": "#/components/schemas/GSheetConfig" + }, + "type": { + "type": "string", + "enum": [ + "gdrive" + ], + "nullable": false + } + }, + "required": [ + "config", + "type" + ], + "type": "object" + }, + "IPlugins": { + "properties": { + "disableChat": { + "type": "boolean" + }, + "hideSchedule": { + "type": "boolean" + } + }, + "required": [ + "disableChat" + ], + "type": "object", + "additionalProperties": false + }, + "IEventNFT": { + "properties": { + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "maxSupply": { + "type": "string" + }, + "mintFee": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "IEvent": { + "properties": { + "_id": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "end": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "location": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "organizationId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "dataImporter": { + "items": { + "$ref": "#/components/schemas/IDataImporter" + }, + "type": "array" + }, + "eventCover": { + "type": "string" + }, + "archiveMode": { + "type": "boolean" + }, + "website": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "unlisted": { + "type": "boolean" + }, + "dataExporter": { + "items": { + "$ref": "#/components/schemas/IDataExporter" + }, + "type": "array" + }, + "enableVideoDownloader": { + "type": "boolean" + }, + "plugins": { + "$ref": "#/components/schemas/IPlugins" + }, + "slug": { + "type": "string" + }, + "eventNFT": { + "$ref": "#/components/schemas/IEventNFT" + } + }, + "required": [ + "name", + "description", + "start", + "end", + "location", + "organizationId", + "timezone" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IEvent_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IEvent" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateEventDto": { + "properties": { + "_id": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "location": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "dataImporter": { + "items": { + "$ref": "#/components/schemas/IDataImporter" + }, + "type": "array" + }, + "eventCover": { + "type": "string" + }, + "archiveMode": { + "type": "boolean" + }, + "website": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "unlisted": { + "type": "boolean" + }, + "dataExporter": { + "items": { + "$ref": "#/components/schemas/IDataExporter" + }, + "type": "array" + }, + "enableVideoDownloader": { + "type": "boolean" + }, + "plugins": { + "$ref": "#/components/schemas/IPlugins" + }, + "slug": { + "type": "string" + }, + "eventNFT": { + "$ref": "#/components/schemas/IEventNFT" + }, + "nftAddress": { + "type": "string" + } + }, + "required": [ + "name", + "description", + "start", + "end", + "location", + "organizationId", + "timezone", + "logo", + "banner" + ], + "type": "object", + "additionalProperties": false + }, + "UpdateEventDto": { + "properties": { + "_id": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "location": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "dataImporter": { + "items": { + "$ref": "#/components/schemas/IDataImporter" + }, + "type": "array" + }, + "eventCover": { + "type": "string" + }, + "archiveMode": { + "type": "boolean" + }, + "website": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "accentColor": { + "type": "string" + }, + "unlisted": { + "type": "boolean" + }, + "dataExporter": { + "items": { + "$ref": "#/components/schemas/IDataExporter" + }, + "type": "array" + }, + "enableVideoDownloader": { + "type": "boolean" + }, + "plugins": { + "$ref": "#/components/schemas/IPlugins" + }, + "slug": { + "type": "string" + }, + "eventNFT": { + "$ref": "#/components/schemas/IEventNFT" + } + }, + "required": [ + "name", + "description", + "start", + "end", + "location", + "organizationId", + "timezone", + "logo", + "banner" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_Array_IEvent__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IEvent" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IFrom": { + "properties": { + "identity": { + "type": "string" + } + }, + "required": [ + "identity" + ], + "type": "object", + "additionalProperties": false + }, + "IChat": { + "properties": { + "stageId": { + "anyOf": [ + { + "$ref": "#/components/schemas/mongoose.Types.ObjectId" + }, + { + "type": "string" + } + ] + }, + "message": { + "type": "string" + }, + "from": { + "$ref": "#/components/schemas/IFrom" + }, + "timestamp": { + "type": "number", + "format": "double" + } + }, + "required": [ + "stageId", + "message", + "from", + "timestamp" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IChat_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/IChat" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "CreateChatDto": { + "properties": { + "stageId": { + "type": "string" + }, + "message": { + "type": "string" + }, + "from": { + "$ref": "#/components/schemas/IFrom" + }, + "timestamp": { + "type": "number", + "format": "double" + } + }, + "required": [ + "stageId", + "message", + "from", + "timestamp" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_IChat-Array_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/IChat" + }, + "type": "array" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse__user-IUser--token-string__": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "properties": { + "token": { + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/IUser" + } + }, + "required": [ + "token", + "user" + ], + "type": "object" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "UserDto": { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object", + "additionalProperties": false + }, + "IStandardResponse_boolean_": { + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + }, + "required": [ + "status", + "message" + ], + "type": "object", + "additionalProperties": false + } + }, + "securitySchemes": { + "jwt": { + "name": "Authorization", + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "in": "header" + } + } + }, + "info": { + "title": "streameth-api", + "version": "3.0.0", + "contact": {} + }, + "paths": { + "/users/{walletAddress}": { + "get": { + "operationId": "GetUserById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IUser_" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "jwt": [] + } + ], + "parameters": [ + { + "in": "path", + "name": "walletAddress", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/Tickets": { + "post": { + "operationId": "CreateTicket", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISupport_" + } + } + } + } + }, + "summary": "Creates support ticket", + "tags": [ + "Support" + ], + "security": [ + { + "jwt": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSupportTicketDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllTickets", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISupport-Array_" + } + } + } + } + }, + "summary": "Get all support tickets", + "tags": [ + "Support" + ], + "security": [], + "parameters": [] + } + }, + "/streams/multistream": { + "post": { + "operationId": "CreateMultiStream", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Create Multistream", + "tags": [ + "Stream" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateMultiStreamDto" + } + } + } + } + }, + "delete": { + "operationId": "DeleteMultiStream", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete Multistream", + "tags": [ + "Stream" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteMultiStreamDto" + } + } + } + } + } + }, + "/streams/asset": { + "post": { + "operationId": "CreateAsset", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__url-string--assetId-string__" + } + } + } + } + }, + "summary": "Create stream asset", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": {} + } + } + } + } + }, + "/streams/{streamId}": { + "get": { + "operationId": "GetStream", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Get Stream", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "streamId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/asset/{assetId}": { + "get": { + "operationId": "GetAsset", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Get Asset", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "assetId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/asset/url/{assetId}": { + "get": { + "operationId": "GetVideoUrl", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_string_" + } + } + } + } + }, + "summary": "Get Video url", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "assetId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/asset/phase-action/{assetId}": { + "get": { + "operationId": "GetPhaseAction", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__playbackUrl-string--phaseStatus-string__" + } + } + } + } + }, + "summary": "Get Video Phase Action", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "assetId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/metric/{playbackId}": { + "get": { + "operationId": "GetSessionMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__viewCount-number--playTimeMins-number__" + } + } + } + } + }, + "summary": "Get stream metrics", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "playbackId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/recording/{streamId}": { + "get": { + "operationId": "GetStreamRecordings", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Get stream recordings", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "streamId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/upload/{assetId}": { + "get": { + "operationId": "UploadToIpfs", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_string_" + } + } + } + } + }, + "summary": "Upload", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "assetId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/streams/clip": { + "post": { + "operationId": "CreateClip", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Create clip", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateClipDto" + } + } + } + } + } + }, + "/streams/thumbnail/generate": { + "post": { + "operationId": "GenerateThumbnail", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_any_" + } + } + } + } + }, + "summary": "Generate thumbnail", + "tags": [ + "Stream" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": {} + } + } + } + } + }, + "/states": { + "post": { + "operationId": "CreateState", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IState_" + } + } + } + } + }, + "tags": [ + "State" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateStateDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllStates", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IState__" + } + } + } + } + }, + "tags": [ + "State" + ], + "security": [], + "parameters": [ + { + "in": "query", + "name": "eventId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "sessionId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "eventSlug", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "type", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "status", + "required": false, + "schema": { + "type": "string" + } + } + ] + } + }, + "/states/{stateId}": { + "put": { + "operationId": "UpdateState", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IState_" + } + } + } + } + }, + "tags": [ + "State" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "stateId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateStateDto" + } + } + } + } + } + }, + "/stages": { + "post": { + "operationId": "CreateStage", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IStage_" + } + } + } + } + }, + "summary": "Create Session", + "tags": [ + "Stage" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateStageDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllStages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" + } + } + } + } + }, + "summary": "Get All Stage", + "tags": [ + "Stage" + ], + "security": [], + "parameters": [ + { + "in": "query", + "name": "published", + "required": false, + "schema": { + "type": "boolean" + } + } + ] + } + }, + "/stages/{stageId}": { + "put": { + "operationId": "EditStage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IStage_" + } + } + } + } + }, + "summary": "Update Stage", + "tags": [ + "Stage" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "stageId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateStageDto" + } + } + } + } + }, + "get": { + "operationId": "GetStageById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IStage_" + } + } + } + } + }, + "summary": "Get Stage by id", + "tags": [ + "Stage" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "stageId", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "delete": { + "operationId": "DeleteStage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete Stage", + "tags": [ + "Stage" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "stageId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrgIdDto" + } + } + } + } + } + }, + "/stages/event/{eventId}": { + "get": { + "operationId": "GetAllStagesForEvent", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" + } + } + } + } + }, + "summary": "Get All Stage for Event", + "tags": [ + "Stage" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/stages/organization/{organizationId}": { + "get": { + "operationId": "GetAllStagesForOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IStage__" + } + } + } + } + }, + "summary": "Get All Stage for Organization", + "tags": [ + "Stage" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/stages/livestream": { + "post": { + "operationId": "YoutubeStage", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__streamKey-string--ingestUrl-string__" + } + } + } + } + }, + "summary": "Create Livestream on youtube & twitter", + "tags": [ + "Stage" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateLiveStreamDto" + } + } + } + } + } + }, + "/speakers": { + "post": { + "operationId": "CreateSpeaker", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISpeaker_" + } + } + } + } + }, + "tags": [ + "Speaker" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSpeakerDto" + } + } + } + } + } + }, + "/speakers/{speakerId}": { + "get": { + "operationId": "GetSpeaker", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISpeaker_" + } + } + } + } + }, + "tags": [ + "Speaker" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "speakerId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/speakers/event/{eventId}": { + "get": { + "operationId": "GetAllSpeakersForEvent", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_ISpeaker__" + } + } + } + } + }, + "tags": [ + "Speaker" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/sessions": { + "post": { + "operationId": "CreateSession", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISession_" + } + } + } + } + }, + "summary": "Create Session", + "tags": [ + "Session" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSessionDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllSessions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__sessions-Array_ISession_--totalDocuments-number--pageable_58__page-number--size-number___" + } + } + } + } + }, + "summary": "Get All Session", + "tags": [ + "Session" + ], + "security": [], + "parameters": [ + { + "in": "query", + "name": "event", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "organization", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "speaker", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "stageId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "onlyVideos", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "page", + "required": false, + "schema": { + "format": "double", + "type": "number" + } + }, + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "format": "double", + "type": "number" + } + }, + { + "in": "query", + "name": "timestamp", + "required": false, + "schema": { + "format": "double", + "type": "number" + } + }, + { + "in": "query", + "name": "assetId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "published", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "type", + "required": false, + "schema": { + "type": "string" + } + } + ] + } + }, + "/sessions/{sessionId}": { + "put": { + "operationId": "EditSession", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISession_" + } + } + } + } + }, + "summary": "Update Session", + "tags": [ + "Session" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "sessionId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSessionDto" + } + } + } + } + }, + "get": { + "operationId": "GetSessionById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_ISession_" + } + } + } + } + }, + "summary": "Fetch session by id", + "tags": [ + "Session" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "sessionId", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "delete": { + "operationId": "DeleteSession", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete Session", + "tags": [ + "Session" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "sessionId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrgIdDto" + } + } + } + } + } + }, + "/sessions/organization/{organizationId}": { + "get": { + "operationId": "GetOrgEventSessions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" + } + } + } + } + }, + "summary": "Get all event sessions", + "tags": [ + "Session" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/sessions/search": { + "get": { + "operationId": "FilterSession", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" + } + } + } + } + }, + "summary": "Search sessions", + "tags": [ + "Session" + ], + "security": [], + "parameters": [ + { + "in": "query", + "name": "search", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/sessions/{organizationSlug}/search": { + "get": { + "operationId": "FilterSessionByOrganisation", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_ISession__" + } + } + } + } + }, + "summary": "Search sessions per organisation", + "tags": [ + "Session" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "organizationSlug", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "search", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/sessions/upload": { + "post": { + "operationId": "UploadSessionToSocials", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Publish session to socials", + "tags": [ + "Session" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UploadSessionDto" + } + } + } + } + } + }, + "/organizations": { + "post": { + "operationId": "CreateOrganization", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IOrganization_" + } + } + } + } + }, + "summary": "Create organization", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrganizationDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllOrganizations", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IOrganization__" + } + } + } + } + }, + "summary": "Get all organizations", + "tags": [ + "Organization" + ], + "security": [], + "parameters": [] + } + }, + "/organizations/{organizationId}": { + "put": { + "operationId": "EditOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IOrganization_" + } + } + } + } + }, + "summary": "Update organization", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateOrganizationDto" + } + } + } + } + }, + "get": { + "operationId": "GetOrganizationById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IOrganization_" + } + } + } + } + }, + "summary": "Get organization by", + "tags": [ + "Organization" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "delete": { + "operationId": "DeleteOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete organization", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/organizations/member/{organizationId}": { + "put": { + "operationId": "UpdateOrgMembers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Add member to organization", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pick_CreateOrganizationDto.address_" + } + } + } + } + }, + "get": { + "operationId": "GetAllOrgMembers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IUser__" + } + } + } + } + }, + "summary": "Get all organization members", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "delete": { + "operationId": "DeleteOrgMember", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete organization member", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pick_CreateOrganizationDto.walletAddress_" + } + } + } + } + } + }, + "/organizations/socials/{organizationId}": { + "put": { + "operationId": "UpdateOrgSocials", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Add socials to organization", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ISocials" + } + } + } + } + }, + "delete": { + "operationId": "DeleteOrgSocial", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete organization social", + "tags": [ + "Organization" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "destinationId": { + "type": "string" + } + }, + "required": [ + "destinationId" + ], + "type": "object" + } + } + } + } + } + }, + "/collections": { + "post": { + "operationId": "CreateNftCollection", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_INftCollection_" + } + } + } + } + }, + "summary": "Create nft collection", + "tags": [ + "Collections" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateNftCollectionDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllCollections", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_INftCollection__" + } + } + } + } + }, + "summary": "Get all nft collections", + "tags": [ + "Collections" + ], + "security": [], + "parameters": [] + } + }, + "/collections/metadata/generate": { + "post": { + "operationId": "GenerateNftMetadata", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__ipfsPath-string--videos-Array_any___" + } + } + } + } + }, + "summary": "Generate nft metadata", + "tags": [ + "Collections" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateNftCollectionDto" + } + } + } + } + } + }, + "/collections/{collectionId}": { + "put": { + "operationId": "UpdateNftCollection", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_INftCollection_" + } + } + } + } + }, + "summary": "Update nft collection", + "tags": [ + "Collections" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "collectionId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateNftCollectionDto" + } + } + } + } + }, + "get": { + "operationId": "GetNftCollectionById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_INftCollection_" + } + } + } + } + }, + "summary": "Get Nft collection by id", + "tags": [ + "Collections" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "collectionId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/collections/organization/{organizationId}": { + "get": { + "operationId": "GetAllOrganizationNft", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_INftCollection__" + } + } + } + } + }, + "summary": "Get Nft collections by organization", + "tags": [ + "Collections" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "organizationId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/": { + "get": { + "operationId": "Index", + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_string_" + } + } + } + } + }, + "tags": [ + "Index" + ], + "security": [], + "parameters": [] + } + }, + "/upload": { + "post": { + "operationId": "UploadImges", + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_string_" + } + } + } + } + }, + "tags": [ + "Index" + ], + "security": [ + { + "jwt": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "directory": { + "type": "string" + } + }, + "required": [ + "file", + "directory" + ] + } + } + } + } + } + }, + "/webhook": { + "post": { + "operationId": "Webhook", + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_string_" + } + } + } + } + }, + "tags": [ + "Index" + ], + "security": [], + "parameters": [ + { + "in": "header", + "name": "livepeer-signature", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": {} + } + } + } + } + }, + "/events": { + "post": { + "operationId": "CreateEvent", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IEvent_" + } + } + } + } + }, + "summary": "Creates Event", + "tags": [ + "Event" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateEventDto" + } + } + } + } + }, + "get": { + "operationId": "GetAllEvents", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_Array_IEvent__" + } + } + } + } + }, + "summary": "Get All Event", + "tags": [ + "Event" + ], + "security": [], + "parameters": [ + { + "in": "query", + "name": "organizationId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "unlisted", + "required": false, + "schema": { + "type": "boolean" + } + } + ] + } + }, + "/events/{eventId}": { + "get": { + "operationId": "GetEventById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IEvent_" + } + } + } + } + }, + "summary": "Get Event", + "tags": [ + "Event" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "put": { + "operationId": "EditEvent", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IEvent_" + } + } + } + } + }, + "summary": "Update Event", + "tags": [ + "Event" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateEventDto" + } + } + } + } + }, + "delete": { + "operationId": "DeleteEvent", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Delete Event", + "tags": [ + "Event" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrgIdDto" + } + } + } + } + } + }, + "/events/import/{eventId}": { + "put": { + "operationId": "EvenImporter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_void_" + } + } + } + } + }, + "summary": "Event importer", + "tags": [ + "Event" + ], + "security": [ + { + "jwt": [ + "org" + ] + } + ], + "parameters": [ + { + "in": "path", + "name": "eventId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrgIdDto" + } + } + } + } + } + }, + "/chats": { + "post": { + "operationId": "CreateCHar", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IChat_" + } + } + } + } + }, + "summary": "Creates Chat", + "tags": [ + "Chat" + ], + "security": [ + { + "jwt": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateChatDto" + } + } + } + } + } + }, + "/chats/{stageId}": { + "get": { + "operationId": "GetChatStageById", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_IChat-Array_" + } + } + } + } + }, + "summary": "Get all chats by stage", + "tags": [ + "Chat" + ], + "security": [], + "parameters": [ + { + "in": "path", + "name": "stageId", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/auth/login": { + "post": { + "operationId": "Login", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse__user-IUser--token-string__" + } + } + } + } + }, + "summary": "Login", + "tags": [ + "Auth" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + } + } + } + } + }, + "/auth/verify-token": { + "post": { + "operationId": "VerifyToken", + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IStandardResponse_boolean_" + } + } + } + } + }, + "summary": "Verify auth token", + "tags": [ + "Auth" + ], + "security": [], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + } + } + } + } + } + }, + "servers": [ + { + "url": "/streameth-platform-packages-new2" + } + ] +} \ No newline at end of file