{"openapi":"3.0.0","paths":{"/api/changelog":{"get":{"operationId":"Changelog_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Changelog"]},"post":{"operationId":"Changelog_create","parameters":[],"responses":{"201":{"description":"Record has been successfully created."},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Changelog"]}},"/api/changelog/{id}":{"put":{"operationId":"Changelog_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record has been successfully edited."},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["Changelog"]},"get":{"operationId":"Changelog_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Changelog"]},"delete":{"operationId":"Changelog_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Changelog"]}},"/api/changelog/count":{"get":{"operationId":"Changelog_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Changelog"]}},"/api/changelog/pagination":{"get":{"operationId":"Changelog_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Changelog"]}},"/api/changelog/{id}/soft":{"delete":{"operationId":"Changelog_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Changelog"]}},"/api/changelog/{id}/recover":{"put":{"operationId":"Changelog_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Changelog"]}},"/api/integration/activepieces/setup":{"post":{"operationId":"ActivepiecesController_1_setupIntegration","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupActivepiecesIntegrationDto"}}}},"responses":{"201":{"description":"Successfully set up ActivePieces integration"}},"security":[{"bearer":[]}],"summary":"Set up ActivePieces integration with API key","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/connection":{"post":{"operationId":"ActivepiecesController_1_upsertConnection","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateActivepiecesIntegrationDto"}}}},"responses":{"201":{"description":"Successfully created or updated ActivePieces connection"}},"security":[{"bearer":[]}],"summary":"Create or update ActivePieces connection","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/connections/{integrationId}":{"get":{"operationId":"ActivepiecesController_1_listConnections","parameters":[{"name":"integrationId","required":true,"in":"path","description":"Integration UUID","schema":{"type":"string"}},{"name":"projectId","required":true,"in":"query","description":"Activepieces project ID","schema":{"example":"project-123","type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Pagination cursor","schema":{"example":"cursor-abc123","type":"string"}},{"name":"scope","required":false,"in":"query","description":"Connection scope","schema":{"example":"PROJECT","type":"string","enum":["PROJECT"]}},{"name":"pieceName","required":false,"in":"query","description":"Filter by piece name","schema":{"example":"slack","type":"string"}},{"name":"displayName","required":false,"in":"query","description":"Filter by display name","schema":{"example":"My Slack Connection","type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter by connection status","schema":{"example":"ACTIVE","type":"string","enum":["ACTIVE","ERROR"]}},{"name":"limit","required":false,"in":"query","description":"Number of results to return","schema":{"minimum":1,"maximum":100,"default":10,"example":10,"type":"number"}}],"responses":{"200":{"description":"Returns list of ActivePieces connections"}},"security":[{"bearer":[]}],"summary":"List ActivePieces connections for a project","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/connections/tenant/{integrationId}/{projectId}":{"get":{"operationId":"ActivepiecesController_1_getTenantConnections","parameters":[{"name":"integrationId","required":true,"in":"path","description":"Integration UUID","schema":{"type":"string"}},{"name":"projectId","required":true,"in":"path","description":"ActivePieces project ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns tenant ActivePieces connections"}},"security":[{"bearer":[]}],"summary":"Get ActivePieces connections for current tenant","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/connection/{integrationId}":{"get":{"operationId":"ActivepiecesController_1_getConnection","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns ActivePieces connection details"}},"security":[{"bearer":[]}],"summary":"Get ActivePieces connection details","tags":["ActivePieces Integration"]},"delete":{"operationId":"ActivepiecesController_1_deleteConnection","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Successfully deleted ActivePieces connection"}},"security":[{"bearer":[]}],"summary":"Delete ActivePieces connection","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/status/{integrationId}":{"get":{"operationId":"ActivepiecesController_1_getIntegrationStatus","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns integration status"}},"security":[{"bearer":[]}],"summary":"Check if ActivePieces integration is enabled","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/integration-tenant/{integrationId}":{"get":{"operationId":"ActivepiecesController_1_getIntegrationTenant","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns integration tenant information"}},"security":[{"bearer":[]}],"summary":"Get ActivePieces integration tenant information","tags":["ActivePieces Integration"]}},"/api/integration/activepieces/mcp":{"get":{"operationId":"ActivepiecesMcpController_1_listMcpServers","parameters":[{"name":"projectId","required":true,"in":"query","description":"ActivePieces project ID","schema":{"example":"project-123","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return","schema":{"minimum":1,"example":10,"type":"number"}},{"name":"cursor","required":false,"in":"query","description":"Pagination cursor","schema":{"example":"cursor-abc123","type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter by MCP server name","schema":{"example":"my-mcp-server","type":"string"}}],"responses":{"200":{"description":"Returns list of MCP servers","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"next":{"type":"string","nullable":true},"previous":{"type":"string","nullable":true}}}}}}},"security":[{"bearer":[]}],"summary":"List ActivePieces MCP servers for a project","tags":["ActivePieces MCP Server Integration"]}},"/api/integration/activepieces/mcp/tenant":{"get":{"operationId":"ActivepiecesMcpController_1_getTenantMcpServers","parameters":[{"name":"projectId","required":true,"in":"query","description":"ActivePieces project ID","schema":{"example":"project-123","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return","schema":{"minimum":1,"example":10,"type":"number"}},{"name":"cursor","required":false,"in":"query","description":"Pagination cursor","schema":{"example":"cursor-abc123","type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter by MCP server name","schema":{"example":"my-mcp-server","type":"string"}}],"responses":{"200":{"description":"Returns tenant MCP servers","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}},"security":[{"bearer":[]}],"summary":"Get ActivePieces MCP servers for current tenant","tags":["ActivePieces MCP Server Integration"]}},"/api/integration/activepieces/mcp/{serverId}":{"get":{"operationId":"ActivepiecesMcpController_1_getMcpServer","parameters":[{"name":"serverId","required":true,"in":"path","description":"MCP server ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns MCP server details","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"Get ActivePieces MCP server by ID","tags":["ActivePieces MCP Server Integration"]},"patch":{"operationId":"ActivepiecesMcpController_1_updateMcpServer","parameters":[{"name":"serverId","required":true,"in":"path","description":"MCP server ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivepiecesMcpUpdateDto"}}}},"responses":{"200":{"description":"Returns updated MCP server","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"Update ActivePieces MCP server","tags":["ActivePieces MCP Server Integration"]}},"/api/integration/activepieces/mcp/{serverId}/rotate":{"post":{"operationId":"ActivepiecesMcpController_1_rotateMcpServerToken","parameters":[{"name":"serverId","required":true,"in":"path","description":"MCP server ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns MCP server (token is not returned)","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"Rotate ActivePieces MCP server token","tags":["ActivePieces MCP Server Integration"]}},"/api/integration-entity-setting/integration/{id}":{"get":{"operationId":"IntegrationEntitySetting_getEntitySettingByIntegration","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationEntitySetting"}}}},"404":{"description":"Record not found"}},"summary":"Get settings by integration.","tags":["IntegrationsEntitySetting"]},"put":{"operationId":"IntegrationEntitySetting_updateIntegrationEntitySettingByIntegration","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Update settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationEntitySetting"}}}},"404":{"description":"Record not found"}},"summary":"Update settings.","tags":["IntegrationsEntitySetting"]}},"/api/integration-tenant/integration":{"get":{"operationId":"IntegrationTenant_getIntegrationByOptions","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"name","required":true,"in":"query","schema":{"type":"string","enum":["Import_Export","Upwork","Hubstaff","Gauzy_AI","Github","Jira","MakeCom","Zapier","ActivePieces","Sim","Plane"]}}],"responses":{"400":{"description":"Invalid request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Retrieve an integration tenant by specified options.","tags":["IntegrationTenant"]}},"/api/integration-tenant":{"get":{"operationId":"IntegrationTenant_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["IntegrationTenant"]},"post":{"operationId":"IntegrationTenant_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["IntegrationTenant"]}},"/api/integration-tenant/{id}":{"get":{"operationId":"IntegrationTenant_findById","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["IntegrationTenant"]},"put":{"operationId":"IntegrationTenant_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIntegrationTenantDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["IntegrationTenant"]},"delete":{"operationId":"IntegrationTenant_delete","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["IntegrationTenant"]}},"/api/integration-tenant/count":{"get":{"operationId":"IntegrationTenant_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["IntegrationTenant"]}},"/api/integration-tenant/pagination":{"get":{"operationId":"IntegrationTenant_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["IntegrationTenant"]}},"/api/integration-tenant/{id}/soft":{"delete":{"operationId":"IntegrationTenant_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["IntegrationTenant"]}},"/api/integration-tenant/{id}/recover":{"put":{"operationId":"IntegrationTenant_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["IntegrationTenant"]}},"/api/roles/options":{"get":{"operationId":"Role_findOneRoleByOptions","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found role","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find role.","tags":["Role"]}},"/api/roles":{"get":{"operationId":"Role_findAll","parameters":[],"responses":{"200":{"description":"Found roles.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find roles.","tags":["Role"]},"post":{"operationId":"Role_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoleDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Role"]}},"/api/roles/{id}":{"put":{"operationId":"Role_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoleDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Role"]},"delete":{"operationId":"Role_delete","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Role"]},"get":{"operationId":"Role_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Role"]}},"/api/roles/import/migrate":{"post":{"operationId":"Role_importRole","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"Role have been successfully imported."},"400":{"description":"Invalid input, The request body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Import role from self hosted to gauzy cloud hosted in bulk","tags":["Role"]}},"/api/roles/count":{"get":{"operationId":"Role_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Role"]}},"/api/roles/pagination":{"get":{"operationId":"Role_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Role"]}},"/api/roles/{id}/soft":{"delete":{"operationId":"Role_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Role"]}},"/api/roles/{id}/recover":{"put":{"operationId":"Role_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Role"]}},"/api/role-permissions/import/migrate":{"post":{"operationId":"RolePermission_importRole","parameters":[],"responses":{"201":{"description":"Role Permissions have been successfully imported."},"400":{"description":"Invalid input, The request body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Import role-permissions from self hosted to gauzy cloud hosted in bulk","tags":["Role"]}},"/api/role-permissions/me":{"get":{"operationId":"RolePermission_findMePermissions","parameters":[],"responses":{"200":{"description":"Found current user permissions"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Permissions not found"}},"security":[{"bearer":[]}],"summary":"Find current user permissions.","tags":["Role"]}},"/api/role-permissions/pagination":{"get":{"operationId":"RolePermission_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Role"]}},"/api/role-permissions":{"get":{"operationId":"RolePermission_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Role"]},"post":{"operationId":"RolePermission_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRolePermissionDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Role"]}},"/api/role-permissions/{id}":{"put":{"operationId":"RolePermission_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRolePermissionDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Role"]},"delete":{"operationId":"RolePermission_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Role"]},"get":{"operationId":"RolePermission_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Role"]}},"/api/role-permissions/count":{"get":{"operationId":"RolePermission_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Role"]}},"/api/role-permissions/{id}/soft":{"delete":{"operationId":"RolePermission_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Role"]}},"/api/role-permissions/{id}/recover":{"put":{"operationId":"RolePermission_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Role"]}},"/api/integration-setting/{id}":{"put":{"operationId":"IntegrationSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIntegrationSettingDTO"}}}},"responses":{"200":{"description":"Update integration setting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSetting"}}}},"404":{"description":"Record not found"}},"summary":"Update integration setting.","tags":["IntegrationSetting"]}},"/api/integration-entity-setting-tied/integration/{id}":{"put":{"operationId":"IntegrationEntitySettingTied_updateIntegrationEntitySettingTiedByIntegration","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Update settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationEntitySettingTied"}}}},"404":{"description":"Record not found"}},"summary":"Update settings.","tags":["IntegrationEntitySettingTied"]}},"/api/tasks/count":{"get":{"operationId":"Task_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Task count retrieved successfully."},"400":{"description":"Invalid input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get the total count of tasks.","tags":["Tasks"]}},"/api/tasks/pagination":{"get":{"operationId":"Task_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"400":{"description":"Invalid input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get tasks by pagination.","tags":["Tasks"]}},"/api/tasks/max-number":{"get":{"operationId":"Task_getMaxTaskNumberByProject","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"projectId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Maximum task number retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get the maximum task number by project.","tags":["Tasks"]}},"/api/tasks/me":{"get":{"operationId":"Task_findMyTasks","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks assigned to the current user.","tags":["Tasks"]}},"/api/tasks/employee":{"get":{"operationId":"Task_findEmployeeTask","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks assigned to a specific employee.","tags":["Tasks"]}},"/api/tasks/team":{"get":{"operationId":"Task_findTeamTasks","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks assigned to the current user's team.","tags":["Tasks"]}},"/api/tasks/module":{"get":{"operationId":"Task_findModuleTasks","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks by module.","tags":["Tasks"]}},"/api/tasks/filter-by-date":{"get":{"operationId":"Task_getTasksByDateFilters","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"startDateFrom","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"startDateTo","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"dueDateFrom","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"dueDateTo","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks by start and due dates filters.","tags":["Tasks"]}},"/api/tasks/view/{id}":{"get":{"operationId":"Task_findTasksByViewQuery","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks by view query filter.","tags":["Tasks"]}},"/api/tasks/{id}":{"get":{"operationId":"Task_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"includeRootEpic","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Task retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Task not found."}},"security":[{"bearer":[]}],"summary":"Get task by ID.","tags":["Tasks"]},"put":{"operationId":"Task_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskDTO"}}}},"responses":{"200":{"description":"The task has been successfully updated."},"400":{"description":"Invalid input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Task not found."}},"security":[{"bearer":[]}],"summary":"Update an existing task.","tags":["Tasks"]},"delete":{"operationId":"Task_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The task has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Task not found."}},"security":[{"bearer":[]}],"summary":"Delete a task by ID.","tags":["Tasks"]}},"/api/tasks/employee/{id}":{"get":{"operationId":"Task_getAllTasksByEmployee","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No records found."}},"security":[{"bearer":[]}],"summary":"Get tasks assigned to a specific employee.","tags":["Tasks"]}},"/api/tasks":{"get":{"operationId":"Task_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"filters","required":false,"in":"query","schema":{"$ref":"#/components/schemas/TaskAdvancedFilterDTO"}}],"responses":{"200":{"description":"Tasks retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No tasks found."}},"security":[{"bearer":[]}],"summary":"Get all tasks.","tags":["Tasks"]},"post":{"operationId":"Task_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskDTO"}}}},"responses":{"201":{"description":"The task has been successfully created."},"400":{"description":"Invalid input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new task.","tags":["Tasks"]}},"/api/tasks/employee/{employeeId}":{"delete":{"operationId":"Task_deleteEmployeeFromTasks","parameters":[{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}},{"name":"organizationTeamId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Tasks"]}},"/api/tasks/{id}/soft":{"delete":{"operationId":"Task_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Tasks"]}},"/api/tasks/{id}/recover":{"put":{"operationId":"Task_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Tasks"]}},"/api/user/me":{"get":{"operationId":"User_findMe","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"includeEmployee","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"includeOrganization","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Found current user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Find current user.","tags":["User"]}},"/api/user/email/{email}":{"get":{"operationId":"User_findByEmail","parameters":[{"name":"email","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found user by email address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Find user by email address.","tags":["User"]}},"/api/user/preferred-language":{"put":{"operationId":"User_updatePreferredLanguage","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePreferredLanguageDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"tags":["User"]}},"/api/user/preferred-layout":{"put":{"operationId":"User_updatePreferredComponentLayout","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePreferredComponentLayoutDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"tags":["User"]}},"/api/user/count":{"get":{"operationId":"User_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"tags":["User"]}},"/api/user/pagination":{"get":{"operationId":"User_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"tags":["User"]}},"/api/user":{"get":{"operationId":"User_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Find all users.","tags":["User"]},"post":{"operationId":"User_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Create new record","tags":["User"]}},"/api/user/{id}":{"get":{"operationId":"User_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Find User by id.","tags":["User"]},"put":{"operationId":"User_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]},{"bearer":[]}],"tags":["User"]},"delete":{"operationId":"User_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Delete record","tags":["User"]}},"/api/user/reset":{"delete":{"operationId":"User_factoryReset","parameters":[],"responses":{"200":{"description":"Deleted all user data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Delete all user data.","tags":["User"]}},"/api/user/{id}/soft":{"delete":{"operationId":"User_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["User"]}},"/api/user/{id}/recover":{"put":{"operationId":"User_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["User"]}},"/api/employee/working":{"get":{"operationId":"Employee_findAllWorkingEmployees","parameters":[],"responses":{"200":{"description":"Found working employees","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employee"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No working employees found"}},"security":[{"bearer":[]}],"summary":"Find all working employees.","tags":["Employee"]}},"/api/employee/working/count":{"get":{"operationId":"Employee_findAllWorkingEmployeesCount","parameters":[],"responses":{"200":{"description":"Found the total count of working employees"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Working employees count not found"}},"security":[{"bearer":[]}],"summary":"Get the total count of all working employees.","tags":["Employee"]}},"/api/employee/bulk":{"post":{"operationId":"Employee_createBulk","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeBulkInputDTO"}}}},"responses":{"201":{"description":"Records have been successfully created."},"400":{"description":"Invalid input. The response body may contain clues about what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create multiple employee records in bulk","tags":["Employee"]}},"/api/employee/count":{"get":{"operationId":"Employee_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the employee count."},"400":{"description":"Invalid query parameters. Please check your input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"An error occurred while retrieving the employee count."}},"security":[{"bearer":[]}],"summary":"Get employee count in the same tenant","tags":["Employee"]}},"/api/employee/pagination":{"get":{"operationId":"Employee_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved paginated employees."},"400":{"description":"Invalid query parameters. Please check your input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"An error occurred while retrieving paginated employees."}},"security":[{"bearer":[]}],"summary":"Get employees by pagination in the same tenant","tags":["Employee"]}},"/api/employee/members":{"get":{"operationId":"Employee_getMembers","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationTeamId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationProjectId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Members of the organization"},"400":{"description":"Invalid query parameters. Please check your input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No members found"}},"security":[{"bearer":[]}],"summary":"Get members of the organization","tags":["Employee"]}},"/api/employee":{"get":{"operationId":"Employee_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully found employees in the tenant."},"400":{"description":"Invalid query parameters. Please check your input."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No employees found for the given criteria."}},"security":[{"bearer":[]}],"summary":"Find all employees in the same tenant.","tags":["Employee"]},"post":{"operationId":"Employee_create","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeDTO"}}}},"responses":{"201":{"description":"Employee record created successfully."},"400":{"description":"Invalid input. Check the request body for potential issues."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new employee in the same tenant","tags":["Employee"]}},"/api/employee/{id}":{"get":{"operationId":"Employee_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Employee record found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employee"}}}},"400":{"description":"Invalid input. Check your query parameters."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Employee record not found."}},"security":[{"bearer":[]}],"summary":"Find employee by ID within the same tenant.","tags":["Employee"]},"put":{"operationId":"Employee_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeDTO"}}}},"responses":{"202":{"description":"The employee record has been successfully updated."},"400":{"description":"Invalid input. Check the request body for errors."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing employee by ID","tags":["Employee"]},"delete":{"operationId":"Employee_delete","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete record","tags":["Employee"]}},"/api/employee/{id}/profile":{"put":{"operationId":"Employee_updateProfile","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileDTO"}}}},"responses":{"200":{"description":"Profile has been successfully updated."},"400":{"description":"Invalid input. Check the response body for more details."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update Employee Own Profile","tags":["Employee"]}},"/api/employee/{id}/soft":{"delete":{"operationId":"Employee_softRemove","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully soft-deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Employee record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete employee record","tags":["Employee"]}},"/api/employee/{id}/recover":{"put":{"operationId":"Employee_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenantOrganizationBaseDTO"}}}},"responses":{"200":{"description":"The record has been successfully restored"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Employee record not found"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted employee record","tags":["Employee"]}},"/api/smtp/setting":{"get":{"operationId":"CustomSmtp_getSmtpSetting","parameters":[{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found tenant setting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomSmtp"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find smtp setting for tenant.","tags":["CustomSmtp"]}},"/api/smtp/validate":{"post":{"operationId":"CustomSmtp_validateSmtpSetting","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateCustomSmtpDTO"}}}},"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Validate new record","tags":["CustomSmtp"]}},"/api/smtp":{"post":{"operationId":"CustomSmtp_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomSmtpDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["CustomSmtp"]},"get":{"operationId":"CustomSmtp_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["CustomSmtp"]}},"/api/smtp/{id}":{"put":{"operationId":"CustomSmtp_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCustomSmtpDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["CustomSmtp"]},"get":{"operationId":"CustomSmtp_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CustomSmtp"]},"delete":{"operationId":"CustomSmtp_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CustomSmtp"]}},"/api/smtp/count":{"get":{"operationId":"CustomSmtp_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CustomSmtp"]}},"/api/smtp/pagination":{"get":{"operationId":"CustomSmtp_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CustomSmtp"]}},"/api/smtp/{id}/soft":{"delete":{"operationId":"CustomSmtp_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CustomSmtp"]}},"/api/smtp/{id}/recover":{"put":{"operationId":"CustomSmtp_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CustomSmtp"]}},"/api/email-template/count":{"get":{"operationId":"EmailTemplate_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmailTemplate"]}},"/api/email-template/pagination":{"get":{"operationId":"EmailTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmailTemplate"]}},"/api/email-template/template":{"get":{"operationId":"EmailTemplate_findEmailTemplate","parameters":[],"responses":{"200":{"description":"Found email template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find email template by name and language code for organization","tags":["EmailTemplate"]}},"/api/email-template/template/preview":{"post":{"operationId":"EmailTemplate_generatePreview","parameters":[],"responses":{"200":{"description":"text converted to html","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Converts mjml or handlebar text to html for email preview","tags":["EmailTemplate"]}},"/api/email-template/template/save":{"post":{"operationId":"EmailTemplate_saveEmailTemplate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveEmailTemplateDTO"}}}},"responses":{"200":{"description":"mjml or handlebar text converted to html","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Convert mjml or handlebar text to html","tags":["EmailTemplate"]}},"/api/email-template":{"get":{"operationId":"EmailTemplate_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmailTemplate"]},"post":{"operationId":"EmailTemplate_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EmailTemplate"]}},"/api/email-template/{id}":{"get":{"operationId":"EmailTemplate_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"template found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Gets template by id","tags":["EmailTemplate"]},"put":{"operationId":"EmailTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"template updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Updates template","tags":["EmailTemplate"]},"delete":{"operationId":"EmailTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Email template deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Email template not found"}},"security":[{"bearer":[]}],"summary":"Delete email template","tags":["EmailTemplate"]}},"/api/email-template/{id}/soft":{"delete":{"operationId":"EmailTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmailTemplate"]}},"/api/email-template/{id}/recover":{"put":{"operationId":"EmailTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmailTemplate"]}},"/api/organization/count":{"get":{"operationId":"Organization_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Organization"]}},"/api/organization/pagination":{"get":{"operationId":"Organization_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved paginated list of organizations.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No organizations found."}},"security":[{"bearer":[]}],"summary":"Retrieve paginated list of organizations within the tenant.","tags":["Organization"]}},"/api/organization":{"get":{"operationId":"Organization_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved organizations.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No organizations found."}},"security":[{"bearer":[]}],"summary":"Find all organizations within the tenant.","tags":["Organization"]},"post":{"operationId":"Organization_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationDTO"}}}},"responses":{"201":{"description":"The Organization has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new Organization for a specific tenant","tags":["Organization"]}},"/api/organization/{id}":{"get":{"operationId":"Organization_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"id","required":true,"in":"path","description":"The unique identifier (UUID) of the organization.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No organization found with the provided ID."}},"security":[{"bearer":[]}],"summary":"Find Organization by ID within the tenant.","tags":["Organization"]},"put":{"operationId":"Organization_update","parameters":[{"name":"id","required":true,"in":"path","description":"The unique identifier (UUID) of the organization.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationDTO"}}}},"responses":{"200":{"description":"The Organization has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No organization found with the provided ID."}},"security":[{"bearer":[]}],"summary":"Update an existing Organization","tags":["Organization"]},"delete":{"operationId":"Organization_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Organization"]}},"/api/organization/{id}/soft":{"delete":{"operationId":"Organization_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Organization"]}},"/api/organization/{id}/recover":{"put":{"operationId":"Organization_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Organization"]}},"/api/user-organization":{"get":{"operationId":"UserOrganization_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found UserOrganizations"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all UserOrganizations.","tags":["UserOrganization"]},"post":{"operationId":"UserOrganization_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["UserOrganization"]}},"/api/user-organization/{id}":{"delete":{"operationId":"UserOrganization_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The user has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete user from organization","tags":["UserOrganization"]},"get":{"operationId":"UserOrganization_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["UserOrganization"]},"put":{"operationId":"UserOrganization_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["UserOrganization"]}},"/api/user-organization/{id}/count":{"get":{"operationId":"UserOrganization_findOrganizationCount","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Count of Organizations given user belongs to","content":{"application/json":{"schema":{"type":"number"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find number of Organizations user belongs to","tags":["UserOrganization"]}},"/api/user-organization/count":{"get":{"operationId":"UserOrganization_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["UserOrganization"]}},"/api/user-organization/pagination":{"get":{"operationId":"UserOrganization_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["UserOrganization"]}},"/api/user-organization/{id}/soft":{"delete":{"operationId":"UserOrganization_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["UserOrganization"]}},"/api/user-organization/{id}/recover":{"put":{"operationId":"UserOrganization_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["UserOrganization"]}},"/api/tenant":{"get":{"operationId":"Tenant_findById","parameters":[],"responses":{"200":{"description":"Found tenant record"},"404":{"description":"Tenant record not found"}},"summary":"Find by id","tags":["Tenant"]},"post":{"operationId":"Tenant_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTenantDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"security":[{"role":["SUPER_ADMIN"]}],"summary":"Create new tenant. The user who creates the tenant is given the super admin role.","tags":["Tenant"]},"put":{"operationId":"Tenant_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTenantDTO"}}}},"responses":{"202":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"security":[{"role":["SUPER_ADMIN"]}],"summary":"Update existing tenant. The user who updates the tenant is given the super admin role.","tags":["Tenant"]},"delete":{"operationId":"Tenant_delete","parameters":[],"responses":{"200":{"description":"The tenant has been successfully deleted"},"404":{"description":"Tenant record not found"}},"security":[{"role":["SUPER_ADMIN"]}],"summary":"Delete tenant","tags":["Tenant"]}},"/api/auth/authenticated":{"get":{"operationId":"Auth_authenticated","parameters":[],"responses":{"200":{"description":"The success server response"},"400":{"description":"Bad request response"}},"summary":"Check if user is authenticated","tags":["Auth"]}},"/api/auth/role":{"get":{"operationId":"Auth_hasRole","parameters":[{"name":"roles","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""},"400":{"description":""}},"summary":"Check if the user has a specific role","tags":["Auth"]}},"/api/auth/permissions":{"get":{"operationId":"Auth_hasPermissions","parameters":[{"name":"permissions","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""},"400":{"description":""}},"summary":"Check if the user has specific permissions","tags":["Auth"]}},"/api/auth/register":{"post":{"operationId":"Auth_register","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterUserDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong"}},"summary":"Register a new user","tags":["Auth"]}},"/api/auth/login":{"post":{"operationId":"Auth_login","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLoginDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signin.email.password":{"post":{"operationId":"Auth_signinWorkspacesByPassword","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSigninWorkspaceDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signup.provider.social":{"post":{"operationId":"Auth_socialSignupCheckIfUserExistsBySocial","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindUserBySocialLoginDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signin.email.social":{"post":{"operationId":"Auth_signinWorkspacesBySocial","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialLoginBodyRequestDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signup.link.account":{"post":{"operationId":"Auth_linkUserToSocialAccount","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialLoginBodyRequestDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signin.email":{"post":{"operationId":"Auth_sendWorkspaceSigninCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEmailDTO"}}}},"responses":{"200":{"description":""}},"tags":["Auth"]}},"/api/auth/signin.email/confirm":{"post":{"operationId":"Auth_signinWorkspacesByMagicCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSigninEmailVerifyDTO"}}}},"responses":{"201":{"description":""}},"tags":["Auth"]}},"/api/auth/signin.workspace":{"post":{"operationId":"Auth_signinWorkspaceByToken","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSigninDTO"}}}},"responses":{"201":{"description":""}},"tags":["Auth"]}},"/api/auth/reset-password":{"post":{"operationId":"Auth_resetPassword","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequestDTO"}}}},"responses":{"201":{"description":""}},"tags":["Auth"]}},"/api/auth/request-password":{"post":{"operationId":"Auth_requestPassword","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequestDTO"}}}},"responses":{"201":{"description":""}},"tags":["Auth"]}},"/api/auth/logout":{"post":{"description":"Revokes the provided refresh token. If no token is supplied, the token from the current request context is used. Individual revocation failures are logged but do not cause the request to fail.","operationId":"Auth_logout","parameters":[],"requestBody":{"required":false,"description":"Optional token pair to revoke.","content":{"application/json":{"schema":{"type":"object","properties":{"refresh_token":{"type":"string","description":"Refresh token to revoke."}}}}}},"responses":{"200":{"description":"Successfully logged out. The provided token has been revoked."},"400":{"description":"Request body is malformed or contains unrecognized fields."}},"summary":"Logout user","tags":["Auth"]}},"/api/auth/refresh-token":{"post":{"operationId":"Auth_refreshToken","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenDto"}}}},"responses":{"200":{"description":""}},"summary":"Refresh token","tags":["Auth"]}},"/api/auth/workspaces":{"get":{"description":"Retrieve all workspaces (tenants) that the authenticated user has access to. Optionally include team information for each workspace.","operationId":"Auth_getUserWorkspaces","parameters":[{"name":"includeTeams","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved user workspaces."},"401":{"description":"User not authenticated or no workspaces found."}},"summary":"Get user workspaces","tags":["Auth"]}},"/api/auth/switch-workspace":{"post":{"description":"Switch the authenticated user to a different workspace (tenant). Returns new authentication tokens for the target workspace.","operationId":"Auth_switchWorkspace","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchWorkspaceDTO"}}}},"responses":{"200":{"description":"Successfully switched workspace. Returns new authentication tokens."},"400":{"description":"Invalid workspace switch request. Check that tenantId is a valid UUID."},"401":{"description":"User not authenticated or does not have access to the workspace."}},"summary":"Switch user workspace","tags":["Auth"]}},"/api/auth/switch-organization":{"post":{"operationId":"Auth_switchOrganization","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchOrganizationDTO"}}}},"responses":{"200":{"description":"Successfully switched organization. Returns new authentication tokens."},"400":{"description":"Invalid organization switch request. Check that organizationId is a valid UUID."},"401":{"description":"User not authenticated or does not have access to the organization."}},"summary":"Switch to a different organization within the current workspace","tags":["Auth"]}},"/api/auth/email/verify":{"post":{"operationId":"EmailVerification_confirmEmail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmEmailByTokenDTO"}}}},"responses":{"200":{"description":""}},"summary":"Email verification by token","tags":["EmailVerification"]}},"/api/auth/email/verify/code":{"post":{"operationId":"EmailVerification_confirmEmailByCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmEmailByCodeDTO"}}}},"responses":{"200":{"description":""}},"summary":"Email verification by code","tags":["EmailVerification"]}},"/api/auth/email/verify/resend-link":{"post":{"operationId":"EmailVerification_resendConfirmationLink","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppIntegrationConfigDTO"}}}},"responses":{"202":{"description":""}},"summary":"Resend email verification link","tags":["EmailVerification"]}},"/api/auth/auth0":{"get":{"operationId":"Auth0_auth0Login","parameters":[],"responses":{"200":{"description":""}},"tags":["Auth0"]}},"/api/auth/auth0/callback":{"get":{"operationId":"Auth0_auth0LoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Auth0"]}},"/api/auth/facebook":{"get":{"operationId":"Facebook_facebookLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Facebook"]}},"/api/auth/facebook/callback":{"get":{"operationId":"Facebook_facebookLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Facebook"]}},"/api/auth/github":{"get":{"operationId":"Github_githubLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Github"]}},"/api/auth/github/callback":{"get":{"operationId":"Github_githubLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Github"]}},"/api/auth/google":{"get":{"operationId":"Google_googleLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Google"]}},"/api/auth/google/callback":{"get":{"operationId":"Google_googleLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Google"]}},"/api/auth/linkedin":{"get":{"operationId":"Linkedin_linkedinLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Linkedin"]}},"/api/auth/linkedin/callback":{"get":{"operationId":"Linkedin_linkedinLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Linkedin"]}},"/api/auth/twitter":{"get":{"operationId":"Twitter_twitterLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Twitter"]}},"/api/auth/twitter/callback":{"get":{"operationId":"Twitter_twitterLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Twitter"]}},"/api/auth/microsoft":{"get":{"operationId":"Microsoft_microsoftLogin","parameters":[],"responses":{"200":{"description":""}},"tags":["Microsoft"]}},"/api/auth/microsoft/callback":{"get":{"operationId":"Microsoft_microsoftLoginCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Microsoft"]}},"/api/integration/ever-gauzy/oauth/authorize":{"get":{"operationId":"OAuthAppController_1_authorize","parameters":[],"responses":{"200":{"description":""}},"tags":["OAuthAppController_1"]},"post":{"operationId":"OAuthAppController_1_approveAuthorize","parameters":[],"responses":{"200":{"description":""}},"tags":["OAuthAppController_1"]}},"/api/integration/ever-gauzy/oauth/authorize/request/{requestId}":{"get":{"operationId":"OAuthAppController_1_getAuthorizeRequest","parameters":[{"name":"requestId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["OAuthAppController_1"]}},"/api/integration/ever-gauzy/oauth/token":{"post":{"operationId":"OAuthAppController_1_token","parameters":[],"responses":{"200":{"description":""}},"tags":["OAuthAppController_1"]}},"/api/organization-team/me":{"get":{"operationId":"OrganizationTeam_findMyTeams","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found Teams","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationTeam"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization Teams.","tags":["OrganizationTeam"]}},"/api/organization-team/count":{"get":{"operationId":"OrganizationTeam_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationTeam"]}},"/api/organization-team/pagination":{"get":{"operationId":"OrganizationTeam_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationTeam"]}},"/api/organization-team":{"get":{"operationId":"OrganizationTeam_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found Teams","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationTeam"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization Teams.","tags":["OrganizationTeam"]},"post":{"operationId":"OrganizationTeam_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationTeamDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationTeam"]}},"/api/organization-team/{id}":{"get":{"operationId":"OrganizationTeam_findById","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"withLastWorkedTask","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationTeam"]},"put":{"operationId":"OrganizationTeam_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationTeamDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an organization Team","tags":["OrganizationTeam"]},"delete":{"operationId":"OrganizationTeam_delete","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete organization team","tags":["OrganizationTeam"]}},"/api/organization-team/teams/{userId}":{"delete":{"operationId":"OrganizationTeam_existTeamsAsMember","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationTeam"]}},"/api/organization-team/{id}/soft":{"delete":{"operationId":"OrganizationTeam_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationTeam"]}},"/api/organization-team/{id}/recover":{"put":{"operationId":"OrganizationTeam_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationTeam"]}},"/api/oauth/clients":{"post":{"operationId":"OAuthClient_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOAuthClientDTO"}}}},"responses":{"201":{"description":"Client created. The response includes the plaintext clientSecret exactly once — store it immediately."},"400":{"description":"Invalid input"}},"summary":"Register a new OAuth client (third-party app)","tags":["OAuthClient"]},"get":{"operationId":"OAuthClient_findAll","parameters":[{"name":"skip","required":true,"in":"query","schema":{"type":"string"}},{"name":"take","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List OAuth clients for the current tenant","tags":["OAuthClient"]}},"/api/oauth/clients/{id}":{"get":{"operationId":"OAuthClient_findOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"404":{"description":""}},"summary":"Get an OAuth client by id","tags":["OAuthClient"]},"patch":{"operationId":"OAuthClient_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOAuthClientDTO"}}}},"responses":{"200":{"description":""}},"summary":"Update an OAuth client","tags":["OAuthClient"]},"delete":{"operationId":"OAuthClient_remove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Revoke (soft-delete) an OAuth client","tags":["OAuthClient"]}},"/api/oauth/clients/{id}/rotate-secret":{"post":{"operationId":"OAuthClient_rotateSecret","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Rotate the client secret (returns plaintext once)","tags":["OAuthClient"]}},"/api/email":{"get":{"operationId":"EmailHistory_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found emails","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailHistory"}}}},"404":{"description":"No records found"},"500":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Find all sent emails under specific tenant.","tags":["Email"]}},"/api/email/{id}":{"put":{"operationId":"EmailHistory_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailHistoryDTO"}}}},"responses":{"202":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong"},"404":{"description":"Record not found"}},"summary":"Update an existing record","tags":["Email"]}},"/api/email/resend/{id}":{"post":{"operationId":"EmailHistory_resendInvite","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendEmailHistoryDTO"}}}},"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong."}},"summary":"Resend Email.","tags":["Email"]}},"/api/contact":{"get":{"operationId":"Contact_findAll","parameters":[],"responses":{"200":{"description":"Found contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contact"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all contacts.","tags":["Contact"]},"post":{"operationId":"Contact_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Contact"]}},"/api/contact/count":{"get":{"operationId":"Contact_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Contact"]}},"/api/contact/pagination":{"get":{"operationId":"Contact_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Contact"]}},"/api/contact/{id}":{"get":{"operationId":"Contact_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Contact"]},"put":{"operationId":"Contact_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["Contact"]},"delete":{"operationId":"Contact_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Contact"]}},"/api/contact/{id}/soft":{"delete":{"operationId":"Contact_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Contact"]}},"/api/contact/{id}/recover":{"put":{"operationId":"Contact_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Contact"]}},"/api/organization-team-employee/{id}":{"put":{"operationId":"OrganizationTeamEmployee_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamMemberDTO"}}}},"responses":{"200":{"description":""}},"tags":["OrganizationTeamEmployee"]},"delete":{"operationId":"OrganizationTeamEmployee_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"organizationTeamId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"404":{"description":"Record not found"}},"summary":"Delete an organization team member record","tags":["OrganizationTeamEmployee"]}},"/api/organization-team-employee/{id}/active-task":{"put":{"operationId":"OrganizationTeamEmployee_updateActiveTask","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationTeamActiveTaskDTO"}}}},"responses":{"200":{"description":""}},"tags":["OrganizationTeamEmployee"]}},"/api/timesheet/timer/status":{"get":{"operationId":"Timer_getTimerStatus","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"employeeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"source","required":false,"in":"query","schema":{"default":"BROWSER","type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""}},"tags":["Timer Tracker"]}},"/api/timesheet/timer/status/worked":{"get":{"operationId":"Timer_getTimerWorkedStatus","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"employeeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"source","required":false,"in":"query","schema":{"default":"BROWSER","type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""}},"tags":["Timer Tracker"]}},"/api/timesheet/timer/toggle":{"post":{"operationId":"Timer_toggleTimer","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartTimerDTO"}}}},"responses":{"200":{"description":"The timer has been successfully On/Off."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Toggle timer","tags":["Timer Tracker"]}},"/api/timesheet/timer/start":{"post":{"operationId":"Timer_startTimer","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartTimerDTO"}}}},"responses":{"200":{"description":"The timer has been successfully On."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Start timer","tags":["Timer Tracker"]}},"/api/timesheet/timer/stop":{"post":{"operationId":"Timer_stopTimer","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopTimerDTO"}}}},"responses":{"200":{"description":"The timer has been successfully Off."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Stop timer","tags":["Timer Tracker"]}},"/api/timesheet/time-log/conflict":{"get":{"operationId":"TimeLog_getConflict","parameters":[],"responses":{"200":{"description":"Successfully retrieved conflicting timer logs"},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Timer Logs Conflict","tags":["TimeLog"]}},"/api/timesheet/time-log/report/daily":{"get":{"operationId":"TimeLog_getDailyReport","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the daily report"},"404":{"description":"No records found for the provided options"}},"summary":"Find Timer Log by id","tags":["TimeLog"]}},"/api/timesheet/time-log/report/daily-chart":{"get":{"operationId":"TimeLog_getDailyReportChartData","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the chart data for the daily report"},"404":{"description":"No records found for the provided options"}},"summary":"Find Timer Log by id","tags":["TimeLog"]}},"/api/timesheet/time-log/report/owed-report":{"get":{"operationId":"TimeLog_getOwedAmountReport","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the report data for the owed amount"},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Owed Amount Report","tags":["TimeLog"]}},"/api/timesheet/time-log/report/owed-charts":{"get":{"operationId":"TimeLog_getOwedAmountReportChartData","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the chart data for the owed amount report"},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Owed Amount Report Chart Data","tags":["TimeLog"]}},"/api/timesheet/time-log/report/weekly":{"get":{"operationId":"TimeLog_getWeeklyReport","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the weekly report for timer logs"},"404":{"description":"No records found for the specified options"}},"summary":"Get Weekly Report","tags":["TimeLog"]}},"/api/timesheet/time-log/time-limit":{"get":{"operationId":"TimeLog_getTimeLimitReport","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"duration","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the time limit report for timer logs"},"404":{"description":"No records found for the specified options"}},"summary":"Get Time Limit Report","tags":["TimeLog"]}},"/api/timesheet/time-log/project-budget-limit":{"get":{"operationId":"TimeLog_getProjectBudgetLimit","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the project budget limit."},"404":{"description":"Project budget limit not found."}},"summary":"Get Project Budget Limit","tags":["TimeLog"]}},"/api/timesheet/time-log/client-budget-limit":{"get":{"operationId":"TimeLog_clientBudgetLimit","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved the client budget limit."},"404":{"description":"Client budget limit not found."}},"summary":"Get Client Budget Limit","tags":["TimeLog"]}},"/api/timesheet/time-log":{"get":{"operationId":"TimeLog_getLogs","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timesheetId","required":false,"in":"query","schema":{"type":"string"}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}},{"name":"isEdited","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved timer logs"},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Timer Logs","tags":["TimeLog"]},"post":{"operationId":"TimeLog_addManualTime","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateManualTimeLogDTO"}}}},"responses":{"200":{"description":"The timer has been successfully On/Off."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Add manual time","tags":["TimeLog"]},"delete":{"operationId":"TimeLog_deleteTimeLog","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"logIds","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"The time log has been successfully deleted."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Delete time log","tags":["TimeLog"]}},"/api/timesheet/time-log/{id}":{"get":{"operationId":"TimeLog_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["TimeLog"]},"put":{"operationId":"TimeLog_updateManualTime","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateManualTimeLogDTO"}}}},"responses":{"200":{"description":"The timer has been successfully On/Off."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Update time log","tags":["TimeLog"]}},"/api/organization-projects/employee/{employeeId}":{"get":{"operationId":"OrganizationProject_findProjectsByEmployee","parameters":[{"name":"employeeId","required":true,"in":"path","description":"UUID of the employee","schema":{"type":"string"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"options","required":false,"in":"query","description":"Filtering options for tenant organization","schema":{"$ref":"#/components/schemas/TenantOrganizationBaseDTO"}}],"responses":{"200":{"description":"Found projects","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization projects by Employee.","tags":["OrganizationProject"]}},"/api/organization-projects/employee":{"put":{"operationId":"OrganizationProject_updateProjectByEmployee","parameters":[],"requestBody":{"required":true,"description":"Payload for updating organization project by employee","content":{"application/json":{"schema":{"type":"string"}}}},"responses":{"200":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update organization project by employee","tags":["OrganizationProject"]}},"/api/organization-projects/task-view/{id}":{"put":{"operationId":"OrganizationProject_updateTaskViewMode","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the organization project","schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Payload for updating the task view mode","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskModeDTO"}}}},"responses":{"200":{"description":"The record has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProject"}}}},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update organization project task view mode","tags":["OrganizationProject"]}},"/api/organization-projects/setting/{id}":{"put":{"operationId":"OrganizationProject_updateProjectSetting","parameters":[{"name":"id","required":true,"in":"path","description":"The ID of the organization project to update settings for","schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Updated project settings payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectSettingDTO"}}}},"responses":{"200":{"description":"Organization project settings updated successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update organization project settings by ID","tags":["OrganizationProject"]}},"/api/organization-projects/synced":{"get":{"operationId":"OrganizationProject_findSyncedProjects","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Paginated list of synced organization projects","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find synced projects with pagination and optional search.","tags":["OrganizationProject"]}},"/api/organization-projects/count":{"get":{"operationId":"OrganizationProject_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"options","required":false,"in":"query","description":"Query options for filtering the count","schema":{"$ref":"#/components/schemas/CountQueryDTO"}}],"responses":{"200":{"description":"Found count","content":{"application/json":{"schema":{"type":"number"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find organization projects count.","tags":["OrganizationProject"]}},"/api/organization-projects/pagination":{"get":{"operationId":"OrganizationProject_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found organization project in the tenant","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization project in the same tenant using pagination.","tags":["OrganizationProject"]}},"/api/organization-projects":{"get":{"operationId":"OrganizationProject_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found projects","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization projects.","tags":["OrganizationProject"]},"post":{"operationId":"OrganizationProject_create","parameters":[],"requestBody":{"required":true,"description":"Payload for creating the organization project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationProjectDTO"}}}},"responses":{"201":{"description":"The organization project has been successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProject"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new organization project","tags":["OrganizationProject"]}},"/api/organization-projects/{id}":{"get":{"operationId":"OrganizationProject_findById","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"id","required":true,"in":"path","description":"UUID of the organization project","schema":{"type":"string"}},{"name":"options","required":false,"in":"query","description":"Relations query options","schema":{"$ref":"#/components/schemas/RelationsQueryDTO"}}],"responses":{"200":{"description":"Returns the organization project with the specified ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProject"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Organization project not found"}},"security":[{"bearer":[]}],"summary":"Find organization project by ID","tags":["OrganizationProject"]},"put":{"operationId":"OrganizationProject_update","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the organization project","schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Payload for updating the organization project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationProjectDTO"}}}},"responses":{"202":{"description":"The organization project has been successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProject"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Organization project not found"}},"security":[{"bearer":[]}],"summary":"Update organization project by ID","tags":["OrganizationProject"]},"delete":{"operationId":"OrganizationProject_delete","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the organization project","schema":{"type":"string"}}],"responses":{"204":{"description":"The organization project has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Organization project not found"}},"security":[{"bearer":[]}],"summary":"Delete organization project by ID","tags":["OrganizationProject"]}},"/api/organization-projects/{projectId}/is-manager/{employeeId}":{"get":{"operationId":"OrganizationProject_isProjectManager","parameters":[{"name":"projectId","required":true,"in":"path","description":"UUID of the organization project","schema":{"type":"string"}},{"name":"employeeId","required":true,"in":"path","description":"UUID of the employee","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns true if the employee is a manager of the project, otherwise false.","content":{"application/json":{"schema":{"type":"boolean"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Check if an employee is a manager of a specific project.","tags":["OrganizationProject"]}},"/api/organization-projects/{id}/soft":{"delete":{"operationId":"OrganizationProject_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationProject"]}},"/api/organization-projects/{id}/recover":{"put":{"operationId":"OrganizationProject_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationProject"]}},"/api/employee-recent-visit":{"get":{"operationId":"EmployeeRecentVisit_getEmployeeRecentVisits","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"isActive","required":false,"in":"query","schema":{"default":true,"type":"boolean"}},{"name":"isArchived","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"employeeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"entity","required":false,"in":"query","schema":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]}},{"name":"entityId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["EmployeeRecentVisit"]}},"/api/organization-contact/count":{"get":{"operationId":"OrganizationContact_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization contact count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all organization contact counts in the same tenant","tags":["OrganizationContact"]}},"/api/organization-contact/pagination":{"get":{"operationId":"OrganizationContact_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found organization contacts in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationContact"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization contacts in the same tenant using pagination.","tags":["OrganizationContact"]}},"/api/organization-contact/employee/{employeeId}":{"get":{"operationId":"OrganizationContact_findByEmployee","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization contacts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationContact"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization contacts by Employee.","tags":["OrganizationContact"]}},"/api/organization-contact/employee":{"put":{"operationId":"OrganizationContact_updateByEmployee","parameters":[],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationContact"]}},"/api/organization-contact":{"get":{"operationId":"OrganizationContact_findAll","parameters":[],"responses":{"200":{"description":"Found contacts recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationContact"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization contacts.","tags":["OrganizationContact"]},"post":{"operationId":"OrganizationContact_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationContactDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationContact"]}},"/api/organization-contact/{id}":{"get":{"operationId":"OrganizationContact_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization contacts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationContact"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Get organization contacts by id.","tags":["OrganizationContact"]},"put":{"operationId":"OrganizationContact_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationContactDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationContact"]},"delete":{"operationId":"OrganizationContact_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationContact"]}},"/api/organization-contact/{id}/soft":{"delete":{"operationId":"OrganizationContact_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationContact"]}},"/api/organization-contact/{id}/recover":{"put":{"operationId":"OrganizationContact_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationContact"]}},"/api/timesheet/time-slot":{"get":{"operationId":"TimeSlot_findAll","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Get Time Slots","tags":["TimeSlot"]},"post":{"operationId":"TimeSlot_create","parameters":[],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Create Time Slot","tags":["TimeSlot"]},"delete":{"operationId":"TimeSlot_deleteTimeSlot","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"ids","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"The time slot has been successfully deleted."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Delete TimeSlot","tags":["TimeSlot"]}},"/api/timesheet/time-slot/{id}":{"get":{"operationId":"TimeSlot_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Get Time Slot By Id","tags":["TimeSlot"]},"put":{"operationId":"TimeSlot_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Update Time Slot","tags":["TimeSlot"]}},"/api/timesheet/activity":{"get":{"description":"Fetches a paginated list of activities based on filters like date, employee, and project.","operationId":"Activity_getActivities","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"types","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"titles","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successfully retrieved activities"},"400":{"description":"Invalid input, the request parameters may contain errors"}},"summary":"Retrieve paginated activities","tags":["Activity"]}},"/api/timesheet/activity/daily":{"get":{"description":"Fetches a list of daily activities filtered by parameters such as date, employee, and project.","operationId":"Activity_getDailyActivities","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"types","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"titles","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successfully retrieved daily activities"},"400":{"description":"Invalid input, the request parameters may contain errors"}},"summary":"Retrieve daily activities","tags":["Activity"]}},"/api/timesheet/activity/report":{"get":{"description":"Fetches a report of daily activities grouped by parameters like date, employee, or project.","operationId":"Activity_getDailyActivitiesReport","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"types","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"titles","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successfully retrieved the daily activities report"},"400":{"description":"Invalid input, the request parameters may contain errors"}},"summary":"Retrieve daily activities report","tags":["Activity"]}},"/api/timesheet/activity/bulk":{"post":{"description":"Saves multiple activities in one request. Useful for bulk data insertion.","operationId":"Activity_bulkSaveActivities","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkActivityInputDTO"}}}},"responses":{"200":{"description":"The activities have been successfully saved"},"400":{"description":"Invalid input, the request body may contain errors"}},"summary":"Bulk save activities","tags":["Activity"]}},"/api/timesheet/statistics/counts":{"get":{"description":"Endpoint to retrieve statistics for counts based on the provided query parameters.","operationId":"Statistic_getCountsStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved statistics for counts."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Counts","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/members":{"get":{"description":"Endpoint to retrieve statistics for members based on the provided query parameters.","operationId":"Statistic_getMembersStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved statistics for members."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Members","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/projects":{"get":{"description":"Endpoint to retrieve statistics for projects based on the provided query parameters.","operationId":"Statistic_getProjectsStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved statistics for projects."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Projects","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/tasks":{"post":{"description":"Endpoint to retrieve statistics for tasks based on the provided query parameters.","operationId":"Statistic_getTasksStatistics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeTrackingStatisticQueryDTO"}}}},"responses":{"200":{"description":"Successfully retrieved statistics for tasks."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Tasks","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/manual-times":{"get":{"description":"Endpoint to retrieve statistics for manual times based on the provided query parameters.","operationId":"Statistic_getManualTimesStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved statistics for manual times."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Manual Times","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/time-slots":{"get":{"description":"Endpoint to retrieve statistics for employee time slots based on the provided query parameters.","operationId":"Statistic_getEmployeeTimeSlotsStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved statistics for employee time slots."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Employee Time Slots","tags":["TimesheetStatistic"]}},"/api/timesheet/statistics/activities":{"get":{"description":"Endpoint to retrieve statistics for activities based on the provided query parameters.","operationId":"Statistic_getActivitiesStatistics","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"todayStart","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"todayEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"defaultRange","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"unitOfTime","required":false,"in":"query","schema":{"example":"week","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved activity statistics."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Get Statistics for Activities","tags":["TimesheetStatistic"]}},"/api/feature/toggle/definition":{"get":{"operationId":"FeatureToggle_getFeatureToggleDefinitions","parameters":[],"responses":{"200":{"description":""}},"tags":["Feature"]}},"/api/feature/toggle/parent":{"get":{"operationId":"FeatureToggle_getParentFeatureList","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Found feature","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"404":{"description":"Record not found"}},"summary":"Find all parent features.","tags":["Feature"]}},"/api/feature/toggle/organizations":{"get":{"operationId":"FeatureToggle_getFeaturesOrganization","parameters":[],"responses":{"200":{"description":"Found feature","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"404":{"description":"Record not found"}},"summary":"Find all feature organizations.","tags":["Feature"]}},"/api/feature/toggle":{"get":{"operationId":"FeatureToggle_findAll","parameters":[],"responses":{"200":{"description":"Found feature","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Feature"}}}},"404":{"description":"Record not found"}},"summary":"Find all features.","tags":["Feature"]},"post":{"operationId":"FeatureToggle_enabledDisabledFeature","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeatureToggleDTO"}}}},"responses":{"201":{"description":"The record has been successfully created/updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Enabled or disabled features","tags":["Feature"]}},"/api/organization-sprint":{"get":{"operationId":"OrganizationSprint_findAll","parameters":[],"responses":{"200":{"description":"Found organization sprints","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSprint"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization sprint.","tags":["OrganizationSprint"]},"post":{"operationId":"OrganizationSprint_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationSprintDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationSprint"]}},"/api/organization-sprint/{id}":{"get":{"operationId":"OrganizationSprint_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationSprint"]},"put":{"operationId":"OrganizationSprint_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationSprintDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationSprint"]},"delete":{"operationId":"OrganizationSprint_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationSprint"]}},"/api/organization-sprint/count":{"get":{"operationId":"OrganizationSprint_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationSprint"]}},"/api/organization-sprint/pagination":{"get":{"operationId":"OrganizationSprint_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationSprint"]}},"/api/organization-sprint/{id}/soft":{"delete":{"operationId":"OrganizationSprint_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationSprint"]}},"/api/organization-sprint/{id}/recover":{"put":{"operationId":"OrganizationSprint_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationSprint"]}},"/api/task-views":{"get":{"operationId":"TaskView_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found views","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskView"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all views.","tags":["Task views"]},"post":{"operationId":"TaskView_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateViewDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create view","tags":["Task views"]}},"/api/task-views/{id}":{"get":{"operationId":"TaskView_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id","tags":["Task views"]},"put":{"operationId":"TaskView_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateViewDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing view","tags":["Task views"]},"delete":{"operationId":"TaskView_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete view","tags":["Task views"]}},"/api/task-views/count":{"get":{"operationId":"TaskView_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Task views"]}},"/api/task-views/pagination":{"get":{"operationId":"TaskView_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Task views"]}},"/api/task-views/{id}/soft":{"delete":{"operationId":"TaskView_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Task views"]}},"/api/task-views/{id}/recover":{"put":{"operationId":"TaskView_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Task views"]}},"/api/employee-notification":{"get":{"operationId":"EmployeeNotification_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found employee notifications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeNotification"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Get employees notifications.","tags":["EmployeeNotification"]},"post":{"operationId":"EmployeeNotification_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EmployeeNotification"]}},"/api/employee-notification/{id}":{"get":{"operationId":"EmployeeNotification_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found employee notification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeNotification"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id.","tags":["EmployeeNotification"]},"put":{"operationId":"EmployeeNotification_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["EmployeeNotification"]},"delete":{"operationId":"EmployeeNotification_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeNotification"]}},"/api/employee-notification/mark-all-read":{"put":{"operationId":"EmployeeNotification_markAllAsRead","parameters":[],"responses":{"202":{"description":"The records have been successfully updated."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Mark all notifications as read","tags":["EmployeeNotification"]}},"/api/employee-notification/count":{"get":{"operationId":"EmployeeNotification_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeNotification"]}},"/api/employee-notification/pagination":{"get":{"operationId":"EmployeeNotification_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeNotification"]}},"/api/employee-notification/{id}/soft":{"delete":{"operationId":"EmployeeNotification_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeNotification"]}},"/api/employee-notification/{id}/recover":{"put":{"operationId":"EmployeeNotification_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeNotification"]}},"/api/employee-notification-setting":{"get":{"operationId":"EmployeeNotificationSetting_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found employee notification settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeNotificationSetting"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Get employees notification settings.","tags":["EmployeeNotificationSetting"]},"post":{"operationId":"EmployeeNotificationSetting_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeNotificationSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create employee notification setting.","tags":["EmployeeNotificationSetting"]}},"/api/employee-notification-setting/{id}":{"get":{"operationId":"EmployeeNotificationSetting_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found employee notification setting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeNotificationSetting"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id.","tags":["EmployeeNotificationSetting"]},"put":{"operationId":"EmployeeNotificationSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeNotificationSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update employee notification setting.","tags":["EmployeeNotificationSetting"]},"delete":{"operationId":"EmployeeNotificationSetting_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete employee notification setting.","tags":["EmployeeNotificationSetting"]}},"/api/employee-notification-setting/count":{"get":{"operationId":"EmployeeNotificationSetting_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeNotificationSetting"]}},"/api/employee-notification-setting/pagination":{"get":{"operationId":"EmployeeNotificationSetting_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeNotificationSetting"]}},"/api/employee-notification-setting/{id}/soft":{"delete":{"operationId":"EmployeeNotificationSetting_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeNotificationSetting"]}},"/api/employee-notification-setting/{id}/recover":{"put":{"operationId":"EmployeeNotificationSetting_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeNotificationSetting"]}},"/api/tags/level":{"get":{"operationId":"Tag_findTagsByLevel","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Tags"]}},"/api/tags":{"get":{"operationId":"Tag_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Tags"]},"post":{"operationId":"Tag_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTagDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Tags"]}},"/api/tags/{id}":{"put":{"operationId":"Tag_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTagDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Tags"]},"get":{"operationId":"Tag_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Tags"]},"delete":{"operationId":"Tag_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Tags"]}},"/api/tags/count":{"get":{"operationId":"Tag_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Tags"]}},"/api/tags/pagination":{"get":{"operationId":"Tag_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Tags"]}},"/api/tags/{id}/soft":{"delete":{"operationId":"Tag_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Tags"]}},"/api/tags/{id}/recover":{"put":{"operationId":"Tag_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Tags"]}},"/api/integration/types":{"get":{"operationId":"Integration_getIntegrationTypes","parameters":[],"responses":{"200":{"description":"Found integration types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationType"}}}},"404":{"description":"Record not found"}},"summary":"Find all integration types.","tags":["Integrations"]}},"/api/integration":{"get":{"operationId":"Integration_getIntegrations","parameters":[],"responses":{"200":{"description":"Found integrations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationType"}}}},"404":{"description":"Record not found"}},"summary":"Find all integrations.","tags":["Integrations"]}},"/api/integration/ai":{"post":{"operationId":"IntegrationAI_create","parameters":[],"responses":{"201":{"description":"The Integration AI entity has been successfully created."},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"summary":"Create a new Integration AI entity","tags":["Integrations"]}},"/api/integration/ai/{id}":{"put":{"operationId":"IntegrationAI_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Update Gauzy AI integration"},"404":{"description":"Record not found"}},"summary":"Update Gauzy AI integration.","tags":["Integrations"]}},"/api/integration/github/callback":{"get":{"operationId":"GitHubAuthorization_githubIntegrationPostInstallCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["GitHubAuthorization"]}},"/api/integration/github/install/state":{"post":{"operationId":"GitHub_createInstallationState","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubInstallStateDTO"}}}},"responses":{"201":{"description":""}},"tags":["GitHub Integrations"]}},"/api/integration/github/install":{"post":{"operationId":"GitHub_addGithubAppInstallation","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubAppInstallDTO"}}}},"responses":{"201":{"description":""}},"tags":["GitHub Integrations"]}},"/api/integration/github/oauth":{"post":{"operationId":"GitHub_oAuthEndpointAuthorization","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubOAuthDTO"}}}},"responses":{"201":{"description":""}},"tags":["GitHub Integrations"]}},"/api/integration/github/{integrationId}/metadata":{"get":{"operationId":"GitHubIntegration_getGithubInstallationMetadata","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GitHubIntegration"]}},"/api/integration/github/{integrationId}/repositories":{"get":{"operationId":"GitHubIntegration_getGithubRepositories","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GitHubIntegration"]}},"/api/integration/github/{integrationId}/{owner}/{repo}/issues":{"get":{"operationId":"GitHubIntegration_getGithubRepositoryIssues","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"per_page","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""}},"tags":["GitHubIntegration"]}},"/api/integration/github/{integrationId}/manual-sync/issues":{"post":{"operationId":"GitHubSync_syncGithubIssuesAndLabels","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessGithubIssueSyncDTO"}}}},"responses":{"201":{"description":""}},"tags":["GitHubSync"]}},"/api/integration/github/{integrationId}/auto-sync/issues":{"post":{"operationId":"GitHubSync_autoSyncGithubIssues","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessGithubIssueSyncDTO"}}}},"responses":{"201":{"description":""}},"tags":["GitHubSync"]}},"/api/integration/github/repository/sync":{"post":{"operationId":"GitHubRepository_syncRepository","parameters":[],"responses":{"201":{"description":""}},"tags":["GitHubRepository"]}},"/api/integration/github/repository/{id}":{"put":{"operationId":"GitHubRepository_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGithubRepositoryDTO"}}}},"responses":{"200":{"description":""}},"tags":["GitHubRepository"]}},"/api/integration/github/webhook":{"post":{"operationId":"Hook_hooks","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/hubstaff/callback":{"get":{"operationId":"HubstaffAuthorization_hubstaffIntegrationCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/token/{integrationId}":{"get":{"operationId":"Hubstaff_getHubstaffTokenByIntegration","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/refresh-token/{integrationId}":{"get":{"operationId":"Hubstaff_refreshHubstaffTokenByIntegration","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/integration":{"post":{"operationId":"Hubstaff_create","parameters":[],"responses":{"201":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/organizations":{"get":{"operationId":"Hubstaff_getOrganizations","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/projects/{organizationId}":{"get":{"operationId":"Hubstaff_getProjects","parameters":[{"name":"organizationId","required":true,"in":"path","schema":{"type":"string"}},{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/sync-projects":{"post":{"operationId":"Hubstaff_syncProjects","parameters":[],"responses":{"201":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/sync-organizations":{"post":{"operationId":"Hubstaff_syncOrganizations","parameters":[],"responses":{"201":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/integration/hubstaff/auto-sync/{integrationId}":{"post":{"operationId":"Hubstaff_autoSync","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"tags":["Hubstaff Integrations"]}},"/api/timesheet/screenshot":{"post":{"description":"Captures a screenshot when the timer is started or stopped. This API allows uploading the screenshot file along with related metadata.","operationId":"ScreenshotController_1_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Screenshot"}}}},"responses":{"200":{"description":"Screenshot captured successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Screenshot"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Capture a start/stop screenshot","tags":["Screenshot"]}},"/api/timesheet/screenshot/{id}":{"delete":{"description":"Deletes a screenshot record from the system based on the provided ID.","operationId":"ScreenshotController_1_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"The screenshot has been successfully deleted."},"403":{"description":"User does not have permission to delete screenshots."},"404":{"description":"Screenshot record not found."}},"summary":"Delete a screenshot by ID","tags":["Screenshot"]}},"/api/integration/make-com":{"get":{"operationId":"MakeCom_getSettings","parameters":[],"responses":{"200":{"description":"Retrieved tenant Make.com settings"},"404":{"description":"Tenant not found in request context"}},"summary":"Get Make.com integration settings for tenant","tags":["Make.com Integrations"]},"post":{"operationId":"MakeCom_updateIntegrationSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMakeComSettingsDTO"}}}},"responses":{"200":{"description":"Make.com settings updated successfully"},"404":{"description":"Tenant ID not found in request context"}},"summary":"Update Make.com integration settings for tenant","tags":["Make.com Integrations"]}},"/api/integration/make-com/oauth-settings":{"post":{"operationId":"MakeCom_initializeIntegration","parameters":[],"responses":{"200":{"description":"Make.com OAuth authorization URL generated successfully"},"400":{"description":"Server-side OAuth credentials not configured"},"404":{"description":"Tenant ID not found in request context"}},"summary":"Initialize Make.com OAuth integration","tags":["Make.com Integrations"]}},"/api/integration/make-com/token":{"post":{"operationId":"MakeCom_tokenEndpoint","parameters":[],"responses":{"200":{"description":"Returns OAuth tokens"},"400":{"description":"Invalid request or grant type"}},"summary":"Handle Make.com token requests (For Custom Apps)","tags":["Make.com Integrations"]}},"/api/integration/make-com/oauth/authorize":{"get":{"operationId":"MakeComAuthorizationController_1_authorize","parameters":[],"responses":{"200":{"description":"Returns the Make.com authorization URL"}},"summary":"Initiate OAuth 2.0 flow with Make.com","tags":["Make.com OAuth"]}},"/api/integration/make-com/oauth/callback":{"get":{"operationId":"MakeComAuthorizationController_1_callback","parameters":[],"responses":{"302":{"description":"Redirects to the application with token information"}},"summary":"Handle Make.com OAuth callback","tags":["Make.com OAuth"]}},"/api/integration/make-com/api/setup-status":{"get":{"operationId":"MakeComApi_getSetupStatus","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get Make.com setup status (zone, org, team, token)","tags":["Make.com API"]}},"/api/integration/make-com/api/zones":{"get":{"operationId":"MakeComApi_getAvailableZones","parameters":[],"responses":{"200":{"description":""}},"summary":"Get available Make.com zones","tags":["Make.com API"]}},"/api/integration/make-com/api/zone":{"get":{"operationId":"MakeComApi_getZone","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get the configured zone for this tenant","tags":["Make.com API"]},"post":{"operationId":"MakeComApi_setZone","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetZoneDTO"}}}},"responses":{"201":{"description":""}},"summary":"Set the Make.com zone for this tenant","tags":["Make.com API"]}},"/api/integration/make-com/api/context/organization":{"post":{"operationId":"MakeComApi_setMakeOrganization","parameters":[],"responses":{"201":{"description":""}},"summary":"Set the Make.com organization ID for this tenant","tags":["Make.com API"]}},"/api/integration/make-com/api/context/team":{"post":{"operationId":"MakeComApi_setMakeTeam","parameters":[],"responses":{"201":{"description":""}},"summary":"Set the Make.com team ID for this tenant","tags":["Make.com API"]}},"/api/integration/make-com/api/organizations":{"get":{"operationId":"MakeComApi_listOrganizations","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com organizations for the authenticated user","tags":["Make.com API"]}},"/api/integration/make-com/api/organizations/{id}":{"get":{"operationId":"MakeComApi_getOrganization","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com organization by ID","tags":["Make.com API"]}},"/api/integration/make-com/api/teams":{"get":{"operationId":"MakeComApi_listTeams","parameters":[{"name":"makeOrgId","required":false,"in":"query","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com teams","tags":["Make.com API"]}},"/api/integration/make-com/api/teams/{id}":{"get":{"operationId":"MakeComApi_getTeam","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com team by ID","tags":["Make.com API"]}},"/api/integration/make-com/api/connections":{"get":{"operationId":"MakeComApi_listConnections","parameters":[{"name":"teamId","required":false,"in":"query","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com connections","tags":["Make.com API"]}},"/api/integration/make-com/api/connections/{id}":{"get":{"operationId":"MakeComApi_getConnection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com connection by ID","tags":["Make.com API"]},"delete":{"operationId":"MakeComApi_deleteConnection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Delete a Make.com connection","tags":["Make.com API"]}},"/api/integration/make-com/api/connections/{id}/test":{"post":{"operationId":"MakeComApi_testConnection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Test a Make.com connection","tags":["Make.com API"]}},"/api/integration/make-com/api/scenarios":{"get":{"operationId":"MakeComApi_listScenarios","parameters":[{"name":"teamId","required":false,"in":"query","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com scenarios","tags":["Make.com API"]},"post":{"operationId":"MakeComApi_createScenario","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Create a Make.com scenario","tags":["Make.com API"]}},"/api/integration/make-com/api/scenarios/{id}":{"get":{"operationId":"MakeComApi_getScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com scenario by ID","tags":["Make.com API"]},"patch":{"operationId":"MakeComApi_updateScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Update a Make.com scenario","tags":["Make.com API"]},"delete":{"operationId":"MakeComApi_deleteScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Delete a Make.com scenario","tags":["Make.com API"]}},"/api/integration/make-com/api/scenarios/{id}/start":{"post":{"operationId":"MakeComApi_startScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Activate a Make.com scenario","tags":["Make.com API"]}},"/api/integration/make-com/api/scenarios/{id}/stop":{"post":{"operationId":"MakeComApi_stopScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Deactivate a Make.com scenario","tags":["Make.com API"]}},"/api/integration/make-com/api/scenarios/{id}/run":{"post":{"operationId":"MakeComApi_runScenario","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Run a Make.com scenario on demand","tags":["Make.com API"]}},"/api/integration/make-com/api/hooks":{"get":{"operationId":"MakeComApi_listHooks","parameters":[{"name":"teamId","required":false,"in":"query","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com hooks (webhooks)","tags":["Make.com API"]},"post":{"operationId":"MakeComApi_createHook","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Create a Make.com hook (webhook)","tags":["Make.com API"]}},"/api/integration/make-com/api/hooks/{id}":{"get":{"operationId":"MakeComApi_getHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com hook by ID","tags":["Make.com API"]},"patch":{"operationId":"MakeComApi_updateHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Update a Make.com hook name","tags":["Make.com API"]},"delete":{"operationId":"MakeComApi_deleteHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"summary":"Delete a Make.com hook","tags":["Make.com API"]}},"/api/integration/make-com/api/hooks/{id}/ping":{"get":{"operationId":"MakeComApi_pingHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Ping a Make.com hook","tags":["Make.com API"]}},"/api/integration/make-com/api/hooks/{id}/enable":{"post":{"operationId":"MakeComApi_enableHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Enable a Make.com hook","tags":["Make.com API"]}},"/api/integration/make-com/api/hooks/{id}/disable":{"post":{"operationId":"MakeComApi_disableHook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Disable a Make.com hook","tags":["Make.com API"]}},"/api/integration/make-com/api/templates":{"get":{"operationId":"MakeComApi_listTemplates","parameters":[{"name":"teamId","required":false,"in":"query","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List Make.com templates","tags":["Make.com API"]}},"/api/integration/make-com/api/templates/{id}":{"get":{"operationId":"MakeComApi_getTemplate","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get a Make.com template by ID","tags":["Make.com API"]}},"/api/integration/make-com/api/templates/{id}/blueprint":{"get":{"operationId":"MakeComApi_getTemplateBlueprint","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get the blueprint of a Make.com template","tags":["Make.com API"]}},"/api/integration/jira/issue-created":{"post":{"operationId":"Hook_issueCreated","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/jira/issue-deleted":{"post":{"operationId":"Hook_issueDeleted","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/jira/issue-updated":{"post":{"operationId":"Hook_issueUpdated","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/jira/installed":{"post":{"operationId":"Hook_installed","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/jira/uninstalled":{"post":{"operationId":"Hook_uninstalled","parameters":[],"responses":{"201":{"description":""}},"tags":["Hook"]}},"/api/integration/jira/atlassian-connect.json":{"get":{"operationId":"Hook_atlassianConnect","parameters":[],"responses":{"200":{"description":""}},"tags":["Hook"]}},"/api/integrations/upwork/callback":{"get":{"operationId":"UpworkAuthorization_upworkIntegrationCallback","parameters":[],"responses":{"200":{"description":""}},"tags":["Upwork Integrations"]}},"/api/integrations/upwork/transactions":{"post":{"operationId":"Upwork_create","parameters":[],"responses":{"201":{"description":"The transaction has been successfully uploaded."},"400":{"description":"The request was invalid or the freelancer was not found."},"404":{"description":"The specified record was not found."}},"summary":"Upload Upwork transaction","tags":["Upwork Integrations"]}},"/api/integrations/upwork/token-secret-pair/{organizationId}":{"post":{"operationId":"Upwork_getAccessTokenSecretPair","parameters":[{"name":"organizationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The Upwork account has been successfully authorized."},"400":{"description":"Authorization failed due to invalid request."},"404":{"description":"The specified record was not found."}},"summary":"Authorize Upwork","tags":["Upwork Integrations"]}},"/api/integrations/upwork/access-token/{organizationId}":{"post":{"operationId":"Upwork_getAccessToken","parameters":[{"name":"organizationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The access token has been successfully retrieved."},"400":{"description":"Invalid request."},"404":{"description":"The specified record was not found."}},"summary":"Get Access Token","tags":["Upwork Integrations"]}},"/api/integrations/upwork/work-diary":{"get":{"operationId":"Upwork_getWorkDiary","parameters":[],"responses":{"200":{"description":"Work Diary retrieved successfully."},"400":{"description":"Invalid request."},"404":{"description":"The specified record was not found."}},"summary":"Get Work Diary","tags":["Upwork Integrations"]}},"/api/integrations/upwork/freelancer-contracts":{"get":{"operationId":"Upwork_getContracts","parameters":[],"responses":{"200":{"description":"Contracts retrieved successfully."},"400":{"description":"Invalid request."},"404":{"description":"The specified record was not found."}},"summary":"Get Contracts","tags":["Upwork Integrations"]}},"/api/integrations/upwork/config/{integrationId}":{"get":{"operationId":"Upwork_getConfig","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Configuration retrieved successfully."},"400":{"description":"Invalid request."},"404":{"description":"The specified record was not found."}},"summary":"Get Config","tags":["Upwork Integrations"]}},"/api/integrations/upwork/sync-contracts":{"post":{"operationId":"Upwork_syncContracts","parameters":[],"responses":{"201":{"description":"Contracts have been successfully synced."},"400":{"description":"The request is invalid."},"404":{"description":"The specified record was not found."}},"summary":"Sync Contracts","tags":["Upwork Integrations"]}},"/api/integrations/upwork/sync-contracts-related-data":{"post":{"operationId":"Upwork_syncContractsRelatedData","parameters":[],"responses":{"201":{"description":"Contracts related data have been successfully synced."},"400":{"description":"The request is invalid."},"404":{"description":"The specified record was not found."}},"summary":"Sync Contracts Related Data","tags":["Upwork Integrations"]}},"/api/integrations/upwork/report/{integrationId}":{"get":{"operationId":"Upwork_getReports","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved income and expense data."},"400":{"description":"The request is invalid."},"404":{"description":"The specified record was not found."}},"summary":"Find all expenses and incomes for logged Upwork user.","tags":["Upwork Integrations"]}},"/api/expense-categories/pagination":{"get":{"operationId":"ExpenseCategories_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved paginated expense categories"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all expense categories with pagination","tags":["ExpenseCategories"]}},"/api/expense-categories":{"get":{"operationId":"ExpenseCategories_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved all expense categories"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all expense categories","tags":["ExpenseCategories"]},"post":{"operationId":"ExpenseCategories_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExpenseCategoryDTO"}}}},"responses":{"201":{"description":"Expense category successfully created"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new expense category","tags":["ExpenseCategories"]}},"/api/expense-categories/{id}":{"put":{"operationId":"ExpenseCategories_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExpenseCategoryDTO"}}}},"responses":{"200":{"description":"Expense category successfully updated"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Expense category not found"}},"security":[{"bearer":[]}],"summary":"Update an expense category by ID","tags":["ExpenseCategories"]},"get":{"operationId":"ExpenseCategories_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ExpenseCategories"]},"delete":{"operationId":"ExpenseCategories_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ExpenseCategories"]}},"/api/expense-categories/count":{"get":{"operationId":"ExpenseCategories_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ExpenseCategories"]}},"/api/expense-categories/{id}/soft":{"delete":{"operationId":"ExpenseCategories_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ExpenseCategories"]}},"/api/expense-categories/{id}/recover":{"put":{"operationId":"ExpenseCategories_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ExpenseCategories"]}},"/api/expense/count":{"get":{"operationId":"Expense_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Expense"]}},"/api/expense/pagination":{"get":{"operationId":"Expense_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Expense"]}},"/api/expense/me":{"get":{"operationId":"Expense_findMyExpenseWithSplitIncluded","parameters":[],"responses":{"200":{"description":"Found expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all expense for the logged in employee, including split expenses.","tags":["Expense"]}},"/api/expense/include-split/{employeeId}":{"get":{"operationId":"Expense_findAllSplitExpenses","parameters":[],"responses":{"200":{"description":"Found split expenses"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all expenses for an employee, including split expenses.","tags":["Expense"]}},"/api/expense/report":{"get":{"operationId":"Expense_getExpenseReport","parameters":[{"name":"groupBy","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"categoryId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found split expenses"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all expenses for an employee, including split expenses.","tags":["Expense"]}},"/api/expense/report/daily-chart":{"get":{"operationId":"Expense_getDailyReportChartData","parameters":[{"name":"groupBy","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"categoryId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Report daily chart","tags":["Expense"]}},"/api/expense":{"get":{"operationId":"Expense_findAll","parameters":[],"responses":{"200":{"description":"Found expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Expense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all expense.","tags":["Expense"]},"post":{"operationId":"Expense_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExpenseDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Expense"]}},"/api/expense/{id}":{"get":{"operationId":"Expense_findById","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Expense"]},"put":{"operationId":"Expense_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExpenseDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Expense"]},"delete":{"operationId":"Expense_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Expense"]}},"/api/expense/{id}/soft":{"delete":{"operationId":"Expense_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Expense"]}},"/api/expense/{id}/recover":{"put":{"operationId":"Expense_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Expense"]}},"/api/employee-statistics/aggregate":{"get":{"operationId":"EmployeeStatistics_findAggregatedByOrganizationId","parameters":[],"responses":{"200":{"description":"Found records"},"404":{"description":"No records found"}},"summary":"Find aggregate for all employees by organization id","tags":["EmployeeStatistics"]}},"/api/employee-statistics/months/{id}":{"get":{"operationId":"EmployeeStatistics_findAllByEmployeeId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find by id","tags":["EmployeeStatistics"]}},"/api/employee-statistics/months":{"get":{"operationId":"EmployeeStatistics_findAggregatedStatisticsByEmployeeId","parameters":[],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find Aggregated Statistics by Employee id, valueDate and past N months","tags":["EmployeeStatistics"]}},"/api/employee-statistics/history":{"get":{"operationId":"EmployeeStatistics_findEmployeeStatisticsHistory","parameters":[],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find Statistics History by Employee id, valueDate and past N months","tags":["EmployeeStatistics"]}},"/api/organization-recurring-expense/month":{"get":{"operationId":"OrganizationRecurringExpense_findAllExpenses","parameters":[],"responses":{"200":{"description":"Found organization recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationRecurringExpense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization recurring expense by month.","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/date-update-type":{"get":{"operationId":"OrganizationRecurringExpense_findStartDateUpdateType","parameters":[],"responses":{"200":{"description":"Found start date update type"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find start date update type & conflicting expenses for the update","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/employee/{organizationId}":{"get":{"operationId":"OrganizationRecurringExpense_getSplitExpensesForEmployee","parameters":[{"name":"organizationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization recurring expense"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization recurring expenses for given employee, also known as split recurring expenses.","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense":{"get":{"operationId":"OrganizationRecurringExpense_findAll","parameters":[],"responses":{"200":{"description":"Found organization recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationRecurringExpense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization recurring expenses.","tags":["OrganizationRecurringExpense"]},"post":{"operationId":"OrganizationRecurringExpense_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationRecurringExpense"}}}},"responses":{"201":{"description":"The organization recurring expense has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new organization recurring expense","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/{id}":{"put":{"operationId":"OrganizationRecurringExpense_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationRecurringExpense"]},"delete":{"operationId":"OrganizationRecurringExpense_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationRecurringExpense"]},"get":{"operationId":"OrganizationRecurringExpense_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/count":{"get":{"operationId":"OrganizationRecurringExpense_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/pagination":{"get":{"operationId":"OrganizationRecurringExpense_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/{id}/soft":{"delete":{"operationId":"OrganizationRecurringExpense_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationRecurringExpense"]}},"/api/organization-recurring-expense/{id}/recover":{"put":{"operationId":"OrganizationRecurringExpense_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationRecurringExpense"]}},"/api/employee-recurring-expense/month":{"get":{"operationId":"EmployeeRecurringExpense_findAllByMonth","parameters":[],"responses":{"200":{"description":"Found employee recurring expense by month","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRecurringExpense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all employee recurring expense by month.","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/date-update-type":{"get":{"operationId":"EmployeeRecurringExpense_findStartDateUpdateType","parameters":[],"responses":{"200":{"description":"Found start date update type"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find the start date update type for a recurring expense.","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense":{"get":{"operationId":"EmployeeRecurringExpense_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found employee recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRecurringExpense"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all employee recurring expenses.","tags":["EmployeeRecurringExpense"]},"post":{"operationId":"EmployeeRecurringExpense_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeRecurringExpenseDTO"}}}},"responses":{"201":{"description":"The expense has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new expense","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/{id}":{"put":{"operationId":"EmployeeRecurringExpense_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeRecurringExpenseDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["EmployeeRecurringExpense"]},"delete":{"operationId":"EmployeeRecurringExpense_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeRecurringExpense"]},"get":{"operationId":"EmployeeRecurringExpense_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/count":{"get":{"operationId":"EmployeeRecurringExpense_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/pagination":{"get":{"operationId":"EmployeeRecurringExpense_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/{id}/soft":{"delete":{"operationId":"EmployeeRecurringExpense_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeRecurringExpense"]}},"/api/employee-recurring-expense/{id}/recover":{"put":{"operationId":"EmployeeRecurringExpense_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeRecurringExpense"]}},"/api/income/me":{"get":{"operationId":"Income_findMyIncome","parameters":[],"responses":{"200":{"description":"Found income","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Income"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all income.","tags":["Income"]}},"/api/income/count":{"get":{"operationId":"Income_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Income"]}},"/api/income/pagination":{"get":{"operationId":"Income_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Income"]}},"/api/income":{"get":{"operationId":"Income_findAll","parameters":[],"responses":{"200":{"description":"Found income","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Income"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all income.","tags":["Income"]},"post":{"operationId":"Income_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIncomeDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Income"]}},"/api/income/{id}":{"get":{"operationId":"Income_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Income"]},"put":{"operationId":"Income_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIncomeDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Income"]},"delete":{"operationId":"Income_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Income"]}},"/api/income/{id}/soft":{"delete":{"operationId":"Income_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Income"]}},"/api/income/{id}/recover":{"put":{"operationId":"Income_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Income"]}},"/api/organization-vendors":{"get":{"operationId":"OrganizationVendor_findAll","parameters":[],"responses":{"200":{"description":"Found organization vendors recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationVendor"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization vendors recurring expense.","tags":["OrganizationVendor"]},"post":{"operationId":"OrganizationVendor_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationVendor"]}},"/api/organization-vendors/pagination":{"get":{"operationId":"OrganizationVendor_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationVendor"]}},"/api/organization-vendors/{id}":{"put":{"operationId":"OrganizationVendor_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationVendor"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationVendor"]},"delete":{"operationId":"OrganizationVendor_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"400":{"description":"This Vendor can't be deleted because it is used in expense records"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationVendor"]},"get":{"operationId":"OrganizationVendor_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationVendor"]}},"/api/organization-vendors/count":{"get":{"operationId":"OrganizationVendor_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationVendor"]}},"/api/organization-vendors/{id}/soft":{"delete":{"operationId":"OrganizationVendor_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationVendor"]}},"/api/organization-vendors/{id}/recover":{"put":{"operationId":"OrganizationVendor_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationVendor"]}},"/api/proposal/count":{"get":{"operationId":"Proposal_getCount","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the proposal count."},"400":{"description":"Invalid query parameters. Please check your input."},"500":{"description":"An error occurred while retrieving the proposal count."}},"summary":"Get proposal count in the same tenant","tags":["Proposal"]}},"/api/proposal/pagination":{"get":{"operationId":"Proposal_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Proposals retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}},"400":{"description":"Invalid pagination parameters provided"}},"summary":"Get proposals by pagination","tags":["Proposal"]}},"/api/proposal":{"get":{"operationId":"Proposal_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Proposals found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}},"404":{"description":"No proposals found"}},"summary":"Find all proposals","tags":["Proposal"]},"post":{"operationId":"Proposal_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProposalDTO"}}}},"responses":{"201":{"description":"Proposal created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong"}},"summary":"Create a new proposal record","tags":["Proposal"]}},"/api/proposal/{id}":{"get":{"operationId":"Proposal_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Proposal found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}},"404":{"description":"Proposal not found"}},"summary":"Find a single proposal by ID","tags":["Proposal"]},"put":{"operationId":"Proposal_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProposalDTO"}}}},"responses":{"200":{"description":"Proposal updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}},"404":{"description":"Proposal not found"}},"summary":"Update a single proposal by ID","tags":["Proposal"]},"delete":{"operationId":"Proposal_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Proposal"]}},"/api/proposal/{id}/soft":{"delete":{"operationId":"Proposal_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Proposal"]}},"/api/proposal/{id}/recover":{"put":{"operationId":"Proposal_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Proposal"]}},"/api/integration/plane/setup":{"post":{"operationId":"Plane_setupIntegration","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurePlaneIntegrationDto"}}}},"responses":{"201":{"description":"Plane integration configured successfully."},"409":{"description":"Plane integration already configured."}},"security":[{"bearer":[]}],"summary":"Configure Plane integration for the current tenant.","tags":["Plane Integration"]}},"/api/integration/plane/settings":{"get":{"operationId":"Plane_getSettings","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Settings retrieved successfully."},"404":{"description":"Plane integration not configured."}},"security":[{"bearer":[]}],"summary":"Get Plane integration settings for the current tenant.","tags":["Plane Integration"]},"put":{"operationId":"Plane_updateSettings","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePlaneSettingsDto"}}}},"responses":{"200":{"description":"Settings updated successfully."},"404":{"description":"Plane integration not configured."}},"security":[{"bearer":[]}],"summary":"Update Plane integration settings.","tags":["Plane Integration"]}},"/api/integration/plane/{integrationTenantId}":{"delete":{"operationId":"Plane_removeIntegration","parameters":[{"name":"integrationTenantId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Integration removed successfully."},"404":{"description":"Plane integration not configured."}},"security":[{"bearer":[]}],"summary":"Remove Plane integration for the current tenant.","tags":["Plane Integration"]}},"/api/integration/plane/regenerate-key":{"post":{"operationId":"Plane_regenerateApiKey","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"API key regenerated successfully."},"404":{"description":"Plane integration not configured."}},"security":[{"bearer":[]}],"summary":"Regenerate Plane integration API key and secret.","tags":["Plane Integration"]}},"/api/integration/plane/status":{"get":{"operationId":"Plane_getStatus","parameters":[],"responses":{"200":{"description":"Status retrieved successfully."}},"security":[{"bearer":[]}],"summary":"Check Plane integration status for the current tenant.","tags":["Plane Integration"]}},"/api/tenant-api-key/generate-key-pair":{"post":{"operationId":"TenantApiKeyController_1_generateKeyPair","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateApiKeyDTO"}}}},"responses":{"201":{"description":"API key pair generated successfully."},"400":{"description":"Invalid input data."}},"summary":"Generate a new API key pair for a tenant.","tags":["TenantAPIKeys"]}},"/api/integration/sim/setup":{"post":{"operationId":"SimController_1_setupIntegration","parameters":[{"name":"organizationId","required":false,"in":"query","description":"Optional organization ID to scope the integration","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureSimIntegrationDto"}}}},"responses":{"201":{"description":"SIM integration configured successfully"},"400":{"description":"Bad Request"}},"security":[{"bearer":[]}],"summary":"Configure SIM integration with API key","tags":["SIM Integration"]}},"/api/integration/sim/settings":{"get":{"operationId":"SimController_1_getSettings","parameters":[],"responses":{"200":{"description":"SIM integration settings retrieved"}},"security":[{"bearer":[]}],"summary":"Get SIM integration settings","tags":["SIM Integration"]}},"/api/integration/sim/workflows/{workflowId}/execute":{"post":{"operationId":"SimController_1_executeWorkflow","parameters":[{"name":"workflowId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteWorkflowDto"}}}},"responses":{"200":{"description":"Workflow executed successfully"},"404":{"description":"Integration or workflow not found"}},"security":[{"bearer":[]}],"summary":"Execute a SIM workflow","tags":["SIM Integration"]}},"/api/integration/sim/workflows/{workflowId}/validate":{"get":{"operationId":"SimController_1_validateWorkflow","parameters":[{"name":"workflowId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Workflow validation result"}},"security":[{"bearer":[]}],"summary":"Validate a SIM workflow","tags":["SIM Integration"]}},"/api/integration/sim/jobs/{taskId}/status":{"get":{"operationId":"SimController_1_getJobStatus","parameters":[{"name":"taskId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status retrieved"}},"security":[{"bearer":[]}],"summary":"Get async job status","tags":["SIM Integration"]}},"/api/integration/sim/executions":{"get":{"operationId":"SimController_1_getExecutionHistory","parameters":[{"name":"workflowId","required":false,"in":"query","description":"Filter by workflow ID","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter by execution status","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records to return","schema":{"default":20,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Number of records to skip","schema":{"default":0,"type":"number"}}],"responses":{"200":{"description":"Execution history retrieved"}},"security":[{"bearer":[]}],"summary":"Get workflow execution history","tags":["SIM Integration"]}},"/api/integration/sim/status/{integrationTenantId}":{"get":{"operationId":"SimController_1_getIntegrationStatus","parameters":[{"name":"integrationTenantId","required":true,"in":"path","description":"Integration Tenant UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns integration status"}},"security":[{"bearer":[]}],"summary":"Check if SIM integration is enabled","tags":["SIM Integration"]}},"/api/integration/sim/integration-tenant/{integrationTenantId}":{"get":{"operationId":"SimController_1_getIntegrationTenant","parameters":[{"name":"integrationTenantId","required":true,"in":"path","description":"Integration Tenant UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns integration tenant information"}},"security":[{"bearer":[]}],"summary":"Get SIM integration tenant information","tags":["SIM Integration"]}},"/api/integration/sim/events/supported":{"get":{"operationId":"SimController_1_getSupportedEvents","parameters":[],"responses":{"200":{"description":"Returns list of supported event types"}},"security":[{"bearer":[]}],"summary":"Get supported event types for SIM workflow triggers","tags":["SIM Integration"]}},"/api/integration/sim/events/mappings":{"get":{"operationId":"SimController_1_getEventMappings","parameters":[],"responses":{"200":{"description":"Returns list of event-to-workflow mappings"}},"security":[{"bearer":[]}],"summary":"Get all event-to-workflow mappings","tags":["SIM Integration"]},"post":{"operationId":"SimController_1_setEventMapping","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMappingDto"}}}},"responses":{"200":{"description":"Event mapping saved"},"404":{"description":"SIM integration not found"}},"security":[{"bearer":[]}],"summary":"Set an event-to-workflow mapping for automatic workflow triggers","tags":["SIM Integration"]}},"/api/integration/sim/events/mappings/{event}":{"delete":{"operationId":"SimController_1_removeEventMapping","parameters":[{"name":"event","required":true,"in":"path","description":"The event type to remove from mapping (e.g., timer.started)","schema":{"type":"string"}}],"responses":{"200":{"description":"Event mapping removed"},"404":{"description":"SIM integration not found"}},"security":[{"bearer":[]}],"summary":"Remove an event-to-workflow mapping","tags":["SIM Integration"]}},"/api/integration/zapier/oauth/authorize":{"get":{"operationId":"ZapierAuthorizationController_1_authorize","parameters":[],"responses":{"200":{"description":"Successfully redirected to Zapier authorization URL"},"400":{"description":"Bad Request - Missing redirect URI"}},"summary":"Initiate OAuth2 authorization with Zapier","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/oauth/callback":{"get":{"operationId":"ZapierAuthorizationController_1_callback","parameters":[],"responses":{"200":{"description":"OAuth flow completed successfully"}},"summary":"Complete Zapier OAuth flow","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/oauth/token":{"post":{"operationId":"ZapierAuthorizationController_1_exchangeCodeForToken","parameters":[],"responses":{"200":{"description":"Successfully exchanged code for tokens"},"400":{"description":"Bad request - Invalid parameters"}},"summary":"Exchange authorization code for tokens","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/oauth/refresh-token":{"post":{"operationId":"ZapierAuthorizationController_1_refreshAccessToken","parameters":[],"responses":{"200":{"description":"Successfully refreshed token"},"400":{"description":"Bad request - Invalid parameters"}},"summary":"Refresh access token","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/auth/test":{"get":{"operationId":"ZapierAuthorizationController_1_testAuth","parameters":[{"name":"authorization","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Authentication is valid"},"401":{"description":"Invalid or missing access token"}},"summary":"Test Zapier authentication","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/auth/me":{"get":{"operationId":"ZapierAuthorizationController_1_getConnectionInfo","parameters":[{"name":"authorization","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns connection info for the Zapier account label"}},"summary":"Get Zapier connection info","tags":["Zapier OAuth2 Authorization"]}},"/api/integration/zapier/settings":{"post":{"operationId":"ZapierController_1_initializeIntegration","parameters":[],"responses":{"200":{"description":"Authorization URL generated successfully"},"400":{"description":"Bad Request - Missing required fields"}},"summary":"Initialize a new Zapier integration","tags":["Zapier Integrations"]},"get":{"operationId":"ZapierController_1_getSettings","parameters":[],"responses":{"200":{"description":"Retrieved tenant Zapier settings"},"404":{"description":"Tenant not found in request context"}},"summary":"Get Zapier integration settings for tenant","tags":["Zapier Integrations"]}},"/api/integration/zapier/triggers":{"get":{"operationId":"ZapierController_1_getTriggers","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved Zapier triggers"},"401":{"description":"Unauthorized - Invalid or missing authorization token"}},"summary":"Get available Zapier triggers","tags":["Zapier Integrations"]}},"/api/integration/zapier/actions":{"get":{"operationId":"ZapierController_1_getActions","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved Zapier actions"},"401":{"description":"Unauthorized - Invalid or missing authorization token"}},"summary":"Get available Zapier actions","tags":["Zapier Integrations"]}},"/api/integration/zapier/zaps":{"get":{"operationId":"ZapierController_1_getZaps","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved Zapier zaps"},"401":{"description":"Unauthorized - Invalid or missing authorization token"}},"summary":"Get Zapier zaps","tags":["Zapier Integrations"]},"post":{"operationId":"ZapierController_1_createZap","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"201":{"description":"Successfully created Zapier zap"},"400":{"description":"Bad Request - Missing required fields"},"401":{"description":"Unauthorized - Invalid or missing authorization token"}},"summary":"Create a new Zapier zap","tags":["Zapier Integrations"]}},"/api/integration/zapier/zap-templates":{"get":{"operationId":"ZapierController_1_getZapTemplates","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved Zapier zap templates"}},"summary":"Get Zapier zap templates (public)","tags":["Zapier Integrations"]}},"/api/integration/zapier/token/{integrationId}":{"get":{"operationId":"ZapierController_1_getZapierToken","parameters":[{"name":"integrationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved Zapier access token"},"404":{"description":"Access token not found for the given integration"}},"summary":"Get Zapier access token for integration","tags":["Zapier Integrations"]}},"/api/integration/zapier/webhooks":{"post":{"operationId":"ZapierWebhookController_1_createWebhook","parameters":[{"name":"Authorization","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"201":{"description":"Webhook subscription created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierWebhookSubscription"}}}},"400":{"description":"Bad Request - Missing required fields"},"401":{"description":"Unauthorized - Invalid or missing authorization token"},"403":{"description":"Forbidden - Invalid token"},"500":{"description":"Internal Server Error"}},"summary":"Create a new Zapier webhook subscription","tags":["ZapierWebhookController_1"]}},"/api/integration/zapier/webhooks/{id}":{"delete":{"operationId":"ZapierWebhookController_1_deleteWebhook","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"Authorization","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook subscription deleted successfully"},"400":{"description":"Bad Request - Missing or invalid parameters"},"401":{"description":"Unauthorized - Invalid or missing authorization token"},"403":{"description":"Forbidden - Invalid token"},"500":{"description":"Internal Server Error"}},"summary":"Delete an existing Zapier webhook subscription","tags":["ZapierWebhookController_1"]}},"/api/employee-proposal-template/pagination":{"get":{"description":"Retrieves a paginated list of employee proposal templates.","operationId":"EmployeeProposalTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","description":"Number of records to retrieve.","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip.","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successful retrieval of paginated results.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeProposalTemplate"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated employee proposal templates","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template/{id}/make-default":{"patch":{"operationId":"EmployeeProposalTemplate_makeDefault","parameters":[{"name":"id","required":true,"in":"path","description":"The UUID of the proposal template to be marked default.","schema":{"type":"string"}}],"requestBody":{"required":false,"description":"Optional data to process while making the template default.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalTemplateDTO"}}}},"responses":{"200":{"description":"Record updated successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Make Default","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template":{"get":{"description":"Retrieves all existing employee proposal templates, optionally paginated.","operationId":"EmployeeProposalTemplate_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","description":"Number of records to retrieve.","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip.","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeProposalTemplate"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all employee proposal templates","tags":["EmployeeProposalTemplate"]},"post":{"description":"Creates a new employee proposal template in the database.","operationId":"EmployeeProposalTemplate_create","parameters":[],"requestBody":{"required":true,"description":"Payload to create a new proposal template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProposalTemplateDTO"}}}},"responses":{"201":{"description":"The proposal template has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProposalTemplateDTO"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create employee proposal template","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template/{id}":{"put":{"description":"Updates an existing employee proposal template by ID.","operationId":"EmployeeProposalTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Payload to update a proposal template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProposalTemplateDTO"}}}},"responses":{"200":{"description":"The proposal template has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProposalTemplateDTO"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update employee proposal template","tags":["EmployeeProposalTemplate"]},"get":{"operationId":"EmployeeProposalTemplate_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EmployeeProposalTemplate"]},"delete":{"operationId":"EmployeeProposalTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template/count":{"get":{"operationId":"EmployeeProposalTemplate_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template/{id}/soft":{"delete":{"operationId":"EmployeeProposalTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeProposalTemplate"]}},"/api/employee-proposal-template/{id}/recover":{"put":{"operationId":"EmployeeProposalTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeProposalTemplate"]}},"/api/employee-job":{"get":{"operationId":"EmployeeJobPost_findAll","parameters":[],"responses":{"200":{"description":"Found employee job posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeJobPost"}}}},"404":{"description":"Record not found"}},"summary":"Find all employee job posts","tags":["EmployeeJobPost"]}},"/api/employee-job/statistics":{"get":{"operationId":"EmployeeJobPost_getEmployeeJobsStatistics","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Employee job statistics found"},"400":{"description":"Invalid input. The response body may contain clues about what went wrong."}},"summary":"Retrieve employee job statistics","tags":["EmployeeJobPost"]}},"/api/employee-job/{id}/job-search-status":{"put":{"operationId":"EmployeeJobPost_updateJobSearchStatus","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeJobStatisticDTO"}}}},"responses":{"201":{"description":"Job search status has been successfully updated."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."}},"summary":"Update Job Search Status","tags":["EmployeeJobPost"]}},"/api/employee-job/apply":{"post":{"operationId":"EmployeeJobPost_apply","parameters":[],"responses":{"200":{"description":"Apply for a Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeJobPost"}}}},"404":{"description":"Record not found"}},"summary":"Apply for a Job","tags":["EmployeeJobPost"]}},"/api/employee-job/updateApplied":{"post":{"operationId":"EmployeeJobPost_updateApplied","parameters":[],"responses":{"200":{"description":"Update applied for a job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeJobPost"}}}},"404":{"description":"Record not found"}},"summary":"Update applied for a job","tags":["EmployeeJobPost"]}},"/api/employee-job/hide":{"post":{"operationId":"EmployeeJobPost_updateVisibility","parameters":[],"responses":{"200":{"description":"Update visibility for a job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeJobPost"}}}},"404":{"description":"Record not found"}},"summary":"Hide job","tags":["EmployeeJobPost"]}},"/api/employee-job/pre-process":{"post":{"operationId":"EmployeeJobPost_preProcessEmployeeJobApplication","parameters":[],"responses":{"201":{"description":""}},"summary":"Create employee job application record","tags":["EmployeeJobPost"]}},"/api/employee-job/application/{employeeJobApplicationId}":{"get":{"operationId":"EmployeeJobPost_getEmployeeJobApplication","parameters":[{"name":"employeeJobApplicationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get AI generated proposal for employee job application.","tags":["EmployeeJobPost"]}},"/api/employee-job/generate-proposal/{employeeJobApplicationId}":{"post":{"operationId":"EmployeeJobPost_generateAIProposal","parameters":[{"name":"employeeJobApplicationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"summary":"Generate AI proposal for employee job application","tags":["EmployeeJobPost"]}},"/api/job-preset/job-search-occupation/count":{"get":{"operationId":"JobSearchOccupation_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-occupation/pagination":{"get":{"operationId":"JobSearchOccupation_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-occupation":{"get":{"operationId":"JobSearchOccupation_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["JobSearchOccupation"]},"post":{"operationId":"JobSearchOccupation_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-occupation/{id}":{"get":{"operationId":"JobSearchOccupation_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["JobSearchOccupation"]},"put":{"operationId":"JobSearchOccupation_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["JobSearchOccupation"]},"delete":{"operationId":"JobSearchOccupation_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-occupation/{id}/soft":{"delete":{"operationId":"JobSearchOccupation_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-occupation/{id}/recover":{"put":{"operationId":"JobSearchOccupation_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["JobSearchOccupation"]}},"/api/job-preset/job-search-category/count":{"get":{"operationId":"JobSearchCategory_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["JobSearchCategory"]}},"/api/job-preset/job-search-category/pagination":{"get":{"operationId":"JobSearchCategory_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["JobSearchCategory"]}},"/api/job-preset/job-search-category":{"get":{"operationId":"JobSearchCategory_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["JobSearchCategory"]},"post":{"operationId":"JobSearchCategory_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["JobSearchCategory"]}},"/api/job-preset/job-search-category/{id}":{"get":{"operationId":"JobSearchCategory_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["JobSearchCategory"]},"put":{"operationId":"JobSearchCategory_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["JobSearchCategory"]},"delete":{"operationId":"JobSearchCategory_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["JobSearchCategory"]}},"/api/job-preset/job-search-category/{id}/soft":{"delete":{"operationId":"JobSearchCategory_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["JobSearchCategory"]}},"/api/job-preset/job-search-category/{id}/recover":{"put":{"operationId":"JobSearchCategory_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["JobSearchCategory"]}},"/api/job-preset/employee/{employeeId}":{"get":{"operationId":"EmployeePreset_getEmployeePreset","parameters":[{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found employee job preset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Retrieves the job preset for a specific employee.","tags":["EmployeeJobPreset"]}},"/api/job-preset/employee/{employeeId}/criterion":{"get":{"operationId":"EmployeePreset_getEmployeeCriterion","parameters":[{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found matching criteria for employee job presets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Find all employee job posts","tags":["EmployeeJobPreset"]},"post":{"operationId":"EmployeePreset_saveUpdateEmployeeCriterion","parameters":[{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveJobPresetCriterionDTO"}}}},"responses":{"200":{"description":"Employee job presets saved or updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Save or update employee job presets","tags":["EmployeeJobPreset"]}},"/api/job-preset/employee":{"post":{"operationId":"EmployeePreset_saveEmployeePreset","parameters":[],"responses":{"200":{"description":"Employee job preset saved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Save Employee preset","tags":["EmployeeJobPreset"]}},"/api/job-preset/employee/{employeeId}/criterion/{criterionId}":{"delete":{"operationId":"EmployeePreset_deleteEmployeeCriterion","parameters":[{"name":"criterionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Employee job preset criterion deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Delete employee job preset criterion","tags":["EmployeeJobPreset"]}},"/api/job-preset":{"get":{"operationId":"JobSearchPreset_getAll","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"employeeId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found employee job presets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Find all employee job posts","tags":["JobSearchPreset"]},"post":{"operationId":"JobSearchPreset_createJobPreset","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateJobPresetDTO"}}}},"responses":{"200":{"description":"Job preset created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"400":{"description":"Invalid job preset data"}},"summary":"Create a new job preset","tags":["JobSearchPreset"]}},"/api/job-preset/{id}":{"get":{"operationId":"JobSearchPreset_get","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found employee job preset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Record not found"}},"summary":"Find an employee job preset by ID","tags":["JobSearchPreset"]}},"/api/job-preset/{id}/criterion":{"get":{"operationId":"JobSearchPreset_getJobPresetCriterion","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found job preset criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPresetUpworkJobSearchCriterion"}}}},"404":{"description":"Record not found"}},"summary":"Find job preset criteria by job preset ID","tags":["JobSearchPreset"]}},"/api/job-preset/{jobPresetId}/criterion":{"post":{"operationId":"JobSearchPreset_saveUpdate","parameters":[{"name":"jobPresetId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveJobPresetCriterionDTO"}}}},"responses":{"200":{"description":"Job preset criteria saved or updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"400":{"description":"Invalid job preset criteria data"}},"summary":"Save or update job preset criteria","tags":["JobSearchPreset"]}},"/api/job-preset/criterion/{criterionId}":{"delete":{"operationId":"JobSearchPreset_deleteJobPresetCriterion","parameters":[{"name":"criterionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Job preset criterion deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobPreset"}}}},"404":{"description":"Job preset criterion not found"}},"summary":"Delete job preset criterion by ID","tags":["JobSearchPreset"]}},"/api/help-center":{"get":{"operationId":"HelpCenter_findAll","parameters":[],"responses":{"200":{"description":"Found tree","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenter"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all menus.","tags":["KnowledgeBase"]},"post":{"operationId":"HelpCenter_create","parameters":[],"responses":{"201":{"description":"Success Add category","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenter"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new category","tags":["KnowledgeBase"]}},"/api/help-center/updateBulk":{"post":{"operationId":"HelpCenter_updateBulk","parameters":[],"responses":{"201":{"description":"Indexes have been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update indexes in Bulk","tags":["KnowledgeBase"]}},"/api/help-center/base/{baseId}":{"get":{"operationId":"HelpCenter_findByBaseId","parameters":[{"name":"baseId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found base categories","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenter"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Categories By Base Id.","tags":["KnowledgeBase"]},"delete":{"operationId":"HelpCenter_deleteBulkByBaseId","parameters":[{"name":"baseId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found base categories","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenter"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Categories By Base Id.","tags":["KnowledgeBase"]}},"/api/help-center/count":{"get":{"operationId":"HelpCenter_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KnowledgeBase"]}},"/api/help-center/pagination":{"get":{"operationId":"HelpCenter_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KnowledgeBase"]}},"/api/help-center/{id}":{"get":{"operationId":"HelpCenter_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["KnowledgeBase"]},"put":{"operationId":"HelpCenter_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["KnowledgeBase"]},"delete":{"operationId":"HelpCenter_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["KnowledgeBase"]}},"/api/help-center/{id}/soft":{"delete":{"operationId":"HelpCenter_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KnowledgeBase"]}},"/api/help-center/{id}/recover":{"put":{"operationId":"HelpCenter_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KnowledgeBase"]}},"/api/help-center-article":{"post":{"operationId":"HelpCenterArticle_create","parameters":[],"responses":{"201":{"description":"Success Add article","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticle"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new article","tags":["KnowledgeBaseArticle"]},"get":{"operationId":"HelpCenterArticle_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}/duplicate":{"post":{"operationId":"HelpCenterArticle_duplicate","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Article duplicated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticle"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Duplicate an article","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/category/{categoryId}":{"get":{"operationId":"HelpCenterArticle_findByCategoryId","parameters":[{"name":"categoryId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found category articles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticle"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find articles By Category Id.","tags":["KnowledgeBaseArticle"]},"delete":{"operationId":"HelpCenterArticle_deleteBulkByCategoryId","parameters":[{"name":"categoryId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted Articles By Category Id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticle"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Articles By Category Id.","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/project/{projectId}":{"get":{"operationId":"HelpCenterArticle_findByProjectId","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found project articles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticle"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find articles By Project Id.","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}/description":{"get":{"operationId":"HelpCenterArticle_getDescription","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Binary returned."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get article binary description","tags":["KnowledgeBaseArticle"]},"patch":{"operationId":"HelpCenterArticle_patchDescription","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Description updated."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Atomic update of all description fields (binary + HTML + JSON)","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}/binary-description":{"put":{"operationId":"HelpCenterArticle_uploadBinaryDescription","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Binary saved."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Upload binary description (octet-stream)","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}":{"put":{"operationId":"HelpCenterArticle_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHelpCenterArticleDTO"}}}},"responses":{"200":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["KnowledgeBaseArticle"]},"get":{"operationId":"HelpCenterArticle_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["KnowledgeBaseArticle"]},"delete":{"operationId":"HelpCenterArticle_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/count":{"get":{"operationId":"HelpCenterArticle_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/pagination":{"get":{"operationId":"HelpCenterArticle_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}/soft":{"delete":{"operationId":"HelpCenterArticle_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article/{id}/recover":{"put":{"operationId":"HelpCenterArticle_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KnowledgeBaseArticle"]}},"/api/help-center-article-version":{"get":{"operationId":"HelpCenterArticleVersion_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Versions retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HelpCenterArticleVersion"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all versions","tags":["KnowledgeBaseArticleVersion"]},"post":{"operationId":"HelpCenterArticleVersion_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/{id}":{"get":{"operationId":"HelpCenterArticleVersion_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Version retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterArticleVersion"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Version not found"}},"security":[{"bearer":[]}],"summary":"Get version by ID","tags":["KnowledgeBaseArticleVersion"]},"put":{"operationId":"HelpCenterArticleVersion_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["KnowledgeBaseArticleVersion"]},"delete":{"operationId":"HelpCenterArticleVersion_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/{id}/restore":{"post":{"operationId":"HelpCenterArticleVersion_restoreVersion","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Article restored to version successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Version not found"}},"security":[{"bearer":[]}],"summary":"Restore article to a specific version","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/count":{"get":{"operationId":"HelpCenterArticleVersion_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/pagination":{"get":{"operationId":"HelpCenterArticleVersion_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/{id}/soft":{"delete":{"operationId":"HelpCenterArticleVersion_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-article-version/{id}/recover":{"put":{"operationId":"HelpCenterArticleVersion_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KnowledgeBaseArticleVersion"]}},"/api/help-center-author/article/{articleId}":{"get":{"operationId":"HelpCenterAuthor_findByArticleId","parameters":[{"name":"articleId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found article authors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterAuthor"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find authors By Article Id.","tags":["KnowledgeBaseAuthor"]},"delete":{"operationId":"HelpCenterAuthor_deleteBulkByArticleId","parameters":[{"name":"articleId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found article authors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterAuthor"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Authors By Article Id.","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author":{"get":{"operationId":"HelpCenterAuthor_findAll","parameters":[],"responses":{"200":{"description":"Found authors","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HelpCenterAuthor"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all authors.","tags":["KnowledgeBaseAuthor"]},"post":{"operationId":"HelpCenterAuthor_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/createBulk":{"post":{"operationId":"HelpCenterAuthor_createBulk","parameters":[],"responses":{"201":{"description":"Authors have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create authors in Bulk","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/count":{"get":{"operationId":"HelpCenterAuthor_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/pagination":{"get":{"operationId":"HelpCenterAuthor_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/{id}":{"get":{"operationId":"HelpCenterAuthor_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["KnowledgeBaseAuthor"]},"put":{"operationId":"HelpCenterAuthor_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["KnowledgeBaseAuthor"]},"delete":{"operationId":"HelpCenterAuthor_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/{id}/soft":{"delete":{"operationId":"HelpCenterAuthor_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KnowledgeBaseAuthor"]}},"/api/help-center-author/{id}/recover":{"put":{"operationId":"HelpCenterAuthor_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KnowledgeBaseAuthor"]}},"/api/plugins/videos":{"get":{"operationId":"Videos_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"List of videos retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Video"}}}}},"404":{"description":"No videos found matching the provided criteria."}},"summary":"Retrieve a list of videos with optional pagination and filtering.","tags":["Video Plugin"]},"post":{"description":"This API Endpoint allows uploading the video file along with related metadata.","operationId":"Videos_create","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateVideoDTO"}}}},"responses":{"200":{"description":"Video successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Video"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Create video","tags":["Video Plugin"]}},"/api/plugins/videos/count":{"get":{"operationId":"Videos_getCount","parameters":[{"name":"tenantId","required":true,"in":"query","description":"The ID of the tenant.","schema":{"example":"d3b07384-d9a0-4d5f-bf6d-f1b5b71e9a37","type":"string"}},{"name":"organizationId","required":true,"in":"query","description":"The ID of the organization within the tenant.","schema":{"example":"a9e3fbc9-d0b7-4e85-b6f2-2eaf3a5d72dc","type":"string"}},{"name":"startDate","required":true,"in":"query","description":"The start date for filtering video records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-01-01T00:00:00.000Z","type":"string"}},{"name":"endDate","required":true,"in":"query","description":"The end date for filtering video records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-12-31T23:59:59.999Z","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the video count."},"400":{"description":"Invalid query parameters. Please check your input."},"500":{"description":"An error occurred while retrieving the video count."}},"summary":"Get video count in the same tenant","tags":["Video Plugin"]}},"/api/plugins/videos/{id}":{"put":{"description":"Updates an existing video record based on the provided ID and metadata.","operationId":"Videos_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVideoDTO"}}}},"responses":{"200":{"description":"The video has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Video"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Video record not found."}},"summary":"Update a video by ID","tags":["Video Plugin"]},"get":{"operationId":"Videos_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Get video by ID","tags":["Video Plugin"]},"delete":{"description":"Deletes a video record from the system based on the provided ID.","operationId":"Videos_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The video has been successfully deleted."},"403":{"description":"User does not have permission to delete videos."},"404":{"description":"Video record not found."}},"summary":"Delete a video by ID","tags":["Video Plugin"]}},"/api/plugins/camshots":{"get":{"description":"Retrieves a paginated list of camshots with optional filtering and sorting capabilities.","operationId":"Camshot_list","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"params","required":false,"in":"query","description":"Pagination and filtering parameters for camshots. Supports filtering by tenant, organization, and other camshot properties.","schema":{"$ref":"#/components/schemas/"}}],"responses":{"200":{"description":"Camshots successfully fetched."},"401":{"description":"User is not authorized to access camshots."},"403":{"description":"User does not have permission to list camshots."}},"summary":"Get paginated list of camshots","tags":["Camshot Plugin"]},"post":{"description":"This API Endpoint allows uploading the camshot file along with related metadata.","operationId":"Camshot_create","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateCamshotDTO"}}}},"responses":{"201":{"description":"Camshot created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Camshot"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Create camshot","tags":["Camshot Plugin"]}},"/api/plugins/camshots/count":{"get":{"operationId":"Camshot_getCount","parameters":[{"name":"tenantId","required":true,"in":"query","description":"The ID of the tenant.","schema":{"example":"d3b07384-d9a0-4d5f-bf6d-f1b5b71e9a37","type":"string"}},{"name":"organizationId","required":true,"in":"query","description":"The ID of the organization within the tenant.","schema":{"example":"a9e3fbc9-d0b7-4e85-b6f2-2eaf3a5d72dc","type":"string"}},{"name":"startDate","required":true,"in":"query","description":"The start date for filtering camshot records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-01-01T00:00:00.000Z","type":"string"}},{"name":"endDate","required":true,"in":"query","description":"The end date for filtering camshot records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-12-31T23:59:59.999Z","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the camshot count."},"400":{"description":"Invalid query parameters. Please check your input."},"500":{"description":"An error occurred while retrieving the camshot count."}},"summary":"Get camshot count in the same tenant","tags":["Camshot Plugin"]}},"/api/plugins/camshots/{id}":{"get":{"operationId":"Camshot_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"options","required":false,"in":"query","schema":{"$ref":"#/components/schemas/FindOptionsQueryDTO"}}],"responses":{"200":{"description":"Camshot successfully fetched by ID."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"404":{"description":"Camshot with the given ID not found."},"500":{"description":"An error occurred while retrieving the camshot."}},"summary":"Get camshot by ID","tags":["Camshot Plugin"]},"patch":{"description":"Soft-recovers a previously deleted camshot using its UUID, version UUID the plugin ID.","operationId":"Camshot_recover","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the camshot to recover","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Camshot recovered successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to recover this camshot."},"404":{"description":"Camshot record not found."}},"summary":"Recover a deleted camshot","tags":["Camshot Plugin"]},"delete":{"operationId":"Camshot_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","description":"If true, forcefully deletes the camshot, bypassing soft-delete logic. Optional.","schema":{"example":false,"type":"boolean"}},{"name":"organizationId","required":false,"in":"query","description":"Organization ID associated with the camshot. Optional, must be a valid UUID if provided.","schema":{"example":"a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d","type":"string"}},{"name":"tenantId","required":false,"in":"query","description":"Tenant ID associated with the camshot. Optional, must be a valid UUID if provided.","schema":{"example":"f1e2d3c4-b5a6-7c8d-9e0f-1a2b3c4d5e6f","type":"string"}}],"responses":{"200":{"description":"Camshot successfully deleted."},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Delete a camshot record","tags":["Camshot Plugin"]}},"/api/plugins/soundshots":{"get":{"description":"Retrieves a paginated list of soundshots with optional filtering and sorting capabilities.","operationId":"Soundshot_list","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"startDate","required":false,"in":"query","description":"The start date for filtering soundshot records.","schema":{"format":"date-time","nullable":true,"type":"string"}},{"name":"endDate","required":false,"in":"query","description":"The end date for filtering soundshot records.","schema":{"format":"date-time","nullable":true,"type":"string"}},{"name":"tenantId","required":false,"in":"query","description":"The ID of the tenant.","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","description":"The ID of the organization within the tenant.","schema":{"type":"string"}},{"name":"employeeIds","required":false,"in":"query","description":"List of employee IDs to filter soundshots by.","schema":{"type":"array","items":{"type":"string"}}},{"name":"timeZone","required":false,"in":"query","description":"The timezone for date filtering, e.g., \"UTC\", \"America/New_York\".","schema":{"type":"string"}},{"name":"params","required":false,"in":"query","description":"Pagination and filtering parameters for soundshots. Supports filtering by tenant, organization, and other soundshot properties.","schema":{"$ref":"#/components/schemas/"}}],"responses":{"200":{"description":"Soundshots successfully fetched."},"401":{"description":"User is not authorized to access soundshots."},"403":{"description":"User does not have permission to list soundshots."}},"summary":"Get paginated list of soundshots","tags":["Soundshot Plugin"]},"post":{"description":"This API Endpoint allows uploading the soundshot file along with related metadata.","operationId":"Soundshot_create","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateSoundshotDTO"}}}},"responses":{"201":{"description":"Soundshot created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Soundshot"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Create soundshot","tags":["Soundshot Plugin"]}},"/api/plugins/soundshots/count":{"get":{"operationId":"Soundshot_getCount","parameters":[{"name":"tenantId","required":true,"in":"query","description":"The ID of the tenant.","schema":{"example":"d3b07384-d9a0-4d5f-bf6d-f1b5b71e9a37","type":"string"}},{"name":"organizationId","required":true,"in":"query","description":"The ID of the organization within the tenant.","schema":{"example":"a9e3fbc9-d0b7-4e85-b6f2-2eaf3a5d72dc","type":"string"}},{"name":"startDate","required":false,"in":"query","description":"The start date for filtering soundshot records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-01-01T00:00:00.000Z","type":"string"}},{"name":"endDate","required":false,"in":"query","description":"The end date for filtering soundshot records. Can be provided as a string or a Date object.","schema":{"format":"date-time","nullable":true,"example":"2023-12-31T23:59:59.999Z","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved the soundshot count."},"400":{"description":"Invalid query parameters. Please check your input."},"500":{"description":"An error occurred while retrieving the soundshot count."}},"summary":"Get soundshot count in the same tenant","tags":["Soundshot Plugin"]}},"/api/plugins/soundshots/{id}":{"get":{"operationId":"Soundshot_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Get soundshot by ID","tags":["Soundshot Plugin"]},"patch":{"description":"Soft-recovers a previously deleted soundshot using its UUID and the plugin ID.","operationId":"Soundshot_recover","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the soundshot to recover","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Soundshot recovered successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to recover this soundshot."},"404":{"description":"Soundshot record not found."}},"summary":"Recover a deleted soundshot","tags":["Soundshot Plugin"]},"delete":{"operationId":"Soundshot_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","description":"If true, forcefully deletes the soundshot, bypassing soft-delete logic. Optional.","schema":{"example":false,"type":"boolean"}},{"name":"organizationId","required":false,"in":"query","description":"Organization ID associated with the soundshot. Optional, must be a valid UUID if provided.","schema":{"example":"a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d","type":"string"}},{"name":"tenantId","required":false,"in":"query","description":"Tenant ID associated with the soundshot. Optional, must be a valid UUID if provided.","schema":{"example":"f1e2d3c4-b5a6-7c8d-9e0f-1a2b3c4d5e6f","type":"string"}}],"responses":{"200":{"description":"Soundshot successfully deleted."},"400":{"description":"Invalid input provided. Check the response body for error details."}},"summary":"Delete a soundshot record","tags":["Soundshot Plugin"]}},"/api/plugins/{pluginId}/users":{"get":{"description":"Retrieve all users assigned to a specific plugin.","operationId":"PluginUserAssignment_getPluginUserAssignments","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip","schema":{"type":"number"}},{"name":"take","required":false,"in":"query","description":"Number of records to take","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved plugin user assignments"}},"summary":"Get users assigned to a plugin","tags":["Plugins - User Assignment"]},"post":{"description":"Assign one or more users to a specific plugin.","operationId":"PluginUserAssignment_assignUsersToPlugin","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignPluginUsersDTO"}}}},"responses":{"201":{"description":"Successfully assigned users to plugin"}},"summary":"Assign users to a plugin","tags":["Plugins - User Assignment"]},"delete":{"description":"Remove one or more users from a specific plugin.","operationId":"PluginUserAssignment_unassignUsersFromPlugin","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnassignPluginUsersDTO"}}}},"responses":{"200":{"description":"Successfully unassigned users from plugin"}},"summary":"Unassign users from a plugin","tags":["Plugins - User Assignment"]}},"/api/plugins/{pluginId}/settings":{"post":{"operationId":"PluginSetting_create","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginSettingDTO"}}}},"responses":{"201":{"description":"Plugin setting created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSetting"}}}}},"summary":"Create plugin setting","tags":["Plugin Settings"]},"get":{"operationId":"PluginSetting_findAll","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginTenantId","required":false,"in":"query","description":"Filter by plugin tenant ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Filter by setting key","schema":{"type":"string"}},{"name":"category","required":false,"in":"query","description":"Filter by setting category","schema":{"type":"string"}},{"name":"dataType","required":false,"in":"query","description":"Data type","schema":{"type":"string","enum":["string","number","boolean","json","file"]}}],"responses":{"200":{"description":"Plugin settings retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSetting"}}}}}},"summary":"Get all plugin settings","tags":["Plugin Settings"]},"patch":{"operationId":"PluginSetting_bulkUpdateSettings","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdatePluginSettingsDTO"}}}},"responses":{"200":{"description":"Plugin settings updated successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSetting"}}}}}},"summary":"Bulk update plugin settings","tags":["Plugin Settings"]}},"/api/plugins/{pluginId}/settings/{id}":{"get":{"operationId":"PluginSetting_findOne","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"id","required":true,"in":"path","description":"Plugin setting ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin setting retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSetting"}}}}},"summary":"Get plugin setting by ID","tags":["Plugin Settings"]},"put":{"operationId":"PluginSetting_updateAndValidate","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"id","required":true,"in":"path","description":"Plugin setting ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Setting updated and validation result","content":{"application/json":{"schema":{"type":"object","properties":{"setting":{"$ref":"#/components/schemas/PluginSetting"},"validation":{"type":"object","properties":{"valid":{"type":"boolean"},"errors":{"type":"array","items":{"type":"string"}}}}}}}}}},"summary":"Update plugin setting and validate","tags":["Plugin Settings"]},"delete":{"operationId":"PluginSetting_delete","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"id","required":true,"in":"path","description":"Plugin setting ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin setting deleted successfully"}},"summary":"Delete plugin setting","tags":["Plugin Settings"]}},"/api/plugins/{pluginId}/subscriptions":{"post":{"operationId":"PluginSubscription_create","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchasePluginSubscriptionDTO"}}}},"responses":{"201":{"description":"Plugin subscription created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Create plugin subscription","tags":["Plugin Subscriptions"]},"get":{"operationId":"PluginSubscription_findAll","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginTenantId","required":false,"in":"query","description":"Plugin Tenant ID","schema":{"type":"string"}},{"name":"subscriberId","required":false,"in":"query","description":"Filter by subscriber ID","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter by subscription status","schema":{"type":"string","enum":["active","cancelled","expired","trial","past_due","suspended","pending"]}},{"name":"subscriptionType","required":false,"in":"query","description":"Subscription type","schema":{"type":"string","enum":["free","trial","basic","premium","enterprise","custom"]}},{"name":"scope","required":false,"in":"query","description":"Subscription scope","schema":{"type":"string","enum":["tenant","organization","user"]}},{"name":"expiring","required":false,"in":"query","description":"Show only expiring subscriptions","schema":{"type":"boolean"}},{"name":"days","required":false,"in":"query","description":"Days until expiry (default: 7)","schema":{"type":"number"}},{"name":"active","required":false,"in":"query","description":"Show only active subscriptions","schema":{"type":"boolean"}},{"name":"relations","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Plugin subscriptions retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}}},"summary":"Get all plugin subscriptions","tags":["Plugin Subscriptions"]}},"/api/plugins/{pluginId}/subscriptions/me":{"get":{"operationId":"PluginSubscription_getCurrentSubscription","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Current user's active plugin subscription retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Get current user's active subscription for plugin","tags":["Plugin Subscriptions"]}},"/api/plugins/{pluginId}/subscriptions/{id}":{"get":{"operationId":"PluginSubscription_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin subscription retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Get plugin subscription by ID","tags":["Plugin Subscriptions"]},"patch":{"operationId":"PluginSubscription_updateStatus","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Update plugin subscription status","tags":["Plugin Subscriptions"]},"put":{"operationId":"PluginSubscription_update","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginSubscriptionDTO"}}}},"responses":{"200":{"description":"Plugin subscription updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Update plugin subscription","tags":["Plugin Subscriptions"]},"delete":{"operationId":"PluginSubscription_delete","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"type":"string"}},{"name":"pluginTenantId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Plugin subscription deleted successfully"}},"summary":"Delete plugin subscription","tags":["Plugin Subscriptions"]}},"/api/plugins/{pluginId}/subscriptions/{id}/upgrade":{"post":{"operationId":"PluginSubscription_upgrade","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription upgraded successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Upgrade plugin subscription to a higher plan","tags":["Plugin Subscriptions"]}},"/api/plugins/{pluginId}/subscriptions/{id}/downgrade":{"post":{"operationId":"PluginSubscription_downgrade","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription downgraded successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}},"summary":"Downgrade plugin subscription to a lower plan","tags":["Plugin Subscriptions"]}},"/api/plugins/{pluginId}/subscription/access":{"get":{"description":"Validates if the current user has an active subscription to access the plugin","operationId":"PluginSubscriptionAccess_checkAccess","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Access check result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionAccessResponseDTO"}}}}},"summary":"Check plugin subscription access","tags":["Plugin Subscription Access"]}},"/api/plugins/{pluginId}/subscription/access/check":{"post":{"description":"Validates if a specific user has access to the plugin","operationId":"PluginSubscriptionAccess_checkUserAccess","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckPluginSubscriptionAccessDTO"}}}},"responses":{"200":{"description":"Access check result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionAccessResponseDTO"}}}}},"summary":"Check user plugin access","tags":["Plugin Subscription Access"]}},"/api/plugins/{pluginId}/subscription/access/assign":{"post":{"description":"Assigns a plugin to specific users when the organization or tenant owns an active subscription. This enables sharing organization/tenant-level subscriptions with team members.","operationId":"PluginSubscriptionAccess_assignUsers","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignPluginSubscriptionDTO"}}}},"responses":{"201":{"description":"Users successfully assigned to plugin subscription"},"403":{"description":"User does not have permission to assign subscriptions"}},"summary":"Assign plugin subscription to users","tags":["Plugin Subscription Access"]}},"/api/plugins/{pluginId}/subscription/access/revoke":{"post":{"description":"Removes plugin access from specific users at the organization/tenant level","operationId":"PluginSubscriptionAccess_revokeUsers","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokePluginSubscriptionAssignmentDTO"}}}},"responses":{"200":{"description":"Users successfully removed from plugin subscription"},"403":{"description":"User does not have permission to revoke subscriptions"}},"summary":"Revoke plugin subscription from users","tags":["Plugin Subscription Access"]}},"/api/plugin-plans":{"post":{"operationId":"PluginSubscriptionPlan_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginSubscriptionPlanDTO"}}}},"responses":{"201":{"description":"Plugin subscription plan created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}},"summary":"Create plugin subscription plan","tags":["Plugin Subscription Plans"]},"get":{"operationId":"PluginSubscriptionPlan_findAll","parameters":[{"name":"pluginId","required":false,"in":"query","description":"Filter by plugin ID","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter by plan type","schema":{"type":"string","enum":["free","trial","basic","premium","enterprise","custom"]}},{"name":"billingPeriod","required":false,"in":"query","description":"Billing period","schema":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly","one-time"]}},{"name":"isActive","required":false,"in":"query","description":"Filter by active status","schema":{"type":"boolean"}},{"name":"isPopular","required":false,"in":"query","description":"Filter by popular status","schema":{"type":"boolean"}},{"name":"isRecommended","required":false,"in":"query","description":"Filter by recommended status","schema":{"type":"boolean"}},{"name":"minPrice","required":false,"in":"query","description":"Minimum price filter","schema":{"type":"number"}},{"name":"maxPrice","required":false,"in":"query","description":"Maximum price filter","schema":{"type":"number"}},{"name":"currency","required":false,"in":"query","description":"Currency filter","schema":{"type":"string"}},{"name":"hasTrial","required":false,"in":"query","description":"Has trial filter","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Plugin subscription plans retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}}},"summary":"Get all plugin subscription plans","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/bulk-create":{"post":{"operationId":"PluginSubscriptionPlan_createMultiple","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMultiplePluginPlansDTO"}}}},"responses":{"201":{"description":"Plugin subscription plans created successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}}},"summary":"Create multiple plugin subscription plans","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/active":{"get":{"operationId":"PluginSubscriptionPlan_getActivePlans","parameters":[{"name":"pluginId","required":false,"in":"query","description":"Filter by plugin ID","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter by plan type","schema":{"type":"string"}}],"responses":{"200":{"description":"Active plugin subscription plans retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}}},"summary":"Get active plugin subscription plans","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/plugin/{pluginId}":{"get":{"operationId":"PluginSubscriptionPlan_getByPluginId","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription plans retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}}},"summary":"Get plugin subscription plans by plugin ID","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/{id}":{"get":{"operationId":"PluginSubscriptionPlan_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription plan ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription plan retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}},"summary":"Get plugin subscription plan by ID","tags":["Plugin Subscription Plans"]},"put":{"operationId":"PluginSubscriptionPlan_update","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription plan ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginSubscriptionPlanDTO"}}}},"responses":{"200":{"description":"Plugin subscription plan updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}},"summary":"Update plugin subscription plan","tags":["Plugin Subscription Plans"]},"patch":{"operationId":"PluginSubscriptionPlan_partialUpdate","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription plan ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin subscription plan updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}},"summary":"Partially update plugin subscription plan","tags":["Plugin Subscription Plans"]},"delete":{"operationId":"PluginSubscriptionPlan_delete","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin subscription plan ID","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Plugin subscription plan deleted successfully"}},"summary":"Delete plugin subscription plan","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/copy":{"post":{"operationId":"PluginSubscriptionPlan_copy","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyPluginPlanDTO"}}}},"responses":{"201":{"description":"Plugin subscription plan copied successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginSubscriptionPlan_1"}}}}},"summary":"Copy plugin subscription plan","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/bulk":{"post":{"operationId":"PluginSubscriptionPlan_bulkOperation","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkPluginPlanOperationDTO"}}}},"responses":{"200":{"description":"Bulk operation completed successfully"}},"summary":"Bulk operations on plugin subscription plans","tags":["Plugin Subscription Plans"]}},"/api/plugin-plans/analytics":{"post":{"operationId":"PluginSubscriptionPlan_getAnalytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginPlanAnalyticsDTO"}}}},"responses":{"200":{"description":"Plugin subscription plan analytics retrieved successfully"}},"summary":"Get plugin subscription plan analytics","tags":["Plugin Subscription Plans"]}},"/api/plugins/{pluginId}/subscriptions/{subscriptionId}/billings":{"post":{"operationId":"PluginBilling_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginBillingDTO"}}}},"responses":{"201":{"description":"Plugin billing record created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}}},"security":[{"bearer":[]}],"summary":"Create plugin billing record","tags":["Plugin Billing"]},"get":{"operationId":"PluginBilling_findAll","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"subscriptionId","required":true,"in":"path","description":"Subscription ID","schema":{"format":"uuid","type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter by billing status (overdue, paid, pending, failed)","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin billing records retrieved successfully"}},"security":[{"bearer":[]}],"summary":"Get all plugin billing records","tags":["Plugin Billing"]}},"/api/plugins/{pluginId}/subscriptions/{subscriptionId}/billings/summary":{"get":{"operationId":"PluginBilling_getBillingSummary","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"subscriptionId","required":true,"in":"path","description":"Subscription ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Billing summary retrieved successfully"}},"security":[{"bearer":[]}],"summary":"Get billing summary for subscription","tags":["Plugin Billing"]}},"/api/plugins/{pluginId}/subscriptions/{subscriptionId}/billings/{id}":{"get":{"operationId":"PluginBilling_findOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin billing record retrieved successfully"}},"security":[{"bearer":[]}],"summary":"Get plugin billing record by ID","tags":["Plugin Billing"]},"put":{"operationId":"PluginBilling_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginBillingDTO"}}}},"responses":{"200":{"description":"Plugin billing record updated successfully"}},"security":[{"bearer":[]}],"summary":"Update plugin billing record","tags":["Plugin Billing"]},"patch":{"operationId":"PluginBilling_updateStatus","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"subscriptionId","required":true,"in":"path","description":"Subscription ID","schema":{"format":"uuid","type":"string"}},{"name":"id","required":true,"in":"path","description":"Billing record ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Billing record status updated successfully"}},"security":[{"bearer":[]}],"summary":"Update billing record status","tags":["Plugin Billing"]}},"/api/plugins/{pluginId}/tags":{"get":{"description":"Retrieve all tags associated with a specific plugin.","operationId":"PluginTags_getPluginTags","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved plugin tags","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginTag"}}}}}},"summary":"Get tags for a plugin","tags":["Plugins - Tag Management"]},"put":{"description":"Remove all existing tags from a plugin and associate it with a new set of tags.","operationId":"PluginTags_replacePluginTags","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplacePluginTagsDTO"}}}},"responses":{"200":{"description":"Successfully replaced plugin tags","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginTag"}}}}}},"summary":"Replace all tags for a plugin","tags":["Plugins - Tag Management"]}},"/api/plugins/{pluginId}/similar":{"get":{"description":"Get plugin details with optional similar plugins based on shared tags.","operationId":"PluginRecommendations_getPluginWithSimilar","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"similar","required":false,"in":"query","description":"Include similar plugins in response","schema":{"type":"boolean"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of similar plugins to return","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved plugin information","content":{"application/json":{"schema":{"type":"object","properties":{"similar":{"type":"array","items":{"type":"object","properties":{"pluginId":{"type":"string","format":"uuid"},"sharedTagsCount":{"type":"number"}}}}}}}}}},"summary":"Get plugin with optional similar plugins","tags":["Plugins - Recommendations"]}},"/api/plugins/{pluginId}/installations/{installationId}":{"patch":{"description":"Activate or deactivate a plugin installation by updating its status","operationId":"PluginActivation_updateStatus","parameters":[{"name":"pluginId","required":true,"in":"path","description":"UUID of the plugin","schema":{"format":"uuid","type":"string"}},{"name":"installationId","required":true,"in":"path","description":"UUID of the plugin installation","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["active","inactive"],"description":"New status for the installation"}},"required":["status"]}}}},"responses":{"200":{"description":"Plugin installation status updated successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to modify this plugin installation."},"404":{"description":"Plugin installation not found."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Update plugin installation status","tags":["Plugin Installation Management"]},"delete":{"description":"Removes a plugin installation by ID","operationId":"PluginInstallation_remove","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Unique identifier of the plugin","schema":{"example":"550e8400-e29b-41d4-a716-446655440000","type":"string"}},{"name":"installationId","required":true,"in":"path","description":"Unique identifier of the plugin installation","schema":{"example":"550e8400-e29b-41d4-a716-446655440000","type":"string"}}],"responses":{"204":{"description":"Plugin installation removed successfully"}},"summary":"Uninstall a plugin","tags":["Plugin Installation"]}},"/api/plugins/{pluginId}/installations":{"post":{"description":"Creates a new plugin installation for the current tenant. Requires a valid subscription for the plugin.","operationId":"PluginInstallation_create","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Unique identifier of the plugin","schema":{"example":"550e8400-e29b-41d4-a716-446655440000","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallPluginDTO"}}}},"responses":{"201":{"description":"Plugin installation created successfully"},"400":{"description":"Invalid plugin ID or version ID"},"403":{"description":"Valid subscription required or insufficient permissions"}},"summary":"Install a plugin with a specific version","tags":["Plugin Installation"]}},"/api/plugins/{pluginId}/versions/{versionId}/sources":{"get":{"operationId":"PluginSource_findAllSources","parameters":[{"name":"pluginId","required":true,"in":"path","schema":{"type":"string"}},{"name":"versionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"List of plugin sources retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSourceDTO"}}}}},"401":{"description":"Unauthorized access."},"404":{"description":"No plugin sources found matching the provided criteria."}},"summary":"List all plugin sources","tags":["Plugin Sources"]},"post":{"operationId":"PluginSource_create","parameters":[{"name":"pluginId","required":true,"in":"path","description":"The UUID of the plugin for which a new version is being associated to.","schema":{"format":"uuid","type":"string"}},{"name":"versionId","required":true,"in":"path","description":"The UUID of the version for which a new source is being created.","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"The data required to create a new plugin source.","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreatePluginSourceDTO"}}}},"responses":{"201":{"description":"Plugin source successfully created.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSourceDTO"}}}}},"400":{"description":"Bad request - Validation failed."},"404":{"description":"Version not found."}},"summary":"Create a new plugin source","tags":["Plugin Sources"]}},"/api/plugins/{pluginId}/versions/{versionId}/sources/{sourceId}":{"delete":{"description":"Soft removes a plugin source from the system based on the provided ID.","operationId":"PluginSource_delete","parameters":[{"name":"sourceId","required":true,"in":"path","description":"UUID of the plugin source to delete","schema":{"format":"uuid","type":"string"}},{"name":"versionId","required":true,"in":"path","description":"UUID of the associated plugin version to delete","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"UUID of the associated plugin to delete","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin source deleted successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to delete this plugin source."},"404":{"description":"Plugin source record not found."}},"summary":"Delete plugin source","tags":["Plugin Sources"]}},"/api/plugins/{pluginId}/versions/{versionId}/sources/{sourceId}/status":{"patch":{"description":"Updates a plugin source status, including restoring deleted sources.","operationId":"PluginSource_updateStatus","parameters":[{"name":"sourceId","required":true,"in":"path","description":"UUID of the plugin source to update","schema":{"format":"uuid","type":"string"}},{"name":"versionId","required":true,"in":"path","description":"UUID of the plugin source's version","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"UUID of the plugin to which the source's version belongs","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"Status update data","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["active","inactive","deleted","restored"],"description":"The new status for the plugin source"}},"required":["status"]}}}},"responses":{"200":{"description":"Plugin source status updated successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to update this plugin source."},"404":{"description":"Plugin source record not found."}},"summary":"Update plugin source status","tags":["Plugin Sources"]}},"/api/plugins/{pluginId}/versions":{"get":{"operationId":"PluginVersion_findAllVersions","parameters":[{"name":"pluginId","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"List of plugin versions retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginVersionDTO"}}}}},"401":{"description":"Unauthorized access."},"404":{"description":"No plugin versions found matching the provided criteria."}},"summary":"List all plugin versions","tags":["Plugin Versions"]},"post":{"operationId":"PluginVersion_createVersion","parameters":[{"name":"pluginId","required":true,"in":"path","description":"The UUID of the plugin for which a new version is being created.","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"The data required to create a new plugin version.","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PluginVersionDTO"}}}},"responses":{"201":{"description":"Plugin version successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginVersionDTO"}}}},"400":{"description":"Bad request - Validation failed."},"404":{"description":"Plugin not found."}},"summary":"Create a new plugin version","tags":["Plugin Versions"]}},"/api/plugins/{pluginId}/versions/{versionId}":{"put":{"description":"Updates an existing plugin version record based on the provided ID and metadata.","operationId":"PluginVersion_update","parameters":[{"name":"versionId","required":true,"in":"path","description":"UUID of the plugin version to update","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Updated plugin version data transfer object","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdatePluginVersionDTO"}}}},"responses":{"200":{"description":"Plugin version updated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginVersion_1"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."},"401":{"description":"Unauthorized access."},"404":{"description":"Plugin version record not found."}},"summary":"Update plugin version","tags":["Plugin Versions"]},"delete":{"description":"Soft removes a plugin version from the system based on the provided ID.","operationId":"PluginVersion_delete","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pluginId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","description":"UUID of the plugin version to delete","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin version deleted successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to delete this plugin version."},"404":{"description":"Plugin version record not found."}},"summary":"Delete plugin","tags":["Plugin Versions"]}},"/api/plugins/{pluginId}/versions/{versionId}/status":{"patch":{"description":"Updates a plugin version status, including restoring deleted versions.","operationId":"PluginVersion_updateStatus","parameters":[{"name":"versionId","required":true,"in":"path","description":"UUID of the plugin version to update","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"UUID of the plugin to which the version belongs","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"Status update data","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["active","inactive","deleted","restored"],"description":"The new status for the plugin version"}},"required":["status"]}}}},"responses":{"200":{"description":"Plugin version status updated successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to update this plugin version."},"404":{"description":"Plugin version record not found."}},"summary":"Update plugin version status","tags":["Plugin Versions"]}},"/api/plugins":{"get":{"description":"Retrieve a paginated list of plugins with optional filtering and search capabilities. Use query parameters for search, category, status, type filtering.","operationId":"Plugin_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"search","required":false,"in":"query","description":"Search text to filter plugins by name, description, or author","schema":{"example":"time tracking","type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter by plugin name (exact match)","schema":{"example":"Gauzy Time Tracker","type":"string"}},{"name":"description","required":false,"in":"query","description":"Filter by plugin description (partial match)","schema":{"example":"track time","type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter by plugin type","schema":{"example":"DESKTOP","type":"string","enum":["DESKTOP","WEB","MOBILE"]}},{"name":"status","required":false,"in":"query","description":"Filter by plugin status","schema":{"example":"ACTIVE","type":"string","enum":["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"]}},{"name":"isActive","required":false,"in":"query","description":"Filter by active state","schema":{"example":true,"type":"boolean"}},{"name":"categoryId","required":false,"in":"query","description":"Filter by plugin category ID","schema":{"example":"uuid-string","type":"string"}},{"name":"author","required":false,"in":"query","description":"Filter by plugin author","schema":{"example":"Gauzy Team","type":"string"}},{"name":"license","required":false,"in":"query","description":"Filter by plugin license","schema":{"example":"MIT","type":"string"}},{"name":"uploadedById","required":false,"in":"query","description":"Filter by user who uploaded the plugin","schema":{"example":"uuid-string","type":"string"}},{"name":"uploadedAfter","required":false,"in":"query","description":"Filter plugins uploaded after this date","schema":{"format":"date-time","example":"2024-01-01T00:00:00.000Z","type":"string"}},{"name":"uploadedBefore","required":false,"in":"query","description":"Filter plugins uploaded before this date","schema":{"format":"date-time","example":"2024-12-31T23:59:59.999Z","type":"string"}},{"name":"downloadedAfter","required":false,"in":"query","description":"Filter plugins downloaded after this date","schema":{"format":"date-time","example":"2024-01-01T00:00:00.000Z","type":"string"}},{"name":"downloadedBefore","required":false,"in":"query","description":"Filter plugins downloaded before this date","schema":{"format":"date-time","example":"2024-12-31T23:59:59.999Z","type":"string"}},{"name":"minDownloads","required":false,"in":"query","description":"Filter by minimum download count","schema":{"minimum":0,"example":10,"type":"number"}},{"name":"maxDownloads","required":false,"in":"query","description":"Filter by maximum download count","schema":{"minimum":0,"example":1000,"type":"number"}},{"name":"version","required":false,"in":"query","description":"Filter by version number","schema":{"example":"1.0.0","type":"string"}},{"name":"tags","required":false,"in":"query","description":"Filter by plugin tags","schema":{"example":["time-tracking","productivity"],"type":"array","items":{"type":"string"}}},{"name":"hasInstallations","required":false,"in":"query","description":"Include only plugins with installations","schema":{"example":true,"type":"boolean"}},{"name":"isVerified","required":false,"in":"query","description":"Include only verified plugins","schema":{"example":true,"type":"boolean"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"example":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Number of items per page","schema":{"minimum":1,"maximum":100,"example":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Sort field","schema":{"example":"name","type":"string","enum":["name","author","uploadedAt","lastDownloadedAt","downloadCount","createdAt","updatedAt"]}},{"name":"sortDirection","required":false,"in":"query","description":"Sort direction","schema":{"example":"ASC","type":"string","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"List of plugins retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Plugin_1"}}}}},"400":{"description":"Invalid search or filter criteria provided."},"401":{"description":"Unauthorized access."},"404":{"description":"No plugins found matching the provided criteria."}},"summary":"List all plugins with optional search and filtering","tags":["Plugin Registry"]},"post":{"description":"Uploads a plugin file along with metadata to register a new plugin in the system.","operationId":"PluginManagement_create","parameters":[],"requestBody":{"required":true,"description":"Plugin metadata and file","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreatePluginDTO"}}}},"responses":{"201":{"description":"Plugin created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plugin_1"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."},"401":{"description":"Unauthorized access."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Create new plugin","tags":["Plugin Management"]}},"/api/plugins/{id}":{"get":{"description":"Retrieves detailed information about a specific plugin by its UUID.","operationId":"Plugin_findById","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the plugin to retrieve","schema":{"format":"uuid","type":"string"}},{"name":"where","required":false,"in":"query","description":"Conditions to find a specific plugin","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","description":"Entity relations to include in the response","schema":{"example":["organization","tenant"],"type":"array","items":{"type":"string"}}},{"name":"select","required":false,"in":"query","description":"Fields to select from the plugin entity","schema":{"example":["id","name","version","enabled"],"type":"array","items":{"type":"string"}}},{"name":"order","required":false,"in":"query","description":"Order by fields","schema":{"example":{"name":"createdAt","version":"DESC"},"allOf":[{"$ref":"#/components/schemas/Object"}]}},{"name":"withDeleted","required":false,"in":"query","description":"Include soft deleted records","schema":{"default":false,"type":"boolean"}},{"name":"loadEagerRelations","required":false,"in":"query","description":"Load eager relations automatically","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Plugin retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plugin_1"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."},"401":{"description":"Unauthorized access."},"404":{"description":"Plugin record not found."}},"summary":"Get plugin by ID","tags":["Plugin Registry"]},"put":{"description":"Updates an existing plugin record based on the provided ID and metadata.","operationId":"PluginManagement_update","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the plugin to update","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"Updated plugin metadata","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdatePluginDTO"}}}},"responses":{"200":{"description":"Plugin updated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plugin_1"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."},"401":{"description":"Unauthorized access."},"404":{"description":"Plugin record not found."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Update plugin","tags":["Plugin Management"]},"patch":{"description":"Partially updates an existing plugin record with only the provided fields.","operationId":"PluginManagement_partialUpdate","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the plugin to update","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"Partial plugin metadata to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginDTO"}}}},"responses":{"200":{"description":"Plugin updated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plugin_1"}}}},"400":{"description":"Invalid input provided. Check the response body for error details."},"401":{"description":"Unauthorized access."},"404":{"description":"Plugin record not found."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Partially update plugin","tags":["Plugin Management"]},"delete":{"description":"Permanently removes a plugin from the system based on the provided ID.","operationId":"PluginManagement_delete","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the plugin to delete","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin deleted successfully."},"401":{"description":"Unauthorized access."},"403":{"description":"User does not have permission to delete this plugin."},"404":{"description":"Plugin record not found."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Delete plugin","tags":["Plugin Management"]}},"/api/plugins/{id}/tenant":{"get":{"description":"Retrieves or creates a plugin tenant relationship for a specific plugin. Returns the plugin tenant ID.","operationId":"PluginManagement_getPluginTenant","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the plugin","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Plugin tenant retrieved or created successfully."},"400":{"description":"Invalid input provided."},"404":{"description":"Plugin not found."}},"security":[{"api_key":[]},{"Bearer":[]}],"summary":"Get plugin tenant by plugin ID","tags":["Plugin Management"]}},"/api/plugins/{id}/verifications":{"post":{"operationId":"PluginSecurity_createVerification","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin ID in UUID format","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"description":"Verification data for the plugin","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyPluginDTO"}}}},"responses":{"200":{"description":"Plugin verification successful"},"400":{"description":"Bad request - validation failed"},"404":{"description":"Plugin not found"}},"summary":"Create or update plugin verification","tags":["Plugin Security"]}},"/api/tags/{tagId}/plugins":{"get":{"description":"Retrieve all plugins associated with a specific tag.","operationId":"TagPlugins_getTagPlugins","parameters":[{"name":"tagId","required":true,"in":"path","description":"Tag ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved tag plugins","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginTag"}}}}}},"summary":"Get plugins for a tag","tags":["Tags - Plugin Management"]}},"/api/plugin-tags":{"get":{"description":"Retrieve a paginated list of plugin-tag relationships with optional filtering by plugin, tag, or tenant/organization. Use ?aggregate=count for count aggregation.","operationId":"PluginTag_findAll","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"pluginId","required":false,"in":"query","description":"Filter by plugin ID","schema":{"format":"uuid","type":"string"}},{"name":"tagId","required":false,"in":"query","description":"Filter by tag ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginIds","required":false,"in":"query","description":"Filter by multiple plugin IDs (comma-separated)","schema":{"example":["123e4567-e89b-12d3-a456-426614174000","987fcdeb-51a2-43d1-9f4e-123456789abc"],"type":"array","items":{"type":"string"}}},{"name":"tagIds","required":false,"in":"query","description":"Filter by multiple tag IDs (comma-separated)","schema":{"example":["456e7890-f12b-34c5-d678-901234567def","abc12345-6789-def0-1234-56789abcdef0"],"type":"array","items":{"type":"string"}}},{"name":"aggregate","required":false,"in":"query","description":"Type of aggregation: count (redirects to count endpoint)","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved plugin-tag relationships","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginTag"}}}}}},"summary":"Get all plugin-tag relationships","tags":["Plugin Tags"]},"post":{"description":"Create a new relationship between a plugin and a tag. Validates that the relationship doesn't already exist.","operationId":"PluginTag_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginTagDTO"}}}},"responses":{"201":{"description":"Successfully created plugin-tag relationship","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTag"}}}},"400":{"description":"Invalid input data or relationship already exists"}},"summary":"Create plugin-tag relationship","tags":["Plugin Tags"]}},"/api/plugin-tags/{id}":{"get":{"description":"Retrieve a specific plugin-tag relationship by its unique identifier.","operationId":"PluginTag_findById","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin-tag relationship ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved plugin-tag relationship","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTag"}}}},"404":{"description":"Plugin-tag relationship not found"}},"summary":"Get plugin-tag relationship by ID","tags":["Plugin Tags"]},"put":{"description":"Update properties of an existing plugin-tag relationship such as priority or featured status.","operationId":"PluginTag_update","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin-tag relationship ID","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginTagDTO"}}}},"responses":{"200":{"description":"Successfully updated plugin-tag relationship","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTag"}}}},"404":{"description":"Plugin-tag relationship not found"}},"summary":"Update plugin-tag relationship","tags":["Plugin Tags"]},"delete":{"description":"Remove a specific plugin-tag relationship by its ID.","operationId":"PluginTag_delete","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin-tag relationship ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Successfully deleted plugin-tag relationship"},"404":{"description":"Plugin-tag relationship not found"}},"summary":"Delete plugin-tag relationship","tags":["Plugin Tags"]}},"/api/plugin-tags/batch":{"post":{"description":"Associate multiple tags with a single plugin in one operation. Skips existing relationships.","operationId":"PluginTag_batchCreate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreatePluginTagDTO"}}}},"responses":{"201":{"description":"Successfully created plugin-tag relationships","content":{"application/json":{"schema":{"type":"object","properties":{"created":{"type":"number","description":"Number of relationships created"},"existing":{"type":"number","description":"Number of relationships that already existed"},"pluginTags":{"type":"array","items":{"$ref":"#/components/schemas/PluginTag"}}}}}}}},"summary":"Batch create plugin-tag relationships","tags":["Plugin Tags"]},"delete":{"description":"Remove multiple plugin-tag relationships based on various criteria such as plugin ID, tag ID, or specific relationship IDs.","operationId":"PluginTag_batchDelete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeletePluginTagDTO"}}}},"responses":{"200":{"description":"Successfully deleted plugin-tag relationships","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"number","description":"Number of relationships deleted"}}}}}}},"summary":"Batch delete plugin-tag relationships","tags":["Plugin Tags"]}},"/api/plugin-categories":{"post":{"operationId":"PluginCategory_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginCategoryDTO"}}}},"responses":{"201":{"description":"Plugin category created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}}},"summary":"Create plugin category","tags":["Plugin Categories"]},"get":{"operationId":"PluginCategory_findAll","parameters":[{"name":"format","required":false,"in":"query","description":"Response format (tree for hierarchical structure)","schema":{"enum":["tree","flat"],"type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter by category name","schema":{"example":"Authentication","type":"string"}},{"name":"slug","required":false,"in":"query","description":"Filter by category slug","schema":{"example":"authentication","type":"string"}},{"name":"isActive","required":false,"in":"query","description":"Filter by active status","schema":{"example":true,"type":"boolean"}},{"name":"parentId","required":false,"in":"query","description":"Filter by parent category ID","schema":{"example":"uuid-string","type":"string"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"example":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Number of items per page","schema":{"minimum":1,"maximum":100,"example":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Sort field","schema":{"example":"name","type":"string","enum":["name","slug","order","createdAt","updatedAt"]}},{"name":"sortDirection","required":false,"in":"query","description":"Sort direction","schema":{"example":"ASC","type":"string","enum":["ASC","DESC"]}},{"name":"relations","required":false,"in":"query","description":"Relations to include","schema":{"example":["parent","children","plugins"],"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Plugin categories retrieved successfully"}},"summary":"Get all plugin categories","tags":["Plugin Categories"]}},"/api/plugin-categories/{id}":{"get":{"operationId":"PluginCategory_findOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"relations","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Plugin category retrieved successfully"}},"summary":"Get plugin category by ID","tags":["Plugin Categories"]},"put":{"operationId":"PluginCategory_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginCategoryDTO"}}}},"responses":{"200":{"description":"Plugin category updated successfully"}},"summary":"Update plugin category","tags":["Plugin Categories"]},"patch":{"operationId":"PluginCategory_partialUpdate","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin category partially updated successfully"}},"summary":"Partially update plugin category","tags":["Plugin Categories"]},"delete":{"operationId":"PluginCategory_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Plugin category deleted successfully"}},"summary":"Delete plugin category","tags":["Plugin Categories"]}},"/api/users/{userId}/plugins":{"get":{"description":"Retrieve all plugins assigned to a specific user.","operationId":"UserPluginAssignment_getUserPluginAssignments","parameters":[{"name":"userId","required":true,"in":"path","description":"User ID","schema":{"format":"uuid","type":"string"}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip","schema":{"type":"number"}},{"name":"take","required":false,"in":"query","description":"Number of records to take","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved user plugin assignments"}},"summary":"Get plugins assigned to a user","tags":["Users - Plugin Assignment"]}},"/api/users/{userId}/plugins/{pluginId}/access":{"get":{"description":"Check if a user has access to a specific plugin.","operationId":"UserPluginAssignment_checkUserPluginAccess","parameters":[{"name":"userId","required":true,"in":"path","description":"User ID","schema":{"format":"uuid","type":"string"}},{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Successfully checked user plugin access"}},"summary":"Check user plugin access","tags":["Users - Plugin Assignment"]}},"/api/plugin-user-assignments":{"get":{"description":"Retrieve all plugin user assignments.","operationId":"PluginUserAssignmentManagement_getAllPluginUserAssignments","parameters":[{"name":"skip","required":false,"in":"query","description":"Number of records to skip","schema":{"type":"number"}},{"name":"take","required":false,"in":"query","description":"Number of records to take","schema":{"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved all plugin user assignments"}},"summary":"Get all plugin user assignments","tags":["Plugins - User Assignment Management"]}},"/api/plugins/analytics/tags":{"get":{"description":"Retrieve analytics and statistics about plugin-tag relationships including most popular tags and most tagged plugins.","operationId":"PluginAnalytics_getTagAnalytics","parameters":[{"name":"tenantId","required":false,"in":"query","description":"Filter analytics by tenant ID","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","description":"Filter analytics by organization ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved plugin-tag analytics","content":{"application/json":{"schema":{"type":"object","properties":{"totalRelationships":{"type":"number"},"taggedPlugins":{"type":"number"},"usedTags":{"type":"number"},"popularTags":{"type":"array","items":{"type":"object"}},"mostTaggedPlugins":{"type":"array","items":{"type":"object"}}}}}}}},"summary":"Get plugin-tag analytics","tags":["Plugin Analytics"]}},"/api/plugins/subscriptions/analytics/expiring":{"get":{"description":"Retrieve subscriptions that are expiring within specified days","operationId":"PluginSubscriptionAnalytics_getExpiringSubscriptions","parameters":[{"name":"days","required":false,"in":"query","description":"Days until expiry (default: 7)","schema":{"type":"number"}}],"responses":{"200":{"description":"Expiring subscriptions retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSubscription_1"}}}}}},"summary":"Get expiring subscriptions","tags":["Plugin Subscription Analytics"]}},"/api/plugins/subscriptions/analytics/access-verification":{"get":{"description":"Check if current user/tenant has access to specified plugin","operationId":"PluginSubscriptionAnalytics_verifyPluginAccess","parameters":[{"name":"pluginId","required":true,"in":"query","description":"Plugin ID to check access for","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin access verification completed","content":{"application/json":{"schema":{"type":"object","properties":{"hasAccess":{"type":"boolean"},"subscription":{"$ref":"#/components/schemas/PluginSubscription"}}}}}}},"summary":"Verify plugin access","tags":["Plugin Subscription Analytics"]}},"/api/plugin-tenants":{"post":{"description":"Creates a new plugin tenant relationship with specified configuration and access controls","operationId":"PluginTenant_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePluginTenantDTO"}}}},"responses":{"201":{"description":"Plugin tenant created successfully","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid input data"},"409":{"description":"Plugin tenant already exists"}},"summary":"Create Plugin Tenant","tags":["Plugin Tenant Management"]},"get":{"description":"Retrieves all plugin tenant relationships with optional filtering by various criteria","operationId":"PluginTenant_findAll","parameters":[{"name":"pluginId","required":false,"in":"query","description":"Plugin ID to filter by","schema":{"type":"string"}},{"name":"tenantId","required":false,"in":"query","description":"Tenant ID to filter by","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","description":"Organization ID to filter by","schema":{"type":"string"}},{"name":"enabled","required":false,"in":"query","description":"Filter by enabled status","schema":{"type":"boolean"}},{"name":"scope","required":false,"in":"query","description":"Filter by scope","schema":{"type":"string","enum":["tenant","organization","user"]}},{"name":"isMandatory","required":false,"in":"query","description":"Filter by mandatory status","schema":{"type":"boolean"}},{"name":"isDataCompliant","required":false,"in":"query","description":"Filter by data compliance status","schema":{"type":"boolean"}},{"name":"isApproved","required":false,"in":"query","description":"Filter by approval status","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Plugin tenants retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}},"summary":"Get All Plugin Tenants","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/statistics":{"get":{"description":"Retrieves comprehensive statistics about plugin tenant usage and quotas","operationId":"PluginTenant_getStatistics","parameters":[{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Statistics retrieved successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Get Plugin Tenant Statistics","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/by-plugin/{pluginId}":{"get":{"description":"Retrieves all tenant relationships for a specific plugin","operationId":"PluginTenant_findByPlugin","parameters":[{"name":"pluginId","required":true,"in":"path","description":"Plugin ID","schema":{"type":"string"}},{"name":"skip","required":true,"in":"query","schema":{"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Plugin tenants retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}},"summary":"Get Plugin Tenants by Plugin","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/by-tenant/{tenantId}":{"get":{"description":"Retrieves all plugin relationships for a specific tenant/organization","operationId":"PluginTenant_findByTenant","parameters":[{"name":"tenantId","required":true,"in":"path","description":"Tenant ID","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"skip","required":true,"in":"query","schema":{"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Plugin tenants retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}},"summary":"Get Plugin Tenants by Tenant","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/check-access":{"get":{"description":"Checks if a user has access to a specific plugin based on tenant configuration","operationId":"PluginTenant_checkAccess","parameters":[{"name":"userId","required":true,"in":"query","schema":{"type":"string"}},{"name":"pluginId","required":true,"in":"query","schema":{"type":"string"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"userRoles","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Access check completed","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Check Plugin Access","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/{id}":{"get":{"description":"Retrieves a specific plugin tenant by its ID with full relation data","operationId":"PluginTenant_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin tenant retrieved successfully","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Plugin tenant not found"}},"summary":"Get Plugin Tenant by ID","tags":["Plugin Tenant Management"]},"put":{"description":"Updates an existing plugin tenant configuration","operationId":"PluginTenant_update","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePluginTenantDTO"}}}},"responses":{"200":{"description":"Plugin tenant updated successfully","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Plugin tenant not found"}},"summary":"Update Plugin Tenant","tags":["Plugin Tenant Management"]},"delete":{"description":"Permanently deletes a plugin tenant relationship","operationId":"PluginTenant_remove","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"responses":{"204":{"description":"Plugin tenant deleted successfully"},"404":{"description":"Plugin tenant not found"}},"summary":"Delete Plugin Tenant","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/{id}/quota":{"get":{"description":"Retrieves quota and usage information for a specific plugin tenant","operationId":"PluginTenant_getQuotaInfo","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Quota information retrieved successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Get Plugin Tenant Quota Info","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/{id}/users":{"get":{"description":"Retrieves users assigned to a plugin tenant with their access type (allowed/denied)","operationId":"PluginTenant_getPluginTenantUsers","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Type of users to retrieve","schema":{"enum":["allowed","denied","all"],"type":"string"}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip","schema":{"type":"number"}},{"name":"take","required":false,"in":"query","description":"Number of records to take","schema":{"type":"number"}},{"name":"searchTerm","required":false,"in":"query","description":"Search term for filtering users","schema":{"type":"string"}}],"responses":{"200":{"description":"Users retrieved successfully","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Plugin tenant not found"}},"summary":"Get Plugin Tenant Users","tags":["Plugin Tenant Management"]},"post":{"description":"Add or remove users from allowed/denied lists for a plugin tenant","operationId":"PluginTenant_managePluginTenantUsers","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagePluginTenantUsersDTO"}}}},"responses":{"200":{"description":"User management operation completed successfully","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid input data"},"404":{"description":"Plugin tenant or users not found"}},"summary":"Manage Plugin Tenant Users","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/configuration":{"patch":{"description":"Updates the configuration and preferences for a plugin tenant","operationId":"PluginTenant_updateConfiguration","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTenantConfigurationDTO"}}}},"responses":{"200":{"description":"Configuration updated successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Update Plugin Tenant Configuration","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/{id}/enable":{"patch":{"description":"Enables a plugin tenant, making it available for use","operationId":"PluginTenant_enable","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin tenant enabled successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Enable Plugin Tenant","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/{id}/disable":{"patch":{"description":"Disables a plugin tenant, making it unavailable for use","operationId":"PluginTenant_disable","parameters":[{"name":"id","required":true,"in":"path","description":"Plugin Tenant ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Plugin tenant disabled successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Disable Plugin Tenant","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/approval":{"patch":{"description":"Approves or rejects a plugin tenant installation request","operationId":"PluginTenant_updateApproval","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTenantApprovalDTO"}}}},"responses":{"200":{"description":"Plugin tenant approval status updated successfully","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Approve/Reject Plugin Tenant","tags":["Plugin Tenant Management"]}},"/api/plugin-tenants/bulk":{"patch":{"description":"Performs bulk operations on multiple plugin tenants (enable, disable, approve, etc.)","operationId":"PluginTenant_bulkUpdate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginTenantBulkOperationDTO"}}}},"responses":{"200":{"description":"Bulk operation completed","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Bulk Update Plugin Tenants","tags":["Plugin Tenant Management"]}},"/api/plugins/subscriptions/me":{"get":{"description":"Retrieves all plugins where the current authenticated user has an active or trialing subscription. Supports pagination and status filtering.","operationId":"UserSubscribedPlugins_getSubscribedPlugins","parameters":[{"name":"status","required":false,"in":"query","description":"Filter by subscription status (defaults to ACTIVE and TRIALING)","schema":{"type":"array","items":{"type":"string"}}},{"name":"skip","required":false,"in":"query","description":"Number of records to skip for pagination","schema":{"type":"number"}},{"name":"take","required":false,"in":"query","description":"Number of records to take for pagination (default: 10)","schema":{"type":"number"}},{"name":"relations","required":false,"in":"query","description":"Additional relations to include in plugin results","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Subscribed plugins retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Plugin_1"}}}}},"401":{"description":"Unauthorized access - user must be authenticated."},"403":{"description":"Forbidden - insufficient permissions."}},"summary":"Get plugins with user subscription","tags":["User Subscribed Plugins"]}},"/api":{"get":{"operationId":"App_getAppStatus","parameters":[],"responses":{"200":{"description":""}},"tags":["App"]}},"/api/configs":{"get":{"operationId":"App_getAppConfigs","parameters":[],"responses":{"200":{"description":""}},"tags":["App"]}},"/api/health":{"get":{"operationId":"Health_getHealthStatus","parameters":[],"responses":{"200":{"description":""}},"tags":["Health"]}},"/api/tenant-setting/global":{"get":{"operationId":"TenantSetting_getGlobalSettings","parameters":[],"responses":{"200":{"description":"Global settings retrieved successfully."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get global settings (tenantId = NULL)","tags":["TenantSetting"]},"post":{"description":"Creates or updates global settings that serve as defaults for all tenants.","operationId":"TenantSetting_saveGlobalSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}},"responses":{"201":{"description":"Global settings saved successfully."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Save global settings (tenantId = NULL)","tags":["TenantSetting"]}},"/api/tenant-setting":{"get":{"operationId":"TenantSetting_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["TenantSetting"]},"post":{"operationId":"TenantSetting_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["TenantSetting"]}},"/api/tenant-setting/{id}":{"get":{"operationId":"TenantSetting_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["TenantSetting"]},"put":{"operationId":"TenantSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["TenantSetting"]},"delete":{"operationId":"TenantSetting_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["TenantSetting"]}},"/api/tenant-setting/dynamic":{"post":{"description":"Creates or updates tenant settings with dynamic key-value pairs (e.g., monitoring settings).","operationId":"TenantSetting_saveDynamicSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}},"responses":{"201":{"description":"Dynamic settings saved successfully."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Save dynamic tenant settings","tags":["TenantSetting"]}},"/api/tenant-setting/wasabi/validate":{"post":{"operationId":"TenantSetting_validateWasabiConfiguration","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WasabiS3ProviderConfigDTO"}}}},"responses":{"200":{"description":"Wasabi file storage configuration validated successfully."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Wasabi file storage configuration validator.","tags":["TenantSetting"]}},"/api/tenant-setting/count":{"get":{"operationId":"TenantSetting_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["TenantSetting"]}},"/api/tenant-setting/pagination":{"get":{"operationId":"TenantSetting_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["TenantSetting"]}},"/api/tenant-setting/{id}/soft":{"delete":{"operationId":"TenantSetting_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["TenantSetting"]}},"/api/tenant-setting/{id}/recover":{"put":{"operationId":"TenantSetting_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["TenantSetting"]}},"/api/auth/email-check":{"post":{"operationId":"EmailCheck_checkEmail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckEmailDTO"}}}},"responses":{"200":{"description":"Email existence checked","content":{"application/json":{"schema":{"example":{"exists":true}}}}},"400":{"description":"Invalid email format or missing email"}},"summary":"Check if an email exists in the database","tags":["EmailCheck"]}},"/api/employee-award":{"get":{"operationId":"EmployeeAward_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found Employee Awards","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeAward"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Employee Awards.","tags":["EmployeeAward"]},"post":{"operationId":"EmployeeAward_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeAwardDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EmployeeAward"]}},"/api/employee-award/{id}":{"put":{"operationId":"EmployeeAward_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeAwardDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["EmployeeAward"]},"delete":{"operationId":"EmployeeAward_delete","parameters":[],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeAward"]},"get":{"operationId":"EmployeeAward_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EmployeeAward"]}},"/api/employee-award/count":{"get":{"operationId":"EmployeeAward_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeAward"]}},"/api/employee-award/pagination":{"get":{"operationId":"EmployeeAward_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeAward"]}},"/api/employee-award/{id}/soft":{"delete":{"operationId":"EmployeeAward_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeAward"]}},"/api/employee-award/{id}/recover":{"put":{"operationId":"EmployeeAward_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeAward"]}},"/api/candidate/bulk":{"post":{"operationId":"Candidate_createBulk","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateBulkInputDTO"}}}},"responses":{"201":{"description":"Records have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create records in Bulk","tags":["Candidate"]}},"/api/candidate/count":{"get":{"operationId":"Candidate_getCount","parameters":[],"responses":{"200":{"description":"Found candidates count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all candidates counts in the same tenant","tags":["Candidate"]}},"/api/candidate/pagination":{"get":{"operationId":"Candidate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidates in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Candidate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidates in the same tenant using pagination.","tags":["Candidate"]}},"/api/candidate":{"get":{"operationId":"Candidate_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidates in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Candidate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidates in the same tenant.","tags":["Candidate"]},"post":{"operationId":"Candidate_create","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCandidateDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Candidate"]}},"/api/candidate/{id}":{"get":{"operationId":"Candidate_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Candidate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Candidate by id ","tags":["Candidate"]},"put":{"operationId":"Candidate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCandidateDTO"}}}},"responses":{"200":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Candidate"]},"delete":{"operationId":"Candidate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Candidate"]}},"/api/candidate/{id}/{status}":{"put":{"operationId":"Candidate_updateCandidateStatus","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"status","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update candidate status (Hired/Rejected)","tags":["Candidate"]}},"/api/candidate/{id}/soft":{"delete":{"operationId":"Candidate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Candidate"]}},"/api/candidate/{id}/recover":{"put":{"operationId":"Candidate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Candidate"]}},"/api/candidate-documents":{"get":{"operationId":"CandidateDocuments_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateDocument"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate document.","tags":["CandidateDocument"]},"post":{"operationId":"CandidateDocuments_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["CandidateDocument"]}},"/api/candidate-documents/count":{"get":{"operationId":"CandidateDocuments_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateDocument"]}},"/api/candidate-documents/pagination":{"get":{"operationId":"CandidateDocuments_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CandidateDocument"]}},"/api/candidate-documents/{id}":{"get":{"operationId":"CandidateDocuments_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateDocument"]},"put":{"operationId":"CandidateDocuments_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["CandidateDocument"]},"delete":{"operationId":"CandidateDocuments_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateDocument"]}},"/api/candidate-documents/{id}/soft":{"delete":{"operationId":"CandidateDocuments_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateDocument"]}},"/api/candidate-documents/{id}/recover":{"put":{"operationId":"CandidateDocuments_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateDocument"]}},"/api/candidate-source/pagination":{"get":{"operationId":"CandidateSource_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateSource"]}},"/api/candidate-source":{"get":{"operationId":"CandidateSource_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate source","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateSource"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate source.","tags":["CandidateSource"]},"post":{"operationId":"CandidateSource_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCandidateSourceDTO"}}}},"responses":{"200":{"description":"Created candidate source","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateSource"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Create candidate source.","tags":["CandidateSource"]}},"/api/candidate-source/{id}":{"put":{"operationId":"CandidateSource_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCandidateSourceDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateSource"]},"get":{"operationId":"CandidateSource_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateSource"]},"delete":{"operationId":"CandidateSource_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateSource"]}},"/api/candidate-source/count":{"get":{"operationId":"CandidateSource_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateSource"]}},"/api/candidate-source/{id}/soft":{"delete":{"operationId":"CandidateSource_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateSource"]}},"/api/candidate-source/{id}/recover":{"put":{"operationId":"CandidateSource_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateSource"]}},"/api/candidate-educations/pagination":{"get":{"operationId":"CandidateEducation_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateEducation"]}},"/api/candidate-educations":{"get":{"operationId":"CandidateEducation_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate education","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateEducation"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate education.","tags":["CandidateEducation"]},"post":{"operationId":"CandidateEducation_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCandidateEducationDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateEducation"]}},"/api/candidate-educations/{id}":{"put":{"operationId":"CandidateEducation_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCandidateEducationDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateEducation"]},"get":{"operationId":"CandidateEducation_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateEducation"]},"delete":{"operationId":"CandidateEducation_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateEducation"]}},"/api/candidate-educations/count":{"get":{"operationId":"CandidateEducation_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateEducation"]}},"/api/candidate-educations/{id}/soft":{"delete":{"operationId":"CandidateEducation_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateEducation"]}},"/api/candidate-educations/{id}/recover":{"put":{"operationId":"CandidateEducation_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateEducation"]}},"/api/candidate-experience/pagination":{"get":{"operationId":"CandidateExperience_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateExperience"]}},"/api/candidate-experience":{"get":{"operationId":"CandidateExperience_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate experience","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateExperience"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate experience.","tags":["CandidateExperience"]},"post":{"operationId":"CandidateExperience_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCandidateExperienceDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateExperience"]}},"/api/candidate-experience/{id}":{"put":{"operationId":"CandidateExperience_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCandidateExperienceDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateExperience"]},"get":{"operationId":"CandidateExperience_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateExperience"]},"delete":{"operationId":"CandidateExperience_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateExperience"]}},"/api/candidate-experience/count":{"get":{"operationId":"CandidateExperience_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateExperience"]}},"/api/candidate-experience/{id}/soft":{"delete":{"operationId":"CandidateExperience_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateExperience"]}},"/api/candidate-experience/{id}/recover":{"put":{"operationId":"CandidateExperience_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateExperience"]}},"/api/candidate-skills/pagination":{"get":{"operationId":"CandidateSkill_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateSkill"]}},"/api/candidate-skills":{"get":{"operationId":"CandidateSkill_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate skill","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateSkill"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate skill.","tags":["CandidateSkill"]},"post":{"operationId":"CandidateSkill_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCandidateSkillDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateSkill"]}},"/api/candidate-skills/{id}":{"put":{"operationId":"CandidateSkill_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCandidateSkillDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateSkill"]},"get":{"operationId":"CandidateSkill_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateSkill"]},"delete":{"operationId":"CandidateSkill_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateSkill"]}},"/api/candidate-skills/count":{"get":{"operationId":"CandidateSkill_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateSkill"]}},"/api/candidate-skills/{id}/soft":{"delete":{"operationId":"CandidateSkill_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateSkill"]}},"/api/candidate-skills/{id}/recover":{"put":{"operationId":"CandidateSkill_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateSkill"]}},"/api/candidate-feedbacks/interview/{interviewId}":{"get":{"operationId":"CandidateFeedbacks_findByInterviewId","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found candidate feedbacks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateFeedback"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find feedbacks By Interview Id.","tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/interview/{interviewId}/{feedbackId}":{"delete":{"operationId":"CandidateFeedbacks_deleteFeedback","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}},{"name":"feedbackId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/count":{"get":{"operationId":"CandidateFeedbacks_getCount","parameters":[],"responses":{"200":{"description":"Found candidates feedback count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all candidate feedbacks counts in the same tenant","tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/pagination":{"get":{"operationId":"CandidateFeedbacks_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidates in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateFeedback"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate feedbacks in the same tenant using pagination.","tags":["CandidateFeedback"]}},"/api/candidate-feedbacks":{"get":{"operationId":"CandidateFeedbacks_findAll","parameters":[],"responses":{"200":{"description":"Found candidate feedback","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateFeedback"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate feedback.","tags":["CandidateFeedback"]},"post":{"operationId":"CandidateFeedbacks_create","parameters":[],"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/{id}":{"get":{"operationId":"CandidateFeedbacks_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found candidate feedback","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateFeedback"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find candidate feedback by id","tags":["CandidateFeedback"]},"put":{"operationId":"CandidateFeedbacks_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateFeedback"]},"delete":{"operationId":"CandidateFeedbacks_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/{id}/soft":{"delete":{"operationId":"CandidateFeedbacks_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateFeedback"]}},"/api/candidate-feedbacks/{id}/recover":{"put":{"operationId":"CandidateFeedbacks_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateFeedback"]}},"/api/candidate-interview/candidate/{id}":{"get":{"operationId":"CandidateInterview_findByCandidateId","parameters":[],"responses":{"200":{"description":"Found interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterview"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find interview by candidate id","tags":["CandidateInterview"]}},"/api/candidate-interview/count":{"get":{"operationId":"CandidateInterview_getCount","parameters":[],"responses":{"200":{"description":"Found candidate interviews count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all candidate interviews count in the same tenant","tags":["CandidateInterview"]}},"/api/candidate-interview/pagination":{"get":{"operationId":"CandidateInterview_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate interviews in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterview"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate interviews in the same tenant using pagination.","tags":["CandidateInterview"]}},"/api/candidate-interview":{"get":{"operationId":"CandidateInterview_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterview"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate interview.","tags":["CandidateInterview"]},"post":{"operationId":"CandidateInterview_create","parameters":[],"responses":{"201":{"description":"Success Add Interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterview"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record interview","tags":["CandidateInterview"]}},"/api/candidate-interview/{id}":{"get":{"operationId":"CandidateInterview_findById","parameters":[],"responses":{"200":{"description":"Found interview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterview"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find candidate interview by id","tags":["CandidateInterview"]},"put":{"operationId":"CandidateInterview_update","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateInterview"]},"delete":{"operationId":"CandidateInterview_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateInterview"]}},"/api/candidate-interview/{id}/soft":{"delete":{"operationId":"CandidateInterview_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateInterview"]}},"/api/candidate-interview/{id}/recover":{"put":{"operationId":"CandidateInterview_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateInterview"]}},"/api/candidate-interviewers/bulk":{"post":{"operationId":"CandidateInterviewers_createBulk","parameters":[],"responses":{"201":{"description":"Interviewers have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create interviewers in Bulk","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/interview/{interviewId}":{"get":{"operationId":"CandidateInterviewers_findByInterviewId","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found candidate interviewers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterviewers"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Interviewers By Interview Id.","tags":["CandidateInterviewer"]},"delete":{"operationId":"CandidateInterviewers_deleteBulkByInterviewId","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found candidate interviewers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterviewers"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Interviewers By Interview Id.","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/deleteBulkByEmployeeId":{"delete":{"operationId":"CandidateInterviewers_deleteBulkByEmployeeId","parameters":[],"responses":{"200":{"description":"Found candidate interviewers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterviewers"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Interviewers By employeeId.","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers":{"get":{"operationId":"CandidateInterviewers_findAll","parameters":[],"responses":{"200":{"description":"Found candidate interviewers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterviewers"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate interviewers.","tags":["CandidateInterviewer"]},"post":{"operationId":"CandidateInterviewers_create","parameters":[],"responses":{"201":{"description":"Success Add Interviewers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateInterviewers"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record interviewers","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/count":{"get":{"operationId":"CandidateInterviewers_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/pagination":{"get":{"operationId":"CandidateInterviewers_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/{id}":{"get":{"operationId":"CandidateInterviewers_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateInterviewer"]},"put":{"operationId":"CandidateInterviewers_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["CandidateInterviewer"]},"delete":{"operationId":"CandidateInterviewers_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/{id}/soft":{"delete":{"operationId":"CandidateInterviewers_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateInterviewer"]}},"/api/candidate-interviewers/{id}/recover":{"put":{"operationId":"CandidateInterviewers_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateInterviewer"]}},"/api/candidate-personal-qualities/interview/{interviewId}":{"get":{"operationId":"CandidatePersonalQualities_findByInterviewId","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/bulk/{id}":{"delete":{"operationId":"CandidatePersonalQualities_deleteBulk","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/bulk":{"post":{"operationId":"CandidatePersonalQualities_createBulk","parameters":[],"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities":{"get":{"operationId":"CandidatePersonalQualities_findAll","parameters":[],"responses":{"200":{"description":"Found candidate personal qualities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidatePersonalQualities"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate personal qualities.","tags":["CandidatePersonalQuality"]},"post":{"operationId":"CandidatePersonalQualities_create","parameters":[],"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/{id}":{"delete":{"operationId":"CandidatePersonalQualities_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidatePersonalQuality"]},"get":{"operationId":"CandidatePersonalQualities_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidatePersonalQuality"]},"put":{"operationId":"CandidatePersonalQualities_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/count":{"get":{"operationId":"CandidatePersonalQualities_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/pagination":{"get":{"operationId":"CandidatePersonalQualities_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/{id}/soft":{"delete":{"operationId":"CandidatePersonalQualities_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidatePersonalQuality"]}},"/api/candidate-personal-qualities/{id}/recover":{"put":{"operationId":"CandidatePersonalQualities_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidatePersonalQuality"]}},"/api/candidate-technologies/bulk":{"post":{"operationId":"CandidateTechnologies_createBulkCandidateTechnologies","parameters":[],"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]},"put":{"operationId":"CandidateTechnologies_updateBulkCandidateTechnologies","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]}},"/api/candidate-technologies/interview/{interviewId}":{"get":{"operationId":"CandidateTechnologies_findByInterviewId","parameters":[{"name":"interviewId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]}},"/api/candidate-technologies/bulk/{id}":{"delete":{"operationId":"CandidateTechnologies_deleteBulkTechnologies","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]}},"/api/candidate-technologies":{"get":{"operationId":"CandidateTechnologies_findAll","parameters":[],"responses":{"200":{"description":"Found candidate technologies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateTechnologies"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate technologies.","tags":["CandidateTechnology"]},"post":{"operationId":"CandidateTechnologies_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateTechnologies"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]}},"/api/candidate-technologies/{id}":{"delete":{"operationId":"CandidateTechnologies_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateTechnology"]},"get":{"operationId":"CandidateTechnologies_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateTechnology"]},"put":{"operationId":"CandidateTechnologies_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["CandidateTechnology"]}},"/api/candidate-technologies/count":{"get":{"operationId":"CandidateTechnologies_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateTechnology"]}},"/api/candidate-technologies/pagination":{"get":{"operationId":"CandidateTechnologies_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CandidateTechnology"]}},"/api/candidate-technologies/{id}/soft":{"delete":{"operationId":"CandidateTechnologies_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateTechnology"]}},"/api/candidate-technologies/{id}/recover":{"put":{"operationId":"CandidateTechnologies_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateTechnology"]}},"/api/candidate-criterions-rating/bulk":{"post":{"operationId":"CandidateCriterionsRating_createBulk","parameters":[],"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateCriterionRating"]},"put":{"operationId":"CandidateCriterionsRating_updateBulk","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating":{"get":{"operationId":"CandidateCriterionsRating_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found candidate criterion rating","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateCriterionsRating"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all candidate criterion rating.","tags":["CandidateCriterionRating"]},"post":{"operationId":"CandidateCriterionsRating_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/feedback/{feedbackId}":{"delete":{"operationId":"CandidateCriterionsRating_deleteBulkByFeedbackId","parameters":[{"name":"feedbackId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/count":{"get":{"operationId":"CandidateCriterionsRating_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/pagination":{"get":{"operationId":"CandidateCriterionsRating_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/{id}":{"get":{"operationId":"CandidateCriterionsRating_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["CandidateCriterionRating"]},"put":{"operationId":"CandidateCriterionsRating_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["CandidateCriterionRating"]},"delete":{"operationId":"CandidateCriterionsRating_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/{id}/soft":{"delete":{"operationId":"CandidateCriterionsRating_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["CandidateCriterionRating"]}},"/api/candidate-criterions-rating/{id}/recover":{"put":{"operationId":"CandidateCriterionsRating_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["CandidateCriterionRating"]}},"/api/export":{"get":{"operationId":"Export_exportAll","parameters":[{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found tables"},"404":{"description":"Record not found"}},"summary":"Find all exports.","tags":["Download"]}},"/api/export/template":{"get":{"operationId":"Export_downloadTemplate","parameters":[],"responses":{"200":{"description":"Found tables schemas"},"404":{"description":"Record not found"}},"summary":"Exports all tables schemas.","tags":["Download"]}},"/api/export/filter":{"get":{"operationId":"Export_exportByName","parameters":[],"responses":{"200":{"description":"Found specific tables"},"404":{"description":"Record not found"}},"summary":"Find exports by name","tags":["Download"]}},"/api/import":{"post":{"operationId":"Import_parse","parameters":[],"responses":{"200":{"description":"Found tables"},"404":{"description":"Record not found"}},"summary":"Imports templates records.","tags":["Import"]}},"/api/import/history":{"get":{"operationId":"ImportHistory_findAll","parameters":[],"responses":{"200":{"description":"Found import history"},"404":{"description":"Record not found"}},"summary":"Find all imports history.","tags":["Import History"]}},"/api/employee-settings":{"get":{"operationId":"EmployeeSetting_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found employee settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeSetting"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all employee settings","tags":["EmployeeSetting"]},"post":{"operationId":"EmployeeSetting_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Employee Setting","tags":["EmployeeSetting"]}},"/api/employee-settings/{id}":{"get":{"operationId":"EmployeeSetting_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id","tags":["EmployeeSetting"]},"put":{"operationId":"EmployeeSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing employee setting","tags":["EmployeeSetting"]},"delete":{"operationId":"EmployeeSetting_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Employee Setting","tags":["EmployeeSetting"]}},"/api/employee-settings/count":{"get":{"operationId":"EmployeeSetting_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeSetting"]}},"/api/employee-settings/pagination":{"get":{"operationId":"EmployeeSetting_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeSetting"]}},"/api/employee-settings/{id}/soft":{"delete":{"operationId":"EmployeeSetting_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeSetting"]}},"/api/employee-settings/{id}/recover":{"put":{"operationId":"EmployeeSetting_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeSetting"]}},"/api/employee-appointment/sign/{id}":{"get":{"operationId":"EmployeeAppointment_signAppointment","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Token generated","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"417":{"description":"Token generation failure"}},"security":[{"bearer":[]}],"summary":"Sign appointment id payload","tags":["EmployeeAppointment"]}},"/api/employee-appointment/decode/{token}":{"get":{"operationId":"EmployeeAppointment_decodeToken","parameters":[{"name":"token","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Token verified","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"417":{"description":"Token verification failure"}},"security":[{"bearer":[]}],"summary":"Verify token","tags":["EmployeeAppointment"]}},"/api/employee-appointment/pagination":{"get":{"operationId":"EmployeeAppointment_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmployeeAppointment"]}},"/api/employee-appointment":{"get":{"operationId":"EmployeeAppointment_findAll","parameters":[],"responses":{"200":{"description":"Found employee appointments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeAppointment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all employee appointments","tags":["EmployeeAppointment"]},"post":{"operationId":"EmployeeAppointment_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EmployeeAppointment"]}},"/api/employee-appointment/{id}":{"get":{"operationId":"EmployeeAppointment_findById","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeAppointment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Employee appointment by id.","tags":["EmployeeAppointment"]},"put":{"operationId":"EmployeeAppointment_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["EmployeeAppointment"]},"delete":{"operationId":"EmployeeAppointment_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeAppointment"]}},"/api/employee-appointment/count":{"get":{"operationId":"EmployeeAppointment_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeAppointment"]}},"/api/employee-appointment/{id}/soft":{"delete":{"operationId":"EmployeeAppointment_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeAppointment"]}},"/api/employee-appointment/{id}/recover":{"put":{"operationId":"EmployeeAppointment_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeAppointment"]}},"/api/appointment-employees/appointment/{appointmentId}":{"get":{"operationId":"AppointmentEmployees_findByAppointmentId","parameters":[{"name":"appointmentId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentEmployee"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find appointment employees by appointment id.","tags":["AppointmentEmployee"]}},"/api/appointment-employees/employee-appointments/{employeeId}":{"get":{"operationId":"AppointmentEmployees_findEmployeeAppointments","parameters":[{"name":"employeeId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentEmployee"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find appointments based on employee id.","tags":["AppointmentEmployee"]}},"/api/appointment-employees/count":{"get":{"operationId":"AppointmentEmployees_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["AppointmentEmployee"]}},"/api/appointment-employees/pagination":{"get":{"operationId":"AppointmentEmployees_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["AppointmentEmployee"]}},"/api/appointment-employees":{"get":{"operationId":"AppointmentEmployees_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["AppointmentEmployee"]},"post":{"operationId":"AppointmentEmployees_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["AppointmentEmployee"]}},"/api/appointment-employees/{id}":{"get":{"operationId":"AppointmentEmployees_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["AppointmentEmployee"]},"put":{"operationId":"AppointmentEmployees_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["AppointmentEmployee"]},"delete":{"operationId":"AppointmentEmployees_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["AppointmentEmployee"]}},"/api/appointment-employees/{id}/soft":{"delete":{"operationId":"AppointmentEmployees_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["AppointmentEmployee"]}},"/api/appointment-employees/{id}/recover":{"put":{"operationId":"AppointmentEmployees_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["AppointmentEmployee"]}},"/api/organization-department/employee/{id}":{"get":{"operationId":"OrganizationDepartment_findByEmployee","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found departments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDepartment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization departments.","tags":["OrganizationDepartment"]}},"/api/organization-department/employee":{"put":{"operationId":"OrganizationDepartment_updateByEmployee","parameters":[],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationDepartment"]}},"/api/organization-department":{"get":{"operationId":"OrganizationDepartment_findAll","parameters":[],"responses":{"200":{"description":"Found departments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDepartment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization departments.","tags":["OrganizationDepartment"]},"post":{"operationId":"OrganizationDepartment_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationDepartment"]}},"/api/organization-department/pagination":{"get":{"operationId":"OrganizationDepartment_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationDepartment"]}},"/api/organization-department/{id}":{"put":{"operationId":"OrganizationDepartment_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationDepartment"]},"get":{"operationId":"OrganizationDepartment_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationDepartment"]},"delete":{"operationId":"OrganizationDepartment_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationDepartment"]}},"/api/organization-department/count":{"get":{"operationId":"OrganizationDepartment_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationDepartment"]}},"/api/organization-department/{id}/soft":{"delete":{"operationId":"OrganizationDepartment_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationDepartment"]}},"/api/organization-department/{id}/recover":{"put":{"operationId":"OrganizationDepartment_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationDepartment"]}},"/api/organization-positions":{"get":{"operationId":"OrganizationPosition_findAll","parameters":[],"responses":{"200":{"description":"Found positions recurring expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPosition"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization positions recurring expense.","tags":["OrganizationPositions"]},"post":{"operationId":"OrganizationPosition_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationPositions"]}},"/api/organization-positions/{id}":{"put":{"operationId":"OrganizationPosition_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationPositionDTO"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationPositions"]},"get":{"operationId":"OrganizationPosition_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationPositions"]},"delete":{"operationId":"OrganizationPosition_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationPositions"]}},"/api/organization-positions/count":{"get":{"operationId":"OrganizationPosition_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationPositions"]}},"/api/organization-positions/pagination":{"get":{"operationId":"OrganizationPosition_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationPositions"]}},"/api/organization-positions/{id}/soft":{"delete":{"operationId":"OrganizationPosition_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationPositions"]}},"/api/organization-positions/{id}/recover":{"put":{"operationId":"OrganizationPosition_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationPositions"]}},"/api/organization-project-modules/employee":{"get":{"operationId":"OrganizationProjectModule_getEmployeeProjectModules","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found employee project modules","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProjectModule"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find employee project modules.","tags":["Project Modules"]}},"/api/organization-project-modules/team":{"get":{"operationId":"OrganizationProjectModule_findTeamProjectModules","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found team project modules","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProjectModule"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find my team project modules.","tags":["Project Modules"]}},"/api/organization-project-modules/employee/{id}":{"get":{"operationId":"OrganizationProjectModule_findByEmployee","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"projectId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationTeamId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationSprintId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found Employee project modules","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProjectModule"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Employee project modules.","tags":["Project Modules"]}},"/api/organization-project-modules":{"get":{"operationId":"OrganizationProjectModule_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found project modules","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationProjectModule"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all project modules.","tags":["Project Modules"]},"post":{"operationId":"OrganizationProjectModule_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationProjectModuleDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"create a project module","tags":["Project Modules"]}},"/api/organization-project-modules/{id}":{"get":{"operationId":"OrganizationProjectModule_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id","tags":["Project Modules"]},"put":{"operationId":"OrganizationProjectModule_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationProjectModuleDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing project module","tags":["Project Modules"]},"delete":{"operationId":"OrganizationProjectModule_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Project Modules"]}},"/api/organization-project-modules/count":{"get":{"operationId":"OrganizationProjectModule_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Project Modules"]}},"/api/organization-project-modules/pagination":{"get":{"operationId":"OrganizationProjectModule_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Project Modules"]}},"/api/organization-project-modules/{id}/soft":{"delete":{"operationId":"OrganizationProjectModule_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Project Modules"]}},"/api/organization-project-modules/{id}/recover":{"put":{"operationId":"OrganizationProjectModule_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Project Modules"]}},"/api/organization-awards":{"get":{"operationId":"OrganizationAward_findAll","parameters":[],"responses":{"200":{"description":"Found Organization Awards","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAward"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Organization Awards.","tags":["OrganizationAward"]},"post":{"operationId":"OrganizationAward_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationAward"]}},"/api/organization-awards/{id}":{"put":{"operationId":"OrganizationAward_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationAward"]},"delete":{"operationId":"OrganizationAward_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationAward"]},"get":{"operationId":"OrganizationAward_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationAward"]}},"/api/organization-awards/count":{"get":{"operationId":"OrganizationAward_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationAward"]}},"/api/organization-awards/pagination":{"get":{"operationId":"OrganizationAward_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationAward"]}},"/api/organization-awards/{id}/soft":{"delete":{"operationId":"OrganizationAward_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationAward"]}},"/api/organization-awards/{id}/recover":{"put":{"operationId":"OrganizationAward_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationAward"]}},"/api/organization-languages":{"get":{"operationId":"OrganizationLanguage_findAll","parameters":[],"responses":{"200":{"description":"Found Organization Language","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationLanguage"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Organization Language.","tags":["OrganizationLanguage"]},"post":{"operationId":"OrganizationLanguage_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationLanguage"]}},"/api/organization-languages/{id}":{"put":{"operationId":"OrganizationLanguage_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["OrganizationLanguage"]},"delete":{"operationId":"OrganizationLanguage_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationLanguage"]},"get":{"operationId":"OrganizationLanguage_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationLanguage"]}},"/api/organization-languages/count":{"get":{"operationId":"OrganizationLanguage_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationLanguage"]}},"/api/organization-languages/pagination":{"get":{"operationId":"OrganizationLanguage_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationLanguage"]}},"/api/organization-languages/{id}/soft":{"delete":{"operationId":"OrganizationLanguage_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationLanguage"]}},"/api/organization-languages/{id}/recover":{"put":{"operationId":"OrganizationLanguage_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationLanguage"]}},"/api/organization-team-join/validate":{"post":{"operationId":"OrganizationTeamJoinRequest_validateJoinRequest","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateJoinRequestDTO"}}}},"responses":{"202":{"description":""}},"tags":["OrganizationTeamJoinRequest"]}},"/api/organization-team-join":{"get":{"operationId":"OrganizationTeamJoinRequest_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""}},"tags":["OrganizationTeamJoinRequest"]},"post":{"operationId":"OrganizationTeamJoinRequest_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationTeamJoinRequest"}}}},"responses":{"201":{"description":""}},"tags":["OrganizationTeamJoinRequest"]}},"/api/organization-team-join/resend-code":{"post":{"operationId":"OrganizationTeamJoinRequest_resendConfirmationCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationTeamJoinRequest"}}}},"responses":{"200":{"description":""}},"tags":["OrganizationTeamJoinRequest"]}},"/api/organization-team-join/{id}/{action}":{"put":{"operationId":"OrganizationTeamJoinRequest_acceptRequestToJoin","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"action","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["OrganizationTeamJoinRequest"]}},"/api/invite/emails":{"post":{"operationId":"Invite_createManyInvitesWithEmails","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInviteDTO"}}}},"responses":{"201":{"description":"The record has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Create email invites","tags":["Invite"]}},"/api/invite/resend":{"post":{"operationId":"Invite_resendInvite","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendInviteDTO"}}}},"responses":{"201":{"description":"The record has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Resend invite.","tags":["Invite"]}},"/api/invite/validate":{"get":{"operationId":"Invite_validateInviteByToken","parameters":[{"name":"email","required":true,"in":"query","schema":{"type":"string"}},{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found invite","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"404":{"description":"Record not found"}},"summary":"Get invite.","tags":["Invite"]}},"/api/invite/validate-by-code":{"post":{"operationId":"Invite_validateInviteByCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateInviteByCodeQueryDTO"}}}},"responses":{"200":{"description":"Found invite","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"404":{"description":"Record not found"}},"summary":"Validate invite by code and email.","tags":["Invite"]}},"/api/invite/accept":{"post":{"operationId":"Invite_acceptInvitation","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully executed."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Accept employee/user/candidate invite.","tags":["Invite"]}},"/api/invite/reject":{"post":{"operationId":"Invite_rejectInvitation","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectInviteDTO"}}}},"responses":{"201":{"description":"The record has been successfully executed."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Reject employee/user/candidate invite.","tags":["Invite"]}},"/api/invite/contact":{"post":{"operationId":"Invite_acceptOrganizationContactInvite","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Accept organization contact invite.","tags":["Invite"]}},"/api/invite/organization-contact/{id}":{"put":{"operationId":"Invite_inviteOrganizationContact","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"404":{"description":"Record not found"}},"summary":"Update an existing record","tags":["Invite"]}},"/api/invite/me":{"get":{"operationId":"Invite_getCurrentUserInvites","parameters":[],"responses":{"200":{"description":"Found invites"},"404":{"description":"No invites found for the current user"}},"summary":"Find all invites of current user","tags":["Invite"]}},"/api/invite":{"get":{"operationId":"Invite_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found invites","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invite"}}}}},"404":{"description":"Record not found"}},"summary":"Find all invites.","tags":["Invite"]}},"/api/invite/{id}":{"delete":{"operationId":"Invite_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"404":{"description":"Record not found"}},"summary":"Delete record","tags":["Invite"]}},"/api/invite/{id}/{action}":{"put":{"operationId":"Invite_handleInvitationResponse","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"action","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Invite Accepted"}},"summary":"Accept or Reject invite of current user","tags":["Invite"]}},"/api/organization-documents":{"get":{"operationId":"OrganizationDocument_findAll","parameters":[],"responses":{"200":{"description":"Found organization document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDocument"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization document.","tags":["OrganizationDocument"]},"post":{"operationId":"OrganizationDocument_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationDocument"]}},"/api/organization-documents/count":{"get":{"operationId":"OrganizationDocument_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationDocument"]}},"/api/organization-documents/pagination":{"get":{"operationId":"OrganizationDocument_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationDocument"]}},"/api/organization-documents/{id}":{"get":{"operationId":"OrganizationDocument_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationDocument"]},"put":{"operationId":"OrganizationDocument_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["OrganizationDocument"]},"delete":{"operationId":"OrganizationDocument_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationDocument"]}},"/api/organization-documents/{id}/soft":{"delete":{"operationId":"OrganizationDocument_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationDocument"]}},"/api/organization-documents/{id}/recover":{"put":{"operationId":"OrganizationDocument_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationDocument"]}},"/api/country":{"get":{"operationId":"Country_findAll","parameters":[],"responses":{"200":{"description":"Found countries","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Country"}}}},"404":{"description":"Record not found"}},"summary":"Find all countries.","tags":["Country"]}},"/api/currency":{"get":{"operationId":"Currency_findAll","parameters":[],"responses":{"200":{"description":"Found currencies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Currency"}}}},"404":{"description":"Record not found"}},"summary":"Find all currencies.","tags":["Currency"]}},"/api/time-off-policy/pagination":{"get":{"operationId":"TimeOffPolicy_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["TimeOffPolicy"]}},"/api/time-off-policy":{"get":{"operationId":"TimeOffPolicy_findAll","parameters":[],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffPolicy"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all policies.","tags":["TimeOffPolicy"]},"post":{"operationId":"TimeOffPolicy_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["TimeOffPolicy"]}},"/api/time-off-policy/{id}":{"put":{"operationId":"TimeOffPolicy_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["TimeOffPolicy"]},"get":{"operationId":"TimeOffPolicy_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["TimeOffPolicy"]},"delete":{"operationId":"TimeOffPolicy_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["TimeOffPolicy"]}},"/api/time-off-policy/count":{"get":{"operationId":"TimeOffPolicy_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["TimeOffPolicy"]}},"/api/time-off-policy/{id}/soft":{"delete":{"operationId":"TimeOffPolicy_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["TimeOffPolicy"]}},"/api/time-off-policy/{id}/recover":{"put":{"operationId":"TimeOffPolicy_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["TimeOffPolicy"]}},"/api/time-off-request/pagination":{"get":{"operationId":"TimeOffRequest_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["TimeOffRequest"]}},"/api/time-off-request/approval/{id}":{"put":{"operationId":"TimeOffRequest_timeOffRequestApproved","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Approved time off request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffRequest"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Time off request approved","tags":["TimeOffRequest"]}},"/api/time-off-request/denied/{id}":{"put":{"operationId":"TimeOffRequest_timeOffRequestDenied","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Denied time off request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffRequest"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Time off request denied","tags":["TimeOffRequest"]}},"/api/time-off-request":{"get":{"operationId":"TimeOffRequest_findAll","parameters":[],"responses":{"200":{"description":"Found time off requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffRequest"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all time off requests.","tags":["TimeOffRequest"]},"post":{"operationId":"TimeOffRequest_create","parameters":[],"responses":{"201":{"description":"The new time off request / holiday record created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new time off request / holiday record","tags":["TimeOffRequest"]}},"/api/time-off-request/{id}":{"put":{"operationId":"TimeOffRequest_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found request time off","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffRequest"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Time off request update","tags":["TimeOffRequest"]},"get":{"operationId":"TimeOffRequest_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["TimeOffRequest"]},"delete":{"operationId":"TimeOffRequest_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["TimeOffRequest"]}},"/api/time-off-request/count":{"get":{"operationId":"TimeOffRequest_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["TimeOffRequest"]}},"/api/time-off-request/{id}/soft":{"delete":{"operationId":"TimeOffRequest_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["TimeOffRequest"]}},"/api/time-off-request/{id}/recover":{"put":{"operationId":"TimeOffRequest_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["TimeOffRequest"]}},"/api/request-approval/employee/{id}":{"get":{"operationId":"RequestApproval_findRequestApprovalsByEmployeeId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all request approval.","tags":["RequestApproval"]}},"/api/request-approval/approval/{id}":{"put":{"operationId":"RequestApproval_employeeApprovalRequestApproval","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"employee accept request approval.","tags":["RequestApproval"]}},"/api/request-approval/refuse/{id}":{"put":{"operationId":"RequestApproval_employeeRefuseRequestApproval","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"employee refuse request approval.","tags":["RequestApproval"]}},"/api/request-approval":{"get":{"operationId":"RequestApproval_findAll","parameters":[],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all request approvals.","tags":["RequestApproval"]},"post":{"operationId":"RequestApproval_create","parameters":[],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"create a request approval.","tags":["RequestApproval"]}},"/api/request-approval/{id}":{"put":{"operationId":"RequestApproval_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestApproval"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"update a request approval.","tags":["RequestApproval"]},"get":{"operationId":"RequestApproval_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["RequestApproval"]},"delete":{"operationId":"RequestApproval_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["RequestApproval"]}},"/api/request-approval/count":{"get":{"operationId":"RequestApproval_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["RequestApproval"]}},"/api/request-approval/pagination":{"get":{"operationId":"RequestApproval_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["RequestApproval"]}},"/api/request-approval/{id}/soft":{"delete":{"operationId":"RequestApproval_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["RequestApproval"]}},"/api/request-approval/{id}/recover":{"put":{"operationId":"RequestApproval_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["RequestApproval"]}},"/api/equipment-sharing/organization/{id}":{"get":{"operationId":"EquipmentSharing_findEquipmentSharingsByOrganizationId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find equipment sharings By Organization Id","tags":["EquipmentSharing"]},"post":{"operationId":"EquipmentSharing_createEquipmentSharing","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Create an new record","tags":["EquipmentSharing"]}},"/api/equipment-sharing/employee/{id}":{"get":{"operationId":"EquipmentSharing_findEquipmentSharingsByEmployeeId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find equipment sharings By Employee Id","tags":["EquipmentSharing"]}},"/api/equipment-sharing/approval/{id}":{"put":{"operationId":"EquipmentSharing_equipmentSharingsRequestApproval","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"equipment sharings request approval","tags":["EquipmentSharing"]}},"/api/equipment-sharing/refuse/{id}":{"put":{"operationId":"EquipmentSharing_equipmentSharingsRequestRefuse","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"equipment sharings request refuse","tags":["EquipmentSharing"]}},"/api/equipment-sharing/pagination":{"get":{"operationId":"EquipmentSharing_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EquipmentSharing"]}},"/api/equipment-sharing":{"get":{"operationId":"EquipmentSharing_findAll","parameters":[],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all equipment sharings","tags":["EquipmentSharing"]},"post":{"operationId":"EquipmentSharing_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EquipmentSharing"]}},"/api/equipment-sharing/{id}":{"put":{"operationId":"EquipmentSharing_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharing"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["EquipmentSharing"]},"get":{"operationId":"EquipmentSharing_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EquipmentSharing"]},"delete":{"operationId":"EquipmentSharing_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EquipmentSharing"]}},"/api/equipment-sharing/count":{"get":{"operationId":"EquipmentSharing_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EquipmentSharing"]}},"/api/equipment-sharing/{id}/soft":{"delete":{"operationId":"EquipmentSharing_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EquipmentSharing"]}},"/api/equipment-sharing/{id}/recover":{"put":{"operationId":"EquipmentSharing_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EquipmentSharing"]}},"/api/approval-policy/request-approval":{"get":{"operationId":"ApprovalPolicy_findApprovalPoliciesForRequestApproval","parameters":[],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalPolicy"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all approval policies except time off and equipment sharing policy.","tags":["ApprovalPolicy"]}},"/api/approval-policy/pagination":{"get":{"operationId":"ApprovalPolicy_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ApprovalPolicy"]}},"/api/approval-policy":{"get":{"operationId":"ApprovalPolicy_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalPolicy"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all approval policies.","tags":["ApprovalPolicy"]},"post":{"operationId":"ApprovalPolicy_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApprovalPolicyDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ApprovalPolicy"]}},"/api/approval-policy/{id}":{"put":{"operationId":"ApprovalPolicy_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApprovalPolicyDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["ApprovalPolicy"]},"get":{"operationId":"ApprovalPolicy_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ApprovalPolicy"]},"delete":{"operationId":"ApprovalPolicy_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ApprovalPolicy"]}},"/api/approval-policy/count":{"get":{"operationId":"ApprovalPolicy_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ApprovalPolicy"]}},"/api/approval-policy/{id}/soft":{"delete":{"operationId":"ApprovalPolicy_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ApprovalPolicy"]}},"/api/approval-policy/{id}/recover":{"put":{"operationId":"ApprovalPolicy_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ApprovalPolicy"]}},"/api/equipment-sharing-policy/pagination":{"get":{"operationId":"EquipmentSharingPolicy_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Paginated list of equipment sharing policies retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharingPolicy"}}}},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get equipment sharing policies by pagination","tags":["EquipmentSharingPolicy"]}},"/api/equipment-sharing-policy":{"get":{"operationId":"EquipmentSharingPolicy_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Equipment sharing policies found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharingPolicy"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No equipment sharing policies found."}},"security":[{"bearer":[]}],"summary":"Find all equipment sharing policies","tags":["EquipmentSharingPolicy"]},"post":{"operationId":"EquipmentSharingPolicy_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrCreateEquipmentSharingPolicyDTO"}}}},"responses":{"201":{"description":"The Equipment Sharing Policy has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharingPolicy"}}}},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new Equipment Sharing Policy record","tags":["EquipmentSharingPolicy"]}},"/api/equipment-sharing-policy/{id}":{"put":{"operationId":"EquipmentSharingPolicy_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrCreateEquipmentSharingPolicyDTO"}}}},"responses":{"200":{"description":"The Equipment Sharing Policy has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentSharingPolicy"}}}},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"The Equipment Sharing Policy with the given ID was not found."}},"security":[{"bearer":[]}],"summary":"Update an existing Equipment Sharing Policy record","tags":["EquipmentSharingPolicy"]},"get":{"operationId":"EquipmentSharingPolicy_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EquipmentSharingPolicy"]},"delete":{"operationId":"EquipmentSharingPolicy_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EquipmentSharingPolicy"]}},"/api/equipment-sharing-policy/count":{"get":{"operationId":"EquipmentSharingPolicy_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EquipmentSharingPolicy"]}},"/api/equipment-sharing-policy/{id}/soft":{"delete":{"operationId":"EquipmentSharingPolicy_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EquipmentSharingPolicy"]}},"/api/equipment-sharing-policy/{id}/recover":{"put":{"operationId":"EquipmentSharingPolicy_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EquipmentSharingPolicy"]}},"/api/tag-types/count":{"get":{"operationId":"TagType_getCount","parameters":[],"responses":{"200":{"description":"Count Tag Types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Tag Types Count ","tags":["TagTypes"]}},"/api/tag-types":{"get":{"operationId":"TagType_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found tag types.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all tag types.","tags":["TagTypes"]},"post":{"operationId":"TagType_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTagTypeDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["TagTypes"]}},"/api/tag-types/{id}":{"put":{"operationId":"TagType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTagTypeDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["TagTypes"]},"get":{"operationId":"TagType_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["TagTypes"]},"delete":{"operationId":"TagType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["TagTypes"]}},"/api/tag-types/pagination":{"get":{"operationId":"TagType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["TagTypes"]}},"/api/tag-types/{id}/soft":{"delete":{"operationId":"TagType_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["TagTypes"]}},"/api/tag-types/{id}/recover":{"put":{"operationId":"TagType_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["TagTypes"]}},"/api/skills/getByName/{name}":{"get":{"operationId":"Skill_findByName","parameters":[{"name":"name","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Skills"]}},"/api/skills/count":{"get":{"operationId":"Skill_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Skills"]}},"/api/skills/pagination":{"get":{"operationId":"Skill_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Skills"]}},"/api/skills":{"get":{"operationId":"Skill_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Skills"]},"post":{"operationId":"Skill_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Skills"]}},"/api/skills/{id}":{"get":{"operationId":"Skill_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Skills"]},"put":{"operationId":"Skill_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["Skills"]},"delete":{"operationId":"Skill_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Skills"]}},"/api/skills/{id}/soft":{"delete":{"operationId":"Skill_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Skills"]}},"/api/skills/{id}/recover":{"put":{"operationId":"Skill_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Skills"]}},"/api/languages":{"get":{"operationId":"Language_findAll","parameters":[],"responses":{"200":{"description":"Found language","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Language"}}}},"404":{"description":"Record not found"}},"summary":"Find all language.","tags":["Languages"]}},"/api/languages/getByName/{name}":{"get":{"operationId":"Language_findByName","parameters":[{"name":"name","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Languages"]}},"/api/invoices/count":{"get":{"operationId":"Invoice_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]}},"/api/invoices/pagination":{"get":{"operationId":"Invoice_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]}},"/api/invoices/highest":{"get":{"operationId":"Invoice_findHighestInvoiceNumber","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]}},"/api/invoices":{"get":{"operationId":"Invoice_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]},"post":{"operationId":"Invoice_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvoiceDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Invoice"]}},"/api/invoices/{id}":{"get":{"operationId":"Invoice_findById","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]},"put":{"operationId":"Invoice_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInvoiceDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["Invoice"]},"delete":{"operationId":"Invoice_delete","parameters":[],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Invoice"]}},"/api/invoices/{id}/estimate":{"put":{"operationId":"Invoice_updateEstimate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEstimateInvoiceDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update estimate invoice","tags":["Invoice"]}},"/api/invoices/{id}/action":{"put":{"operationId":"Invoice_updateAction","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInvoiceActionDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update Invoice's Status","tags":["Invoice"]}},"/api/invoices/email/{email}":{"put":{"operationId":"Invoice_emailInvoice","parameters":[{"name":"email","required":true,"in":"path","schema":{"type":"string"}},{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]}},"/api/invoices/generate/{uuid}":{"put":{"operationId":"Invoice_generateLink","parameters":[],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Invoice"]}},"/api/invoices/download/{uuid}":{"get":{"operationId":"Invoice_downloadInvoicePdf","parameters":[],"responses":{"204":{"description":"The invoice has been successfully downloaded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Invoice not found"}},"security":[{"bearer":[]}],"summary":"Download Invoice","tags":["Invoice"]}},"/api/invoices/payment/download/{uuid}":{"get":{"operationId":"Invoice_downloadInvoicePaymentPdf","parameters":[],"responses":{"204":{"description":"The invoice has been successfully downloaded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Invoice not found"}},"security":[{"bearer":[]}],"summary":"Download Invoice","tags":["Invoice"]}},"/api/invoices/{id}/soft":{"delete":{"operationId":"Invoice_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Invoice"]}},"/api/invoices/{id}/recover":{"put":{"operationId":"Invoice_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Invoice"]}},"/api/estimate-email/validate":{"get":{"operationId":"EstimateEmail_validateEstimateEmail","parameters":[{"name":"email","required":true,"in":"query","readOnly":true,"schema":{"type":"string"}},{"name":"token","required":true,"in":"query","readOnly":true,"schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["tenant","organization"]}}],"responses":{"200":{"description":""}},"tags":["EstimateEmail"]}},"/api/invoice-item":{"get":{"operationId":"InvoiceItem_findAll","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["InvoiceItem"]},"post":{"operationId":"InvoiceItem_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["InvoiceItem"]}},"/api/invoice-item/bulk/{invoiceId}":{"post":{"operationId":"InvoiceItem_createBulk","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceItemBulkInputDTO"}}}},"responses":{"201":{"description":"Invoice item have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create invoice item in Bulk","tags":["InvoiceItem"]}},"/api/invoice-item/count":{"get":{"operationId":"InvoiceItem_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["InvoiceItem"]}},"/api/invoice-item/pagination":{"get":{"operationId":"InvoiceItem_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["InvoiceItem"]}},"/api/invoice-item/{id}":{"get":{"operationId":"InvoiceItem_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["InvoiceItem"]},"put":{"operationId":"InvoiceItem_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["InvoiceItem"]},"delete":{"operationId":"InvoiceItem_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["InvoiceItem"]}},"/api/invoice-item/{id}/soft":{"delete":{"operationId":"InvoiceItem_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["InvoiceItem"]}},"/api/invoice-item/{id}/recover":{"put":{"operationId":"InvoiceItem_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["InvoiceItem"]}},"/api/payments/report":{"get":{"operationId":"Payment_getPaymentReport","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found reports"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Payments report.","tags":["Payment"]}},"/api/payments/report/charts":{"get":{"operationId":"Payment_getDailyReportCharts","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBy","required":false,"in":"query","schema":{"type":"string","enum":["date","employee","project","client"]}},{"name":"timeZone","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Payment Report daily chart","tags":["Payment"]}},"/api/payments/receipt":{"post":{"operationId":"Payment_sendReceipt","parameters":[{"name":"origin","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/api/payments/pagination":{"get":{"operationId":"Payment_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/api/payments":{"get":{"operationId":"Payment_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Payment"]},"post":{"operationId":"Payment_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/api/payments/{id}":{"put":{"operationId":"Payment_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentDTO"}}}},"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Payment"]},"get":{"operationId":"Payment_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Payment"]},"delete":{"operationId":"Payment_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Payment"]}},"/api/payments/count":{"get":{"operationId":"Payment_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Payment"]}},"/api/payments/{id}/soft":{"delete":{"operationId":"Payment_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Payment"]}},"/api/payments/{id}/recover":{"put":{"operationId":"Payment_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Payment"]}},"/api/goals":{"post":{"operationId":"Goal_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGoalDTO"}}}},"responses":{"200":{"description":"Goal Created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Goal"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Goal","tags":["Goals"]},"get":{"operationId":"Goal_findAll","parameters":[],"responses":{"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"tags":["Goals"]}},"/api/goals/{id}":{"put":{"operationId":"Goal_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGoalDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Goals"]},"delete":{"operationId":"Goal_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Goals"]},"get":{"operationId":"Goal_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Goals"]}},"/api/goals/count":{"get":{"operationId":"Goal_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Goals"]}},"/api/goals/pagination":{"get":{"operationId":"Goal_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Goals"]}},"/api/goals/{id}/soft":{"delete":{"operationId":"Goal_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Goals"]}},"/api/goals/{id}/recover":{"put":{"operationId":"Goal_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Goals"]}},"/api/goal-time-frame":{"get":{"operationId":"GoalTimeFrame_findAll","parameters":[],"responses":{"200":{"description":"Found all Time Frames"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Time Frame found"}},"security":[{"bearer":[]}],"summary":"Get all Goal Time Frames","tags":["GoalTimeFrame"]},"post":{"operationId":"GoalTimeFrame_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGoalTimeFrameDTO"}}}},"responses":{"200":{"description":"Time Frame added successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalTimeFrame"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Goal Time Frame","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/{name}":{"get":{"operationId":"GoalTimeFrame_getByName","parameters":[{"name":"name","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found all Time Frames"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Time Frame found"}},"security":[{"bearer":[]}],"summary":"Find Goal Time Frames with name","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/{id}":{"put":{"operationId":"GoalTimeFrame_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGoalTimeFrameDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["GoalTimeFrame"]},"delete":{"operationId":"GoalTimeFrame_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["GoalTimeFrame"]},"get":{"operationId":"GoalTimeFrame_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/count":{"get":{"operationId":"GoalTimeFrame_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/pagination":{"get":{"operationId":"GoalTimeFrame_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/{id}/soft":{"delete":{"operationId":"GoalTimeFrame_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["GoalTimeFrame"]}},"/api/goal-time-frame/{id}/recover":{"put":{"operationId":"GoalTimeFrame_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["GoalTimeFrame"]}},"/api/goal-general-setting":{"get":{"operationId":"GoalGeneralSetting_findAll","parameters":[],"responses":{"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"tags":["GoalGeneralSetting"]},"post":{"operationId":"GoalGeneralSetting_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGoalGeneralSettingDTO"}}}},"responses":{"200":{"description":"Goal general setting Created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalGeneralSetting"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Goal General Setting","tags":["GoalGeneralSetting"]}},"/api/goal-general-setting/{id}":{"put":{"operationId":"GoalGeneralSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGoalGeneralSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["GoalGeneralSetting"]},"get":{"operationId":"GoalGeneralSetting_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["GoalGeneralSetting"]},"delete":{"operationId":"GoalGeneralSetting_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["GoalGeneralSetting"]}},"/api/goal-general-setting/count":{"get":{"operationId":"GoalGeneralSetting_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["GoalGeneralSetting"]}},"/api/goal-general-setting/pagination":{"get":{"operationId":"GoalGeneralSetting_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["GoalGeneralSetting"]}},"/api/goal-general-setting/{id}/soft":{"delete":{"operationId":"GoalGeneralSetting_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["GoalGeneralSetting"]}},"/api/goal-general-setting/{id}/recover":{"put":{"operationId":"GoalGeneralSetting_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["GoalGeneralSetting"]}},"/api/key-results":{"post":{"operationId":"KeyResult_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyResultDTO"}}}},"responses":{"200":{"description":"Key Result Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResult"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Key Result not found"}},"security":[{"bearer":[]}],"summary":"Create a key result","tags":["KeyResults"]},"get":{"operationId":"KeyResult_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["KeyResults"]}},"/api/key-results/bulk":{"post":{"operationId":"KeyResult_createBulkKeyResults","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResultBulkInputDTO"}}}},"responses":{"200":{"description":"Key Results Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResult"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Key Result not found"}},"security":[{"bearer":[]}],"summary":"Create Bulk key result","tags":["KeyResults"]}},"/api/key-results/{id}":{"get":{"operationId":"KeyResult_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["KeyResults"]},"put":{"operationId":"KeyResult_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateKeyResultDTO"}}}},"responses":{"201":{"description":"The keyresult has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Key Result not found"}},"security":[{"bearer":[]}],"summary":"Update an existing keyresult","tags":["KeyResults"]},"delete":{"operationId":"KeyResult_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["KeyResults"]}},"/api/key-results/count":{"get":{"operationId":"KeyResult_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KeyResults"]}},"/api/key-results/pagination":{"get":{"operationId":"KeyResult_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KeyResults"]}},"/api/key-results/{id}/soft":{"delete":{"operationId":"KeyResult_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KeyResults"]}},"/api/key-results/{id}/recover":{"put":{"operationId":"KeyResult_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KeyResults"]}},"/api/key-result-updates":{"post":{"operationId":"KeyResultUpdate_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyresultUpdateDTO"}}}},"responses":{"200":{"description":"Update created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResultUpdate"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create an update","tags":["KeyResultsUpdate"]},"get":{"operationId":"KeyResultUpdate_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/{id}":{"get":{"operationId":"KeyResultUpdate_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["KeyResultsUpdate"]},"put":{"operationId":"KeyResultUpdate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateKeyresultUpdateDTO"}}}},"responses":{"201":{"description":"The update has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Update not found"}},"security":[{"bearer":[]}],"summary":"Update an existing keyresult update","tags":["KeyResultsUpdate"]},"delete":{"operationId":"KeyResultUpdate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/deleteBulkByKeyResultId":{"delete":{"operationId":"KeyResultUpdate_deleteBulkByKeyResultId","parameters":[],"responses":{"200":{"description":"Found key result's updates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResultUpdate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"updates not found"}},"security":[{"bearer":[]}],"summary":"Delete updates by Key Result Id","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/count":{"get":{"operationId":"KeyResultUpdate_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/pagination":{"get":{"operationId":"KeyResultUpdate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/{id}/soft":{"delete":{"operationId":"KeyResultUpdate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["KeyResultsUpdate"]}},"/api/key-result-updates/{id}/recover":{"put":{"operationId":"KeyResultUpdate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["KeyResultsUpdate"]}},"/api/employee-level":{"get":{"operationId":"EmployeeLevel_findAll","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmployeeLevel"]},"post":{"operationId":"EmployeeLevel_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EmployeeLevel"]}},"/api/employee-level/{id}":{"put":{"operationId":"EmployeeLevel_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeLevel"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EmployeeLevel"]},"get":{"operationId":"EmployeeLevel_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["EmployeeLevel"]},"delete":{"operationId":"EmployeeLevel_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EmployeeLevel"]}},"/api/employee-level/count":{"get":{"operationId":"EmployeeLevel_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EmployeeLevel"]}},"/api/employee-level/pagination":{"get":{"operationId":"EmployeeLevel_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EmployeeLevel"]}},"/api/employee-level/{id}/soft":{"delete":{"operationId":"EmployeeLevel_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EmployeeLevel"]}},"/api/employee-level/{id}/recover":{"put":{"operationId":"EmployeeLevel_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EmployeeLevel"]}},"/api/event-type/count":{"get":{"operationId":"EventType_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EventType"]}},"/api/event-type/pagination":{"get":{"operationId":"EventType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["EventType"]}},"/api/event-type":{"get":{"operationId":"EventType_findAll","parameters":[],"responses":{"200":{"description":"Found expense","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all event types","tags":["EventType"]},"post":{"operationId":"EventType_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["EventType"]}},"/api/event-type/{id}":{"get":{"operationId":"EventType_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Find Event type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find event type by id.","tags":["EventType"]},"put":{"operationId":"EventType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventType"}}}},"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["EventType"]},"delete":{"operationId":"EventType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["EventType"]}},"/api/event-type/{id}/soft":{"delete":{"operationId":"EventType_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EventType"]}},"/api/event-type/{id}/recover":{"put":{"operationId":"EventType_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EventType"]}},"/api/availability-slots/bulk":{"post":{"operationId":"AvailabilitySlots_createBulkAvailabilitySlot","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"The records have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create slots in bulk","tags":["AvailabilitySlots"]}},"/api/availability-slots":{"get":{"operationId":"AvailabilitySlots_findAll","parameters":[],"responses":{"200":{"description":"Found availability slots","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilitySlot"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all availability slots","tags":["AvailabilitySlots"]},"post":{"operationId":"AvailabilitySlots_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["AvailabilitySlots"]}},"/api/availability-slots/{id}":{"put":{"operationId":"AvailabilitySlots_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update record","tags":["AvailabilitySlots"]},"get":{"operationId":"AvailabilitySlots_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["AvailabilitySlots"]},"delete":{"operationId":"AvailabilitySlots_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["AvailabilitySlots"]}},"/api/availability-slots/count":{"get":{"operationId":"AvailabilitySlots_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["AvailabilitySlots"]}},"/api/availability-slots/pagination":{"get":{"operationId":"AvailabilitySlots_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["AvailabilitySlots"]}},"/api/availability-slots/{id}/soft":{"delete":{"operationId":"AvailabilitySlots_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["AvailabilitySlots"]}},"/api/availability-slots/{id}/recover":{"put":{"operationId":"AvailabilitySlots_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["AvailabilitySlots"]}},"/api/pipelines/pagination":{"get":{"operationId":"Pipeline_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Pipeline"]}},"/api/pipelines":{"get":{"operationId":"Pipeline_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"find all","tags":["Pipeline"]},"post":{"operationId":"Pipeline_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Pipeline"]}},"/api/pipelines/{pipelineId}/deals":{"get":{"operationId":"Pipeline_getPipelineDeals","parameters":[{"name":"pipelineId","required":true,"in":"path","schema":{"type":"string"}},{"name":"relations","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"bearer":[]}],"summary":"Get deals for a specific pipeline","tags":["Pipeline"]}},"/api/pipelines/{id}":{"get":{"operationId":"Pipeline_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The found Pipeline"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Pipeline not found"}},"security":[{"bearer":[]}],"summary":"Find a Pipeline by ID","tags":["Pipeline"]},"put":{"operationId":"Pipeline_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePipelineDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Pipeline"]},"delete":{"operationId":"Pipeline_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Pipeline"]}},"/api/pipelines/count":{"get":{"operationId":"Pipeline_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Pipeline"]}},"/api/pipelines/{id}/soft":{"delete":{"operationId":"Pipeline_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Pipeline"]}},"/api/pipelines/{id}/recover":{"put":{"operationId":"Pipeline_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Pipeline"]}},"/api/deals":{"get":{"operationId":"Deal_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved deals."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Retrieve all deals with optional filtering and pagination","tags":["Deal"]},"post":{"operationId":"Deal_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/"}}}},"responses":{"201":{"description":"The deal has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}}},"400":{"description":"Invalid request data."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Internal server error."}},"security":[{"bearer":[]}],"summary":"Create a new deal","tags":["Deal"]}},"/api/deals/{id}":{"get":{"operationId":"Deal_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The found deal"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Deal not found"}},"security":[{"bearer":[]}],"summary":"Find a deal by ID","tags":["Deal"]},"put":{"operationId":"Deal_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["Deal"]},"delete":{"operationId":"Deal_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Deal"]}},"/api/deals/count":{"get":{"operationId":"Deal_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Deal"]}},"/api/deals/pagination":{"get":{"operationId":"Deal_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Deal"]}},"/api/deals/{id}/soft":{"delete":{"operationId":"Deal_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Deal"]}},"/api/deals/{id}/recover":{"put":{"operationId":"Deal_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Deal"]}},"/api/invoice-estimate-history":{"get":{"operationId":"InvoiceEstimateHistory_findAll","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["InvoiceEstimateHistory"]},"post":{"operationId":"InvoiceEstimateHistory_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["InvoiceEstimateHistory"]}},"/api/invoice-estimate-history/count":{"get":{"operationId":"InvoiceEstimateHistory_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["InvoiceEstimateHistory"]}},"/api/invoice-estimate-history/pagination":{"get":{"operationId":"InvoiceEstimateHistory_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["InvoiceEstimateHistory"]}},"/api/invoice-estimate-history/{id}":{"get":{"operationId":"InvoiceEstimateHistory_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["InvoiceEstimateHistory"]},"put":{"operationId":"InvoiceEstimateHistory_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["InvoiceEstimateHistory"]},"delete":{"operationId":"InvoiceEstimateHistory_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["InvoiceEstimateHistory"]}},"/api/invoice-estimate-history/{id}/soft":{"delete":{"operationId":"InvoiceEstimateHistory_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["InvoiceEstimateHistory"]}},"/api/invoice-estimate-history/{id}/recover":{"put":{"operationId":"InvoiceEstimateHistory_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["InvoiceEstimateHistory"]}},"/api/equipment/pagination":{"get":{"operationId":"Equipment_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Equipment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all equipment sharings by pagination","tags":["Equipment"]}},"/api/equipment":{"get":{"operationId":"Equipment_findAll","parameters":[],"responses":{"200":{"description":"Found equipment sharings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Equipment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all equipment sharings","tags":["Equipment"]},"post":{"operationId":"Equipment_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEquipmentDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"New equipment record","tags":["Equipment"]}},"/api/equipment/{id}":{"put":{"operationId":"Equipment_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEquipmentDTO"}}}},"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing equipment","tags":["Equipment"]},"get":{"operationId":"Equipment_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Equipment"]},"delete":{"operationId":"Equipment_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Equipment"]}},"/api/equipment/count":{"get":{"operationId":"Equipment_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Equipment"]}},"/api/equipment/{id}/soft":{"delete":{"operationId":"Equipment_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Equipment"]}},"/api/equipment/{id}/recover":{"put":{"operationId":"Equipment_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Equipment"]}},"/api/task-priorities":{"get":{"operationId":"TaskPriority_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Task Priority"]},"post":{"operationId":"TaskPriority_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Task Priority"]}},"/api/task-priorities/count":{"get":{"operationId":"TaskPriority_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Task Priority"]}},"/api/task-priorities/pagination":{"get":{"operationId":"TaskPriority_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Task Priority"]}},"/api/task-priorities/{id}":{"get":{"operationId":"TaskPriority_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Task Priority"]},"put":{"operationId":"TaskPriority_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Task Priority"]},"delete":{"operationId":"TaskPriority_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Task Priority"]}},"/api/task-priorities/{id}/soft":{"delete":{"operationId":"TaskPriority_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Task Priority"]}},"/api/task-priorities/{id}/recover":{"put":{"operationId":"TaskPriority_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Task Priority"]}},"/api/task-related-issue-types":{"get":{"operationId":"TaskRelatedIssueType_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Task RelatedIssueTypes"]},"post":{"operationId":"TaskRelatedIssueType_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Task RelatedIssueTypes"]}},"/api/task-related-issue-types/count":{"get":{"operationId":"TaskRelatedIssueType_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Task RelatedIssueTypes"]}},"/api/task-related-issue-types/pagination":{"get":{"operationId":"TaskRelatedIssueType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Task RelatedIssueTypes"]}},"/api/task-related-issue-types/{id}":{"get":{"operationId":"TaskRelatedIssueType_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Task RelatedIssueTypes"]},"put":{"operationId":"TaskRelatedIssueType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Task RelatedIssueTypes"]},"delete":{"operationId":"TaskRelatedIssueType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Task RelatedIssueTypes"]}},"/api/task-related-issue-types/{id}/soft":{"delete":{"operationId":"TaskRelatedIssueType_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Task RelatedIssueTypes"]}},"/api/task-related-issue-types/{id}/recover":{"put":{"operationId":"TaskRelatedIssueType_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Task RelatedIssueTypes"]}},"/api/task-sizes":{"get":{"operationId":"TaskSize_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Task Size"]},"post":{"operationId":"TaskSize_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Task Size"]}},"/api/task-sizes/count":{"get":{"operationId":"TaskSize_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Task Size"]}},"/api/task-sizes/pagination":{"get":{"operationId":"TaskSize_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Task Size"]}},"/api/task-sizes/{id}":{"get":{"operationId":"TaskSize_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Task Size"]},"put":{"operationId":"TaskSize_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Task Size"]},"delete":{"operationId":"TaskSize_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Task Size"]}},"/api/task-sizes/{id}/soft":{"delete":{"operationId":"TaskSize_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Task Size"]}},"/api/task-sizes/{id}/recover":{"put":{"operationId":"TaskSize_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Task Size"]}},"/api/task-statuses/reorder":{"patch":{"operationId":"TaskStatus_reorder","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderRequestDTO"}}}},"responses":{"200":{"description":"Reordering was successful."},"400":{"description":"Invalid input. Check your request body."},"500":{"description":"An error occurred during reordering."}},"summary":"Reorder records based on given input","tags":["Task Status"]}},"/api/task-statuses":{"get":{"operationId":"TaskStatus_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Task Status"]},"post":{"operationId":"TaskStatus_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Task Status"]}},"/api/task-statuses/{id}/default":{"put":{"operationId":"TaskStatus_markAsDefault","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatesStatusDTO"}}}},"responses":{"200":{"description":"Task status marked as default"}},"summary":"Make task status default.","tags":["Task Status"]}},"/api/task-statuses/count":{"get":{"operationId":"TaskStatus_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Task Status"]}},"/api/task-statuses/pagination":{"get":{"operationId":"TaskStatus_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Task Status"]}},"/api/task-statuses/{id}":{"get":{"operationId":"TaskStatus_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Task Status"]},"put":{"operationId":"TaskStatus_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Task Status"]},"delete":{"operationId":"TaskStatus_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Task Status"]}},"/api/task-statuses/{id}/soft":{"delete":{"operationId":"TaskStatus_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Task Status"]}},"/api/task-statuses/{id}/recover":{"put":{"operationId":"TaskStatus_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Task Status"]}},"/api/task-versions":{"get":{"operationId":"TaskVersion_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Task Version"]},"post":{"operationId":"TaskVersion_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Task Version"]}},"/api/task-versions/count":{"get":{"operationId":"TaskVersion_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Task Version"]}},"/api/task-versions/pagination":{"get":{"operationId":"TaskVersion_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Task Version"]}},"/api/task-versions/{id}":{"get":{"operationId":"TaskVersion_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Task Version"]},"put":{"operationId":"TaskVersion_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Task Version"]},"delete":{"operationId":"TaskVersion_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Task Version"]}},"/api/task-versions/{id}/soft":{"delete":{"operationId":"TaskVersion_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Task Version"]}},"/api/task-versions/{id}/recover":{"put":{"operationId":"TaskVersion_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Task Version"]}},"/api/daily-plan/me":{"get":{"operationId":"DailyPlan_getMyPlans","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Find my daily plans.","tags":["Daily Plan"]}},"/api/daily-plan/team":{"get":{"operationId":"DailyPlan_getTeamDailyPlans","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Find team daily plans.","tags":["Daily Plan"]}},"/api/daily-plan/employee/{id}":{"get":{"operationId":"DailyPlan_getEmployeeDailyPlans","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Find employee daily plans.","tags":["Daily Plan"]}},"/api/daily-plan/task/{id}":{"get":{"operationId":"DailyPlan_getDailyPlansForTaskId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Find task daily plans.","tags":["Daily Plan"]}},"/api/daily-plan/{id}/task":{"post":{"operationId":"DailyPlan_addTaskToDailyPlan","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Task added successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No record found with the given ID."}},"security":[{"bearer":[]}],"summary":"Add a task to daily plan","tags":["Daily Plan"]},"put":{"operationId":"DailyPlan_removeTaskFromDailyPlan","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Task successfully removed from the daily plan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No record found with the given ID."}},"security":[{"bearer":[]}],"summary":"Remove a task from daily plan","tags":["Daily Plan"]}},"/api/daily-plan/{taskId}/remove":{"put":{"operationId":"DailyPlan_removeTaskFromManyPlans","parameters":[{"name":"taskId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveTaskFromManyPlansDTO"}}}},"responses":{"200":{"description":"Task successfully removed from the daily plans.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No record found with the given ID."}},"security":[{"bearer":[]}],"summary":"Remove a task from daily plans","tags":["Daily Plan"]}},"/api/daily-plan":{"get":{"operationId":"DailyPlan_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Daily Plan"]},"post":{"operationId":"DailyPlan_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDailyPlanDTO"}}}},"responses":{"201":{"description":"Daily Plan has been successfully created."},"400":{"description":"Invalid input, The request body must contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new Daily Plan","tags":["Daily Plan"]}},"/api/daily-plan/{id}":{"put":{"operationId":"DailyPlan_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDailyPlanDTO"}}}},"responses":{"200":{"description":"Plan updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Update daily plan","tags":["Daily Plan"]},"delete":{"operationId":"DailyPlan_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Plan deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DailyPlan"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No Record found"}},"security":[{"bearer":[]}],"summary":"Delete Daily plan","tags":["Daily Plan"]},"get":{"operationId":"DailyPlan_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Daily Plan"]}},"/api/daily-plan/count":{"get":{"operationId":"DailyPlan_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Daily Plan"]}},"/api/daily-plan/pagination":{"get":{"operationId":"DailyPlan_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Daily Plan"]}},"/api/daily-plan/{id}/soft":{"delete":{"operationId":"DailyPlan_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Daily Plan"]}},"/api/daily-plan/{id}/recover":{"put":{"operationId":"DailyPlan_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Daily Plan"]}},"/api/screening-tasks":{"get":{"operationId":"ScreeningTasks_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found screening tasks.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreeningTask"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all screening tasks","tags":["Screening Tasks"]},"post":{"operationId":"ScreeningTasks_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateScreeningTaskDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Creates Screening Task","tags":["Screening Tasks"]}},"/api/screening-tasks/{id}":{"get":{"operationId":"ScreeningTasks_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one screening task","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreeningTask"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Screening task not found"}},"security":[{"bearer":[]}],"summary":"Find screening task by id","tags":["Screening Tasks"]},"put":{"operationId":"ScreeningTasks_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScreeningTaskDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Updates an existing screening task","tags":["Screening Tasks"]},"delete":{"operationId":"ScreeningTasks_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete screening task","tags":["Screening Tasks"]}},"/api/screening-tasks/count":{"get":{"operationId":"ScreeningTasks_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Screening Tasks"]}},"/api/screening-tasks/pagination":{"get":{"operationId":"ScreeningTasks_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Screening Tasks"]}},"/api/screening-tasks/{id}/soft":{"delete":{"operationId":"ScreeningTasks_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Screening Tasks"]}},"/api/screening-tasks/{id}/recover":{"put":{"operationId":"ScreeningTasks_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Screening Tasks"]}},"/api/organization-employment-type":{"get":{"operationId":"OrganizationEmploymentType_findAll","parameters":[],"responses":{"200":{"description":"Found employment types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationEmploymentType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all organization employment types.","tags":["OrganizationEmploymentType"]},"post":{"operationId":"OrganizationEmploymentType_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["OrganizationEmploymentType"]}},"/api/organization-employment-type/{id}":{"put":{"operationId":"OrganizationEmploymentType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationEmploymentType"}}}},"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["OrganizationEmploymentType"]},"get":{"operationId":"OrganizationEmploymentType_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["OrganizationEmploymentType"]},"delete":{"operationId":"OrganizationEmploymentType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["OrganizationEmploymentType"]}},"/api/organization-employment-type/count":{"get":{"operationId":"OrganizationEmploymentType_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationEmploymentType"]}},"/api/organization-employment-type/pagination":{"get":{"operationId":"OrganizationEmploymentType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationEmploymentType"]}},"/api/organization-employment-type/{id}/soft":{"delete":{"operationId":"OrganizationEmploymentType_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationEmploymentType"]}},"/api/organization-employment-type/{id}/recover":{"put":{"operationId":"OrganizationEmploymentType_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationEmploymentType"]}},"/api/timesheet/custom-tracking":{"post":{"description":"Submit encoded tracking data to be stored in the appropriate TimeSlot","operationId":"CustomTracking_submitTrackingData","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessTrackingDataDTO"}}}},"responses":{"201":{"description":"Custom tracking data submitted successfully"},"400":{"description":"Invalid tracking data or no active TimeSlot found"}},"summary":"Submit custom tracking data","tags":["Custom Tracking"]}},"/api/timesheet/custom-tracking/bulk":{"post":{"description":"Submit multiple encoded tracking data entries to be processed in bulk","operationId":"CustomTracking_submitBulkTrackingData","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomTrackingBulkInputDTO"}}}},"responses":{"201":{"description":"Bulk custom tracking data submitted successfully"},"400":{"description":"Invalid bulk tracking data"}},"summary":"Submit bulk custom tracking data","tags":["Custom Tracking"]}},"/api/timesheet/custom-tracking/sessions":{"get":{"description":"Retrieve custom tracking sessions with optional filtering by date range, employee, and project","operationId":"CustomTracking_getTrackingSessions","parameters":[{"name":"source","required":false,"in":"query","schema":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"logType","required":false,"in":"query","schema":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]}},{"name":"activityLevel","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"groupBySession","required":false,"in":"query","description":"Whether to group tracking sessions by sessionId","schema":{"default":true,"type":"boolean"}},{"name":"includeDecodedData","required":false,"in":"query","description":"Whether to include decoded data in the response. By default, only encoded data is returned.","schema":{"default":false,"type":"boolean"}},{"name":"sessionId","required":false,"in":"query","description":"Filter tracking sessions by session ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Custom tracking sessions retrieved successfully"}},"summary":"Get custom tracking sessions","tags":["Custom Tracking"]}},"/api/timesheet/custom-tracking/time-slot/{id}":{"get":{"description":"Retrieve custom tracking data for a specific TimeSlot","operationId":"CustomTracking_getTimeSlotTrackingData","parameters":[{"name":"id","required":true,"in":"path","description":"TimeSlot ID","schema":{"type":"string"}}],"responses":{"200":{"description":"TimeSlot tracking data retrieved successfully"},"404":{"description":"TimeSlot not found"}},"summary":"Get TimeSlot tracking data","tags":["Custom Tracking"]}},"/api/timesheet/custom-tracking/session/{sessionId}":{"get":{"description":"Retrieve tracking sessions for a specific sessionId","operationId":"CustomTracking_getSessionsBySessionId","parameters":[{"name":"sessionId","required":true,"in":"path","description":"Session ID to search for","schema":{"type":"string"}},{"name":"startDate","required":true,"in":"query","schema":{"type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Tracking sessions retrieved successfully"}},"summary":"Get tracking sessions by sessionId","tags":["Custom Tracking"]}},"/api/timesheet/custom-tracking/active":{"get":{"description":"Retrieve currently active tracking sessions with recent activity","operationId":"CustomTracking_getActiveSessions","parameters":[{"name":"employeeId","required":true,"in":"query","schema":{"type":"string"}},{"name":"activityThresholdMinutes","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Active tracking sessions retrieved successfully"}},"summary":"Get active tracking sessions","tags":["Custom Tracking"]}},"/api/timesheet/count":{"get":{"operationId":"TimeSheet_getTimesheetCount","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"status","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Timesheet count successfully retrieved"},"400":{"description":"Invalid input, check the response body for more details"}},"summary":"Get timesheet count","tags":["TimeSheet"]}},"/api/timesheet/status":{"put":{"operationId":"TimeSheet_updateTimesheetStatus","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTimesheetStatusDTO"}}}},"responses":{"200":{"description":"The timesheet has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Update timesheet","tags":["TimeSheet"]}},"/api/timesheet/submit":{"put":{"operationId":"TimeSheet_submitTimeSheet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitTimesheetStatusDTO"}}}},"responses":{"200":{"description":"The timesheet has been successfully submit."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Submit timesheet","tags":["TimeSheet"]}},"/api/timesheet":{"get":{"operationId":"TimeSheet_get","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"employeeIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"projectIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"taskIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"teamIds","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"status","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Get timesheet"},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Get timesheet","tags":["TimeSheet"]}},"/api/timesheet/{id}":{"get":{"operationId":"TimeSheet_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found timesheet by id"},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Find timesheet by id","tags":["TimeSheet"]}},"/api/report/category":{"get":{"operationId":"ReportCategory_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records"}},"summary":"Find all","tags":["Report Category"]}},"/api/report":{"get":{"operationId":"Report_findAllReports","parameters":[],"responses":{"200":{"description":"Found records"}},"summary":"Find all","tags":["Report"]}},"/api/report/menu-items":{"get":{"operationId":"Report_getMenuItems","parameters":[],"responses":{"200":{"description":"Found records"}},"summary":"Find all","tags":["Report"]}},"/api/report/menu-item":{"post":{"operationId":"Report_updateReportMenu","parameters":[],"responses":{"200":{"description":"Found records"}},"summary":"Find all","tags":["Report"]}},"/api/product-categories/count":{"get":{"operationId":"ProductCategory_getCount","parameters":[],"responses":{"200":{"description":"Count product categories","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCategory"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find product categories Count ","tags":["ProductCategories"]}},"/api/product-categories/pagination":{"get":{"operationId":"ProductCategory_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found product categories by pagination","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCategory"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product categories by pagination","tags":["ProductCategories"]}},"/api/product-categories":{"get":{"operationId":"ProductCategory_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found product categories.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCategory"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product categories.","tags":["ProductCategories"]},"post":{"operationId":"ProductCategory_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCategoryDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductCategories"]}},"/api/product-categories/{id}":{"put":{"operationId":"ProductCategory_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCategoryDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["ProductCategories"]},"get":{"operationId":"ProductCategory_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ProductCategories"]},"delete":{"operationId":"ProductCategory_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductCategories"]}},"/api/product-categories/{id}/soft":{"delete":{"operationId":"ProductCategory_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductCategories"]}},"/api/product-categories/{id}/recover":{"put":{"operationId":"ProductCategory_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductCategories"]}},"/api/product-types/count":{"get":{"operationId":"ProductType_getCount","parameters":[],"responses":{"200":{"description":"Count Product Types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Product Types Count ","tags":["ProductTypes"]}},"/api/product-types/pagination":{"get":{"operationId":"ProductType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found product types by pagination","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product types by pagination","tags":["ProductTypes"]}},"/api/product-types":{"get":{"operationId":"ProductType_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found product types.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductType"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product types.","tags":["ProductTypes"]},"post":{"operationId":"ProductType_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductTypeDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductTypes"]}},"/api/product-types/{id}":{"put":{"operationId":"ProductType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductTypeDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["ProductTypes"]},"get":{"operationId":"ProductType_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ProductTypes"]},"delete":{"operationId":"ProductType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductTypes"]}},"/api/product-types/{id}/soft":{"delete":{"operationId":"ProductType_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductTypes"]}},"/api/product-types/{id}/recover":{"put":{"operationId":"ProductType_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductTypes"]}},"/api/products/local/{langCode}":{"get":{"operationId":"Product_findAllProductsTranslated","parameters":[{"name":"langCode","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found products","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all products translated","tags":["Product"]}},"/api/products/local/{langCode}/{id}":{"get":{"operationId":"Product_findOneProductTranslated","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"langCode","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find one product translated","tags":["Product"]}},"/api/products/add-images/{productId}":{"post":{"operationId":"Product_addGalleryImage","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"The gallery image has been stored."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create gallery image","tags":["Product"]}},"/api/products/set-as-featured/{productId}":{"post":{"operationId":"Product_setAsFeatured","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The featured image has been saved."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Set featured image","tags":["Product"]}},"/api/products/{productId}/gallery-image/{imageId}":{"delete":{"operationId":"Product_deleteGalleryImage","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}},{"name":"imageId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete image from gallery","tags":["Product"]}},"/api/products/featured-image/{productId}":{"delete":{"operationId":"Product_deleteFeaturedImage","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete featured image","tags":["Product"]}},"/api/products/count":{"get":{"operationId":"Product_getCount","parameters":[],"responses":{"200":{"description":"Count Products","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Products Count ","tags":["Product"]}},"/api/products/pagination":{"get":{"operationId":"Product_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Product"]}},"/api/products":{"get":{"operationId":"Product_findAll","parameters":[],"responses":{"200":{"description":"Found products","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all products","tags":["Product"]},"post":{"operationId":"Product_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProductDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Product"]}},"/api/products/{id}":{"get":{"operationId":"Product_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find Product by id ","tags":["Product"]},"put":{"operationId":"Product_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProductDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["Product"]},"delete":{"operationId":"Product_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Product"]}},"/api/products/{id}/soft":{"delete":{"operationId":"Product_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Product"]}},"/api/products/{id}/recover":{"put":{"operationId":"Product_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Product"]}},"/api/product-variant-settings/count":{"get":{"operationId":"ProductVariantSetting_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ProductVariantSetting"]}},"/api/product-variant-settings/pagination":{"get":{"operationId":"ProductVariantSetting_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["ProductVariantSetting"]}},"/api/product-variant-settings":{"get":{"operationId":"ProductVariantSetting_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["ProductVariantSetting"]},"post":{"operationId":"ProductVariantSetting_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductVariantSetting"]}},"/api/product-variant-settings/{id}":{"get":{"operationId":"ProductVariantSetting_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ProductVariantSetting"]},"put":{"operationId":"ProductVariantSetting_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["ProductVariantSetting"]},"delete":{"operationId":"ProductVariantSetting_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductVariantSetting"]}},"/api/product-variant-settings/{id}/soft":{"delete":{"operationId":"ProductVariantSetting_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductVariantSetting"]}},"/api/product-variant-settings/{id}/recover":{"put":{"operationId":"ProductVariantSetting_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductVariantSetting"]}},"/api/product-variant-price/count":{"get":{"operationId":"ProductVariantPrice_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ProductVariantPrice"]}},"/api/product-variant-price/pagination":{"get":{"operationId":"ProductVariantPrice_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["ProductVariantPrice"]}},"/api/product-variant-price":{"get":{"operationId":"ProductVariantPrice_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["ProductVariantPrice"]},"post":{"operationId":"ProductVariantPrice_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductVariantPrice"]}},"/api/product-variant-price/{id}":{"get":{"operationId":"ProductVariantPrice_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ProductVariantPrice"]},"put":{"operationId":"ProductVariantPrice_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["ProductVariantPrice"]},"delete":{"operationId":"ProductVariantPrice_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductVariantPrice"]}},"/api/product-variant-price/{id}/soft":{"delete":{"operationId":"ProductVariantPrice_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductVariantPrice"]}},"/api/product-variant-price/{id}/recover":{"put":{"operationId":"ProductVariantPrice_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductVariantPrice"]}},"/api/product-options/count":{"get":{"operationId":"ProductOption_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ProductOption"]}},"/api/product-options/pagination":{"get":{"operationId":"ProductOption_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["ProductOption"]}},"/api/product-options":{"get":{"operationId":"ProductOption_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["ProductOption"]},"post":{"operationId":"ProductOption_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductOption"]}},"/api/product-options/{id}":{"get":{"operationId":"ProductOption_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["ProductOption"]},"put":{"operationId":"ProductOption_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["ProductOption"]},"delete":{"operationId":"ProductOption_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductOption"]}},"/api/product-options/{id}/soft":{"delete":{"operationId":"ProductOption_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductOption"]}},"/api/product-options/{id}/recover":{"put":{"operationId":"ProductOption_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductOption"]}},"/api/product-variants/product/{productId}":{"get":{"operationId":"ProductVariant_findAllVariantsByProduct","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found product variants","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all variants by product id","tags":["ProductVariant"]}},"/api/product-variants/variants":{"post":{"operationId":"ProductVariant_createProductVariants","parameters":[],"responses":{"201":{"description":"These records have been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create product variants","tags":["ProductVariant"]}},"/api/product-variants":{"get":{"operationId":"ProductVariant_findAll","parameters":[],"responses":{"200":{"description":"Found product variants","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product variants","tags":["ProductVariant"]},"post":{"operationId":"ProductVariant_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["ProductVariant"]}},"/api/product-variants/{id}":{"get":{"operationId":"ProductVariant_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found product variants","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product variants","tags":["ProductVariant"]},"put":{"operationId":"ProductVariant_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductVariant"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["ProductVariant"]},"delete":{"operationId":"ProductVariant_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["ProductVariant"]}},"/api/product-variants/featured-image/{variantId}":{"delete":{"operationId":"ProductVariant_deleteFeaturedImage","parameters":[{"name":"variantId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete featured image","tags":["ProductVariant"]}},"/api/product-variants/count":{"get":{"operationId":"ProductVariant_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["ProductVariant"]}},"/api/product-variants/pagination":{"get":{"operationId":"ProductVariant_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["ProductVariant"]}},"/api/product-variants/{id}/soft":{"delete":{"operationId":"ProductVariant_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ProductVariant"]}},"/api/product-variants/{id}/recover":{"put":{"operationId":"ProductVariant_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ProductVariant"]}},"/api/image-assets/upload/{folder}":{"post":{"operationId":"ImageAssetController_1_upload","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadImageAsset"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ImageAsset"]}},"/api/image-assets/count":{"get":{"operationId":"ImageAssetController_1_getCount","parameters":[],"responses":{"200":{"description":"Found image assets count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all image assets counts in the same tenant","tags":["ImageAsset"]}},"/api/image-assets/pagination":{"get":{"operationId":"ImageAssetController_1_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found image assets in the tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageAsset"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all image assets in the same tenant using pagination.","tags":["ImageAsset"]}},"/api/image-assets":{"get":{"operationId":"ImageAssetController_1_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ImageAsset"]},"post":{"operationId":"ImageAssetController_1_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageAsset"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ImageAsset"]}},"/api/image-assets/{id}":{"get":{"operationId":"ImageAssetController_1_findById","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ImageAsset"]},"delete":{"operationId":"ImageAssetController_1_delete","parameters":[],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["ImageAsset"]},"put":{"operationId":"ImageAssetController_1_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["ImageAsset"]}},"/api/image-assets/{id}/soft":{"delete":{"operationId":"ImageAssetController_1_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["ImageAsset"]}},"/api/image-assets/{id}/recover":{"put":{"operationId":"ImageAssetController_1_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["ImageAsset"]}},"/api/goal-kpi":{"get":{"operationId":"GoalKpi_findAll","parameters":[],"responses":{"200":{"description":"Found all KPI"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No KPI found"}},"security":[{"bearer":[]}],"summary":"Get all KPI","tags":["GoalKpi"]},"post":{"operationId":"GoalKpi_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPI"}}}},"responses":{"200":{"description":"KPI added successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPI"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Goal KPI","tags":["GoalKpi"]}},"/api/goal-kpi/{id}":{"put":{"operationId":"GoalKpi_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPI"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing record","tags":["GoalKpi"]},"delete":{"operationId":"GoalKpi_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["GoalKpi"]},"get":{"operationId":"GoalKpi_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["GoalKpi"]}},"/api/goal-kpi/count":{"get":{"operationId":"GoalKpi_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["GoalKpi"]}},"/api/goal-kpi/pagination":{"get":{"operationId":"GoalKpi_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["GoalKpi"]}},"/api/goal-kpi/{id}/soft":{"delete":{"operationId":"GoalKpi_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["GoalKpi"]}},"/api/goal-kpi/{id}/recover":{"put":{"operationId":"GoalKpi_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["GoalKpi"]}},"/api/goal-templates":{"get":{"operationId":"GoalTemplate_findAll","parameters":[],"responses":{"200":{"description":"Found goal templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find goal templates.","tags":["GoalTemplates"]},"post":{"operationId":"GoalTemplate_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalTemplate"}}}},"responses":{"200":{"description":"Goal Template Created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Goal Template","tags":["GoalTemplates"]}},"/api/goal-templates/count":{"get":{"operationId":"GoalTemplate_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["GoalTemplates"]}},"/api/goal-templates/pagination":{"get":{"operationId":"GoalTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["GoalTemplates"]}},"/api/goal-templates/{id}":{"get":{"operationId":"GoalTemplate_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["GoalTemplates"]},"put":{"operationId":"GoalTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["GoalTemplates"]},"delete":{"operationId":"GoalTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["GoalTemplates"]}},"/api/goal-templates/{id}/soft":{"delete":{"operationId":"GoalTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["GoalTemplates"]}},"/api/goal-templates/{id}/recover":{"put":{"operationId":"GoalTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["GoalTemplates"]}},"/api/key-result-templates":{"get":{"operationId":"KeyresultTemplate_findAll","parameters":[],"responses":{"200":{"description":"Found key result templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResultTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find key result templates.","tags":["keyResultTemplate"]},"post":{"operationId":"KeyresultTemplate_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyresultTemplateDTO"}}}},"responses":{"200":{"description":"KeyResult Template Created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyResultTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create KeyResult Template","tags":["keyResultTemplate"]}},"/api/key-result-templates/count":{"get":{"operationId":"KeyresultTemplate_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["keyResultTemplate"]}},"/api/key-result-templates/pagination":{"get":{"operationId":"KeyresultTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["keyResultTemplate"]}},"/api/key-result-templates/{id}":{"get":{"operationId":"KeyresultTemplate_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["keyResultTemplate"]},"put":{"operationId":"KeyresultTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["keyResultTemplate"]},"delete":{"operationId":"KeyresultTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["keyResultTemplate"]}},"/api/key-result-templates/{id}/soft":{"delete":{"operationId":"KeyresultTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["keyResultTemplate"]}},"/api/key-result-templates/{id}/recover":{"put":{"operationId":"KeyresultTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["keyResultTemplate"]}},"/api/goal-kpi-template":{"get":{"operationId":"GoalKpiTemplate_findAll","parameters":[],"responses":{"200":{"description":"Found goal kpi templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPITemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all goal kpi templates.","tags":["GoalKpiTemplate"]},"post":{"operationId":"GoalKpiTemplate_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPITemplate"}}}},"responses":{"200":{"description":"Goal kpi template created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalKPITemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create goal kpi template","tags":["GoalKpiTemplate"]}},"/api/goal-kpi-template/count":{"get":{"operationId":"GoalKpiTemplate_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["GoalKpiTemplate"]}},"/api/goal-kpi-template/pagination":{"get":{"operationId":"GoalKpiTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["GoalKpiTemplate"]}},"/api/goal-kpi-template/{id}":{"get":{"operationId":"GoalKpiTemplate_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["GoalKpiTemplate"]},"put":{"operationId":"GoalKpiTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["GoalKpiTemplate"]},"delete":{"operationId":"GoalKpiTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["GoalKpiTemplate"]}},"/api/goal-kpi-template/{id}/soft":{"delete":{"operationId":"GoalKpiTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["GoalKpiTemplate"]}},"/api/goal-kpi-template/{id}/recover":{"put":{"operationId":"GoalKpiTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["GoalKpiTemplate"]}},"/api/accounting-template/count":{"get":{"operationId":"AccountingTemplate_getCount","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Accounting Template"]}},"/api/accounting-template/pagination":{"get":{"operationId":"AccountingTemplate_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Accounting Template"]}},"/api/accounting-template/template":{"get":{"operationId":"AccountingTemplate_getAccountingTemplate","parameters":[],"responses":{"200":{"description":"Found template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find template by name and language code for organization","tags":["Accounting Template"]}},"/api/accounting-template/template/preview":{"post":{"operationId":"AccountingTemplate_generatePreview","parameters":[],"responses":{"200":{"description":"text converted to html","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Converts mjml or handlebar text to html for template preview","tags":["Accounting Template"]}},"/api/accounting-template/template/save":{"post":{"operationId":"AccountingTemplate_saveTemplate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveAccountingTemplateDTO"}}}},"responses":{"200":{"description":"text converted to html","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Converts mjml or handlebar text to html for template preview","tags":["Accounting Template"]}},"/api/accounting-template":{"get":{"operationId":"AccountingTemplate_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Accounting Template"]},"post":{"operationId":"AccountingTemplate_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Accounting Template"]}},"/api/accounting-template/{id}":{"get":{"operationId":"AccountingTemplate_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"template found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Gets template by id","tags":["Accounting Template"]},"put":{"operationId":"AccountingTemplate_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"template updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Updates template","tags":["Accounting Template"]},"delete":{"operationId":"AccountingTemplate_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Accounting template deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingTemplate"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Accounting template not found"}},"security":[{"bearer":[]}],"summary":"Delete accounting template","tags":["Accounting Template"]}},"/api/accounting-template/{id}/soft":{"delete":{"operationId":"AccountingTemplate_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Accounting Template"]}},"/api/accounting-template/{id}/recover":{"put":{"operationId":"AccountingTemplate_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Accounting Template"]}},"/api/warehouses/inventory/{warehouseId}":{"get":{"operationId":"Warehouse_findAllWarehouseProducts","parameters":[{"name":"warehouseId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found warehouse products.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all warehouse products.","tags":["Warehouses"]},"post":{"operationId":"Warehouse_addWarehouseProducts","parameters":[{"name":"warehouseId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create warehouse products","tags":["Warehouses"]}},"/api/warehouses/inventory-quantity/{warehouseProductId}":{"post":{"operationId":"Warehouse_updateWarehouseProductQuantity","parameters":[{"name":"warehouseProductId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Warehouse product quantity updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update warehouse product quantity.","tags":["Warehouses"]}},"/api/warehouses/inventory-quantity/variants/{warehouseProductVariantId}":{"post":{"operationId":"Warehouse_updateWarehouseProductVariantQuantity","parameters":[{"name":"warehouseProductVariantId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Warehouse product variant count updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update warehouse product variant count.","tags":["Warehouses"]}},"/api/warehouses/count":{"get":{"operationId":"Warehouse_getCount","parameters":[],"responses":{"200":{"description":"Found warehouse count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all warehouse count in the same tenant","tags":["Warehouses"]}},"/api/warehouses/pagination":{"get":{"operationId":"Warehouse_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Warehouses"]}},"/api/warehouses":{"get":{"operationId":"Warehouse_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found warehouses.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all warehouses.","tags":["Warehouses"]},"post":{"operationId":"Warehouse_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWarehouseDTO"}}}},"responses":{"201":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Warehouses"]}},"/api/warehouses/{id}":{"get":{"operationId":"Warehouse_findById","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Warehouses"]},"put":{"operationId":"Warehouse_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWarehouseDTO"}}}},"responses":{"201":{"description":"The warehouse record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing warehouse","tags":["Warehouses"]},"delete":{"operationId":"Warehouse_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Warehouses"]}},"/api/warehouses/{id}/soft":{"delete":{"operationId":"Warehouse_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Warehouses"]}},"/api/warehouses/{id}/recover":{"put":{"operationId":"Warehouse_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Warehouses"]}},"/api/merchants/count":{"get":{"operationId":"Merchant_getCount","parameters":[],"responses":{"200":{"description":"Found merchant stores count"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Find all merchant stores count in the same tenant","tags":["Merchants"]}},"/api/merchants/pagination":{"get":{"operationId":"Merchant_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Merchants"]}},"/api/merchants":{"get":{"operationId":"Merchant_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found product stores.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Merchant"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all product stores.","tags":["Merchants"]},"post":{"operationId":"Merchant_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMerchantDTO"}}}},"responses":{"201":{"description":"The merchant store has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Merchants"]}},"/api/merchants/{id}":{"get":{"operationId":"Merchant_findById","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found merchant.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Merchant"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Get merchant by id.","tags":["Merchants"]},"put":{"operationId":"Merchant_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMerchantDTO"}}}},"responses":{"201":{"description":"The merchant store record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update merchant store record","tags":["Merchants"]},"delete":{"operationId":"Merchant_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Merchants"]}},"/api/merchants/{id}/soft":{"delete":{"operationId":"Merchant_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Merchants"]}},"/api/merchants/{id}/recover":{"put":{"operationId":"Merchant_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Merchants"]}},"/api/cloud/migrate":{"post":{"operationId":"GauzyCloud_migrateUserToGauzyCloud","parameters":[],"responses":{"201":{"description":"The user has been successfully created in the Gauzy cloud."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Migrate self hosted to gauzy cloud hosted","tags":["GauzyCloud"]}},"/api/cloud/migrate/tenant/{token}":{"post":{"operationId":"GauzyCloud_migrateTenantToGauzyCloud","parameters":[{"name":"token","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The tenant has been successfully created in the Gauzy cloud."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Migrate self hosted tenant into the gauzy cloud tenant","tags":["GauzyCloud"]}},"/api/cloud/migrate/organization/{token}":{"post":{"operationId":"GauzyCloud_migrateOrganizationToGauzyCloud","parameters":[{"name":"token","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"The organization has been successfully created in the Gauzy cloud."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Migrate self hosted organization into the gauzy cloud organization","tags":["GauzyCloud"]}},"/api/public/employee":{"get":{"operationId":"PublicEmployee_findPublicEmployeesByOrganization","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["user","user.image","organizationEmploymentTypes","organizationPosition","skills","awards"]}}],"responses":{"200":{"description":"Found employees in the organization"},"404":{"description":"Records not found"}},"summary":"Find public information for all employees in the organization.","tags":["PublicEmployee"]}},"/api/public/employee/{profile_link}/{id}":{"get":{"operationId":"PublicEmployee_findPublicEmployeeByProfileLink","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["user","user.image","organizationEmploymentTypes","organizationPosition","skills","awards"]}}],"responses":{"200":{"description":"Found employee in the organization"},"404":{"description":"Record not found"}},"summary":"Find public information for one employee by profile link in the organization.","tags":["PublicEmployee"]}},"/api/public/invoice/{id}/{token}":{"get":{"operationId":"PublicInvoice_findOneByPublicLink","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["tenant","organization","fromOrganization","toContact","invoiceItems","invoiceItems.employee","invoiceItems.employee.user","invoiceItems.project","invoiceItems.product","invoiceItems.expense","invoiceItems.task"]}}],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find Invoice by invoice token.","tags":["PublicInvoice"]},"put":{"operationId":"PublicInvoice_updateInvoiceByEstimateEmailToken","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicEstimateUpdateDTO"}}}},"responses":{"202":{"description":"Estimate updated successfully."},"404":{"description":"Record not found."}},"summary":"Update Estimate by estimate token.","tags":["PublicInvoice"]}},"/api/public/organization/client":{"get":{"operationId":"PublicOrganization_findPublicClientsByOrganization","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found clients in the organization"},"404":{"description":"Records not found"}},"summary":"Find public information for all clients in the organization.","tags":["PublicOrganization"]}},"/api/public/organization/client/count":{"get":{"operationId":"PublicOrganization_findPublicClientCountsByOrganization","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["PublicOrganization"]}},"/api/public/organization/project/count":{"get":{"operationId":"PublicOrganization_findPublicProjectCountsByOrganization","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["PublicOrganization"]}},"/api/public/organization/{profile_link}/{id}":{"get":{"operationId":"PublicOrganization_findOneByProfileLink","parameters":[{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["image","skills","awards","languages","languages.language"]}}],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find Organization by profile link.","tags":["PublicOrganization"]}},"/api/public/team/{profile_link}/{id}":{"get":{"operationId":"PublicTeam_findOneByProfileLink","parameters":[{"name":"withLastWorkedTask","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"source","required":false,"in":"query","schema":{"default":"BROWSER","type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},{"name":"relations","required":false,"in":"query","schema":{"type":"string","enum":["organization","members","members.employee","members.employee.user","tasks","tasks.members","tasks.teams","tasks.tags","statuses","priorities","sizes","labels","issueTypes"]}}],"responses":{"200":{"description":"Found one record"},"404":{"description":"Record not found"}},"summary":"Find Team by profile link.","tags":["PublicTeam"]}},"/api/email-reset/request-change-email":{"post":{"operationId":"EmailReset_requestChangeEmail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetEmailRequestDTO"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["EmailReset"]}},"/api/email-reset/verify-change-email":{"post":{"operationId":"EmailReset_verifyChangeEmail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailResetRequestDTO"}}}},"responses":{"202":{"description":""}},"security":[{"bearer":[]}],"tags":["EmailReset"]}},"/api/issue-types/{id}/default":{"put":{"operationId":"IssueType_markAsDefault","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIssueTypeDTO"}}}},"responses":{"200":{"description":"Task issue type marked as default"}},"summary":"Make issue type default.","tags":["Issue Type"]}},"/api/issue-types":{"get":{"operationId":"IssueType_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found all records."}},"summary":"Find all records.","tags":["Issue Type"]},"post":{"operationId":"IssueType_create","parameters":[],"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."}},"summary":"Create new record.","tags":["Issue Type"]}},"/api/issue-types/count":{"get":{"operationId":"IssueType_getCount","parameters":[],"responses":{"200":{"description":"Found records count."}},"summary":"Find records count.","tags":["Issue Type"]}},"/api/issue-types/pagination":{"get":{"operationId":"IssueType_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found records using pagination."}},"summary":"Find all records using pagination.","tags":["Issue Type"]}},"/api/issue-types/{id}":{"get":{"operationId":"IssueType_findById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record by id."},"404":{"description":"Record not found."}},"summary":"Find one record by id.","tags":["Issue Type"]},"put":{"operationId":"IssueType_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong."},"404":{"description":"Record not found"}},"summary":"Update an existing record.","tags":["Issue Type"]},"delete":{"operationId":"IssueType_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"The record has been successfully deleted."},"404":{"description":"Record not found."}},"summary":"Delete record.","tags":["Issue Type"]}},"/api/issue-types/{id}/soft":{"delete":{"operationId":"IssueType_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record soft deleted successfully"},"404":{"description":"Record not found"}},"summary":"Soft delete a record by ID","tags":["Issue Type"]}},"/api/issue-types/{id}/recover":{"put":{"operationId":"IssueType_softRecover","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Record restored successfully"},"404":{"description":"Record not found or not in a soft-deleted state"}},"summary":"Restore a soft-deleted record by ID","tags":["Issue Type"]}},"/api/task-linked-issue":{"get":{"operationId":"TaskLinkedIssue_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found task linked issues","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskLinkedIssue"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all","tags":["Linked Issue"]},"post":{"operationId":"TaskLinkedIssue_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskLinkedIssueDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create Task Linked Issue","tags":["Linked Issue"]}},"/api/task-linked-issue/{id}":{"put":{"operationId":"TaskLinkedIssue_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskLinkedIssueDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing task linked issue","tags":["Linked Issue"]},"delete":{"operationId":"TaskLinkedIssue_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Task Linked Issue","tags":["Linked Issue"]},"get":{"operationId":"TaskLinkedIssue_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Linked Issue"]}},"/api/task-linked-issue/{id}/soft":{"delete":{"operationId":"TaskLinkedIssue_softRemove","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully soft-deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Task Linked Issue record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete Task Linked Issue record","tags":["Linked Issue"]}},"/api/task-linked-issue/count":{"get":{"operationId":"TaskLinkedIssue_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Linked Issue"]}},"/api/task-linked-issue/pagination":{"get":{"operationId":"TaskLinkedIssue_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Linked Issue"]}},"/api/task-linked-issue/{id}/recover":{"put":{"operationId":"TaskLinkedIssue_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Linked Issue"]}},"/api/organization-task-setting/organization":{"get":{"operationId":"OrganizationTaskSetting_findByOrganizationId","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Found Organization Task Setting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationTaskSetting"}}}},"404":{"description":"Record not found"}},"summary":"Find organization task setting by organizationId.","tags":["OrganizationTaskSetting"]}},"/api/organization-task-setting":{"post":{"operationId":"OrganizationTaskSetting_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationTaskSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"}},"summary":"Create new record","tags":["OrganizationTaskSetting"]}},"/api/organization-task-setting/{id}":{"put":{"operationId":"OrganizationTaskSetting_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationTaskSettingDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"404":{"description":"Record not found"}},"summary":"Update an existing record","tags":["OrganizationTaskSetting"]}},"/api/task-estimation":{"post":{"operationId":"TaskEstimation_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskEstimationDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"create a task estimation","tags":["Task Estimation"]},"get":{"operationId":"TaskEstimation_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Task Estimation"]}},"/api/task-estimation/{id}":{"put":{"operationId":"TaskEstimation_update","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskEstimationDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing task estimation","tags":["Task Estimation"]},"delete":{"operationId":"TaskEstimation_delete","parameters":[],"responses":{"200":{"description":""},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"tags":["Task Estimation"]},"get":{"operationId":"TaskEstimation_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Task Estimation"]}},"/api/task-estimation/count":{"get":{"operationId":"TaskEstimation_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Task Estimation"]}},"/api/task-estimation/pagination":{"get":{"operationId":"TaskEstimation_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Task Estimation"]}},"/api/task-estimation/{id}/soft":{"delete":{"operationId":"TaskEstimation_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Task Estimation"]}},"/api/task-estimation/{id}/recover":{"put":{"operationId":"TaskEstimation_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Task Estimation"]}},"/api/favorite":{"post":{"operationId":"Favorite_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFavoriteDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create element favorite","tags":["Favorites"]},"get":{"operationId":"Favorite_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Favorites"]}},"/api/favorite/employee":{"get":{"operationId":"Favorite_findFavoritesByEmployee","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found favorite records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Favorite"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find favorite entity records By current Employee","tags":["Favorites"]}},"/api/favorite/type":{"get":{"operationId":"Favorite_getFavoriteDetails","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found favorite records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Favorite"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find favorite entity records.","tags":["Favorites"]}},"/api/favorite/{id}":{"delete":{"operationId":"Favorite_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete Favorite","tags":["Favorites"]},"get":{"operationId":"Favorite_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Favorites"]},"put":{"operationId":"Favorite_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["Favorites"]}},"/api/favorite/count":{"get":{"operationId":"Favorite_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Favorites"]}},"/api/favorite/pagination":{"get":{"operationId":"Favorite_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Favorites"]}},"/api/favorite/{id}/soft":{"delete":{"operationId":"Favorite_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Favorites"]}},"/api/favorite/{id}/recover":{"put":{"operationId":"Favorite_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Favorites"]}},"/api/stats/global":{"get":{"operationId":"Stats_getGlobalStats","parameters":[],"responses":{"200":{"description":""}},"tags":["Stats"]}},"/api/reaction":{"get":{"operationId":"Reaction_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found reactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reaction"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all reactions filtered by type.","tags":["Reactions"]},"post":{"operationId":"Reaction_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReactionDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create reaction","tags":["Reactions"]}},"/api/reaction/{id}":{"get":{"operationId":"Reaction_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reaction"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find reaction by id","tags":["Reactions"]},"put":{"operationId":"Reaction_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateReactionDTO"}}}},"responses":{"200":{"description":"The reaction has been successfully updated."},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Reaction not found."}},"security":[{"bearer":[]}],"summary":"Update an existing reaction","tags":["Reactions"]},"delete":{"operationId":"Reaction_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The reaction has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Reaction not found."}},"security":[{"bearer":[]}],"summary":"Delete a reaction by its ID","tags":["Reactions"]}},"/api/reaction/count":{"get":{"operationId":"Reaction_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Reactions"]}},"/api/reaction/pagination":{"get":{"operationId":"Reaction_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Reactions"]}},"/api/reaction/{id}/soft":{"delete":{"operationId":"Reaction_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Reactions"]}},"/api/reaction/{id}/recover":{"put":{"operationId":"Reaction_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Reactions"]}},"/api/comment":{"get":{"operationId":"Comment_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found comments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all comments filtered by type.","tags":["Comments"]},"post":{"operationId":"Comment_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommentDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create/Post a comment","tags":["Comments"]}},"/api/comment/{id}":{"get":{"operationId":"Comment_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one record"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id","tags":["Comments"]},"put":{"operationId":"Comment_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCommentDTO"}}}},"responses":{"201":{"description":"The record has been successfully edited."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an existing comment","tags":["Comments"]},"delete":{"operationId":"Comment_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The record has been successfully deleted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete comment","tags":["Comments"]}},"/api/comment/count":{"get":{"operationId":"Comment_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Comments"]}},"/api/comment/pagination":{"get":{"operationId":"Comment_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Comments"]}},"/api/comment/{id}/soft":{"delete":{"operationId":"Comment_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Comments"]}},"/api/comment/{id}/recover":{"put":{"operationId":"Comment_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Comments"]}},"/api/mentions/count":{"get":{"operationId":"Mention_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Mention"]}},"/api/mentions/pagination":{"get":{"operationId":"Mention_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Mention"]}},"/api/mentions":{"get":{"operationId":"Mention_findAll","parameters":[],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get all records","tags":["Mention"]},"post":{"operationId":"Mention_create","parameters":[],"responses":{"201":{"description":"Record created successfully"},"400":{"description":"Invalid input provided"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create new record","tags":["Mention"]}},"/api/mentions/{id}":{"get":{"operationId":"Mention_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["Mention"]},"put":{"operationId":"Mention_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["Mention"]},"delete":{"operationId":"Mention_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Record deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete record","tags":["Mention"]}},"/api/mentions/{id}/soft":{"delete":{"operationId":"Mention_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Mention"]}},"/api/mentions/{id}/recover":{"put":{"operationId":"Mention_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Mention"]}},"/api/entity-subscription":{"get":{"description":"Fetches all subscriptions with optional filtering by type, supporting pagination parameters.","operationId":"EntitySubscription_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"params","required":true,"in":"query","description":"Pagination and filter parameters for subscriptions","schema":{"$ref":"#/components/schemas/"}}],"responses":{"200":{"description":"Found subscriptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitySubscription"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No subscriptions found"}},"security":[{"bearer":[]}],"summary":"Retrieve subscriptions with filtering and pagination","tags":["EntitySubscriptions"]},"post":{"description":"Creates a new subscription for an entity using the provided subscription details.","operationId":"EntitySubscription_create","parameters":[],"requestBody":{"required":true,"description":"The subscription details for creating a new entity subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEntitySubscriptionDTO"}}}},"responses":{"201":{"description":"The record has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitySubscription"}}}},"400":{"description":"Invalid input. The response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Subscribe to an entity","tags":["EntitySubscriptions"]}},"/api/entity-subscription/{id}":{"get":{"description":"Retrieves a subscription record using its unique identifier. Optional query parameters allow further filtering of the data.","operationId":"EntitySubscription_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","description":"The unique UUID of the subscription","schema":{"type":"string"}},{"name":"params","required":true,"in":"query","description":"Optional query parameters for filtering the subscription data","schema":{"$ref":"#/components/schemas/FindOptionsQueryDTO"}}],"responses":{"200":{"description":"Found one record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitySubscription"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find subscription by ID","tags":["EntitySubscriptions"]},"delete":{"description":"Removes a subscription based on its UUID and optional query filters.","operationId":"EntitySubscription_delete","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"deletedAt","required":false,"in":"query","schema":{"format":"date-time","example":"2018-11-21T06:20:32.232Z","type":"string"}},{"name":"createdAt","required":false,"in":"query","description":"The creation timestamp of the entity.","schema":{"format":"date-time","example":"2018-11-21T06:20:32.232Z","type":"string"}},{"name":"updatedAt","required":false,"in":"query","description":"The last update timestamp of the entity.","schema":{"format":"date-time","example":"2018-11-21T06:20:32.232Z","type":"string"}},{"name":"id","required":true,"in":"path","description":"The unique UUID of the subscription to be deleted.","schema":{"type":"string"}},{"name":"isActive","required":false,"in":"query","schema":{"default":true,"type":"boolean"}},{"name":"isArchived","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"archivedAt","required":false,"in":"query","schema":{"format":"date-time","example":"2018-11-21T06:20:32.232Z","type":"string"}},{"name":"entity","required":false,"in":"query","schema":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]}},{"name":"entityId","required":false,"in":"query","schema":{"type":"string"}},{"name":"actorType","required":false,"in":"query","schema":{"type":"string","enum":["System","User"]}},{"name":"type","required":false,"in":"query","schema":{"type":"string","enum":["manual","mention","assignment","comment","created-entity"]}},{"name":"employee","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Employee"}},{"name":"employeeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"options","required":true,"in":"query","description":"Optional filters to locate the subscription for unsubscribe.","schema":{"$ref":"#/components/schemas/EntitySubscriptionFindInputDTO"}}],"responses":{"202":{"description":"Unsubscribe request accepted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Subscription not found."}},"security":[{"bearer":[]}],"summary":"Unsubscribe from an entity","tags":["EntitySubscriptions"]},"put":{"operationId":"EntitySubscription_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Record updated successfully"},"400":{"description":"Invalid input provided for update"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update existing record","tags":["EntitySubscriptions"]}},"/api/entity-subscription/count":{"get":{"operationId":"EntitySubscription_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["EntitySubscriptions"]}},"/api/entity-subscription/pagination":{"get":{"operationId":"EntitySubscription_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["EntitySubscriptions"]}},"/api/entity-subscription/{id}/soft":{"delete":{"operationId":"EntitySubscription_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["EntitySubscriptions"]}},"/api/entity-subscription/{id}/recover":{"put":{"operationId":"EntitySubscription_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["EntitySubscriptions"]}},"/api/activity-log":{"get":{"operationId":"ActivityLog_getActivityLogs","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"isActive","required":false,"in":"query","schema":{"default":true,"type":"boolean"}},{"name":"isArchived","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"actorType","required":false,"in":"query","schema":{"type":"string","enum":["System","User"]}},{"name":"entity","required":false,"in":"query","schema":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]}},{"name":"entityId","required":false,"in":"query","schema":{"type":"string"}},{"name":"action","required":false,"in":"query","schema":{"type":"string","enum":["Created","Updated","Deleted"]}},{"name":"orderBy","required":false,"in":"query","schema":{"type":"string","enum":["createdAt","updatedAt","entity","action"]}},{"name":"order","required":false,"in":"query","schema":{"type":"string","enum":["ASC","DESC","asc","desc"]}}],"responses":{"200":{"description":""}},"tags":["ActivityLog"]}},"/api/api-call-log":{"get":{"operationId":"ApiCallLog_findAll","parameters":[{"name":"tenant","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organization","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"sentTo","required":false,"in":"query","schema":{"type":"string"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"method","required":true,"in":"query","schema":{"type":"number","enum":[0,1,2,3,4,5,6,7,8]}},{"name":"ipAddress","required":false,"in":"query","schema":{"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"correlationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"statusCode","required":false,"in":"query","schema":{"type":"number"}},{"name":"startRequestTime","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endRequestTime","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Returns a list of all API call logs with filters applied."},"500":{"description":"Internal server error."}},"summary":"Get all API call logs with mandatory organizationId and optional filters","tags":["ApiCallLog"]}},"/api/api-call-log/{id}":{"delete":{"operationId":"ApiCallLog_deleteById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"tenantId","required":false,"in":"query","schema":{"type":"string"}},{"name":"organizationId","required":true,"in":"query","schema":{"type":"string"}},{"name":"forceDelete","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"API call log deleted successfully."},"404":{"description":"API call log not found."},"500":{"description":"Internal server error."}},"summary":"Delete an API call log by ID","tags":["ApiCallLog"]}},"/api/resource-link":{"get":{"operationId":"ResourceLink_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found resource links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceLink"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all resource links filtered by type.","tags":["Resource Links"]},"post":{"operationId":"ResourceLink_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateResourceLinkDTO"}}}},"responses":{"201":{"description":"The resource link has been successfully created."},"400":{"description":"Invalid input. The response body may contain details on what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new resource link","tags":["Resource Links"]}},"/api/resource-link/{id}":{"get":{"operationId":"ResourceLink_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found one resource link"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Resource link not found"}},"security":[{"bearer":[]}],"summary":"Find resource link by ID","tags":["Resource Links"]},"put":{"operationId":"ResourceLink_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateResourceLinkDTO"}}}},"responses":{"201":{"description":"The resource link has been successfully updated."},"400":{"description":"Invalid input. The response body may contain details about what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"The resource link was not found."}},"security":[{"bearer":[]}],"summary":"Update an existing resource link","tags":["Resource Links"]},"delete":{"operationId":"ResourceLink_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"The resource link has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"The resource link was not found."}},"security":[{"bearer":[]}],"summary":"Delete a resource link","tags":["Resource Links"]}},"/api/resource-link/count":{"get":{"operationId":"ResourceLink_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Resource Links"]}},"/api/resource-link/pagination":{"get":{"operationId":"ResourceLink_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Resource Links"]}},"/api/resource-link/{id}/soft":{"delete":{"operationId":"ResourceLink_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Resource Links"]}},"/api/resource-link/{id}/recover":{"put":{"operationId":"ResourceLink_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Resource Links"]}},"/api/dashboard":{"get":{"operationId":"Dashboard_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved dashboards.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"No dashboards found."}},"security":[{"bearer":[]}],"summary":"Retrieve a list of dashboards with pagination.","tags":["Dashboard"]},"post":{"operationId":"Dashboard_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDashboardDTO"}}}},"responses":{"201":{"description":"The dashboard has been successfully created."},"400":{"description":"Invalid input, object invalid."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new dashboard.","tags":["Dashboard"]}},"/api/dashboard/{id}":{"get":{"operationId":"Dashboard_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Dashboard retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Dashboard not found."}},"security":[{"bearer":[]}],"summary":"Retrieve a dashboard by its ID.","tags":["Dashboard"]},"put":{"operationId":"Dashboard_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDashboardDTO"}}}},"responses":{"202":{"description":"The dashboard has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}}},"400":{"description":"Invalid input; the response body may contain clues as to what went wrong."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Dashboard not found."}},"security":[{"bearer":[]}],"summary":"Update an existing dashboard.","tags":["Dashboard"]},"delete":{"operationId":"Dashboard_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The dashboard has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Dashboard not found."}},"security":[{"bearer":[]}],"summary":"Delete a dashboard by ID.","tags":["Dashboard"]}},"/api/dashboard/count":{"get":{"operationId":"Dashboard_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Dashboard"]}},"/api/dashboard/pagination":{"get":{"operationId":"Dashboard_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Dashboard"]}},"/api/dashboard/{id}/soft":{"delete":{"operationId":"Dashboard_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Dashboard"]}},"/api/dashboard/{id}/recover":{"put":{"operationId":"Dashboard_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Dashboard"]}},"/api/dashboard-widget":{"get":{"operationId":"DashboardWidget_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found dashboard widgets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardWidget"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Get dashboard widgets.","tags":["Dashboard Widget"]},"post":{"operationId":"DashboardWidget_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDashboardWidgetDTO"}}}},"responses":{"201":{"description":"The record has been successfully created."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create dashboard widget.","tags":["Dashboard Widget"]}},"/api/dashboard-widget/{id}":{"get":{"operationId":"DashboardWidget_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found dashboard widget","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardWidget"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find by id.","tags":["Dashboard Widget"]},"put":{"operationId":"DashboardWidget_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDashboardWidgetDTO"}}}},"responses":{"201":{"description":"The record has been successfully updated."},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update dashboard widget.","tags":["Dashboard Widget"]},"delete":{"operationId":"DashboardWidget_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully deleted."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete dashboard widget.","tags":["Dashboard Widget"]}},"/api/dashboard-widget/count":{"get":{"operationId":"DashboardWidget_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Dashboard Widget"]}},"/api/dashboard-widget/pagination":{"get":{"operationId":"DashboardWidget_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Dashboard Widget"]}},"/api/dashboard-widget/{id}/soft":{"delete":{"operationId":"DashboardWidget_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Dashboard Widget"]}},"/api/dashboard-widget/{id}/recover":{"put":{"operationId":"DashboardWidget_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Dashboard Widget"]}},"/api/shared-entities":{"get":{"operationId":"SharedEntity_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found shared entities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedEntity"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find all shared entities","tags":["SharedEntity"]},"post":{"operationId":"SharedEntity_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSharedEntityDTO"}}}},"responses":{"201":{"description":"Shared entity created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedEntity"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new shared entity","tags":["SharedEntity"]}},"/api/shared-entities/token/{token}":{"get":{"operationId":"SharedEntity_getSharedEntityByToken","parameters":[{"name":"token","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found shared entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedEntity"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Get a shared entity by token","tags":["SharedEntity"]}},"/api/shared-entities/{id}":{"put":{"operationId":"SharedEntity_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSharedEntityDTO"}}}},"responses":{"200":{"description":"Shared entity updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedEntity"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Update a shared entity","tags":["SharedEntity"]},"delete":{"operationId":"SharedEntity_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Shared entity deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Delete a shared entity","tags":["SharedEntity"]},"get":{"operationId":"SharedEntity_findById","parameters":[],"responses":{"200":{"description":"Record retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find record by ID","tags":["SharedEntity"]}},"/api/shared-entities/count":{"get":{"operationId":"SharedEntity_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["SharedEntity"]}},"/api/shared-entities/pagination":{"get":{"operationId":"SharedEntity_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["SharedEntity"]}},"/api/shared-entities/{id}/soft":{"delete":{"operationId":"SharedEntity_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["SharedEntity"]}},"/api/shared-entities/{id}/recover":{"put":{"operationId":"SharedEntity_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["SharedEntity"]}},"/api/broadcasts":{"get":{"operationId":"Broadcast_findAll","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Found broadcasts","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Broadcast"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find all broadcasts with optional filters","tags":["Broadcast"]},"post":{"operationId":"Broadcast_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastDTO"}}}},"responses":{"201":{"description":"Broadcast created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Broadcast"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new broadcast","tags":["Broadcast"]}},"/api/broadcasts/{id}":{"get":{"operationId":"Broadcast_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found broadcast","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Broadcast"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find a broadcast by ID","tags":["Broadcast"]},"put":{"operationId":"Broadcast_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastDTO"}}}},"responses":{"200":{"description":"Broadcast updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Broadcast"}}}},"400":{"description":"Invalid input, The response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update a broadcast","tags":["Broadcast"]},"delete":{"operationId":"Broadcast_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Broadcast deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete a broadcast","tags":["Broadcast"]}},"/api/broadcasts/count":{"get":{"operationId":"Broadcast_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["Broadcast"]}},"/api/broadcasts/pagination":{"get":{"operationId":"Broadcast_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["Broadcast"]}},"/api/broadcasts/{id}/soft":{"delete":{"operationId":"Broadcast_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["Broadcast"]}},"/api/broadcasts/{id}/recover":{"put":{"operationId":"Broadcast_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["Broadcast"]}},"/api/organization-strategic-initiative":{"get":{"operationId":"OrganizationStrategicInitiative_findAll","parameters":[],"responses":{"200":{"description":"Found organization strategic initiatives","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Records not found"}},"security":[{"bearer":[]}],"summary":"Find all organization strategic initiatives with optional filters","tags":["OrganizationStrategicInitiative"]},"post":{"operationId":"OrganizationStrategicInitiative_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationStrategicInitiativeDTO"}}}},"responses":{"201":{"description":"Organization strategic initiative created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Create a new organization strategic initiative","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/project/{projectId}":{"get":{"operationId":"OrganizationStrategicInitiative_findByProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization strategic initiatives for project","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Project not found"}},"security":[{"bearer":[]}],"summary":"Find organization strategic initiatives by project","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/{id}":{"get":{"operationId":"OrganizationStrategicInitiative_findById","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Found organization strategic initiative","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Find an organization strategic initiative by ID","tags":["OrganizationStrategicInitiative"]},"put":{"operationId":"OrganizationStrategicInitiative_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationStrategicInitiativeDTO"}}}},"responses":{"200":{"description":"Organization strategic initiative updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}},"400":{"description":"Invalid input, the response body may contain clues as to what went wrong"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update an organization strategic initiative","tags":["OrganizationStrategicInitiative"]},"delete":{"operationId":"OrganizationStrategicInitiative_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Organization strategic initiative deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Delete an organization strategic initiative","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/{id}/signals":{"put":{"operationId":"OrganizationStrategicInitiative_updateSignals","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationStrategicSignalsDTO"}}}},"responses":{"200":{"description":"Strategic signals updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStrategicInitiative"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Update strategic signals of an organization strategic initiative","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/count":{"get":{"operationId":"OrganizationStrategicInitiative_getCount","parameters":[],"responses":{"200":{"description":"Total record count retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get total record count","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/pagination":{"get":{"operationId":"OrganizationStrategicInitiative_pagination","parameters":[{"name":"select","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"relations","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"where","required":true,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"order","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}},{"name":"withDeleted","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"take","required":false,"in":"query","schema":{"minimum":0,"maximum":100,"type":"number"}},{"name":"skip","required":false,"in":"query","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"Records retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"security":[{"bearer":[]}],"summary":"Get paginated records","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/{id}/soft":{"delete":{"operationId":"OrganizationStrategicInitiative_softRemove","parameters":[],"responses":{"202":{"description":"Record soft deleted successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found"}},"security":[{"bearer":[]}],"summary":"Soft delete a record by ID","tags":["OrganizationStrategicInitiative"]}},"/api/organization-strategic-initiative/{id}/recover":{"put":{"operationId":"OrganizationStrategicInitiative_softRecover","parameters":[],"responses":{"202":{"description":"Record restored successfully"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Record not found or not in a soft-deleted state"}},"security":[{"bearer":[]}],"summary":"Restore a soft-deleted record by ID","tags":["OrganizationStrategicInitiative"]}}},"info":{"title":"Gauzy API","description":"Gauzy API Documentation","version":"1.0","contact":{"name":"Ever Co. LTD","url":"https://ever.co","email":"support@ever.co"},"license":{"name":"AGPL-3.0-only","url":"https://opensource.org/license/agpl-v3"}},"tags":[],"servers":[{"url":"http://localhost:3000","description":"Development Server"},{"url":"https://apidemo.gauzy.co/api","description":"Demo Server"},{"url":"https://api.gauzy.co","description":"Production Server"}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","name":"JWT","description":"Enter JWT token","in":"header"},"api-key":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API Key for authentication"},"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{"read":"Read access","write":"Write access","admin":"Admin access"}}}}},"schemas":{"Changelog":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"icon":{"type":"string"},"title":{"type":"string"},"date":{"format":"date-time","type":"string"},"content":{"type":"string"},"isFeature":{"type":"boolean"},"learnMoreUrl":{"type":"string"},"imageUrl":{"type":"string"}},"required":["icon","date","content","learnMoreUrl","imageUrl"]},"Object":{"type":"object","properties":{}},"SetupActivepiecesIntegrationDto":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"apiKey":{"type":"string","description":"ActivePieces API key for authentication","example":"sk-..."}},"required":["organization","organizationId","apiKey"]},"CreateActivepiecesIntegrationDto":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"accessToken":{"type":"string","description":"ActivePieces access token for API authentication","example":"ap_1234567890abcdef"},"projectId":{"type":"string","description":"ActivePieces project ID where the connection will be created","example":"proj_1234567890abcdef"},"connectionName":{"type":"string","description":"Display name for the connection (defaults to tenant name)","example":"Ever Gauzy Connection"}},"required":["organization","organizationId","accessToken","projectId"]},"ActivepiecesMcpToolDto":{"type":"object","properties":{"id":{"type":"string","description":"Tool ID"},"type":{"type":"string","description":"Tool type"},"pieceMetadata":{"type":"object","description":"Tool metadata"},"flowId":{"type":"string","description":"Flow ID associated with tool"}}},"ActivepiecesMcpUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"MCP server name"},"tools":{"description":"Array of tools for the MCP server","type":"array","items":{"$ref":"#/components/schemas/ActivepiecesMcpToolDto"}}}},"IntegrationTenant":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string","enum":["Import_Export","Upwork","Hubstaff","Gauzy_AI","Github","Jira","MakeCom","Zapier","ActivePieces","Sim","Plane"]},"lastSyncedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"integrationId":{"type":"string"}},"required":["name","integrationId"]},"IntegrationEntitySetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Project","Organization","Note","Client","Task","Issue","Label","Activity","User","Employee","TimeLog","TimeSlot","Screenshot","Income","Expense","Proposal","JOB_MATCHING","EMPLOYEE_PERFORMANCE"]},"sync":{"type":"boolean"},"integration":{"$ref":"#/components/schemas/IntegrationTenant"},"integrationId":{"type":"string"}},"required":["entity","sync","integrationId"]},"UpdateIntegrationTenantDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false}},"required":["organization","organizationId"]},"Role":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"name":{"type":"string","enum":["SUPER_ADMIN","ADMIN","DATA_ENTRY","EMPLOYEE","CANDIDATE","MANAGER","VIEWER","INTERVIEWER"]},"isSystem":{"type":"boolean","default":false}},"required":["name"]},"CreateRoleDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"name":{"type":"string"}},"required":["name"]},"RolePermission":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"permission":{"type":"string","enum":["ADMIN_DASHBOARD_VIEW","TEAM_DASHBOARD","PROJECT_MANAGEMENT_DASHBOARD","TIME_TRACKING_DASHBOARD","ACCOUNTING_DASHBOARD","HUMAN_RESOURCE_DASHBOARD","ORG_PAYMENT_VIEW","ORG_PAYMENT_ADD_EDIT","ORG_INCOMES_VIEW","ORG_INCOMES_EDIT","ORG_EXPENSES_VIEW","ORG_EXPENSES_EDIT","PROFILE_EDIT","EMPLOYEE_EXPENSES_VIEW","EMPLOYEE_EXPENSES_EDIT","ORG_PROPOSALS_VIEW","ORG_PROPOSALS_EDIT","ORG_PROPOSAL_TEMPLATES_VIEW","ORG_PROPOSAL_TEMPLATES_EDIT","ORG_TASK_ADD","ORG_TASK_VIEW","ORG_TASK_EDIT","ORG_TASK_DELETE","ORG_EMPLOYEES_ADD","ORG_EMPLOYEES_VIEW","ORG_EMPLOYEES_EDIT","ORG_EMPLOYEES_DELETE","ORG_MEMBERS_VIEW","ORG_CANDIDATES_VIEW","ORG_CANDIDATES_EDIT","ORG_CANDIDATES_INTERVIEW_EDIT","ORG_CANDIDATES_INTERVIEW_VIEW","ORG_CANDIDATES_DOCUMENTS_VIEW","ORG_CANDIDATES_TASK_EDIT","ORG_CANDIDATES_FEEDBACK_EDIT","ORG_INVENTORY_PRODUCT_EDIT","ORG_INVENTORY_VIEW","ORG_TAGS_ADD","ORG_TAGS_VIEW","ORG_TAGS_EDIT","ORG_TAGS_DELETE","ORG_TAG_TYPES_ADD","ORG_TAG_TYPES_VIEW","ORG_TAG_TYPES_EDIT","ORG_TAG_TYPES_DELETE","ORG_USERS_VIEW","ORG_USERS_EDIT","ORG_INVITE_VIEW","ORG_INVITE_EDIT","ALL_ORG_VIEW","ALL_ORG_EDIT","TIME_OFF_POLICY_ADD","TIME_OFF_POLICY_VIEW","TIME_OFF_POLICY_EDIT","TIME_OFF_POLICY_DELETE","TIME_OFF_ADD","TIME_OFF_VIEW","TIME_OFF_EDIT","TIME_OFF_DELETE","REQUEST_APPROVAL_VIEW","REQUEST_APPROVAL_EDIT","APPROVALS_POLICY_VIEW","APPROVALS_POLICY_EDIT","SELECT_EMPLOYEE","CHANGE_SELECTED_EMPLOYEE","CHANGE_SELECTED_CANDIDATE","CHANGE_SELECTED_ORGANIZATION","CHANGE_ROLES_PERMISSIONS","ACCESS_PRIVATE_PROJECTS","TIMESHEET_EDIT_TIME","SUPER_ADMIN_EDIT","PUBLIC_PAGE_EDIT","INVOICES_VIEW","INVOICES_EDIT","ESTIMATES_VIEW","ESTIMATES_EDIT","ORG_CANDIDATES_INTERVIEWERS_EDIT","ORG_CANDIDATES_INTERVIEWERS_VIEW","VIEW_ALL_EMAILS","VIEW_ALL_EMAIL_TEMPLATES","ORG_HELP_CENTER_EDIT","VIEW_SALES_PIPELINES","EDIT_SALES_PIPELINES","CAN_APPROVE_TIMESHEET","ORG_SPRINT_ADD","ORG_SPRINT_VIEW","ORG_SPRINT_EDIT","ORG_SPRINT_DELETE","ORG_CONTACT_EDIT","ORG_CONTACT_VIEW","ORG_PROJECT_ADD","ORG_PROJECT_VIEW","ORG_PROJECT_EDIT","ORG_PROJECT_DELETE","ORG_TEAM_ADD","ORG_TEAM_VIEW","ORG_TEAM_EDIT","ORG_TEAM_EDIT_ACTIVE_TASK","ORG_TEAM_DELETE","ORG_TEAM_REMOVE_ACCOUNT_AS_MEMBER","ORG_TEAM_JOIN_REQUEST_VIEW","ORG_TEAM_JOIN_REQUEST_EDIT","ORG_TASK_SETTING","ORG_CONTRACT_EDIT","EVENT_TYPES_VIEW","TIME_TRACKER","TENANT_ADD_EXISTING_USER","INTEGRATION_ADD","INTEGRATION_VIEW","INTEGRATION_EDIT","INTEGRATION_DELETE","FILE_STORAGE_VIEW","PAYMENT_GATEWAY_VIEW","SMS_GATEWAY_VIEW","CUSTOM_SMTP_VIEW","IMPORT_ADD","EXPORT_ADD","MIGRATE_GAUZY_CLOUD","ORG_JOB_SEARCH","ORG_JOB_APPLY","ORG_JOB_EDIT","ORG_JOB_EMPLOYEE_VIEW","ORG_JOB_MATCHING_VIEW","INVENTORY_GALLERY_ADD","INVENTORY_GALLERY_VIEW","INVENTORY_GALLERY_EDIT","INVENTORY_GALLERY_DELETE","MEDIA_GALLERY_ADD","MEDIA_GALLERY_VIEW","MEDIA_GALLERY_EDIT","MEDIA_GALLERY_DELETE","ORG_EQUIPMENT_VIEW","ORG_EQUIPMENT_EDIT","ORG_EQUIPMENT_SHARING_VIEW","ORG_EQUIPMENT_SHARING_EDIT","EQUIPMENT_MAKE_REQUEST","EQUIPMENT_APPROVE_REQUEST","EQUIPMENT_SHARING_POLICY_ADD","EQUIPMENT_SHARING_POLICY_VIEW","EQUIPMENT_SHARING_POLICY_EDIT","EQUIPMENT_SHARING_POLICY_DELETE","ORG_PRODUCT_TYPES_VIEW","ORG_PRODUCT_TYPES_EDIT","ORG_PRODUCT_CATEGORIES_VIEW","ORG_PRODUCT_CATEGORIES_EDIT","VIEW_ALL_ACCOUNTING_TEMPLATES","ACCESS_DELETE_ACCOUNT","ACCESS_DELETE_ALL_DATA","TENANT_SETTING","GLOBAL_SETTING","ALLOW_DELETE_TIME","ALLOW_MODIFY_TIME","ALLOW_MANUAL_TIME","DELETE_SCREENSHOTS","ORG_MEMBER_LAST_LOG_VIEW","DAILY_PLAN_CREATE","DAILY_PLAN_READ","DAILY_PLAN_UPDATE","DAILY_PLAN_DELETE","PROJECT_MODULE_CREATE","PROJECT_MODULE_READ","PROJECT_MODULE_UPDATE","PROJECT_MODULE_DELETE","API_CALL_LOG_READ","API_CALL_LOG_DELETE","DASHBOARD_CREATE","DASHBOARD_READ","DASHBOARD_UPDATE","DASHBOARD_DELETE","TENANT_API_KEY_CREATE","TENANT_API_KEY_VIEW","TENANT_API_KEY_DELETE","OAUTH_CLIENT_VIEW","OAUTH_CLIENT_EDIT","EMPLOYEE_AVAILABILITY_CREATE","EMPLOYEE_AVAILABILITY_READ","EMPLOYEE_AVAILABILITY_UPDATE","EMPLOYEE_AVAILABILITY_DELETE","BROADCAST_CREATE","BROADCAST_READ","BROADCAST_UPDATE","BROADCAST_DELETE","ORG_STRATEGIC_INITIATIVE_CREATE","ORG_STRATEGIC_INITIATIVE_READ","ORG_STRATEGIC_INITIATIVE_UPDATE","ORG_STRATEGIC_INITIATIVE_DELETE","PLUGIN_VIEW","PLUGIN_DISCOVER","PLUGIN_INSTALL","PLUGIN_UNINSTALL","PLUGIN_UPDATE","PLUGIN_ENABLE","PLUGIN_DISABLE","PLUGIN_CONFIGURE","PLUGIN_PUBLISH","PLUGIN_RESTRICT","PLUGIN_ASSIGN_ACCESS","PLUGIN_DELETE","PLUGIN_DELETE_FOREVER"]},"enabled":{"type":"boolean","default":false},"description":{"type":"string"},"roleId":{"type":"string"}},"required":["permission","roleId"]},"CreateRolePermissionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"permission":{"type":"string","enum":["ADMIN_DASHBOARD_VIEW","TEAM_DASHBOARD","PROJECT_MANAGEMENT_DASHBOARD","TIME_TRACKING_DASHBOARD","ACCOUNTING_DASHBOARD","HUMAN_RESOURCE_DASHBOARD","ORG_PAYMENT_VIEW","ORG_PAYMENT_ADD_EDIT","ORG_INCOMES_VIEW","ORG_INCOMES_EDIT","ORG_EXPENSES_VIEW","ORG_EXPENSES_EDIT","PROFILE_EDIT","EMPLOYEE_EXPENSES_VIEW","EMPLOYEE_EXPENSES_EDIT","ORG_PROPOSALS_VIEW","ORG_PROPOSALS_EDIT","ORG_PROPOSAL_TEMPLATES_VIEW","ORG_PROPOSAL_TEMPLATES_EDIT","ORG_TASK_ADD","ORG_TASK_VIEW","ORG_TASK_EDIT","ORG_TASK_DELETE","ORG_EMPLOYEES_ADD","ORG_EMPLOYEES_VIEW","ORG_EMPLOYEES_EDIT","ORG_EMPLOYEES_DELETE","ORG_MEMBERS_VIEW","ORG_CANDIDATES_VIEW","ORG_CANDIDATES_EDIT","ORG_CANDIDATES_INTERVIEW_EDIT","ORG_CANDIDATES_INTERVIEW_VIEW","ORG_CANDIDATES_DOCUMENTS_VIEW","ORG_CANDIDATES_TASK_EDIT","ORG_CANDIDATES_FEEDBACK_EDIT","ORG_INVENTORY_PRODUCT_EDIT","ORG_INVENTORY_VIEW","ORG_TAGS_ADD","ORG_TAGS_VIEW","ORG_TAGS_EDIT","ORG_TAGS_DELETE","ORG_TAG_TYPES_ADD","ORG_TAG_TYPES_VIEW","ORG_TAG_TYPES_EDIT","ORG_TAG_TYPES_DELETE","ORG_USERS_VIEW","ORG_USERS_EDIT","ORG_INVITE_VIEW","ORG_INVITE_EDIT","ALL_ORG_VIEW","ALL_ORG_EDIT","TIME_OFF_POLICY_ADD","TIME_OFF_POLICY_VIEW","TIME_OFF_POLICY_EDIT","TIME_OFF_POLICY_DELETE","TIME_OFF_ADD","TIME_OFF_VIEW","TIME_OFF_EDIT","TIME_OFF_DELETE","REQUEST_APPROVAL_VIEW","REQUEST_APPROVAL_EDIT","APPROVALS_POLICY_VIEW","APPROVALS_POLICY_EDIT","SELECT_EMPLOYEE","CHANGE_SELECTED_EMPLOYEE","CHANGE_SELECTED_CANDIDATE","CHANGE_SELECTED_ORGANIZATION","CHANGE_ROLES_PERMISSIONS","ACCESS_PRIVATE_PROJECTS","TIMESHEET_EDIT_TIME","SUPER_ADMIN_EDIT","PUBLIC_PAGE_EDIT","INVOICES_VIEW","INVOICES_EDIT","ESTIMATES_VIEW","ESTIMATES_EDIT","ORG_CANDIDATES_INTERVIEWERS_EDIT","ORG_CANDIDATES_INTERVIEWERS_VIEW","VIEW_ALL_EMAILS","VIEW_ALL_EMAIL_TEMPLATES","ORG_HELP_CENTER_EDIT","VIEW_SALES_PIPELINES","EDIT_SALES_PIPELINES","CAN_APPROVE_TIMESHEET","ORG_SPRINT_ADD","ORG_SPRINT_VIEW","ORG_SPRINT_EDIT","ORG_SPRINT_DELETE","ORG_CONTACT_EDIT","ORG_CONTACT_VIEW","ORG_PROJECT_ADD","ORG_PROJECT_VIEW","ORG_PROJECT_EDIT","ORG_PROJECT_DELETE","ORG_TEAM_ADD","ORG_TEAM_VIEW","ORG_TEAM_EDIT","ORG_TEAM_EDIT_ACTIVE_TASK","ORG_TEAM_DELETE","ORG_TEAM_REMOVE_ACCOUNT_AS_MEMBER","ORG_TEAM_JOIN_REQUEST_VIEW","ORG_TEAM_JOIN_REQUEST_EDIT","ORG_TASK_SETTING","ORG_CONTRACT_EDIT","EVENT_TYPES_VIEW","TIME_TRACKER","TENANT_ADD_EXISTING_USER","INTEGRATION_ADD","INTEGRATION_VIEW","INTEGRATION_EDIT","INTEGRATION_DELETE","FILE_STORAGE_VIEW","PAYMENT_GATEWAY_VIEW","SMS_GATEWAY_VIEW","CUSTOM_SMTP_VIEW","IMPORT_ADD","EXPORT_ADD","MIGRATE_GAUZY_CLOUD","ORG_JOB_SEARCH","ORG_JOB_APPLY","ORG_JOB_EDIT","ORG_JOB_EMPLOYEE_VIEW","ORG_JOB_MATCHING_VIEW","INVENTORY_GALLERY_ADD","INVENTORY_GALLERY_VIEW","INVENTORY_GALLERY_EDIT","INVENTORY_GALLERY_DELETE","MEDIA_GALLERY_ADD","MEDIA_GALLERY_VIEW","MEDIA_GALLERY_EDIT","MEDIA_GALLERY_DELETE","ORG_EQUIPMENT_VIEW","ORG_EQUIPMENT_EDIT","ORG_EQUIPMENT_SHARING_VIEW","ORG_EQUIPMENT_SHARING_EDIT","EQUIPMENT_MAKE_REQUEST","EQUIPMENT_APPROVE_REQUEST","EQUIPMENT_SHARING_POLICY_ADD","EQUIPMENT_SHARING_POLICY_VIEW","EQUIPMENT_SHARING_POLICY_EDIT","EQUIPMENT_SHARING_POLICY_DELETE","ORG_PRODUCT_TYPES_VIEW","ORG_PRODUCT_TYPES_EDIT","ORG_PRODUCT_CATEGORIES_VIEW","ORG_PRODUCT_CATEGORIES_EDIT","VIEW_ALL_ACCOUNTING_TEMPLATES","ACCESS_DELETE_ACCOUNT","ACCESS_DELETE_ALL_DATA","TENANT_SETTING","GLOBAL_SETTING","ALLOW_DELETE_TIME","ALLOW_MODIFY_TIME","ALLOW_MANUAL_TIME","DELETE_SCREENSHOTS","ORG_MEMBER_LAST_LOG_VIEW","DAILY_PLAN_CREATE","DAILY_PLAN_READ","DAILY_PLAN_UPDATE","DAILY_PLAN_DELETE","PROJECT_MODULE_CREATE","PROJECT_MODULE_READ","PROJECT_MODULE_UPDATE","PROJECT_MODULE_DELETE","API_CALL_LOG_READ","API_CALL_LOG_DELETE","DASHBOARD_CREATE","DASHBOARD_READ","DASHBOARD_UPDATE","DASHBOARD_DELETE","TENANT_API_KEY_CREATE","TENANT_API_KEY_VIEW","TENANT_API_KEY_DELETE","OAUTH_CLIENT_VIEW","OAUTH_CLIENT_EDIT","EMPLOYEE_AVAILABILITY_CREATE","EMPLOYEE_AVAILABILITY_READ","EMPLOYEE_AVAILABILITY_UPDATE","EMPLOYEE_AVAILABILITY_DELETE","BROADCAST_CREATE","BROADCAST_READ","BROADCAST_UPDATE","BROADCAST_DELETE","ORG_STRATEGIC_INITIATIVE_CREATE","ORG_STRATEGIC_INITIATIVE_READ","ORG_STRATEGIC_INITIATIVE_UPDATE","ORG_STRATEGIC_INITIATIVE_DELETE","PLUGIN_VIEW","PLUGIN_DISCOVER","PLUGIN_INSTALL","PLUGIN_UNINSTALL","PLUGIN_UPDATE","PLUGIN_ENABLE","PLUGIN_DISABLE","PLUGIN_CONFIGURE","PLUGIN_PUBLISH","PLUGIN_RESTRICT","PLUGIN_ASSIGN_ACCESS","PLUGIN_DELETE","PLUGIN_DELETE_FOREVER"]},"enabled":{"type":"boolean"},"roleId":{"type":"string"},"role":{"type":"string"}},"required":["permission","enabled","roleId","role"]},"UpdateRolePermissionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"permission":{"type":"string","enum":["ADMIN_DASHBOARD_VIEW","TEAM_DASHBOARD","PROJECT_MANAGEMENT_DASHBOARD","TIME_TRACKING_DASHBOARD","ACCOUNTING_DASHBOARD","HUMAN_RESOURCE_DASHBOARD","ORG_PAYMENT_VIEW","ORG_PAYMENT_ADD_EDIT","ORG_INCOMES_VIEW","ORG_INCOMES_EDIT","ORG_EXPENSES_VIEW","ORG_EXPENSES_EDIT","PROFILE_EDIT","EMPLOYEE_EXPENSES_VIEW","EMPLOYEE_EXPENSES_EDIT","ORG_PROPOSALS_VIEW","ORG_PROPOSALS_EDIT","ORG_PROPOSAL_TEMPLATES_VIEW","ORG_PROPOSAL_TEMPLATES_EDIT","ORG_TASK_ADD","ORG_TASK_VIEW","ORG_TASK_EDIT","ORG_TASK_DELETE","ORG_EMPLOYEES_ADD","ORG_EMPLOYEES_VIEW","ORG_EMPLOYEES_EDIT","ORG_EMPLOYEES_DELETE","ORG_MEMBERS_VIEW","ORG_CANDIDATES_VIEW","ORG_CANDIDATES_EDIT","ORG_CANDIDATES_INTERVIEW_EDIT","ORG_CANDIDATES_INTERVIEW_VIEW","ORG_CANDIDATES_DOCUMENTS_VIEW","ORG_CANDIDATES_TASK_EDIT","ORG_CANDIDATES_FEEDBACK_EDIT","ORG_INVENTORY_PRODUCT_EDIT","ORG_INVENTORY_VIEW","ORG_TAGS_ADD","ORG_TAGS_VIEW","ORG_TAGS_EDIT","ORG_TAGS_DELETE","ORG_TAG_TYPES_ADD","ORG_TAG_TYPES_VIEW","ORG_TAG_TYPES_EDIT","ORG_TAG_TYPES_DELETE","ORG_USERS_VIEW","ORG_USERS_EDIT","ORG_INVITE_VIEW","ORG_INVITE_EDIT","ALL_ORG_VIEW","ALL_ORG_EDIT","TIME_OFF_POLICY_ADD","TIME_OFF_POLICY_VIEW","TIME_OFF_POLICY_EDIT","TIME_OFF_POLICY_DELETE","TIME_OFF_ADD","TIME_OFF_VIEW","TIME_OFF_EDIT","TIME_OFF_DELETE","REQUEST_APPROVAL_VIEW","REQUEST_APPROVAL_EDIT","APPROVALS_POLICY_VIEW","APPROVALS_POLICY_EDIT","SELECT_EMPLOYEE","CHANGE_SELECTED_EMPLOYEE","CHANGE_SELECTED_CANDIDATE","CHANGE_SELECTED_ORGANIZATION","CHANGE_ROLES_PERMISSIONS","ACCESS_PRIVATE_PROJECTS","TIMESHEET_EDIT_TIME","SUPER_ADMIN_EDIT","PUBLIC_PAGE_EDIT","INVOICES_VIEW","INVOICES_EDIT","ESTIMATES_VIEW","ESTIMATES_EDIT","ORG_CANDIDATES_INTERVIEWERS_EDIT","ORG_CANDIDATES_INTERVIEWERS_VIEW","VIEW_ALL_EMAILS","VIEW_ALL_EMAIL_TEMPLATES","ORG_HELP_CENTER_EDIT","VIEW_SALES_PIPELINES","EDIT_SALES_PIPELINES","CAN_APPROVE_TIMESHEET","ORG_SPRINT_ADD","ORG_SPRINT_VIEW","ORG_SPRINT_EDIT","ORG_SPRINT_DELETE","ORG_CONTACT_EDIT","ORG_CONTACT_VIEW","ORG_PROJECT_ADD","ORG_PROJECT_VIEW","ORG_PROJECT_EDIT","ORG_PROJECT_DELETE","ORG_TEAM_ADD","ORG_TEAM_VIEW","ORG_TEAM_EDIT","ORG_TEAM_EDIT_ACTIVE_TASK","ORG_TEAM_DELETE","ORG_TEAM_REMOVE_ACCOUNT_AS_MEMBER","ORG_TEAM_JOIN_REQUEST_VIEW","ORG_TEAM_JOIN_REQUEST_EDIT","ORG_TASK_SETTING","ORG_CONTRACT_EDIT","EVENT_TYPES_VIEW","TIME_TRACKER","TENANT_ADD_EXISTING_USER","INTEGRATION_ADD","INTEGRATION_VIEW","INTEGRATION_EDIT","INTEGRATION_DELETE","FILE_STORAGE_VIEW","PAYMENT_GATEWAY_VIEW","SMS_GATEWAY_VIEW","CUSTOM_SMTP_VIEW","IMPORT_ADD","EXPORT_ADD","MIGRATE_GAUZY_CLOUD","ORG_JOB_SEARCH","ORG_JOB_APPLY","ORG_JOB_EDIT","ORG_JOB_EMPLOYEE_VIEW","ORG_JOB_MATCHING_VIEW","INVENTORY_GALLERY_ADD","INVENTORY_GALLERY_VIEW","INVENTORY_GALLERY_EDIT","INVENTORY_GALLERY_DELETE","MEDIA_GALLERY_ADD","MEDIA_GALLERY_VIEW","MEDIA_GALLERY_EDIT","MEDIA_GALLERY_DELETE","ORG_EQUIPMENT_VIEW","ORG_EQUIPMENT_EDIT","ORG_EQUIPMENT_SHARING_VIEW","ORG_EQUIPMENT_SHARING_EDIT","EQUIPMENT_MAKE_REQUEST","EQUIPMENT_APPROVE_REQUEST","EQUIPMENT_SHARING_POLICY_ADD","EQUIPMENT_SHARING_POLICY_VIEW","EQUIPMENT_SHARING_POLICY_EDIT","EQUIPMENT_SHARING_POLICY_DELETE","ORG_PRODUCT_TYPES_VIEW","ORG_PRODUCT_TYPES_EDIT","ORG_PRODUCT_CATEGORIES_VIEW","ORG_PRODUCT_CATEGORIES_EDIT","VIEW_ALL_ACCOUNTING_TEMPLATES","ACCESS_DELETE_ACCOUNT","ACCESS_DELETE_ALL_DATA","TENANT_SETTING","GLOBAL_SETTING","ALLOW_DELETE_TIME","ALLOW_MODIFY_TIME","ALLOW_MANUAL_TIME","DELETE_SCREENSHOTS","ORG_MEMBER_LAST_LOG_VIEW","DAILY_PLAN_CREATE","DAILY_PLAN_READ","DAILY_PLAN_UPDATE","DAILY_PLAN_DELETE","PROJECT_MODULE_CREATE","PROJECT_MODULE_READ","PROJECT_MODULE_UPDATE","PROJECT_MODULE_DELETE","API_CALL_LOG_READ","API_CALL_LOG_DELETE","DASHBOARD_CREATE","DASHBOARD_READ","DASHBOARD_UPDATE","DASHBOARD_DELETE","TENANT_API_KEY_CREATE","TENANT_API_KEY_VIEW","TENANT_API_KEY_DELETE","OAUTH_CLIENT_VIEW","OAUTH_CLIENT_EDIT","EMPLOYEE_AVAILABILITY_CREATE","EMPLOYEE_AVAILABILITY_READ","EMPLOYEE_AVAILABILITY_UPDATE","EMPLOYEE_AVAILABILITY_DELETE","BROADCAST_CREATE","BROADCAST_READ","BROADCAST_UPDATE","BROADCAST_DELETE","ORG_STRATEGIC_INITIATIVE_CREATE","ORG_STRATEGIC_INITIATIVE_READ","ORG_STRATEGIC_INITIATIVE_UPDATE","ORG_STRATEGIC_INITIATIVE_DELETE","PLUGIN_VIEW","PLUGIN_DISCOVER","PLUGIN_INSTALL","PLUGIN_UNINSTALL","PLUGIN_UPDATE","PLUGIN_ENABLE","PLUGIN_DISABLE","PLUGIN_CONFIGURE","PLUGIN_PUBLISH","PLUGIN_RESTRICT","PLUGIN_ASSIGN_ACCESS","PLUGIN_DELETE","PLUGIN_DELETE_FOREVER"]},"enabled":{"type":"boolean"},"roleId":{"type":"string"},"role":{"type":"string"}},"required":["permission","enabled","roleId","role"]},"UpdateIntegrationSettingDTO":{"type":"object","properties":{"settingsValue":{"type":"string"}},"required":["settingsValue"]},"IntegrationSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"settingsName":{"type":"string"},"settingsValue":{"type":"string"},"integrationId":{"type":"string"}},"required":["settingsName","settingsValue","integrationId"]},"IntegrationEntitySettingTied":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Project","Organization","Note","Client","Task","Issue","Label","Activity","User","Employee","TimeLog","TimeSlot","Screenshot","Income","Expense","Proposal","JOB_MATCHING","EMPLOYEE_PERFORMANCE"]},"sync":{"type":"boolean"},"integrationEntitySettingId":{"type":"string"}},"required":["entity","sync"]},"TaskAdvancedFilterDTO":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}},"projects":{"type":"array","items":{"type":"string"}},"teams":{"type":"array","items":{"type":"string"}},"modules":{"type":"array","items":{"type":"string"}},"sprints":{"type":"array","items":{"type":"string"}},"members":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"statusIds":{"type":"array","items":{"type":"string"}},"priorityIds":{"type":"array","items":{"type":"string"}},"sizeIds":{"type":"array","items":{"type":"string"}},"parentIds":{"type":"array","items":{"type":"string"}},"createdByUserIds":{"type":"array","items":{"type":"string"}}}},"IssueType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean","default":false},"isSystem":{"type":"boolean","default":false},"imageId":{"type":"string"},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["name","value"]},"Task":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"size":{"type":"string"},"issueType":{"type":"string"},"estimate":{"type":"number"},"dueDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"startDate":{"format":"date-time","type":"string"},"resolvedAt":{"format":"date-time","type":"string"},"version":{"type":"string"},"isDraft":{"type":"boolean"},"isScreeningTask":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/Task"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"organizationSprint":{"type":"object"},"organizationSprintId":{"type":"string"},"taskStatus":{"type":"object"},"taskStatusId":{"type":"string"},"taskSize":{"type":"object"},"taskSizeId":{"type":"string"},"taskPriority":{"type":"object"},"taskPriorityId":{"type":"string"},"taskType":{"$ref":"#/components/schemas/IssueType"},"taskTypeId":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}},"modules":{"type":"array","items":{"type":"array"}}},"required":["title","status"]},"CreateTaskDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"size":{"type":"string"},"issueType":{"type":"string"},"estimate":{"type":"number"},"dueDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"startDate":{"format":"date-time","type":"string"},"resolvedAt":{"format":"date-time","type":"string"},"version":{"type":"string"},"isDraft":{"type":"boolean"},"isScreeningTask":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/Task"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"organizationSprint":{"type":"object"},"organizationSprintId":{"type":"string"},"taskStatus":{"type":"object"},"taskStatusId":{"type":"string"},"taskSize":{"type":"object"},"taskSizeId":{"type":"string"},"taskPriority":{"type":"object"},"taskPriorityId":{"type":"string"},"taskType":{"$ref":"#/components/schemas/IssueType"},"taskTypeId":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}},"modules":{"type":"array","items":{"type":"array"}},"mentionEmployeeIds":{"type":"array","items":{"type":"string"}}},"required":["organization","organizationId","title","status"]},"UpdateTaskDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"size":{"type":"string"},"issueType":{"type":"string"},"estimate":{"type":"number"},"dueDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"startDate":{"format":"date-time","type":"string"},"resolvedAt":{"format":"date-time","type":"string"},"version":{"type":"string"},"isDraft":{"type":"boolean"},"isScreeningTask":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/Task"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"organizationSprint":{"type":"object"},"organizationSprintId":{"type":"string"},"taskStatus":{"type":"object"},"taskStatusId":{"type":"string"},"taskSize":{"type":"object"},"taskSizeId":{"type":"string"},"taskPriority":{"type":"object"},"taskPriorityId":{"type":"string"},"taskType":{"$ref":"#/components/schemas/IssueType"},"taskTypeId":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}},"modules":{"type":"array","items":{"type":"array"}},"mentionEmployeeIds":{"type":"array","items":{"type":"string"}}},"required":["organization","organizationId","title","status"]},"User":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"thirdPartyId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string","minLength":3,"maxLength":100},"phoneNumber":{"type":"string","minLength":4,"maxLength":12},"username":{"type":"string","minLength":3,"maxLength":20},"timeZone":{"type":"string"},"timeFormat":{"type":"string","enum":[12,24]},"hash":{"type":"string"},"refreshToken":{"type":"string"},"imageUrl":{"type":"string","maxLength":500},"preferredLanguage":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"preferredComponentLayout":{"type":"string","enum":["CARDS_GRID","TABLE"]},"code":{"type":"string"},"codeExpireAt":{"format":"date-time","type":"string"},"emailVerifiedAt":{"format":"date-time","type":"string"},"lastLoginAt":{"format":"date-time","type":"string"},"emailToken":{"type":"string"},"roleId":{"type":"string"},"imageId":{"type":"string"},"defaultTeamId":{"type":"string"},"lastTeamId":{"type":"string"},"defaultOrganizationId":{"type":"string"},"lastOrganizationId":{"type":"string"}}},"UpdatePreferredLanguageDTO":{"type":"object","properties":{"preferredLanguage":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]}},"required":["preferredLanguage"]},"UpdatePreferredComponentLayoutDTO":{"type":"object","properties":{"preferredComponentLayout":{"type":"string","enum":["CARDS_GRID","TABLE"]}},"required":["preferredComponentLayout"]},"CreateUserDTO":{"type":"object","properties":{"email":{"type":"string"},"roleId":{"type":"string"},"role":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"imageUrl":{"type":"string"},"preferredLanguage":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]}},"required":["email"]},"UpdateUserDTO":{"type":"object","properties":{"email":{"type":"string"},"roleId":{"type":"string"},"role":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"imageUrl":{"type":"string"},"preferredLanguage":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"isActive":{"type":"boolean","default":true},"defaultTeamId":{"type":"string"},"lastTeamId":{"type":"string"},"defaultOrganizationId":{"type":"string"},"lastOrganizationId":{"type":"string"}}},"Employee":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"short_description":{"type":"string","maxLength":200},"description":{"type":"string"},"startedWorkOn":{"format":"date-time","type":"string"},"endWork":{"format":"date-time","type":"string"},"payPeriod":{"type":"string","enum":["NONE","BI_WEEKLY","WEEKLY","TWICE_PER_MONTH","MONTHLY"],"example":"WEEKLY"},"billRateValue":{"type":"number"},"minimumBillingRate":{"type":"number"},"billRateCurrency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD"},"reWeeklyLimit":{"type":"number"},"offerDate":{"format":"date-time","type":"string"},"acceptDate":{"format":"date-time","type":"string"},"rejectDate":{"format":"date-time","type":"string"},"employeeLevel":{"type":"string","maxLength":500},"anonymousBonus":{"type":"boolean"},"averageIncome":{"type":"number"},"averageBonus":{"type":"number"},"totalWorkHours":{"type":"number"},"averageExpenses":{"type":"number"},"show_anonymous_bonus":{"type":"boolean"},"show_average_bonus":{"type":"boolean"},"show_average_expenses":{"type":"boolean"},"show_average_income":{"type":"boolean"},"show_billrate":{"type":"boolean"},"show_payperiod":{"type":"boolean"},"show_start_work_on":{"type":"boolean"},"isJobSearchActive":{"type":"boolean"},"linkedInUrl":{"type":"string"},"facebookUrl":{"type":"string"},"instagramUrl":{"type":"string"},"twitterUrl":{"type":"string"},"githubUrl":{"type":"string"},"gitlabUrl":{"type":"string"},"upworkUrl":{"type":"string"},"stackoverflowUrl":{"type":"string"},"isVerified":{"type":"boolean"},"isVetted":{"type":"boolean"},"totalJobs":{"type":"number"},"jobSuccess":{"type":"number"},"profile_link":{"type":"string"},"isTrackingEnabled":{"type":"boolean"},"isOnline":{"type":"boolean"},"isAway":{"type":"string","default":false},"isTrackingTime":{"type":"boolean"},"allowScreenshotCapture":{"type":"boolean"},"allowManualTime":{"type":"boolean"},"allowModifyTime":{"type":"boolean"},"allowDeleteTime":{"type":"boolean"},"allowAgentAppExit":{"type":"boolean"},"allowLogoutFromAgentApp":{"type":"boolean"},"trackKeyboardMouseActivity":{"type":"boolean"},"trackAllDisplays":{"type":"boolean"},"upworkId":{"type":"string"},"linkedInId":{"type":"string"},"userId":{"type":"string"},"contactId":{"type":"string"},"organizationPositionId":{"type":"string"}},"required":["averageIncome","averageBonus","totalWorkHours","averageExpenses","totalJobs","jobSuccess","userId","contactId","organizationPositionId"]},"EmployeeBulkInputDTO":{"type":"object","properties":{}},"UserInputDTO":{"type":"object","properties":{"email":{"type":"string"},"roleId":{"type":"string"},"role":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"imageUrl":{"type":"string"},"preferredLanguage":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]}},"required":["email"]},"CreateEmployeeDTO":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/UserInputDTO"},"userId":{"type":"string"},"password":{"type":"string"}},"required":["password"]},"UpdateEmployeeDTO":{"type":"object","properties":{}},"UpdateProfileDTO":{"type":"object","properties":{"contact":{"type":"object"}}},"TenantOrganizationBaseDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"CustomSmtp":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"fromAddress":{"type":"string","examples":["noreply@domain.com"]},"host":{"type":"string","examples":["smtp.postmarkapp.com","smtp.gmail.com"]},"port":{"type":"number","examples":[587,465]},"secure":{"type":"boolean","examples":[true,false]},"isValidate":{"type":"boolean","default":false}},"required":["fromAddress","host","port","secure"]},"ValidateCustomSmtpDTO":{"type":"object","properties":{"fromAddress":{"type":"string","examples":["noreply@domain.com"]},"host":{"type":"string","examples":["smtp.postmarkapp.com","smtp.gmail.com"]},"port":{"type":"number","examples":[587,465]},"secure":{"type":"boolean","examples":[true,false]},"isValidate":{"type":"boolean","default":false},"organizationId":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}},"required":["fromAddress","host","port","secure","username","password"]},"CreateCustomSmtpDTO":{"type":"object","properties":{"fromAddress":{"type":"string","examples":["noreply@domain.com"]},"host":{"type":"string","examples":["smtp.postmarkapp.com","smtp.gmail.com"]},"port":{"type":"number","examples":[587,465]},"secure":{"type":"boolean","examples":[true,false]},"isValidate":{"type":"boolean","default":false},"organizationId":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}},"required":["fromAddress","host","port","secure","username","password"]},"UpdateCustomSmtpDTO":{"type":"object","properties":{"fromAddress":{"type":"string","examples":["noreply@domain.com"]},"host":{"type":"string","examples":["smtp.postmarkapp.com","smtp.gmail.com"]},"port":{"type":"number","examples":[587,465]},"secure":{"type":"boolean","examples":[true,false]},"isValidate":{"type":"boolean","default":false},"organizationId":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}},"required":["fromAddress","host","port","secure","username","password"]},"EmailTemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"languageCode":{"type":"string"},"mjml":{"type":"string"},"hbs":{"type":"string"}},"required":["name","languageCode","mjml","hbs"]},"SaveEmailTemplateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"languageCode":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"name":{"type":"string","enum":["password","multi-tenant-password","password-less-authentication","appointment-confirmation","appointment-cancellation","time-off-report-action","task-update","equipment","equipment-request","timesheet-overview","timesheet-submit","timesheet-action","timesheet-delete","candidate-schedule-interview","interviewer-interview-schedule","welcome-user","email-verification","invite-organization-client","invite-employee","invite-gauzy-teams","invite-user","email-invoice","email-estimate","employee-join","email-reset","organization-team-join-request","payment-receipt","reject-candidate"]},"mjml":{"type":"string"},"subject":{"type":"string"}},"required":["organization","organizationId","languageCode","name","mjml","subject"]},"Organization":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"name":{"type":"string"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD","description":"The currency used by the organization, must be one of the CurrenciesEnum values."},"defaultValueDateType":{"type":"string","enum":["TODAY","END_OF_MONTH","START_OF_MONTH"],"example":"TODAY","description":"The default value date type, can be one of the values from DefaultValueDateTypeEnum."},"regionCode":{"type":"string","description":"The code representing a specific region (e.g., country or geographical area)."},"startWeekOn":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"example":"MONDAY","description":"Specifies which day the week starts on. Must be one of the WeekDaysEnum values."},"bonusType":{"type":"string","enum":["PROFIT_BASED_BONUS","REVENUE_BASED_BONUS"],"example":"PROFIT_BASED_BONUS","description":"The type of bonus, can be one of the defined BonusTypeEnum values."},"bonusPercentage":{"type":"number","example":75,"description":"The percentage of profit-based bonus, must be between 0 and 100."},"show_income":{"type":"boolean"},"show_profits":{"type":"boolean"},"show_bonuses_paid":{"type":"boolean"},"show_total_hours":{"type":"boolean"},"show_minimum_project_size":{"type":"boolean"},"show_projects_count":{"type":"boolean"},"show_clients_count":{"type":"boolean"},"show_clients":{"type":"boolean"},"show_employees_count":{"type":"boolean"},"inviteExpiryPeriod":{"type":"number","example":7,"description":"The default invite expiry period in days."},"upworkOrganizationId":{"type":"string"},"upworkOrganizationName":{"type":"string"},"randomScreenshot":{"type":"boolean"},"trackOnSleep":{"type":"boolean"},"screenshotFrequency":{"type":"number"},"enforced":{"type":"boolean"},"standardWorkHoursPerDay":{"type":"number","description":"Standard work hours per day for the organization","minimum":1,"maximum":24},"allowAgentAppExit":{"type":"boolean","description":"Allow employees to exit the Agent app. When disabled, the exit option will be blocked in the Agent app.","example":true},"allowLogoutFromAgentApp":{"type":"boolean","description":"Allow employees to logout from the Agent app. When disabled, the logout option will be blocked in the Agent app.","example":true},"trackKeyboardMouseActivity":{"type":"boolean","description":"Enable comprehensive keyboard and mouse activity tracking for detailed productivity insights.","example":false},"trackAllDisplays":{"type":"boolean","description":"Track all displays instead of just the primary display. Useful for multi-monitor setups.","example":false},"imageId":{"type":"string"}},"required":["name","currency"]},"CreateOrganizationDTO":{"type":"object","properties":{"bonusType":{"type":"string","enum":["PROFIT_BASED_BONUS","REVENUE_BASED_BONUS"],"example":"PROFIT_BASED_BONUS","description":"The type of bonus, can be one of the defined BonusTypeEnum values."},"bonusPercentage":{"type":"number","example":75,"description":"The percentage of profit-based bonus, must be between 0 and 100."},"defaultValueDateType":{"type":"string","enum":["TODAY","END_OF_MONTH","START_OF_MONTH"],"example":"TODAY","description":"The default value date type, can be one of the values from DefaultValueDateTypeEnum."},"regionCode":{"type":"string","description":"The code representing a specific region (e.g., country or geographical area)."},"startWeekOn":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"example":"MONDAY","description":"Specifies which day the week starts on. Must be one of the WeekDaysEnum values."},"inviteExpiryPeriod":{"type":"number","example":7,"description":"The default invite expiry period in days."},"name":{"type":"string"},"standardWorkHoursPerDay":{"type":"number","description":"Standard work hours per day for the organization","minimum":1,"maximum":24},"imageId":{"type":"string"},"upworkOrganizationId":{"type":"string"},"upworkOrganizationName":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD"}},"required":["name","currency"]},"UpdateOrganizationDTO":{"type":"object","properties":{"bonusType":{"type":"string","enum":["PROFIT_BASED_BONUS","REVENUE_BASED_BONUS"],"example":"PROFIT_BASED_BONUS","description":"The type of bonus, can be one of the defined BonusTypeEnum values."},"bonusPercentage":{"type":"number","example":75,"description":"The percentage of profit-based bonus, must be between 0 and 100."},"defaultValueDateType":{"type":"string","enum":["TODAY","END_OF_MONTH","START_OF_MONTH"],"example":"TODAY","description":"The default value date type, can be one of the values from DefaultValueDateTypeEnum."},"regionCode":{"type":"string","description":"The code representing a specific region (e.g., country or geographical area)."},"startWeekOn":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"example":"MONDAY","description":"Specifies which day the week starts on. Must be one of the WeekDaysEnum values."},"inviteExpiryPeriod":{"type":"number","example":7,"description":"The default invite expiry period in days."},"name":{"type":"string"},"standardWorkHoursPerDay":{"type":"number","description":"Standard work hours per day for the organization","minimum":1,"maximum":24},"imageId":{"type":"string"},"upworkOrganizationId":{"type":"string"},"upworkOrganizationName":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD"},"show_income":{"type":"boolean"},"show_profits":{"type":"boolean"},"show_bonuses_paid":{"type":"boolean"},"show_total_hours":{"type":"boolean"},"show_minimum_project_size":{"type":"boolean"},"show_projects_count":{"type":"boolean"},"show_clients_count":{"type":"boolean"},"show_clients":{"type":"boolean"},"show_employees_count":{"type":"boolean"}},"required":["name","currency"]},"CreateTenantDTO":{"type":"object","properties":{"name":{"type":"string"},"logo":{"type":"string"},"imageId":{"type":"string"}},"required":["name"]},"UpdateTenantDTO":{"type":"object","properties":{"name":{"type":"string"},"logo":{"type":"string"},"imageId":{"type":"string"}},"required":["name"]},"RegisterUserDTO":{"type":"object","properties":{"password":{"type":"string"},"confirmPassword":{"type":"string"},"user":{"$ref":"#/components/schemas/CreateUserDTO"},"organizationId":{"type":"string"},"createdByUserId":{"type":"string"},"featureAsEmployee":{"type":"boolean"}},"required":["password","confirmPassword","user"]},"UserLoginDTO":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}},"required":["email","password"]},"UserSigninWorkspaceDTO":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"includeTeams":{"type":"boolean"}},"required":["email","password"]},"FindUserBySocialLoginDTO":{"type":"object","properties":{"provider":{"type":"string"},"providerAccountId":{"type":"string"}},"required":["provider","providerAccountId"]},"SocialLoginBodyRequestDTO":{"type":"object","properties":{"includeTeams":{"type":"boolean"},"provider":{"type":"string"},"token":{"type":"string"}},"required":["provider","token"]},"UserEmailDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"WorkspaceSigninEmailVerifyDTO":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"number"},"includeTeams":{"type":"boolean"}},"required":["email","code"]},"WorkspaceSigninDTO":{"type":"object","properties":{"email":{"type":"string"},"token":{"type":"string"},"lastTeamId":{"type":"string"},"lastOrganizationId":{"type":"string"}},"required":["email","token"]},"ChangePasswordRequestDTO":{"type":"object","properties":{"token":{"type":"string"},"password":{"type":"string"},"confirmPassword":{"type":"string"}},"required":["token","password","confirmPassword"]},"ResetPasswordRequestDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"RefreshTokenDto":{"type":"object","properties":{"refresh_token":{"type":"string"},"clientId":{"type":"string"}},"required":["refresh_token"]},"SwitchWorkspaceDTO":{"type":"object","properties":{"tenantId":{"type":"string","description":"The tenant ID to switch to","example":"550e8400-e29b-41d4-a716-446655440000"}},"required":["tenantId"]},"SwitchOrganizationDTO":{"type":"object","properties":{"organizationId":{"type":"string","description":"The organization ID to switch to","example":"550e8400-e29b-41d4-a716-446655440000"}},"required":["organizationId"]},"ConfirmEmailByTokenDTO":{"type":"object","properties":{"email":{"type":"string"},"token":{"type":"string"}},"required":["email","token"]},"ConfirmEmailByCodeDTO":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"number"},"tenantId":{"type":"string"}},"required":["email","code","tenantId"]},"AppIntegrationConfigDTO":{"type":"object","properties":{"appName":{"type":"string"},"appLogo":{"type":"string"},"appSignature":{"type":"string"},"appLink":{"type":"string"},"appEmailConfirmationUrl":{"type":"string"},"appMagicSignUrl":{"type":"string"},"companyLink":{"type":"string"},"companyName":{"type":"string"}}},"OrganizationTeam":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"emoji":{"type":"string"},"teamSize":{"type":"string"},"logo":{"type":"string"},"prefix":{"type":"string"},"shareProfileView":{"type":"boolean","default":true},"requirePlanToTrack":{"type":"boolean","default":false},"public":{"type":"boolean","default":false},"profile_link":{"type":"string"},"imageId":{"type":"string"}},"required":["name"]},"OrganizationProject":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"billing":{"type":"string","enum":["RATE","FLAT_FEE","MILESTONES"],"example":"FLAT_FEE"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD"},"public":{"type":"boolean"},"owner":{"type":"string","enum":["CLIENT","INTERNAL"],"example":"CLIENT"},"taskListType":{"type":"string","enum":["GRID","SPRINT"],"example":"GRID"},"code":{"type":"string"},"description":{"type":"string"},"color":{"type":"string"},"billable":{"type":"boolean"},"billingFlat":{"type":"boolean"},"openSource":{"type":"boolean"},"projectUrl":{"type":"string"},"openSourceProjectUrl":{"type":"string"},"budget":{"type":"number"},"budgetType":{"type":"string","enum":["hours","cost"]},"imageUrl":{"type":"string"},"icon":{"type":"string"},"status":{"type":"string","enum":["open","in-progress","completed","cancelled","custom"],"default":"open"},"isTasksAutoSync":{"type":"boolean"},"isTasksAutoSyncOnLabel":{"type":"boolean"},"syncTag":{"type":"string"},"archiveTasksIn":{"type":"number"},"closeTasksIn":{"type":"number"},"organizationContactId":{"type":"string"},"imageId":{"type":"string"},"defaultAssigneeId":{"type":"string"}},"required":["name","taskListType"]},"CreateOrganizationTeamDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"prefix":{"type":"string"},"shareProfileView":{"type":"boolean","default":true},"requirePlanToTrack":{"type":"boolean","default":false},"imageId":{"type":"string"},"public":{"type":"boolean"},"color":{"type":"string"},"emoji":{"type":"string"},"teamSize":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}},"name":{"type":"string"},"profile_link":{"type":"string"}},"required":["organization","organizationId","name"]},"UpdateOrganizationTeamDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"prefix":{"type":"string"},"shareProfileView":{"type":"boolean","default":true},"requirePlanToTrack":{"type":"boolean","default":false},"imageId":{"type":"string"},"public":{"type":"boolean"},"color":{"type":"string"},"emoji":{"type":"string"},"teamSize":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}},"id":{"type":"string"},"name":{"type":"string"}},"required":["organization","organizationId","id"]},"CreateOAuthClientDTO":{"type":"object","properties":{"name":{"type":"string","maxLength":100,"example":"Activepieces"},"description":{"type":"string","maxLength":500,"nullable":true},"clientType":{"type":"string","enum":["confidential","public"],"default":"confidential"},"redirectUris":{"example":["https://cloud.activepieces.com/redirect"],"type":"array","items":{"type":"string"}},"allowedScopes":{"example":["profile","email"],"type":"array","items":{"type":"string"}},"allowedGrantTypes":{"type":"array","default":["authorization_code"],"items":{"type":"string","enum":["authorization_code","refresh_token","client_credentials"]}},"pkceRequired":{"type":"boolean","default":false},"accessTokenTtl":{"type":"number","default":86400,"minimum":60,"maximum":604800},"refreshTokenTtl":{"type":"number","default":2592000,"minimum":60,"maximum":7776000}},"required":["name","redirectUris"]},"UpdateOAuthClientDTO":{"type":"object","properties":{"name":{"type":"string","maxLength":100,"example":"Activepieces"},"description":{"type":"string","maxLength":500,"nullable":true},"redirectUris":{"example":["https://cloud.activepieces.com/redirect"],"type":"array","items":{"type":"string"}},"allowedScopes":{"example":["profile","email"],"type":"array","items":{"type":"string"}},"allowedGrantTypes":{"type":"array","default":["authorization_code"],"items":{"type":"string","enum":["authorization_code","refresh_token","client_credentials"]}},"pkceRequired":{"type":"boolean","default":false},"accessTokenTtl":{"type":"number","default":86400,"minimum":60,"maximum":604800},"refreshTokenTtl":{"type":"number","default":2592000,"minimum":60,"maximum":7776000},"isActive":{"type":"boolean"}}},"EmailHistory":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"content":{"type":"string"},"email":{"type":"string"},"status":{"type":"string","enum":["SENT","FAILED"]},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"},"emailTemplate":{"$ref":"#/components/schemas/EmailTemplate"},"emailTemplateId":{"type":"string"}},"required":["email","user","emailTemplate","emailTemplateId"]},"UpdateEmailHistoryDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"isArchived":{"type":"boolean"}},"required":["organization","organizationId"]},"ResendEmailHistoryDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"Contact":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"address2":{"type":"string"},"postcode":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"regionCode":{"type":"string"},"fax":{"type":"string"},"fiscalInformation":{"type":"string"},"website":{"type":"string"}},"required":["name","firstName","lastName","country","city","address","address2","regionCode"]},"UpdateTeamMemberDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"activeTaskId":{"type":"string"},"organizationTeamId":{"type":"string"},"order":{"type":"number"},"isTrackingEnabled":{"type":"boolean"}},"required":["organization","organizationId","organizationTeamId"]},"UpdateOrganizationTeamActiveTaskDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"activeTaskId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["organization","organizationId","organizationTeamId"]},"StartTimerDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"logType":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"],"default":"TRACKED"},"source":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"],"default":"BROWSER"},"description":{"type":"string"},"isBillable":{"type":"boolean","default":false},"version":{"type":"string","example":"1.0.1"},"projectId":{"type":"string"},"taskId":{"type":"string"},"organizationContactId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["organization","organizationId","logType","source"]},"StopTimerDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"logType":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"],"default":"TRACKED"},"source":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"],"default":"BROWSER"},"description":{"type":"string"},"isBillable":{"type":"boolean","default":false},"version":{"type":"string","example":"1.0.1"},"projectId":{"type":"string"},"taskId":{"type":"string"},"organizationContactId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["organization","organizationId"]},"CreateManualTimeLogDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"stoppedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"},"logType":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]},"source":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]}},"required":["organization","organizationId","startedAt","stoppedAt","employeeId","logType","source"]},"UpdateManualTimeLogDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"stoppedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"}},"required":["organization","organizationId","startedAt","stoppedAt","employeeId"]},"UpdateTaskModeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"taskListType":{"type":"string","enum":["GRID","SPRINT"],"example":"GRID"}},"required":["organization","organizationId","taskListType"]},"UpdateProjectSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"isTasksAutoSync":{"type":"boolean"},"isTasksAutoSyncOnLabel":{"type":"boolean"},"syncTag":{"type":"string"},"customFields":{"type":"object"}},"required":["organization","organizationId"]},"CountQueryDTO":{"type":"object","properties":{"tenantId":{"type":"string"},"organizationId":{"type":"string"}},"required":["organizationId"]},"RelationsQueryDTO":{"type":"object","properties":{"relations":{"type":"array","items":{"required":false,"type":"array","items":{"type":"string"}}}},"required":["relations"]},"CreateOrganizationProjectDTO":{"type":"object","properties":{"name":{"type":"string"},"billing":{"type":"string","enum":["RATE","FLAT_FEE","MILESTONES"],"example":"FLAT_FEE"},"budgetType":{"type":"string","enum":["hours","cost"]},"imageId":{"type":"string"},"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"taskListType":{"type":"string","enum":["GRID","SPRINT"],"example":"GRID"},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}},"required":["name"]},"UpdateOrganizationProjectDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"billing":{"type":"string","enum":["RATE","FLAT_FEE","MILESTONES"],"example":"FLAT_FEE"},"budgetType":{"type":"string","enum":["hours","cost"]},"imageId":{"type":"string"},"taskListType":{"type":"string","enum":["GRID","SPRINT"],"example":"GRID"},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}}},"Tag":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"textColor":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"isSystem":{"type":"boolean","default":false},"tagTypeId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["name","color"]},"OrganizationVendor":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"website":{"type":"string"},"expenses":{"type":"array","items":{"$ref":"#/components/schemas/Expense"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["name","email","phone","website"]},"ExpenseCategory":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"expenses":{"type":"array","items":{"$ref":"#/components/schemas/Expense"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["name"]},"Payment":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"paymentDate":{"format":"date-time","type":"string"},"amount":{"type":"number"},"note":{"type":"string"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"paymentMethod":{"type":"string","enum":["BANK_TRANSFER","CASH","CHEQUE","CREDIT_CARD","DEBIT","ONLINE"]},"overdue":{"type":"boolean"},"employeeId":{"type":"string"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationContact":{"$ref":"#/components/schemas/OrganizationContact"},"organizationContactId":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}}},"required":["amount","employeeId"]},"Income":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"amount":{"type":"number"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"valueDate":{"format":"date-time","type":"string"},"notes":{"type":"string"},"isBonus":{"type":"boolean"},"reference":{"type":"string","maxLength":256},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string","readOnly":true},"client":{"$ref":"#/components/schemas/"},"clientId":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/"}}},"required":["amount","currency","isBonus","employee","employeeId","clientId","tags"]},"TimeLog":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"startedAt":{"type":"timestamptz"},"stoppedAt":{"type":"timestamptz"},"logType":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"],"default":"TRACKED"},"source":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"],"default":"BROWSER"},"description":{"type":"string"},"reason":{"type":"string"},"isBillable":{"type":"boolean","default":false},"isRunning":{"type":"boolean"},"version":{"type":"string","example":"1.0.1"},"employeeId":{"type":"string"},"timesheetId":{"type":"string"},"projectId":{"type":"string"},"taskId":{"type":"string"},"organizationContactId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["startedAt","stoppedAt","logType","source","employeeId"]},"OrganizationContact":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"primaryEmail":{"type":"string"},"primaryPhone":{"type":"string"},"inviteStatus":{"type":"string","enum":["NOT_INVITED","INVITED","ACCEPTED"]},"notes":{"type":"string"},"contactType":{"type":"string","enum":["CLIENT","CUSTOMER","LEAD"]},"imageUrl":{"type":"string","maxLength":500},"budget":{"type":"number"},"budgetType":{"type":"string"},"contact":{"$ref":"#/components/schemas/Contact"},"contactId":{"type":"string"},"imageId":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationProject"}},"invoices":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"}},"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"expenses":{"type":"array","items":{"$ref":"#/components/schemas/Expense"}},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"}},"timeLogs":{"type":"array","items":{"$ref":"#/components/schemas/TimeLog"}}},"required":["name","contact"]},"Expense":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"amount":{"type":"number"},"typeOfExpense":{"type":"string"},"notes":{"type":"string"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"valueDate":{"format":"date-time","type":"string"},"purpose":{"type":"string"},"taxType":{"type":"string"},"taxLabel":{"type":"string"},"rateValue":{"type":"number"},"receipt":{"type":"string"},"splitExpense":{"type":"boolean"},"reference":{"type":"string","maxLength":256},"status":{"type":"string","enum":["INVOICED","UNINVOICED","PAID","NOT_BILLABLE"]},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string","readOnly":true},"vendor":{"$ref":"#/components/schemas/OrganizationVendor"},"vendorId":{"type":"string","readOnly":true},"category":{"$ref":"#/components/schemas/ExpenseCategory"},"categoryId":{"type":"string","readOnly":true},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationContact":{"$ref":"#/components/schemas/OrganizationContact"},"organizationContactId":{"type":"string"},"invoiceItems":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceItem"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["amount","currency","rateValue","splitExpense","employee","employeeId","vendor","vendorId","category","categoryId","project","organizationContact","tags"]},"EquipmentSharingPolicy":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["name"]},"EquipmentSharing":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"shareRequestDay":{"format":"date-time","type":"string"},"shareStartDay":{"format":"date-time","type":"string"},"shareEndDay":{"format":"date-time","type":"string"},"status":{"type":"number"},"equipment":{"$ref":"#/components/schemas/Equipment"},"equipmentId":{"type":"string"},"equipmentSharingPolicy":{"$ref":"#/components/schemas/EquipmentSharingPolicy"},"equipmentSharingPolicyId":{"type":"string"}},"required":["status"]},"Equipment":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"serialNumber":{"type":"string"},"manufacturedYear":{"type":"number"},"initialCost":{"type":"number"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"maxSharePeriod":{"type":"number"},"autoApproveShare":{"type":"boolean"},"image":{"$ref":"#/components/schemas/ImageAsset"},"equipmentSharings":{"type":"array","items":{"$ref":"#/components/schemas/EquipmentSharing"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["name","type","manufacturedYear","initialCost","currency","maxSharePeriod","autoApproveShare","image","equipmentSharings","tags"]},"ProductOptionGroupTranslation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"languageCode":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"reference":{"$ref":"#/components/schemas/ProductOptionGroup"},"referenceId":{"type":"string"}},"required":["name","languageCode","reference","referenceId"]},"ProductOptionGroup":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"product":{"$ref":"#/components/schemas/Product"},"productId":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/ProductOption"}},"translations":{"type":"array","items":{"$ref":"#/components/schemas/ProductOptionGroupTranslation"}}},"required":["name","product","productId","options","translations"]},"ProductOptionTranslation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"languageCode":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"reference":{"$ref":"#/components/schemas/ProductOption"},"referenceId":{"type":"string"}},"required":["name","description","languageCode","reference","referenceId"]},"ProductOption":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"group":{"$ref":"#/components/schemas/ProductOptionGroup"},"groupId":{"type":"string"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/ProductOptionTranslation"}}},"required":["name","code","translations"]},"ProductVariant":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"taxes":{"type":"number"},"notes":{"type":"string"},"quantity":{"type":"number"},"billingInvoicingPolicy":{"type":"string"},"internalReference":{"type":"string"},"enabled":{"type":"boolean"},"product":{"$ref":"#/components/schemas/Product"},"productId":{"type":"string"},"image":{"$ref":"#/components/schemas/ImageAsset"},"imageId":{"type":"string"},"warehouseProductVariants":{"type":"array","items":{"$ref":"#/components/schemas/WarehouseProductVariant"}},"options":{"$ref":"#/components/schemas/ProductOption"}},"required":["taxes","quantity","billingInvoicingPolicy","internalReference","product","productId","image","imageId","warehouseProductVariants","options"]},"WarehouseProductVariant":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"quantity":{"type":"number"},"variant":{"$ref":"#/components/schemas/ProductVariant"},"variantId":{"type":"string"},"warehouseProductId":{"type":"string"}},"required":["variant","variantId","warehouseProductId"]},"WarehouseProduct":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"quantity":{"type":"number"},"warehouse":{"$ref":"#/components/schemas/Warehouse"},"warehouseId":{"type":"string"},"product":{"$ref":"#/components/schemas/Product"},"productId":{"type":"string"},"variants":{"type":"array","items":{"$ref":"#/components/schemas/WarehouseProductVariant"}}},"required":["warehouse","warehouseId","product","productId","variants"]},"Warehouse":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"active":{"type":"boolean"},"logo":{"$ref":"#/components/schemas/ImageAsset"},"logoId":{"type":"string"},"contactId":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/components/schemas/WarehouseProduct"}}},"required":["name","code","email","description","logo","logoId","contactId","products"]},"ImageAsset":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"thumb":{"type":"string"},"width":{"type":"number","default":0},"height":{"type":"number","default":0},"size":{"type":"number"},"isFeatured":{"type":"boolean"},"externalProviderId":{"type":"string"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"productFeaturedImage":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"equipmentImage":{"type":"array","items":{"$ref":"#/components/schemas/Equipment"}},"warehouses":{"type":"array","items":{"$ref":"#/components/schemas/Warehouse"}},"productGallery":{"type":"array","items":{"$ref":"#/components/schemas/Product"}}},"required":["url","thumb","isFeatured","productFeaturedImage","equipmentImage","warehouses","productGallery"]},"ProductTypeTranslation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"languageCode":{"type":"string"},"reference":{"$ref":"#/components/schemas/ProductType"},"referenceId":{"type":"string"}},"required":["name","description","languageCode","reference","referenceId"]},"ProductType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"icon":{"type":"string","enum":["briefcase-outline","car-outline","color-palette-outline","flash-outline","home-outline","gift-outline","heart-outline","radio-button-off-outline","pin-outline","settings-outline","star-outline","shopping-bag-outline","share-outline","activity-outline","alert-triangle-outline","bulb-outline","checkmark-circle-outline","globe-2-outline","layers-outline","phone-outline","shopping-cart-outline"]},"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"translations":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypeTranslation"}}},"required":["icon","products","translations"]},"ProductCategoryTranslation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"languageCode":{"type":"string"},"reference":{"$ref":"#/components/schemas/ProductCategory"},"referenceId":{"type":"string"}},"required":["name","description","languageCode","reference","referenceId"]},"ProductCategory":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"imageUrl":{"type":"string"},"imageId":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"translations":{"type":"array","items":{"$ref":"#/components/schemas/ProductCategoryTranslation"}}},"required":["products","translations"]},"ProductTranslation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"languageCode":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]},"reference":{"$ref":"#/components/schemas/Product"},"referenceId":{"type":"string"}},"required":["name","description","languageCode","reference","referenceId"]},"Product":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"enabled":{"type":"boolean"},"code":{"type":"string"},"imageUrl":{"type":"string"},"featuredImage":{"$ref":"#/components/schemas/ImageAsset"},"featuredImageId":{"type":"string"},"productType":{"$ref":"#/components/schemas/ProductType"},"productTypeId":{"type":"string"},"productCategory":{"$ref":"#/components/schemas/ProductCategory"},"productCategoryId":{"type":"string"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/ProductTranslation"}},"variants":{"type":"array","items":{"$ref":"#/components/schemas/ProductVariant"}},"optionGroups":{"type":"array","items":{"$ref":"#/components/schemas/ProductOptionGroup"}},"invoiceItems":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceItem"}},"warehouses":{"type":"array","items":{"$ref":"#/components/schemas/WarehouseProduct"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"gallery":{"type":"array","items":{"$ref":"#/components/schemas/ImageAsset"}}},"required":["code","featuredImage","featuredImageId","productType","productTypeId","productCategory","productCategoryId","translations","tags","gallery"]},"InvoiceItem":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"description":{"type":"string"},"price":{"type":"number"},"quantity":{"type":"number"},"totalValue":{"type":"number"},"applyTax":{"type":"boolean"},"applyDiscount":{"type":"boolean"},"expense":{"$ref":"#/components/schemas/Expense"},"expenseId":{"type":"string"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceId":{"type":"string"},"task":{"$ref":"#/components/schemas/Task"},"taskId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"product":{"$ref":"#/components/schemas/Product"},"productId":{"type":"string"}},"required":["description","price","quantity","totalValue"]},"InvoiceEstimateHistory":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"action":{"type":"string"},"title":{"type":"string"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceId":{"type":"string"}},"required":["action","user","userId","invoice","invoiceId"]},"Invoice":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"invoiceDate":{"format":"date-time","type":"string"},"invoiceNumber":{"type":"number"},"dueDate":{"format":"date-time","type":"string"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"discountValue":{"type":"number"},"paid":{"type":"boolean"},"tax":{"type":"number"},"tax2":{"type":"number"},"terms":{"type":"string"},"totalValue":{"type":"number"},"status":{"type":"string"},"isEstimate":{"type":"boolean"},"isAccepted":{"type":"boolean"},"discountType":{"type":"string","enum":["PERCENT","FLAT"]},"taxType":{"type":"string","enum":["PERCENT","FLAT"]},"tax2Type":{"type":"string","enum":["PERCENT","FLAT"]},"invoiceType":{"type":"string","enum":["BY_EMPLOYEE_HOURS","BY_PROJECT_HOURS","BY_TASK_HOURS","BY_PRODUCTS","BY_EXPENSES","DETAILED_ITEMS"]},"sentTo":{"type":"string"},"organizationContactId":{"type":"string"},"internalNote":{"type":"string"},"alreadyPaid":{"type":"number"},"amountDue":{"type":"number"},"hasRemainingAmountInvoiced":{"type":"boolean"},"token":{"type":"string"},"fromOrganization":{"$ref":"#/components/schemas/"},"fromOrganizationId":{"type":"string"},"toContact":{"$ref":"#/components/schemas/"},"toContactId":{"type":"string"},"invoiceItems":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceItem"}},"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"historyRecords":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceEstimateHistory"}},"tags":{"$ref":"#/components/schemas/Tag"}},"required":["invoiceDate","invoiceNumber","dueDate","currency","discountValue","paid","tax","tax2","discountType","taxType","tax2Type","fromOrganizationId","toContactId","tags"]},"CreateOrganizationContactDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"name":{"type":"string"},"primaryEmail":{"type":"string"},"primaryPhone":{"type":"string"},"inviteStatus":{"type":"string","enum":["NOT_INVITED","INVITED","ACCEPTED"]},"notes":{"type":"string"},"contactType":{"type":"string","enum":["CLIENT","CUSTOMER","LEAD"]},"budget":{"type":"number"},"budgetType":{"type":"string"},"imageId":{"type":"string"}},"required":["organization","organizationId","name"]},"UpdateOrganizationContactDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}},"name":{"type":"string"},"primaryEmail":{"type":"string"},"primaryPhone":{"type":"string"},"inviteStatus":{"type":"string","enum":["NOT_INVITED","INVITED","ACCEPTED"]},"notes":{"type":"string"},"contactType":{"type":"string","enum":["CLIENT","CUSTOMER","LEAD"]},"budget":{"type":"number"},"budgetType":{"type":"string"},"imageId":{"type":"string"}},"required":["organization","organizationId","name"]},"BulkActivityInputDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["organization","organizationId"]},"TimeTrackingStatisticQueryDTO":{"type":"object","properties":{"source":{"type":"string","enum":["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]},"logType":{"type":"string","enum":["TRACKED","MANUAL","IDLE","RESUMED"]},"activityLevel":{"type":"object"},"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"employeeIds":{"type":"array","items":{"type":"array"}},"projectIds":{"type":"array","items":{"type":"array"}},"taskIds":{"type":"array","items":{"type":"array"}},"teamIds":{"type":"array","items":{"type":"array"}},"todayStart":{"format":"date-time","type":"string"},"todayEnd":{"format":"date-time","type":"string"},"defaultRange":{"type":"boolean"},"unitOfTime":{"type":"string","example":"week"},"take":{"type":"number"}},"required":["organization","organizationId"]},"Feature":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"code":{"type":"string"},"isPaid":{"type":"boolean","default":false},"description":{"type":"string","readOnly":true},"image":{"type":"string","readOnly":true},"link":{"type":"string","readOnly":true},"status":{"type":"string"},"icon":{"type":"string"},"parentId":{"type":"string"}},"required":["name","code","isPaid","description","image","link","status","icon","parentId"]},"CreateFeatureToggleDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"featureId":{"type":"string"},"isEnabled":{"type":"boolean"},"organization":{"type":"object","readOnly":true},"organizationId":{"type":"string","readOnly":true}},"required":["featureId","isEnabled","organization","organizationId"]},"OrganizationSprint":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"goal":{"type":"string"},"length":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["active","completed","draft","upcoming"]},"dayStart":{"type":"number","enum":[1,2,3,4,5,6,7]},"sprintProgress":{"type":"object"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"tasks":{"$ref":"#/components/schemas/Task"}},"required":["name","goal","length","project","projectId","tasks"]},"CreateOrganizationSprintDTO":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"goal":{"type":"string"},"length":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["active","completed","draft","upcoming"]},"dayStart":{"type":"number","enum":[1,2,3,4,5,6,7]},"sprintProgress":{"type":"object"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"tasks":{"$ref":"#/components/schemas/Task"},"tenant":{"type":"object"},"organization":{"type":"object"},"sentTo":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}},"required":["name","goal","length","project","projectId","tasks","organization"]},"UpdateOrganizationSprintDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"goal":{"type":"string"},"length":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["active","completed","draft","upcoming"]},"dayStart":{"type":"number","enum":[1,2,3,4,5,6,7]},"sprintProgress":{"type":"object"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"tasks":{"$ref":"#/components/schemas/Task"},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}}},"TaskView":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"visibilityLevel":{"type":"string","enum":[0,1,2,3]},"queryParams":{"type":"object"},"filterOptions":{"type":"object"},"displayOptions":{"type":"object"},"properties":{"type":"object"},"isLocked":{"type":"boolean","default":false},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"},"projectModuleId":{"type":"string"},"organizationSprintId":{"type":"string"}},"required":["name"]},"CreateViewDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"visibilityLevel":{"type":"string","enum":[0,1,2,3]},"queryParams":{"type":"object"},"filterOptions":{"type":"object"},"displayOptions":{"type":"object"},"properties":{"type":"object"},"isLocked":{"type":"boolean","default":false},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"},"projectModuleId":{"type":"string"},"organizationSprintId":{"type":"string"}},"required":["name"]},"UpdateViewDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"visibilityLevel":{"type":"string","enum":[0,1,2,3]},"queryParams":{"type":"object"},"filterOptions":{"type":"object"},"displayOptions":{"type":"object"},"properties":{"type":"object"},"isLocked":{"type":"boolean","default":false},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"},"projectModuleId":{"type":"string"},"organizationSprintId":{"type":"string"}}},"EmployeeNotification":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"type":{"type":"string","enum":["Payment","Assignment","Invitation","Mention","Comment","Message","Broadcast"]},"isRead":{"type":"boolean"},"readAt":{"format":"date-time","type":"string"},"onHoldUntil":{"format":"date-time","type":"string"},"sentByEmployee":{"type":"object"},"sentByEmployeeId":{"type":"string"},"receiverEmployee":{"type":"object"},"receiverEmployeeId":{"type":"string"}},"required":["entity","entityId"]},"EmployeeNotificationSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"payment":{"type":"boolean"},"assignment":{"type":"boolean"},"invitation":{"type":"boolean"},"mention":{"type":"boolean"},"comment":{"type":"boolean"},"message":{"type":"boolean"},"preferences":{"type":"object"},"employeeId":{"type":"string"}},"required":["preferences","employeeId"]},"CreateEmployeeNotificationSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"payment":{"type":"boolean"},"assignment":{"type":"boolean"},"invitation":{"type":"boolean"},"mention":{"type":"boolean"},"comment":{"type":"boolean"},"message":{"type":"boolean"},"preferences":{"type":"object"}},"required":["organization","preferences"]},"UpdateEmployeeNotificationSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"payment":{"type":"boolean"},"assignment":{"type":"boolean"},"invitation":{"type":"boolean"},"mention":{"type":"boolean"},"comment":{"type":"boolean"},"message":{"type":"boolean"},"preferences":{"type":"object"}}},"CreateTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"textColor":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"tagTypeId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["name","color"]},"UpdateTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"textColor":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"tagTypeId":{"type":"string"},"organizationTeamId":{"type":"string"}}},"IntegrationType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"groupName":{"type":"string"},"order":{"type":"number"}},"required":["name","groupName","order"]},"GithubInstallStateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"GithubAppInstallDTO":{"type":"object","properties":{"installation_id":{"type":"string"},"setup_action":{"type":"string"},"state":{"type":"string"}},"required":["state"]},"GithubOAuthDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"code":{"type":"string"}},"required":["organization","organizationId","code"]},"ProcessGithubIssueSyncDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"issues":{"type":"string"},"repository":{"type":"string"},"projectId":{"type":"string"}},"required":["organization","organizationId"]},"UpdateGithubRepositoryDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"hasSyncEnabled":{"type":"boolean"}},"required":["organization","organizationId"]},"Screenshot":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"file":{"type":"string"},"thumb":{"type":"string"},"recordedAt":{"type":"timestamptz"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"isWorkRelated":{"type":"string","description":"Specifies whether the image or screenshot is work-related."},"description":{"type":"string","description":"Description of the image or screenshot."},"apps":{"type":"json","description":"Applications associated with the image or screenshot."},"timeSlotId":{"type":"string"},"userId":{"type":"string"}},"required":["file"]},"UpdateMakeComSettingsDTO":{"type":"object","properties":{"isEnabled":{"type":"boolean","description":"Whether the Make.com integration is enabled","example":true},"webhookUrl":{"type":"string","description":"The webhook URL for Make.com integration","example":"https://hook.make.com/your-webhook-path"}},"required":["isEnabled"]},"SetZoneDTO":{"type":"object","properties":{"zone":{"type":"string","enum":["eu1","eu2","us1","us2"],"description":"The Make.com zone that determines the API base URL","example":"us2"},"organizationId":{"type":"string","description":"Optional Gauzy organization ID"}},"required":["zone"]},"CreateExpenseCategoryDTO":{"type":"object","properties":{}},"UpdateExpenseCategoryDTO":{"type":"object","properties":{"id":{"type":"string","readOnly":true}},"required":["id"]},"CreateExpenseDTO":{"type":"object","properties":{}},"UpdateExpenseDTO":{"type":"object","properties":{}},"OrganizationRecurringExpense":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"startDay":{"type":"number","minimum":1,"maximum":31},"startMonth":{"type":"number","minimum":1,"maximum":12},"startYear":{"type":"number","minimum":1},"startDate":{"format":"date-time","type":"string"},"endDay":{"type":"number","minimum":1,"maximum":31},"endMonth":{"type":"number","minimum":1,"maximum":12},"endYear":{"type":"number","minimum":1},"endDate":{"format":"date-time","type":"string"},"categoryName":{"type":"string"},"value":{"type":"number"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"splitExpense":{"type":"boolean"},"parentRecurringExpenseId":{"type":"string"}},"required":["startDay","startMonth","startYear","startDate","endDay","endMonth","endYear","endDate","categoryName","value","currency","splitExpense","parentRecurringExpenseId"]},"EmployeeRecurringExpense":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"startDay":{"type":"number","minimum":1,"maximum":31},"startMonth":{"type":"number","minimum":1,"maximum":12},"startYear":{"type":"number","minimum":1},"startDate":{"format":"date-time","type":"string"},"endDay":{"type":"number","minimum":1,"maximum":31},"endMonth":{"type":"number","minimum":1,"maximum":12},"endYear":{"type":"number","minimum":1},"endDate":{"format":"date-time","type":"string"},"categoryName":{"type":"string"},"value":{"type":"number"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"parentRecurringExpenseId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["startDay","startMonth","startYear","startDate","endDay","endMonth","endYear","endDate","categoryName","value","currency","parentRecurringExpenseId","employee","employeeId"]},"CreateEmployeeRecurringExpenseDTO":{"type":"object","properties":{}},"UpdateEmployeeRecurringExpenseDTO":{"type":"object","properties":{}},"CreateIncomeDTO":{"type":"object","properties":{}},"UpdateIncomeDTO":{"type":"object","properties":{}},"Proposal":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"jobPostUrl":{"type":"string"},"valueDate":{"format":"date-time","type":"string"},"jobPostContent":{"type":"string"},"proposalContent":{"type":"string"},"status":{"type":"string","enum":["SENT","ACCEPTED"]},"employeeId":{"type":"string"},"organizationContactId":{"type":"string"}},"required":["jobPostContent","proposalContent","status","employeeId"]},"CreateProposalDTO":{"type":"object","properties":{}},"UpdateProposalDTO":{"type":"object","properties":{}},"ConfigurePlaneIntegrationDto":{"type":"object","properties":{"mode":{"type":"string","description":"Integration mode: \"shared\" uses the global hosted Ever Gauzy PM UIs, \"custom\" uses tenant-provided URLs","enum":["shared","custom"],"example":"shared"},"planeWebUrl":{"type":"string","description":"Main Plane web app URL (required only in custom mode)","example":"https://plane.example.com"},"planeAdminUrl":{"type":"string","description":"Plane admin panel URL (optional; not used in shared mode)","example":"https://admin.plane.example.com"},"planeSpaceUrl":{"type":"string","description":"Plane public space URL (required in custom mode)","example":"https://space.plane.example.com"}},"required":["planeWebUrl"]},"UpdatePlaneSettingsDto":{"type":"object","properties":{"mode":{"type":"string","description":"Integration mode: \"shared\" uses the global hosted Ever Gauzy PM UIs, \"custom\" uses tenant-provided URLs","enum":["shared","custom"],"example":"shared"},"planeWebUrl":{"type":"string","description":"Main Plane web app URL (required only in custom mode)","example":"https://plane.example.com"},"planeAdminUrl":{"type":"string","description":"Plane admin panel URL (optional; not used in shared mode)","example":"https://admin.plane.example.com"},"planeSpaceUrl":{"type":"string","description":"Plane public space URL (required in custom mode)","example":"https://space.plane.example.com"}}},"GenerateApiKeyDTO":{"type":"object","properties":{"tenantId":{"type":"string","description":"The unique identifier of the tenant.","format":"uuid"},"name":{"type":"string","description":"The name or label for the API key."}}},"ConfigureSimIntegrationDto":{"type":"object","properties":{"apiKey":{"type":"string","description":"SIM API key for authentication","example":"sim_..."}},"required":["apiKey"]},"ExecuteWorkflowDto":{"type":"object","properties":{"input":{"type":"object","description":"Input data for the workflow"},"timeout":{"type":"number","description":"Execution timeout in milliseconds","default":30000},"runAsync":{"type":"boolean","description":"Run asynchronously","default":false}}},"EventMappingDto":{"type":"object","properties":{"event":{"type":"string","description":"The Gauzy event type to map","enum":["timer.started","timer.stopped","timer.status_updated","task.created","task.updated","task.deleted","screenshot.created","screenshot.updated","screenshot.deleted","integration.created","integration.updated","integration.deleted","account.registered","account.verified"]},"workflowId":{"type":"string","description":"The SIM workflow ID to trigger when this event fires"}},"required":["event","workflowId"]},"ZapierWebhookSubscription":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"targetUrl":{"type":"string"},"event":{"type":"string"},"integrationId":{"type":"string"}},"required":["targetUrl","event","integrationId"]},"EmployeeProposalTemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"content":{"type":"string"},"isDefault":{"type":"boolean"},"employeeId":{"type":"string"}},"required":["name","content","isDefault","employeeId"]},"ProposalTemplateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"content":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["organization","organizationId","name"]},"CreateProposalTemplateDTO":{"type":"object","properties":{}},"UpdateProposalTemplateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"content":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["organization","organizationId","name"]},"EmployeeJobPost":{"type":"object","properties":{}},"EmployeeJobStatisticDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"isJobSearchActive":{"type":"boolean"}},"required":["organization","organizationId","isJobSearchActive"]},"JobPreset":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"}},"required":["name"]},"SaveJobPresetCriterionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"JobPresetUpworkJobSearchCriterion":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"keyword":{"type":"string"},"jobType":{"type":"boolean"},"jobPresetId":{"type":"string"},"occupationId":{"type":"string"},"categoryId":{"type":"string"}},"required":["keyword","jobType","jobPresetId","occupationId","categoryId"]},"CreateJobPresetDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"HelpCenter":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"flag":{"type":"string"},"icon":{"type":"string"},"privacy":{"type":"string"},"language":{"type":"string"},"color":{"type":"string"},"description":{"type":"string"},"data":{"type":"string"},"index":{"type":"number"},"parentId":{"type":"string"}},"required":["name","flag","icon","privacy","language","color","description","data","index","parentId"]},"HelpCenterArticle":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"data":{"type":"string"},"draft":{"type":"boolean"},"privacy":{"type":"boolean"},"index":{"type":"number"},"descriptionHtml":{"type":"string"},"descriptionJson":{"type":"object"},"descriptionBinary":{"type":"string"},"isLocked":{"type":"boolean"},"color":{"type":"string"},"externalId":{"type":"string"},"categoryId":{"type":"string"},"parentId":{"type":"string"},"ownedById":{"type":"string"},"projects":{"type":"array","items":{"type":"array"}},"tags":{"type":"array","items":{"type":"array"}}},"required":["name","index","categoryId"]},"UpdateHelpCenterArticleDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"data":{"type":"string"},"draft":{"type":"boolean"},"privacy":{"type":"boolean"},"index":{"type":"number"},"descriptionHtml":{"type":"string"},"descriptionJson":{"type":"object"},"descriptionBinary":{"type":"string"},"isLocked":{"type":"boolean"},"color":{"type":"string"},"externalId":{"type":"string"},"categoryId":{"type":"string"},"parentId":{"type":"string"},"ownedById":{"type":"string"},"projects":{"type":"array","items":{"type":"array"}},"tags":{"type":"array","items":{"type":"array"}}}},"HelpCenterArticleVersion":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"descriptionHtml":{"type":"string"},"descriptionJson":{"type":"object"},"descriptionBinary":{"type":"string"},"lastSavedAt":{"format":"date-time","type":"string"},"articleId":{"type":"string"},"ownedById":{"type":"string"}},"required":["lastSavedAt","articleId"]},"HelpCenterAuthor":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"article":{"$ref":"#/components/schemas/HelpCenterArticle"},"articleId":{"type":"string"}},"required":["employee","employeeId","article","articleId"]},"Video":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string","description":"Title of the video"},"file":{"type":"string","description":"Video file path or identifier"},"recordedAt":{"type":"timestamptz","description":"Date when the video was recorded"},"duration":{"type":"number","description":"Duration of the video in seconds"},"size":{"type":"number","description":"Size of the video file in bytes"},"fullUrl":{"type":"string","description":"Full URL to access the video"},"description":{"type":"string","description":"Video description"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"resolution":{"type":"string","description":"Video resolution in format WIDTH:HEIGHT (e.g., 1920:1080, 3840:2160)"},"codec":{"type":"string","description":"Video codec used for encoding (e.g., libx264, libx265, vp9)"},"frameRate":{"type":"number","description":"Video frame rate"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"}},"required":["title","file","duration","size","fullUrl","description","frameRate"]},"FileDTO":{"type":"object","properties":{"fieldname":{"type":"string","description":"The field name associated with the file","example":"videoFile"},"key":{"type":"string","description":"The file path or identifier of the video","example":"project-demo-2024.mp4","pattern":"/\\.(mp4)$/"},"originalname":{"type":"string","description":"The original file name","example":"project-demo-original.mp4"},"size":{"type":"number","description":"The size of the file in bytes","example":10485760},"encoding":{"type":"string","description":"The file encoding (if available)","example":"7bit"},"mimetype":{"type":"string","description":"The MIME type of the file (if available)","example":"video/mp4"},"filename":{"type":"string","description":"The file name","example":"project-demo-2024.mp4"},"url":{"type":"string","description":"The public URL of the file","example":"https://example.com/project-demo-2024.mp4"},"path":{"type":"string","description":"The full path of the file","example":"/uploads/project-demo-2024.mp4"}},"required":["fieldname","key","originalname","size","encoding","mimetype","filename","url","path"]},"CreateVideoDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string","description":"The title of the video","example":"My Project Demo Video 2024","minLength":3,"maxLength":255},"recordedAt":{"type":"timestamptz","description":"Date when the video was recorded"},"duration":{"type":"number","description":"Duration of the video in seconds"},"size":{"type":"number","description":"Size of the video file in bytes"},"fullUrl":{"type":"string","description":"Full URL to access the video"},"description":{"type":"string","description":"Video description"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"resolution":{"type":"string","description":"Video resolution in format WIDTH:HEIGHT (e.g., 1920:1080, 3840:2160)"},"codec":{"type":"string","description":"Video codec used for encoding (e.g., libx264, libx265, vp9)"},"frameRate":{"type":"number","description":"Video frame rate"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"},"file":{"description":"The uploaded video file object containing metadata and properties","allOf":[{"$ref":"#/components/schemas/FileDTO"}]}},"required":["title","duration","size","fullUrl","description","frameRate","file"]},"UpdateVideoDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string","description":"Title of the video"},"recordedAt":{"type":"timestamptz","description":"Date when the video was recorded"},"duration":{"type":"number","description":"Duration of the video in seconds"},"size":{"type":"number","description":"Size of the video file in bytes"},"fullUrl":{"type":"string","description":"Full URL to access the video"},"description":{"type":"string","description":"Video description"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"resolution":{"type":"string","description":"Video resolution in format WIDTH:HEIGHT (e.g., 1920:1080, 3840:2160)"},"codec":{"type":"string","description":"Video codec used for encoding (e.g., libx264, libx265, vp9)"},"frameRate":{"type":"number","description":"Video frame rate"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"}},"required":["title","duration","size","fullUrl","description","frameRate"]},"":{"type":"object","properties":{"select":{"type":"object"},"relations":{"type":"object"},"where":{"type":"object"},"order":{"type":"object"},"withDeleted":{"type":"boolean"},"take":{"type":"number","minimum":0,"maximum":100},"skip":{"type":"number","minimum":0}},"required":["where"]},"CreateCamshotDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"recordedAt":{"type":"timestamptz","description":"Date when the camshot was recorded"},"fullUrl":{"type":"string","description":"Full URL to access the camshot"},"thumbUrl":{"type":"string","description":"Thumb URL to access the camshot"},"size":{"type":"number","description":"Size of the camshot file in bytes"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"},"uploadedById":{"type":"string","description":"The UUID of the associated Employee"},"userId":{"type":"string","description":"The UUID of the associated User"}},"required":["storageProvider"]},"Camshot":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string","description":"Title of the camshot"},"fileKey":{"type":"string","description":"Camshot file path or identifier"},"thumbKey":{"type":"string","description":"Camshot thumb file path or identifier"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"recordedAt":{"type":"timestamptz","description":"Date when the camshot was recorded"},"fullUrl":{"type":"string","description":"Full URL to access the camshot"},"thumbUrl":{"type":"string","description":"Thumb URL to access the camshot"},"size":{"type":"number","description":"Size of the camshot file in bytes"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"},"uploadedById":{"type":"string","description":"The UUID of the associated Employee"},"userId":{"type":"string","description":"The UUID of the associated User"}},"required":["title","storageProvider"]},"FindOptionsQueryDTO":{"type":"object","properties":{"select":{"type":"object"},"relations":{"type":"object"},"where":{"type":"object"},"order":{"type":"object"},"withDeleted":{"type":"boolean"}},"required":["where"]},"CreateSoundshotDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string","description":"Name of the soundshot"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"recordedAt":{"type":"timestamptz","description":"Date when the soundshot was recorded"},"fullUrl":{"type":"string","description":"Full URL to access the soundshot"},"size":{"type":"number","description":"Size of the soundshot file in bytes"},"channels":{"type":"number","description":"Sound channels of the soundshot file"},"rate":{"type":"number","description":"Sound rate of the soundshot file"},"duration":{"type":"number","description":"Duration of the soundshot file in seconds"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"},"uploadedById":{"type":"string","description":"The UUID of the associated Employee"},"userId":{"type":"string","description":"The UUID of the associated User"}},"required":["name","storageProvider"]},"Soundshot":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string","description":"Name of the soundshot"},"fileKey":{"type":"string","description":"Soundshot file path or identifier"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"recordedAt":{"type":"timestamptz","description":"Date when the soundshot was recorded"},"fullUrl":{"type":"string","description":"Full URL to access the soundshot"},"size":{"type":"number","description":"Size of the soundshot file in bytes"},"channels":{"type":"number","description":"Sound channels of the soundshot file"},"rate":{"type":"number","description":"Sound rate of the soundshot file"},"duration":{"type":"number","description":"Duration of the soundshot file in seconds"},"timeSlotId":{"type":"string","description":"The UUID of the associated TimeSlot"},"uploadedById":{"type":"string","description":"The UUID of the associated Employee"},"userId":{"type":"string","description":"The UUID of the associated User"}},"required":["name","storageProvider"]},"AssignPluginUsersDTO":{"type":"object","properties":{"userIds":{"description":"Array of user IDs to assign to the plugin","type":"array","items":{"type":"string"}},"reason":{"type":"string","description":"Optional reason for the assignment"}},"required":["userIds"]},"UnassignPluginUsersDTO":{"type":"object","properties":{"userIds":{"description":"Array of user IDs to unassign from the plugin","type":"array","items":{"type":"string"}},"reason":{"type":"string","description":"Optional reason for the unassignment"}},"required":["userIds"]},"CreatePluginSettingDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID"},"pluginTenantId":{"type":"string","description":"Plugin Tenant ID"},"key":{"type":"string","description":"Setting key"},"value":{"type":"object","description":"Setting value"},"isRequired":{"type":"boolean","description":"Is setting required"},"isEncrypted":{"type":"boolean","description":"Is setting encrypted"},"description":{"type":"string","description":"Setting description"},"order":{"type":"number","description":"Setting order"},"validationRules":{"type":"object","description":"Validation rules"},"dataType":{"type":"string","enum":["string","number","boolean","json","file"],"description":"Data type"},"defaultValue":{"type":"object","description":"Default value"}},"required":["pluginId","key"]},"Plugin_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":false,"description":"Plugin is active or not"},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string","description":"Plugin name"},"description":{"type":"string","description":"Plugin description"},"type":{"type":"string","enum":["DESKTOP","WEB","MOBILE"],"description":"Type of the plugin"},"status":{"type":"string","enum":["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"],"description":"Status of the plugin"},"categoryId":{"type":"string","description":"Plugin category ID"},"category":{"type":"object","description":"Plugin category"},"versions":{"description":"Versions of the plugin","type":"array","items":{"type":"string"}},"author":{"type":"string","description":"Plugin author"},"license":{"type":"string","description":"Plugin license"},"homepage":{"type":"string","description":"Homepage URL"},"repository":{"type":"string","description":"Repository URL"},"uploadedBy":{"description":"User who uploaded the plugin","allOf":[{"$ref":"#/components/schemas/User"}]},"uploadedAt":{"format":"date-time","type":"string","description":"Upload date"},"requiresSubscription":{"type":"boolean","description":"Is subscription plan enabled","default":false},"isFeatured":{"type":"boolean","description":"Whether the plugin is featured","default":false},"isVerified":{"type":"boolean","description":"Whether the plugin is verified by Gauzy","default":false},"lastDownloadedAt":{"format":"date-time","type":"string","description":"Last downloaded date"},"pluginTenants":{"description":"Plugin tenants for this plugin","type":"array","items":{"type":"string"}},"settings":{"description":"Plugin settings","type":"array","items":{"type":"string"}},"subscriptions":{"description":"Plugin subscriptions","type":"array","items":{"type":"string"}},"subscriptionPlans":{"description":"Plugin subscription plans","type":"array","items":{"type":"string"}},"pluginTags":{"description":"Plugin tag relationships","type":"array","items":{"type":"string"}}},"required":["name","type","status","versions","requiresSubscription","isFeatured","isVerified"]},"PluginCategory":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string","description":"Category name"},"description":{"type":"string","description":"Category description"},"slug":{"type":"string","description":"Category slug for URL-friendly identification"},"color":{"type":"string","description":"Category color for UI representation"},"icon":{"type":"string","description":"Category icon identifier"},"order":{"type":"number","description":"Display order for sorting"},"metadata":{"type":"object","description":"Category metadata (JSON object)"},"parentId":{"type":"string","description":"Parent category ID"},"parent":{"description":"Parent category","allOf":[{"$ref":"#/components/schemas/PluginCategory"}]},"children":{"description":"Child categories","type":"array","items":{"$ref":"#/components/schemas/PluginCategory"}},"plugins":{"description":"Plugins in this category","type":"array","items":{"type":"string"}},"settings":{"description":"Default settings for plugins in this category","type":"array","items":{"type":"string"}}},"required":["name","slug","order"]},"PluginSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"key":{"type":"string","description":"Setting key/name"},"value":{"type":"string","description":"Setting value string"},"isRequired":{"type":"boolean","description":"Whether the setting is required"},"isEncrypted":{"type":"boolean","description":"Whether the setting is encrypted/sensitive"},"description":{"type":"string","description":"Setting description/help text"},"order":{"type":"number","description":"Display order for UI"},"validationRules":{"type":"string","description":"Validation rules (JSON string)"},"dataType":{"type":"string","enum":["string","number","boolean","json","file"],"description":"Data type of the setting"},"defaultValue":{"type":"string","description":"Default value for the setting"},"pluginId":{"type":"string","description":"Plugin ID"},"plugin":{"description":"Plugin","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"pluginTenantId":{"type":"string","description":"Plugin tenant ID for tenant-specific settings"},"pluginTenant":{"description":"Plugin tenant","allOf":[{"$ref":"#/components/schemas/PluginTenant_1"}]},"categoryId":{"type":"string","description":"Plugin category ID for default category settings"},"category":{"description":"Plugin category","allOf":[{"$ref":"#/components/schemas/PluginCategory"}]},"updatedBy":{"description":"User who last updated this setting","allOf":[{"$ref":"#/components/schemas/User"}]},"updatedById":{"type":"string","description":"ID of the user who last updated this setting"}},"required":["key","value","isRequired","isEncrypted","dataType","pluginId"]},"PluginSubscription_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"status":{"type":"string","enum":["active","cancelled","expired","trial","past_due","suspended","pending"],"description":"Subscription status"},"scope":{"type":"string","enum":["tenant","organization","user"],"description":"Subscription scope"},"startDate":{"format":"date-time","type":"string","description":"Start date of subscription"},"endDate":{"format":"date-time","type":"string","description":"End date of subscription"},"trialEndDate":{"format":"date-time","type":"string","description":"Trial end date"},"autoRenew":{"type":"boolean","description":"Whether auto-renewal is enabled"},"cancelledAt":{"format":"date-time","type":"string","description":"Cancellation date"},"cancellationReason":{"type":"string","description":"Cancellation reason"},"metadata":{"type":"object","description":"Subscription metadata for additional data"},"externalSubscriptionId":{"type":"string","description":"External subscription ID from payment provider"},"pluginId":{"type":"string","description":"Plugin ID"},"pluginTenantId":{"type":"string","description":"Plugin Tenant ID"},"planId":{"type":"string","description":"Subscription plan ID"},"subscriberId":{"type":"string","description":"Subscriber user ID for user-specific subscriptions"},"parentId":{"type":"string","description":"Parent subscription ID for hierarchical subscriptions"},"parent":{"description":"Parent subscription (for subscriptions created through assignment)","allOf":[{"$ref":"#/components/schemas/PluginSubscription_1"}]},"children":{"description":"Child subscriptions (user subscriptions created through assignment)","type":"array","items":{"$ref":"#/components/schemas/PluginSubscription_1"}},"billings":{"description":"Plugin billings for this subscription","type":"array","items":{"type":"string"}}},"required":["status","scope","startDate","autoRenew","pluginId","pluginTenantId"]},"PluginTenant_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"pluginId":{"type":"string","description":"Plugin ID"},"enabled":{"type":"boolean","description":"Whether the plugin is enabled for this tenant"},"scope":{"type":"string","enum":["tenant","organization","user"],"description":"Scope of the plugin (USER, ORGANIZATION, TENANT)"},"autoInstall":{"type":"boolean","description":"Whether plugin can be installed automatically without user action","default":false},"requiresApproval":{"type":"boolean","description":"Whether plugin requires admin approval before installation","default":true},"isMandatory":{"type":"boolean","description":"Whether plugin is mandatory for all users in scope","default":false},"maxInstallations":{"type":"number","description":"Maximum number of installations allowed (-1 for unlimited, null for no limit)","example":100},"maxActiveUsers":{"type":"number","description":"Maximum number of active users allowed (-1 for unlimited, null for no limit)","example":50},"currentInstallations":{"type":"number","description":"Current number of installations","example":25,"default":0},"currentActiveUsers":{"type":"number","description":"Current number of active users","example":15,"default":0},"tenantConfiguration":{"type":"object","description":"Tenant-specific plugin configuration overrides","example":{"branding":{"logo":"tenant-logo.png","theme":"blue"},"features":{"advancedReporting":true},"limits":{"dailyUsage":1000}}},"preferences":{"type":"object","description":"Plugin preferences and UI customizations for this tenant","example":{"defaultSettings":{"autoSave":true,"notifications":false},"uiCustomizations":{"hideAdvancedOptions":true}}},"approvedAt":{"format":"date-time","type":"string","description":"Timestamp when the plugin was approved for this tenant"},"isDataCompliant":{"type":"boolean","description":"Whether plugin data handling complies with tenant data policies","default":true},"complianceCertifications":{"description":"List of compliance certifications applicable to this tenant","example":["SOC2","GDPR","HIPAA"],"type":"array","items":{"type":"string"}},"approvedById":{"type":"string","description":"ID of the user who approved the plugin"},"plugin":{"description":"The plugin this configuration applies to","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"approvedBy":{"description":"User who approved the plugin for this tenant","allOf":[{"$ref":"#/components/schemas/User"}]},"settings":{"description":"Plugin settings specific to this tenant","type":"array","items":{"$ref":"#/components/schemas/PluginSetting"}},"subscriptions":{"description":"Active subscriptions for this plugin tenant","type":"array","items":{"$ref":"#/components/schemas/PluginSubscription_1"}},"allowedRoles":{"description":"Roles explicitly allowed to access this plugin","type":"array","items":{"$ref":"#/components/schemas/Role"}},"allowedUsers":{"description":"Users explicitly allowed to access this plugin","type":"array","items":{"$ref":"#/components/schemas/User"}},"deniedUsers":{"description":"Users explicitly denied access to this plugin","type":"array","items":{"$ref":"#/components/schemas/User"}}},"required":["pluginId","enabled","scope","plugin"]},"BulkUpdatePluginSettingsDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID"},"pluginTenantId":{"type":"string","description":"Plugin Tenant ID"},"settings":{"description":"Array of setting updates","example":[{"key":"api_key","value":"new_value"}],"type":"array","items":{"type":"string"}}},"required":["pluginId","settings"]},"PurchasePluginSubscriptionDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID"},"planId":{"type":"string","description":"Plan ID"},"scope":{"type":"string","enum":["tenant","organization","user"],"description":"Subscription scope"},"autoRenew":{"type":"boolean","description":"Auto-renewal enabled"},"paymentMethod":{"type":"string","description":"Payment method"},"promoCode":{"type":"string","description":"Promo code"},"metadata":{"type":"object","description":"Additional metadata"}},"required":["pluginId","scope","autoRenew"]},"UpdatePluginSubscriptionDTO":{"type":"object","properties":{"status":{"type":"string","enum":["active","cancelled","expired","trial","past_due","suspended","pending"],"description":"Subscription status"},"startDate":{"type":"string","description":"Subscription start date"},"endDate":{"type":"string","description":"Subscription end date"},"trialEndDate":{"type":"string","description":"Trial end date"},"autoRenew":{"type":"boolean","description":"Auto-renewal enabled"},"metadata":{"type":"object","description":"Subscription metadata"}}},"PluginSubscriptionAccessResponseDTO":{"type":"object","properties":{"hasAccess":{"type":"boolean","description":"Whether the user has access to the plugin"},"accessLevel":{"type":"string","description":"Access level/scope"},"canAssign":{"type":"boolean","description":"Whether the user can assign this plugin to others"},"requiresSubscription":{"type":"boolean","description":"Whether the plugin requires a subscription"},"canActivate":{"type":"boolean","description":"Whether the user can activate the plugin"},"subscription":{"type":"object","description":"Subscription details if available"}},"required":["hasAccess","canAssign","requiresSubscription","canActivate"]},"CheckPluginSubscriptionAccessDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID to check access for"},"userId":{"type":"string","description":"User ID to check access for"}},"required":["pluginId"]},"AssignPluginSubscriptionDTO":{"type":"object","properties":{"userIds":{"description":"Array of user IDs to assign the plugin subscription to","type":"array","items":{"type":"string"}},"reason":{"type":"string","description":"Optional reason for the assignment"}},"required":["userIds"]},"RevokePluginSubscriptionAssignmentDTO":{"type":"object","properties":{"userIds":{"description":"Array of user IDs to revoke plugin subscription from","type":"array","items":{"type":"string"}},"revocationReason":{"type":"string","description":"Optional reason for the revocation"}},"required":["userIds"]},"CreatePluginSubscriptionPlanDTO":{"type":"object","properties":{"price":{"type":"number","description":"Plan price"},"isPopular":{"type":"boolean","description":"Whether this plan is marked as popular"},"isRecommended":{"type":"boolean","description":"Whether this plan is recommended"},"trialDays":{"type":"number","description":"Trial period duration in days"},"setupFee":{"type":"number","description":"Setup fee for the plan"},"discountPercentage":{"type":"number","description":"Discount percentage for the plan"},"name":{"type":"string","description":"Plan name"},"description":{"type":"string","description":"Plan description"},"type":{"type":"string","enum":["free","trial","basic","premium","enterprise","custom"],"description":"Plan type"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"description":"Plan currency"},"billingPeriod":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly","one-time"],"description":"Billing period"},"features":{"description":"Plan features","type":"array","items":{"type":"string"}},"limitations":{"type":"object","description":"Plan limitations"},"isActive":{"type":"boolean","description":"Is plan active"},"metadata":{"type":"object","description":"Plan metadata"},"sortOrder":{"type":"number","description":"Sort order"},"pluginId":{"type":"string","description":"Plugin ID"}},"required":["price","name","type","currency","billingPeriod","features"]},"PluginSubscriptionPlan_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true,"description":"Whether the plan is active and available for purchase"},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string","description":"Plan name"},"description":{"type":"string","description":"Plan description"},"type":{"type":"string","enum":["free","trial","basic","premium","enterprise","custom"],"description":"Subscription type/plan level"},"price":{"type":"number","description":"Plan price"},"currency":{"type":"string","description":"Currency code (e.g., USD, EUR)"},"billingPeriod":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly","one-time"],"description":"Billing period"},"features":{"description":"Plan features list","type":"array","items":{"type":"string"}},"limitations":{"type":"object","description":"Plan limitations and quotas"},"isPopular":{"type":"boolean","description":"Whether this plan is marked as popular"},"isRecommended":{"type":"boolean","description":"Whether this plan is recommended"},"trialDays":{"type":"number","description":"Trial period duration in days"},"setupFee":{"type":"number","description":"Setup fee for the plan"},"discountPercentage":{"type":"number","description":"Discount percentage for the plan"},"metadata":{"type":"string","description":"Plan metadata (JSON string)"},"sortOrder":{"type":"number","description":"Sort order for displaying plans"},"pluginId":{"type":"string","description":"Plugin ID"},"createdById":{"type":"string","description":"User who created this plan"},"subscriptions":{"description":"Subscriptions using this plan","type":"array","items":{"type":"string"}}},"required":["name","type","price","currency","billingPeriod","features","pluginId"]},"CreateMultiplePluginPlansDTO":{"type":"object","properties":{"plans":{"description":"Array of plugin subscription plans to create","type":"array","items":{"$ref":"#/components/schemas/CreatePluginSubscriptionPlanDTO"}}},"required":["plans"]},"UpdatePluginSubscriptionPlanDTO":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the plugin","example":"123e4567-e89b-12d3-a456-426614174000"},"price":{"type":"number","description":"Plan price"},"isPopular":{"type":"boolean","description":"Whether this plan is marked as popular"},"isRecommended":{"type":"boolean","description":"Whether this plan is recommended"},"trialDays":{"type":"number","description":"Trial period duration in days"},"setupFee":{"type":"number","description":"Setup fee for the plan"},"discountPercentage":{"type":"number","description":"Discount percentage for the plan"},"name":{"type":"string","description":"Plan name"},"description":{"type":"string","description":"Plan description"},"type":{"type":"string","enum":["free","trial","basic","premium","enterprise","custom"],"description":"Plan type"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"description":"Plan currency"},"billingPeriod":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly","one-time"],"description":"Billing period"},"features":{"description":"Plan features","type":"array","items":{"type":"string"}},"limitations":{"type":"object","description":"Plan limitations"},"isActive":{"type":"boolean","description":"Is plan active"},"metadata":{"type":"object","description":"Plan metadata"},"sortOrder":{"type":"number","description":"Sort order"}},"required":["id"]},"CopyPluginPlanDTO":{"type":"object","properties":{"sourcePlanId":{"type":"string","description":"Source plan ID to copy from"},"newName":{"type":"string","description":"New plan name"},"newDescription":{"type":"string","description":"New plan description"},"newPrice":{"type":"number","description":"New plan price"}},"required":["sourcePlanId","newName"]},"BulkPluginPlanOperationDTO":{"type":"object","properties":{"planIds":{"description":"Plan IDs to operate on","type":"array","items":{"type":"string"}},"operation":{"type":"string","description":"Operation type","enum":["activate","deactivate","delete"]}},"required":["planIds","operation"]},"PluginPlanAnalyticsDTO":{"type":"object","properties":{"planId":{"type":"string","description":"Plan ID"},"dateFrom":{"type":"string","description":"Date range start (ISO string)"},"dateTo":{"type":"string","description":"Date range end (ISO string)"},"metrics":{"description":"Metrics to include","type":"array","items":{"type":"string"}}},"required":["planId"]},"CreatePluginBillingDTO":{"type":"object","properties":{"subscriptionId":{"type":"string","description":"Associated subscription ID","example":"uuid-string"},"amount":{"type":"number","description":"Billing amount","example":99.99,"minimum":0},"currency":{"type":"string","description":"Currency code","example":"USD","default":"USD"},"billingDate":{"format":"date-time","type":"string","description":"Billing date","example":"2025-01-01T00:00:00Z"},"dueDate":{"format":"date-time","type":"string","description":"Due date for payment","example":"2025-01-15T00:00:00Z"},"paymentDueDate":{"format":"date-time","type":"string","description":"Payment due date","example":"2025-01-30T00:00:00Z"},"status":{"type":"string","enum":["pending","processed","paid","overdue","failed","cancelled","refunded","partially_paid"],"description":"Billing status","default":"pending"},"billingPeriod":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly","one-time"],"description":"Billing period","example":"monthly"},"billingPeriodStart":{"format":"date-time","type":"string","description":"Billing period start date","example":"2025-01-01T00:00:00Z"},"billingPeriodEnd":{"format":"date-time","type":"string","description":"Billing period end date","example":"2025-01-31T23:59:59Z"},"invoiceNumber":{"type":"string","description":"Invoice number","example":"INV-202501-0001"},"invoiceUrl":{"type":"string","description":"Invoice URL","example":"https://example.com/invoices/inv-123"},"taxAmount":{"type":"number","description":"Tax amount","example":9.99,"minimum":0},"taxRate":{"type":"number","description":"Tax rate (as decimal)","example":0.1,"minimum":0,"maximum":1},"discountAmount":{"type":"number","description":"Discount amount","example":5,"minimum":0},"discountCode":{"type":"string","description":"Discount code","example":"SAVE10"},"description":{"type":"string","description":"Billing description/notes","example":"Monthly subscription fee for Premium plan"},"paymentReference":{"type":"string","description":"Payment reference","example":"PAY_12345"},"metadata":{"type":"object","description":"Billing metadata","example":{"source":"automated","campaign":"summer2025"}},"tenantId":{"type":"string","description":"Tenant ID","example":"uuid-string"},"organizationId":{"type":"string","description":"Organization ID","example":"uuid-string"}},"required":["subscriptionId","amount","currency","billingDate","dueDate","status","billingPeriod","billingPeriodStart","billingPeriodEnd","tenantId"]},"UpdatePluginBillingDTO":{"type":"object","properties":{"amount":{"type":"number","description":"Billing amount","example":99.99,"minimum":0},"currency":{"type":"string","description":"Currency code","example":"USD"},"billingDate":{"format":"date-time","type":"string","description":"Billing date","example":"2025-01-01T00:00:00Z"},"dueDate":{"format":"date-time","type":"string","description":"Due date for payment","example":"2025-01-15T00:00:00Z"},"paymentDueDate":{"format":"date-time","type":"string","description":"Payment due date","example":"2025-01-30T00:00:00Z"},"status":{"type":"string","enum":["pending","processed","paid","overdue","failed","cancelled","refunded","partially_paid"],"description":"Billing status"},"billingPeriodStart":{"format":"date-time","type":"string","description":"Billing period start date","example":"2025-01-01T00:00:00Z"},"billingPeriodEnd":{"format":"date-time","type":"string","description":"Billing period end date","example":"2025-01-31T23:59:59Z"},"invoiceNumber":{"type":"string","description":"Invoice number","example":"INV-202501-0001"},"invoiceUrl":{"type":"string","description":"Invoice URL","example":"https://example.com/invoices/inv-123"},"taxAmount":{"type":"number","description":"Tax amount","example":9.99,"minimum":0},"taxRate":{"type":"number","description":"Tax rate (as decimal)","example":0.1,"minimum":0,"maximum":1},"discountAmount":{"type":"number","description":"Discount amount","example":5,"minimum":0},"discountCode":{"type":"string","description":"Discount code","example":"SAVE10"},"description":{"type":"string","description":"Billing description/notes","example":"Monthly subscription fee for Premium plan"},"paymentReference":{"type":"string","description":"Payment reference","example":"PAY_12345"},"metadata":{"type":"object","description":"Billing metadata","example":{"source":"automated","campaign":"summer2025"}}}},"PluginTag":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"plugin":{"description":"The plugin associated with this tag relationship","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"pluginId":{"type":"string","description":"ID reference to the plugin","format":"uuid"},"tag":{"description":"The tag associated with this plugin relationship","allOf":[{"$ref":"#/components/schemas/Tag"}]},"tagId":{"type":"string","description":"ID reference to the tag","format":"uuid"},"appliedAt":{"format":"date-time","type":"string","description":"Date when the tag was applied to the plugin"},"appliedById":{"type":"string","description":"ID of the user who applied the tag","format":"uuid"},"priority":{"type":"number","description":"Priority or weight of this tag association (higher values = higher priority)","minimum":0,"maximum":100,"default":50},"isFeatured":{"type":"boolean","description":"Whether this tag association is featured","default":false}},"required":["plugin","pluginId","tag","tagId"]},"ReplacePluginTagsDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"tagIds":{"description":"New array of tag IDs to associate with the plugin (replaces all existing tags)","example":["tag123-456-789","tag987-654-321"],"type":"array","items":{"type":"string"}}},"required":["tagIds"]},"InstallPluginDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Unique identifier of the plugin","example":"550e8400-e29b-41d4-a716-446655440000"},"versionId":{"type":"string","description":"Unique identifier of the version to install","example":"550e8400-e29b-41d4-a716-446655440000"}},"required":["pluginId","versionId"]},"PluginSource_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"type":{"type":"string","enum":["CDN","NPM","GAUZY"],"description":"Type of the plugin source"},"operatingSystem":{"type":"string","enum":["LINUX","MAC","WINDOWS","UNIVERSAL"],"description":"Plugin Os type source"},"architecture":{"type":"string","enum":["X64","ARM"],"description":"Plugin Os type source architecture"},"url":{"type":"string","description":"URL of the plugin source (CDN)"},"integrity":{"type":"string","description":"Integrity hash for the CDN source"},"crossOrigin":{"type":"string","description":"Cross-origin policy for the CDN source"},"name":{"type":"string","description":"NPM package name"},"registry":{"type":"string","description":"NPM registry URL"},"private":{"type":"boolean","description":"Indicates if the package is private (requires NPM authentication token for access).","default":false},"scope":{"type":"string","description":"NPM scope (if applicable)"},"filePath":{"type":"string","description":"File path for uploaded plugin"},"fileName":{"type":"string","description":"File name of the uploaded plugin"},"fileSize":{"type":"number","description":"File size of the uploaded plugin (in bytes)"},"mimeType":{"type":"string","description":"MIME type of the uploaded plugin file"},"fileKey":{"type":"string","description":"Plugin file identifier"},"version":{"description":"Associated plugin version","allOf":[{"$ref":"#/components/schemas/PluginVersion_1"}]},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]}},"required":["type","operatingSystem","architecture","url","integrity","crossOrigin","name","registry","scope","filePath","fileName","fileSize","mimeType","fileKey","version"]},"PluginInstallation_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"plugin":{"description":"Installed the plugin","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"version":{"description":"Installed version of the plugin","allOf":[{"$ref":"#/components/schemas/PluginVersion_1"}]},"installedBy":{"description":"Employee who installed the plugin","allOf":[{"$ref":"#/components/schemas/Employee"}]},"installedAt":{"type":"string","description":"Installed date"},"uninstalledAt":{"type":"string","description":"Uninstalled date"},"status":{"type":"string","enum":["INSTALLED","UNINSTALLED","FAILED","IN_PROGRESS"],"description":"Plugin installation status"},"isActivated":{"type":"boolean","description":"Whether this installation is currently activated","default":false},"activatedAt":{"format":"date-time","type":"string","description":"When this installation was last activated"},"deactivatedAt":{"format":"date-time","type":"string","description":"When this installation was last deactivated"}},"required":["plugin","version","status"]},"PluginVersion_1":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"number":{"type":"string","description":"Version following SemVer (MAJOR.MINOR.PATCH[-prerelease][+build])"},"changelog":{"type":"string","description":"Change Log of the plugin version"},"checksum":{"type":"string","description":"Verification hash of the plugin version"},"signature":{"type":"string","description":"Digital signature for authenticity verification"},"releaseDate":{"type":"string","description":"Date when the release was recorded"},"downloadCount":{"type":"number","description":"Download count"},"plugin":{"description":"Plugin associated with the version","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"sources":{"description":"Sources of the plugin version","type":"array","items":{"$ref":"#/components/schemas/PluginSource_1"}},"installations":{"description":"Related installations to plugin version","type":"array","items":{"$ref":"#/components/schemas/PluginInstallation_1"}}},"required":["number","changelog","checksum","signature","downloadCount","plugin"]},"PluginSourceDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"type":{"type":"string","enum":["CDN","NPM","GAUZY"],"description":"Type of the plugin source"},"operatingSystem":{"type":"string","enum":["LINUX","MAC","WINDOWS","UNIVERSAL"],"description":"Plugin Os type source"},"architecture":{"type":"string","enum":["X64","ARM"],"description":"Plugin Os type source architecture"},"url":{"type":"string","description":"URL of the plugin source (CDN)"},"integrity":{"type":"string","description":"Integrity hash for the CDN source"},"crossOrigin":{"type":"string","description":"Cross-origin policy for the CDN source"},"name":{"type":"string","description":"NPM package name"},"registry":{"type":"string","description":"NPM registry URL"},"private":{"type":"boolean","description":"Indicates if the package is private (requires NPM authentication token for access).","default":false},"scope":{"type":"string","description":"NPM scope (if applicable)"},"filePath":{"type":"string","description":"File path for uploaded plugin"},"fileName":{"type":"string","description":"File name of the uploaded plugin"},"fileSize":{"type":"number","description":"File size of the uploaded plugin (in bytes)"},"mimeType":{"type":"string","description":"MIME type of the uploaded plugin file"},"fileKey":{"type":"string","description":"Plugin file identifier"},"version":{"description":"Associated plugin version","allOf":[{"$ref":"#/components/schemas/PluginVersion_1"}]},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]}},"required":["type","operatingSystem","architecture","url","integrity","crossOrigin","name","registry","scope","filePath","fileName","fileSize","mimeType","fileKey","version"]},"CreatePluginSourceDTO":{"type":"object","properties":{"sources":{"description":"Array of plugin sources","examples":[{"name":"source1","operatingSystem":"UNIVERSAL","architecture":"X64","url":"https://example.com/plugin1","type":"CDN"},{"name":"@scope/plugin2","operatingSystem":"MAC","architecture":"ARM","scope":"@scope","registry":"https://registry.npmjs.org/","private":true,"type":"NPM"}],"type":"array","items":{"$ref":"#/components/schemas/PluginSourceDTO"}}},"required":["sources"]},"PluginVersionDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"number":{"type":"string","description":"Version following SemVer (MAJOR.MINOR.PATCH[-prerelease][+build])"},"changelog":{"type":"string","description":"Change Log of the plugin version"},"checksum":{"type":"string","description":"Verification hash of the plugin version"},"signature":{"type":"string","description":"Digital signature for authenticity verification"},"releaseDate":{"type":"string","description":"Date when the release was recorded"},"plugin":{"description":"Plugin associated with the version","allOf":[{"$ref":"#/components/schemas/Plugin_1"}]},"installations":{"description":"Related installations to plugin version","type":"array","items":{"$ref":"#/components/schemas/PluginInstallation_1"}}},"required":["number","changelog","checksum","signature","plugin"]},"UpdatePluginSourceDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"type":{"type":"string","enum":["CDN","NPM","GAUZY"],"description":"Type of the plugin source"},"operatingSystem":{"type":"string","enum":["LINUX","MAC","WINDOWS","UNIVERSAL"],"description":"Plugin Os type source"},"architecture":{"type":"string","enum":["X64","ARM"],"description":"Plugin Os type source architecture"},"url":{"type":"string","description":"URL of the plugin source (CDN)"},"integrity":{"type":"string","description":"Integrity hash for the CDN source"},"crossOrigin":{"type":"string","description":"Cross-origin policy for the CDN source"},"name":{"type":"string","description":"NPM package name"},"registry":{"type":"string","description":"NPM registry URL"},"private":{"type":"boolean","description":"Indicates if the package is private (requires NPM authentication token for access).","default":false},"scope":{"type":"string","description":"NPM scope (if applicable)"},"filePath":{"type":"string","description":"File path for uploaded plugin"},"fileName":{"type":"string","description":"File name of the uploaded plugin"},"fileSize":{"type":"number","description":"File size of the uploaded plugin (in bytes)"},"mimeType":{"type":"string","description":"MIME type of the uploaded plugin file"},"fileKey":{"type":"string","description":"Plugin file identifier"},"storageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]},"id":{"type":"string","description":"Unique identifier for the plugin source","example":"123e4567-e89b-12d3-a456-426614174000"}},"required":["id"]},"UpdatePluginVersionDTO":{"type":"object","properties":{"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"number":{"type":"string","description":"Version following SemVer (MAJOR.MINOR.PATCH[-prerelease][+build])"},"changelog":{"type":"string","description":"Change Log of the plugin version"},"checksum":{"type":"string","description":"Verification hash of the plugin version"},"signature":{"type":"string","description":"Digital signature for authenticity verification"},"releaseDate":{"type":"string","description":"Date when the release was recorded"},"installations":{"description":"Related installations to plugin version","type":"array","items":{"$ref":"#/components/schemas/PluginInstallation_1"}},"id":{"type":"string","description":"Unique identifier for the plugin version","example":"123e4567-e89b-12d3-a456-426614174000"},"sources":{"description":"Updated source details for the plugin version","type":"array","items":{"$ref":"#/components/schemas/UpdatePluginSourceDTO"}}},"required":["id"]},"CreatePluginDTO":{"type":"object","properties":{"name":{"type":"string","description":"Plugin name"},"description":{"type":"string","description":"Plugin description"},"type":{"type":"string","enum":["DESKTOP","WEB","MOBILE"],"description":"Type of the plugin"},"status":{"type":"string","enum":["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"],"description":"Status of the plugin"},"isActive":{"type":"boolean","description":"Plugin is active or not","default":false},"categoryId":{"type":"string","description":"Plugin category ID"},"author":{"type":"string","description":"Plugin author"},"license":{"type":"string","description":"Plugin license"},"homepage":{"type":"string","description":"Homepage URL"},"repository":{"type":"string","description":"Repository URL"},"tags":{"description":"Plugin tags","type":"array","items":{"type":"string"}},"requiresSubscription":{"type":"boolean","description":"Whether plugin requires subscription","default":false},"uploadedById":{"type":"string","description":"ID of user who uploaded the plugin"},"subscriptionPlans":{"description":"Subscription plans for the plugin","type":"array","items":{"type":"string"}}},"required":["name","type","status"]},"UpdatePluginDTO":{"type":"object","properties":{"name":{"type":"string","description":"Plugin name"},"description":{"type":"string","description":"Plugin description"},"type":{"type":"string","enum":["DESKTOP","WEB","MOBILE"],"description":"Type of the plugin"},"status":{"type":"string","enum":["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"],"description":"Status of the plugin"},"isActive":{"type":"boolean","description":"Plugin is active or not","default":false},"categoryId":{"type":"string","description":"Plugin category ID"},"author":{"type":"string","description":"Author"},"license":{"type":"string","description":"License"},"homepage":{"type":"string","description":"Homepage URL"},"repository":{"type":"string","description":"Repository URL"},"tags":{"description":"Plugin tags","type":"array","items":{"type":"string"}},"requiresSubscription":{"type":"boolean","description":"Is subscription plan enabled","default":false},"uploadedById":{"type":"string","description":"ID of user who uploaded the plugin"},"id":{"type":"string","description":"Unique identifier for the plugin","example":"123e4567-e89b-12d3-a456-426614174000"},"version":{"description":"Updated version details for the plugin","allOf":[{"$ref":"#/components/schemas/UpdatePluginVersionDTO"}]},"subscriptionPlans":{"description":"Subscription plans to create or update. Plans with an id will be updated, plans without an id will be created","type":"array","items":{"$ref":"#/components/schemas/UpdatePluginSubscriptionPlanDTO"}}},"required":["id"]},"VerifyPluginDTO":{"type":"object","properties":{"versionId":{"type":"string","description":"Unique identifier for the plugin version","example":"123e4567-e89b-12d3-a456-426614174000"},"signature":{"type":"string","description":"Digital signature for verifying the plugin","example":"a1b2c3d4e5f6..."}},"required":["versionId","signature"]},"CreatePluginTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"pluginId":{"type":"string","description":"Plugin ID to associate with the tag","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"tagId":{"type":"string","description":"Tag ID to associate with the plugin","format":"uuid","example":"987fcdeb-51a2-43d1-9f4e-123456789abc"}},"required":["pluginId","tagId"]},"UpdatePluginTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"pluginId":{"type":"string","description":"Plugin ID to associate with the tag","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"tagId":{"type":"string","description":"Tag ID to associate with the plugin","format":"uuid","example":"987fcdeb-51a2-43d1-9f4e-123456789abc"},"priority":{"type":"number","description":"Priority or weight of this tag association","minimum":0,"maximum":100,"example":75},"isFeatured":{"type":"boolean","description":"Whether this tag association is featured","example":false}}},"BulkCreatePluginTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"pluginId":{"type":"string","description":"Plugin ID to associate with multiple tags","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"tagIds":{"description":"Array of tag IDs to associate with the plugin","example":["456e7890-f12b-34c5-d678-901234567def","abc12345-6789-def0-1234-56789abcdef0"],"type":"array","items":{"type":"string"}}},"required":["pluginId","tagIds"]},"BulkDeletePluginTagDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"pluginId":{"type":"string","description":"Plugin ID to remove tags from","format":"uuid"},"tagId":{"type":"string","description":"Tag ID to remove from plugins","format":"uuid"},"ids":{"description":"Specific plugin-tag relationship IDs to delete","example":["rel123-456-789","rel987-654-321"],"type":"array","items":{"type":"string"}},"tagIds":{"description":"Tag IDs to disassociate from a plugin","example":["tag123-456-789","tag987-654-321"],"type":"array","items":{"type":"string"}}}},"CreatePluginCategoryDTO":{"type":"object","properties":{"name":{"type":"string","description":"Category name","example":"Authentication","minLength":2,"maxLength":100},"description":{"type":"string","description":"Category description","example":"Plugins for authentication and authorization","maxLength":500},"slug":{"type":"string","description":"Category slug for URL-friendly identification","example":"authentication","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"color":{"type":"string","description":"Category color for UI representation","example":"#007bff","pattern":"^#[0-9a-fA-F]{6}$"},"icon":{"type":"string","description":"Category icon identifier","example":"fas fa-shield-alt","maxLength":50},"order":{"type":"number","description":"Display order for sorting","example":1,"minimum":0,"maximum":9999},"isActive":{"type":"boolean","description":"Whether the category is active","example":true,"default":true},"parentId":{"type":"string","description":"Parent category ID for hierarchical structure","example":"uuid-string"}},"required":["name","slug"]},"UpdatePluginCategoryDTO":{"type":"object","properties":{"name":{"type":"string","description":"Category name","example":"Authentication","minLength":2,"maxLength":100},"description":{"type":"string","description":"Category description","example":"Plugins for authentication and authorization","maxLength":500},"slug":{"type":"string","description":"Category slug for URL-friendly identification","example":"authentication","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"color":{"type":"string","description":"Category color for UI representation","example":"#007bff","pattern":"^#[0-9a-fA-F]{6}$"},"icon":{"type":"string","description":"Category icon identifier","example":"fas fa-shield-alt","maxLength":50},"order":{"type":"number","description":"Display order for sorting","example":1,"minimum":0,"maximum":9999},"isActive":{"type":"boolean","description":"Whether the category is active","example":true},"parentId":{"type":"string","description":"Parent category ID for hierarchical structure","example":"uuid-string"}}},"CreatePluginTenantDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID"},"enabled":{"type":"boolean","description":"Whether the plugin is enabled for this tenant","default":true},"scope":{"type":"string","enum":["tenant","organization","user"],"description":"Scope of the plugin (USER, ORGANIZATION, TENANT)"},"tenantId":{"type":"string","description":"Tenant ID"},"organizationId":{"type":"string","description":"Organization ID"},"autoInstall":{"type":"boolean","description":"Whether plugin can be installed automatically without user action","default":false},"requiresApproval":{"type":"boolean","description":"Whether plugin requires admin approval before installation","default":true},"isMandatory":{"type":"boolean","description":"Whether plugin is mandatory for all users in scope","default":false},"maxInstallations":{"type":"number","description":"Maximum number of installations allowed (-1 for unlimited, null for no limit)","example":100},"maxActiveUsers":{"type":"number","description":"Maximum number of active users allowed (-1 for unlimited, null for no limit)","example":50},"tenantConfiguration":{"type":"object","description":"Tenant-specific plugin configuration overrides","example":{"branding":{"logo":"tenant-logo.png","theme":"blue"},"features":{"advancedReporting":true},"limits":{"dailyUsage":1000}}},"preferences":{"type":"object","description":"Plugin preferences and UI customizations for this tenant","example":{"defaultSettings":{"autoSave":true,"notifications":false},"uiCustomizations":{"hideAdvancedOptions":true}}},"isDataCompliant":{"type":"boolean","description":"Whether plugin data handling complies with tenant data policies","default":true},"complianceCertifications":{"description":"List of compliance certifications applicable to this tenant","example":["SOC2","GDPR","HIPAA"],"type":"array","items":{"type":"string"}},"allowedRoleIds":{"description":"Array of role IDs explicitly allowed to access this plugin","type":"array","items":{"type":"string"}},"allowedUserIds":{"description":"Array of user IDs explicitly allowed to access this plugin","type":"array","items":{"type":"string"}},"deniedUserIds":{"description":"Array of user IDs explicitly denied access to this plugin","type":"array","items":{"type":"string"}},"allowedRoles":{"description":"Array of roles explicitly allowed to access this plugin","type":"array","items":{"type":"object"}},"allowedUsers":{"description":"Array of users explicitly allowed to access this plugin","type":"array","items":{"type":"object"}},"deniedUsers":{"description":"Array of users explicitly denied access to this plugin","type":"array","items":{"type":"object"}}},"required":["pluginId","enabled","scope"]},"ManagePluginTenantUsersDTO":{"type":"object","properties":{"userIds":{"description":"Array of user IDs to manage","type":"array","items":{"type":"string"}},"operation":{"type":"string","enum":["allow","deny","remove-allowed","remove-denied","unassign"],"description":"Operation to perform: allow, deny, remove-allowed, remove-denied"},"reason":{"type":"string","description":"Optional reason for the operation"}},"required":["userIds","operation"]},"UpdatePluginTenantDTO":{"type":"object","properties":{"pluginId":{"type":"string","description":"Plugin ID"},"enabled":{"type":"boolean","description":"Whether the plugin is enabled for this tenant","default":true},"scope":{"type":"string","enum":["tenant","organization","user"],"description":"Scope of the plugin (USER, ORGANIZATION, TENANT)"},"tenantId":{"type":"string","description":"Tenant ID"},"organizationId":{"type":"string","description":"Organization ID"},"autoInstall":{"type":"boolean","description":"Whether plugin can be installed automatically without user action","default":false},"requiresApproval":{"type":"boolean","description":"Whether plugin requires admin approval before installation","default":true},"isMandatory":{"type":"boolean","description":"Whether plugin is mandatory for all users in scope","default":false},"maxInstallations":{"type":"number","description":"Maximum number of installations allowed (-1 for unlimited, null for no limit)","example":100},"maxActiveUsers":{"type":"number","description":"Maximum number of active users allowed (-1 for unlimited, null for no limit)","example":50},"tenantConfiguration":{"type":"object","description":"Tenant-specific plugin configuration overrides","example":{"branding":{"logo":"tenant-logo.png","theme":"blue"},"features":{"advancedReporting":true},"limits":{"dailyUsage":1000}}},"preferences":{"type":"object","description":"Plugin preferences and UI customizations for this tenant","example":{"defaultSettings":{"autoSave":true,"notifications":false},"uiCustomizations":{"hideAdvancedOptions":true}}},"isDataCompliant":{"type":"boolean","description":"Whether plugin data handling complies with tenant data policies","default":true},"complianceCertifications":{"description":"List of compliance certifications applicable to this tenant","example":["SOC2","GDPR","HIPAA"],"type":"array","items":{"type":"string"}},"allowedRoleIds":{"description":"Array of role IDs explicitly allowed to access this plugin","type":"array","items":{"type":"string"}},"allowedUserIds":{"description":"Array of user IDs explicitly allowed to access this plugin","type":"array","items":{"type":"string"}},"deniedUserIds":{"description":"Array of user IDs explicitly denied access to this plugin","type":"array","items":{"type":"string"}},"allowedRoles":{"description":"Array of roles explicitly allowed to access this plugin","type":"array","items":{"type":"object"}},"allowedUsers":{"description":"Array of users explicitly allowed to access this plugin","type":"array","items":{"type":"object"}},"deniedUsers":{"description":"Array of users explicitly denied access to this plugin","type":"array","items":{"type":"object"}}}},"PluginTenantConfigurationDTO":{"type":"object","properties":{"pluginTenantId":{"type":"string","description":"Plugin tenant ID"},"configuration":{"type":"object","description":"Configuration to merge/set"},"preferences":{"type":"object","description":"Preferences to merge/set"}},"required":["pluginTenantId"]},"PluginTenantApprovalDTO":{"type":"object","properties":{"pluginTenantId":{"type":"string","description":"Plugin tenant ID to approve/reject"},"approved":{"type":"boolean","description":"Whether to approve (true) or reject (false) the plugin"},"notes":{"type":"string","description":"Notes or comments for the approval/rejection"},"enableImmediately":{"type":"boolean","description":"Whether to enable the plugin immediately upon approval","default":false}},"required":["pluginTenantId","approved"]},"PluginTenantBulkOperationDTO":{"type":"object","properties":{"pluginTenantIds":{"description":"Array of plugin tenant IDs to operate on","type":"array","items":{"type":"string"}},"operation":{"type":"string","enum":["enable","disable","approve","revoke","delete"],"description":"Operation to perform"},"data":{"type":"object","description":"Additional data for the operation"},"notes":{"type":"string","description":"Notes or comments for the operation"}},"required":["pluginTenantIds","operation"]},"CreateTenantSettingDTO":{"type":"object","properties":{"wasabi_aws_access_key_id":{"type":"string"},"wasabi_aws_secret_access_key":{"type":"string"},"wasabi_aws_bucket":{"type":"string"},"wasabi_aws_default_region":{"type":"string"},"wasabi_aws_service_url":{"type":"string"},"wasabi_aws_force_path_style":{"type":"boolean"},"digitalocean_access_key_id":{"type":"string"},"digitalocean_secret_access_key":{"type":"string"},"digitalocean_s3_bucket":{"type":"string"},"digitalocean_service_url":{"type":"string"},"digitalocean_cdn_url":{"type":"string"},"digitalocean_default_region":{"type":"string"},"digitalocean_s3_force_path_style":{"type":"boolean"},"aws_access_key_id":{"type":"string"},"aws_secret_access_key":{"type":"string"},"aws_default_region":{"type":"string"},"aws_bucket":{"type":"string"},"aws_force_path_style":{"type":"boolean"},"cloudinary_cloud_name":{"type":"string"},"cloudinary_api_key":{"type":"string"},"cloudinary_api_secret":{"type":"string"},"cloudinary_api_secure":{"type":"string"},"fileStorageProvider":{"type":"string","enum":["LOCAL","S3","WASABI","CLOUDINARY","DIGITALOCEAN"]}},"required":["wasabi_aws_access_key_id","wasabi_aws_secret_access_key","wasabi_aws_bucket","wasabi_aws_default_region","wasabi_aws_service_url","digitalocean_access_key_id","digitalocean_secret_access_key","digitalocean_s3_bucket","digitalocean_service_url","digitalocean_cdn_url","aws_access_key_id","aws_secret_access_key","aws_default_region","aws_bucket","aws_force_path_style","cloudinary_cloud_name","cloudinary_api_key","cloudinary_api_secret","cloudinary_api_secure","fileStorageProvider"]},"WasabiS3ProviderConfigDTO":{"type":"object","properties":{"wasabi_aws_access_key_id":{"type":"string"},"wasabi_aws_secret_access_key":{"type":"string"},"wasabi_aws_bucket":{"type":"string"},"wasabi_aws_default_region":{"type":"string"},"wasabi_aws_service_url":{"type":"string"},"wasabi_aws_force_path_style":{"type":"boolean"}},"required":["wasabi_aws_access_key_id","wasabi_aws_secret_access_key","wasabi_aws_bucket","wasabi_aws_default_region","wasabi_aws_service_url"]},"CheckEmailDTO":{"type":"object","properties":{"email":{"type":"string","example":"test@example.com","description":"Email address to check for existence"}},"required":["email"]},"EmployeeAward":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"year":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["name","year","employee","employeeId"]},"CreateEmployeeAwardDTO":{"type":"object","properties":{}},"UpdateEmployeeAwardDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["organization","organizationId"]},"CandidateBulkInputDTO":{"type":"object","properties":{"list":{"type":"array","items":{"type":"string"}}},"required":["list"]},"Candidate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"rating":{"type":"number"},"valueDate":{"format":"date-time","type":"string"},"appliedDate":{"format":"date-time","type":"string"},"hiredDate":{"format":"date-time","type":"string"},"rejectDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["APPLIED","REJECTED","HIRED"]},"candidateLevel":{"type":"string","maxLength":500},"reWeeklyLimit":{"type":"number"},"billRateCurrency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"],"example":"USD"},"billRateValue":{"type":"number"},"minimumBillingRate":{"type":"number"},"payPeriod":{"type":"string","enum":["NONE","BI_WEEKLY","WEEKLY","TWICE_PER_MONTH","MONTHLY"],"example":"WEEKLY"},"cvUrl":{"type":"string"},"contactId":{"type":"string"},"organizationPositionId":{"type":"string"},"sourceId":{"type":"string"},"userId":{"type":"string"},"employeeId":{"type":"string"}},"required":["sourceId","userId","employeeId"]},"CreateOrganizationEmploymentTypeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"tags":{"type":"string"}},"required":["organization","organizationId","name","tags"]},"CreateOrganizationDepartmentDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string"},"tags":{"type":"string"}},"required":["organization","organizationId","name"]},"CreateCandidateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"short_description":{"type":"string","maxLength":200},"description":{"type":"string"},"startedWorkOn":{"format":"date-time","type":"string"},"endWork":{"format":"date-time","type":"string"},"employeeLevel":{"type":"string","maxLength":500},"anonymousBonus":{"type":"boolean"},"organizationEmploymentTypes":{"type":"array","items":{"$ref":"#/components/schemas/CreateOrganizationEmploymentTypeDTO"}},"organizationDepartments":{"type":"array","items":{"$ref":"#/components/schemas/CreateOrganizationDepartmentDTO"}},"organizationPosition":{"type":"object"},"skills":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"array"}},"user":{"$ref":"#/components/schemas/UserInputDTO"},"password":{"type":"string"},"documents":{"type":"object"}},"required":["organization","organizationId","user","password","documents"]},"UpdateCandidateDTO":{"type":"object","properties":{"contact":{"type":"object"},"appliedDate":{"format":"date-time","type":"string"},"hiredDate":{"format":"date-time","type":"string"},"candidateLevel":{"type":"string","maxLength":500},"cvUrl":{"type":"string"}}},"CandidateDocument":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"documentUrl":{"type":"string"},"candidate":{"$ref":"#/components/schemas/Candidate"},"candidateId":{"type":"string"}},"required":["name","candidateId"]},"CandidateSource":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"}},"required":["name"]},"CreateCandidateSourceDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string","readOnly":true}},"required":["organization","organizationId","name"]},"UpdateCandidateSourceDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string","readOnly":true}},"required":["organization","organizationId","name"]},"CandidateEducation":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"schoolName":{"type":"string"},"degree":{"type":"string"},"field":{"type":"string"},"completionDate":{"format":"date-time","type":"string"},"notes":{"type":"string"},"candidate":{"$ref":"#/components/schemas/Candidate"},"candidateId":{"type":"string"}},"required":["schoolName","degree","field","completionDate","notes","candidate","candidateId"]},"CreateCandidateEducationDTO":{"type":"object","properties":{"schoolName":{"type":"string","readOnly":true},"degree":{"type":"string","readOnly":true},"field":{"type":"string","readOnly":true},"completionDate":{"format":"date-time","type":"string","readOnly":true},"notes":{"type":"string","readOnly":true}},"required":["schoolName","degree","field","completionDate","notes"]},"UpdateCandidateEducationDTO":{"type":"object","properties":{"schoolName":{"type":"string","readOnly":true},"degree":{"type":"string","readOnly":true},"field":{"type":"string","readOnly":true},"completionDate":{"format":"date-time","type":"string","readOnly":true},"notes":{"type":"string","readOnly":true}},"required":["schoolName","degree","field","completionDate","notes"]},"CandidateExperience":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"occupation":{"type":"string"},"duration":{"type":"string"},"description":{"type":"string"},"candidateId":{"type":"string"}},"required":["occupation","duration","candidateId"]},"CreateCandidateExperienceDTO":{"type":"object","properties":{"occupation":{"type":"string","readOnly":true},"duration":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true}},"required":["occupation","duration","description"]},"UpdateCandidateExperienceDTO":{"type":"object","properties":{}},"CandidateSkill":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"candidate":{"$ref":"#/components/schemas/Candidate"},"candidateId":{"type":"string"}},"required":["name","candidate","candidateId"]},"CreateCandidateSkillDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true}},"required":["name"]},"UpdateCandidateSkillDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string","readOnly":true}},"required":["organization","organizationId","name"]},"CandidateTechnologies":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"rating":{"type":"number"},"interview":{"$ref":"#/components/schemas/CandidateInterview"},"interviewId":{"type":"string"},"criterionsRatings":{"$ref":"#/components/schemas/CandidateCriterionsRating"}},"required":["name","rating","interview","interviewId","criterionsRatings"]},"CandidatePersonalQualities":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"rating":{"type":"number"},"interview":{"$ref":"#/components/schemas/CandidateInterview"},"interviewId":{"type":"string"},"criterionsRatings":{"$ref":"#/components/schemas/CandidateCriterionsRating"}},"required":["name","rating","interview","interviewId","criterionsRatings"]},"CandidateCriterionsRating":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"rating":{"type":"string"},"technology":{"$ref":"#/components/schemas/CandidateTechnologies"},"technologyId":{"type":"string"},"personalQuality":{"$ref":"#/components/schemas/CandidatePersonalQualities"},"personalQualityId":{"type":"string"},"feedback":{"$ref":"#/components/schemas/CandidateFeedback"},"feedbackId":{"type":"string"}},"required":["rating","technology","technologyId","personalQuality","personalQualityId","feedback","feedbackId"]},"CandidateFeedback":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"description":{"type":"string"},"rating":{"type":"number"},"status":{"type":"string","enum":["APPLIED","REJECTED","HIRED"]},"candidate":{"$ref":"#/components/schemas/Candidate"},"candidateId":{"type":"string"},"interview":{"$ref":"#/components/schemas/CandidateInterview"},"interviewId":{"type":"string"},"criterionsRating":{"$ref":"#/components/schemas/CandidateCriterionsRating"},"interviewerId":{"type":"string"}},"required":["description","status","candidate","candidateId","interview","interviewId","criterionsRating"]},"CandidateInterviewers":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"interview":{"$ref":"#/components/schemas/CandidateInterview"},"interviewId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["interview","interviewId","employee","employeeId"]},"CandidateInterview":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"location":{"type":"string"},"note":{"type":"string"},"rating":{"type":"number"},"feedbacks":{"$ref":"#/components/schemas/CandidateFeedback"},"technologies":{"$ref":"#/components/schemas/CandidateTechnologies"},"personalQualities":{"$ref":"#/components/schemas/CandidatePersonalQualities"},"interviewers":{"$ref":"#/components/schemas/CandidateInterviewers"},"candidate":{"$ref":"#/components/schemas/Candidate"},"candidateId":{"type":"string"}},"required":["title","startTime","endTime","note","feedbacks","technologies","personalQualities","interviewers","candidate","candidateId"]},"EmployeeSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"settingType":{"type":"string","enum":["Normal","Task-View","Custom"]},"entityId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"data":{"type":"object"},"defaultData":{"type":"object"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["employee","employeeId"]},"CreateEmployeeSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"settingType":{"type":"string","enum":["Normal","Task-View","Custom"]},"entityId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"data":{"type":"object"},"defaultData":{"type":"object"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["organization","employee","employeeId"]},"UpdateEmployeeSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"settingType":{"type":"string","enum":["Normal","Task-View","Custom"]},"entityId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"data":{"type":"object"},"defaultData":{"type":"object"}},"required":["organization"]},"EmployeeAppointment":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"agenda":{"type":"string"},"description":{"type":"string"},"location":{"type":"string"},"startDateTime":{"format":"date-time","type":"string"},"endDateTime":{"format":"date-time","type":"string"},"bufferTimeStart":{"type":"boolean"},"bufferTimeEnd":{"type":"boolean"},"bufferTimeInMins":{"type":"number"},"breakTimeInMins":{"type":"number"},"breakStartTime":{"format":"date-time","type":"string"},"emails":{"type":"string"},"status":{"type":"string"},"employeeId":{"type":"string"}},"required":["agenda","description","location","startDateTime","endDateTime","bufferTimeStart","bufferTimeEnd","bufferTimeInMins","breakTimeInMins","breakStartTime","emails","status","employeeId"]},"AppointmentEmployee":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"appointmentId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"employeeAppointment":{"$ref":"#/components/schemas/EmployeeAppointment"},"employeeAppointmentId":{"type":"string"}},"required":["appointmentId","employee","employeeId","employeeAppointment","employeeAppointmentId"]},"OrganizationDepartment":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/Employee"}},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/Candidate"}}},"required":["name","tags","members","candidates"]},"OrganizationPosition":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["name","tags"]},"UpdateOrganizationPositionDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true}},"required":["name"]},"OrganizationProjectModule":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"isFavorite":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/OrganizationProjectModule"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"children":{"type":"array","items":{"type":"array"}},"views":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"tasks":{"description":"List of task IDs","type":"array","items":{"type":"array"}},"organizationSprints":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}}},"required":["name"]},"CreateOrganizationProjectModuleDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"isFavorite":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/OrganizationProjectModule"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"children":{"type":"array","items":{"type":"array"}},"views":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"tasks":{"description":"List of task IDs","type":"array","items":{"type":"array"}},"organizationSprints":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}},"required":["organization","organizationId","name"]},"UpdateOrganizationProjectModuleDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"public":{"type":"boolean"},"isFavorite":{"type":"boolean"},"parent":{"$ref":"#/components/schemas/OrganizationProjectModule"},"parentId":{"type":"string"},"project":{"type":"object"},"projectId":{"type":"string"},"children":{"type":"array","items":{"type":"array"}},"views":{"type":"array","items":{"type":"array"}},"members":{"type":"array","items":{"type":"array"}},"tasks":{"description":"List of task IDs","type":"array","items":{"type":"array"}},"organizationSprints":{"type":"array","items":{"type":"array"}},"teams":{"type":"array","items":{"type":"array"}},"memberIds":{"type":"array","items":{"type":"string"}},"managerIds":{"type":"array","items":{"type":"string"}}}},"OrganizationAward":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"year":{"type":"string"}},"required":["name","year"]},"Language":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"code":{"type":"string"},"is_system":{"type":"boolean","default":true},"description":{"type":"string"},"color":{"type":"string"}},"required":["name","code","is_system","description","color"]},"OrganizationLanguage":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"language":{"$ref":"#/components/schemas/Language"},"languageCode":{"type":"string"},"name":{"type":"string"},"level":{"type":"string"}},"required":["language","languageCode","name","level"]},"ValidateJoinRequestDTO":{"type":"object","properties":{"email":{"type":"string"},"organizationTeamId":{"type":"string"},"code":{"type":"string"},"token":{"type":"string"}},"required":["email","organizationTeamId","code","token"]},"OrganizationTeamJoinRequest":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"email":{"type":"string"},"fullName":{"type":"string"},"linkAddress":{"type":"string"},"position":{"type":"string"},"status":{"type":"string"},"userId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["email","organizationTeamId"]},"CreateInviteDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"emailIds":{"type":"array","items":{"type":"string"}},"teamIds":{"type":"array","items":{"type":"string"}},"inviteType":{"type":"string","enum":["USER","EMPLOYEE","CANDIDATE","TEAM"]},"startedWorkOn":{"format":"date-time","type":"string"},"invitationExpirationPeriod":{"type":"string","enum":[1,7,14,30,"Never"]},"fullName":{"type":"string"},"callbackUrl":{"type":"string"},"roleId":{"type":"string"},"role":{"type":"string"}},"required":["organization","organizationId","emailIds","inviteType","roleId","role"]},"Invite":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"token":{"type":"string"},"email":{"type":"string"},"fullName":{"type":"string"},"status":{"type":"string","enum":["INVITED","ACCEPTED","EXPIRED","REJECTED"]},"expireDate":{"format":"date-time","type":"string"},"actionDate":{"format":"date-time","type":"string"},"role":{"$ref":"#/components/schemas/Role"},"roleId":{"type":"string"},"userId":{"type":"string"}},"required":["token","email","status"]},"ResendInviteDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"inviteType":{"type":"string","enum":["USER","EMPLOYEE","CANDIDATE","TEAM"]},"callbackUrl":{"type":"string"},"inviteId":{"type":"string"}},"required":["organization","organizationId","inviteType","inviteId"]},"ValidateInviteByCodeQueryDTO":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"number"}},"required":["email","code"]},"RejectInviteDTO":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"number"},"token":{"type":"string"}},"required":["email","code","token"]},"OrganizationDocument":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"documentUrl":{"type":"string"},"documentId":{"type":"string"}},"required":["name","documentUrl"]},"Country":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"isoCode":{"type":"string"},"country":{"type":"string"}},"required":["isoCode","country"]},"Currency":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"isoCode":{"type":"string"},"currency":{"type":"string"}},"required":["isoCode","currency"]},"TimeOffPolicy":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"requiresApproval":{"type":"boolean"},"paid":{"type":"boolean"}},"required":["name","requiresApproval","paid"]},"TimeOffRequest":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"documentUrl":{"type":"string"},"description":{"type":"string"},"start":{"format":"date-time","type":"string"},"end":{"format":"date-time","type":"string"},"requestDate":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["REQUESTED","APPROVED","DENIED","ALL"]},"isHoliday":{"type":"boolean","default":false},"policy":{"$ref":"#/components/schemas/TimeOffPolicy"},"policyId":{"type":"string"},"documentId":{"type":"string"},"employees":{"$ref":"#/components/schemas/Employee"}},"required":["start","end","requestDate","status","policy","policyId","employees"]},"ApprovalPolicy":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"approvalType":{"type":"string"}},"required":["name","description","approvalType"]},"RequestApproval":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"status":{"type":"number"},"min_count":{"type":"number"},"requestId":{"type":"string"},"requestType":{"type":"string","enum":["TIME_OFF","EQUIPMENT_SHARING","BUSINESS_TRIP"]},"approvalPolicy":{"$ref":"#/components/schemas/ApprovalPolicy"},"approvalPolicyId":{"type":"string"}},"required":["name"]},"CreateApprovalPolicyDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true}},"required":["organization","organizationId","name"]},"UpdateApprovalPolicyDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true}},"required":["organization","organizationId","name"]},"UpdateOrCreateEquipmentSharingPolicyDTO":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"description":{"type":"string"},"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"}},"required":["name","organization","organizationId"]},"TagType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"type":{"type":"string"},"tags":{"type":"array","items":{"required":false,"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"required":["type","tags"]},"CreateTagTypeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"type":{"type":"string"},"tags":{"type":"array","items":{"required":false,"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"required":["organization","organizationId","type","tags"]},"UpdateTagTypeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"type":{"type":"string"},"tags":{"type":"array","items":{"required":false,"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"required":["tags"]},"CreateInvoiceDTO":{"type":"object","properties":{"fromOrganization":{"type":"object","readOnly":true},"fromOrganizationId":{"type":"string","readOnly":true},"sentTo":{"type":"string","readOnly":true},"invoiceType":{"type":"string","enum":["BY_EMPLOYEE_HOURS","BY_PROJECT_HOURS","BY_TASK_HOURS","BY_PRODUCTS","BY_EXPENSES","DETAILED_ITEMS"],"readOnly":true}},"required":["fromOrganizationId"]},"UpdateInvoiceDTO":{"type":"object","properties":{}},"UpdateEstimateInvoiceDTO":{"type":"object","properties":{"isAccepted":{"type":"boolean","readOnly":true}},"required":["isAccepted"]},"UpdateInvoiceActionDTO":{"type":"object","properties":{"status":{"type":"string","enum":["DRAFT","SENT","VIEWED","FULLY_PAID","PARTIALLY_PAID","OVERPAID","VOID","ACCEPTED","REJECTED"],"readOnly":true},"isEstimate":{"type":"boolean","readOnly":true},"internalNote":{"type":"string","readOnly":true},"isArchived":{"type":"boolean","readOnly":true},"paid":{"type":"boolean","readOnly":true},"alreadyPaid":{"type":"number","readOnly":true},"amountDue":{"type":"number","readOnly":true}},"required":["status","isEstimate","internalNote","isArchived","paid","alreadyPaid","amountDue"]},"InvoiceItemBulkInputDTO":{"type":"object","properties":{}},"CreatePaymentDTO":{"type":"object","properties":{}},"UpdatePaymentDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"paymentDate":{"format":"date-time","type":"string"},"amount":{"type":"number"},"note":{"type":"string"},"currency":{"type":"string","enum":["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]},"paymentMethod":{"type":"string","enum":["BANK_TRANSFER","CASH","CHEQUE","CREDIT_CARD","DEBIT","ONLINE"]},"overdue":{"type":"boolean"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationContact":{"$ref":"#/components/schemas/OrganizationContact"},"organizationContactId":{"type":"string"},"tags":{"type":"array","items":{"type":"array"}}},"required":["organization","organizationId","amount"]},"CreateGoalDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"deadline":{"type":"string","readOnly":true},"level":{"type":"string","readOnly":true},"progress":{"type":"number","readOnly":true},"ownerTeam":{"type":"object","readOnly":true},"ownerTeamId":{"type":"string","readOnly":true},"ownerEmployee":{"type":"object","readOnly":true},"ownerEmployeeId":{"type":"string","readOnly":true},"lead":{"type":"object","readOnly":true},"leadId":{"type":"string","readOnly":true}},"required":["name","description","deadline","level","progress","ownerTeam","ownerTeamId","ownerEmployee","ownerEmployeeId","lead","leadId"]},"GoalKPI":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["Numerical","Percentage","Currency"]},"unit":{"type":"string"},"operator":{"type":"string"},"currentValue":{"type":"number"},"targetValue":{"type":"number"},"lead":{"$ref":"#/components/schemas/Employee"},"leadId":{"type":"string","readOnly":true}},"required":["name","description","type","unit","operator","currentValue","targetValue","lead","leadId"]},"Goal":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"deadline":{"type":"string"},"level":{"type":"string","enum":["Organization","Team","Employee"]},"progress":{"type":"number"},"ownerTeam":{"$ref":"#/components/schemas/OrganizationTeam"},"ownerTeamId":{"type":"string"},"ownerEmployee":{"$ref":"#/components/schemas/Employee"},"ownerEmployeeId":{"type":"string"},"lead":{"$ref":"#/components/schemas/Employee"},"leadId":{"type":"string"},"alignedKeyResult":{"$ref":"#/components/schemas/KeyResult"},"alignedKeyResultId":{"type":"string"},"organizationStrategicInitiative":{"type":"object"},"organizationStrategicInitiativeId":{"type":"string"},"keyResults":{"type":"array","items":{"$ref":"#/components/schemas/KeyResult"}}},"required":["name","description","deadline","level","progress","ownerTeam","ownerTeamId","ownerEmployee","ownerEmployeeId","lead","leadId","alignedKeyResult","alignedKeyResultId","keyResults"]},"KeyResultUpdate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"update":{"type":"number"},"progress":{"type":"number"},"owner":{"type":"string"},"status":{"type":"string","enum":["on track","needs attention","off track","none"]},"keyResultId":{"type":"string","readOnly":true}},"required":["update","progress","owner","status","keyResultId"]},"KeyResult":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["Numerical","True/False","Currency","Task","KPI"]},"targetValue":{"type":"number"},"initialValue":{"type":"number"},"unit":{"type":"string"},"update":{"type":"number"},"progress":{"type":"number"},"deadline":{"type":"string","enum":["No Custom Deadline","Hard Deadline","Hard and Soft Deadline"]},"hardDeadline":{"format":"date-time","type":"string"},"softDeadline":{"format":"date-time","type":"string"},"status":{"type":"string"},"weight":{"type":"string"},"owner":{"$ref":"#/components/schemas/Employee"},"ownerId":{"type":"string"},"lead":{"$ref":"#/components/schemas/Employee"},"leadId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string","readOnly":true},"task":{"$ref":"#/components/schemas/Task"},"taskId":{"type":"string","readOnly":true},"kpi":{"$ref":"#/components/schemas/GoalKPI"},"kpiId":{"type":"string","readOnly":true},"goal":{"$ref":"#/components/schemas/Goal"},"goalId":{"type":"string","readOnly":true},"updates":{"$ref":"#/components/schemas/KeyResultUpdate"}},"required":["name","description","type","targetValue","initialValue","unit","update","progress","deadline","hardDeadline","softDeadline","status","weight","owner","ownerId","lead","leadId","project","projectId","task","taskId","kpi","kpiId","goal","goalId","updates"]},"UpdateGoalDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"deadline":{"type":"string","readOnly":true},"level":{"type":"string","readOnly":true},"progress":{"type":"number","readOnly":true},"ownerTeam":{"type":"object","readOnly":true},"ownerTeamId":{"type":"string","readOnly":true},"ownerEmployee":{"type":"object","readOnly":true},"ownerEmployeeId":{"type":"string","readOnly":true},"lead":{"type":"object","readOnly":true},"leadId":{"type":"string","readOnly":true}},"required":["name","description","deadline","level","progress","ownerTeam","ownerTeamId","ownerEmployee","ownerEmployeeId","lead","leadId"]},"CreateGoalTimeFrameDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"status":{"type":"string","enum":["Active","Inactive"],"readOnly":true},"startDate":{"format":"date-time","type":"string","readOnly":true},"endDate":{"format":"date-time","type":"string","readOnly":true}},"required":["name","status","startDate","endDate"]},"GoalTimeFrame":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["Active","Inactive"]},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"}},"required":["name","status","startDate","endDate"]},"UpdateGoalTimeFrameDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"status":{"type":"string","enum":["Active","Inactive"],"readOnly":true},"startDate":{"format":"date-time","type":"string","readOnly":true},"endDate":{"format":"date-time","type":"string","readOnly":true}},"required":["name","status","startDate","endDate"]},"CreateGoalGeneralSettingDTO":{"type":"object","properties":{"maxObjectives":{"type":"number","readOnly":true},"maxKeyResults":{"type":"number","readOnly":true},"employeeCanCreateObjective":{"type":"boolean","readOnly":true},"canOwnObjectives":{"type":"string","enum":["Employees","Teams","Employees and Teams"],"readOnly":true},"canOwnKeyResult":{"type":"string","enum":["Employees","Teams","Employees and Teams"],"readOnly":true},"krTypeKPI":{"type":"boolean","readOnly":true},"krTypeTask":{"type":"boolean","readOnly":true}},"required":["maxObjectives","maxKeyResults","employeeCanCreateObjective","canOwnObjectives","canOwnKeyResult","krTypeKPI","krTypeTask"]},"GoalGeneralSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"maxObjectives":{"type":"number"},"maxKeyResults":{"type":"number"},"employeeCanCreateObjective":{"type":"boolean"},"canOwnObjectives":{"type":"string","enum":["Employees","Teams","Employees and Teams"]},"canOwnKeyResult":{"type":"string","enum":["Employees","Teams","Employees and Teams"]},"krTypeKPI":{"type":"boolean"},"krTypeTask":{"type":"boolean"}},"required":["maxObjectives","maxKeyResults","employeeCanCreateObjective","canOwnObjectives","canOwnKeyResult","krTypeKPI","krTypeTask"]},"UpdateGoalGeneralSettingDTO":{"type":"object","properties":{"maxObjectives":{"type":"number","readOnly":true},"maxKeyResults":{"type":"number","readOnly":true},"employeeCanCreateObjective":{"type":"boolean","readOnly":true},"canOwnObjectives":{"type":"string","enum":["Employees","Teams","Employees and Teams"],"readOnly":true},"canOwnKeyResult":{"type":"string","enum":["Employees","Teams","Employees and Teams"],"readOnly":true},"krTypeKPI":{"type":"boolean","readOnly":true},"krTypeTask":{"type":"boolean","readOnly":true}},"required":["maxObjectives","maxKeyResults","employeeCanCreateObjective","canOwnObjectives","canOwnKeyResult","krTypeKPI","krTypeTask"]},"CreateKeyResultDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"type":{"type":"string","readOnly":true},"targetValue":{"type":"number","readOnly":true},"initialValue":{"type":"number","readOnly":true},"unit":{"type":"string","readOnly":true},"update":{"type":"number","readOnly":true},"progress":{"type":"number","readOnly":true},"deadline":{"type":"string","readOnly":true},"hardDeadline":{"format":"date-time","type":"string","readOnly":true},"softDeadline":{"format":"date-time","type":"string","readOnly":true},"status":{"type":"string","readOnly":true},"weight":{"type":"string","readOnly":true},"ownerId":{"type":"string","readOnly":true},"owner":{"type":"object","readOnly":true},"lead":{"type":"object","readOnly":true},"leadId":{"type":"string","readOnly":true},"project":{"type":"object","readOnly":true},"projectId":{"type":"string","readOnly":true},"task":{"type":"object","readOnly":true},"kpi":{"type":"object","readOnly":true},"kpiId":{"type":"string","readOnly":true},"goal":{"type":"object","readOnly":true},"goalId":{"type":"string","readOnly":true},"updates":{"readOnly":true,"type":"array","items":{"type":"object"}}},"required":["name","description","type","targetValue","initialValue","unit","update","progress","deadline","hardDeadline","softDeadline","status","weight","ownerId","owner","lead","leadId","project","projectId","task","kpi","kpiId","goal","goalId","updates"]},"KeyResultBulkInputDTO":{"type":"object","properties":{}},"UpdateKeyResultDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"type":{"type":"string","readOnly":true},"targetValue":{"type":"number","readOnly":true},"initialValue":{"type":"number","readOnly":true},"unit":{"type":"string","readOnly":true},"update":{"type":"number","readOnly":true},"progress":{"type":"number","readOnly":true},"deadline":{"type":"string","readOnly":true},"hardDeadline":{"format":"date-time","type":"string","readOnly":true},"softDeadline":{"format":"date-time","type":"string","readOnly":true},"status":{"type":"string","readOnly":true},"weight":{"type":"string","readOnly":true},"ownerId":{"type":"string","readOnly":true},"owner":{"type":"object","readOnly":true},"lead":{"type":"object","readOnly":true},"leadId":{"type":"string","readOnly":true},"project":{"type":"object","readOnly":true},"projectId":{"type":"string","readOnly":true},"task":{"type":"object","readOnly":true},"kpi":{"type":"object","readOnly":true},"kpiId":{"type":"string","readOnly":true},"goal":{"type":"object","readOnly":true},"goalId":{"type":"string","readOnly":true},"updates":{"readOnly":true,"type":"array","items":{"type":"object"}}},"required":["name","description","type","targetValue","initialValue","unit","update","progress","deadline","hardDeadline","softDeadline","status","weight","ownerId","owner","lead","leadId","project","projectId","task","kpi","kpiId","goal","goalId","updates"]},"CreateKeyresultUpdateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"owner":{"type":"string","readOnly":true},"progress":{"type":"number","readOnly":true},"update":{"type":"number","readOnly":true},"status":{"type":"string","readOnly":true},"keyResultId":{"type":"string","readOnly":true},"keyResult":{"type":"object","readOnly":true}},"required":["organization","organizationId","owner","progress","update","status","keyResult"]},"UpdateKeyresultUpdateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"owner":{"type":"string","readOnly":true},"progress":{"type":"number","readOnly":true},"update":{"type":"number","readOnly":true},"status":{"type":"string","readOnly":true},"keyResultId":{"type":"string","readOnly":true},"keyResult":{"type":"object","readOnly":true}},"required":["organization","organizationId","owner","progress","update","status","keyResult"]},"EmployeeLevel":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"level":{"type":"string"}},"required":["level"]},"EventType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"duration":{"type":"number"},"durationUnit":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string","readOnly":true},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["duration","durationUnit","title","employee","employeeId","tags"]},"AvailabilitySlot":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"allDay":{"type":"boolean"},"type":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string","readOnly":true}},"required":["startTime","endTime","allDay","type","employee","employeeId"]},"UpdatePipelineDTO":{"type":"object","properties":{}},"Deal":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"probability":{"type":"number"},"stageId":{"type":"string"},"clientId":{"type":"string"}},"required":["title","probability","stageId"]},"CreateEquipmentDTO":{"type":"object","properties":{}},"UpdateEquipmentDTO":{"type":"object","properties":{}},"ReorderDTO":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the record to reorder"},"order":{"type":"number","description":"New order for the record"}},"required":["id","order"]},"ReorderRequestDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"reorder":{"description":"List of reordering instructions","type":"array","items":{"$ref":"#/components/schemas/ReorderDTO"}}},"required":["organization","organizationId","reorder"]},"UpdatesStatusDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"},"order":{"type":"number"},"icon":{"type":"string"},"color":{"type":"string"},"isSystem":{"type":"boolean","default":false},"isCollapsed":{"type":"boolean","default":false},"isDefault":{"type":"boolean","default":false},"isTodo":{"type":"boolean","default":false},"isInProgress":{"type":"boolean","default":false},"isDone":{"type":"boolean","default":false},"template":{"type":"string","enum":["backlog","open","in-progress","ready-for-review","in-review","blocked","done","completed","cancelled","custom"]},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}}},"DailyPlan":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"date":{"format":"date-time","type":"string"},"workTimePlanned":{"type":"number"},"status":{"type":"string"},"employeeId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["date","workTimePlanned","status"]},"RemoveTaskFromManyPlansDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"employeeId":{"type":"string"},"plansIds":{"type":"array","items":{"type":"string"}}},"required":["organization","organizationId","employeeId","plansIds"]},"CreateDailyPlanDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"organizationTeam":{"$ref":"#/components/schemas/OrganizationTeam"},"organizationTeamId":{"type":"string"},"date":{"format":"date-time","type":"string"},"workTimePlanned":{"type":"number"},"status":{"type":"string","enum":["open","in-progress","completed"]},"taskId":{"type":"string"}},"required":["organization","organizationId","date","workTimePlanned","status"]},"UpdateDailyPlanDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"employeeId":{"type":"string"},"organizationTeamId":{"type":"string"},"date":{"format":"date-time","type":"string"},"workTimePlanned":{"type":"number"},"status":{"type":"string","enum":["open","in-progress","completed"]}},"required":["organization","organizationId"]},"ScreeningTask":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"status":{"type":"string","enum":["accepted","declined","duplicated","snoozed","pending"]},"onHoldUntil":{"format":"date-time","type":"string"},"taskId":{"type":"string"}},"required":["status","taskId"]},"CreateScreeningTaskDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"mentionEmployeeIds":{"type":"array","items":{"type":"string"}},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"onHoldUntil":{"format":"date-time","type":"string"},"taskId":{"type":"string"}},"required":["organization","taskId"]},"UpdateScreeningTaskDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"status":{"type":"string","enum":["accepted","declined","duplicated","snoozed","pending"]},"onHoldUntil":{"format":"date-time","type":"string"}},"required":["organization","status"]},"OrganizationEmploymentType":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/Employee"}},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/Candidate"}}}},"ProcessTrackingDataDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"payload":{"type":"string","description":"Encoded tracking data payload"},"startTime":{"type":"string","format":"date-time","description":"Start time for the tracking data. If not provided, current time will be used."},"employeeId":{"type":"string","description":"Employee ID. If not provided, current user employee ID will be used."}},"required":["organization","organizationId","payload"]},"CustomTrackingBulkInputDTO":{"type":"object","properties":{"list":{"description":"Array of custom tracking data entries to process in bulk","type":"array","items":{"$ref":"#/components/schemas/ProcessTrackingDataDTO"}}},"required":["list"]},"UpdateTimesheetStatusDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"status":{"type":"string","enum":["DRAFT","PENDING","IN REVIEW","DENIED","APPROVED"],"default":"PENDING"},"ids":{"type":"array","items":{"type":"string"}}},"required":["organization","organizationId","status","ids"]},"SubmitTimesheetStatusDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"ids":{"description":"Array of timesheet IDs to submit/unsubmit","type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["submit","unsubmit"],"description":"Status to set on the timesheet (either \"submit\" or \"unsubmit\")"}},"required":["organization","organizationId","ids","status"]},"Function":{"type":"object","properties":{}},"ProductCategoryDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"translations":{"type":"array","items":{"type":"array"}},"translate":{"$ref":"#/components/schemas/Function"},"translateNested":{"$ref":"#/components/schemas/Function"},"imageId":{"type":"string"},"imageUrl":{"type":"string"},"products":{"type":"array","items":{"type":"array"}}},"required":["organization","organizationId"]},"ProductTypeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"translations":{"type":"array","items":{"type":"array"}},"translate":{"$ref":"#/components/schemas/Function"},"translateNested":{"$ref":"#/components/schemas/Function"},"icon":{"type":"string","enum":["briefcase-outline","car-outline","color-palette-outline","flash-outline","home-outline","gift-outline","heart-outline","radio-button-off-outline","pin-outline","settings-outline","star-outline","shopping-bag-outline","share-outline","activity-outline","alert-triangle-outline","bulb-outline","checkmark-circle-outline","globe-2-outline","layers-outline","phone-outline","shopping-cart-outline"]},"products":{"type":"array","items":{"type":"array"}}},"required":["organization","organizationId"]},"CreateProductDTO":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"code":{"type":"string"},"imageUrl":{"type":"string"},"featuredImage":{"type":"object"},"variants":{"type":"string"},"productTypeId":{"type":"string"},"productCategoryId":{"type":"string"},"productType":{"type":"object"},"productCategory":{"type":"object"},"tags":{"type":"array","items":{"type":"object"}},"type":{"type":"object"},"category":{"type":"object"},"optionGroupUpdateInputs":{"type":"array","items":{"type":"object"}},"optionGroupCreateInputs":{"type":"object"},"optionGroupDeleteInputs":{"type":"object"},"optionDeleteInputs":{"type":"object"},"translations":{"type":"object"},"language":{"type":"string"}},"required":["type","category"]},"UpdateProductDTO":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"enabled":{"type":"boolean"},"code":{"type":"string"},"imageUrl":{"type":"string"},"featuredImage":{"type":"object"},"variants":{"type":"string"},"productTypeId":{"type":"string"},"productCategoryId":{"type":"string"},"productType":{"type":"object"},"productCategory":{"type":"object"},"tags":{"type":"array","items":{"type":"object"}},"type":{"type":"object"},"category":{"type":"object"},"optionGroupUpdateInputs":{"type":"array","items":{"type":"object"}},"optionGroupCreateInputs":{"type":"object"},"optionGroupDeleteInputs":{"type":"object"},"optionDeleteInputs":{"type":"object"},"translations":{"type":"object"},"language":{"type":"string"}}},"UploadImageAsset":{"type":"object","properties":{"tenantId":{"type":"string"},"organizationId":{"type":"string"}}},"GoalTemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"level":{"type":"string","enum":["Organization","Team","Employee"]},"category":{"type":"string","enum":["Product Management","Sales","HR","Marketing"]}},"required":["name","level","category"]},"GoalKPITemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["Numerical","Percentage","Currency"]},"unit":{"type":"string"},"operator":{"type":"string"},"lead":{"$ref":"#/components/schemas/Employee"},"currentValue":{"type":"number"},"targetValue":{"type":"number"}},"required":["name","description","type","unit","operator","lead","currentValue","targetValue"]},"KeyResultTemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["Numerical","True/False","Currency","Task","KPI"]},"unit":{"type":"string"},"targetValue":{"type":"number"},"initialValue":{"type":"number"},"deadline":{"type":"string","enum":["No Custom Deadline","Hard Deadline","Hard and Soft Deadline"]},"kpi":{"$ref":"#/components/schemas/GoalKPITemplate"},"kpiId":{"type":"string","readOnly":true},"goal":{"$ref":"#/components/schemas/GoalTemplate"},"goalId":{"type":"string","readOnly":true}},"required":["name","type","unit","targetValue","initialValue","deadline","kpi","kpiId","goal","goalId"]},"CreateKeyresultTemplateDTO":{"type":"object","properties":{}},"AccountingTemplate":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"languageCode":{"type":"string"},"mjml":{"type":"string"},"hbs":{"type":"string"},"templateType":{"type":"string","enum":["invoice","estimate","receipt"]}},"required":["name","languageCode","mjml","hbs","templateType"]},"SaveAccountingTemplateDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"languageCode":{"type":"string","enum":["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"],"readOnly":true},"templateType":{"type":"string","enum":["invoice","estimate","receipt"],"readOnly":true},"mjml":{"type":"string","readOnly":true}},"required":["organization","organizationId","languageCode","templateType","mjml"]},"CreateWarehouseDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"code":{"type":"string","readOnly":true},"email":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"active":{"type":"boolean","readOnly":true},"logo":{"type":"object","readOnly":true},"logoId":{"type":"string","readOnly":true}},"required":["name","code","email"]},"UpdateWarehouseDTO":{"type":"object","properties":{"name":{"type":"string","readOnly":true},"code":{"type":"string","readOnly":true},"email":{"type":"string","readOnly":true},"description":{"type":"string","readOnly":true},"active":{"type":"boolean","readOnly":true},"logo":{"type":"object","readOnly":true},"logoId":{"type":"string","readOnly":true}},"required":["name","code","email"]},"Merchant":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"description":{"type":"string"},"active":{"type":"boolean"},"currency":{"type":"string"},"contact":{"$ref":"#/components/schemas/Contact"},"contactId":{"type":"string"},"logo":{"$ref":"#/components/schemas/ImageAsset"},"logoId":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"warehouses":{"type":"array","items":{"$ref":"#/components/schemas/Warehouse"}}},"required":["name","code","email","phone","description","currency","contact","contactId","logo","logoId","tags","warehouses"]},"CreateMerchantDTO":{"type":"object","properties":{}},"UpdateMerchantDTO":{"type":"object","properties":{}},"PublicEstimateUpdateDTO":{"type":"object","properties":{"isEstimate":{"type":"boolean","readOnly":true},"status":{"type":"string","enum":["DRAFT","SENT","VIEWED","ACCEPTED","REJECTED","VOID"],"readOnly":true}},"required":["status"]},"ResetEmailRequestDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"VerifyEmailResetRequestDTO":{"type":"object","properties":{"code":{"type":"number"}},"required":["code"]},"UpdateIssueTypeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean","default":false},"isSystem":{"type":"boolean","default":false},"imageId":{"type":"string"},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}}},"TaskLinkedIssue":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"action":{"type":"number","enum":[1,2,3,4,5,6,7]},"taskFrom":{"$ref":"#/components/schemas/Task"},"taskFromId":{"type":"string"},"taskTo":{"type":"object"},"taskToId":{"type":"string"}},"required":["action","taskFromId","taskToId"]},"CreateTaskLinkedIssueDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"action":{"type":"number","enum":[1,2,3,4,5,6,7]},"taskFrom":{"$ref":"#/components/schemas/Task"},"taskFromId":{"type":"string"},"taskTo":{"type":"object"},"taskToId":{"type":"string"}},"required":["organization","action","taskFromId","taskToId"]},"UpdateTaskLinkedIssueDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"action":{"type":"number","enum":[1,2,3,4,5,6,7]},"taskFrom":{"$ref":"#/components/schemas/Task"},"taskFromId":{"type":"string"},"taskTo":{"type":"object"},"taskToId":{"type":"string"}},"required":["organization","action","taskFromId","taskToId"]},"OrganizationTaskSetting":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"isTasksPrivacyEnabled":{"type":"boolean"},"isTasksMultipleAssigneesEnabled":{"type":"boolean"},"isTasksManualTimeEnabled":{"type":"boolean"},"isTasksGroupEstimationEnabled":{"type":"boolean"},"isTasksEstimationInHoursEnabled":{"type":"boolean"},"isTasksEstimationInStoryPointsEnabled":{"type":"boolean"},"isTasksProofOfCompletionEnabled":{"type":"boolean"},"tasksProofOfCompletionType":{"type":"string","enum":["PUBLIC","PRIVATE"]},"isTasksLinkedEnabled":{"type":"boolean"},"isTasksCommentsEnabled":{"type":"boolean"},"isTasksHistoryEnabled":{"type":"boolean"},"isTasksAcceptanceCriteriaEnabled":{"type":"boolean"},"isTasksDraftsEnabled":{"type":"boolean"},"isTasksNotifyLeftEnabled":{"type":"boolean"},"tasksNotifyLeftPeriodDays":{"type":"number"},"isTasksAutoCloseEnabled":{"type":"boolean"},"tasksAutoClosePeriodDays":{"type":"number"},"isTasksAutoArchiveEnabled":{"type":"boolean"},"tasksAutoArchivePeriodDays":{"type":"number"},"isTasksAutoStatusEnabled":{"type":"boolean"},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}}},"CreateOrganizationTaskSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"isTasksPrivacyEnabled":{"type":"boolean"},"isTasksMultipleAssigneesEnabled":{"type":"boolean"},"isTasksManualTimeEnabled":{"type":"boolean"},"isTasksGroupEstimationEnabled":{"type":"boolean"},"isTasksEstimationInHoursEnabled":{"type":"boolean"},"isTasksEstimationInStoryPointsEnabled":{"type":"boolean"},"isTasksProofOfCompletionEnabled":{"type":"boolean"},"tasksProofOfCompletionType":{"type":"string","enum":["PUBLIC","PRIVATE"]},"isTasksLinkedEnabled":{"type":"boolean"},"isTasksCommentsEnabled":{"type":"boolean"},"isTasksHistoryEnabled":{"type":"boolean"},"isTasksAcceptanceCriteriaEnabled":{"type":"boolean"},"isTasksDraftsEnabled":{"type":"boolean"},"isTasksNotifyLeftEnabled":{"type":"boolean"},"tasksNotifyLeftPeriodDays":{"type":"number"},"isTasksAutoCloseEnabled":{"type":"boolean"},"tasksAutoClosePeriodDays":{"type":"number"},"isTasksAutoArchiveEnabled":{"type":"boolean"},"tasksAutoArchivePeriodDays":{"type":"number"},"isTasksAutoStatusEnabled":{"type":"boolean"},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["organization","organizationId"]},"UpdateOrganizationTaskSettingDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"isTasksPrivacyEnabled":{"type":"boolean"},"isTasksMultipleAssigneesEnabled":{"type":"boolean"},"isTasksManualTimeEnabled":{"type":"boolean"},"isTasksGroupEstimationEnabled":{"type":"boolean"},"isTasksEstimationInHoursEnabled":{"type":"boolean"},"isTasksEstimationInStoryPointsEnabled":{"type":"boolean"},"isTasksProofOfCompletionEnabled":{"type":"boolean"},"tasksProofOfCompletionType":{"type":"string","enum":["PUBLIC","PRIVATE"]},"isTasksLinkedEnabled":{"type":"boolean"},"isTasksCommentsEnabled":{"type":"boolean"},"isTasksHistoryEnabled":{"type":"boolean"},"isTasksAcceptanceCriteriaEnabled":{"type":"boolean"},"isTasksDraftsEnabled":{"type":"boolean"},"isTasksNotifyLeftEnabled":{"type":"boolean"},"tasksNotifyLeftPeriodDays":{"type":"number"},"isTasksAutoCloseEnabled":{"type":"boolean"},"tasksAutoClosePeriodDays":{"type":"number"},"isTasksAutoArchiveEnabled":{"type":"boolean"},"tasksAutoArchivePeriodDays":{"type":"number"},"isTasksAutoStatusEnabled":{"type":"boolean"},"projectId":{"type":"string"},"organizationTeamId":{"type":"string"}},"required":["organization","organizationId"]},"CreateTaskEstimationDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"estimate":{"type":"number"},"employeeId":{"type":"string"},"taskId":{"type":"string"}},"required":["organization","organizationId","estimate","employeeId","taskId"]},"UpdateTaskEstimationDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"estimate":{"type":"number"},"employeeId":{"type":"string"},"taskId":{"type":"string"}},"required":["organization","organizationId","estimate","employeeId","taskId"]},"CreateFavoriteDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"employeeId":{"type":"string"}},"required":["organization","entity","entityId"]},"Favorite":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"employeeId":{"type":"string"}},"required":["entity","entityId"]},"Reaction":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Comment","Task"]},"entityId":{"type":"string"},"emoji":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"employeeId":{"type":"string"}},"required":["entity","entityId","emoji"]},"CreateReactionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Comment","Task"]},"entityId":{"type":"string"},"emoji":{"type":"string"}},"required":["organization","organizationId","entity","entityId","emoji"]},"UpdateReactionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"emoji":{"type":"string"}},"required":["organization","organizationId","emoji"]},"Comment":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"comment":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"resolved":{"type":"boolean"},"resolvedAt":{"format":"date-time","type":"string"},"editedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"},"resolvedByEmployeeId":{"type":"string"},"parentId":{"type":"string"}},"required":["entity","entityId","comment"]},"CreateCommentDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"comment":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"resolved":{"type":"boolean"},"resolvedAt":{"format":"date-time","type":"string"},"editedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"},"resolvedByEmployeeId":{"type":"string"},"parentId":{"type":"string"},"mentionEmployeeIds":{"type":"array","items":{"type":"string"}},"entityName":{"type":"string"}},"required":["organization","entity","entityId","comment"]},"UpdateCommentDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"comment":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"resolved":{"type":"boolean"},"resolvedAt":{"format":"date-time","type":"string"},"editedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"},"resolvedByEmployeeId":{"type":"string"},"parentId":{"type":"string"},"mentionEmployeeIds":{"type":"array","items":{"type":"string"}},"entityName":{"type":"string"}}},"EntitySubscription":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"type":{"type":"string","enum":["manual","mention","assignment","comment","created-entity"]},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["entity","entityId","type"]},"CreateEntitySubscriptionDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"type":{"type":"string","enum":["manual","mention","assignment","comment","created-entity"]}},"required":["organization","organizationId","entity","entityId","type"]},"EntitySubscriptionFindInputDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"actorType":{"type":"string","enum":["System","User"]},"type":{"type":"string","enum":["manual","mention","assignment","comment","created-entity"]},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["organization"]},"ResourceLink":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"metaData":{"type":"object"},"employeeId":{"type":"string"}},"required":["entity","entityId","title","url"]},"CreateResourceLinkDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"metaData":{"type":"object"},"employeeId":{"type":"string"}},"required":["organization","entity","entityId","title","url"]},"UpdateResourceLinkDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"metaData":{"type":"object"},"employeeId":{"type":"string"}}},"Dashboard":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"identifier":{"type":"string"},"description":{"type":"string"},"contentHtml":{"type":"object"},"isDefault":{"type":"boolean"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["name","identifier"]},"CreateDashboardDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"identifier":{"type":"string"},"description":{"type":"string"},"contentHtml":{"type":"object"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}},"required":["organization","name","identifier"]},"UpdateDashboardDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"identifier":{"type":"string"},"description":{"type":"string"},"contentHtml":{"type":"object"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"}}},"DashboardWidget":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"order":{"type":"number"},"size":{"type":"number"},"color":{"type":"string"},"isVisible":{"type":"boolean"},"options":{"type":"object"},"dashboard":{"$ref":"#/components/schemas/Dashboard"},"dashboardId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationTeam":{"$ref":"#/components/schemas/OrganizationTeam"},"organizationTeamId":{"type":"string"}},"required":["name"]},"CreateDashboardWidgetDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"order":{"type":"number"},"size":{"type":"number"},"color":{"type":"string"},"isVisible":{"type":"boolean"},"options":{"type":"object"},"dashboard":{"$ref":"#/components/schemas/Dashboard"},"dashboardId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationTeam":{"$ref":"#/components/schemas/OrganizationTeam"},"organizationTeamId":{"type":"string"}},"required":["organization","name"]},"UpdateDashboardWidgetDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"name":{"type":"string"},"order":{"type":"number"},"size":{"type":"number"},"color":{"type":"string"},"isVisible":{"type":"boolean"},"options":{"type":"object"},"dashboard":{"$ref":"#/components/schemas/Dashboard"},"dashboardId":{"type":"string"},"employee":{"$ref":"#/components/schemas/Employee"},"employeeId":{"type":"string"},"project":{"$ref":"#/components/schemas/OrganizationProject"},"projectId":{"type":"string"},"organizationTeam":{"$ref":"#/components/schemas/OrganizationTeam"},"organizationTeamId":{"type":"string"}}},"SharedEntity":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"token":{"type":"string"},"shareRules":{"type":"object"},"sharedOptions":{"type":"object"}},"required":["entity","entityId","token","shareRules"]},"CreateSharedEntityDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"shareRules":{"type":"object"},"sharedOptions":{"type":"object"}},"required":["organization","entity","entityId","shareRules"]},"UpdateSharedEntityDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"shareRules":{"type":"object"},"sharedOptions":{"type":"object"}},"required":["organization","shareRules"]},"Broadcast":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"content":{"type":"object"},"category":{"type":"string","enum":["STATUS_REPORT","MILESTONE","ANNOUNCEMENT","ALERT","DECISION","CHANGELOG"]},"visibilityMode":{"type":"string","enum":["ENTITY_MEMBERS","ORGANIZATION","RESTRICTED","EXTERNAL_VIEW"]},"audienceRules":{"type":"object"},"publishedAt":{"format":"date-time","type":"string"},"employeeId":{"type":"string"}},"required":["entity","entityId","title","content","category","visibilityMode"]},"CreateBroadcastDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"entity":{"type":"string","enum":["Broadcast","Candidate","Comment","Contact","Currency","DailyPlan","Dashboard","DashboardWidget","Employee","Expense","Invoice","Income","Language","Organization","OrganizationContact","OrganizationDepartment","OrganizationDocument","OrganizationProject","OrganizationTeam","OrganizationProjectModule","OrganizationSprint","OrganizationVendor","ResourceLink","ScreeningTask","OrganizationStrategicInitiative","Task","TaskLinkedIssue","TaskView","User","Tenant"]},"entityId":{"type":"string"},"title":{"type":"string"},"content":{"type":"object"},"category":{"type":"string","enum":["STATUS_REPORT","MILESTONE","ANNOUNCEMENT","ALERT","DECISION","CHANGELOG"]},"visibilityMode":{"type":"string","enum":["ENTITY_MEMBERS","ORGANIZATION","RESTRICTED","EXTERNAL_VIEW"]},"audienceRules":{"type":"object"},"publishedAt":{"format":"date-time","type":"string"}},"required":["organization","entity","entityId","title","content","category","visibilityMode"]},"UpdateBroadcastDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"title":{"type":"string"},"content":{"type":"object"},"category":{"type":"string","enum":["STATUS_REPORT","MILESTONE","ANNOUNCEMENT","ALERT","DECISION","CHANGELOG"]},"visibilityMode":{"type":"string","enum":["ENTITY_MEMBERS","ORGANIZATION","RESTRICTED","EXTERNAL_VIEW"]},"audienceRules":{"type":"object"},"publishedAt":{"format":"date-time","type":"string"}}},"OrganizationStrategicInitiative":{"type":"object","properties":{"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"tenantId":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"intent":{"type":"string"},"state":{"type":"string","enum":["draft","active","resolved","retired"]},"visibilityScope":{"type":"string","enum":["leadership","organization","team"]},"signals":{"type":"object"},"steward":{"type":"object"},"stewardId":{"type":"string"},"goals":{"type":"array","items":{"type":"string"}},"projects":{"type":"array","items":{"type":"string"}}},"required":["title","state","visibilityScope"]},"CreateOrganizationStrategicInitiativeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"title":{"type":"string"},"intent":{"type":"string"},"state":{"type":"string","enum":["draft","active","resolved","retired"]},"visibilityScope":{"type":"string","enum":["leadership","organization","team"]},"signals":{"type":"object"},"stewardId":{"type":"string"}},"required":["organization","title","state","visibilityScope"]},"UpdateOrganizationStrategicInitiativeDTO":{"type":"object","properties":{"tenant":{"type":"object"},"tenantId":{"type":"string"},"organization":{"type":"object"},"organizationId":{"type":"string"},"sentTo":{"type":"string"},"deletedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"createdAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The creation timestamp of the entity."},"updatedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z","description":"The last update timestamp of the entity."},"id":{"type":"string"},"isActive":{"type":"boolean","default":true},"isArchived":{"type":"boolean","default":false},"archivedAt":{"type":"string","format":"date-time","example":"2018-11-21T06:20:32.232Z"},"title":{"type":"string"},"intent":{"type":"string"},"state":{"type":"string","enum":["draft","active","resolved","retired"]},"visibilityScope":{"type":"string","enum":["leadership","organization","team"]},"signals":{"type":"object"},"stewardId":{"type":"string"}}},"UpdateOrganizationStrategicSignalsDTO":{"type":"object","properties":{"confidenceLevel":{"type":"string","enum":["low","medium","high"]},"perceivedMomentum":{"type":"string","enum":["stalled","progressing","accelerating"]},"knownRisks":{"type":"array","items":{"type":"string"}},"strategicNotes":{"type":"string"},"lastAssessedById":{"type":"string"}}}}},"externalDocs":{"description":"Find more info here","url":"https://docs.gauzy.co"}}