{ "openapi": "3.0.3", "info": { "title": "The AI powered ERP", "version": "1.0.0" }, "paths": { "/api/asset_type/": { "get": { "operationId": "api_asset_type_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AssetType" } } } }, "description": "" } } }, "post": { "operationId": "api_asset_type_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssetType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/AssetType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/AssetType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssetType" } } }, "description": "" } } } }, "/api/asset_type/{id}/": { "get": { "operationId": "api_asset_type_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssetType" } } }, "description": "" } } }, "put": { "operationId": "api_asset_type_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssetType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/AssetType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/AssetType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssetType" } } }, "description": "" } } }, "delete": { "operationId": "api_asset_type_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/attendance/": { "get": { "operationId": "api_attendance_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Attendance" } } } }, "description": "" } } } }, "/api/availability/": { "post": { "operationId": "api_availability_create", "tags": [ "api" ], "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "description": "No response body" } } } }, "/api/availability_list/": { "get": { "operationId": "api_availability_list_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Availability" } } } }, "description": "" } } } }, "/api/aws_delete_file/{key}/": { "delete": { "operationId": "api_aws_delete_file_destroy", "parameters": [ { "in": "path", "name": "key", "schema": { "type": "string" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/aws_upload_file/": { "post": { "operationId": "api_aws_upload_file_create", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "description": "No response body" } } } }, "/api/benefits/": { "get": { "operationId": "api_benefits_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Benefit" } } } }, "description": "" } } }, "post": { "operationId": "api_benefits_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Benefit" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Benefit" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Benefit" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Benefit" } } }, "description": "" } } } }, "/api/benefits/{id}/": { "get": { "operationId": "api_benefits_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Benefit" } } }, "description": "" } } }, "put": { "operationId": "api_benefits_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Benefit" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Benefit" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Benefit" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Benefit" } } }, "description": "" } } }, "delete": { "operationId": "api_benefits_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/change_password/": { "patch": { "operationId": "api_change_password_partial_update", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedUserPassword" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedUserPassword" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedUserPassword" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserPassword" } } }, "description": "" } } } }, "/api/companies/": { "get": { "operationId": "api_companies_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Company" } } } }, "description": "" } } }, "post": { "operationId": "api_companies_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Company" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Company" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } }, "description": "" } } } }, "/api/companies/{id}/": { "get": { "operationId": "api_companies_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } }, "description": "" } } }, "put": { "operationId": "api_companies_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Company" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Company" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Company" } } }, "description": "" } } }, "delete": { "operationId": "api_companies_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/compensation_schedule/": { "get": { "operationId": "api_compensation_schedule_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompensationSchedule" } } } }, "description": "" } } }, "post": { "operationId": "api_compensation_schedule_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } } }, "description": "" } } } }, "/api/compensation_schedule/{id}/": { "get": { "operationId": "api_compensation_schedule_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } } }, "description": "" } } }, "put": { "operationId": "api_compensation_schedule_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationSchedule" } } }, "description": "" } } }, "delete": { "operationId": "api_compensation_schedule_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/compensation_type/": { "get": { "operationId": "api_compensation_type_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CompensationType" } } } }, "description": "" } } }, "post": { "operationId": "api_compensation_type_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/CompensationType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/CompensationType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationType" } } }, "description": "" } } } }, "/api/compensation_type/{id}/": { "get": { "operationId": "api_compensation_type_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationType" } } }, "description": "" } } }, "put": { "operationId": "api_compensation_type_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/CompensationType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/CompensationType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompensationType" } } }, "description": "" } } }, "delete": { "operationId": "api_compensation_type_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/currency/": { "get": { "operationId": "api_currency_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Currency" } } } }, "description": "" } } }, "post": { "operationId": "api_currency_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Currency" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Currency" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Currency" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Currency" } } }, "description": "" } } } }, "/api/currency/{id}/": { "get": { "operationId": "api_currency_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Currency" } } }, "description": "" } } }, "put": { "operationId": "api_currency_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Currency" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Currency" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Currency" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Currency" } } }, "description": "" } } }, "delete": { "operationId": "api_currency_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/department/": { "get": { "operationId": "api_department_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Department" } } } }, "description": "" } } }, "post": { "operationId": "api_department_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Department" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Department" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Department" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Department" } } }, "description": "" } } } }, "/api/department/{id}/": { "get": { "operationId": "api_department_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Department" } } }, "description": "" } } }, "put": { "operationId": "api_department_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Department" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Department" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Department" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Department" } } }, "description": "" } } }, "delete": { "operationId": "api_department_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/document_type/": { "get": { "operationId": "api_document_type_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DocumentType" } } } }, "description": "" } } }, "post": { "operationId": "api_document_type_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/DocumentType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/DocumentType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentType" } } }, "description": "" } } } }, "/api/document_type/{id}/": { "get": { "operationId": "api_document_type_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentType" } } }, "description": "" } } }, "put": { "operationId": "api_document_type_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/DocumentType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/DocumentType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentType" } } }, "description": "" } } }, "delete": { "operationId": "api_document_type_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/documents/": { "get": { "operationId": "api_documents_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Document" } } } }, "description": "" } } }, "post": { "operationId": "api_documents_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Document" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Document" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Document" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Document" } } }, "description": "" } } } }, "/api/documents/{id}/": { "get": { "operationId": "api_documents_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Document" } } }, "description": "" } } }, "patch": { "operationId": "api_documents_partial_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedDocument" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedDocument" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedDocument" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Document" } } }, "description": "" } } }, "delete": { "operationId": "api_documents_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/employeement_type/": { "get": { "operationId": "api_employeement_type_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployeementType" } } } }, "description": "" } } }, "post": { "operationId": "api_employeement_type_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeementType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/EmployeementType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/EmployeementType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeementType" } } }, "description": "" } } } }, "/api/employeement_type/{id}/": { "get": { "operationId": "api_employeement_type_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeementType" } } }, "description": "" } } }, "put": { "operationId": "api_employeement_type_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeementType" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/EmployeementType" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/EmployeementType" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeementType" } } }, "description": "" } } }, "delete": { "operationId": "api_employeement_type_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/employees/": { "get": { "operationId": "api_employees_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployeeList" } } } }, "description": "" } } }, "post": { "operationId": "api_employees_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Employee" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Employee" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Employee" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Employee" } } }, "description": "" } } } }, "/api/employees/{id}/": { "get": { "operationId": "api_employees_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Employee" } } }, "description": "" } } }, "put": { "operationId": "api_employees_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeeUpdate" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/EmployeeUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/EmployeeUpdate" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeeUpdate" } } }, "description": "" } } }, "delete": { "operationId": "api_employees_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/employees/{id}/compensation/": { "get": { "operationId": "api_employees_compensation_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Compensation" } } }, "description": "" } } }, "post": { "operationId": "api_employees_compensation_create", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Compensation" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Compensation" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Compensation" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Compensation" } } }, "description": "" } } } }, "/api/employees/{id}/documents/": { "get": { "operationId": "api_employees_documents_list", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployeeDocument" } } } }, "description": "" } } }, "post": { "operationId": "api_employees_documents_create", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeeDocument" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/EmployeeDocument" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/EmployeeDocument" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployeeDocument" } } }, "description": "" } } } }, "/api/flags/": { "get": { "operationId": "api_flags_retrieve", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "description": "No response body" } } } }, "/api/folders/": { "get": { "operationId": "api_folders_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Folder" } } } }, "description": "" } } }, "post": { "operationId": "api_folders_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Folder" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Folder" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Folder" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Folder" } } }, "description": "" } } } }, "/api/folders/{id}/": { "get": { "operationId": "api_folders_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FolderDetail" } } }, "description": "" } } }, "patch": { "operationId": "api_folders_partial_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedFolder" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedFolder" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedFolder" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Folder" } } }, "description": "" } } }, "delete": { "operationId": "api_folders_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/institues/": { "get": { "operationId": "api_institues_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Institue" } } } }, "description": "" } } }, "post": { "operationId": "api_institues_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Institue" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Institue" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Institue" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Institue" } } }, "description": "" } } } }, "/api/institues/{id}/": { "get": { "operationId": "api_institues_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Institue" } } }, "description": "" } } }, "put": { "operationId": "api_institues_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Institue" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Institue" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Institue" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Institue" } } }, "description": "" } } }, "delete": { "operationId": "api_institues_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/leave/": { "get": { "operationId": "api_leave_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Leave" } } } }, "description": "" } } } }, "/api/leave/{id}/": { "patch": { "operationId": "api_leave_partial_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedLeaveUpdate" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedLeaveUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedLeaveUpdate" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LeaveUpdate" } } }, "description": "" } } } }, "/api/login/": { "post": { "operationId": "api_login_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Login" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Login" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Login" } } }, "required": true }, "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Login" } } }, "description": "" } } } }, "/api/me/": { "get": { "operationId": "api_me_retrieve", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Me" } } }, "description": "" } } } }, "/api/me-notification/update/": { "put": { "operationId": "api_me_notification_update_update", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeUpdateNotification" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/MeUpdateNotification" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/MeUpdateNotification" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeUpdateNotification" } } }, "description": "" } } } }, "/api/me/update/": { "put": { "operationId": "api_me_update_update", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeUpdate" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/MeUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/MeUpdate" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeUpdate" } } }, "description": "" } } } }, "/api/module/": { "get": { "operationId": "api_module_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Module" } } } }, "description": "" } } }, "post": { "operationId": "api_module_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Module" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Module" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Module" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Module" } } }, "description": "" } } } }, "/api/module/{id}/": { "get": { "operationId": "api_module_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Module" } } }, "description": "" } } }, "put": { "operationId": "api_module_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Module" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Module" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Module" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Module" } } }, "description": "" } } }, "delete": { "operationId": "api_module_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/organization/": { "get": { "operationId": "api_organization_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Organization" } } } }, "description": "" } } }, "post": { "operationId": "api_organization_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Organization" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "description": "" } } } }, "/api/organization-module/": { "get": { "operationId": "api_organization_module_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OrganizationModule" } } } }, "description": "" } } }, "post": { "operationId": "api_organization_module_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } } }, "description": "" } } } }, "/api/organization-module/{id}/": { "get": { "operationId": "api_organization_module_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } } }, "description": "" } } }, "put": { "operationId": "api_organization_module_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrganizationModule" } } }, "description": "" } } }, "delete": { "operationId": "api_organization_module_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/organization/{id}/": { "get": { "operationId": "api_organization_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "description": "" } } }, "put": { "operationId": "api_organization_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Organization" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Organization" } } }, "description": "" } } }, "delete": { "operationId": "api_organization_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/organization_modules/": { "get": { "operationId": "api_organization_modules_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Module" } } } }, "description": "" } } } }, "/api/owner/onboard/": { "post": { "operationId": "api_owner_onboard_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OwnerOnBoarding" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/OwnerOnBoarding" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/OwnerOnBoarding" } } }, "required": true }, "security": [ { "cookieAuth": [] }, {} ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OwnerOnBoarding" } } }, "description": "" } } } }, "/api/password-reset/": { "post": { "operationId": "api_password_reset_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResendEmailCode" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/ResendEmailCode" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/ResendEmailCode" } } }, "required": true }, "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResendEmailCode" } } }, "description": "" } } } }, "/api/password-reset-complete/": { "post": { "operationId": "api_password_reset_complete_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordResetComplete" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PasswordResetComplete" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PasswordResetComplete" } } }, "required": true }, "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordResetComplete" } } }, "description": "" } } } }, "/api/password-reset-confirm/": { "post": { "operationId": "api_password_reset_confirm_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordResetConfirm" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PasswordResetConfirm" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PasswordResetConfirm" } } }, "required": true }, "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasswordResetConfirm" } } }, "description": "" } } } }, "/api/payroll/": { "get": { "operationId": "api_payroll_list", "description": "Verify that the current user is authenticated.", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Payroll" } } } }, "description": "" } } }, "post": { "operationId": "api_payroll_create", "description": "Verify that the current user is authenticated.", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payroll" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Payroll" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Payroll" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payroll" } } }, "description": "" } } } }, "/api/payroll/{id}/": { "get": { "operationId": "api_payroll_retrieve", "description": "Verify that the current user is authenticated.", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payroll" } } }, "description": "" } } }, "patch": { "operationId": "api_payroll_partial_update", "description": "Verify that the current user is authenticated.", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedPayroll" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedPayroll" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedPayroll" } } } }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payroll" } } }, "description": "" } } }, "delete": { "operationId": "api_payroll_destroy", "description": "Verify that the current user is authenticated.", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/programs/": { "get": { "operationId": "api_programs_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Program" } } } }, "description": "" } } }, "post": { "operationId": "api_programs_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Program" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Program" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Program" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Program" } } }, "description": "" } } } }, "/api/programs/{id}/": { "get": { "operationId": "api_programs_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Program" } } }, "description": "" } } }, "put": { "operationId": "api_programs_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Program" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Program" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Program" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Program" } } }, "description": "" } } }, "delete": { "operationId": "api_programs_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/role/": { "get": { "operationId": "api_role_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Role" } } } }, "description": "" } } } }, "/api/slack/attendance/": { "post": { "operationId": "api_slack_attendance_create", "tags": [ "api" ], "security": [ { "cookieAuth": [] }, {} ], "responses": { "200": { "description": "No response body" } } } }, "/api/standup/": { "get": { "operationId": "api_standup_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Standup" } } } }, "description": "" } } }, "post": { "operationId": "api_standup_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Standup" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "description": "" } } } }, "/api/standup/{id}/": { "get": { "operationId": "api_standup_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "description": "" } } }, "put": { "operationId": "api_standup_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Standup" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "description": "" } } }, "delete": { "operationId": "api_standup_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/standup/{id}/members/": { "get": { "operationId": "api_standup_members_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Standup" } } }, "description": "" } } } }, "/api/standup_update/": { "get": { "operationId": "api_standup_update_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StandupUpdate" } } } }, "description": "" } } }, "post": { "operationId": "api_standup_update_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } } }, "description": "" } } } }, "/api/standup_update/{id}/": { "get": { "operationId": "api_standup_update_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } } }, "description": "" } } }, "put": { "operationId": "api_standup_update_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StandupUpdate" } } }, "description": "" } } }, "delete": { "operationId": "api_standup_update_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/team/": { "get": { "operationId": "api_team_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Team" } } } }, "description": "" } } }, "post": { "operationId": "api_team_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Team" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Team" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Team" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Team" } } }, "description": "" } } } }, "/api/team/{id}/": { "get": { "operationId": "api_team_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Team" } } }, "description": "" } } }, "put": { "operationId": "api_team_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Team" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Team" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Team" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Team" } } }, "description": "" } } }, "delete": { "operationId": "api_team_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/users/": { "get": { "operationId": "api_users_list", "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/User" } } } }, "description": "" } } }, "post": { "operationId": "api_users_create", "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/User" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/User" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } }, "description": "" } } } }, "/api/users/{id}/": { "get": { "operationId": "api_users_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } }, "description": "" } } }, "put": { "operationId": "api_users_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/User" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/User" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } } }, "description": "" } } }, "delete": { "operationId": "api_users_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } }, "/api/users/{id}/access/": { "get": { "operationId": "api_users_access_list", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserModuleRole" } } } }, "description": "" } } }, "post": { "operationId": "api_users_access_create", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } } }, "description": "" } } } }, "/api/users/access/{id}/": { "get": { "operationId": "api_users_access_retrieve", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } } }, "description": "" } } }, "put": { "operationId": "api_users_access_update", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } } }, "required": true }, "security": [ { "cookieAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserModuleRole" } } }, "description": "" } } }, "delete": { "operationId": "api_users_access_destroy", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer" }, "required": true } ], "tags": [ "api" ], "security": [ { "cookieAuth": [] } ], "responses": { "204": { "description": "No response body" } } } } }, "components": { "schemas": { "Asset": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "attribute_values": { "type": "object", "additionalProperties": {} }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "type": { "type": "integer" } }, "required": [ "attribute_values", "created_at", "id", "name", "type", "updated_at" ] }, "AssetType": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "attributes": { "type": "object", "additionalProperties": {} }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "attributes", "created_at", "id", "name", "updated_at" ] }, "Attendance": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "employee": { "type": "integer" }, "time_in": { "type": "string", "format": "date-time", "readOnly": true }, "time_out": { "type": "string", "format": "date-time", "nullable": true } }, "required": [ "employee", "id", "time_in" ] }, "Availability": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "employee": { "type": "integer" }, "message": { "type": "string" } }, "required": [ "employee", "id", "message" ] }, "Benefit": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 64 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "BlankEnum": { "enum": [ "" ] }, "Company": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "image": { "type": "string", "format": "uri", "nullable": true, "maxLength": 200 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Compensation": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "current_salary": { "type": "number", "format": "double", "readOnly": true }, "rate": { "type": "number", "format": "double" }, "max_hours_per_week": { "type": "integer", "nullable": true }, "expected_hours_per_week": { "type": "integer", "nullable": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "compensation_type": { "type": "integer" }, "compensation_schedule": { "type": "integer" }, "currency": { "type": "integer" } }, "required": [ "compensation_schedule", "compensation_type", "currency", "current_salary", "id", "rate", "updated_at" ] }, "CompensationSchedule": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "is_weekly": { "type": "boolean" }, "is_monthly": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "CompensationType": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "is_hourly": { "type": "boolean" }, "is_monthly": { "type": "boolean" }, "is_milestone": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Currency": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "code": { "type": "string", "maxLength": 3 }, "symbol": { "type": "string", "maxLength": 3 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "code", "created_at", "id", "symbol", "updated_at" ] }, "Degree": { "type": "object", "properties": { "program": { "type": "integer" }, "institute": { "type": "integer" }, "year": { "type": "string", "format": "date" } }, "required": [ "institute", "program", "year" ] }, "Department": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 64 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Document": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "maxLength": 255 }, "text": { "type": "string" }, "folder": { "type": "integer", "nullable": true }, "document_link": { "type": "string", "format": "uri", "nullable": true, "maxLength": 200 }, "created_by": { "type": "integer", "nullable": true } }, "required": [ "id", "text" ] }, "DocumentType": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Employee": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user": { "$ref": "#/components/schemas/EmployeeUser" }, "degrees": { "type": "array", "items": { "$ref": "#/components/schemas/Degree" } }, "assets": { "type": "array", "items": { "$ref": "#/components/schemas/Asset" } }, "experience": { "type": "array", "items": { "$ref": "#/components/schemas/Experirence" } }, "org_id": { "type": "string", "readOnly": true }, "managing": { "type": "array", "items": { "type": "integer", "writeOnly": true }, "writeOnly": true }, "total_experience": { "type": "string", "readOnly": true }, "nic": { "type": "string", "maxLength": 25 }, "date_of_joining": { "type": "string", "format": "date" }, "emergency_contact_number": { "type": "string", "maxLength": 20 }, "designation": { "type": "string", "maxLength": 50 }, "salary": { "type": "integer", "nullable": true }, "leave_count": { "type": "integer" }, "user_allowed": { "type": "boolean" }, "availability_start_time": { "type": "string", "format": "time", "nullable": true }, "availability_end_time": { "type": "string", "format": "time", "nullable": true }, "weekly_available_hours": { "type": "integer", "nullable": true }, "monthly_available_hours": { "type": "integer", "nullable": true }, "availability_last_msg": { "type": "string", "nullable": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "department": { "type": "integer", "nullable": true }, "manager": { "type": "integer", "nullable": true }, "type": { "type": "integer", "nullable": true }, "currency": { "type": "integer", "nullable": true }, "benefits": { "type": "array", "items": { "type": "integer" } } }, "required": [ "assets", "created_at", "date_of_joining", "degrees", "designation", "emergency_contact_number", "experience", "id", "managing", "nic", "org_id", "total_experience", "updated_at", "user" ] }, "EmployeeDocument": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "type": { "type": "integer", "nullable": true }, "document_url": { "type": "string", "format": "uri", "maxLength": 200 } }, "required": [ "document_url", "id", "name" ] }, "EmployeeList": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "org_id": { "type": "string", "readOnly": true }, "first_name": { "type": "string", "readOnly": true }, "last_name": { "type": "string", "readOnly": true }, "contact_number": { "type": "string", "readOnly": true }, "date_of_joining": { "type": "string", "format": "date" }, "image": { "type": "string", "readOnly": true } }, "required": [ "contact_number", "date_of_joining", "first_name", "id", "image", "last_name", "org_id" ] }, "EmployeeUpdate": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user": { "$ref": "#/components/schemas/EmployeeUpdateUser" }, "degrees": { "type": "array", "items": { "$ref": "#/components/schemas/Degree" } }, "assets": { "type": "array", "items": { "$ref": "#/components/schemas/Asset" } }, "experience": { "type": "array", "items": { "$ref": "#/components/schemas/Experirence" } }, "org_id": { "type": "string", "readOnly": true }, "managing": { "type": "array", "items": { "type": "integer", "writeOnly": true }, "writeOnly": true }, "total_experience": { "type": "string", "readOnly": true }, "is_deleted": { "type": "boolean" }, "deleted_at": { "type": "string", "format": "date-time", "nullable": true }, "emergency_contact_number": { "type": "string", "maxLength": 20 }, "designation": { "type": "string", "maxLength": 50 }, "salary": { "type": "integer", "nullable": true }, "leave_count": { "type": "integer" }, "user_allowed": { "type": "boolean" }, "availability_start_time": { "type": "string", "format": "time", "nullable": true }, "availability_end_time": { "type": "string", "format": "time", "nullable": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "department": { "type": "integer", "nullable": true }, "manager": { "type": "integer", "nullable": true }, "type": { "type": "integer", "nullable": true }, "currency": { "type": "integer", "nullable": true }, "benefits": { "type": "array", "items": { "type": "integer" } } }, "required": [ "assets", "created_at", "degrees", "designation", "emergency_contact_number", "experience", "id", "managing", "org_id", "total_experience", "updated_at", "user" ] }, "EmployeeUpdateUser": { "type": "object", "properties": { "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "email": { "type": "string", "format": "email", "readOnly": true }, "image": { "type": "string", "format": "uri", "maxLength": 200 }, "contact_number": { "type": "string", "nullable": true, "maxLength": 20 }, "default_role": { "type": "integer", "nullable": true } }, "required": [ "email" ] }, "EmployeeUser": { "type": "object", "properties": { "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "email": { "type": "string", "format": "email" }, "image": { "type": "string", "format": "uri", "maxLength": 200 }, "contact_number": { "type": "string", "nullable": true, "maxLength": 20 }, "default_role": { "type": "integer", "nullable": true } }, "required": [ "email" ] }, "EmployeementType": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 64 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Experirence": { "type": "object", "properties": { "title": { "type": "string", "maxLength": 255 }, "company": { "type": "integer" }, "start_date": { "type": "string", "format": "date" }, "end_date": { "type": "string", "format": "date" } }, "required": [ "company", "end_date", "start_date", "title" ] }, "Folder": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 30 }, "document_count": { "type": "string", "readOnly": true } }, "required": [ "document_count", "id", "name" ] }, "FolderDetail": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 30 }, "documents": { "type": "array", "items": { "$ref": "#/components/schemas/Document" } } }, "required": [ "documents", "id", "name" ] }, "Institue": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "image": { "type": "string", "format": "uri", "nullable": true, "maxLength": 200 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "Leave": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "leave_type": { "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/LeaveTypeEnum" }, { "$ref": "#/components/schemas/BlankEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] }, "leave_from": { "type": "string", "format": "date" }, "leave_to": { "type": "string", "format": "date" }, "description": { "type": "string" }, "hr_comment": { "type": "string", "nullable": true }, "status": { "$ref": "#/components/schemas/Status913Enum" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "employee": { "type": "integer" }, "updated_by": { "type": "integer", "nullable": true }, "organization": { "type": "integer" } }, "required": [ "created_at", "description", "employee", "id", "leave_from", "leave_to", "organization", "updated_at" ] }, "LeaveTypeEnum": { "enum": [ "sick leave", "annual leave", "casual leave" ], "type": "string" }, "LeaveUpdate": { "type": "object", "properties": { "status": { "$ref": "#/components/schemas/Status913Enum" }, "hr_comment": { "type": "string", "nullable": true }, "leave_type": { "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/LeaveTypeEnum" }, { "$ref": "#/components/schemas/BlankEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] } } }, "Login": { "type": "object", "properties": { "email": { "type": "string", "format": "email" }, "password": { "type": "string" } }, "required": [ "email", "password" ] }, "Me": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "email": { "type": "string", "format": "email", "title": "Email address", "maxLength": 254 }, "organization": { "type": "string", "default": "" }, "image": { "type": "string", "format": "uri", "maxLength": 200 }, "is_superuser": { "type": "boolean", "title": "Superuser status", "description": "Designates that this user has all permissions without explicitly assigning them." }, "headline": { "type": "string", "nullable": true, "maxLength": 255 }, "contact_number": { "type": "string", "nullable": true, "maxLength": 20 }, "allowed_modules": { "type": "string", "readOnly": true }, "emp_id": { "type": "integer" } }, "required": [ "allowed_modules", "email", "id" ] }, "MeUpdate": { "type": "object", "properties": { "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "image": { "type": "string", "format": "uri", "maxLength": 200 }, "contact_number": { "type": "string", "nullable": true, "maxLength": 20 }, "headline": { "type": "string", "nullable": true, "maxLength": 255 } } }, "MeUpdateNotification": { "type": "object", "properties": { "bill_update_email": { "type": "boolean" }, "bill_update_phone": { "type": "boolean" }, "new_team_member_email": { "type": "boolean" }, "new_team_member_phone": { "type": "boolean" }, "newsletters_email": { "type": "boolean" }, "newsletters_phone": { "type": "boolean" } } }, "Module": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "slug": { "allOf": [ { "$ref": "#/components/schemas/SlugEnum" } ], "pattern": "^[-a-zA-Z0-9_]+$" }, "name": { "type": "string", "maxLength": 64 }, "is_enabled": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "slug", "updated_at" ] }, "NullEnum": { "enum": [ null ] }, "Organization": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 50 }, "address": { "type": "string", "maxLength": 200 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "address", "created_at", "id", "name", "updated_at" ] }, "OrganizationModule": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "is_enabled": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "module": { "type": "integer" }, "organization": { "type": "integer" } }, "required": [ "created_at", "id", "module", "organization", "updated_at" ] }, "OwnerEmployee": { "type": "object", "properties": { "date_of_joining": { "type": "string", "format": "date" }, "nic": { "type": "string", "maxLength": 25 } }, "required": [ "date_of_joining", "nic" ] }, "OwnerOnBoarding": { "type": "object", "properties": { "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "email": { "type": "string", "format": "email", "title": "Email address", "maxLength": 254 }, "organization": { "$ref": "#/components/schemas/Organization" }, "employee": { "$ref": "#/components/schemas/OwnerEmployee" } }, "required": [ "email", "organization" ] }, "PasswordResetComplete": { "type": "object", "properties": { "uidb64": { "type": "string" }, "password": { "type": "string" }, "password2": { "type": "string" } }, "required": [ "password", "password2", "uidb64" ] }, "PasswordResetConfirm": { "type": "object", "properties": { "uidb64": { "type": "string" }, "token": { "type": "string" } }, "required": [ "token", "uidb64" ] }, "PatchedDocument": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "maxLength": 255 }, "text": { "type": "string" }, "folder": { "type": "integer", "nullable": true }, "document_link": { "type": "string", "format": "uri", "nullable": true, "maxLength": 200 }, "created_by": { "type": "integer", "nullable": true } } }, "PatchedFolder": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 30 }, "document_count": { "type": "string", "readOnly": true } } }, "PatchedLeaveUpdate": { "type": "object", "properties": { "status": { "$ref": "#/components/schemas/Status913Enum" }, "hr_comment": { "type": "string", "nullable": true }, "leave_type": { "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/LeaveTypeEnum" }, { "$ref": "#/components/schemas/BlankEnum" }, { "$ref": "#/components/schemas/NullEnum" } ] } } }, "PatchedPayroll": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "amount": { "type": "number", "format": "double" }, "tax": { "type": "number", "format": "double" }, "currency_convesion_rates": { "type": "object", "additionalProperties": {} }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "employee": { "type": "integer" }, "currency": { "type": "integer" } } }, "PatchedUserPassword": { "type": "object", "properties": { "password": { "type": "string", "minLength": 8 }, "old_password": { "type": "string" } } }, "Payroll": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "amount": { "type": "number", "format": "double" }, "tax": { "type": "number", "format": "double" }, "currency_convesion_rates": { "type": "object", "additionalProperties": {} }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "employee": { "type": "integer" }, "currency": { "type": "integer" } }, "required": [ "amount", "created_at", "currency", "currency_convesion_rates", "employee", "id", "tax", "updated_at" ] }, "PermissionEnum": { "enum": [ "c", "b", "a" ], "type": "string" }, "Program": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "ResendEmailCode": { "type": "object", "properties": { "email": { "type": "string", "format": "email" } }, "required": [ "email" ] }, "Role": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 64 }, "permission": { "$ref": "#/components/schemas/PermissionEnum" }, "is_default": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [ "created_at", "id", "name", "updated_at" ] }, "SlugEnum": { "enum": [ "payroll", "user", "employees", "inventory", "settings", "leave", "standup", "availability_messages" ], "type": "string" }, "Standup": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "time": { "type": "string", "format": "time" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "team": { "type": "integer" } }, "required": [ "created_at", "id", "name", "team", "time", "updated_at" ] }, "StandupUpdate": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "date": { "type": "string", "readOnly": true }, "status": { "$ref": "#/components/schemas/StandupUpdateStatusEnum" }, "work_done_yesterday": { "type": "string", "nullable": true }, "work_to_do": { "type": "string", "nullable": true }, "blockers": { "type": "string", "nullable": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "standup": { "type": "integer" }, "employee": { "type": "integer" } }, "required": [ "created_at", "date", "employee", "id", "standup", "status", "updated_at" ] }, "StandupUpdateStatusEnum": { "enum": [ "missed", "joined", "leave" ], "type": "string" }, "Status913Enum": { "enum": [ "pending", "approved", "denied" ], "type": "string" }, "Team": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "maxLength": 128 }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "members": { "type": "array", "items": { "type": "integer" } } }, "required": [ "created_at", "id", "members", "name", "updated_at" ] }, "User": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "first_name": { "type": "string", "maxLength": 150 }, "last_name": { "type": "string", "maxLength": 150 }, "email": { "type": "string", "format": "email", "title": "Email address", "maxLength": 254 }, "image": { "type": "string", "format": "uri", "maxLength": 200 }, "contact_number": { "type": "string", "nullable": true, "maxLength": 20 }, "default_role": { "type": "integer", "nullable": true } }, "required": [ "email", "id" ] }, "UserModuleRole": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "module": { "type": "integer" }, "role": { "type": "integer" } }, "required": [ "id", "module", "role" ] }, "UserPassword": { "type": "object", "properties": { "password": { "type": "string", "minLength": 8 }, "old_password": { "type": "string" } }, "required": [ "old_password", "password" ] } }, "securitySchemes": { "cookieAuth": { "type": "apiKey", "in": "cookie", "name": "sessionid" } } } }