{"openapi":"3.0.0","paths":{"/api/v1/opportunities":{"get":{"operationId":"OpportunitiesController_listOpportunities","summary":"list own company`s opportunities","parameters":[{"name":"orderDirection","required":false,"in":"query","schema":{"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"type":"string"}},{"name":"title","required":false,"in":"query","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["opportunities"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"OpportunitiesController_createOpportunities","summary":"create a opportunities","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOpportunitiesDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["opportunities"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/opportunities/{id}":{"get":{"operationId":"OpportunitiesController_getOpportunitiesById","summary":"get a opportunities","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["opportunities"],"security":[{"api-key":["read"]},{"access-token":[]}]},"put":{"operationId":"OpportunitiesController_updateOpportunities","summary":"update a opportunities","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOpportunitiesDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["opportunities"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"OpportunitiesController_deleteOpportunities","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["opportunities"],"security":[{"api-key":["write"]}]}},"/api/v1/opportunities/{id}/apply":{"post":{"operationId":"OpportunitiesController_applyToOpportunity","summary":"delete a opportunities","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyToOpportunityDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["opportunities"],"security":[{"api-key":["write"]},{"access-token":[]},{"access-token":[]}]}},"/api/v1/contents":{"get":{"operationId":"ContentController_listContents","summary":"list own company`s contents","parameters":[{"name":"tags","required":false,"in":"query","schema":{"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["contents"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"ContentController_createContent","summary":"create a content","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContentDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["contents"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/contents/{id}":{"put":{"operationId":"ContentController_updateContents","summary":"update a content","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContentDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["contents"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"ContentController_deleteContent","summary":"delete a content","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["contents"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/workspace/members/pin/status":{"get":{"operationId":"WorkspaceMemberController_listPinStatus","summary":"who has a sign-in PIN, and who is locked out","parameters":[],"responses":{"200":{"description":""}},"tags":["workspace/members"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/workspace/members/pin/verify":{"post":{"operationId":"WorkspaceMemberController_verifyPin","summary":"verify a member's PIN","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMemberPinDto"}}}},"responses":{"201":{"description":""}},"tags":["workspace/members"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/workspace/members/pin/{userId}":{"put":{"operationId":"WorkspaceMemberController_setPin","summary":"set or reset a member's PIN","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetMemberPinDto"}}}},"responses":{"200":{"description":""}},"tags":["workspace/members"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"WorkspaceMemberController_clearPin","summary":"clear a member's PIN","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["workspace/members"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/workspace/members/pin/{userId}/unlock":{"post":{"operationId":"WorkspaceMemberController_unlockPin","summary":"lift a PIN lockout","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":""}},"tags":["workspace/members"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/workspace/members/workspace":{"get":{"operationId":"WorkspaceMemberController_listWorkspaceMembersByWorkspace","summary":"list workspaceMember","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["workspace/members"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/workspace/members/members/{id}":{"get":{"operationId":"WorkspaceMemberController_getSingleWorkspaceMember","summary":"list workspaceMember","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["workspace/members"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/tasks":{"post":{"operationId":"TasksController_createTasks","summary":"create a task","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTasksDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["tasks"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/tasks/{id}":{"put":{"operationId":"TasksController_updateTasks","summary":"update a task","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTasksDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["tasks"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/tasks/roadmap/{id}":{"get":{"operationId":"TasksController_getRoadmapTaskById","summary":"get a task","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["tasks"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/task/responses":{"post":{"operationId":"TaskResponsesController_createTaskResponses","summary":"create a task response","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskResponsesDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["task/responses"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/task/responses/with-photo":{"post":{"operationId":"TaskResponsesController_createTaskResponseWithPhoto","summary":"record a check together with its photo, in one request","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTaskResponseWithPhotoDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["task/responses"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/task/responses/by-client/{clientId}":{"put":{"operationId":"TaskResponsesController_answerByClientId","summary":"record or change the answer to a check, keyed on the client id","parameters":[{"name":"clientId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerTaskDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["task/responses"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"TaskResponsesController_clearByClientId","summary":"clear an answer so the check reads as unanswered again","parameters":[{"name":"clientId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["task/responses"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/task/response/medias/upload":{"post":{"operationId":"TaskResponseMediasController_uploadTaskResponseMedia","summary":"upload a photo and attach it to a check, in one request","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UploadTaskResponseMediaDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["task/response/medias"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/forums":{"get":{"operationId":"ForumsController_listForums","summary":"List Forums","parameters":[{"name":"categoryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"tags","required":false,"in":"query","schema":{"type":"string"}},{"name":"own","required":false,"in":"query","schema":{"type":"string"}},{"name":"isApproved","required":false,"in":"query","schema":{"type":"string"}},{"name":"communityId","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["forums"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"ForumsController_createForums","summary":"create a forum","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateForumsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["forums"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/forums/{id}":{"get":{"operationId":"ForumsController_getForumsById","summary":"get a user messages","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["forums"],"security":[{"api-key":["read"]}]}},"/api/v1/quizzes":{"get":{"operationId":"QuizsController_listQuizs","summary":"list quizes","parameters":[{"name":"promo","required":false,"in":"query","schema":{"type":"string"}},{"name":"lang","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"QuizsController_createQuizs","summary":"create a quizes","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateQuizsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/quizzes/enterprise":{"get":{"operationId":"QuizsController_listEnterpriseQuizs","summary":"list quizes","parameters":[{"name":"promo","required":false,"in":"query","schema":{"type":"string"}},{"name":"lang","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quizzes/{id}":{"get":{"operationId":"QuizsController_getQuizsById","summary":"get a quizs","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"lang","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["read"]},{"access-token":[]}]},"put":{"operationId":"QuizsController_updateQuizs","summary":"update a quizs","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateQuizsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"QuizsController_deleteQuizs","summary":"delete a quizs","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quizzes"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/quiz/questions":{"get":{"operationId":"QuizQuestionsController_listQuizQuestions","summary":"list quizQuestions","parameters":[{"name":"quizId","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/questions"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"QuizQuestionsController_createQuizQuestions","summary":"create a quizQuestions","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateQuizQuestionsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/questions"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/quiz/questions/{id}":{"get":{"operationId":"QuizQuestionsController_getQuizQuestionsById","summary":"get a quizQuestions","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/questions"],"security":[{"api-key":["read"]},{"access-token":[]}]},"put":{"operationId":"QuizQuestionsController_updateQuizQuestions","summary":"update a quizQuestions","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateQuizQuestionsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/questions"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"QuizQuestionsController_deleteQuizQuestions","summary":"delete a quizQuestions","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/questions"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/quiz/question/answers":{"get":{"operationId":"QuizQuestionAnswersController_listQuizQuestionAnswers","summary":"list quizQuestionAnswers","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/question/answers"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quiz/question/answers/{id}":{"get":{"operationId":"QuizQuestionAnswersController_getQuizQuestionAnswersById","summary":"get a quizQuestionAnswers","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/question/answers"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quiz/results":{"get":{"operationId":"QuizResultsController_listQuizResults","summary":"list quizResults","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/results"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quiz/results/{id}":{"get":{"operationId":"QuizResultsController_getQuizResultsById","summary":"get a quizResults","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/results"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quiz/results/student/{id}":{"get":{"operationId":"QuizResultsController_listUserQuizzes","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/results"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/quiz/results/{id}/students":{"get":{"operationId":"QuizResultsController_listUserQuizs","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["quiz/results"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/workspaces/stats":{"get":{"operationId":"WorkspaceController_workspaceStats","summary":"get workspace content stats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["workspaces"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/workspaces/current":{"get":{"operationId":"WorkspaceController_getCurrentWorkspace","summary":"list workspace","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["workspaces"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/runs/{runId}/review":{"get":{"operationId":"RoadmapController_getRunReview","summary":"the review on one run, if it has been looked at","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"RoadmapController_reviewRun","summary":"a manager's verdict on one run","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRunDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/kpi":{"get":{"operationId":"RoadmapController_roadmapKpi","summary":"per-worker record over a date range","parameters":[{"name":"from","required":false,"in":"query","schema":{"type":"string"}},{"name":"to","required":false,"in":"query","schema":{"type":"string"}},{"name":"roadmapId","required":false,"in":"query","schema":{"type":"number"}},{"name":"timezone","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps":{"get":{"operationId":"RoadmapController_listRoadmaps","summary":"list roadmap","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"RoadmapController_createRoadmap","summary":"create a roadmap","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoadmapDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/level":{"post":{"operationId":"RoadmapController_createRoadmapLevel","summary":"create a roadmap","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoadmapLevelDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/level/{id}":{"put":{"operationId":"RoadmapController_updateRoadmapLevel","summary":"create a roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoadmapLevelDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/start/{id}":{"post":{"operationId":"RoadmapController_startRoadmap","summary":"create a roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartRoadmapDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/simple":{"get":{"operationId":"RoadmapController_listRoadmapsSimple","summary":"list roadmap","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/templates":{"get":{"operationId":"RoadmapController_listRoadmapTemplatesNew","summary":"list roadmap","parameters":[{"name":"grade","required":false,"in":"query","schema":{"type":"number"}},{"name":"country","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/runs":{"get":{"operationId":"RoadmapController_listRoadmapRuns","summary":"list roadmap runs, one row per run","parameters":[{"name":"date","required":false,"in":"query","schema":{"type":"string"}},{"name":"timezone","required":false,"in":"query","schema":{"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"roadmapId","required":false,"in":"query","schema":{"type":"number"}},{"name":"targetCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"abandonedAfterHours","required":false,"in":"query","schema":{"default":6,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/{id}":{"get":{"operationId":"RoadmapController_getRoadmap","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]},"put":{"operationId":"RoadmapController_editRoadmap","summary":"edit a roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoadmapDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/roadmaps/template/{id}":{"get":{"operationId":"RoadmapController_getRoadmapTemplates","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/student/{id}":{"get":{"operationId":"RoadmapController_listUserRoadmaps","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"includeResponses","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"runId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/{id}/participants/{userId}/runs":{"get":{"operationId":"RoadmapController_listUserRoadmapRuns","summary":"list roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/{id}/progress":{"get":{"operationId":"RoadmapController_listRoadmapProgress","summary":"how far each participant has got on this roadmap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"includeSelf","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultColumnsResponse"}}}}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/roadmaps/{id}/students":{"get":{"operationId":"RoadmapController_listRoadmapUsers","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"includeSelf","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":""}},"tags":["roadmaps"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/housekeeping/runs/{runId}/qa":{"get":{"operationId":"HousekeepingController_getInspection","summary":"a room's inspection, if it has been looked at","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"HousekeepingController_inspect","summary":"record a supervisor's inspection of a submitted room","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInspectionDto"}}}},"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/reclean":{"get":{"operationId":"HousekeepingController_openRecleans","summary":"reclean items — failed QA points awaiting a fix","parameters":[{"name":"workerUserId","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/housekeeping/reclean/{id}":{"put":{"operationId":"HousekeepingController_updateReclean","summary":"move a reclean along — worker marks fixed, supervisor accepts","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRecleanDto"}}}},"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/reports":{"get":{"operationId":"HousekeepingController_listReports","summary":"the report queues","parameters":[{"name":"kind","required":false,"in":"query","schema":{"enum":["damage","maintenance","lost_and_found","biohazard","odor","access"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["open","in_progress","resolved","closed"],"type":"string"}},{"name":"runId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"HousekeepingController_createReport","summary":"file a report — damage, maintenance, lost property, biohazard, odor, access","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReportDto"}}}},"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/reports/{id}":{"put":{"operationId":"HousekeepingController_resolveReport","summary":"close or progress a report","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveReportDto"}}}},"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/runs/{runId}/photos":{"get":{"operationId":"HousekeepingController_listRunPhotos","summary":"a room's proof photos","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"HousekeepingController_saveRunPhoto","summary":"store one of the room-level proof photos","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/rooms":{"get":{"operationId":"HousekeepingController_listRooms","summary":"rooms in this property","parameters":[],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"HousekeepingController_createRoom","summary":"add a room","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoomDto"}}}},"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/rooms/{id}":{"put":{"operationId":"HousekeepingController_updateRoom","summary":"edit a room","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoomDto"}}}},"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/assignments":{"get":{"operationId":"HousekeepingController_listAssignments","summary":"a day's assigned rooms — the My Rooms dashboard","parameters":[{"name":"businessDay","required":false,"in":"query","schema":{"type":"string"}},{"name":"workerUserId","required":false,"in":"query","schema":{"type":"number"}},{"name":"status","required":false,"in":"query","schema":{"enum":["assigned","in_progress","maintenance_hold","submitted","done"],"type":"string"}},{"name":"timezone","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"post":{"operationId":"HousekeepingController_createAssignment","summary":"assign a room for a day","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssignmentDto"}}}},"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/assignments/{id}":{"get":{"operationId":"HousekeepingController_getAssignment","summary":"one assignment","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]},"put":{"operationId":"HousekeepingController_updateAssignment","summary":"move an assignment along","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssignmentDto"}}}},"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]},"delete":{"operationId":"HousekeepingController_deleteAssignment","summary":"remove an assignment for this day only; a standing rule still stands","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/assignments/{id}/submit-state":{"get":{"operationId":"HousekeepingController_submitState","summary":"what still stands between this room and \"ready\"","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/housekeeping/assignments/{id}/submit":{"post":{"operationId":"HousekeepingController_submitAssignment","summary":"submit a room — certify and set Ready or Attention Required","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitAssignmentDto"}}}},"responses":{"201":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/standing-assignments":{"get":{"operationId":"HousekeepingController_listStanding","summary":"rooms standing assigned to a worker every day","parameters":[],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]}},"/api/v1/housekeeping/standing-assignments/{id}":{"delete":{"operationId":"HousekeepingController_stopStanding","summary":"stop assigning this room daily; today stands, tomorrow does not","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"timezone","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["write"]},{"access-token":[]}]}},"/api/v1/housekeeping/assignments/{id}/checklist":{"get":{"operationId":"HousekeepingController_assignmentChecklist","summary":"the checks that apply to this assignment, grouped into zones","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"roadmapId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["housekeeping"],"security":[{"api-key":["read"]},{"access-token":[]}]}}},"info":{"title":"SumHubs Open API","description":"Hub-scoped endpoints reachable with a workspace API key. Send the key as `x-api-key`. Keys are created in Hub configuration → API Keys and carry `read` and/or `write` scopes.","version":"1.0"},"tags":[],"servers":[],"components":{"securitySchemes":{"access-token":{"scheme":"bearer","bearerFormat":"JWT","type":"http"},"refresh-token":{"scheme":"bearer","bearerFormat":"JWT","type":"http"},"api-key":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"DefaultColumnsResponse":{"type":"object","properties":{"name":{"type":"string"},"yearsInBusiness":{"type":"number"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"additionals":{"type":"object","description":"Key-value additional fields"},"description":{"type":"string"},"dateEstablished":{"type":"string","description":"ISO 8601 date string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"mission":{"type":"string"},"aboutUs":{"type":"string"},"servicesAndOperations":{"type":"array","items":{"type":"string"}},"logoId":{"type":"number"},"socialMedia":{"type":"object"},"bgId":{"type":"number"},"category":{"type":"string"},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["name","description","email","id","createdAt","updatedAt"]},"CreateApiKeyDto":{"type":"object","properties":{"name":{"type":"string","description":"Label shown in hub settings"},"scopes":{"type":"array","default":["read"],"items":{"type":"string","enum":["read","write"]}},"expiresAt":{"type":"string","description":"ISO date after which the key stops working"}},"required":["name"]},"CreateApiKeyResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"keyPrefix":{"type":"string","description":"Non-secret leading characters of the key"},"scopes":{"type":"array","items":{"type":"string","enum":["read","write"]}},"lastUsedAt":{"format":"date-time","type":"string","nullable":true},"expiresAt":{"format":"date-time","type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secret":{"type":"string","description":"Full key in clear text — shown once and never retrievable again"}},"required":["id","name","keyPrefix","scopes","lastUsedAt","expiresAt","createdAt","updatedAt","secret"]},"CreateUserDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"avatar":{"type":"string"},"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string"},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"}},"required":["email","password","firstName","lastName","phoneNumber","avatar","fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate"]},"UpdateIndividualUserDto":{"type":"object","properties":{"dataSharing":{"type":"boolean"},"activitySharing":{"type":"boolean"},"gender":{"type":"string"},"summary":{"type":"string"},"country":{"type":"string"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"jobPosition":{"type":"string"},"defaultAvatar":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"}},"required":["dataSharing","activitySharing","gender","summary","country","stateProvince","city","address1","address2","zipcode","jobPosition","defaultAvatar","interests","marketingSource"]},"CreateEnterpriseUserDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"avatar":{"type":"string"},"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string"},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"}},"required":["email","password","firstName","lastName","phoneNumber","avatar","fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate"]},"CreateAdminUserDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"avatar":{"type":"string"},"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string"},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"}},"required":["email","password","firstName","lastName","phoneNumber","avatar","fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate"]},"UpdateEnterpriseUserDto":{"type":"object","properties":{"companyRole":{"type":"string","enum":["primary","manager","employee"],"nullable":true}},"required":["companyRole"]},"UpdateUserDto":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"avatar":{"type":"string"},"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string","nullable":true},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"},"companyRole":{"type":"string","enum":["primary","manager","employee"],"nullable":true},"deleteReqAt":{"format":"date-time","type":"string"}},"required":["firstName","lastName","phoneNumber","avatar","fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate","companyRole","deleteReqAt"]},"ChangePasswordDto":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"}},"required":["currentPassword","newPassword"]},"LoginDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}},"required":["email","password"]},"PostLoginResponse":{"type":"object","properties":{"accessToken":{"type":"string"},"refreshToken":{"type":"string"}},"required":["accessToken","refreshToken"]},"ForgotPasswordDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"ResetPasswordDto":{"type":"object","properties":{"resetToken":{"type":"string"},"newPassword":{"type":"string"}},"required":["resetToken","newPassword"]},"GetRefreshResponse":{"type":"object","properties":{"accessToken":{"type":"string"}},"required":["accessToken"]},"GoogleLoginDto":{"type":"object","properties":{"token":{"type":"string"},"bypassDelete":{"type":"boolean"}},"required":["token","bypassDelete"]},"CreateCompanyDto":{"type":"object","properties":{"name":{"type":"string"},"companyStatus":{"type":"string","enum":["pending","active","declined","premium"]},"size":{"type":"string"},"yearsInBusiness":{"type":"number"},"country":{"type":"string"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"usage":{"type":"string"},"description":{"type":"string"},"dateEstablished":{"format":"date-time","type":"string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"mission":{"type":"string"},"aboutUs":{"type":"string"},"servicesAndOperations":{"type":"array","items":{"type":"string"}},"backgroundUrl":{"type":"string","description":"Background URL"},"industryId":{"type":"number"},"socialMedia":{"type":"object"},"logoUrl":{"type":"string","description":"Zurgiin URL"},"sector":{"type":"string"}},"required":["name","companyStatus","country","usage","description","email","industryId","sector"]},"UpdateCompanyDto":{"type":"object","properties":{"name":{"type":"string"},"companyStatus":{"type":"string","enum":["pending","active","declined","premium"]},"size":{"type":"string"},"yearsInBusiness":{"type":"number"},"country":{"type":"string"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"usage":{"type":"string"},"description":{"type":"string"},"dateEstablished":{"format":"date-time","type":"string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"mission":{"type":"string"},"aboutUs":{"type":"string"},"servicesAndOperations":{"type":"array","items":{"type":"string"}},"backgroundUrl":{"type":"string","description":"Background URL"},"industryId":{"type":"number"},"socialMedia":{"type":"object"},"logoUrl":{"type":"string","description":"Zurgiin URL"},"sector":{"type":"string"}}},"CreateCountriesDto":{"type":"object","properties":{"shortName":{"type":"string"},"phoneCode":{"type":"string"},"continentId":{"type":"number"},"name":{"type":"string"},"flag":{"type":"string"}},"required":["shortName","phoneCode","continentId","name","flag"]},"UpdateCountriesDto":{"type":"object","properties":{"shortName":{"type":"string"},"phoneCode":{"type":"string"},"continentId":{"type":"number"},"name":{"type":"string"},"flag":{"type":"string"}}},"CreateContinentsDto":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"UpdateContinentsDto":{"type":"object","properties":{"name":{"type":"string"}}},"CreateUploadCommonDto":{"type":"object","properties":{"title":{"type":"string"},"user_list":{"type":"boolean"}},"required":["title","user_list"]},"FillPdfDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"employerId":{"type":"number"},"agentId":{"type":"number"}},"required":["opportunityId","employerId","agentId"]},"CreateOpportunitiesDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"articles":{"type":"object"},"status":{"type":"string","enum":["draft","published","completed"]},"type":{"type":"string","enum":["exchange_program","job","service","event"]},"companyName":{"type":"string"},"companyLocation":{"type":"string"},"companyPhone":{"type":"string"},"vacancy":{"type":"number"},"applicationCount":{"type":"number"},"previouslyApplied":{"type":"number"},"postEndDate":{"format":"date-time","type":"string"},"additional":{"type":"object"},"isUrgent":{"type":"boolean"},"isRequiresResume":{"type":"boolean"},"isPremium":{"type":"boolean"},"isAuto":{"type":"boolean"},"applyPhone":{"type":"string"},"applyEmail":{"type":"string"},"companyEmail":{"type":"string"},"caseNumber":{"type":"string"},"caseId":{"type":"number"},"userId":{"type":"number"},"coverUrl":{"type":"string"},"coverId":{"type":"number"},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"titles":{"type":"object"},"descriptions":{"type":"object"}},"required":["title","description","article","articles","status","type","companyName","companyLocation","companyPhone","vacancy","applicationCount","previouslyApplied","postEndDate","additional","isUrgent","isRequiresResume","isPremium","isAuto","applyPhone","applyEmail","companyEmail","caseNumber","caseId","userId","coverUrl","coverId","defaultLanguageCode","isPublic","sector","titles","descriptions"]},"AnnouncementDto":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"opportunityId":{"type":"number"}},"required":["status","title","body","opportunityId"]},"UpdateOpportunitiesDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"articles":{"type":"object"},"status":{"type":"string","enum":["draft","published","completed"]},"type":{"type":"string","enum":["exchange_program","job","service","event"]},"companyName":{"type":"string"},"companyLocation":{"type":"string"},"companyPhone":{"type":"string"},"vacancy":{"type":"number"},"applicationCount":{"type":"number"},"previouslyApplied":{"type":"number"},"postEndDate":{"format":"date-time","type":"string"},"additional":{"type":"object"},"isUrgent":{"type":"boolean"},"isRequiresResume":{"type":"boolean"},"isPremium":{"type":"boolean"},"isAuto":{"type":"boolean"},"applyPhone":{"type":"string"},"applyEmail":{"type":"string"},"companyEmail":{"type":"string"},"caseNumber":{"type":"string"},"caseId":{"type":"number"},"userId":{"type":"number"},"coverUrl":{"type":"string"},"coverId":{"type":"number"},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"titles":{"type":"object"},"descriptions":{"type":"object"}}},"ApplyToOpportunityDto":{"type":"object","properties":{"email":{"type":"string","description":"Applicant email — identifies an existing user or creates one"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"detail":{"type":"string","description":"Free-text cover note stored on the application"},"resumeId":{"type":"number","description":"Id of a previously uploaded résumé"}},"required":["email"]},"CreateOpportunityTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"opportunityId":{"type":"number"}},"required":["tagId","opportunityId"]},"UpdateOpportunityTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"opportunityId":{"type":"number"}}},"CreateUserSubscriptionsDto":{"type":"object","properties":{"userId":{"type":"number"},"planId":{"type":"number"},"workspaceId":{"type":"number"},"paymentIntent":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["paid","cancelled","expired","pending"]},"invoiceId":{"type":"number"},"description":{"type":"string"}},"required":["userId","planId","workspaceId","paymentIntent","startDate","endDate","status","invoiceId","description"]},"UpdateUserSubscriptionsDto":{"type":"object","properties":{"userId":{"type":"number"},"planId":{"type":"number"},"workspaceId":{"type":"number"},"paymentIntent":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["paid","cancelled","expired","pending"]},"invoiceId":{"type":"number"},"description":{"type":"string"}}},"CreateMerchantDto":{"type":"object","properties":{}},"CreateInvoiceDto":{"type":"object","properties":{}},"CreateChatMessagesDto":{"type":"object","properties":{"userId":{"type":"number"},"roomId":{"type":"number"},"replyId":{"type":"number"},"message":{"type":"string"},"content":{"type":"string"},"sentAt":{"format":"date-time","type":"string"},"userFeedback":{"type":"number"}},"required":["userId","roomId","replyId","message","content","sentAt","userFeedback"]},"UpdateChatMessagesDto":{"type":"object","properties":{"userId":{"type":"number"},"roomId":{"type":"number"},"replyId":{"type":"number"},"message":{"type":"string"},"content":{"type":"string"},"sentAt":{"format":"date-time","type":"string"},"userFeedback":{"type":"number"}}},"CreateChatMembersDto":{"type":"object","properties":{"userId":{"type":"number"},"roomId":{"type":"number"},"type":{"type":"string","enum":["member","invited","blocked"],"default":"member"}},"required":["userId","roomId","type"]},"UpdateChatMembersDto":{"type":"object","properties":{"userId":{"type":"number"},"roomId":{"type":"number"},"type":{"type":"string","enum":["member","invited","blocked"],"default":"member"}}},"CreateChatRoomsDto":{"type":"object","properties":{"name":{"type":"string"},"roomType":{"type":"string"},"content":{"type":"string"},"users":{"type":"array","items":{"type":"string"}},"companyId":{"type":"number"},"hasReminder":{"type":"boolean"}},"required":["name","roomType","content","users","companyId","hasReminder"]},"UpdateChatRoomsDto":{"type":"object","properties":{"name":{"type":"string"},"roomType":{"type":"string"},"content":{"type":"string"},"users":{"type":"array","items":{"type":"string"}},"companyId":{"type":"number"},"hasReminder":{"type":"boolean"}}},"CreateNotificationDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"data":{"type":"string"},"userIds":{"type":"array","items":{"type":"string"}},"userId":{"type":"number"},"companyId":{"type":"number"},"workspaceId":{"type":"number"}},"required":["title"]},"BillingSettingsResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"mode":{"type":"string","enum":["free","paid"]},"paymentsEnabled":{"type":"boolean","description":"true when mode is paid — payments are actually collected"},"notice":{"type":"string"}},"required":["enabled","mode","paymentsEnabled","notice"]},"UpdateBillingSettingsDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the pricing & plans page is live"},"mode":{"type":"string","enum":["free","paid"],"description":"free = nobody is charged"},"notice":{"type":"string","description":"Message shown on the billing page while in free mode"}}},"CreateCompanyCategoriesDto":{"type":"object","properties":{"name":{"type":"string"},"countryId":{"type":"number"}},"required":["name","countryId"]},"UpdateCompanyCategoriesDto":{"type":"object","properties":{"name":{"type":"string"},"countryId":{"type":"number"}}},"UpdateUserProfilesDto":{"type":"object","properties":{"nationality":{"type":"string"},"dateOfBirth":{"type":"string"},"location":{"type":"string"},"disability":{"type":"string","enum":["blind","deaf","mute","others"]},"currentStatus":{"type":"string","enum":["studying","staying_at_home","working","retired","working_independantly","business_owner","handicapped_living_assistance"]},"travelExperience":{"type":"string","enum":["never","beginner","intermediate","advanced","pro"]},"travelDuration":{"type":"string","enum":["1to3weeks","1to6months","1to2years","2to5years","5to10years","10plusyears"]},"gender":{"type":"string","enum":["male","female","others"]},"socialId":{"type":"string"},"maritalStatus":{"type":"string","enum":["divorced","single","engaged","married","civil_union"]},"specialisationId":{"type":"number"},"priorCompanyCountType":{"type":"string","enum":["0","1","2to3","4to5","5plus"]},"travelReason":{"type":"string"},"agencyConnectReason":{"type":"string","enum":["advice","information","news","translation","service","support","partnership"]},"activitySharing":{"type":"boolean"},"dataSharing":{"type":"boolean"},"summary":{"type":"string"},"country":{"type":"string"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"jobPosition":{"type":"string"}}},"CreateCommunityUserDto":{"type":"object","properties":{"communityId":{"type":"number"},"userId":{"type":"number"},"role":{"type":"string"}},"required":["communityId","userId","role"]},"CreateUserSkillsDto":{"type":"object","properties":{"skillId":{"type":"number"},"level":{"type":"number"},"createdCompanyId":{"type":"number"}},"required":["skillId","level","createdCompanyId"]},"UpdateUserSkillsDto":{"type":"object","properties":{"skillId":{"type":"number"},"level":{"type":"number"},"createdCompanyId":{"type":"number"}}},"CreateSkillsDto":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"UpdateSkillsDto":{"type":"object","properties":{"name":{"type":"string"}}},"CreateUserExperiencesDto":{"type":"object","properties":{"industryId":{"type":"number"},"companyName":{"type":"string"},"position":{"type":"string"},"environment":{"type":"string"},"description":{"type":"string"},"communicationCount":{"type":"string"},"colleagueCount":{"type":"string"},"techSkills":{"type":"string"},"learntScale":{"type":"number"},"leftReason":{"type":"string"},"similarPosition":{"type":"boolean"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"createdCompanyId":{"type":"number"}},"required":["industryId","companyName","position","environment","description","communicationCount","colleagueCount","techSkills","learntScale","leftReason","similarPosition","startDate","endDate","createdCompanyId"]},"UpdateUserExperiencesDto":{"type":"object","properties":{"industryId":{"type":"number"},"companyName":{"type":"string"},"position":{"type":"string"},"environment":{"type":"string"},"description":{"type":"string"},"communicationCount":{"type":"string"},"colleagueCount":{"type":"string"},"techSkills":{"type":"string"},"learntScale":{"type":"number"},"leftReason":{"type":"string"},"similarPosition":{"type":"boolean"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"createdCompanyId":{"type":"number"}}},"CreateIndustriesDto":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"UpdateIndustriesDto":{"type":"object","properties":{"name":{"type":"string"}}},"CreateUserEducationsDto":{"type":"object","properties":{"programName":{"type":"string"},"degree":{"type":"string","enum":["High School","Associate","Bachelor","Master","Doctor","Vocation"]},"institute":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"createdCompanyId":{"type":"number"}},"required":["programName","degree","institute","startDate","endDate","createdCompanyId"]},"UpdateUserEducationsDto":{"type":"object","properties":{"programName":{"type":"string"},"degree":{"type":"string","enum":["High School","Associate","Bachelor","Master","Doctor","Vocation"]},"institute":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"createdCompanyId":{"type":"number"}}},"CreateLanguagesDto":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"UpdateLanguagesDto":{"type":"object","properties":{"name":{"type":"string"}}},"CreateUserLanguagesDto":{"type":"object","properties":{"languageId":{"type":"number"},"proficiencyLevel":{"type":"string"},"speakingLevel":{"type":"number"},"writingLevel":{"type":"number"},"listeningLevel":{"type":"number"},"readingLevel":{"type":"number"},"createdCompanyId":{"type":"number"}},"required":["languageId","proficiencyLevel","speakingLevel","writingLevel","listeningLevel","readingLevel","createdCompanyId"]},"UpdateUserLanguagesDto":{"type":"object","properties":{"languageId":{"type":"number"},"proficiencyLevel":{"type":"string"},"speakingLevel":{"type":"number"},"writingLevel":{"type":"number"},"listeningLevel":{"type":"number"},"readingLevel":{"type":"number"},"createdCompanyId":{"type":"number"}}},"CreateUserCertificationsDto":{"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"issuingOrg":{"type":"string"},"dateIssued":{"format":"date-time","type":"string"},"dateExpiration":{"format":"date-time","type":"string"},"urls":{"type":"array","items":{"type":"string"}}},"required":["name","number","issuingOrg","dateIssued","dateExpiration","urls"]},"UpdateUserCertificationsDto":{"type":"object","properties":{"name":{"type":"string"},"number":{"type":"string"},"issuingOrg":{"type":"string"},"dateIssued":{"format":"date-time","type":"string"},"dateExpiration":{"format":"date-time","type":"string"},"urls":{"type":"array","items":{"type":"string"}}}},"CreateUserReferencesDto":{"type":"object","properties":{"name":{"type":"string"},"relationship":{"type":"string"},"position":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}},"required":["name","relationship","position","company","email","phone"]},"UpdateUserReferencesDto":{"type":"object","properties":{"name":{"type":"string"},"relationship":{"type":"string"},"position":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}},"CreateUploadUserDto":{"type":"object","properties":{"title":{"type":"string"},"userId":{"type":"number"}},"required":["title","userId"]},"CreateUploadContentDto":{"type":"object","properties":{"contentId":{"type":"number"},"title":{"type":"string"},"external":{"type":"boolean"}},"required":["contentId","title","external"]},"CreateContentDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"type":{"type":"string","enum":["video","photo","blog"]},"status":{"type":"string","enum":["draft","published"]},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"link":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}},"required":["title","description","article","titles","descriptions","articles","type","status","defaultLanguageCode","isPublic","isPremium","sector","link","mediaIds"]},"GetFieldsFromExternalDto":{"type":"object","properties":{"link":{"type":"string"}},"required":["link"]},"CreateContentMediaWithLinkDto":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"contentId":{"type":"number"}},"required":["title","url","contentId"]},"UpdateContentDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"type":{"type":"string","enum":["video","photo","blog"]},"status":{"type":"string","enum":["draft","published"]},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"link":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}}},"CreateContentTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"contentId":{"type":"number"}},"required":["tagId","contentId"]},"UpdateContentTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"contentId":{"type":"number"}}},"VerifyMemberPinDto":{"type":"object","properties":{"userId":{"type":"number"},"email":{"type":"string"},"pin":{"type":"string"}},"required":["pin"]},"SetMemberPinDto":{"type":"object","properties":{"pin":{"type":"string","description":"4 to 8 digits"}},"required":["pin"]},"CreateWorkspaceMemberDto":{"type":"object","properties":{"workspaceId":{"type":"number"},"userId":{"type":"number"},"role":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string"}},"required":["role"]},"CreateWorkspaceMemberViaEmailDto":{"type":"object","properties":{}},"RespondWorkspaceMemberDto":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"}},"required":["id","status"]},"UpdateWorkspaceMemberDto":{"type":"object","properties":{"workspaceId":{"type":"number"},"userId":{"type":"number"},"role":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string"}}},"CreateContentCommentsDto":{"type":"object","properties":{"contentId":{"type":"number"},"comment":{"type":"string"},"parentId":{"type":"number"}},"required":["contentId","comment","parentId"]},"UpdateContentCommentsDto":{"type":"object","properties":{"contentId":{"type":"number"},"comment":{"type":"string"},"parentId":{"type":"number"}}},"CreateVisaTypesDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"}},"required":["countryId","name","description"]},"UpdateVisaTypesDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"}}},"CreateOpportunityJobsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["full_time_permanent","full_time_seasonal","part_time","remote","internship"]},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"visaTypeId":{"type":"number"},"paySchedule":{"type":"string","enum":["hourly","daily","weekly","biweekly","monthly"]},"expectedSalary":{"type":"number"},"hoursPerWeek":{"type":"number"},"workAddress":{"type":"string"},"workLocation":{"type":"string"},"classification":{"type":"string"},"jobSchedule":{"type":"string"},"country":{"type":"string"},"hiringType":{"type":"string","enum":["global","domestic"]}},"required":["opportunityId","type","startDate","endDate","visaTypeId","paySchedule","expectedSalary","hoursPerWeek","workAddress","workLocation","classification","jobSchedule","country","hiringType"]},"UpdateOpportunityJobsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["full_time_permanent","full_time_seasonal","part_time","remote","internship"]},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"visaTypeId":{"type":"number"},"paySchedule":{"type":"string","enum":["hourly","daily","weekly","biweekly","monthly"]},"expectedSalary":{"type":"number"},"hoursPerWeek":{"type":"number"},"workAddress":{"type":"string"},"workLocation":{"type":"string"},"classification":{"type":"string"},"jobSchedule":{"type":"string"},"country":{"type":"string"},"hiringType":{"type":"string","enum":["global","domestic"]}}},"CreateOpportunityExchangesDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"visaTypeId":{"type":"number"},"type":{"type":"string","enum":["Au pair And EduCare","Camp Counselor","Government Visitor","Intern","International Visitor (Dept. of State use)","Physician","Professor and Research Scholar","Short-term Scholar","Specialist","Student, college/university","Student, secondary","Summer Work Travel","Teacher","Trainee","Undergraduate Degree Programs","Graduate Degree Programs","Associate Degree Programs","Diploma and Certificate Programs","Online and Distance Learning Programs","Professional Development and Continuing Education","Adult Education Programs","Pre-College Programs","Short-Term and Intensive Programs","Language and Cultural Immersion Programs","Research Programs","Specialized Programs","Experiential Learning Opportunities","Gap Year Programs","Seminars and Workshops","Private Education Fields","Extracurricular Activities"]},"degree":{"type":"string","enum":["High School","Associate","Bachelor","Master","Doctor","Vocation"]},"fullyFunded":{"type":"boolean"},"country":{"type":"string"},"acceptingType":{"type":"string","enum":["global","domestic"]}},"required":["opportunityId","startDate","endDate","visaTypeId","type","degree","fullyFunded","country","acceptingType"]},"UpdateOpportunityExchangesDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"visaTypeId":{"type":"number"},"type":{"type":"string","enum":["Au pair And EduCare","Camp Counselor","Government Visitor","Intern","International Visitor (Dept. of State use)","Physician","Professor and Research Scholar","Short-term Scholar","Specialist","Student, college/university","Student, secondary","Summer Work Travel","Teacher","Trainee","Undergraduate Degree Programs","Graduate Degree Programs","Associate Degree Programs","Diploma and Certificate Programs","Online and Distance Learning Programs","Professional Development and Continuing Education","Adult Education Programs","Pre-College Programs","Short-Term and Intensive Programs","Language and Cultural Immersion Programs","Research Programs","Specialized Programs","Experiential Learning Opportunities","Gap Year Programs","Seminars and Workshops","Private Education Fields","Extracurricular Activities"]},"degree":{"type":"string","enum":["High School","Associate","Bachelor","Master","Doctor","Vocation"]},"fullyFunded":{"type":"boolean"},"country":{"type":"string"},"acceptingType":{"type":"string","enum":["global","domestic"]}}},"CreateOpportunityRequirementsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"value":{"type":"string"}},"required":["opportunityId","text","value"]},"UpdateOpportunityRequirementsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"value":{"type":"string"}}},"CreateOpportunityAdditionalsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"icon":{"type":"string"}},"required":["opportunityId","text","icon"]},"UpdateOpportunityAdditionalsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"icon":{"type":"string"}}},"CreateOpportunityFavoritesDto":{"type":"object","properties":{"opportunityId":{"type":"number"}},"required":["opportunityId"]},"CreateOpportunityQuestionsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"type":{"type":"string"},"options":{"type":"string"}},"required":["opportunityId","text","type","options"]},"UpdateOpportunityQuestionsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"type":{"type":"string"},"options":{"type":"string"}}},"UploadCommon":{"type":"object","properties":{}},"CreateOpportunityQuestionAnswersDto":{"type":"object","properties":{"questionId":{"type":"number"},"applicationId":{"type":"number"},"answer":{"type":"string"},"mediaId":{"type":"number"},"media":{"$ref":"#/components/schemas/UploadCommon"}},"required":["questionId","applicationId","answer","mediaId","media"]},"UpdateOpportunityQuestionAnswersDto":{"type":"object","properties":{"questionId":{"type":"number"},"applicationId":{"type":"number"},"answer":{"type":"string"},"mediaId":{"type":"number"},"media":{"$ref":"#/components/schemas/UploadCommon"}}},"CreateApplicationStatusesDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"order":{"type":"number"}},"required":["name","description","order"]},"UpdateApplicationStatusesDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"order":{"type":"number"}}},"CreateApplicationsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"statusId":{"type":"number"},"commonApplicationTag":{"type":"string"},"resumeId":{"type":"number"}},"required":["opportunityId","statusId","commonApplicationTag","resumeId"]},"UpdateApplicationsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"statusId":{"type":"number"},"commonApplicationTag":{"type":"string"},"resumeId":{"type":"number"}}},"CreateApplicationLogDto":{"type":"object","properties":{"applicationId":{"type":"number"},"text":{"type":"string"},"content":{"type":"string"}},"required":["applicationId","text","content"]},"UpdateApplicationLogDto":{"type":"object","properties":{"applicationId":{"type":"number"},"text":{"type":"string"},"content":{"type":"string"}}},"CreateApplicationCommentDto":{"type":"object","properties":{"applicationId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"editHistory":{"type":"string"}},"required":["applicationId","comment","content"]},"UpdateApplicationCommentDto":{"type":"object","properties":{"applicationId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"editHistory":{"type":"string"}}},"CreateOpportunityCollaboratorsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"companyId":{"type":"number"},"customMessage":{"type":"string"},"isAccepted":{"type":"boolean"},"type":{"type":"string","enum":["guest","member"]}},"required":["opportunityId","companyId","customMessage","isAccepted","type"]},"UpdateOpportunityCollaboratorsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"companyId":{"type":"number"},"customMessage":{"type":"string"},"isAccepted":{"type":"boolean"},"type":{"type":"string","enum":["guest","member"]}}},"CreateTasksDto":{"type":"object","properties":{"applicationId":{"type":"number"},"assignedUserId":{"type":"number"},"title":{"type":"string"},"description":{"type":"string"},"priorityLevel":{"type":"string","enum":["low","medium","high"],"default":"medium"},"dueDate":{"format":"date-time","type":"string"},"status":{"type":"string"},"requireFile":{"type":"boolean","default":false},"isCommon":{"type":"boolean","default":false},"appSection":{"type":"string","enum":["opportunity","profile","task","forum","community","chat","application","verification","content","subscription","companies","connect","security","settings","drawer","information","header","team","company","quiz"]},"userType":{"type":"string","enum":["individual","enterprise","admin"]},"shortCode":{"type":"string"},"level":{"type":"number"},"bgId":{"type":"number"},"reminder":{"type":"string","enum":["none","every_day","every_week","every_other_day"],"default":"none"},"group":{"type":"string"},"data":{"type":"string"},"actionType":{"type":"string"},"actionData":{"type":"string"},"files":{"type":"array","items":{"type":"string"}},"info":{"type":"string"},"order":{"type":"number"},"type":{"type":"string","enum":["roadmap","custom_roadmap","default"]},"roadmapId":{"type":"number"},"roadmapLevelId":{"type":"number"},"avatarId":{"type":"number"},"titles":{"type":"object"},"descriptions":{"type":"object"},"infos":{"type":"object"},"serviceTypes":{"type":"array","items":{"type":"string","enum":["turnover","stayover","deep_clean","extra"]}},"requiresFlag":{"type":"string","enum":["pet","accessible"]},"isCritical":{"type":"boolean","default":false},"passLabel":{"type":"string"},"failLabel":{"type":"string"},"passLabels":{"type":"object","additionalProperties":{"type":"string"}},"failLabels":{"type":"object","additionalProperties":{"type":"string"}}},"required":["applicationId","assignedUserId","title","priorityLevel","requireFile","isCommon","appSection","userType","level","bgId","reminder","group","data","actionType","actionData","files","info","order","type","roadmapId","roadmapLevelId","avatarId","titles","descriptions","infos"]},"UpdateTasksDto":{"type":"object","properties":{"applicationId":{"type":"number"},"assignedUserId":{"type":"number"},"title":{"type":"string"},"description":{"type":"string"},"priorityLevel":{"type":"string","enum":["low","medium","high"],"default":"medium"},"dueDate":{"format":"date-time","type":"string"},"status":{"type":"string"},"requireFile":{"type":"boolean","default":false},"isCommon":{"type":"boolean","default":false},"appSection":{"type":"string","enum":["opportunity","profile","task","forum","community","chat","application","verification","content","subscription","companies","connect","security","settings","drawer","information","header","team","company","quiz"]},"userType":{"type":"string","enum":["individual","enterprise","admin"]},"shortCode":{"type":"string"},"level":{"type":"number"},"bgId":{"type":"number"},"reminder":{"type":"string","enum":["none","every_day","every_week","every_other_day"],"default":"none"},"group":{"type":"string"},"data":{"type":"string"},"actionType":{"type":"string"},"actionData":{"type":"string"},"files":{"type":"array","items":{"type":"string"}},"info":{"type":"string"},"order":{"type":"number"},"type":{"type":"string","enum":["roadmap","custom_roadmap","default"]},"roadmapId":{"type":"number"},"roadmapLevelId":{"type":"number"},"avatarId":{"type":"number"},"titles":{"type":"object"},"descriptions":{"type":"object"},"infos":{"type":"object"},"serviceTypes":{"type":"array","items":{"type":"string","enum":["turnover","stayover","deep_clean","extra"]}},"requiresFlag":{"type":"string","enum":["pet","accessible"]},"isCritical":{"type":"boolean","default":false},"passLabel":{"type":"string"},"failLabel":{"type":"string"},"passLabels":{"type":"object","additionalProperties":{"type":"string"}},"failLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"CreateTaskResponsesDto":{"type":"object","properties":{"taskId":{"type":"number"},"comment":{"type":"string"},"actAsUserId":{"type":"number"},"clientId":{"type":"string"},"deviceCheckedAt":{"type":"string"},"issueType":{"type":"string","enum":["damage","missing","maintenance","other"]},"outcome":{"type":"string","enum":["pass","fail"],"default":"pass"}},"required":["taskId"]},"CreateTaskResponseWithPhotoDto":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"taskId":{"type":"number"},"comment":{"type":"string"},"actAsUserId":{"type":"number"},"clientId":{"type":"string"},"deviceCheckedAt":{"type":"string"},"capturedAt":{"type":"string"},"issueType":{"type":"string","enum":["damage","missing","maintenance","other"]},"outcome":{"type":"string","enum":["pass","fail"],"default":"pass"}},"required":["file","taskId"]},"AnswerTaskDto":{"type":"object","properties":{"taskId":{"type":"number"},"comment":{"type":"string"},"actAsUserId":{"type":"number"},"clientId":{"type":"string"},"deviceCheckedAt":{"type":"string"},"issueType":{"type":"string","enum":["damage","missing","maintenance","other"]},"outcome":{"type":"string","enum":["pass","fail"],"default":"pass"}},"required":["taskId"]},"UpdateTaskResponsesDto":{"type":"object","properties":{"taskId":{"type":"number"},"comment":{"type":"string"},"actAsUserId":{"type":"number"},"clientId":{"type":"string"},"deviceCheckedAt":{"type":"string"},"issueType":{"type":"string","enum":["damage","missing","maintenance","other"]},"outcome":{"type":"string","enum":["pass","fail"],"default":"pass"}}},"CreateUploadTaskDto":{"type":"object","properties":{"taskId":{"type":"number"},"title":{"type":"string"}},"required":["taskId","title"]},"CreateTaskResponseMediasDto":{"type":"object","properties":{"taskResponseId":{"type":"number"},"mediaId":{"type":"number"}},"required":["taskResponseId","mediaId"]},"UploadTaskResponseMediaDto":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"taskResponseId":{"type":"number"},"clientId":{"type":"string"},"capturedAt":{"type":"string"}},"required":["file","taskResponseId"]},"UpdateTaskResponseMediasDto":{"type":"object","properties":{"taskResponseId":{"type":"number"},"mediaId":{"type":"number"}}},"CreateOpportunityHiddensDto":{"type":"object","properties":{"opportunityId":{"type":"number"}},"required":["opportunityId"]},"FeedbackDto":{"type":"object","properties":{"message":{"type":"string"},"fileUrl":{"type":"string"}},"required":["message","fileUrl"]},"ReportDto":{"type":"object","properties":{"reason":{"type":"string"},"detail":{"type":"string"},"type":{"type":"string"},"id":{"type":"number"}},"required":["reason","detail","type","id"]},"ExtractTextDto":{"type":"object","properties":{"url":{"type":"string"},"language":{"type":"string"}},"required":["url","language"]},"CreateTranslationsDto":{"type":"object","properties":{"tableName":{"type":"string"},"rowId":{"type":"number"},"isShort":{"type":"boolean"},"languageCode":{"type":"string"},"translations":{"type":"object"}},"required":["tableName","rowId","isShort","languageCode","translations"]},"SearchTranslationsDto":{"type":"object","properties":{"tableName":{"type":"string"},"rowId":{"type":"number"}},"required":["tableName","rowId"]},"UpdateTranslationsDto":{"type":"object","properties":{"tableName":{"type":"string"},"rowId":{"type":"number"},"isShort":{"type":"boolean"},"languageCode":{"type":"string"},"translations":{"type":"object"}}},"CreateCitiesDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"}},"required":["countryId","name"]},"UpdateCitiesDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"}}},"CreateStateProvinceDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"}},"required":["countryId","name"]},"UpdateStateProvinceDto":{"type":"object","properties":{"countryId":{"type":"number"},"name":{"type":"string"}}},"CreateForumsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}},"pollIds":{"type":"array","items":{"type":"string"}},"communityId":{"type":"number"},"categoryId":{"type":"number"},"isPinned":{"type":"boolean"},"isApproved":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"}},"required":["name","description","article","mediaIds","pollIds","communityId","categoryId","isPinned","isApproved","isAnonymous","sector","isPublic","titles","descriptions","articles"]},"UpdateForumsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}},"pollIds":{"type":"array","items":{"type":"string"}},"communityId":{"type":"number"},"categoryId":{"type":"number"},"isPinned":{"type":"boolean"},"isApproved":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"}}},"CreateForumCategoryDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"],"default":"education"},"language":{"type":"string","default":"en"},"forumCount":{"type":"number","default":0},"avatarId":{"type":"number"}},"required":["name","sector","language","forumCount"]},"UpdateForumCategoryDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"],"default":"education"},"language":{"type":"string","default":"en"},"forumCount":{"type":"number","default":0},"avatarId":{"type":"number"}}},"CreateForumMediasDto":{"type":"object","properties":{"forumId":{"type":"number"},"mediaId":{"type":"number"}},"required":["forumId","mediaId"]},"UpdateForumMediasDto":{"type":"object","properties":{"forumId":{"type":"number"},"mediaId":{"type":"number"}}},"CreateForumCommentsDto":{"type":"object","properties":{"forumId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"parentId":{"type":"number"}},"required":["forumId","comment","content","parentId"]},"UpdateForumCommentsDto":{"type":"object","properties":{"forumId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"parentId":{"type":"number"}}},"CreatePollsDto":{"type":"object","properties":{"forumId":{"type":"number"},"question":{"type":"string"},"allowMultiple":{"type":"boolean"},"expiredAt":{"format":"date-time","type":"string"}},"required":["forumId","question","allowMultiple","expiredAt"]},"UpdatePollsDto":{"type":"object","properties":{"forumId":{"type":"number"},"question":{"type":"string"},"allowMultiple":{"type":"boolean"},"expiredAt":{"format":"date-time","type":"string"}}},"CreateForumTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"forumId":{"type":"number"}},"required":["tagId","forumId"]},"UpdateForumTagsDto":{"type":"object","properties":{"tagId":{"type":"number"},"forumId":{"type":"number"}}},"CreateForumVotesDto":{"type":"object","properties":{"forumId":{"type":"number"},"type":{"type":"string","enum":["up","down"]}},"required":["forumId","type"]},"CreateForumCommentVotesDto":{"type":"object","properties":{"commentId":{"type":"number"},"type":{"type":"string","enum":["up","down"]}},"required":["commentId","type"]},"CreateCoverLibraryDto":{"type":"object","properties":{"text":{"type":"string"},"mediaId":{"type":"number"}},"required":["text","mediaId"]},"UpdateCoverLibraryDto":{"type":"object","properties":{"text":{"type":"string"},"mediaId":{"type":"number"},"isUsed":{"type":"boolean"}},"required":["isUsed"]},"CreateNoteDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"dueDate":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"recipientId":{"type":"number"}}},"UpdateNoteDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"dueDate":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"recipientId":{"type":"number"}}},"CreateOpportunityEventsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["global","job","development","community"]},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"eventAddress":{"type":"string"},"eventLocation":{"type":"string"},"eventSchedule":{"type":"string"},"ticketPrice":{"type":"number"}},"required":["opportunityId","type","startDate","endDate","eventAddress","eventLocation","eventSchedule","ticketPrice"]},"UpdateOpportunityEventsDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["global","job","development","community"]},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"eventAddress":{"type":"string"},"eventLocation":{"type":"string"},"eventSchedule":{"type":"string"},"ticketPrice":{"type":"number"}}},"CreateOpportunityServicesDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["Visa and Immigration Services","Support Services","Business Services","Educational Services","Career Services"]},"paySchedule":{"type":"string","enum":["hourly","daily","weekly","biweekly","monthly"]},"pricing":{"type":"number"},"targetAudience":{"type":"string"},"estimatedDuration":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"serviceAddress":{"type":"string"},"serviceLocation":{"type":"string"},"serviceSchedule":{"type":"string"}},"required":["opportunityId","type","paySchedule","pricing","targetAudience","estimatedDuration","startDate","endDate","serviceAddress","serviceLocation","serviceSchedule"]},"UpdateOpportunityServicesDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["Visa and Immigration Services","Support Services","Business Services","Educational Services","Career Services"]},"paySchedule":{"type":"string","enum":["hourly","daily","weekly","biweekly","monthly"]},"pricing":{"type":"number"},"targetAudience":{"type":"string"},"estimatedDuration":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"serviceAddress":{"type":"string"},"serviceLocation":{"type":"string"},"serviceSchedule":{"type":"string"}}},"CreatePollOptionsDto":{"type":"object","properties":{"pollId":{"type":"number"},"text":{"type":"string"}},"required":["pollId","text"]},"UpdatePollOptionsDto":{"type":"object","properties":{"pollId":{"type":"number"},"text":{"type":"string"}}},"CreatePollVotesDto":{"type":"object","properties":{"optionId":{"type":"number"}},"required":["optionId"]},"UpdatePollVotesDto":{"type":"object","properties":{"optionId":{"type":"number"}}},"CreateOpportunityAnnouncementDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"content":{"type":"string"},"statusId":{"type":"number"}},"required":["opportunityId","text","content","statusId"]},"CreateBulkOpportunityAnnouncementDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"content":{"type":"string"},"applicationIds":{"type":"array","items":{"type":"number"}}},"required":["opportunityId","text","content","applicationIds"]},"UpdateOpportunityAnnouncementDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"text":{"type":"string"},"content":{"type":"string"},"statusId":{"type":"number"}}},"CreateContactRequestsDto":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"businessName":{"type":"string"},"description":{"type":"string"}},"required":["firstName","lastName","email","phoneNumber","businessName","description"]},"UpdateContactRequestsDto":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"businessName":{"type":"string"},"description":{"type":"string"}}},"CreateCommunityDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"rules":{"type":"string"},"welcomeMessage":{"type":"string"},"coverId":{"type":"number"},"avatarId":{"type":"number"},"accessType":{"type":"string"},"type":{"type":"string"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"countryId":{"type":"number"},"categoryIds":{"type":"array","items":{"type":"string"}}},"required":["name","description","rules","welcomeMessage","coverId","avatarId","accessType","type","sector","isPublic","countryId","categoryIds"]},"UpdateCommunityDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"rules":{"type":"string"},"welcomeMessage":{"type":"string"},"coverId":{"type":"number"},"avatarId":{"type":"number"},"accessType":{"type":"string"},"type":{"type":"string"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"countryId":{"type":"number"},"categoryIds":{"type":"array","items":{"type":"string"}}}},"CreateCommunityReportDto":{"type":"object","properties":{"reason":{"type":"string"},"description":{"type":"string"},"communityId":{"type":"number"},"forumId":{"type":"number"},"commentId":{"type":"number"},"reportActions":{"type":"array","items":{"type":"string"}}},"required":["reason","description","communityId","forumId","commentId","reportActions"]},"UpdateCommunityReportDto":{"type":"object","properties":{"reason":{"type":"string"},"description":{"type":"string"},"communityId":{"type":"number"},"forumId":{"type":"number"},"commentId":{"type":"number"},"reportActions":{"type":"array","items":{"type":"string"}}}},"CreateCategoryDto":{"type":"object","properties":{"name":{"type":"string"},"sector":{"type":"string"}},"required":["name","sector"]},"UpdateCategoryDto":{"type":"object","properties":{"name":{"type":"string"},"sector":{"type":"string"}}},"CreateCommunityCategoryDto":{"type":"object","properties":{"communityId":{"type":"number"},"categoryId":{"type":"number"}},"required":["communityId","categoryId"]},"UpdateCommunityCategoryDto":{"type":"object","properties":{"communityId":{"type":"number"},"categoryId":{"type":"number"}}},"CreateUserFollowsDto":{"type":"object","properties":{"targetUserId":{"type":"number"}},"required":["targetUserId"]},"UpdateUserFollowsDto":{"type":"object","properties":{"targetUserId":{"type":"number"}}},"CreateUserBlocksDto":{"type":"object","properties":{"targetUserId":{"type":"number"}},"required":["targetUserId"]},"UpdateUserBlocksDto":{"type":"object","properties":{"targetUserId":{"type":"number"}}},"CreateTagsDto":{"type":"object","properties":{"name":{"type":"string"},"avatarId":{"type":"number"},"category":{"type":"string"},"code":{"type":"string"},"titleId":{"type":"string"},"type":{"type":"string"},"parentId":{"type":"number"},"language":{"type":"string"},"names":{"type":"object"}},"required":["name","avatarId","category","code","titleId","type","parentId","language","names"]},"UpdateTagsDto":{"type":"object","properties":{"name":{"type":"string"},"avatarId":{"type":"number"},"category":{"type":"string"},"code":{"type":"string"},"titleId":{"type":"string"},"type":{"type":"string"},"parentId":{"type":"number"},"language":{"type":"string"},"names":{"type":"object"}}},"CreateUserVerificationsDto":{"type":"object","properties":{"status":{"type":"string","enum":["pending","approved","rejected"],"nullable":true},"reason":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"lastName":{"type":"string"},"uId":{"type":"string"},"uType":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}},"required":["status","reason","firstName","middleName","lastName","uId","uType","mediaIds"]},"UpdateUserVerificationsDto":{"type":"object","properties":{"status":{"type":"string","enum":["pending","approved","rejected"],"nullable":true},"reason":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"lastName":{"type":"string"},"uId":{"type":"string"},"uType":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}}},"CreateUserVerificationMediasDto":{"type":"object","properties":{"verificationId":{"type":"number"},"mediaId":{"type":"number"}},"required":["verificationId","mediaId"]},"UpdateUserVerificationMediasDto":{"type":"object","properties":{"verificationId":{"type":"number"},"mediaId":{"type":"number"}}},"CreateCompanyVerificationsDto":{"type":"object","properties":{"companyId":{"type":"number"},"status":{"type":"string","enum":["pending","approved","rejected"],"nullable":true},"reason":{"type":"string"},"companyName":{"type":"string"},"address":{"type":"string"},"uId":{"type":"string"},"uType":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}},"required":["companyId","status","reason","companyName","address","uId","uType","mediaIds"]},"UpdateCompanyVerificationsDto":{"type":"object","properties":{"companyId":{"type":"number"},"status":{"type":"string","enum":["pending","approved","rejected"],"nullable":true},"reason":{"type":"string"},"companyName":{"type":"string"},"address":{"type":"string"},"uId":{"type":"string"},"uType":{"type":"string"},"mediaIds":{"type":"array","items":{"type":"string"}}}},"CreateCompanyVerificationMediasDto":{"type":"object","properties":{"verificationId":{"type":"number"},"mediaId":{"type":"number"}},"required":["verificationId","mediaId"]},"UpdateCompanyVerificationMediasDto":{"type":"object","properties":{"verificationId":{"type":"number"},"mediaId":{"type":"number"}}},"CreateSubscriptionPlansDto":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"},"priceMnt":{"type":"number"},"subscriptionInterval":{"type":"string"},"features":{"type":"object"},"description":{"type":"string"},"isActive":{"type":"boolean"},"isTrial":{"type":"boolean"},"isCommon":{"type":"boolean"},"month":{"type":"number"},"day":{"type":"number"}},"required":["name","price","priceMnt","subscriptionInterval","features","description","isActive","isTrial","isCommon","month","day"]},"UpdateSubscriptionPlansDto":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"},"priceMnt":{"type":"number"},"subscriptionInterval":{"type":"string"},"features":{"type":"object"},"description":{"type":"string"},"isActive":{"type":"boolean"},"isTrial":{"type":"boolean"},"isCommon":{"type":"boolean"},"month":{"type":"number"},"day":{"type":"number"}}},"CreateHotlineCallRoomDto":{"type":"object","properties":{"callUuid":{"type":"string"},"receiverId":{"type":"number"}},"required":["callUuid","receiverId"]},"HotlineCallRoomResponse":{"type":"object","properties":{"userId":{"type":"number"},"isPublisher":{"type":"boolean"},"callRoomId":{"type":"number"},"status":{"type":"string","enum":["waiting_in_call","ringing","in_call","left_call","missed_call","declined","timeout","got_declined"]},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["userId","isPublisher","callRoomId","status","id","createdAt","updatedAt"]},"UpdateHotlineCallRoomDto":{"type":"object","properties":{"callUuid":{"type":"string"},"receiverId":{"type":"number"}}},"GenerateAgoraTokenDto":{"type":"object","properties":{"role":{"type":"string"},"channelName":{"type":"string"}},"required":["role","channelName"]},"EndCallDto":{"type":"object","properties":{"id":{"type":"number"},"endReason":{"type":"string","enum":["waiting_in_call","ringing","in_call","left_call","missed_call","declined","timeout","got_declined"]}},"required":["id","endReason"]},"CreateHotlineCallRoomMemberDto":{"type":"object","properties":{"userId":{"type":"number"},"isPublisher":{"type":"boolean"},"callRoomId":{"type":"number"},"status":{"type":"string","enum":["waiting_in_call","ringing","in_call","left_call","missed_call","declined","timeout","got_declined"]}},"required":["userId","isPublisher","callRoomId","status"]},"HotlineCallRoomMemberResponse":{"type":"object","properties":{"callUuid":{"type":"string"},"receiverId":{"type":"number"},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["callUuid","receiverId","id","createdAt","updatedAt"]},"UpdateHotlineCallRoomMemberDto":{"type":"object","properties":{"userId":{"type":"number"},"isPublisher":{"type":"boolean"},"callRoomId":{"type":"number"},"status":{"type":"string","enum":["waiting_in_call","ringing","in_call","left_call","missed_call","declined","timeout","got_declined"]}}},"CreateUserCompanyDto":{"type":"object","properties":{"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string"},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"uniqueId":{"type":"string"},"avatar":{"type":"string"},"gender":{"type":"string"},"dob":{"type":"string"}},"required":["fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate","email","firstName","lastName","phoneNumber","uniqueId","avatar","gender","dob"]},"UpdateUserCompanyDto":{"type":"object","properties":{"fcm":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"role":{"type":"string"},"sector":{"type":"string"},"invitationId":{"type":"number"},"workspaceId":{"type":"number"},"companyId":{"type":"number"},"appleId":{"type":"string"},"grade":{"type":"number"},"class":{"type":"string"},"facebookToken":{"type":"string"},"defaultAvatar":{"type":"string"},"voipDeviceToken":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"},"country":{"type":"string"},"time":{"type":"number"},"nickname":{"type":"string"},"badgeIcon":{"type":"string"},"badgeName":{"type":"string"},"language":{"type":"string"},"autoTranslate":{"type":"boolean"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"uniqueId":{"type":"string"},"avatar":{"type":"string"},"gender":{"type":"string"},"dob":{"type":"string"}},"required":["fcm","platform","status","role","sector","invitationId","workspaceId","companyId","appleId","grade","class","facebookToken","defaultAvatar","voipDeviceToken","interests","marketingSource","country","time","nickname","badgeIcon","badgeName","language","autoTranslate","email","firstName","lastName","phoneNumber","uniqueId","avatar","gender","dob"]},"UpdateUserCompanyIndividualDto":{"type":"object","properties":{"dataSharing":{"type":"boolean"},"activitySharing":{"type":"boolean"},"gender":{"type":"string"},"summary":{"type":"string"},"country":{"type":"string"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"jobPosition":{"type":"string"},"defaultAvatar":{"type":"string"},"interests":{"type":"string"},"marketingSource":{"type":"string"}},"required":["dataSharing","activitySharing","gender","summary","country","stateProvince","city","address1","address2","zipcode","jobPosition","defaultAvatar","interests","marketingSource"]},"FilterDto":{"type":"object","properties":{"limit":{"type":"number"},"page":{"type":"number"},"languageId":{"type":"number"},"industryId":{"type":"number"},"degree":{"type":"string"},"country":{"type":"string"},"gender":{"type":"string"},"maxAge":{"type":"number"},"minAge":{"type":"number"},"verified":{"type":"boolean"}},"required":["limit","page","languageId","industryId","degree","country","gender","maxAge","minAge","verified"]},"GetUserCompanyExcelSheetDto":{"type":"object","properties":{"mediaId":{"type":"number"}},"required":["mediaId"]},"ExcelSheetHeaderMappingDto":{"type":"object","properties":{"lastName":{"type":"string"},"firstName":{"type":"string"},"email":{"type":"string"},"uniqueId":{"type":"string"},"phoneNumber":{"type":"string"},"avatar":{"type":"string"},"education":{"type":"string"},"experience":{"type":"string"},"skill":{"type":"string"},"language":{"type":"string"}},"required":["lastName","firstName","email","uniqueId","phoneNumber","avatar","education","experience","skill","language"]},"InsertUserCompanyExcelDto":{"type":"object","properties":{"title":{"type":"string"},"mediaId":{"type":"number"},"sheet_name":{"type":"string"},"mapping":{"$ref":"#/components/schemas/ExcelSheetHeaderMappingDto"},"columns":{"type":"array","items":{"type":"string"}}},"required":["title","mediaId","sheet_name","mapping","columns"]},"CreateUserGroupDto":{"type":"object","properties":{"title":{"type":"string"},"userIds":{"type":"simple-array"}},"required":["title","userIds"]},"CreateUserGroupShareDto":{"type":"object","properties":{"companyId":{"type":"number"},"edit":{"type":"boolean"}},"required":["companyId","edit"]},"CreateCompanyColumnDto":{"type":"object","properties":{"title":{"type":"string"}},"required":["title"]},"UpdateCompanyColumnDto":{"type":"object","properties":{"title":{"type":"string"}},"required":["title"]},"UserCompanyTag":{"type":"object","properties":{"column":{"type":"string"},"value":{"type":"string"}},"required":["column","value"]},"CreateUserCompanyTagDto":{"type":"object","properties":{"userId":{"type":"number"},"tag":{"$ref":"#/components/schemas/UserCompanyTag"}},"required":["userId","tag"]},"CreateQuizsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"code":{"type":"string"},"type":{"type":"string","enum":["personality","survey","assessment"]},"expiredAt":{"format":"date-time","type":"string"},"coverId":{"type":"number"},"score":{"type":"number"},"instructionsBody":{"type":"string"},"customPoint":{"type":"boolean"},"instructionBodies":{"type":"object"}},"required":["title","description","language","titles","descriptions","code","type","expiredAt","coverId","score","instructionsBody","customPoint","instructionBodies"]},"UpdateQuizsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"code":{"type":"string"},"type":{"type":"string","enum":["personality","survey","assessment"]},"expiredAt":{"format":"date-time","type":"string"},"coverId":{"type":"number"},"score":{"type":"number"},"instructionsBody":{"type":"string"},"customPoint":{"type":"boolean"},"instructionBodies":{"type":"object"}}},"CreateQuizQuestionsDto":{"type":"object","properties":{"quizId":{"type":"number"},"questionOrder":{"type":"number"},"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"score":{"type":"number"},"quizPreResultId":{"type":"number"},"isNegative":{"type":"boolean"},"type":{"type":"string"},"rightAnswerId":{"type":"number"},"mediaId":{"type":"number"},"value":{"type":"string"},"body":{"type":"string"}},"required":["quizId","questionOrder","title","description","language","titles","descriptions","score","quizPreResultId","isNegative","type","rightAnswerId","mediaId","value","body"]},"UpdateQuizQuestionsDto":{"type":"object","properties":{"quizId":{"type":"number"},"questionOrder":{"type":"number"},"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"score":{"type":"number"},"quizPreResultId":{"type":"number"},"isNegative":{"type":"boolean"},"type":{"type":"string"},"rightAnswerId":{"type":"number"},"mediaId":{"type":"number"},"value":{"type":"string"},"body":{"type":"string"}}},"CreateQuizQuestionAnswersDto":{"type":"object","properties":{"value":{"type":"string"},"variationId":{"type":"number"},"questionId":{"type":"number"},"mediaId":{"type":"number"},"sessionId":{"type":"number"}},"required":["value","variationId","questionId","mediaId","sessionId"]},"UpdateQuizQuestionAnswersDto":{"type":"object","properties":{"value":{"type":"string"},"variationId":{"type":"number"},"questionId":{"type":"number"},"mediaId":{"type":"number"},"sessionId":{"type":"number"}}},"CreateQuizQuestionVariationsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"expiredAt":{"format":"date-time","type":"string"},"questionId":{"type":"number"},"mediaId":{"type":"number"},"score":{"type":"number"}},"required":["title","description","language","titles","descriptions","expiredAt","questionId","mediaId","score"]},"UpdateQuizQuestionVariationsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"expiredAt":{"format":"date-time","type":"string"},"questionId":{"type":"number"},"mediaId":{"type":"number"},"score":{"type":"number"}}},"CreateQuizResultsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"quizId":{"type":"number"},"score":{"type":"number"},"value":{"type":"string"},"sessionId":{"type":"number"}},"required":["title","description","language","titles","descriptions","quizId","score","value","sessionId"]},"UpdateQuizResultsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"quizId":{"type":"number"},"score":{"type":"number"},"value":{"type":"string"},"sessionId":{"type":"number"}}},"CreateQuizPreresultsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"articleLow":{"type":"string"},"articleHigh":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articleLows":{"type":"object"},"articleHighs":{"type":"object"},"articles":{"type":"object"},"code":{"type":"string"},"score":{"type":"number"},"maxScore":{"type":"number"},"mediaId":{"type":"number"},"quizId":{"type":"number"}},"required":["title","description","article","articleLow","articleHigh","language","titles","descriptions","articleLows","articleHighs","articles","code","score","maxScore","mediaId","quizId"]},"UpdateQuizPreresultsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"articleLow":{"type":"string"},"articleHigh":{"type":"string"},"language":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articleLows":{"type":"object"},"articleHighs":{"type":"object"},"articles":{"type":"object"},"code":{"type":"string"},"score":{"type":"number"},"maxScore":{"type":"number"},"mediaId":{"type":"number"},"quizId":{"type":"number"}}},"CreateQuizPreresultResultsDto":{"type":"object","properties":{"value":{"type":"string"},"variationId":{"type":"number"},"preresultId":{"type":"number"},"mediaId":{"type":"number"}},"required":["value","variationId","preresultId","mediaId"]},"UpdateQuizPreresultResultsDto":{"type":"object","properties":{"value":{"type":"string"},"variationId":{"type":"number"},"preresultId":{"type":"number"},"mediaId":{"type":"number"}}},"CreateQuizSessionDto":{"type":"object","properties":{"userEmail":{"type":"string"},"accessCode":{"type":"string"},"quizId":{"type":"number"},"answers":{"type":"array","items":{"$ref":"#/components/schemas/CreateQuizQuestionAnswersDto"}},"isRetrieved":{"type":"boolean"}},"required":["userEmail","accessCode","quizId","answers","isRetrieved"]},"UpdateQuizSessionDto":{"type":"object","properties":{"userEmail":{"type":"string"},"accessCode":{"type":"string"},"quizId":{"type":"number"},"answers":{"type":"array","items":{"$ref":"#/components/schemas/CreateQuizQuestionAnswersDto"}},"isRetrieved":{"type":"boolean"}}},"CreateAiAgentsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"helloMessage":{"type":"string"},"initMessage":{"type":"string"},"type":{"type":"string","enum":["regular","trained"],"default":"regular"},"modelName":{"type":"string"},"indexName":{"type":"string"},"algorithm":{"type":"string"},"knowledgeBase":{"type":"string"},"avatarId":{"type":"number"},"hints":{"type":"array","items":{"type":"string"}},"isActive":{"type":"boolean"}},"required":["name","description","helloMessage","initMessage","type","modelName","indexName","algorithm","knowledgeBase","avatarId","hints","isActive"]},"UpdateAiAgentsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"helloMessage":{"type":"string"},"initMessage":{"type":"string"},"type":{"type":"string","enum":["regular","trained"],"default":"regular"},"modelName":{"type":"string"},"indexName":{"type":"string"},"algorithm":{"type":"string"},"knowledgeBase":{"type":"string"},"avatarId":{"type":"number"},"hints":{"type":"array","items":{"type":"string"}},"isActive":{"type":"boolean"}}},"SendAiAgentsDto":{"type":"object","properties":{"text":{"type":"string"},"roomId":{"type":"number"},"agentId":{"type":"number"},"uId":{"type":"string"},"qaId":{"type":"string"}},"required":["text","roomId","agentId","uId","qaId"]},"CreateAiQuestionsDto":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"},"language":{"type":"string"},"source":{"type":"string"},"pkId":{"type":"string"},"topicId":{"type":"number"},"viewCount":{"type":"number"},"keywords":{"type":"string"}},"required":["question","answer","language","source","pkId","topicId","viewCount","keywords"]},"UpdateAiQuestionsDto":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"},"language":{"type":"string"},"source":{"type":"string"},"pkId":{"type":"string"},"topicId":{"type":"number"},"viewCount":{"type":"number"},"keywords":{"type":"string"}}},"CreateAiTopicsDto":{"type":"object","properties":{"name":{"type":"string"},"short":{"type":"string"}},"required":["name","short"]},"UpdateAiTopicsDto":{"type":"object","properties":{"name":{"type":"string"},"short":{"type":"string"}}},"CreateAiCategoriesDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"topicId":{"type":"number"}},"required":["name","description","topicId"]},"UpdateAiCategoriesDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"topicId":{"type":"number"}}},"CreateAiQuestionCategoriesDto":{"type":"object","properties":{"categoryId":{"type":"number"},"questionId":{"type":"number"}},"required":["categoryId","questionId"]},"CreateAiDestinationsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"flag":{"type":"string"},"code":{"type":"string"}},"required":["name","description","language","flag","code"]},"UpdateAiDestinationsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"flag":{"type":"string"},"code":{"type":"string"}}},"CreateWorkspaceDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"iconName":{"type":"string"},"avatarId":{"type":"number"},"uId":{"type":"string"},"primaryColor":{"type":"string"},"darkThemePrimaryColor":{"type":"string"},"isPrivate":{"type":"boolean"},"isPremium":{"type":"boolean"},"companyId":{"type":"number"},"isPromo":{"type":"boolean"},"sector":{"type":"string"},"access":{"type":"string"},"coverId":{"type":"number"},"hideUsers":{"type":"boolean"},"details":{"type":"string"},"status":{"type":"string"},"isMarketplace":{"type":"boolean"},"badges":{"type":"object"},"memberStatus":{"type":"object"},"generateAi":{"type":"boolean"}},"required":["name","sector","access"]},"AiEditMessageDto":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}},"required":["role","content"]},"AiEditsDto":{"type":"object","properties":{"messages":{"description":"Conversation history. Not stored.","type":"array","items":{"$ref":"#/components/schemas/AiEditMessageDto"}}},"required":["messages"]},"UpdateWorkspaceDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"iconName":{"type":"string"},"avatarId":{"type":"number"},"uId":{"type":"string"},"primaryColor":{"type":"string"},"darkThemePrimaryColor":{"type":"string"},"isPrivate":{"type":"boolean"},"isPremium":{"type":"boolean"},"companyId":{"type":"number"},"isPromo":{"type":"boolean"},"sector":{"type":"string"},"access":{"type":"string"},"coverId":{"type":"number"},"hideUsers":{"type":"boolean"},"details":{"type":"string"},"status":{"type":"string"},"isMarketplace":{"type":"boolean"},"badges":{"type":"object"},"memberStatus":{"type":"object"},"generateAi":{"type":"boolean"}}},"ReviewRunDto":{"type":"object","properties":{"status":{"type":"string","enum":["approved","returned","incomplete"]},"comment":{"type":"string"},"timezone":{"type":"string"}},"required":["status"]},"CreateRoadmapDto":{"type":"object","properties":{"name":{"type":"string"},"language":{"type":"string","default":"en"},"names":{"type":"object"},"grade":{"type":"number","default":9},"country":{"type":"string"},"avatarId":{"type":"number"},"isActive":{"type":"boolean","default":false},"isPremium":{"type":"boolean","default":false},"userId":{"type":"number"}},"required":["name"]},"CreateRoadmapLevelDto":{"type":"object","properties":{"stage":{"type":"string","enum":["entry","clean","function","walkthrough"]},"name":{"type":"string"},"language":{"type":"string","default":"en"},"names":{"type":"object"},"level":{"type":"number","default":0},"avatarId":{"type":"number"},"roadmapId":{"type":"number"}},"required":["name"]},"StartRoadmapDto":{"type":"object","properties":{"runId":{"type":"string"},"targetCode":{"type":"string"},"actAsUserId":{"type":"number"},"serviceType":{"type":"string","enum":["turnover","stayover","deep_clean","extra"]},"flags":{"type":"array","items":{"type":"string","enum":["pet","accessible"]}}}},"UpdateRoadmapDto":{"type":"object","properties":{"name":{"type":"string"},"language":{"type":"string","default":"en"},"names":{"type":"object"},"grade":{"type":"number","default":9},"country":{"type":"string"},"avatarId":{"type":"number"},"isActive":{"type":"boolean","default":false},"isPremium":{"type":"boolean","default":false},"userId":{"type":"number"}}},"CreateDiscoveryBoardsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"companyId":{"type":"number"},"spaceId":{"type":"number"},"sector":{"type":"string"},"order":{"type":"number"},"type":{"type":"string"},"avatarId":{"type":"number"},"article":{"type":"string"},"action":{"type":"string"},"data":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"}},"required":["title","description","language","companyId","spaceId","sector","order","type","avatarId","article","action","data","titles","descriptions","articles"]},"UpdateDiscoveryBoardsDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"language":{"type":"string"},"companyId":{"type":"number"},"spaceId":{"type":"number"},"sector":{"type":"string"},"order":{"type":"number"},"type":{"type":"string"},"avatarId":{"type":"number"},"article":{"type":"string"},"action":{"type":"string"},"data":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"}}},"CreatePaymentMethodDto":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"isActive":{"type":"boolean","default":false},"type":{"type":"string","enum":["stripe","qpay","bank"],"default":"bank"},"client":{"type":"string"},"secret":{"type":"string"},"bank":{"type":"string","enum":["khan bank","golomt bank","tdb bank","state bank","xac bank","capitron bank","bogd bank"]},"bankCode":{"type":"string"},"bankAccount":{"type":"string"},"bankName":{"type":"string"},"coverId":{"type":"number"}},"required":["name","code","isActive","type"]},"UpdatePaymentMethodDto":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"isActive":{"type":"boolean","default":false},"type":{"type":"string","enum":["stripe","qpay","bank"],"default":"bank"},"client":{"type":"string"},"secret":{"type":"string"},"bank":{"type":"string","enum":["khan bank","golomt bank","tdb bank","state bank","xac bank","capitron bank","bogd bank"]},"bankCode":{"type":"string"},"bankAccount":{"type":"string"},"bankName":{"type":"string"},"coverId":{"type":"number"},"isUsed":{"type":"boolean"}},"required":["isUsed"]},"CreateInvitationsDto":{"type":"object","properties":{"name":{"type":"string"},"workspaceId":{"type":"number"},"role":{"type":"string"}},"required":["name","workspaceId","role"]},"UpdateInvitationsDto":{"type":"object","properties":{"name":{"type":"string"},"workspaceId":{"type":"number"},"role":{"type":"string"}}},"QaPointDto":{"type":"object","properties":{"point":{"type":"string","enum":["presentation","bed_linen","hair_debris","bathroom","kitchen","floor","odor","supplies","maintenance_cleared","ready_status"]},"passed":{"type":"boolean"},"note":{"type":"string"},"mediaId":{"type":"number"}},"required":["point","passed"]},"CreateInspectionDto":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/QaPointDto"}},"assignmentId":{"type":"number"},"note":{"type":"string"}},"required":["points"]},"UpdateRecleanDto":{"type":"object","properties":{"recleanStatus":{"type":"string","enum":["none","open","fixed","accepted"]},"afterMediaId":{"type":"number"}},"required":["recleanStatus"]},"CreateReportDto":{"type":"object","properties":{"kind":{"type":"string","enum":["damage","maintenance","lost_and_found","biohazard","odor","access"]},"severity":{"type":"string","enum":["routine","before_next_guest","safety_critical"]},"note":{"type":"string"},"assignmentId":{"type":"number"},"runId":{"type":"string"},"taskId":{"type":"number"},"mediaId":{"type":"number"},"itemType":{"type":"string"},"foundLocation":{"type":"string"},"clientId":{"type":"string"}},"required":["kind"]},"ResolveReportDto":{"type":"object","properties":{"status":{"type":"string","enum":["open","in_progress","resolved","closed"]},"resolution":{"type":"string"}},"required":["status"]},"CreateRoomDto":{"type":"object","properties":{"number":{"type":"string"},"roomType":{"type":"string"},"floor":{"type":"string"},"flags":{"type":"array","items":{"type":"string","enum":["pet","accessible"]}},"isActive":{"type":"boolean"},"notes":{"type":"string"}},"required":["number"]},"UpdateRoomDto":{"type":"object","properties":{"number":{"type":"string"},"roomType":{"type":"string"},"floor":{"type":"string"},"flags":{"type":"array","items":{"type":"string","enum":["pet","accessible"]}},"isActive":{"type":"boolean"},"notes":{"type":"string"}}},"CreateAssignmentDto":{"type":"object","properties":{"roomId":{"type":"number"},"workerUserId":{"type":"number"},"businessDay":{"type":"string"},"serviceType":{"type":"string","enum":["turnover","stayover","deep_clean","extra"]},"timezone":{"type":"string"},"repeatsDaily":{"type":"boolean","default":false}},"required":["roomId"]},"UpdateAssignmentDto":{"type":"object","properties":{"status":{"type":"string","enum":["assigned","in_progress","maintenance_hold","submitted","done"]},"workerUserId":{"type":"number"},"serviceType":{"type":"string","enum":["turnover","stayover","deep_clean","extra"]},"outcome":{"type":"string","enum":["ready","attention_required"]},"runId":{"type":"string"}}},"SubmitAssignmentDto":{"type":"object","properties":{"outcome":{"type":"string","enum":["ready","attention_required"]},"certified":{"type":"boolean"},"note":{"type":"string"}},"required":["outcome","certified"]},"CreateCompanyFavoritesDto":{"type":"object","properties":{"companyId":{"type":"number"}},"required":["companyId"]},"CreateContentFavoritesDto":{"type":"object","properties":{"contentId":{"type":"number"}},"required":["contentId"]},"CreateOpportunityBlocksDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["text","html","image","video","map"]},"title":{"type":"string"},"value":{"type":"string"},"order":{"type":"number"},"mediaId":{"type":"number"},"values":{"type":"object"}},"required":["opportunityId","type","title","value","order","mediaId","values"]},"UpdateOpportunityBlocksDto":{"type":"object","properties":{"opportunityId":{"type":"number"},"type":{"type":"string","enum":["text","html","image","video","map"]},"title":{"type":"string"},"value":{"type":"string"},"order":{"type":"number"},"mediaId":{"type":"number"},"values":{"type":"object"}}},"SwitchOpportunityBlocksDto":{"type":"object","properties":{"blockId":{"type":"number"},"dir":{"type":"string"}},"required":["blockId","dir"]},"CreateRowsDto":{"type":"object","properties":{"title":{"type":"string"},"order":{"type":"number","default":0},"paddingLess":{"type":"boolean","default":false},"workspaceId":{"type":"number"}},"required":["order","paddingLess"]},"UpdateRowsDto":{"type":"object","properties":{"title":{"type":"string"},"order":{"type":"number","default":0},"paddingLess":{"type":"boolean","default":false},"workspaceId":{"type":"number"}}},"SwitchRowBlocksDto":{"type":"object","properties":{"rowId":{"type":"number"},"dir":{"type":"string"}},"required":["rowId","dir"]},"CreateBlocksDto":{"type":"object","properties":{"name":{"type":"string"},"bgImageId":{"type":"number"},"showText":{"type":"boolean","default":false},"rowId":{"type":"number"},"order":{"type":"number","default":0},"flex":{"type":"number","default":1},"type":{"type":"string","default":"default"},"bgColor":{"type":"string"},"text":{"type":"string"},"textStyle":{"type":"string"},"textColor":{"type":"string"},"shadeColor":{"type":"string"},"cornerRadius":{"type":"number","default":1},"actionType":{"type":"string"},"actionData":{"type":"string"},"height":{"type":"string"},"iconImageId":{"type":"number"}},"required":["showText","order","flex","type","cornerRadius"]},"UpdateBlocksDto":{"type":"object","properties":{"name":{"type":"string"},"bgImageId":{"type":"number"},"showText":{"type":"boolean","default":false},"rowId":{"type":"number"},"order":{"type":"number","default":0},"flex":{"type":"number","default":1},"type":{"type":"string","default":"default"},"bgColor":{"type":"string"},"text":{"type":"string"},"textStyle":{"type":"string"},"textColor":{"type":"string"},"shadeColor":{"type":"string"},"cornerRadius":{"type":"number","default":1},"actionType":{"type":"string"},"actionData":{"type":"string"},"height":{"type":"string"},"iconImageId":{"type":"number"}}},"CreateWidgetsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"feature":{"type":"string"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"actionType":{"type":"string"},"actionData":{"type":"string"},"imageUrl":{"type":"string"},"aiAble":{"type":"boolean","default":false},"aiPrompt":{"type":"string"}},"required":["name","aiAble"]},"UpdateWidgetsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"feature":{"type":"string"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"actionType":{"type":"string"},"actionData":{"type":"string"},"imageUrl":{"type":"string"},"aiAble":{"type":"boolean","default":false},"aiPrompt":{"type":"string"}}},"CreateMetatagsDto":{"type":"object","properties":{"name":{"type":"string"},"names":{"type":"object"},"sector":{"type":"string"}},"required":["name","names","sector"]},"UpdateMetatagsDto":{"type":"object","properties":{"name":{"type":"string"},"names":{"type":"object"},"sector":{"type":"string"}}},"CreateWorkspaceMetatagDto":{"type":"object","properties":{"metatagId":{"type":"number"}},"required":["metatagId"]},"UpdateWorkspaceMetatagDto":{"type":"object","properties":{"metatagId":{"type":"number"}}},"CreatePlansContentDto":{"type":"object","properties":{"planId":{"type":"number"},"contentId":{"type":"number"},"opportunityId":{"type":"number"},"roadmapId":{"type":"number"},"questionnaireId":{"type":"number"},"aiAgentId":{"type":"number"}},"required":["planId","contentId","opportunityId","roadmapId","questionnaireId","aiAgentId"]},"UpdatePlansContentDto":{"type":"object","properties":{"planId":{"type":"number"},"contentId":{"type":"number"},"opportunityId":{"type":"number"},"roadmapId":{"type":"number"},"questionnaireId":{"type":"number"},"aiAgentId":{"type":"number"},"isUsed":{"type":"boolean"}},"required":["isUsed"]},"CreateGGForumsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"mediaId":{"type":"number"},"pollIds":{"type":"array","items":{"type":"string"}},"communityId":{"type":"number"},"categoryId":{"type":"number"},"isPinned":{"type":"boolean"},"isApproved":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"category":{"type":"string"},"userId":{"type":"number"},"comment_count":{"type":"number"}},"required":["name","description","article","mediaId","pollIds","communityId","categoryId","isPinned","isApproved","isAnonymous","sector","isPublic","titles","descriptions","articles","userId","comment_count"]},"UpdateGGForumsDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"mediaId":{"type":"number"},"pollIds":{"type":"array","items":{"type":"string"}},"communityId":{"type":"number"},"categoryId":{"type":"number"},"isPinned":{"type":"boolean"},"isApproved":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"sector":{"type":"string"},"isPublic":{"type":"boolean"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"category":{"type":"string"},"userId":{"type":"number"},"comment_count":{"type":"number"}}},"CreateGGForumCommentsDto":{"type":"object","properties":{"forumId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"parentId":{"type":"number"},"userId":{"type":"number"}},"required":["forumId","comment","content","parentId","userId"]},"UpdateGGForumCommentsDto":{"type":"object","properties":{"forumId":{"type":"number"},"comment":{"type":"string"},"content":{"type":"string"},"parentId":{"type":"number"},"userId":{"type":"number"}}},"CreateGGForumVotesDto":{"type":"object","properties":{"forumId":{"type":"number"},"type":{"type":"string","enum":["up","down"]}},"required":["forumId","type"]},"CreateGGContentDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"type":{"type":"string","enum":["video","photo","blog"]},"status":{"type":"string","enum":["draft","published"]},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"link":{"type":"string"},"mediaId":{"type":"number"},"category":{"type":"string"},"viewCount":{"type":"number"}},"required":["title","description","article","titles","descriptions","articles","type","status","defaultLanguageCode","isPublic","isPremium","sector","link","mediaId","viewCount"]},"UpdateGGContentDto":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"article":{"type":"string"},"titles":{"type":"object"},"descriptions":{"type":"object"},"articles":{"type":"object"},"type":{"type":"string","enum":["video","photo","blog"]},"status":{"type":"string","enum":["draft","published"]},"defaultLanguageCode":{"type":"string"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"sector":{"type":"string","enum":["community","business","education","study","work","marketplace","team","creator","event","service","edupark","h2b","personal"]},"link":{"type":"string"},"mediaId":{"type":"number"},"category":{"type":"string"},"viewCount":{"type":"number"}}},"CreateGGContentCommentsDto":{"type":"object","properties":{"contentId":{"type":"number"},"comment":{"type":"string"},"parentId":{"type":"number"},"userId":{"type":"number"}},"required":["contentId","comment","parentId","userId"]},"UpdateGGContentCommentsDto":{"type":"object","properties":{"contentId":{"type":"number"},"comment":{"type":"string"},"parentId":{"type":"number"},"userId":{"type":"number"}}},"CreateGGCompanyDto":{"type":"object","properties":{"name":{"type":"string"},"yearsInBusiness":{"type":"number"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"additionals":{"type":"object","description":"Key-value additional fields"},"description":{"type":"string"},"dateEstablished":{"type":"string","description":"ISO 8601 date string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"mission":{"type":"string"},"aboutUs":{"type":"string"},"servicesAndOperations":{"type":"array","items":{"type":"string"}},"logoId":{"type":"number"},"socialMedia":{"type":"object"},"bgId":{"type":"number"},"category":{"type":"string"}},"required":["name","description","email"]},"UpdateGGCompanyDto":{"type":"object","properties":{"name":{"type":"string"},"yearsInBusiness":{"type":"number"},"stateProvince":{"type":"string"},"city":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"zipcode":{"type":"string"},"additionals":{"type":"object","description":"Key-value additional fields"},"description":{"type":"string"},"dateEstablished":{"type":"string","description":"ISO 8601 date string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"mission":{"type":"string"},"aboutUs":{"type":"string"},"servicesAndOperations":{"type":"array","items":{"type":"string"}},"logoId":{"type":"number"},"socialMedia":{"type":"object"},"bgId":{"type":"number"},"category":{"type":"string"}}},"UpsertOverrideDto":{"type":"object","properties":{"workspaceId":{"type":"number"},"termKey":{"type":"string"},"locale":{"type":"string"},"formKey":{"type":"string"},"customValue":{"type":"string"}},"required":["workspaceId","termKey","locale","formKey","customValue"]},"DeleteOverrideDto":{"type":"object","properties":{"workspaceId":{"type":"number"},"termKey":{"type":"string"},"locale":{"type":"string"},"formKey":{"type":"string"}},"required":["workspaceId","termKey","locale","formKey"]}}},"security":[{"api-key":[]}]}