{"openapi":"3.0.0","paths":{"/api/v1/users/companies/{companyId}/dealers/{id}":{"patch":{"operationId":"CompanyDealerController_updateCompanyDealer_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyCompanyDTO"}}}},"responses":{"204":{"description":"Update a company dealers by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company dealers by id","tags":["Company Dealer"]},"get":{"description":"Retrieve detailed information about a specific dealer by ID.","operationId":"CompanyDealerController_getDealerDetail_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Detailed dealer information retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDetailResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get Detailed Dealer Information","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/import/template":{"get":{"description":"Download template import for dealer","operationId":"CompanyDealerController_downloadTemplateImport_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Download template import successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadImportTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Download template import dealers","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers":{"get":{"operationId":"CompanyDealerController_getCompanyDealers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company dealers successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyDealerResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of company dealers by company id","tags":["Company Dealer"]},"post":{"operationId":"CompanyDealerController_registerNewDealer_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyCompanyDTO"}}}},"responses":{"204":{"description":"Create dealers user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create dealers user","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/import":{"post":{"description":"Import multiple dealers from an XLSX file. The file should contain columns: Name, Register Number, Email","operationId":"CompanyDealerController_importDealers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Import dealers completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportCompanyLinkResponseDTO"}}}},"400":{"description":"Invalid file type was uploaded. Only XLSX files are allowed."},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Import dealers from XLSX file","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/unlink":{"delete":{"operationId":"CompanyDealerController_unlinkDealer_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Unlink dealers user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Unlink dealers user","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/resend-invitation":{"post":{"operationId":"CompanyDealerController_reInvitationCompanyDealer_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Resend invitation dealers user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Resend invitation dealers user","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/vehicle/{vehicleId}/unlink":{"post":{"operationId":"CompanyDealerController_unlinkDealerFromVehicle_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"vehicleId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Unlink vehicle from dealer successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Unlink vehicle from dealer","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/vehicle/import/template":{"get":{"description":"Download template import pers for subcontractor","operationId":"CompanyDealerController_downloadTemplateImportPers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Download template import pers successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadImportTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Download template import pers","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/vehicle/export":{"get":{"description":"Export vehicles to dealer","operationId":"CompanyDealerController_exportDealerVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Export vehicles to dealer successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Export vehicles to dealer","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/dealers/{id}/vehicle/import":{"post":{"operationId":"CompanyDealerController_importPers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Import vehicles to dealer successfully"},"400":{"description":"Invalid file type was uploaded. Only XLSX files are allowed."},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Import vehicles to dealer","tags":["Company Dealer"]}},"/api/v1/users/companies/{companyId}/manufacturers/{id}/status":{"patch":{"operationId":"CompanyManufacturersController_updateStatusCompanyManufacturersStatus_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusCompanyManufacturersDTO"}}}},"responses":{"200":{"description":"Update status company manufacturers by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyManufacturersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Update status company manufacturers by id","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/manufacturers":{"get":{"operationId":"CompanyManufacturersController_getCompanyManufacturers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get company manufacturers successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyManufacturersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get a list of company manufacturers by company id","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/manufacturers/{id}":{"delete":{"operationId":"CompanyManufacturersController_deleteCompanyManufacturers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Delete manufacturers user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyManufacturersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Delete manufacturers user","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/subcontractors/import/template":{"get":{"description":"Download template import for subcontractor","operationId":"CompanySubcontractorController_downloadTemplateImport_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Download template import successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadImportTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Download template import subcontractors","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}":{"patch":{"operationId":"CompanySubcontractorController_updateCompanySubcontractor_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyCompanyDTO"}}}},"responses":{"204":{"description":"Update a company subcontractors by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company subcontractors by id","tags":["Company Subcontractor"]},"get":{"description":"Retrieve detailed information about a subcontractor including accessible brands and models, available PERS, and users associated with the subcontractor.","operationId":"CompanySubcontractorController_getSubcontractorDetail_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Detailed subcontractor information retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubcontractorDetailResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get Detailed Subcontractor Information","tags":["Company Subcontractor"]},"delete":{"operationId":"CompanySubcontractorController_deleteCompanySubcontractor_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete subcontractors user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete subcontractors user","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/template-import-pers":{"get":{"description":"Download template import pers for subcontractor","operationId":"CompanySubcontractorController_downloadTemplateImportPers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Download template import pers successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadImportTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Download template import pers","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors":{"get":{"operationId":"CompanySubcontractorController_getCompanySubcontractors_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company subcontractors successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanySubcontractorResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of company subcontractors by company id","tags":["Company Subcontractor"]},"post":{"operationId":"CompanySubcontractorController_createCompanySubcontractor_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyCompanyDTO"}}}},"responses":{"204":{"description":"Create subcontractors user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create subcontractors user","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/import":{"post":{"description":"Import multiple subcontractors from an XLSX file. The file should contain columns: Name, Register Number, Email","operationId":"CompanySubcontractorController_importSubcontractors_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Import subcontractors completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportCompanyLinkResponseDTO"}}}},"400":{"description":"Invalid file type was uploaded. Only XLSX files are allowed."},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Import subcontractors from XLSX file","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}/resend-invitation":{"post":{"operationId":"CompanySubcontractorController_reInvitationCompanySubcontractor_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Resend invitation subcontractors user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Resend invitation subcontractors user","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}/manage-brand":{"post":{"operationId":"CompanySubcontractorController_manageBrand_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManageBrandCompanySubcontractorDTO"}}}},"responses":{"204":{"description":"Manage brand subcontractors user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Manage brand subcontractors user","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}/import-pers":{"post":{"description":"Import pers to subcontractor","operationId":"CompanySubcontractorController_importPers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Import pers to subcontractor successfully"},"400":{"description":"Invalid file type was uploaded. Only XLSX files are allowed."},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Import pers to subcontractor","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}/manage-pers":{"post":{"operationId":"CompanySubcontractorController_managePers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagePersCompanySubcontractorDTO"}}}},"responses":{"204":{"description":"Manage pers subcontractors user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Manage pers subcontractors user","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/subcontractors/{id}/export-pers":{"get":{"description":"Export pers to subcontractor","operationId":"CompanySubcontractorController_exportPers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Export pers to subcontractor successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Export pers to subcontractor","tags":["Company Subcontractor"]}},"/api/v1/users/companies/{companyId}/team/roles/allow-to-manage":{"get":{"description":"Get company allow to manage roles","operationId":"CompanyTeamRoleConfigurationController_getCompanyAllowToManage_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleManagerId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyAllowToManageDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get company allow to manage roles","tags":["Company Team Role"]},"patch":{"description":"Update company allow to manage roles","operationId":"CompanyTeamRoleConfigurationController_updateCompanyAllowToManage_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateCompanyAllowToManageDTO"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyAllowToManageDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update company allow to manage roles","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/roles/configuration":{"get":{"description":"Get roles configuration for company","operationId":"CompanyTeamRoleConfigurationController_getCompanyRolesConfiguration_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyRoleConfigurationDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get roles configuration for company","tags":["Company Team Role"]},"patch":{"description":"Update roles configuration for company","operationId":"CompanyTeamRoleConfigurationController_updateCompanyRolesConfiguration_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateCompanyRoleConfigurationDTO"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update roles configuration for company","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/permissions":{"get":{"description":"Get list of permissions for company","operationId":"CompanyTeamRoleController_getCompanyTeamPermissions_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamPermissionsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list of permissions for company","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/roles":{"get":{"description":"Get list of roles for company","operationId":"CompanyTeamRoleController_getCompanyTeamRoles_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"title","required":false,"in":"query","schema":{"type":"string"}},{"name":"roleManagerId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyRoleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list of roles for company","tags":["Company Team Role"]},"post":{"description":"Create team roles for company","operationId":"CompanyTeamRoleController_createCompanyTeamRoles_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyTeamRoleDTO"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create team roles for company","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/roles/{roleId}":{"patch":{"description":"Update team roles for company","operationId":"CompanyTeamRoleController_updateCompanyTeamRoles_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyRoleDTO"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRoleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update team roles for company","tags":["Company Team Role"]},"delete":{"description":"Delete team roles for company","operationId":"CompanyTeamRoleController_deleteCompanyTeamRoles_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete team roles for company","tags":["Company Team Role"]},"get":{"description":"Get list of roles for company","operationId":"CompanyTeamRoleController_getCompanyTeamRoleById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRoleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list of roles for company","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/roles/{roleId}/translation":{"post":{"description":"Create translation for company team role","operationId":"CompanyTeamRoleController_createCompanyTeamRolesTranslation_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertCompanyRoleTranslationDTO"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create translation for company team role","tags":["Company Team Role"]}},"/api/v1/users/companies/{companyId}/team/roles/{roleId}/translation/{translationId}":{"delete":{"description":"Delete translation for company team role","operationId":"CompanyTeamRoleController_deleteCompanyTeamRolesTranslation_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"roleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"translationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete translation for company team role","tags":["Company Team Role"]}},"/api/v1/users/switch-to/members":{"get":{"description":"Retrieves a paginated list of companies with their members that can be switched to. Requires switch-to permission.","operationId":"SwitchToController_getCompaniesForSwitchTo_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyName","required":false,"in":"query","schema":{"type":"string"}},{"name":"memberName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Companies list retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCompaniesForSwitchToResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get companies list with members for switch-to","tags":["Switch To"]}},"/api/v1/users/switch-to/members/{userCompanyId}":{"post":{"description":"Switches the current session to impersonate another user. Requires valid switch-to password and reason. Returns new authentication tokens for the target user.","operationId":"SwitchToController_switchToUser_v1","parameters":[{"name":"userCompanyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchToRequestDTO"}}}},"responses":{"200":{"description":"Successfully switched to target user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchToResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Switch to another user account","tags":["Switch To"]}},"/api/v1/users/companies/{companyId}/pers/{persId}/current-data":{"get":{"operationId":"UserCompanyPersLinkController_getPersAlerts_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"persId","required":true,"in":"path","schema":{"type":"string"}},{"name":"languageId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of Pers Alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersCurrentDataDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of Pers Alert","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/pers":{"get":{"operationId":"UserCompanyPersLinkController_getCompanyById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialPersNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"modelPers","required":false,"in":"query","schema":{"type":"string"}},{"name":"firmwareVersionId","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialNumberFastSearch","required":false,"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":"manufacturer","required":false,"in":"query","schema":{"type":"string"}},{"name":"subcontractor","required":false,"in":"query","schema":{"type":"string"}},{"name":"associateStatus","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}}],"responses":{"200":{"description":"Get list pers of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCompanyPersLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list pers of company","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/pers/{persSerialNumber}":{"get":{"operationId":"UserCompanyPersLinkController_getCompanyPersLink_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Validate pers with company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyPersLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Validate pers with company","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/available-pers-to-vehicle":{"get":{"operationId":"UserCompanyPersLinkController_getAvailablePersToVehicle_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"nuSerialPersNumber","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list pers available to link to vehicle successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListBasePersDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list pers available to link to vehicle","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/vehicle-brand":{"get":{"operationId":"UserCompanyVehicleBrandLink_getCompanyById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"type":"number"}},{"name":"persId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list vehicle brand of company successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get list vehicle brand of company","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/vehicles":{"get":{"operationId":"UserCompanyVehicleLinkController_getCompanyListVehicle_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"persDistanceStart","required":false,"in":"query","schema":{"type":"number"}},{"name":"persDistanceEnd","required":false,"in":"query","schema":{"type":"number"}},{"name":"rider","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"name":"fastSearchString","required":false,"in":"query","schema":{"type":"string"}},{"name":"offset","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get list vehicle of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCompanyVehicleLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list vehicle of company","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/riders":{"get":{"operationId":"UserCompanyVehicleLinkController_getRidersList_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrandId","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"typeOfRider","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"name":"from","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Get list rider of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseListRiders"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list rider of company","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/pers-to-vehicle":{"post":{"description":"Creates a new Pers to Vehicle relationship","operationId":"UserCompanyVehicleLinkController_create_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersToVehicleDTO"}}}},"responses":{"201":{"description":"The record has been successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersToVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create Pers to Vehicle","tags":["Companies"]},"get":{"description":"Retrieves a list of Pers to Vehicle","operationId":"UserCompanyVehicleLinkController_getList_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialPersNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleModel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"The record has been successfully retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPersToVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of Pers to Vehicle","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/pers-to-vehicle/{id}":{"patch":{"description":"Updates an existing Pers to Vehicle relationship","operationId":"UserCompanyVehicleLinkController_updateById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersToVehicleDTO"}}}},"responses":{"200":{"description":"The record has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersToVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Pers to Vehicle","tags":["Companies"]}},"/api/v1/users/user-company/verify-invitation":{"get":{"operationId":"UserCompanyController_verifyTokenInvitation_v1","parameters":[{"name":"authorization","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Verify invitation successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyTokenInvitationResDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Verify invitation by token","tags":["User Company"]}},"/api/v1/users/user-company/company/{companyId}":{"get":{"operationId":"UserCompanyController_getCompanyById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get a company by id","tags":["User Company"]}},"/api/v1/users/user-company/company-role-permissions":{"get":{"operationId":"UserCompanyController_getUserCompanyRolePermissions_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"User company role permissions retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserCompanyRolePermissionsDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get user company role permissions","tags":["User Company"]}},"/api/v1/users/user-company/related-companies/count":{"get":{"operationId":"UserCompanyController_relatedCompanyRequestCount_v1","parameters":[],"responses":{"200":{"description":"Related companies count retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedCompanyRequestCountResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get related companies count","tags":["User Company"]}},"/api/v1/users/user-company/related-companies":{"get":{"operationId":"UserCompanyController_getRelatedCompanies_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyName","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":[1,2,3,4],"type":"number"}}],"responses":{"200":{"description":"Related companies retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedCompaniesResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get related companies","tags":["User Company"]}},"/api/v1/users/user-company/{id}/status":{"patch":{"operationId":"UserCompanyController_updateUserCompanyStatus_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserCompanyStatusDTO"}}}},"responses":{"200":{"description":"Update a company user status by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company user status by id","tags":["User Company"]}},"/api/v1/users/user-company/companies/{companyId}":{"patch":{"operationId":"UserCompanyController_update_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyDTO"}}}},"responses":{"200":{"description":"Update a company by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Update a company by id","tags":["User Company"]}},"/api/v1/users/user-company/companies/{companyId}/welcome-page":{"put":{"operationId":"UserCompanyController_updateWelcomePage_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWelcomePageDTO"}}}},"responses":{"200":{"description":"Update welcome-page for the company by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWelcomePageResDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Update welcome-page for the company by id","tags":["User Company"]}},"/api/v1/users/user-company/update-admin-info":{"put":{"description":"Updates the information of a company admin based on the provided token and payload","operationId":"UserCompanyController_updateAdminCompanyInfo_v1","parameters":[{"name":"Authorization","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyAdminInfoDTO"}}}},"responses":{"204":{"description":"Company admin information updated successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Admin Company Info","tags":["User Company"]}},"/api/v1/users/user-company/companies/{companyId}/users":{"get":{"operationId":"UserCompanyController_getUsersCompany_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}},{"name":"roleId","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get users company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCompanyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get a list of company users by company id","tags":["User Company"]},"post":{"operationId":"UserCompanyController_createUserCompany_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserCompanyDTO"}}}},"responses":{"200":{"description":"Create company user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Create company user","tags":["User Company"]}},"/api/v1/users/user-company/companies/{companyId}/users/{id}":{"patch":{"operationId":"UserCompanyController_updateUserCompany_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserCompanyDTO"}}}},"responses":{"200":{"description":"Update company user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Update company user","tags":["User Company"]},"delete":{"operationId":"UserCompanyController_deleteUserCompany_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Delete company user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Delete company user","tags":["User Company"]}},"/api/v1/users/companies/{companyId}/vehicle-model":{"get":{"operationId":"UserVehicleModelController_getCompanyById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list vehicle model of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get list vehicle model of company","tags":["Companies"]},"post":{"operationId":"UserVehicleModelController_create_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UserCreateVehicleModelDTO"}}}},"responses":{"201":{"description":"Create a vehicle model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Create a vehicle model","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/vehicle-model/{id}":{"get":{"operationId":"UserVehicleModelController_getVehicleModelById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a vehicle model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Get a vehicle model by id","tags":["Companies"]},"patch":{"operationId":"UserVehicleModelController_updateById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UserUpdateVehicleModelDTO"}}}},"responses":{"200":{"description":"Update a vehicle model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Update a vehicle model by id","tags":["Companies"]},"delete":{"operationId":"UserVehicleModelController_deleteById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a vehicle model by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Delete a vehicle model by id","tags":["Companies"]}},"/api/v1/users/companies/{companyId}/vehicle-model/{id}/duplicate":{"post":{"operationId":"UserVehicleModelController_duplicateById_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDuplicateVehicleModelDTO"}}}},"responses":{"201":{"description":"Duplicate a vehicle model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]},{"bearer":[]}],"summary":"Duplicate a vehicle model by id","tags":["Companies"]}},"/api/v1/users/login":{"post":{"operationId":"UserController_login_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUserRequestDTO"}}}},"responses":{"200":{"description":"Login for user from app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Portal user login/authentification","tags":["Users"]}},"/api/v1/users/register":{"post":{"operationId":"UserController_register_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterUserDTO"}}}},"responses":{"200":{"description":"Registration for user from app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseRegisterUserDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Portal user registration","tags":["Users"]}},"/api/v1/users/verify/activation-code":{"post":{"operationId":"UserController_verifyActivationCode_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyActivationCodeDTO"}}}},"responses":{"204":{"description":"Verify activation code for a portal user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Verify activation code for a portal user","tags":["Users"]}},"/api/v1/users/activation/generate-code":{"post":{"operationId":"UserController_generateActivationCode_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateActivationCodeDTO"}}}},"responses":{"204":{"description":"Generate activation code for portal user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Generate activation code for portal user","tags":["Users"]}},"/api/v1/users/forgot-password":{"post":{"operationId":"UserController_forgotPassword_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequestDTO"}}}},"responses":{"200":{"description":"Forgot password for a portal user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseForgotPassDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Forgot password for a portal user","tags":["Users"]}},"/api/v1/users/validate-password-reset-code":{"post":{"description":"Validates the provided password reset code for a user","operationId":"UserController_validatePasswordResetCode_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatePasswordResetCodeDTO"}}}},"responses":{"200":{"description":"Password reset code validated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Validate password reset code","tags":["Users"]}},"/api/v1/users/reset-password":{"post":{"operationId":"UserController_resetPassword_v1","parameters":[{"name":"Authorization","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResetPasswordDTO"}}}},"responses":{"204":{"description":"Password successfully reset"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Validate password reset code","tags":["Users"]}},"/api/v1/users/me":{"get":{"operationId":"UserController_getProfile_v1","parameters":[{"name":"keyPlatformTech","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"mobileDeviceId","required":false,"in":"query","schema":{"default":"","type":"string"}}],"responses":{"200":{"description":"Get user profile successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetProfileResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a portal user profile by access token","tags":["Users"]}},"/api/v1/users/refresh-token":{"post":{"operationId":"UserController_refreshToken_v1","parameters":[{"name":"refreshToken","in":"header","description":"Bearer xxxx","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Refresh access token for an existing token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Refresh access token for an existing token","tags":["Users"]}},"/api/v1/users/logout":{"post":{"operationId":"UserController_logout_v1","parameters":[{"name":"refreshToken","in":"header","description":"Bearer xxxx","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Logout for a portal user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Logout for a portal user","tags":["Users"]}},"/api/v1/users/change-password":{"post":{"operationId":"UserController_changePassword_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserChangePasswordDTO"}}}},"responses":{"204":{"description":"Change password for a portal user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Change password for a portal user","tags":["Users"]}},"/api/v1/users":{"patch":{"operationId":"UserController_patchId_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDTO"}}}},"responses":{"200":{"description":"Update a portal user by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a portal user by id","tags":["Users"]}},"/api/v1/users/store-user-info":{"post":{"operationId":"UserController_storeUserInfoToken_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreUserInfoTokenRequestDTO"}}}},"responses":{"204":{"description":"Store user info successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Store user info","tags":["Users"]}},"/api/v1/users/sheet-activity/{objectId}":{"get":{"operationId":"SheetActivityController_getListUserById_v1","parameters":[{"name":"objectId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"offset","required":false,"in":"query","schema":{"type":"number"}},{"name":"modelType","required":false,"in":"query","schema":{"type":"string"}},{"name":"isProCenterMember","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Get sheet activities successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of sheet activities by object id","tags":["Sheet Activity"]}},"/api/v1/backoffice/admin/sheet-activity/{objectId}":{"get":{"operationId":"SheetActivityController_getListBoUserById_v1","parameters":[{"name":"objectId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"offset","required":false,"in":"query","schema":{"type":"number"}},{"name":"modelType","required":false,"in":"query","schema":{"type":"string"}},{"name":"isProCenterMember","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Get sheet activities successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of activities by object id","tags":["Sheet Activity"]}},"/api/v1/backoffice/admin/sheet-activity":{"post":{"operationId":"SheetActivityController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSheetActivityDTO"}}}},"responses":{"201":{"description":"Create an sheet activity successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a activity","tags":["Sheet Activity"]}},"/api/v1/backoffice/admin/sheet-activity/{id}":{"patch":{"operationId":"SheetActivityController_updateBoUserById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSheetActivityDTO"}}}},"responses":{"200":{"description":"Update sheet activity successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a activity by id","tags":["Sheet Activity"]},"delete":{"operationId":"SheetActivityController_deleteBoUserById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete sheet activity successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a activity by id","tags":["Sheet Activity"]}},"/api/v1/backoffice/admin/sheet-activity/detail/{id}":{"get":{"operationId":"SheetActivityController_getBoUserById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get sheet activity successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a activity by id","tags":["Sheet Activity"]}},"/api/v1/backoffice/pers/{persId}/pers-alerts":{"get":{"operationId":"BOPersAlertController_getListPersAlert_v1","parameters":[{"name":"persId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"persId","required":false,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"alert","required":false,"in":"query","schema":{"type":"string"}},{"name":"topicAlert","required":false,"in":"query","schema":{"type":"string"}},{"name":"groupAlert","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of pers alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPersAlertDTO"}}}}},"security":[{"bearer":[]}],"summary":"Get a list of pers alert","tags":["Pers Alert"]}},"/api/v1/backoffice/pers-firmware-categories":{"get":{"description":"Retrieve all firmware categories ordered by label (ASC Alphabet). Supports search by label.","operationId":"FirmwareCategoryManagementController_getPersFirmwareCategories_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of pers firmware categories successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersFirmwareCategoryListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of pers firmware categories","tags":["Pers Firmware Categories"]},"post":{"description":"Create a new firmware category. Label is required and must be unique.","operationId":"FirmwareCategoryManagementController_createPersFirmwareCategory_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersFirmwareCategoryDTO"}}}},"responses":{"201":{"description":"Create firmware category successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersFirmwareCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a new firmware category","tags":["Pers Firmware Categories"]}},"/api/v1/backoffice/pers-firmware-categories/{id}":{"get":{"description":"Get firmware category details by ID with versions count.","operationId":"FirmwareCategoryManagementController_getPersFirmwareCategoryById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get firmware category details successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersFirmwareCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get firmware category details","tags":["Pers Firmware Categories"]},"patch":{"description":"Update firmware category label. Label must be unique if changed.","operationId":"FirmwareCategoryManagementController_updatePersFirmwareCategory_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersFirmwareCategoryDTO"}}}},"responses":{"200":{"description":"Update firmware category successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersFirmwareCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update firmware category","tags":["Pers Firmware Categories"]},"delete":{"description":"Delete firmware category. Cannot delete if it has associated firmware versions.","operationId":"FirmwareCategoryManagementController_deletePersFirmwareCategory_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete firmware category successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete firmware category","tags":["Pers Firmware Categories"]}},"/api/v1/backoffice/pers-firmware-versions":{"get":{"operationId":"PersFirmwareVersionController_getPersFirmwareVersions_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of pers firmware versions successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of pers firmware versions","tags":["Pers Firmware Versions"]},"post":{"operationId":"PersFirmwareVersionController_createPersFirmwareVersion_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFirmwareVersionDTO"}}}},"responses":{"200":{"description":"Create a pers firmware version successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a pers firmware version","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/{id}/compatible-pers":{"post":{"operationId":"PersFirmwareVersionController_createCompatiblePers_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFirmwareCompatibilityDTO"}}}},"responses":{"200":{"description":"Create a pers compatible pers firmware version successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompatiblePersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a pers compatible pers firmware version","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/{id}/compatible-pers/{compatiblePersId}":{"delete":{"operationId":"PersFirmwareVersionController_deleteCompatiblePersById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"compatiblePersId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a pers compatible pers firmware version by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a pers compatible pers firmware version by id","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/{id}/segments":{"post":{"operationId":"PersFirmwareVersionController_createFirmwareSegments_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFirmwareSegmentsDTO"}}}},"responses":{"204":{"description":"Create a pers firmware version segments successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a pers firmware version segments","tags":["Pers Firmware Versions"]},"delete":{"operationId":"PersFirmwareVersionController_deleteFirmwareSegmentByVersionId_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a pers firmware version segments by version id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a pers firmware version segments by version id","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/check-duplicate-version":{"get":{"operationId":"PersFirmwareVersionController_checkDuplicateVersion_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"firmwareVersion","required":false,"in":"query","schema":{"type":"string"}},{"name":"categoryId","required":true,"in":"query","schema":{"type":"string"}},{"name":"updateId","required":true,"in":"query","schema":{"type":"string"}},{"name":"firmwareType","required":true,"in":"query","schema":{}}],"responses":{"204":{"description":"Check for duplicate firmware version successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Check for duplicate firmware version","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/{id}/regenerate-uuid":{"post":{"operationId":"PersFirmwareVersionController_regenerateFirmwareUuid_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Regenerate UUID for a pers firmware version successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Regenerate UUID for a pers firmware version","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers-firmware-versions/{id}":{"get":{"operationId":"PersFirmwareVersionController_getPersFirmwareVersionById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a pers firmware version successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a pers firmware version","tags":["Pers Firmware Versions"]},"patch":{"operationId":"PersFirmwareVersionController_updatePersFirmwareVersionById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFirmwareVersionDTO"}}}},"responses":{"200":{"description":"Update pers firmware version by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update pers firmware version by id","tags":["Pers Firmware Versions"]},"delete":{"operationId":"PersFirmwareVersionController_deletePersFirmwareVersionById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a pers firmware version by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a pers firmware version by id","tags":["Pers Firmware Versions"]}},"/api/v1/backoffice/pers/{id}/kit-configuration":{"get":{"description":"Returns the Initial PERS Kit Configuration (read-only, synced from Odoo) and Current PERS Kit Configuration (editable)","operationId":"PersKitConfigurationController_getPersKitConfiguration_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get PERS Kit Configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersKitConfigurationResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get PERS Kit Configuration by PERS ID","tags":["PERS"]},"patch":{"description":"Only the Current PERS Kit Configuration can be edited. Initial PERS Kit Configuration is read-only (synced from Odoo)","operationId":"PersKitConfigurationController_updatePersKitConfiguration_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersKitConfigurationDTO"}}}},"responses":{"200":{"description":"Update PERS Kit Configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersKitConfigurationResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update Current PERS Kit Configuration by PERS ID","tags":["PERS"]}},"/api/v1/backoffice/pers":{"get":{"operationId":"BOPERSController_getListPERS_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialPersNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"modelPERSId","required":false,"in":"query","schema":{"type":"string"}},{"name":"firmwareVersionId","required":false,"in":"query","schema":{"type":"string"}},{"name":"odooPersId","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicle","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegistrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"manufacturer","required":false,"in":"query","schema":{"type":"string"}},{"name":"subcontractor","required":false,"in":"query","schema":{"type":"string"}},{"name":"initialKitConfiguration","required":false,"in":"query","schema":{"type":"string"}},{"name":"currentKitConfiguration","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list PERS instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPERSDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of PERS","tags":["PERS"]},"post":{"operationId":"BOPERSController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersDTO"}}}},"responses":{"201":{"description":"Create a software PERS instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PERSResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a PERS instance","tags":["PERS"]}},"/api/v1/backoffice/pers/{id}/activation-pin":{"post":{"operationId":"BOPERSController_generateActivationPin_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Generate a new activation pin for a PERS by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Generate a new activation pin for a PERS by id","tags":["PERS"]}},"/api/v1/backoffice/pers/{id}":{"get":{"operationId":"BOPERSController_findById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a PERS by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PERSResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a PERS by id","tags":["PERS"]},"patch":{"operationId":"BOPERSController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersDTO"}}}},"responses":{"200":{"description":"Update a PERS by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PERSResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a PERS by id","tags":["PERS"]},"delete":{"operationId":"BOPERSController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a PERS by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a PERS by id","tags":["PERS"]}},"/api/v1/backoffice/pers/{id}/current-data":{"get":{"operationId":"BOPERSController_getPersAlerts_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"languageId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get pers current data successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersCurrentDataDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get pers current data","tags":["PERS"]}},"/api/v1/backoffice/pers/{id}/mqtt-messages-logs-alert":{"get":{"operationId":"BOPERSController_getMqttMessagesLogsAlert_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"dtBegin","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"dtEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"codeAlert","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get MQTT messages logs alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MqttMessagesLogsAlertDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get MQTT messages logs alert by PERS ID","tags":["PERS"]}},"/api/v2/backoffice/pers/iot-service/publish":{"post":{"operationId":"BOPERSController_publishIOT_v2","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendWhatToDoToPersDTO"}}}},"responses":{"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"},"default":{"description":"Publish what to do to pers v2 successfully"}},"security":[{"bearer":[]}],"summary":"Publish what to do to pers v2","tags":["PERS"]}},"/api/v1/pers/firmware-categories":{"get":{"description":"Retrieve all firmware categories ordered by label (ASC Alphabet). Supports search by label.","operationId":"FirmwareCategoryController_getPersFirmwareCategories_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of pers firmware categories successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersFirmwareCategoryListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of pers firmware categories","tags":["Pers Firmware Categories"]}},"/api/v1/pers-firmware-versions":{"get":{"operationId":"FirmwareVersionController_getPersFirmwareVersions_v1","parameters":[],"responses":{"200":{"description":"Get a list of pers firmware versions successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionFilterListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of pers firmware versions","tags":["Pers Firmware Versions"]}},"/api/v1/companies/{companyId}/pers-repair/search-vehicle":{"get":{"description":"Search for a vehicle by its serial number. Returns vehicle and PERS information.","operationId":"PersRepairController_searchVehicle_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"serialNumber","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Vehicle found successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Search vehicle by serial number","tags":["PERS Repair"]}},"/api/v1/companies/{companyId}/pers-repair/available-pers":{"get":{"description":"Get list of available PERS linked to the company that are not currently assigned to any vehicle.","operationId":"PersRepairController_getAvailablePers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Available PERS list retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailablePersListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get available PERS for repair","tags":["PERS Repair"]}},"/api/v1/companies/{companyId}/pers-repair/update":{"patch":{"description":"Update the PERS assigned to a vehicle. Creates a history record for the change.","operationId":"PersRepairController_updateVehiclePers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersRepairDTO"}}}},"responses":{"200":{"description":"Vehicle PERS updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePersRepairResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update vehicle PERS","tags":["PERS Repair"]}},"/api/v1/pers/externals/iot/receive-message":{"post":{"operationId":"ExternalsController_receiveIOTMessage_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiveIOTMessagePersAlertDTO"}}}},"responses":{"204":{"description":"Receive IOT message and store in database successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Receive IOT message and store in database","tags":["Externals"]}},"/api/v1/pers/externals/iot/reception-pers-status-lock":{"post":{"operationId":"ExternalsController_receptionIOTMessagePersStatusLock_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceptionIOTMessagePersStatusLockDTO"}}}},"responses":{"201":{"description":"Reception pers status lock message and store in database successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Reception pers status lock message and store in database","tags":["Externals"]}},"/api/v1/pers/externals/iot/reception-pers-status-geoloc":{"post":{"operationId":"ExternalsController_receptionIOTMessagePersStatusGeoloc_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceptionIOTMessagePersStatusGeolocDTO"}}}},"responses":{"201":{"description":"Reception pers status geoloc message and store in database successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Reception pers status geoloc message and store in database","tags":["Externals"]}},"/api/v1/pers/log-iot-message":{"get":{"operationId":"LogPersIOTMessageController_getMonthlyRiderStatsForDirectVehicles_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"persSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"iotMessageType","required":false,"in":"query","schema":{"enum":["PSPersAlert","PSStatusLock","PSStatusGeoloc"],"type":"string"}},{"name":"dtBegin","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"dtEnd","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Get log pers IOT messages successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogPersIOTMessageDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get log pers IOT messages","tags":["Log Pers IOT Message"]}},"/api/v1/pers/pers-current-status":{"put":{"operationId":"PersCurrentStatusController_upsertPersCurrentStatus_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"description":"Receive pers current status data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPersCurrentStatusDTO"}}}},"responses":{"204":{"description":"Upsert Pers current status successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Upsert Pers current status","tags":["Pers Current Status"]}},"/api/v1/pers-diagnostic/{persSerialNumber}/current-data":{"get":{"operationId":"PersDiagnosticController_getPersCurrentDataForPersDiagnostic_v1","parameters":[{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get PERS current data successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersCurrentStatusResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get PERS current data by PERS Serial Number or Vehicle Serial Number","tags":["Pers Diagnostic"]}},"/api/v1/pers-diagnostic/{persSerialNumber}/alerts":{"get":{"operationId":"PersDiagnosticController_getPersAlerts_v1","parameters":[{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}},{"name":"languageId","required":false,"in":"query","schema":{"type":"string"}},{"name":"isLocalDiagnostic","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"localDiagnosticSessionId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of Pers Alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListGroupPersAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get PERS alerts by PERS Serial Number or Vehicle Serial Number","tags":["Pers Diagnostic"]}},"/api/v1/pers-diagnostic/{persSerialNumber}/history":{"get":{"operationId":"PersDiagnosticController_getPersHistory_v1","parameters":[{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get PERS history successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersHistoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get PERS history (Vehicle PERS History and Firmware History) by PERS Serial Number or Vehicle Serial Number","tags":["Pers Diagnostic"]}},"/api/v1/pers-diagnostic/import-file/alerts":{"post":{"description":"This endpoint allows for the uploading of CAN file of Pers Diagnostic in TXT format. It processes the uploaded file to extract and analyze pers diagnostic.","operationId":"PersDiagnosticController_importCanFilePersDiagnostic_v1","parameters":[{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"The processing of the journey logs was successful, and relevant data has been extracted and analyzed."},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Upload and Process CAN file of Pers Diagnostic","tags":["Pers Diagnostic"]}},"/api/v1/backoffice/alerts":{"post":{"operationId":"AlertController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAlertDTO"}}}},"responses":{"201":{"description":"The Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a Alert","tags":["Alerts"]},"get":{"operationId":"AlertController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"groupAlert","required":false,"in":"query","schema":{"type":"string"}},{"name":"topicAlert","required":false,"in":"query","schema":{"type":"string"}},{"name":"alertLabel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of Alerts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAlertDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of Alerts","tags":["Alerts"]}},"/api/v1/backoffice/alerts/{alertId}/translation":{"post":{"operationId":"AlertController_createTranslation_v1","parameters":[{"name":"alertId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAlertTranslationDTO"}}}},"responses":{"201":{"description":"The Alert Translation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create Alert Translation","tags":["Alerts"]}},"/api/v1/backoffice/alerts/{alertId}/translation/{translationId}":{"patch":{"operationId":"AlertController_updateTranslation_v1","parameters":[{"name":"alertId","required":true,"in":"path","schema":{"type":"string"}},{"name":"translationId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAlertTranslationDTO"}}}},"responses":{"200":{"description":"The Alert Translation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Alert Translation by ID","tags":["Alerts"]},"delete":{"operationId":"AlertController_deleteTranslationById_v1","parameters":[{"name":"alertId","required":true,"in":"path","schema":{"type":"string"}},{"name":"translationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a alerts by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a alerts by id","tags":["Alerts"]}},"/api/v1/backoffice/alerts/{id}":{"patch":{"operationId":"AlertController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAlertDTO"}}}},"responses":{"200":{"description":"The Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Alert by ID","tags":["Alerts"]},"get":{"operationId":"AlertController_getById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get Alert by ID","tags":["Alerts"]},"delete":{"operationId":"AlertController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a alert by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a alert by id","tags":["Alerts"]}},"/api/v1/backoffice/vehicle-brand-message":{"get":{"operationId":"BrandMessageController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrandId","required":true,"in":"query","description":"Vehicle brand id","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list vehicle brand message by vehicle brand id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListBrandMessageDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list vehicle brand message by vehicle brand id","tags":["Vehicle Brand Message"]},"post":{"operationId":"BrandMessageController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBrandMessageDTO"}}}},"responses":{"200":{"description":"Create a vehicle brand message by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandMessageResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle brand message","tags":["Vehicle Brand Message"]}},"/api/v1/backoffice/vehicle-brand-message/{id}":{"patch":{"operationId":"BrandMessageController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBrandMessageDTO"}}}},"responses":{"200":{"description":"Update a vehicle brand message by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandMessageResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a vehicle brand message by id","tags":["Vehicle Brand Message"]},"delete":{"operationId":"BrandMessageController_delete_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete vehicle brand message successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a vehicle brand message by id","tags":["Vehicle Brand Message"]}},"/api/v1/backoffice/admin/companies/{id}/users":{"get":{"operationId":"CompanyAdminController_getUsersCompany_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}},{"name":"roleId","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get users company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCompanyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of company users by company id","tags":["Company Admin"]}},"/api/v1/backoffice/admin/companies/company-admin":{"get":{"description":"Retrieve a list of company admin based on optional query parameters.","operationId":"CompanyAdminController_getCompanyAdmins_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}},{"name":"company","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"A list of company admin has been successfully retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyAdminResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Retrieve a list company admin","tags":["Company Admin"]}},"/api/v1/backoffice/admin/companies/company-admin/{id}":{"get":{"description":"Retrieve a company admin based on id.","operationId":"CompanyAdminController_getDetailCompanyAdmin_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Detail a company admin has been successfully retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetailCompanyAdminResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Retrieve a Company Admin","tags":["Company Admin"]},"delete":{"description":"Delete a company admin based on id.","operationId":"CompanyAdminController_deleteCompanyAdmin_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company admin has been successfully."},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a Company Admin by id","tags":["Company Admin"]}},"/api/v1/backoffice/admin/companies/{id}/company-admin":{"post":{"operationId":"CompanyAdminController_createCompanyAdmin_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyAdminDTO"}}}},"responses":{"200":{"description":"Create a admin for a company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAdminResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a admin for a company","tags":["Company Admin"]}},"/api/v1/backoffice/admin/companies/company-admin/{id}/resend-invitation":{"post":{"description":"Resend the invitation email to a company admin. This will generate a new invitation token and invalidate the previous one.","operationId":"CompanyAdminController_resendCompanyAdminInvitation_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Invitation email has been resent successfully."},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Resend invitation email to a Company Admin","tags":["Company Admin"]}},"/api/v1/backoffice/company-category":{"get":{"operationId":"CompanyCategoryController_getCompanyCategories_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company category successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company category","tags":["Company Category"]}},"/api/v1/backoffice/company-category/{id}":{"get":{"operationId":"CompanyCategoryController_getCompanyCategoryById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company category successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company category","tags":["Company Category"]},"patch":{"operationId":"CompanyCategoryController_updateCompanyCategoryById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyCategoryDTO"}}}},"responses":{"200":{"description":"Get a list of company category successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company category","tags":["Company Category"]}},"/api/v1/backoffice/company-category/{id}/translation":{"post":{"operationId":"CompanyCategoryController_upsertCompanyCategoryTranslationDTO_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertCompanyCategoryTranslationDTO"}}}},"responses":{"200":{"description":"Upsert a company category translation by currency id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Upsert a company category translation by currency id","tags":["Company Category"]}},"/api/v1/backoffice/company-category/translation/{id}":{"delete":{"operationId":"CompanyCategoryController_deleteCompanyCategoryTranslation_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company category translation by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Delete a company category translation by id","tags":["Company Category"]}},"/api/v1/backoffice/company-cixi-referent":{"get":{"operationId":"CompanyCIXIReferentController_getListCIXIReference_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company cixi referent successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyCIXIReferentResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of company cixi referent","tags":["Company CIXI Referent"]},"post":{"operationId":"CompanyCIXIReferentController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyCIXIReferentDTO"}}}},"responses":{"201":{"description":"Create a company cixi referent successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCIXIReferentResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a company cixi referent","tags":["Company CIXI Referent"]}},"/api/v1/backoffice/company-cixi-referent/{id}":{"get":{"operationId":"CompanyCIXIReferentController_findById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a company cixi referent by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCIXIReferentResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a company cixi referent by id","tags":["Company CIXI Referent"]},"patch":{"operationId":"CompanyCIXIReferentController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyCIXIReferentDTO"}}}},"responses":{"200":{"description":"Update a company cixi referent by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCIXIReferentResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company cixi referent by id","tags":["Company CIXI Referent"]},"delete":{"operationId":"CompanyCIXIReferentController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company cixi referent by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a company cixi referent by id","tags":["Company CIXI Referent"]}},"/api/v1/backoffice/company-pers-link/{linkType}/companies":{"get":{"operationId":"CompanyPersLinkController_getListCompanyWithPersLink_v1","parameters":[{"name":"linkType","required":true,"in":"path","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list company with linkType successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetCompanyLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list company with linkType","tags":["Company Pers Link"]}},"/api/v1/backoffice/internals/pers/{persId}/company-pers-link":{"get":{"operationId":"CompanyPersLinkController_getCompanyPersLinkByPersId_v1","parameters":[{"name":"persId","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company pers link with persId successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company pers link with persId","tags":["Company Pers Link"]}},"/api/v1/backoffice/internals/company-pers-link":{"get":{"operationId":"CompanyPersLinkController_getCompanyCategories_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"query","schema":{"type":"string"}},{"name":"serialPersNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"modelPERS","required":false,"in":"query","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"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":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company pers link successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company pers link","tags":["Company Pers Link"]},"post":{"operationId":"CompanyPersLinkController_create_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyPersLinkDTO"}}}},"responses":{"201":{"description":"Create a company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPersLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Create a company pers link","tags":["Company Pers Link"]}},"/api/v1/backoffice/internals/company-pers-link/{id}":{"patch":{"operationId":"CompanyPersLinkController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyPersLinkDTO"}}}},"responses":{"200":{"description":"Update a company pers link successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPersLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Update a company pers link","tags":["Company Pers Link"]},"delete":{"operationId":"CompanyPersLinkController_delete_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company pers link by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Delete a company pers link by id","tags":["Company Pers Link"]}},"/api/v1/backoffice/company-pilots":{"get":{"operationId":"CompanyPilotController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"To sort by name, email, phone number use \"user\" prefix. To sort by status, invitationDate, entry date use \"pilot\"","schema":{"example":"user.name or pilot.invitationDate","type":"string"}},{"name":"companyTeamId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company pilot successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of company pilot by company team id","tags":["Company Pilot"]},"post":{"operationId":"CompanyPilotController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyPilotDTO"}}}},"responses":{"201":{"description":"Create a company pilot successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a company pilot","tags":["Company Pilot"]}},"/api/v1/backoffice/company-pilots/{id}":{"get":{"operationId":"CompanyPilotController_getOneById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a company pilot by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a company pilot by id","tags":["Company Pilot"]},"patch":{"operationId":"CompanyPilotController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyPilotDTO"}}}},"responses":{"200":{"description":"Update a company pilot by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company pilot by id","tags":["Company Pilot"]},"delete":{"operationId":"CompanyPilotController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company pilot by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a company pilot by id","tags":["Company Pilot"]}},"/api/v1/backoffice/admin/companies/{id}/preference":{"get":{"operationId":"CompanyPreferencesController_getCompanyPreferences_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get preferences for given company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPreferencesResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of preferences for a given company id","tags":["Companies"]},"patch":{"operationId":"CompanyPreferencesController_updateCompanyPreferences_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyPreferencesDTO"}}}},"responses":{"200":{"description":"Update preferences successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPreferencesResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update company preferences for a company id","tags":["Companies"]}},"/api/v1/backoffice/company-teams":{"get":{"operationId":"CompanyTeamController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company team successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of company team for a company id","tags":["Company Team"]},"post":{"operationId":"CompanyTeamController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyTeamDTO"}}}},"responses":{"201":{"description":"Create a company team successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a company team","tags":["Company Team"]}},"/api/v1/backoffice/company-teams/{id}":{"get":{"operationId":"CompanyTeamController_getOneById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a company team by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a company team by id","tags":["Company Team"]},"patch":{"operationId":"CompanyTeamController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyTeamDTO"}}}},"responses":{"200":{"description":"Update a company team by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company team by id","tags":["Company Team"]},"delete":{"operationId":"CompanyTeamController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a company team by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a company team by id","tags":["Company Team"]}},"/api/v1/backoffice/admin/company-vehicle-brand-link":{"post":{"description":"Create a new link between a company and a vehicle brand","operationId":"CompanyVehicleBrandLinkController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyVehicleBrandLinkDTO"}}}},"responses":{"201":{"description":"Link created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCompanyVehicleBrandLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a new company vehicle brand link","tags":["Company Vehicle Brand Link"]},"get":{"description":"Retrieve a list of all links between companies and vehicle brands","operationId":"CompanyVehicleBrandLinkController_findAll_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrandId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Links retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyVehicleBrandLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Retrieve all links","tags":["Company Vehicle Brand Link"]}},"/api/v1/backoffice/admin/company-vehicle-brand-link/{id}":{"get":{"description":"Retrieve a specific link between a company and a vehicle brand by ID","operationId":"CompanyVehicleBrandLinkController_findOne_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Link retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCompanyVehicleBrandLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Retrieve a specific link","tags":["Company Vehicle Brand Link"]},"patch":{"description":"Update the link type of a specific link between a company and a vehicle brand by ID","operationId":"CompanyVehicleBrandLinkController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyVehicleBrandLinkDTO"}}}},"responses":{"200":{"description":"Link updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCompanyVehicleBrandLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a link","tags":["Company Vehicle Brand Link"]},"delete":{"description":"Delete a specific link between a company and a vehicle brand by ID","operationId":"CompanyVehicleBrandLinkController_remove_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Link deleted successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a link","tags":["Company Vehicle Brand Link"]}},"/api/v1/backoffice/company/{companyId}/vehicle/links":{"post":{"description":"Create a new link between a company and a vehicle","operationId":"CompanyVehicleLinkController_create_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"bo-current-user-id","in":"header","description":"Current user ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyVehicleLinkDTO"}}}},"responses":{"204":{"description":"Link created successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a new company vehicle link","tags":["Company Vehicle Link"]},"get":{"description":"Retrieve a list of all links between companies and vehicles","operationId":"CompanyVehicleLinkController_getList_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of company vehicle links retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyVehicleListResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get list company vehicle links","tags":["Company Vehicle Link"]}},"/api/v1/backoffice/company/{companyId}/vehicle/linkable-vehicles":{"get":{"description":"Retrieve a list of vehicles that can be linked to the specified company","operationId":"CompanyVehicleLinkController_getListLinkableVehicle_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of linkable vehicles retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkableVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get list of linkable vehicles for a company","tags":["Company Vehicle Link"]}},"/api/v1/backoffice/company/{companyId}/vehicle/links/{linkId}":{"delete":{"description":"Delete a specific link between a company and a vehicle by ID","operationId":"CompanyVehicleLinkController_remove_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"linkId","required":true,"in":"path","schema":{"type":"string"}},{"name":"bo-current-user-id","in":"header","description":"Current user ID","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Link deleted successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a company vehicle link","tags":["Company Vehicle Link"]}},"/api/v1/backoffice/admin/companies/{id}/child-company":{"get":{"operationId":"CompanyController_getChildCompany_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"companyName:asc,zipCodeAddress:asc,id:asc","type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get child company by company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of child companies by company id","tags":["Companies"]},"post":{"operationId":"CompanyController_createChildCompany_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"Create a child company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a child company","tags":["Companies"]}},"/api/v1/backoffice/admin/companies/{id}/sheet-additional":{"get":{"operationId":"CompanyController_getSheetAdditionalData_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get additional datas for a company id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetAdditionalDataDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get additional datas for a company id","tags":["Companies"]},"post":{"operationId":"CompanyController_createSheetAdditionalData_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertSheetAdditionalDataDTO"}}}},"responses":{"200":{"description":"Update company additional data for a company id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update company additional data for a company id","tags":["Companies"]}},"/api/v1/backoffice/admin/companies":{"get":{"operationId":"CompanyController_getCompanies_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"updatedAt:asc","type":"string"}},{"name":"companyType","required":false,"in":"query","schema":{"enum":["independent","mother","children"],"type":"string"}},{"name":"subscriberType","required":false,"in":"query","schema":{"enum":["company","individual"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["to_approve","approved","refused","archived"],"type":"string"}},{"name":"odooId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyCategoryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"country","required":false,"in":"query","schema":{"type":"string"}},{"name":"zipCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyName","required":false,"in":"query","schema":{"type":"string"}},{"name":"offset","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list of companies successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of companies","tags":["Companies"]},"post":{"operationId":"CompanyController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyDTO"}}}},"responses":{"201":{"description":"Create a company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a company","tags":["Companies"]}},"/api/v1/backoffice/admin/companies/{id}":{"patch":{"operationId":"CompanyController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyDTO"}}}},"responses":{"200":{"description":"Update a company by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a company by id","tags":["Companies"]},"get":{"operationId":"CompanyController_getCompanyById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a company by id","tags":["Companies"]}},"/api/v1/backoffice/admin/companies/{id}/mother-company":{"post":{"operationId":"CompanyController_convertToMotherCompany_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Upgrade independent company to mother company successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Upgrade independent company to mother company","tags":["Companies"]}},"/api/v1/backoffice/admin/companies/{id}/sheet-vehicle":{"get":{"operationId":"CompanyController_getSheetVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"registrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["1","2"],"type":"string"}},{"name":"brandId","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["coming","delivery_in_progress","in_progress","returned"],"type":"string"}}],"responses":{"200":{"description":"Get subscription vehicle of vehicle of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSheetVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicles for a company id","tags":["Companies"]}},"/api/v1/backoffice/admin/configuration-file-comm-pers":{"get":{"operationId":"AdminConfigurationFileCommPers_getConfigurationFileCommPers_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"persSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"typeComm","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Get a list of configuration file comm pers successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConfigurationFileCommPersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of configuration file comm pers","tags":["Configuration File Comm PERS"]}},"/api/v1/backoffice/admin/configuration-pers-templates":{"get":{"operationId":"ConfigurationPersTemplateController_getConfigurationPersTemplates_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of configuration pers template successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConfigurationPersTemplateResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of configuration pers template","tags":["Configuration PERS Templates"]},"post":{"operationId":"ConfigurationPersTemplateController_createConfigurationPersTemplate_v1","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateConfigurationPersTemplateDTO"}}}},"responses":{"200":{"description":"Create a level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a level alert","tags":["Configuration PERS Templates"]}},"/api/v1/backoffice/admin/configuration-pers-templates/{id}":{"patch":{"operationId":"ConfigurationPersTemplateController_updateConfigurationPersTemplate_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateConfigurationPersTemplateDTO"}}}},"responses":{"200":{"description":"Update a level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a level alert","tags":["Configuration PERS Templates"]},"get":{"operationId":"ConfigurationPersTemplateController_getConfigurationPersTemplateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a configuration pers template successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationPersTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a configuration pers template","tags":["Configuration PERS Templates"]},"delete":{"operationId":"ConfigurationPersTemplateController_deleteConfigurationPersTemplateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Delete a configuration pers template successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationPersTemplateDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a configuration pers template","tags":["Configuration PERS Templates"]}},"/api/v1/backoffice/direct-vehicle/{id}":{"get":{"operationId":"DirectVehicleController_findById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list direct vehicle by vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDirectVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get list direct vehicle by vehicle id","tags":["Direct Vehicle"]}},"/api/v1/backoffice/electronic-key-model/{id}":{"get":{"operationId":"ElectronicKeyModelBOController_getElectronicKeyModelById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a electronic key model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a electronic key model by id","tags":["Electronic Key Model"]},"patch":{"operationId":"ElectronicKeyModelBOController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateElectronicKeyModelDTO"}}}},"responses":{"200":{"description":"Update a electronic key model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a electronic key model by id","tags":["Electronic Key Model"]},"delete":{"operationId":"ElectronicKeyModelBOController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a electronic key model by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a electronic key model by id","tags":["Electronic Key Model"]}},"/api/v1/backoffice/electronic-key-model":{"post":{"operationId":"ElectronicKeyModelBOController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateElectronicKeyModelDTO"}}}},"responses":{"201":{"description":"Create a electronic key model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a electronic key model","tags":["Electronic Key Model"]},"get":{"operationId":"ElectronicKeyModelBOController_getListElectronicKeyModel_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleTypeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameElectronicKeyModel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list electronic key model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListElectronicKeyModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of electronic key model","tags":["Electronic Key Model"]}},"/api/v1/backoffice/electronic-key/{id}":{"get":{"operationId":"ElectronicKeyBOController_getElectronicKeyById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a electronic key by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a electronic key by id","tags":["Electronic Key"]},"patch":{"operationId":"ElectronicKeyBOController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateElectronicKeyDTO"}}}},"responses":{"200":{"description":"Update a electronic key by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a electronic key by id","tags":["Electronic Key"]},"delete":{"operationId":"ElectronicKeyBOController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a electronic key by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a electronic key by id","tags":["Electronic Key"]}},"/api/v1/backoffice/electronic-key/{id}/sheet-vehicles":{"get":{"operationId":"ElectronicKeyBOController_sheetVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"registrationNumber","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"nameVehicle","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["1","2","3"],"type":"string"}},{"name":"isCurrent","required":false,"in":"query","schema":{"default":"true","type":"string"}}],"responses":{"200":{"description":"Get sheet vehicles successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListElectronicKeySheetVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicles of an electronic key","tags":["Electronic Key"]}},"/api/v1/backoffice/electronic-key":{"post":{"operationId":"ElectronicKeyBOController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateElectronicKeyDTO"}}}},"responses":{"201":{"description":"Create a electronic key successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a electronic key","tags":["Electronic Key"]},"get":{"operationId":"ElectronicKeyBOController_getListElectronicKey_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialElectronicKeyNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"idOdooElectronicKey","required":false,"in":"query","schema":{"type":"string"}},{"name":"electronicKeyModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegisterNumber","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list electronic key successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListElectronicKeyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of electronic key","tags":["Electronic Key"]}},"/api/v1/backoffice/group-alert-fields":{"get":{"operationId":"GroupAlertFieldController_findAll_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"All records retrieved successfully with full details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertFieldResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get all group alert fields with details","tags":["Group Alert Fields"]}},"/api/v1/backoffice/group-alert-fields/{id}":{"patch":{"operationId":"GroupAlertFieldController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupAlertFieldDTO"}}}},"responses":{"200":{"description":"The record has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertFieldResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a group alert field","tags":["Group Alert Fields"]}},"/api/v1/backoffice/group-alerts":{"post":{"operationId":"GroupAlertController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupAlertDTO"}}}},"responses":{"201":{"description":"The Group Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create Group Alert","tags":["Group Alerts"]},"get":{"operationId":"GroupAlertController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of Group Alerts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get all Group Alerts","tags":["Group Alerts"]}},"/api/v1/backoffice/group-alerts/{groupAlertId}/translation":{"post":{"operationId":"GroupAlertController_createTranslation_v1","parameters":[{"name":"groupAlertId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupAlertTranslationDTO"}}}},"responses":{"201":{"description":"The Group Alert Translation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create Group Alert Translation","tags":["Group Alerts"]}},"/api/v1/backoffice/group-alerts/{groupAlertId}/translation/{translationId}":{"patch":{"operationId":"GroupAlertController_updateTranslation_v1","parameters":[{"name":"groupAlertId","required":true,"in":"path","schema":{"type":"string"}},{"name":"translationId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupAlertTranslationDTO"}}}},"responses":{"200":{"description":"The Group Alert Translation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Group Alert Translation by ID","tags":["Group Alerts"]},"delete":{"operationId":"GroupAlertController_deleteTranslationById_v1","parameters":[{"name":"groupAlertId","required":true,"in":"path","schema":{"type":"string"}},{"name":"translationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a group alerts by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a group alerts by id","tags":["Group Alerts"]}},"/api/v1/backoffice/group-alerts/{id}":{"patch":{"operationId":"GroupAlertController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupAlertDTO"}}}},"responses":{"200":{"description":"The Group Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update Group Alert by ID","tags":["Group Alerts"]},"get":{"operationId":"GroupAlertController_getById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The Group Alert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get Group Alert by ID","tags":["Group Alerts"]},"delete":{"operationId":"GroupAlertController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a group alerts by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a group alerts by id","tags":["Group Alerts"]}},"/api/v1/backoffice/level-alerts":{"get":{"operationId":"LevelAlertsController_getLevelAlerts_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of level alert","tags":["Level Alerts"]},"post":{"operationId":"LevelAlertsController_createLevelAlert_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLevelAlertDTO"}}}},"responses":{"200":{"description":"Create a level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Create a level alert","tags":["Level Alerts"]}},"/api/v1/backoffice/level-alerts/{id}":{"get":{"operationId":"LevelAlertsController_getLevelAlertById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a level alert","tags":["Level Alerts"]},"patch":{"operationId":"LevelAlertsController_updateLevelAlertById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLevelAlertDTO"}}}},"responses":{"200":{"description":"Update level alert by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Update level alert by id","tags":["Level Alerts"]},"delete":{"operationId":"LevelAlertsController_deleteLevelAlertById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Update level alert by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Update level alert by id","tags":["Level Alerts"]}},"/api/v1/backoffice/level-alerts/{id}/translation":{"post":{"operationId":"LevelAlertsController_upsertLevelAlertTranslation_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertLevelAlertTranslationDTO"}}}},"responses":{"200":{"description":"Upsert a level alert translation by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Upsert a level alert translation by id","tags":["Level Alerts"]}},"/api/v1/backoffice/level-alerts/translation/{id}":{"delete":{"operationId":"LevelAlertsController_deleteCompanyCategoryTranslation_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a level alert translation by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Delete a level alert translation by id","tags":["Level Alerts"]}},"/api/v1/backoffice/model-pers":{"get":{"operationId":"BOModelPERSController_getListModelPERS_v1","parameters":[{"name":"label","required":false,"in":"query","schema":{"type":"string"}},{"name":"odooId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"label:asc","type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list model PERS instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListModelPERSDTO"}}}}},"security":[{"bearer":[]}],"summary":"Get a list of model PERS","tags":["Model PERS"]},"post":{"operationId":"BOModelPERSController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateModelPERSDTO"}}}},"responses":{"201":{"description":"Create a model PERS successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelPERSResponseDTO"}}}}},"security":[{"bearer":[]}],"summary":"Create a model PERS","tags":["Model PERS"]}},"/api/v1/backoffice/model-pers/{id}":{"get":{"operationId":"BOModelPERSController_findById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a model PERS by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelPERSResponseDTO"}}}}},"security":[{"bearer":[]}],"summary":"Get a model PERS by id","tags":["Model PERS"]},"patch":{"operationId":"BOModelPERSController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateModelPERSDTO"}}}},"responses":{"200":{"description":"Update a model PERS by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelPERSResponseDTO"}}}}},"security":[{"bearer":[]}],"summary":"Update a model PERS by id","tags":["Model PERS"]},"delete":{"operationId":"BOModelPERSController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a model PERS by id successfully"}},"security":[{"bearer":[]}],"summary":"Delete a model PERS by id","tags":["Model PERS"]}},"/api/v1/backoffice/odoo-sync":{"post":{"operationId":"BOOdooSyncController_upsert_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertOdooSyncDTO"}}}},"responses":{"201":{"description":"Record upserted successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OdooSyncResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Upsert OdooSync record","tags":["Odoo-Sync"]},"get":{"operationId":"BOOdooSyncController_findAll_v1","parameters":[],"responses":{"200":{"description":"Records retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OdooSyncResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get OdooSync records","tags":["Odoo-Sync"]}},"/api/v1/backoffice/riders":{"get":{"operationId":"BackOfficeRiderController_get_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}},{"name":"countryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"odooId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["Rider","Pro Center Admin","Pro Center Member"],"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of riders successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of riders","tags":["Riders Backoffice"]}},"/api/v1/backoffice/riders/{id}":{"get":{"operationId":"BackOfficeRiderController_getId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a rider by ID successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a rider by ID","tags":["Riders Backoffice"]}},"/api/v1/backoffice/switch-to/logs":{"get":{"operationId":"SwitchToLogController_getSwitchToLogs_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"fromUser","required":false,"in":"query","schema":{"type":"string"}},{"name":"toUser","required":false,"in":"query","schema":{"type":"string"}},{"name":"reason","required":false,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of switch-to logs successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSwitchToLogDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get list of switch-to logs","tags":["Switch To"]}},"/api/v1/backoffice/topic-alerts":{"get":{"operationId":"TopicAlertsController_getLevelAlerts_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"groupAlertId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of topic alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of topic alert","tags":["Topic Alerts"]},"post":{"operationId":"TopicAlertsController_createLevelAlert_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTopicAlertDTO"}}}},"responses":{"200":{"description":"Create a topic alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a topic alert","tags":["Topic Alerts"]}},"/api/v1/backoffice/topic-alerts/{id}":{"get":{"operationId":"TopicAlertsController_getLevelAlertById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a topic alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a topic alert","tags":["Topic Alerts"]},"patch":{"operationId":"TopicAlertsController_updateLevelAlertById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTopicAlertDTO"}}}},"responses":{"200":{"description":"Update topic alert by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update topic alert by id","tags":["Topic Alerts"]},"delete":{"operationId":"TopicAlertsController_deleteTopicAlertById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a topic alert by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a topic alert by id","tags":["Topic Alerts"]}},"/api/v1/backoffice/topic-alerts/{id}/translation":{"post":{"operationId":"TopicAlertsController_upsertLevelAlertTranslation_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertLevelAlertTranslationDTO"}}}},"responses":{"200":{"description":"Upsert a topic alert translation by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Upsert a topic alert translation by id","tags":["Topic Alerts"]}},"/api/v1/backoffice/topic-alerts/translation/{id}":{"delete":{"operationId":"TopicAlertsController_deleteTopicAlertTranslation_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a topic alert translation by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a topic alert translation by id","tags":["Topic Alerts"]}},"/api/v1/backoffice/admin/user-company/{email}":{"get":{"operationId":"UserCompanyController_getListGroup_v1","parameters":[{"name":"email","required":true,"in":"path","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"companies.companyName:asc","type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyName","required":false,"in":"query","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list of related company by portal user email successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCompanyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of related company by portal user email","tags":["User Company"]}},"/api/v1/backoffice/users":{"post":{"operationId":"BackOfficeUserController_post_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"bo-current-user-id","in":"header","description":"Current user ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostRequestDTO"}}}},"responses":{"201":{"description":"Create a portal user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Create a portal user","tags":["User Backoffice"]},"get":{"operationId":"BackOfficeUserController_get_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}},{"name":"countryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"odooId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["Rider","Pro Center Admin","Pro Center Member"],"type":"string"}}],"responses":{"200":{"description":"Get a list of portal users successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of portal users","tags":["User Backoffice"]}},"/api/v1/backoffice/users/{userId}/optin":{"put":{"operationId":"BackOfficeUserController_upsertPreferences_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"bo-current-user-id","in":"header","description":"Current user ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertMyPreferencesDTO"}}}},"responses":{"200":{"description":"Optin upserted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePreferencesDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Upsert optin for user","tags":["User Backoffice"]}},"/api/v1/backoffice/users/{userId}/optin/{platformTechKey}":{"get":{"operationId":"BackOfficeUserController_getPreferencesByUserId_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"platformTechKey","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Optin found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePreferencesDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get optin by user ID","tags":["User Backoffice"]}},"/api/v1/backoffice/users/{id}":{"patch":{"operationId":"BackOfficeUserController_patchId_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"bo-current-user-id","in":"header","description":"Current user ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPatchIdRequestDTO"}}}},"responses":{"200":{"description":"Update user app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Update a portal user by id","tags":["User Backoffice"]},"get":{"operationId":"BackOfficeUserController_getId_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get user app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a portal user by id","tags":["User Backoffice"]}},"/api/v1/backoffice/users/{userId}/vehicles":{"get":{"operationId":"BackOfficeUserController_getSheetVehicle_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"registrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"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"}}],"responses":{"200":{"description":"Get a list of vehicle users by portal user id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserVehicleListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle users by portal user id","tags":["User Backoffice"]}},"/api/v1/backoffice/users/{userId}/companies":{"get":{"operationId":"BackOfficeUserController_getCompanies_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of companies link by portal user id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCompanyLinkListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of companies link by portal user id","tags":["User Backoffice"]}},"/api/v1/backoffice/vehicle-brand":{"get":{"operationId":"VehicleBrandController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle brand successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleBrandDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicle brand","tags":["Vehicle Brand"]},"post":{"operationId":"VehicleBrandController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVehicleBrandDTO"}}}},"responses":{"201":{"description":"Create a vehicle brand successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleBrandResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle brand","tags":["Vehicle Brand"]}},"/api/v1/backoffice/vehicle-brand/{id}":{"get":{"operationId":"VehicleBrandController_getOneById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a vehicle brand by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleBrandResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a vehicle brand by id","tags":["Vehicle Brand"]},"patch":{"operationId":"VehicleBrandController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVehicleBrandDTO"}}}},"responses":{"200":{"description":"Update a vehicle brand by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleBrandResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a vehicle brand by id","tags":["Vehicle Brand"]},"delete":{"operationId":"VehicleBrandController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a vehicle brand by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a vehicle brand by id","tags":["Vehicle Brand"]}},"/api/v1/backoffice/vehicle-electronic-key":{"post":{"operationId":"VehicleElectronicKeyController_create_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVehicleElectKeyDTO"}}}},"responses":{"201":{"description":"Create a electronic key instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleElectKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle electronic key","tags":["Vehicle Electronic Key"]}},"/api/v1/backoffice/vehicle-electronic-key/{id}":{"patch":{"operationId":"VehicleElectronicKeyController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVehicleElectKeyDTO"}}}},"responses":{"200":{"description":"Update a vehicle electronic key by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleElectKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a vehicle electronic key by id","tags":["Vehicle Electronic Key"]},"delete":{"operationId":"VehicleElectronicKeyController_deleteById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a vehicle electronic key by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a vehicle electronic key by id","tags":["Vehicle Electronic Key"]}},"/api/v1/backoffice/vehicle-electronic-key/{vehicleId}":{"get":{"operationId":"VehicleElectronicKeyController_getListModelPERS_v1","parameters":[{"name":"vehicleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle electronic key for a vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleElectKeyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicle electronic key for a vehicle id","tags":["Vehicle Electronic Key"]}},"/api/v1/backoffice/vehicle-sharing/force-update-check-in-status":{"post":{"operationId":"BackOfficeVehicleSharingCheckInSharerController_forceUpdateStatusTemporalExtensionByAdmin_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForceUpdateCheckInStatusDTO"}}}},"responses":{"204":{"description":"Force check-in by sharer on a individual vehicle sharing successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Force check-in by sharer on a individual vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/backoffice/vehicle-sharing/force-update-check-out-status":{"post":{"operationId":"BackOfficeVehicleSharingCheckOutSharerController_forceUpdateStatusTemporalExtensionByAdmin_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForceUpdateCheckOutStatusDTO"}}}},"responses":{"204":{"description":"Force update temporal sharing check-out status successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Force update temporal sharing check-out status","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/backoffice/vehicle-sharing/extensions":{"get":{"operationId":"BackOfficeVehicleSharingController_get_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"userType","required":false,"in":"query","schema":{"type":"number"}},{"name":"vehicleId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sharingId","required":false,"in":"query","schema":{"type":"string"}},{"name":"pilotName","required":false,"in":"query","schema":{"type":"string"}},{"name":"sharingType","required":false,"in":"query","schema":{"type":"string"}},{"name":"sharingStatus","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of individual vehicle sharing extension by portal user id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListIndividualSharingDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of individual vehicle sharing extension by portal user id","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/vehicle-sharing/extensions/{id}":{"get":{"operationId":"BackOfficeVehicleSharingController_getAdminDetailIndividualSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"userType","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a individual vehicle sharing by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a individual vehicle sharing by id","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/vehicle-sharing/extensions/{id}/regenerate-guest-code-pin":{"patch":{"operationId":"BackOfficeVehicleSharingController_regenerateGuestCodePin_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Regenerate Guest Code PIN for a vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Regenerate Guest Code PIN for a vehicle sharing","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/vehicle-sharing/force-update-permanent-extension/{id}/status":{"patch":{"operationId":"BackOfficeVehicleSharingController_forceUpdateStatusPermanentExtensionByAdmin_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Update status on a individual vehicle sharing permanent extension id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status on a individual vehicle sharing permanent extension id","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/vehicle-sharing/admin-update-temporal-extension/{id}/status":{"patch":{"operationId":"BackOfficeVehicleSharingController_adminUpdateTemporalExtension_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Update status on a individual vehicle sharing temporal extension id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status on a individual vehicle sharing temporal extension id","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/vehicle-sharing/admin-update-unique-extension/{id}/status":{"patch":{"operationId":"BackOfficeVehicleSharingController_adminUpdateUniqueExtension_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Update status on a individual vehicle sharing unique extension id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status on a individual vehicle sharing unique extension id (SIMPLE method)","tags":["Vehicle Sharing Backoffice"]}},"/api/v1/backoffice/internals/vehicle-types":{"get":{"operationId":"VehicleTypeController_getList_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"label","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleModel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle types successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle types","tags":["Vehicle Types"]},"post":{"operationId":"VehicleTypeController_create_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVehicleTypeDTO"}}}},"responses":{"201":{"description":"Create a vehicle type successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleTypeResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Create a vehicle type","tags":["Vehicle Types"]}},"/api/v1/backoffice/internals/vehicle-types/{id}":{"get":{"operationId":"VehicleTypeController_getOne_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get detail of vehicle types successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleTypeResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get detail of vehicle types","tags":["Vehicle Types"]},"patch":{"operationId":"VehicleTypeController_update_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVehicleTypeDTO"}}}},"responses":{"200":{"description":"Update a vehicle type successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleTypeResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Update a vehicle type","tags":["Vehicle Types"]},"delete":{"operationId":"VehicleTypeController_delete_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a vehicle type by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Delete a vehicle type by id","tags":["Vehicle Types"]}},"/api/v1/backoffice/vehicle-users":{"post":{"operationId":"BackOfficeVehicleUserController_post_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserPostRequestDTO"}}}},"responses":{"201":{"description":"Create a vehicle user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle user","tags":["Vehicle User Backoffice"]}},"/api/v1/backoffice/vehicle-users/{id}":{"patch":{"operationId":"BackOfficeVehicleUserController_patchId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserPatchIdRequestDTO"}}}},"responses":{"200":{"description":"VehicleUser information after updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update vehicle user by id","tags":["Vehicle User Backoffice"]},"delete":{"operationId":"BackOfficeVehicleUserController_deleteId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete vehicle app successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a vehicle user by id","tags":["Vehicle User Backoffice"]},"get":{"operationId":"BackOfficeVehicleUserController_getId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get vehicle app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a vehicle user by id","tags":["Vehicle User Backoffice"]}},"/api/v1/backoffice/vehicle-users/{vehicleId}/users":{"get":{"operationId":"BackOfficeVehicleUserController_get_v1","parameters":[{"name":"vehicleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"userName","required":false,"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"}}],"responses":{"200":{"description":"Get a list of vehicle users for a vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleUserDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicle users for a vehicle id","tags":["Vehicle User Backoffice"]}},"/api/v1/backoffice/vehicle-model/{id}":{"get":{"operationId":"VehicleBOController_getVehicleModelById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a vehicle model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a vehicle model by id","tags":["Vehicle Model"]},"patch":{"operationId":"VehicleBOController_updateById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVehicleModelDTO"}}}},"responses":{"200":{"description":"Update a vehicle model by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update a vehicle model by id","tags":["Vehicle Model"]},"delete":{"operationId":"VehicleBOController_deleteById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a vehicle model by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete a vehicle model by id","tags":["Vehicle Model"]}},"/api/v1/backoffice/vehicle-model":{"post":{"operationId":"VehicleBOController_create_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVehicleModelDTO"}}}},"responses":{"201":{"description":"Create a vehicle model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleModelResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a vehicle model","tags":["Vehicle Model"]},"get":{"operationId":"VehicleBOController_getListVehicleModel_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of vehicle model","tags":["Vehicle Model"]}},"/api/v1/backoffice/vehicle-model/brand/{brandId}":{"get":{"operationId":"VehicleBOController_getVehicleModelByBrandId_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"brandId","required":true,"in":"path","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list of vehicle model by brand id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of vehicle model by brand id","tags":["Vehicle Model"]}},"/api/v1/backoffice/vehicles":{"post":{"operationId":"BackOfficeVehicleController_post_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehiclePostRequestDTO"}}}},"responses":{"201":{"description":"Vehicle information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehiclePostResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle","tags":["Vehicle Backoffice"]},"get":{"operationId":"BackOfficeVehicleController_get_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialNumber","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"nameVehicle","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"registrationNumber","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"userName","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"name":"filterType","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}}],"responses":{"200":{"description":"Get vehicles app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleGetResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicles","tags":["Vehicle Backoffice"]}},"/api/v1/backoffice/vehicles/{id}":{"patch":{"operationId":"BackOfficeVehicleController_patchId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehiclePatchIdRequestDTO"}}}},"responses":{"200":{"description":"Vehicle information after updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehiclePatchIdResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a vehicle by id","tags":["Vehicle Backoffice"]},"delete":{"operationId":"BackOfficeVehicleController_deleteId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete vehicle app successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a vehicle by id","tags":["Vehicle Backoffice"]},"get":{"operationId":"BackOfficeVehicleController_getId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get vehicle app successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleGetIdResponseDTO"}}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a vehicle by id","tags":["Vehicle Backoffice"]}},"/api/v1/backoffice/vehicles/pers/link":{"post":{"operationId":"BackOfficeVehicleController_linkPersToVehicle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsertOrRemovePERSToVehicleDTO"}}}},"responses":{"201":{"description":"Link a pers to a vehicle successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleGetResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Link a pers to a vehicle","tags":["Vehicle Backoffice"]}},"/api/v1/backoffice/vehicles/pers/un-link":{"post":{"operationId":"BackOfficeVehicleController_unlinkPersToVehicle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsertOrRemovePERSToVehicleDTO"}}}},"responses":{"201":{"description":"Unlink a pers to a vehicle successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleGetResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Unlink a pers to a vehicle","tags":["Vehicle Backoffice"]}},"/api/v1/vehicles":{"post":{"operationId":"DirectVehicleController_addUserDirectVehicle_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserDirectVehicleDTO"}}}},"responses":{"200":{"description":"Add user to direct vehicle successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseDirectVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Add user to direct vehicle","tags":["Direct Vehicle"]}},"/api/v1/vehicles/cancel-direct-vehicle/{id}":{"post":{"operationId":"DirectVehicleController_cancelDirectVehicleByUser_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Cancel direct vehicles by user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Cancel direct vehicles by user","tags":["Direct Vehicle"]}},"/api/v1/vehicles/vehicle-sharing/seq-number-calculation":{"get":{"operationId":"SeqNumberCalculationController_getReferenceSharingId_v1","parameters":[],"responses":{"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"},"default":{"description":"Get a new seq number for a vehicle sharing successfully"}},"summary":"Get a new seq number for a vehicle sharing","tags":["Seq Number Calculation"]}},"/api/v1/vehicles/vehicle-sharing/insert-reference-sharing-id-for-all":{"get":{"operationId":"SeqNumberCalculationController_insertReferenceSharingIdForAllVehicleSharing_v1","parameters":[],"responses":{"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"},"default":{"description":"Insert seq number for all individual vehicle sharing successfully"}},"summary":"Insert seq number for all individual vehicle sharing","tags":["Seq Number Calculation"]}},"/api/v1/vehicles/users/vehicle-sharing/activate-check-in":{"post":{"operationId":"VehicleSharingCheckInSharerController_activateCheckInSharer_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateCheckInSharerDTO"}}}},"responses":{"200":{"description":"Activate check-in sharer successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCheckInSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Activate check-in sharer vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/vehicles/users/vehicle-sharing/unactivate-check-in":{"post":{"operationId":"VehicleSharingCheckInSharerController_unactivateCheckinSharer_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateCheckInSharerDTO"}}}},"responses":{"200":{"description":"UnActivate check-in sharer successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCheckInSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"UnActivate check-in sharer vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/vehicles/users/vehicle-sharing/accept-check-in-beneficiary":{"post":{"operationId":"VehicleSharingCheckInSharerController_confirmCheckinBeneficiary_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartCheckinBeneficiaryDTO"}}}},"responses":{"200":{"description":"Accept check-in by beneficiary successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCheckInSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Accept check-in by beneficiary vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/vehicles/users/vehicle-sharing/decline-check-in-sharer":{"post":{"operationId":"VehicleSharingCheckInSharerController_declineCheckInByMainPilot_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineCheckInByMainPilotDTO"}}}},"responses":{"200":{"description":"Decline check-in by sharer successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCheckInSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Decline check-in by sharer vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/vehicles/users/vehicle-sharing/decline-check-in-beneficiary":{"post":{"operationId":"VehicleSharingCheckInSharerController_declineCheckInByGuest_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineCheckInByGuestDTO"}}}},"responses":{"200":{"description":"Decline check-in by beneficiary successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCheckInSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Decline check-in by beneficiary vehicle sharing","tags":["Vehicle Sharing Check-In"]}},"/api/v1/vehicles/users/vehicle-sharing/confirm-check-out-beneficiary":{"post":{"operationId":"VehicleSharingCheckOutSharerController_confirmCheckoutBeneficiary_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmCheckoutBeneficiaryDTO"}}}},"responses":{"200":{"description":"Confirm check out beneficiary vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseActivateCheckOutSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Confirm check out beneficiary vehicle sharing","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/vehicles/users/vehicle-sharing/confirm-check-out-sharer":{"post":{"operationId":"VehicleSharingCheckOutSharerController_confirmCheckoutSharer_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmCheckoutSharerDTO"}}}},"responses":{"200":{"description":"Confirm check out sharer vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseActivateCheckOutSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Confirm check out sharer vehicle sharing","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/vehicles/users/vehicle-sharing/decline-check-out-sharer":{"post":{"operationId":"VehicleSharingCheckOutSharerController_declineCheckoutSharer_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmCheckoutSharerDTO"}}}},"responses":{"200":{"description":"Decline check out sharer vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseActivateCheckOutSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Decline check out sharer vehicle sharing","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/vehicles/users/vehicle-sharing/decline-checkout-beneficiary":{"post":{"operationId":"VehicleSharingCheckOutSharerController_declineCheckoutBeneficiary_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineCheckoutBeneficiaryDTO"}}}},"responses":{"200":{"description":"Decline check out beneficiary vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseActivateCheckOutSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Decline check out beneficiary vehicle sharing","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/vehicles/users/vehicle-sharing/force-checkout-sharer":{"post":{"operationId":"VehicleSharingCheckOutSharerController_forceCheckOutByMainPilot_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForceCheckOutByMainPilotDTO"}}}},"responses":{"200":{"description":"Force check out sharer vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseActivateCheckOutSharerDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Force check out sharer vehicle sharing","tags":["Vehicle Sharing Check-Out"]}},"/api/v1/vehicles/users/vehicle-sharing":{"post":{"operationId":"VehicleSharingController_createVehicleSharing_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Create a vehicle sharing successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a vehicle sharing","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/individual-sharing/beneficiaries":{"get":{"operationId":"VehicleSharingController_getListVehicleSharingByBeneficiary_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of individual vehicle sharing by beneficiary id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIndividualSharingByBeneficiaryDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of individual vehicle sharing by beneficiary id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/individual-sharing/{id}":{"get":{"operationId":"VehicleSharingController_getSharerDetailIndividualSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userType","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list of individual vehicle sharing by portal user and type (sharer or beneficiary) successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of individual vehicle sharing by portal user and type (sharer or beneficiary)","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/individual-sharing/vehicle/{vehicleId}":{"get":{"operationId":"VehicleSharingController_getListSharerIndividualSharing_v1","parameters":[{"name":"vehicleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sharingType","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of individual vehicle sharing by vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of individual vehicle sharing by vehicle id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing/{id}":{"patch":{"operationId":"VehicleSharingController_updateVehicleSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Update individual vehicle sharing by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update individual vehicle sharing by id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing/{id}/status":{"patch":{"operationId":"VehicleSharingController_updateStatusVehicleSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Update status individual vehicle sharing by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status individual vehicle sharing by id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing-unique/{id}/cancel":{"patch":{"operationId":"VehicleSharingController_cancelSharerUniqueIndividualVehicleSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Cancel unique individual vehicle sharing by sharer","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing-temporal/extension/{id}/status":{"patch":{"operationId":"VehicleSharingController_updateTemporalSharingExtensionStatus_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"status","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Update status temporal individual vehicle sharing extension by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status temporal individual vehicle sharing extension by id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing-permanent/extension/{id}/status":{"patch":{"operationId":"VehicleSharingController_updatePermanentExtensionStatus_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"status","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Update status permanent individual vehicle sharing extension by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update status permanent individual vehicle sharing extension by id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/vehicle-sharing/{id}/key-beneficiary":{"patch":{"operationId":"VehicleSharingController_addKeyBeneficiaryIndividualVehicleSharing_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddKeyBeneficiaryIndividualVehicleSharingDTO"}}}},"responses":{"200":{"description":"Add key beneficiary successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSharingResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Add a key beneficiary to an individual vehicle sharing (Simple Sharing only)","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/individual-vehicle-sharing/vehicle/{vehicleId}/calendar":{"get":{"operationId":"VehicleSharingController_getUnavailableDate_v1","parameters":[{"name":"vehicleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"sourceId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get unavailable date of a vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUnavailableDateResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get unavailable date of a vehicle id","tags":["Vehicle Sharing"]}},"/api/v1/vehicles/users/trips/vehicles":{"get":{"operationId":"VehicleTripController_getVehicleFromTrips_v1","parameters":[{"name":"timezone","required":false,"in":"query","schema":{"example":"Europe/Paris","type":"string"}}],"responses":{"200":{"description":"Get vehicle from trips successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVehicleFromTripResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get vehicle from trips","tags":["Vehicle Trip"]}},"/api/v1/vehicles/users/trips/statistics":{"get":{"operationId":"VehicleTripController_getTripStatistics_v1","parameters":[{"name":"period","required":false,"in":"query","schema":{"example":"week","enum":["week","month","year","global"],"type":"string"}},{"name":"timezone","required":false,"in":"query","schema":{"example":"Europe/Paris","type":"string"}},{"name":"vehicle","required":false,"in":"query","schema":{"example":"\"all\" or 03857c08-57dd-409c-aa9f-f4e28b5262ed","type":"string"}}],"responses":{"200":{"description":"Get trip statistics successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripStatisticsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get trip statistics","tags":["Vehicle Trip"]}},"/api/v1/vehicles/users/vehicles":{"get":{"operationId":"VehicleUserController_getListVehicleUserByUserId_v1","parameters":[],"responses":{"200":{"description":"Get list of relations between user and vehicle successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListVehiclesUserByUserIdDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of vehicle users","tags":["Vehicle User"]}},"/api/v1/vehicles/users/registered-vehicles":{"get":{"operationId":"VehicleUserController_getRegisteredVehicles_v1","parameters":[],"responses":{"200":{"description":"Get a list of registered vehicle of current users successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListMyRegisteredVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of registered vehicle of current users","tags":["Vehicle User"]}},"/api/v1/vehicles/vehicle-user/{vehicleUserId}":{"get":{"operationId":"VehicleUserController_getUserDetailVehicle_v1","parameters":[{"name":"vehicleUserId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a detail of vehicle user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVehiclesUserByUserIdDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a detail of vehicle user","tags":["Vehicle User"]}},"/api/v1/vehicles/vehicle-user/{vehicleUserId}/total-vehicle-trip-statistic":{"get":{"operationId":"VehicleUserController_getTotalVehicleTripStatistic_v1","parameters":[{"name":"vehicleUserId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get total vehicle trips statistic of a vehicle user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get total vehicle trips statistic of a vehicle user","tags":["Vehicle User"]}},"/api/v1/vehicles/users/vehicle-user/{vehicleUserId}/{isGetHistory}":{"get":{"operationId":"VehicleUserController_getKeyChainMainPilotIndividualSharing_v1","parameters":[{"name":"vehicleUserId","required":true,"in":"path","schema":{"type":"string"}},{"name":"isGetHistory","required":true,"in":"path","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Get the Keychain of a vehicle user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyChainMainPilotIndividualVehicleSharingDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get the Keychain of a vehicle user","tags":["Vehicle User"]}},"/api/v1/vehicles/vehicle-user/{vehicleUserId}/remote-lock":{"post":{"operationId":"VehicleUserController_remoteLockVehicle_v1","parameters":[{"name":"vehicleUserId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Remote lock vehicle by vehicle user id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Remote lock vehicle by vehicle user id","tags":["Vehicle User"]}},"/api/v1/vehicles/vehicle-user/{vehicleUserId}/remote-update-status-geoloc":{"post":{"operationId":"VehicleUserController_remoteUpdateStatusGeoloc_v1","parameters":[{"name":"vehicleUserId","required":true,"in":"path","schema":{"type":"string"}},{"name":"isActive","required":true,"in":"query","schema":{"type":"boolean"}}],"responses":{"204":{"description":"Remote update status geoloc by vehicle user id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Remote update status geoloc vehicle by vehicle user id","tags":["Vehicle User"]}},"/api/v1/backoffice/company/api-keys":{"get":{"description":"Retrieve a paginated list of company API keys with optional filters for company, status, and pause state.","operationId":"BOCompanyAPIKeyController_getCompanyApiKeys_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"idCompany","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":[1,2,3,4],"type":"number"}}],"responses":{"200":{"description":"List of company API keys retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get list of company API keys with filters","tags":["Backoffice - Company API Key Management"]},"post":{"description":"Create a new API key for a company with specified parameters. The API key will be generated automatically and set to TO_ACTIVATE status.","operationId":"BOCompanyAPIKeyController_createCompanyApiKey_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyAPIKeyDTO"}}}},"responses":{"201":{"description":"Company API key created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a new company API key","tags":["Backoffice - Company API Key Management"]}},"/api/v1/backoffice/company/api-keys/logs":{"get":{"description":"Retrieve a paginated list of API key logs for a given company.","operationId":"BOCompanyAPIKeyController_getCompanyApiKeyLogs_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"callContent","required":false,"in":"query","schema":{"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"type":"string"}},{"name":"acceptanceStatus","required":false,"in":"query","schema":{"type":"string"}},{"name":"executionStatus","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of API Key logs successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BOCompanyAPIKeyLogResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of API Key logs for a specific company","tags":["Backoffice - Company API Key Management"]}},"/api/v1/backoffice/company/api-keys/{id}":{"get":{"description":"Retrieve detailed information about a specific company API key by its ID.","operationId":"BOCompanyAPIKeyController_getCompanyApiKeyById_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Company API key details retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get company API key details","tags":["Backoffice - Company API Key Management"]},"patch":{"description":"Update API key limits, status, or pause state for a specific company API key.","operationId":"BOCompanyAPIKeyController_updateCompanyApiKey_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyAPIKeyDTO"}}}},"responses":{"200":{"description":"Company API key updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update company API key","tags":["Backoffice - Company API Key Management"]},"delete":{"description":"Permanently delete a company API key. This action cannot be undone.","operationId":"BOCompanyAPIKeyController_deleteApiKey_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"API key deleted successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete company API key","tags":["Backoffice - Company API Key Management"]}},"/api/v1/backoffice/company/api-keys/{id}/regenerate":{"post":{"description":"Generate a new API key for the specified company API key record. The old key will be invalidated.","operationId":"BOCompanyAPIKeyController_regenerateApiKey_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"API key regenerated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Regenerate API key","tags":["Backoffice - Company API Key Management"]}},"/api/v1/backoffice/company/api-key/{id}/periods":{"post":{"description":"Create a new period for a company API key with specified date range. Validates for overlapping periods.","operationId":"BOCompanyAPIKeyPeriodController_createApiKeyPeriod_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyApiKeyPeriodDTO"}}}},"responses":{"201":{"description":"API key period created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyApiKeyPeriodResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create a new API key period","tags":["Backoffice - Company API Key Period Management"]}},"/api/v1/backoffice/company/api-key/{id}/periods/{periodId}":{"patch":{"description":"Update the date range of an existing API key period. Validates for overlapping periods.","operationId":"BOCompanyAPIKeyPeriodController_updateApiKeyPeriod_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"periodId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCompanyApiKeyPeriodDTO"}}}},"responses":{"200":{"description":"API key period updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyApiKeyPeriodResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update API key period","tags":["Backoffice - Company API Key Period Management"]},"delete":{"description":"Permanently delete an API key period. This action cannot be undone.","operationId":"BOCompanyAPIKeyPeriodController_deleteApiKeyPeriod_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"periodId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"API key period deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"deletedId":{"type":"string"}}}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete API key period","tags":["Backoffice - Company API Key Period Management"]}},"/api/v1/company/{companyId}/api-keys":{"get":{"description":"Retrieve a paginated list of API keys for a given company.","operationId":"CompanyAPIKeyController_getCompanyApiKeys_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of API Keys successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicListCompanyApiKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of API Keys for a specific company","tags":["Company API Key"]}},"/api/v1/company/api-key/{apiKey}":{"get":{"operationId":"InternalCompanyAPIKeyController_findCompanyApiKeyByKey_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"apiKey","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company API key successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get company API key by key","tags":["Company API Key"]}},"/api/v1/company/api-key/logs":{"post":{"operationId":"InternalCompanyAPIKeyController_createCompanyApiKeyLog_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAPIKeyLogDTO"}}}},"responses":{"200":{"description":"Create company API key logs successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyLogResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create company API key logs","tags":["Company API Key"]}},"/api/v1/company/api-key/logs/{id}":{"patch":{"operationId":"InternalCompanyAPIKeyController_updateCompanyApiKeyLog_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAPIKeyLogDTO"}}}},"responses":{"200":{"description":"Update company API key logs successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyAPIKeyLogResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update company API key logs","tags":["Company API Key"]}},"/api/v1/backoffice/users/{id}/allowed-pilots":{"get":{"operationId":"SubscriptionAllowedPilotController_getAllowedPilot_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of allowed pilot by portal user id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSubscriptionAllowedPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of allowed pilot by portal user id","tags":["Subscription Allowed-Pilot"]}},"/api/v1/backoffice/admin/subscriptions/{id}/allowed-pilots":{"get":{"operationId":"SubscriptionAllowedPilotController_getSubscriptionAllowedPilots_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of subscription allowed pilots by subscription id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSubscriptionAllowedPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of subscription allowed pilots by subscription id","tags":["Subscription Allowed-Pilot"]},"post":{"operationId":"SubscriptionAllowedPilotController_createSubscriptionAllowedPilot_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionAllowedPilotDTO"}}}},"responses":{"201":{"description":"Create a subscription allowed pilot on a subscription id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionAllowedPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a subscription allowed pilot on a subscription id","tags":["Subscription Allowed-Pilot"]}},"/api/v1/backoffice/admin/subscriptions/{subscriptionId}/allowed-pilots/{id}":{"patch":{"operationId":"SubscriptionAllowedPilotController_updateSubscriptionAllowedPilot_v1","parameters":[{"name":"subscriptionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionAllowedPilotDTO"}}}},"responses":{"200":{"description":"Update a subscription allowed pilot by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionAllowedPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a subscription allowed pilot by id","tags":["Subscription Allowed-Pilot"]}},"/api/v1/backoffice/admin/subscriptions/allowed-pilots/{id}":{"delete":{"operationId":"SubscriptionAllowedPilotController_deleteSubscriptionAllowedPilot_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a subscription allowed pilot by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a subscription allowed pilot by id","tags":["Subscription Allowed-Pilot"]}},"/api/v1/backoffice/admin/subscriptions/{id}/allowed-pilots/{pilotId}/regenerate-code-pin":{"post":{"operationId":"SubscriptionAllowedPilotController_regenerateCodePin_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"pilotId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Regenerate code pin for subscription allowed pilots on a subscription id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionAllowedPilotResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Regenerate code pin for subscription allowed pilots on a subscription id","tags":["Subscription Allowed-Pilot"]}},"/api/v1/backoffice/admin/subscriptions/{id}/vehicle":{"get":{"operationId":"SubscriptionVehicleController_getSubscriptionVehicles_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of subscription vehicles by subscription id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of subscription vehicles by subscription id","tags":["Subscription Vehicle"]}},"/api/v1/backoffice/admin/subscriptions/{id}/vehicles":{"post":{"operationId":"SubscriptionVehicleController_createSubscriptionVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionVehicleDTO"}}}},"responses":{"201":{"description":"Create a subscription vehicle on a subscription id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a subscription vehicle on a subscription id","tags":["Subscription Vehicle"]}},"/api/v1/backoffice/admin/subscriptions/vehicles/{id}":{"patch":{"operationId":"SubscriptionVehicleController_updateSubscriptionVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionVehicleDTO"}}}},"responses":{"200":{"description":"Update a subscription vehicle by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a subscription vehicle by id","tags":["Subscription Vehicle"]},"delete":{"operationId":"SubscriptionVehicleController_deleteSubscriptionVehicle_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Delete a subscription vehicle by id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Delete a subscription vehicle by id","tags":["Subscription Vehicle"]}},"/api/v1/backoffice/admin/subscriptions":{"get":{"operationId":"SubscriptionController_getSubscriptions_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"company","required":false,"in":"query","schema":{"type":"string"}},{"name":"subscriber","required":false,"in":"query","schema":{"type":"string"}},{"name":"referenceSubscription","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegistrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list subscriptions instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSubscriptionDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of subscriptions.","tags":["Subscriptions"]},"post":{"operationId":"SubscriptionController_createOne_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionDTO"}}}},"responses":{"201":{"description":"Create a subscription successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Create a subscription","tags":["Subscriptions"]}},"/api/v1/backoffice/admin/subscriptions/{id}":{"patch":{"operationId":"SubscriptionController_updateById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionDTO"}}}},"responses":{"200":{"description":"Update a subscription by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Update a subscription by id","tags":["Subscriptions"]},"get":{"operationId":"SubscriptionController_findById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a subscription by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a subscription by id","tags":["Subscriptions"]}},"/api/v1/backoffice/admin/subscriptions/subscriber/{id}":{"get":{"operationId":"SubscriptionController_findBySubscriberId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"subscriptionRef","required":false,"in":"query","schema":{"type":"string"}},{"name":"subscriber","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"],"type":"string"}},{"name":"type","required":true,"in":"query","schema":{"enum":["company","individual"],"type":"string"}}],"responses":{"200":{"description":"Get a list of subscriptions by portal user id or company id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of subscriptions by portal user id or company id","tags":["Subscriptions"]}},"/api/v1/backoffice/admin/subscriptions/vehicle/{id}":{"get":{"operationId":"SubscriptionController_findByVehicleId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"subscriptionRef","required":false,"in":"query","schema":{"type":"string"}},{"name":"subscriber","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":true,"in":"query","schema":{"enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"],"type":"string"}}],"responses":{"200":{"description":"Get a list of subscriptions by vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of subscriptions by vehicle id","tags":["Subscriptions"]}},"/api/v1/backoffice/user/{userId}/comm-system-log":{"get":{"operationId":"CommSystemLogManagementController_getListUserCommSystemLog_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"persSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":[1,2,5,9],"type":"number"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Get admin list user comm system log by portal user Id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserCommSystemLogDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get admin list user comm system log by portal user Id","tags":["User Comm System Logs"]}},"/api/v1/users/comm-system-logs":{"post":{"operationId":"CommSystemLogController_storeUserCommSystemLog_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreUserCommSystemLogDTO"}}}},"responses":{"204":{"description":"The log has been successfully created."},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Store user communication system log","tags":["User Comm System Logs"]}},"/api/v1/odoo/odoo/companies/sync-partners-to-company":{"get":{"operationId":"OdooCompanyController_syncPartnersToCompany_v1","parameters":[],"responses":{"200":{"description":""}},"tags":["Odoo"]}},"/api/v1/odoo/odoo/companies/sync-companies-to-partners":{"get":{"operationId":"OdooCompanyController_syncCompanyToPartners_v1","parameters":[],"responses":{"200":{"description":""}},"tags":["Odoo"]}},"/api/v1/backoffice/internals/sheet-activities":{"post":{"operationId":"InternalsController_createSheetActivity_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSheetActivityDTO"}}}},"responses":{"201":{"description":"Create an sheet activity instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetActivityResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Create a activity","tags":["Internals"]}},"/api/v1/backoffice/internals/pers/{persSerialNumber}":{"get":{"operationId":"InternalsController_getPersBySerialNumber_v1","parameters":[{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get pers by serial number successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get pers by serial number","tags":["Internals"]}},"/api/v1/backoffice/internals/user/name/{name}":{"get":{"operationId":"InternalsController_getListUsersByName_v1","parameters":[{"name":"name","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get users app successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a portal users by name","tags":["Internals"]}},"/api/v1/backoffice/internals/user/{id}":{"get":{"operationId":"InternalsController_getUserById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"isProCenterMember","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Get user app successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a portal user by id","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle-user/{id}":{"get":{"operationId":"InternalsController_getVehicleUsersById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get vehicle users by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get vehicle users by id","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle-user/vehicle/{id}":{"get":{"operationId":"InternalsController_getVehicleUsersByVehicleId_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle users by vehicle id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle users by vehicle id","tags":["Internals"]}},"/api/v1/backoffice/internals/pers/vehicle-users":{"get":{"operationId":"InternalsController_getListVehicleUser_v1","parameters":[{"name":"persId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle users successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersVehicleUserResDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle users","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle-user/pers/{id}":{"post":{"operationId":"InternalsController_checkRenewVehicleListUsers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Check Renew Vehicle List Users by pers id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckRenewVehicleListUsersDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Check Renew Vehicle List Users by pers id","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle-user/pers":{"post":{"operationId":"InternalsController_insertOrRemovePersIdFromVehicleUser_v1","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsertOrRemovePERSToVehicleDTO"}}}},"responses":{"201":{"description":"Insert or remove pers id on a vehicle user successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUserResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Insert or remove pers id on a vehicle user","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle-sharing/{id}":{"get":{"operationId":"InternalsController_getVehicleSharingById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a vehicle sharing by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a vehicle sharing by id","tags":["Internals"]}},"/api/v1/backoffice/internals/vehicle/{id}":{"get":{"operationId":"InternalsController_getVehicleById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a vehicle by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a vehicle by id","tags":["Internals"]}},"/api/v1/backoffice/internals/user-platform-tech":{"get":{"operationId":"InternalsController_getUserPlatformTech_v1","parameters":[{"name":"email","required":true,"in":"query","schema":{"type":"string"}},{"name":"platformTechId","required":true,"in":"query","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a user platform tech successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPlatformTechResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a user platform tech","tags":["Internals"]}},"/api/v1/backoffice/internals/import-timezone-to-subscription":{"post":{"operationId":"InternalsController_importTimezoneFromSystemConfigToSubscription_v1","parameters":[],"responses":{"200":{"description":"Import timezone from system config to subscription successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Import timezone from system config to subscription","tags":["Internals"]}},"/api/v1/backoffice/internals/import-timezone-to-vehicle-sharing":{"post":{"operationId":"InternalsController_importTimezoneFromSystemConfigToVehicleSharing_v1","parameters":[],"responses":{"200":{"description":"Import timezone from system config to vehicle sharing successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Import timezone from system config to vehicle sharing","tags":["Internals"]}},"/api/v1/backoffice/internals/import-timezone-to-vehicle-user":{"post":{"operationId":"InternalsController_importTZFromVehicleSharingOrSubscriptionToVehicleUser_v1","parameters":[],"responses":{"200":{"description":"Import timezone from vehicle sharing or subscription to vehicle user successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Import timezone from vehicle sharing or subscription to vehicle user","tags":["Internals"]}},"/api/v1/backoffice/internals/get-direct-vehicles":{"get":{"operationId":"InternalsController_getAdminListDirectVehicleByUserId_v1","parameters":[{"name":"portalUserId","required":true,"in":"query","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get admin list direct vehicles by portal user Id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDirectVehicleDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get admin list direct vehicles by portal user Id","tags":["Internals"]}},"/api/v1/backoffice/internals/cancel-direct-vehicles/{directVehicleId}":{"post":{"operationId":"InternalsController_cancelDirectVehicle_v1","parameters":[{"name":"directVehicleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Cancel direct vehicles successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Cancel direct vehicles","tags":["Internals"]}},"/api/v1/backoffice/internals/company/{id}":{"get":{"operationId":"InternalsController_getCompanyById_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get a company by id successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a company by id","tags":["Internals"]}},"/api/v1/backoffice/internals/company-category/{companyId}":{"get":{"operationId":"InternalsController_getCompanyCategoryByCompanyId_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get company category by company id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get company category by company id","tags":["Internals"]}},"/api/v1/backoffice/internals/companies":{"get":{"operationId":"InternalsController_getAllCompanies_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get all companies successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get all companies","tags":["Internals"]}},"/api/v1/backoffice/internals/companies/company-category/{companyCategoryId}":{"get":{"operationId":"InternalsController_getCompanyIdsByCompanyCategoryId_v1","parameters":[{"name":"companyCategoryId","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get all company id by company category successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get all company id by company category","tags":["Internals"]}},"/api/v1/backoffice/internals/user-company/company-role/{companyRoleId}":{"get":{"operationId":"InternalsController_getUserCompanyByCompanyRoleId_v1","parameters":[{"name":"companyRoleId","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get user by company role id successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get user by company role id","tags":["Internals"]}},"/api/v1/backoffice/internals/company-pers-link/{linkType}/exclude-company/{companyId}":{"get":{"operationId":"InternalsController_getListCompanyWithPersLink_v1","parameters":[{"name":"linkType","required":true,"in":"path","schema":{"type":"number"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list company with linkType successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SheetCompanyLinkResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list company with linkType","tags":["Internals"]}},"/api/v1/backoffice/internals/group-alert-fields":{"get":{"operationId":"InternalsController_findAll_v1","parameters":[],"responses":{"200":{"description":"All records retrieved successfully with full details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertFieldResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get all group alert fields with details","tags":["Internals"]}},"/api/v1/backoffice/systems/company-cixi-referent":{"get":{"operationId":"SystemsController_getListCIXIReference_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"email","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get company cixi referent successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyCIXIReferentResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company cixi referent","tags":["Systems"]}},"/api/v1/backoffice/systems/companies":{"get":{"operationId":"SystemsController_getCompanies_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"updatedAt:asc","type":"string"}},{"name":"companyType","required":false,"in":"query","schema":{"enum":["independent","mother","children"],"type":"string"}},{"name":"subscriberType","required":false,"in":"query","schema":{"enum":["company","individual"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["to_approve","approved","refused","archived"],"type":"string"}},{"name":"companyCategoryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"country","required":false,"in":"query","schema":{"type":"string"}},{"name":"zipCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyName","required":false,"in":"query","schema":{"type":"string"}},{"name":"offset","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Get a list of companies successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of companies","tags":["Systems"]}},"/api/v1/backoffice/systems/subscriptions":{"get":{"operationId":"SystemsController_getSubscriptions_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"company","required":false,"in":"query","schema":{"type":"string"}},{"name":"subscriber","required":false,"in":"query","schema":{"type":"string"}},{"name":"referenceSubscription","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegistrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list subscriptions instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSubscriptionDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of subscriptions.","tags":["Systems"]}},"/api/v1/backoffice/systems/pers":{"get":{"operationId":"SystemsController_getListPERS_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialPersNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"modelPERSId","required":false,"in":"query","schema":{"type":"string"}},{"name":"firmwareVersionId","required":false,"in":"query","schema":{"type":"string"}},{"name":"odooPersId","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicle","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegistrationNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"manufacturer","required":false,"in":"query","schema":{"type":"string"}},{"name":"subcontractor","required":false,"in":"query","schema":{"type":"string"}},{"name":"initialKitConfiguration","required":false,"in":"query","schema":{"type":"string"}},{"name":"currentKitConfiguration","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list PERS instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPERSDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of PERS","tags":["Systems"]}},"/api/v1/backoffice/systems/model-pers":{"get":{"operationId":"SystemsController_getListModelPERS_v1","parameters":[{"name":"odooId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"example":"label:asc","type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"label","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list model PERS instance successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListModelPERSDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of model PERS","tags":["Systems"]}},"/api/v1/backoffice/systems/vehicles":{"get":{"operationId":"SystemsController_get_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"serialNumber","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"nameVehicle","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"registrationNumber","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"userName","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"default":"","type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}},{"name":"filterType","required":false,"in":"query","schema":{"enum":[1,2],"type":"number"}}],"responses":{"200":{"description":"Get vehicles app successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleGetResponseDTO"}}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicles","tags":["Systems"]}},"/api/v1/backoffice/systems/electronic-key":{"get":{"operationId":"SystemsController_getListElectronicKey_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"nuSerialElectronicKeyNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"idOdooElectronicKey","required":false,"in":"query","schema":{"type":"string"}},{"name":"electronicKeyModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleName","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleRegisterNumber","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list electronic key successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListElectronicKeyDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of electronic key","tags":["Systems"]}},"/api/v1/backoffice/systems/electronic-key-model":{"get":{"operationId":"SystemsController_getListElectronicKeyModel_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleTypeId","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameElectronicKeyModel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list electronic key model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListElectronicKeyModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of electronic key model","tags":["Systems"]}},"/api/v1/backoffice/systems/vehicle-model":{"get":{"operationId":"SystemsController_getListVehicleModel_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle model successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle model","tags":["Systems"]}},"/api/v1/backoffice/systems/vehicle-brand":{"get":{"operationId":"SystemsController_getListVehicleBrand_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of vehicle brand successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleBrandDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of vehicle brand","tags":["Systems"]}},"/api/v1/backoffice/systems/alert":{"get":{"operationId":"SystemsController_getListAlert_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"groupAlert","required":false,"in":"query","schema":{"type":"string"}},{"name":"topicAlert","required":false,"in":"query","schema":{"type":"string"}},{"name":"alertLabel","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAlertDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of alert","tags":["Systems"]}},"/api/v1/backoffice/systems/add-dt-end-to-old-direct-vehicle":{"post":{"operationId":"SystemsController_addDtEndToOldDirectVehicle_v1","parameters":[],"responses":{"200":{"description":"Add dtEnd to old direct vehicle successfully"},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Add dtEnd to old direct vehicle","tags":["Systems"]}},"/api/v1/backoffice/systems/company-categories-for-dropdown":{"get":{"operationId":"SystemsController_getCompanyCategoriesForDropdown_v1","parameters":[{"name":"key","required":false,"in":"query","schema":{"type":"string"}},{"name":"isActive","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"label","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of company category for dropdown successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyCategoryResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of company category for dropdown","tags":["Systems"]}},"/api/v1/backoffice/systems/company-vehicle-brand-link":{"get":{"description":"Retrieve a list of all links between companies and vehicle brands","operationId":"SystemsController_findAll_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrandId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"linkType","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Links retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCompanyVehicleBrandLinkDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Retrieve all links","tags":["Systems"]}},"/api/v1/backoffice/systems/companies/{companyId}/vehicle-model":{"get":{"operationId":"SystemsController_getVehicleModelBCompanyId_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleType","required":false,"in":"query","schema":{"type":"string"}},{"name":"nameVehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleBrand","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get list vehicle model of company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVehicleModelDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get list vehicle model of company","tags":["Systems"]}},"/api/v1/backoffice/systems/topic-alert":{"get":{"operationId":"SystemsController_getListTopicAlert_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"groupAlertId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of topic alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTopicAlertDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of topic alert","tags":["Systems"]}},"/api/v1/backoffice/systems/group-alert":{"get":{"operationId":"SystemsController_getListGroupAlert_v1","parameters":[],"responses":{"200":{"description":"Get a list of group alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of group alert","tags":["Systems"]}},"/api/v1/backoffice/systems/level-alert":{"get":{"operationId":"SystemsController_getLevelAlerts_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of level alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLevelAlertResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get a list of level alert","tags":["Systems"]}},"/api/v1/backoffice/systems/group-alert-field":{"get":{"operationId":"SystemsController_getGroupAlertFields_v1","parameters":[],"responses":{"200":{"description":"All records retrieved successfully with full details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertFieldResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get all group alert fields with details","tags":["Systems"]}},"/api/v1/backoffice/systems/configuration-pers-templates":{"get":{"operationId":"SystemsController_getConfigurationPersTemplate_v1","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get configuration pers template successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupAlertFieldResponseListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"summary":"Get configuration pers template","tags":["Systems"]}},"/api/v1/users/companies/pers/configuration/{id}/status":{"get":{"operationId":"ConfigurationPersController_checkStatusConfigurationFileCommPers_v1","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of Pers Alert successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusConfigurationPersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Get a list of Pers Alert","tags":["Configuration Pers Update"]}},"/api/v1/users/companies/{companyId}/pers/configuration/server-to-pers":{"post":{"operationId":"ConfigurationPersController_sendConfigurationFileToPers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetOrSendFileFromPersDTO"}}}},"responses":{"200":{"description":"Request Configuration file to PERS retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationPersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Request send configuration file to PERS","tags":["Configuration Pers Update"]}},"/api/v1/users/companies/{companyId}/pers/configuration/pers-to-server":{"post":{"operationId":"ConfigurationPersController_getConfigurationFileFromPers_v1","parameters":[{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFileFromPersDTO"}}}},"responses":{"200":{"description":"Request Configuration file from PERS retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationPersResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"bearer":[]}],"summary":"Request get configuration file from PERS","tags":["Configuration Pers Update"]}},"/api/v1/public/company/{companyId}/pers/{persSerialNumber}/pers-diagnostic":{"get":{"operationId":"PublicPersDiagnosticController_getPersDiagnostic_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"persSerialNumber","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Get PERS Diagnostic data of a Company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPersDiagnosticResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get PERS Diagnostic data of a Company","tags":["Public - Pers Diagnostic"]}},"/api/v1/public/company/{companyId}/vehicles":{"get":{"operationId":"PublicCompanyVehicleController_getVehicleCurrentData_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleModel","required":false,"in":"query","schema":{"type":"string"}},{"name":"vehicleSerialNumber","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of Vehicles of a Company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicListCompanyVehicleResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of Vehicles of a Company","tags":["Public - Company Vehicle"]}},"/api/v1/public/company/{companyId}/pers":{"get":{"operationId":"PublicCompanyPERSController_getVehicleCurrentData_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":false,"schema":{"type":"string"}},{"name":"companyId","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","schema":{"type":"string"}},{"name":"persSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"dtBeginSendByCIXI","required":false,"in":"query","schema":{"type":"string"}},{"name":"dtEndSendByCIXI","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a list of PERS of a Company successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicListCompanyPersDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get a list of PERS of a Company","tags":["Public - Company PERS"]}},"/api/v1/backoffice/internals/alerts/metrics":{"get":{"operationId":"AlertsDashboardController_calculateAlertsMetrics_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully calculated Alerts metrics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RTDashboardAlertDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Calculate Alerts Metrics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/alerts/active":{"get":{"operationId":"AlertsDashboardController_getActiveAlerts_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"levelAlertIds","required":false,"in":"query","schema":{"type":"string"}},{"name":"persSerialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyIds","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved active alerts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveAlertsListDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Active Alerts","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/company/dashboard/current/data":{"get":{"operationId":"CompanyDashboardController_getCurrentCompanyDashboardData_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved current company dashboard data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentCompanyDashboardResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Current Company Dashboard Data","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/company/statistics/monthly":{"get":{"operationId":"CompanyDashboardController_getCompanyStatisticsByMonth_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"countryId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved company monthly statistics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonthlyCompanyStatisticsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Company Monthly statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/company/statistics/manufacturer-pers-reception/monthly":{"get":{"operationId":"CompanyDashboardController_getManufacturerPersReceptionStatsByMonth_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}},{"name":"countryId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved manufacturer pers reception monthly statistics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersReceptionStatsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Manufacturer Pers Reception Monthly statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/company/statistics/subcontractor-pers-reception/monthly":{"get":{"operationId":"CompanyDashboardController_getSubcontractorPersReceptionStatsByMonth_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"manufacturerId","required":false,"in":"query","schema":{"type":"string"}},{"name":"manufacturerCountryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"subcontractorId","required":false,"in":"query","schema":{"type":"string"}},{"name":"subcontractorCountryId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved subcontractor pers reception monthly statistics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersReceptionStatsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Subcontractor Pers Reception Monthly statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/company/statistics/produced-vehicles/monthly":{"get":{"operationId":"CompanyDashboardController_getProducedVehiclesStatsByMonth_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}},{"name":"countryId","required":false,"in":"query","schema":{"type":"string"}},{"name":"brandId","required":false,"in":"query","schema":{"type":"string"}},{"name":"companyId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved produced vehicles monthly statistics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProducedVehiclesStatsResponseDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Produced Vehicles Monthly statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/direct-vehicles/statistics/monthly":{"get":{"operationId":"DirectVehicleDashboardController_getMonthlyRiderStatsForDirectVehicles_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved monthly direct vehicles analysis statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectVehiclesMonthlyDashboardDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get direct vehicles monthly analysis statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/pers/dashboard/metrics":{"get":{"operationId":"PersDashboardController_calculatePERSMetrics_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully calculated PERS metrics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculatePERSMetricsDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Calculate PERS Metrics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/pers/alert/statistics/monthly":{"get":{"operationId":"PersDashboardController_getStatisticsPersAlertsMonthlyAnalysis_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved monthly pers alert analysis statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonthlyAlertsDashboardDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get pers alert monthly analysis statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/riders/statistics/monthly":{"get":{"operationId":"RidersDashboardController_getStatisticsTripsMonthlyAnalysis_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved monthly riders analysis statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RidersKeysMonthlyDashboardDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get rider monthly analysis statistics","tags":["Backoffice Dashboard"]}},"/api/v1/backoffice/internals/riders/metrics":{"get":{"operationId":"RidersDashboardController_calculateRidersMetrics_v1","parameters":[{"name":"x-api-key","in":"header","description":"Internal service key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully calculated Riders metrics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateRidersMetricsDTO"}}}},"400":{"description":"Bad Request Error"},"401":{"description":"Unauthorized Error"},"403":{"description":"Forbidden Error"},"422":{"description":"Unprocessable Entity Error"},"500":{"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Calculate Riders Metrics","tags":["Backoffice Dashboard"]}}},"info":{"title":"CIXI Business","description":"The CIXI Business API description","version":"0.0.1","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"},"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"UpdateCompanyCompanyDTO":{"type":"object","properties":{"name":{"type":"string"},"registerNumber":{"type":"string"},"email":{"type":"string"}},"required":["name","registerNumber","email"]},"DownloadImportTemplateDTO":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]},"BaseCompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]}},"required":["id","companyName","avatar","registerNumber","status"]},"VehicleTypeDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"sharingMethod":{"type":"string","enum":["COMPLETE","SIMPLE"]},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","label","sharingMethod","createdAt","updatedAt"]},"BrandMessageTranslation":{"type":"object","properties":{}},"BrandMessageDTO":{"type":"object","properties":{"id":{"type":"string"},"brandId":{"type":"string"},"mediaUrl":{"type":"string"},"labelButton":{"type":"string"},"externalLink":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"deviceType":{"type":"string"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/BrandMessageTranslation"}}},"required":["id","brandId","mediaUrl","labelButton","externalLink","vehicleType","deviceType","translations"]},"VehicleBrandDTO":{"type":"object","properties":{"id":{"type":"string"},"avatar":{"type":"string"},"name":{"type":"string"},"brandMessage":{"type":"array","items":{"$ref":"#/components/schemas/BrandMessageDTO"}}},"required":["id","avatar","name","brandMessage"]},"BaseVehicleModelDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicleModel":{"type":"string"},"additionalInfo":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"avatar":{"type":"string"},"picture":{"type":"string"}},"required":["id","nameVehicleModel","additionalInfo","vehicleType","avatar","picture"]},"BaseModelPERSDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"]},"SubPersDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"}},"required":["id","nuSerialPersNumber","modelPERS"]},"AvailableVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"pers":{"type":"array","items":{"$ref":"#/components/schemas/SubPersDTO"}}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel","pers"]},"SubCompanyRoleDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"CompanyLinkMemberDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"role":{"$ref":"#/components/schemas/SubCompanyRoleDTO"}},"required":["id","name","email","role"]},"DealerDetailDTO":{"type":"object","properties":{"id":{"type":"string"},"nameCompanyRequested":{"type":"string"},"emailMemberCompanyRequested":{"type":"string"},"registerNumberCompanyRequested":{"type":"string"},"status":{"type":"number","enum":[1,2,3,4,5]},"companyRequested":{"$ref":"#/components/schemas/BaseCompanyDTO"},"availableVehicles":{"type":"array","items":{"$ref":"#/components/schemas/AvailableVehicleDTO"}},"userCompanies":{"type":"array","items":{"$ref":"#/components/schemas/CompanyLinkMemberDTO"}}},"required":["id","nameCompanyRequested","emailMemberCompanyRequested","registerNumberCompanyRequested","status","companyRequested","availableVehicles","userCompanies"]},"DealerDetailResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyDealer":{"$ref":"#/components/schemas/DealerDetailDTO"}},"required":["success","companyDealer"]},"MetaResponseDTO":{"type":"object","properties":{"totalItems":{"type":"number"},"itemCount":{"type":"number"},"itemsPerPage":{"type":"number"},"totalPages":{"type":"number"},"currentPage":{"type":"number"},"offset":{"type":"number"}},"required":["totalItems","itemCount","itemsPerPage","totalPages","currentPage","offset"]},"LinkResponseDTO":{"type":"object","properties":{"first":{"type":"string"},"previous":{"type":"string"},"next":{"type":"string"},"last":{"type":"string"}},"required":["first","previous","next","last"]},"CompanyDealerDTO":{"type":"object","properties":{"id":{"type":"string"},"nameCompanyRequested":{"type":"string"},"registerNumberCompanyRequested":{"type":"string"},"emailMemberCompanyRequested":{"type":"string"},"avatarCompanyRequested":{"type":"string"},"availableVehicle":{"type":"number"},"usersCount":{"type":"number"},"status":{"type":"number","enum":[1,2,3,4,5]},"createdAt":{"format":"date-time","type":"string"}},"required":["id","nameCompanyRequested","registerNumberCompanyRequested","emailMemberCompanyRequested","avatarCompanyRequested","availableVehicle","usersCount","status","createdAt"]},"ListCompanyDealerResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyDealerDTO"}}},"required":["meta","links","items"]},"CreateCompanyCompanyDTO":{"type":"object","properties":{"name":{"type":"string"},"registerNumber":{"type":"string"},"email":{"type":"string"}},"required":["name","registerNumber","email"]},"ImportCompanyLinkErrorDTO":{"type":"object","properties":{"line":{"type":"number"},"message":{"type":"string"}},"required":["line","message"]},"ImportCompanyLinkResponseDTO":{"type":"object","properties":{"numberRead":{"type":"number","description":"Total number of lines read from import file (excluding header)","example":10},"numberCreated":{"type":"number","description":"Number of Subcontractors/Dealers successfully created","example":8},"numberError":{"type":"number","description":"Number of Subcontractors/Dealers with errors","example":2},"listOfErrors":{"description":"The list of detailed error reasons. Column Line shows the line on the import file, Column Error shows the error message","type":"array","items":{"$ref":"#/components/schemas/ImportCompanyLinkErrorDTO"}}},"required":["numberRead","numberCreated","numberError","listOfErrors"]},"UpdateStatusCompanyManufacturersDTO":{"type":"object","properties":{"status":{"type":"number","enum":[1,2]}},"required":["status"]},"CompanySubscriberTypeDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriberType":{"type":"string"}},"required":["id","subscriberType"]},"CompanyCompanyCategory":{"type":"object","properties":{}},"CompanyCIXIReferentDTO":{"type":"object","properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"number","enum":[1,2]},"email":{"type":"string"},"phoneNumber":{"type":"string"},"mobilePhoneNumber":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","firstName","lastName","gender","email","phoneNumber","mobilePhoneNumber","updatedAt","createdAt"]},"CompanyRoleDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"groupCode":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","name","description","groupCode","updatedAt","createdAt"]},"UserCompanyPermissionDTO":{"type":"object","properties":{"name":{"type":"string"},"permission":{"type":"string"},"category":{"type":"string"}},"required":["name","permission","category"]},"UserCompanyRolePermissionDTO":{"type":"object","properties":{"id":{"type":"string"},"roleName":{"type":"string"},"groupCode":{"type":"string"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyPermissionDTO"}}},"required":["id","roleName","groupCode","permissions"]},"CompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]},"odooCompanyId":{"type":"string"},"address":{"type":"string"},"complementaryAddress":{"type":"string"},"zipCodeAddress":{"type":"string"},"cityAddress":{"type":"string"},"countryAddressId":{"type":"string"},"companyType":{"type":"string","enum":["independent","mother","children"]},"companyMother":{"type":"string"},"nameMainResponsable":{"type":"string"},"emailMainResponsable":{"type":"string"},"phoneMainResponsable":{"type":"string"},"mobilePhoneMainResponsable":{"type":"string"},"cixiReferentId":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"nameResponsableBilling":{"type":"string"},"emailResponsableBilling":{"type":"string"},"phoneResponsableBilling":{"type":"string"},"proCenterHomePageDescription":{"type":"string"},"mobilePhoneResponsableBilling":{"type":"string"},"companySubscriberTypes":{"type":"array","items":{"$ref":"#/components/schemas/CompanySubscriberTypeDTO"}},"companyCompanyCategory":{"type":"array","items":{"$ref":"#/components/schemas/CompanyCompanyCategory"}},"cixiReferent":{"$ref":"#/components/schemas/CompanyCIXIReferentDTO"},"companyRoles":{"type":"array","items":{"$ref":"#/components/schemas/CompanyRoleDTO"}},"companyNameBilling":{"type":"string"},"addressBilling":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"zipCodeAddressBilling":{"type":"string"},"cityAddressBilling":{"type":"string"},"countryAddressBillingId":{"type":"string"},"role":{"$ref":"#/components/schemas/UserCompanyRolePermissionDTO"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"vat":{"type":"string"},"lastSyncOdoo":{"format":"date-time","type":"string"},"dtApproved":{"format":"date-time","type":"string"},"dtArchived":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","companyName","avatar","registerNumber","status","odooCompanyId","address","complementaryAddress","zipCodeAddress","cityAddress","countryAddressId","companyType","companyMother","nameMainResponsable","emailMainResponsable","phoneMainResponsable","mobilePhoneMainResponsable","cixiReferentId","isBillingDistinct","nameResponsableBilling","emailResponsableBilling","phoneResponsableBilling","proCenterHomePageDescription","mobilePhoneResponsableBilling","companySubscriberTypes","companyCompanyCategory","cixiReferent","companyRoles","companyNameBilling","addressBilling","complementaryAddressBilling","zipCodeAddressBilling","cityAddressBilling","countryAddressBillingId","role","dtStatus","statusReason","vat","lastSyncOdoo","dtApproved","dtArchived","updatedAt","createdAt"]},"CompanyManufacturersDTO":{"type":"object","properties":{"id":{"type":"string"},"emailMemberCompanyRequested":{"type":"string"},"nameCompanyRequested":{"type":"string"},"registerNumberCompanyRequested":{"type":"string"},"companyRequestedId":{"type":"string"},"linkType":{"type":"number","enum":[1,2]},"status":{"type":"number","enum":[1,2,3,4,5]},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"companyRequested":{"$ref":"#/components/schemas/CompanyDTO"},"company":{"$ref":"#/components/schemas/CompanyDTO"}},"required":["id","emailMemberCompanyRequested","nameCompanyRequested","registerNumberCompanyRequested","companyRequestedId","linkType","status","dtStatus","statusReason","companyRequested","company"]},"CompanyManufacturersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyManufacturer":{"$ref":"#/components/schemas/CompanyManufacturersDTO"}},"required":["success","companyManufacturer"]},"ListCompanyCompanyManufacturersDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyManufacturersDTO"}}},"required":["meta","links","items"]},"ListCompanyManufacturersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyManufacturers":{"$ref":"#/components/schemas/ListCompanyCompanyManufacturersDTO"}},"required":["success","companyManufacturers"]},"BrandDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"vehicleModel":{"type":"array","items":{"$ref":"#/components/schemas/BaseVehicleModelDTO"}}},"required":["id","name","vehicleModel"]},"SubcontractorDetailDTO":{"type":"object","properties":{"id":{"type":"string"},"nameCompanyRequested":{"type":"string"},"emailMemberCompanyRequested":{"type":"string"},"registerNumberCompanyRequested":{"type":"string"},"status":{"type":"number","enum":[1,2,3,4,5]},"companyRequested":{"$ref":"#/components/schemas/BaseCompanyDTO"},"vehicleBrands":{"type":"array","items":{"$ref":"#/components/schemas/BrandDTO"}},"pers":{"type":"array","items":{"$ref":"#/components/schemas/SubPersDTO"}},"userCompanies":{"type":"array","items":{"$ref":"#/components/schemas/CompanyLinkMemberDTO"}}},"required":["id","nameCompanyRequested","emailMemberCompanyRequested","registerNumberCompanyRequested","status","companyRequested","vehicleBrands","pers","userCompanies"]},"SubcontractorDetailResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companySubcontractor":{"$ref":"#/components/schemas/SubcontractorDetailDTO"}},"required":["success","companySubcontractor"]},"CompanySubcontractorDTO":{"type":"object","properties":{"id":{"type":"string"},"nameCompanyRequested":{"type":"string"},"emailMemberCompanyRequested":{"type":"string"},"registerNumberCompanyRequested":{"type":"string"},"status":{"type":"number","enum":[1,2,3,4,5]},"companyRequestedId":{"type":"string"},"linkType":{"type":"number","enum":[1,2]},"vehicleBrands":{"type":"array","items":{"type":"string"}},"vehicleModelCount":{"type":"number"},"persCount":{"type":"number"},"usersCount":{"type":"number"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"companyRequested":{"$ref":"#/components/schemas/BaseCompanyDTO"}},"required":["id","nameCompanyRequested","emailMemberCompanyRequested","registerNumberCompanyRequested","status","companyRequestedId","linkType","vehicleBrands","vehicleModelCount","persCount","usersCount","dtStatus","statusReason","companyRequested"]},"ListCompanySubcontractorDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanySubcontractorDTO"}}},"required":["meta","links","items"]},"ListCompanySubcontractorResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"$ref":"#/components/schemas/ListCompanySubcontractorDTO"}},"required":["meta","links","items"]},"ManageBrandCompanySubcontractorDTO":{"type":"object","properties":{"brandId":{"type":"string"},"action":{"type":"string","enum":["new_link","un_link"]}},"required":["brandId","action"]},"ManagePersCompanySubcontractorDTO":{"type":"object","properties":{"persId":{"type":"string"},"action":{"type":"string","enum":["new_link","un_link"]}},"required":["persId","action"]},"LanguageResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"isoCode":{"type":"string"},"nativeName":{"type":"string"},"isOriginal":{"type":"boolean"}},"required":["id","name","isoCode","nativeName","isOriginal"]},"CompanyRoleTranslationDTO":{"type":"object","properties":{"id":{"type":"string"},"languages":{"$ref":"#/components/schemas/LanguageResponseDTO"},"translationValue":{"type":"string"}},"required":["id","languages","translationValue"]},"BaseCompanyRoleDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"companyRoleTranslation":{"$ref":"#/components/schemas/CompanyRoleTranslationDTO"}},"required":["id","name","companyRoleTranslation"]},"CompanyAllowToManageItemListDTO":{"type":"object","properties":{"companyId":{"type":"string"},"roleManager":{"$ref":"#/components/schemas/BaseCompanyRoleDTO"},"roleManaged":{"type":"array","items":{"$ref":"#/components/schemas/BaseCompanyRoleDTO"}}},"required":["companyId","roleManager","roleManaged"]},"ListCompanyAllowToManageDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyAllowToManageItemListDTO"}}},"required":["success","items"]},"CompanyRoleConfigurationDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"keyCompanyRoleConfiguration":{"type":"string"},"companyRole":{"$ref":"#/components/schemas/BaseCompanyRoleDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","companyId","keyCompanyRoleConfiguration","companyRole","updatedAt","createdAt"]},"ListCompanyRoleConfigurationDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyRoleConfigurationDTO"}}},"required":["meta","links","items"]},"UpdateCompanyRoleConfigurationDTO":{"type":"object","properties":{"companyRoleConfigurationId":{"type":"string"},"companyRoleId":{"type":"string"}},"required":["companyRoleConfigurationId","companyRoleId"]},"BulkUpdateCompanyRoleConfigurationDTO":{"type":"object","properties":{"companyRoleConfigurationPayloads":{"type":"array","items":{"$ref":"#/components/schemas/UpdateCompanyRoleConfigurationDTO"}}},"required":["companyRoleConfigurationPayloads"]},"UpdateCompanyAllowToManageDTO":{"type":"object","properties":{"roleManagerId":{"type":"string"},"roleManagedId":{"type":"string"}},"required":["roleManagerId","roleManagedId"]},"BulkUpdateCompanyAllowToManageDTO":{"type":"object","properties":{"companyAllowToManagePayload":{"type":"array","items":{"$ref":"#/components/schemas/UpdateCompanyAllowToManageDTO"}}},"required":["companyAllowToManagePayload"]},"CompanyTeamPermissionDetailDTO":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"groupCode":{"type":"string"},"parentCategory":{"type":"string"},"category":{"type":"string"}},"required":["code","name","groupCode","parentCategory","category"]},"CompanyTeamPermissionItemDTO":{"type":"object","properties":{"id":{"type":"string"},"companyCategoryId":{"type":"string"},"permissionCode":{"type":"string"},"permissions":{"$ref":"#/components/schemas/CompanyTeamPermissionDetailDTO"}},"required":["id","companyCategoryId","permissionCode","permissions"]},"CompanyTeamPermissionsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyCategoryPermissions":{"type":"array","items":{"$ref":"#/components/schemas/CompanyTeamPermissionItemDTO"}}},"required":["success","companyCategoryPermissions"]},"ListCompanyRoleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyRoleDTO"}}},"required":["meta","links","items"]},"CreateCompanyTeamRoleDTO":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["name","description","permissions"]},"UpdateCompanyRoleDTO":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["name","description","permissions"]},"GroupRelationDTO":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":["code","name"]},"BasePermissionDTO":{"type":"object","properties":{"code":{"type":"string"},"parentCategory":{"type":"string"},"category":{"type":"string"}},"required":["code","parentCategory","category"]},"CompanyRolePermissionDTO":{"type":"object","properties":{"id":{"type":"string"},"permissions":{"$ref":"#/components/schemas/BasePermissionDTO"}},"required":["id","permissions"]},"CompanyRoleDetailsDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"companyRoleTranslation":{"$ref":"#/components/schemas/CompanyRoleTranslationDTO"},"description":{"type":"string"},"group":{"$ref":"#/components/schemas/GroupRelationDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"companyRolePermissions":{"type":"array","items":{"$ref":"#/components/schemas/CompanyRolePermissionDTO"}}},"required":["id","name","companyRoleTranslation","description","group","updatedAt","createdAt","companyRolePermissions"]},"CompanyRoleResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyRole":{"$ref":"#/components/schemas/CompanyRoleDetailsDTO"}},"required":["success","companyRole"]},"UpsertCompanyRoleTranslationDTO":{"type":"object","properties":{"translationValue":{"type":"string"},"languageId":{"type":"string"},"translationId":{"type":"string"}},"required":["translationValue","languageId","translationId"]},"CountryResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"BaseCompanyCategoryDTO":{"type":"object","properties":{"id":{"type":"string"},"keyCompanyCategory":{"type":"string"},"labelCompanyCategory":{"type":"string"}},"required":["id","keyCompanyCategory","labelCompanyCategory"]},"CompanyMemberDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"userStatus":{"type":"string","enum":["pending","active","block","deleted"]},"role":{"$ref":"#/components/schemas/CompanyRoleDTO"}},"required":["id","email","name","gender","avatar","phone","mobilePhone","userStatus","role"]},"CompanyWithMembersDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"companyType":{"type":"string"},"registerNumber":{"type":"string"},"zipCodeAddress":{"type":"string"},"cityAddress":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryResponseDTO"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/BaseCompanyCategoryDTO"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/CompanyMemberDTO"}}},"required":["id","companyName","companyType","registerNumber","zipCodeAddress","cityAddress","country","categories","members"]},"GetCompaniesForSwitchToResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyWithMembersDTO"}}},"required":["meta","links","items"]},"SwitchToRequestDTO":{"type":"object","properties":{"password":{"type":"string"},"reason":{"type":"string"},"keyPlatformTech":{"type":"string"}},"required":["password","reason"]},"CurrencyResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"formatDisplay":{"type":"string"},"longCode":{"type":"string"},"shortCode":{"type":"string"}},"required":["id","label","formatDisplay","longCode","shortCode"]},"TimezoneResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"tzCode":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"}},"required":["id","tzCode","name","value","description"]},"UserDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"odooUserId":{"type":"string"},"dateOfBirth":{"format":"date-time","type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryResponseDTO"},"currency":{"$ref":"#/components/schemas/CurrencyResponseDTO"},"complementaryAddress":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"addressBilling":{"type":"string"},"zipCodeBilling":{"type":"string"},"cityBilling":{"type":"string"},"countryBilling":{"$ref":"#/components/schemas/CountryResponseDTO"},"complementaryAddressBilling":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageResponseDTO"},"timezone":{"$ref":"#/components/schemas/TimezoneResponseDTO"},"pushNotificationAllowed":{"type":"boolean"},"dtPushNotificationStatus":{"format":"date-time","type":"string"},"isReceiveByEmail":{"type":"boolean"},"isReceiveBySMS":{"type":"boolean"},"status":{"type":"string","enum":["pending","active","block","deleted"]},"lastLogin":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["id","email","name","gender","avatar","phone","mobilePhone","odooUserId","dateOfBirth","address","zipCode","city","country","currency","complementaryAddress","isBillingDistinct","addressBilling","zipCodeBilling","cityBilling","countryBilling","complementaryAddressBilling","language","timezone","pushNotificationAllowed","dtPushNotificationStatus","isReceiveByEmail","isReceiveBySMS","status","lastLogin","updatedAt","createdAt","permissions"]},"SwitchToResponseDTO":{"type":"object","properties":{"jwtTokenUser":{"type":"string"},"jwtTokenUserExpires":{"type":"number"},"refreshToken":{"type":"string"},"user":{"$ref":"#/components/schemas/UserDTO"},"isSwitchedTo":{"type":"boolean"},"originalUserId":{"type":"string"},"originalUserEmail":{"type":"string"}},"required":["jwtTokenUser","jwtTokenUserExpires","refreshToken","user","isSwitchedTo","originalUserId","originalUserEmail"]},"BaseGroupAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"}},"required":["id","labelGroupAlert","numOrder"]},"PersAlertAlertDTO":{"type":"object","properties":{"codeAlert":{"type":"string"},"labelAlert":{"type":"string"},"descriptionAlert":{"type":"string"},"dtLastReceptionAlert":{"format":"date-time","type":"string"}},"required":["codeAlert","labelAlert","descriptionAlert","dtLastReceptionAlert"]},"BaseLevelAlertDTO":{"type":"object","properties":{"levelAlert":{"type":"number"},"labelLevelAlert":{"type":"string"},"pictureLevelAlert":{"type":"string"},"colorLevelAlert":{"type":"string"}},"required":["levelAlert","labelLevelAlert","pictureLevelAlert","colorLevelAlert"]},"PersAlertTopicAlertDTO":{"type":"object","properties":{"labelFieldAlert":{"type":"string"},"numOrder":{"type":"number"},"alert":{"$ref":"#/components/schemas/PersAlertAlertDTO"},"levelAlert":{"$ref":"#/components/schemas/BaseLevelAlertDTO"}},"required":["labelFieldAlert","numOrder","alert","levelAlert"]},"GroupPersAlertDTO":{"type":"object","properties":{"groupAlert":{"$ref":"#/components/schemas/BaseGroupAlertDTO"},"topicAlerts":{"type":"array","items":{"$ref":"#/components/schemas/PersAlertTopicAlertDTO"}}},"required":["groupAlert","topicAlerts"]},"PersCurrentStatusDTO":{"type":"object","properties":{"id":{"type":"string"},"persId":{"type":"string"},"vehicleUserId":{"type":"string"},"vehicleId":{"type":"string"},"userId":{"type":"string"},"lockStatus":{"type":"boolean"},"geolocStatus":{"type":"boolean"},"batteryChargingStatus":{"type":"boolean"},"timeBeforeFullCharge":{"type":"number"},"batterySoc":{"type":"number"},"batterySoh":{"type":"number"},"batteryVoltage":{"type":"number"},"batteryTemperature":{"type":"number"},"vehicleTotalKm":{"type":"number"},"batteryGridStatus":{"type":"boolean"},"batteryTotalCapa":{"type":"number"},"rangeEstimation":{"type":"number"},"vehicleTotalOperationTime":{"type":"number"},"latitude":{"type":"number"},"longitude":{"type":"number"},"altitude":{"type":"number"},"nbSatellites":{"type":"number"},"lastUpdated":{"format":"date-time","type":"string"},"lastUpdatedByJourneyLog":{"format":"date-time","type":"string"},"lastUpdatedByIOTMessage":{"format":"date-time","type":"string"},"vehicleTotalKmStart":{"type":"number"},"vehicleTotalKmEnd":{"type":"number"}},"required":["id","persId","vehicleUserId","vehicleId","userId","lockStatus","geolocStatus","batteryChargingStatus","timeBeforeFullCharge","batterySoc","batterySoh","batteryVoltage","batteryTemperature","vehicleTotalKm","batteryGridStatus","batteryTotalCapa","rangeEstimation","vehicleTotalOperationTime","latitude","longitude","altitude","nbSatellites","lastUpdated","lastUpdatedByJourneyLog","lastUpdatedByIOTMessage","vehicleTotalKmStart","vehicleTotalKmEnd"]},"PersCurrentDataDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persAlerts":{"type":"array","items":{"$ref":"#/components/schemas/GroupPersAlertDTO"}},"persCurrentStatus":{"$ref":"#/components/schemas/PersCurrentStatusDTO"}},"required":["success","persAlerts","persCurrentStatus"]},"ModelPERSDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"structureCalibration":{"type":"string"},"odooModelPersId":{"type":"string"},"internalReference":{"type":"string"},"lastSyncOdoo":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","label","structureCalibration","odooModelPersId","internalReference","lastSyncOdoo","updatedAt","createdAt"]},"UserBORoleDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"groupCode":{"type":"string"}},"required":["id","name","description","groupCode"]},"ActivationPinUpdateByUserBODTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"role":{"$ref":"#/components/schemas/UserBORoleDTO"}},"required":["id","email","firstName","lastName"]},"PersHardTokenDTO":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"},"dtGenJwtToken":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","token","dtGenJwtToken","updatedAt","createdAt"]},"PersJwtTokensDTO":{"type":"object","properties":{"id":{"type":"string"},"jwtToken":{"type":"string"},"dtGenJwtToken":{"format":"date-time","type":"string"},"dtExpireJwtToken":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","jwtToken","dtGenJwtToken","dtExpireJwtToken","updatedAt","createdAt"]},"CompanyLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"avatar":{"type":"string"},"companyName":{"type":"string"}},"required":["id","avatar","companyName"]},"CompanyVehicleLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"company":{"$ref":"#/components/schemas/CompanyLinkDTO"},"linkType":{"type":"number"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","company","linkType","updatedAt","createdAt"]},"VehiclePersListDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"companyVehicleLink":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVehicleLinkDTO"}}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel","companyVehicleLink"]},"PERVehicleSHistoryDTO":{"type":"object","properties":{"id":{"type":"string"},"nameBLE":{"type":"string"},"pinBLE":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/ModelPERSDTO"},"softwarePERSId":{"type":"string"},"currentFirmwareVersion":{"type":"string"}},"required":["id","nameBLE","pinBLE","nuSerialPersNumber","modelPERS","softwarePERSId","currentFirmwareVersion"]},"VehiclePERSHistoryDTO":{"type":"object","properties":{"id":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/VehiclePersListDTO"},"pers":{"$ref":"#/components/schemas/PERVehicleSHistoryDTO"},"dtUpdatedPERS":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","vehicle","pers","dtUpdatedPERS","updatedAt","createdAt"]},"CompanyPersLink":{"type":"object","properties":{}},"PersFirmwareVersionDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersion":{"type":"string"}},"required":["id","firmwareVersion"]},"PersDTO":{"type":"object","properties":{"id":{"type":"string"},"nameBLE":{"type":"string"},"pinBLE":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/ModelPERSDTO"},"softwarePERSId":{"type":"string"},"odooPersId":{"type":"string"},"keyCixiPrivate":{"type":"string"},"keyPersPublic":{"type":"string"},"dtLastUpdateKeyCixi":{"format":"date-time","type":"string"},"dtLastUpdateKeyPers":{"format":"date-time","type":"string"},"activationPin":{"type":"string"},"activationPinUpdateBy":{"$ref":"#/components/schemas/ActivationPinUpdateByUserBODTO"},"masterPin":{"type":"string"},"lastUpdateActivationPin":{"type":"string"},"persLastRefreshActivationPin":{"type":"string"},"dtExpirationPinBLE":{"format":"date-time","type":"string"},"dtLastGenerationPinBLE":{"format":"date-time","type":"string"},"dtPersLastRefreshPinBLE":{"format":"date-time","type":"string"},"dtLastGenerationHardToken":{"format":"date-time","type":"string"},"dtExpirationHardToken":{"format":"date-time","type":"string"},"dtPERSLastRefreshHardToken":{"format":"date-time","type":"string"},"lastSyncOdoo":{"format":"date-time","type":"string"},"persHardTokens":{"type":"array","items":{"$ref":"#/components/schemas/PersHardTokenDTO"}},"persJWTTokens":{"type":"array","items":{"$ref":"#/components/schemas/PersJwtTokensDTO"}},"vehicle":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePersListDTO"}},"vehiclePERSHistory":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePERSHistoryDTO"}},"persCurrentStatus":{"$ref":"#/components/schemas/PersCurrentStatusDTO"},"companyPersLink":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPersLink"}},"persAlerts":{"type":"array","items":{"$ref":"#/components/schemas/GroupPersAlertDTO"}},"firmwareVersion":{"$ref":"#/components/schemas/PersFirmwareVersionDTO"},"firmwareRecoveryVersion":{"$ref":"#/components/schemas/PersFirmwareVersionDTO"},"firmwareBootVersion":{"$ref":"#/components/schemas/PersFirmwareVersionDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"initialKitConfiguration":{"type":"string"},"currentKitConfiguration":{"type":"string"}},"required":["id","nameBLE","pinBLE","nuSerialPersNumber","modelPERS","softwarePERSId","odooPersId","keyCixiPrivate","keyPersPublic","dtLastUpdateKeyCixi","dtLastUpdateKeyPers","activationPin","activationPinUpdateBy","masterPin","lastUpdateActivationPin","persLastRefreshActivationPin","dtExpirationPinBLE","dtLastGenerationPinBLE","dtPersLastRefreshPinBLE","dtLastGenerationHardToken","dtExpirationHardToken","dtPERSLastRefreshHardToken","lastSyncOdoo","persHardTokens","persJWTTokens","vehicle","vehiclePERSHistory","persCurrentStatus","companyPersLink","persAlerts","firmwareVersion","firmwareRecoveryVersion","firmwareBootVersion","updatedAt","createdAt","initialKitConfiguration","currentKitConfiguration"]},"CompanyPersLinkPartnerDTO":{"type":"object","properties":{"company":{"$ref":"#/components/schemas/BaseCompanyDTO"},"linkType":{"type":"number","enum":[1,2]}},"required":["company","linkType"]},"MaintenanceStatusDTO":{"type":"object","properties":{"levelAlert":{"$ref":"#/components/schemas/BaseLevelAlertDTO"},"hasPersAlerts":{"type":"boolean"}},"required":["levelAlert","hasPersAlerts"]},"UserInfoCompanyPersLinkDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"userType":{"type":"string"}},"required":["email","name","userType"]},"UserCompanyPersLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"dtDelivered":{"format":"date-time","type":"string"},"pers":{"$ref":"#/components/schemas/PersDTO"},"partners":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPersLinkPartnerDTO"}},"maintenanceStatus":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceStatusDTO"}},"user":{"$ref":"#/components/schemas/UserInfoCompanyPersLinkDTO"}},"required":["id","dtDelivered","pers","partners","maintenanceStatus","user"]},"ListUserCompanyPersLinkResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyPersLinkDTO"}}},"required":["meta","links","items"]},"BasePersDTO":{"type":"object","properties":{"id":{"type":"string"},"nameBLE":{"type":"string"},"pinBLE":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/ModelPERSDTO"},"softwarePERSId":{"type":"string"}},"required":["id","nameBLE","pinBLE","nuSerialPersNumber","modelPERS","softwarePERSId"]},"ListBasePersDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BasePersDTO"}}},"required":["success","items"]},"VehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"pers":{"$ref":"#/components/schemas/PersDTO"},"vehiclePERSHistory":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePERSHistoryDTO"}},"companyVehicleLink":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVehicleLinkDTO"}},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel","pers","vehiclePERSHistory","companyVehicleLink","updatedAt","createdAt"]},"RiderInformationDTO":{"type":"object","properties":{"name":{"type":"string"},"userType":{"type":"string"}},"required":["name","userType"]},"UserCompanyVehicleLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"dtDelivered":{"format":"date-time","type":"string"},"vehicle":{"$ref":"#/components/schemas/VehicleDTO"},"rider":{"$ref":"#/components/schemas/RiderInformationDTO"},"maintenanceStatus":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceStatusDTO"}}},"required":["id","dtDelivered","vehicle","rider","maintenanceStatus"]},"ListUserCompanyVehicleLinkResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyVehicleLinkDTO"}}},"required":["meta","links","items"]},"RiderInforDTO":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"typeOfRider":{"type":"number","enum":[1,2]},"usagePeriod":{"type":"object"},"brand":{"type":"string"},"model":{"type":"string"},"totalDistanceRidden":{"type":"number"},"hasConnectedPERsAndAppSince":{"format":"date-time","type":"string"},"optInVia":{"type":"object"}},"required":["name","email","city","country","typeOfRider","usagePeriod","brand","model","totalDistanceRidden","hasConnectedPERsAndAppSince","optInVia"]},"ResponseListRiders":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/RiderInforDTO"}}},"required":["meta","links","items"]},"CreatePersToVehicleDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"serialNumber":{"type":"string"},"vehicleBrandId":{"type":"string"},"vehicleTypeId":{"type":"string"},"vehicleModelId":{"type":"string"}},"required":["nuSerialPersNumber","serialNumber","vehicleBrandId","vehicleTypeId","vehicleModelId"]},"BasePersToVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/VehicleDTO"},"linkType":{"type":"number"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","companyId","vehicle","linkType","updatedAt","createdAt"]},"PersToVehicleDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persToVehicle":{"$ref":"#/components/schemas/BasePersToVehicleDTO"}},"required":["success","persToVehicle"]},"UpdatePersToVehicleDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"serialNumber":{"type":"string"},"vehicleBrandId":{"type":"string"},"vehicleTypeId":{"type":"string"},"vehicleModelId":{"type":"string"}},"required":["nuSerialPersNumber","serialNumber","vehicleBrandId","vehicleTypeId","vehicleModelId"]},"ListPersToVehicleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BasePersToVehicleDTO"}}},"required":["meta","links","items"]},"VerifyTokenCompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]},"proCenterHomePageDescription":{"type":"string"}},"required":["id","companyName","avatar","registerNumber","status","proCenterHomePageDescription"]},"VerifyTokenInvitationDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"company":{"$ref":"#/components/schemas/VerifyTokenCompanyDTO"}},"required":["id","email","company"]},"VerifyTokenInvitationResDTO":{"type":"object","properties":{"success":{"type":"boolean"},"userCompany":{"$ref":"#/components/schemas/VerifyTokenInvitationDTO"}},"required":["success","userCompany"]},"CompanyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"company":{"$ref":"#/components/schemas/CompanyDTO"}},"required":["success","company"]},"UserCompanyRolePermissionsDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"company":{"$ref":"#/components/schemas/VerifyTokenCompanyDTO"},"role":{"$ref":"#/components/schemas/CompanyRoleDTO"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["id","email","company","role","permissions"]},"GetUserCompanyRolePermissionsDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyRolePermissionsDTO"}}},"required":["meta","links","items"]},"RelatedCompanyRequestCountDTO":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"]},"RelatedCompanyRequestCountResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"relatedCompanyRequestCount":{"$ref":"#/components/schemas/RelatedCompanyRequestCountDTO"}},"required":["success","relatedCompanyRequestCount"]},"RelatedCompaniesDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"}},"required":["id","companyName","avatar"]},"GetRelatedCompaniesDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"role":{"$ref":"#/components/schemas/CompanyRoleDTO"},"company":{"$ref":"#/components/schemas/RelatedCompaniesDTO"}},"required":["id","email","status","dtStatus","statusReason","role","company"]},"RelatedCompaniesResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GetRelatedCompaniesDTO"}}},"required":["meta","links","items"]},"UpdateUserCompanyStatusDTO":{"type":"object","properties":{"status":{"type":"number","enum":[1,2,3,4]},"statusReason":{"type":"string"}},"required":["status","statusReason"]},"BaseUserDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"}},"required":["id","email","name","gender","avatar","phone","mobilePhone"]},"UserAppRoleDTO":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"UserCompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"roleId":{"type":"string"},"userAppId":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"company":{"$ref":"#/components/schemas/BaseCompanyDTO"},"userApp":{"$ref":"#/components/schemas/BaseUserDTO"},"role":{"$ref":"#/components/schemas/UserAppRoleDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","name","email","status","roleId","userAppId","dtStatus","statusReason","company","userApp","role","updatedAt","createdAt"]},"UserCompanyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"userCompany":{"$ref":"#/components/schemas/UserCompanyDTO"}},"required":["success","userCompany"]},"UpdateCompanyDTO":{"type":"object","properties":{"odooCompanyId":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"address":{"type":"string"},"complementaryAddress":{"type":"string"},"zipCodeAddress":{"type":"string"},"cityAddress":{"type":"string"},"countryAddressId":{"type":"string"},"companyType":{"type":"string","enum":["independent","mother","children"]},"companyMother":{"type":"string"},"nameMainResponsable":{"type":"string"},"emailMainResponsable":{"type":"string"},"phoneMainResponsable":{"type":"string"},"mobilePhoneMainResponsable":{"type":"string"},"subscribers":{"type":"array","items":{"type":"string","enum":["company","individual"]}},"companyCategories":{"type":"array","items":{"type":"string"}},"cixiReferentId":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"nameResponsableBilling":{"type":"string"},"emailResponsableBilling":{"type":"string"},"phoneResponsableBilling":{"type":"string"},"mobilePhoneResponsableBilling":{"type":"string"},"companyNameBilling":{"type":"string"},"addressBilling":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"zipCodeAddressBilling":{"type":"string"},"cityAddressBilling":{"type":"string"},"countryAddressBillingId":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]},"dtStatus":{"format":"date-time","type":"string"},"dtApproved":{"format":"date-time","type":"string"},"dtArchived":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"vat":{"type":"string"}},"required":["companyName","avatar","registerNumber","address","complementaryAddress","zipCodeAddress","cityAddress","countryAddressId","companyType","companyMother","nameMainResponsable","emailMainResponsable","phoneMainResponsable","mobilePhoneMainResponsable","subscribers","companyCategories","cixiReferentId","isBillingDistinct","nameResponsableBilling","emailResponsableBilling","phoneResponsableBilling","mobilePhoneResponsableBilling","companyNameBilling","addressBilling","complementaryAddressBilling","zipCodeAddressBilling","cityAddressBilling","countryAddressBillingId","status","dtStatus","dtApproved","dtArchived","statusReason","vat"]},"UpdateWelcomePageDTO":{"type":"object","properties":{"proCenterHomePageDescription":{"type":"string"}},"required":["proCenterHomePageDescription"]},"UpdateWelcomePageResDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]},"proCenterHomePageDescription":{"type":"string"}},"required":["id","companyName","avatar","registerNumber","status","proCenterHomePageDescription"]},"UpdateCompanyAdminInfoDTO":{"type":"object","properties":{"name":{"type":"string"},"password":{"type":"string"},"confirmPassword":{"type":"string"}},"required":["name","password","confirmPassword"]},"ListUserCompanyDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyDTO"}}},"required":["meta","links","items"]},"CreateUserCompanyDTO":{"type":"object","properties":{"email":{"type":"string"},"roleId":{"type":"string"}},"required":["email","roleId"]},"UpdateUserCompanyDTO":{"type":"object","properties":{"name":{"type":"string"},"roleId":{"type":"string"}},"required":["name","roleId"]},"VehicleModelBrandDTO":{"type":"object","properties":{"id":{"type":"string"},"avatar":{"type":"string"},"name":{"type":"string"}},"required":["id","avatar","name"]},"S3FileDTO":{"type":"object","properties":{"bucket":{"type":"string"},"key":{"type":"string"}},"required":["bucket","key"]},"VehicleModelMetaDTO":{"type":"object","properties":{"avatar":{"$ref":"#/components/schemas/S3FileDTO"},"picture":{"$ref":"#/components/schemas/S3FileDTO"}},"required":["avatar","picture"]},"VehicleModelDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicleModel":{"type":"string"},"additionalInfo":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"avatar":{"type":"string"},"picture":{"type":"string"},"brand":{"$ref":"#/components/schemas/VehicleModelBrandDTO"},"odooModelId":{"type":"string"},"model":{"type":"string"},"serie":{"type":"string"},"sku":{"type":"string"},"vintageYear":{"type":"string"},"size":{"type":"string"},"color":{"type":"string"},"inches":{"type":"string"},"isUsedInVehicle":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"metaData":{"$ref":"#/components/schemas/VehicleModelMetaDTO"}},"required":["id","nameVehicleModel","additionalInfo","vehicleType","avatar","picture","brand","odooModelId","model","serie","sku","vintageYear","size","color","inches","isUsedInVehicle","updatedAt","createdAt","metaData"]},"ListVehicleModelDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehicleModelDTO"}}},"required":["meta","links","items"]},"VehicleModelResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicleModel":{"$ref":"#/components/schemas/VehicleModelDTO"}},"required":["success","vehicleModel"]},"UserCreateVehicleModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"brandId":{"type":"string"},"model":{"type":"string"},"serie":{"type":"string"},"sku":{"type":"string"},"vintageYear":{"type":"string"},"size":{"type":"string"},"color":{"type":"string"},"inches":{"type":"string"},"avatar":{"type":"string","format":"binary"},"picture":{"type":"string","format":"binary"}},"required":["vehicleTypeId","brandId","model","serie","sku","vintageYear","size","color","inches"]},"UserUpdateVehicleModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"brandId":{"type":"string"},"model":{"type":"string"},"serie":{"type":"string"},"sku":{"type":"string"},"vintageYear":{"type":"string"},"size":{"type":"string"},"color":{"type":"string"},"inches":{"type":"string"},"avatar":{"type":"string","format":"binary"},"picture":{"type":"string","format":"binary"}}},"UserDuplicateVehicleModelDTO":{"type":"object","properties":{"model":{"type":"string"}},"required":["model"]},"AuthUserRequestDTO":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"platform":{"type":"number","enum":[1,2,3]},"platformTechKey":{"type":"string"},"recaptchaToken":{"type":"string"}},"required":["email","password","platform","platformTechKey","recaptchaToken"]},"AuthUserResponseDTO":{"type":"object","properties":{"jwtTokenUser":{"type":"string"},"jwtTokenUserExpires":{"type":"number"},"refreshToken":{"type":"string"},"jwtTokenVehicleUser":{"type":"string"},"user":{"$ref":"#/components/schemas/UserDTO"}},"required":["jwtTokenUser","jwtTokenUserExpires","refreshToken","jwtTokenVehicleUser","user"]},"RegisterUserDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"confirmPassword":{"type":"string"},"platformTechKey":{"type":"string"}},"required":["email","name","password","confirmPassword","platformTechKey"]},"ResponseRegisterUserDTO":{"type":"object","properties":{"success":{"type":"boolean"},"expiredDate":{"type":"number","example":1725435401409}},"required":["success","expiredDate"]},"VerifyActivationCodeDTO":{"type":"object","properties":{"activationCode":{"type":"string"}},"required":["activationCode"]},"GenerateActivationCodeDTO":{"type":"object","properties":{"email":{"type":"string"},"platformTechKey":{"type":"string"}},"required":["email","platformTechKey"]},"ForgotPasswordRequestDTO":{"type":"object","properties":{"email":{"type":"string"},"platformTechKey":{"type":"string"}},"required":["email","platformTechKey"]},"ResponseForgotPassDTO":{"type":"object","properties":{"success":{"type":"boolean"},"expiredDate":{"type":"number","example":1725435401409}},"required":["success","expiredDate"]},"ValidatePasswordResetCodeDTO":{"type":"object","properties":{"validationCode":{"type":"string"}},"required":["validationCode"]},"TokenResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"jwtTokenUser":{"type":"string"},"jwtTokenUserExpires":{"type":"number"}},"required":["success","jwtTokenUser","jwtTokenUserExpires"]},"UserResetPasswordDTO":{"type":"object","properties":{"password":{"type":"string"},"confirmPassword":{"type":"string"},"platformTechKey":{"type":"string"}},"required":["password","confirmPassword","platformTechKey"]},"GetProfileResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"user":{"$ref":"#/components/schemas/UserDTO"}},"required":["success","user"]},"UserChangePasswordDTO":{"type":"object","properties":{"oldPassword":{"type":"string"},"newPassword":{"type":"string"},"platformTechKey":{"type":"string"}},"required":["oldPassword","newPassword","platformTechKey"]},"UpdateUserDTO":{"type":"object","properties":{"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"odooUserId":{"type":"string"},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"dateOfBirth":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"countryId":{"type":"string"},"complementaryAddress":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"addressBilling":{"type":"string"},"zipCodeBilling":{"type":"string"},"cityBilling":{"type":"string"},"countryBillingId":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"timezoneId":{"type":"string"},"languageId":{"type":"string"},"isReceiveByEmail":{"type":"boolean"},"isReceiveBySMS":{"type":"boolean"}},"required":["name","gender","odooUserId","avatar","phone","mobilePhone","dateOfBirth","address","zipCode","city","countryId","complementaryAddress","isBillingDistinct","addressBilling","zipCodeBilling","cityBilling","countryBillingId","complementaryAddressBilling","timezoneId","languageId","isReceiveByEmail","isReceiveBySMS"]},"PlatformTechDTO":{"type":"object","properties":{"dtLastAccess":{"format":"date-time","type":"string"},"label":{"type":"string"},"keyPlatformTech":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageResponseDTO"},"timezone":{"$ref":"#/components/schemas/TimezoneResponseDTO"}},"required":["dtLastAccess","label","keyPlatformTech","language","timezone"]},"MobileDeviceDTO":{"type":"object","properties":{"dtLastAccess":{"format":"date-time","type":"string"},"dtLastUpdateTokenFCM":{"format":"date-time","type":"string"},"dtPushNotificationStatus":{"format":"date-time","type":"string"},"keyPlatformTech":{"type":"string"},"label":{"type":"string"},"mobileDeviceId":{"type":"string"},"pushNotificationAllowed":{"type":"boolean"},"tokenFCM":{"type":"string"}},"required":["dtLastAccess","dtLastUpdateTokenFCM","dtPushNotificationStatus","keyPlatformTech","label","mobileDeviceId","pushNotificationAllowed","tokenFCM"]},"ResponseVehicleUserForUserDTO":{"type":"object","properties":{"id":{"type":"string"},"numSerialVehicleNumber":{"type":"string"},"nameVehicle":{"type":"string"},"registrationNumber":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"dtLastGenerationToken":{"format":"date-time","type":"string"},"dtExpirationToken":{"format":"date-time","type":"string"},"dtVehicleLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefreshPinBLE":{"format":"date-time","type":"string"}},"required":["id","numSerialVehicleNumber","nameVehicle","registrationNumber","dtBegin","dtEnd","dtLastGenerationToken","dtExpirationToken","dtVehicleLastRefresh","dtUserLastRefresh","dtUserLastRefreshPinBLE"]},"UserWithVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"odooUserId":{"type":"string"},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"dateOfBirth":{"format":"date-time","type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryResponseDTO"},"currency":{"$ref":"#/components/schemas/CurrencyResponseDTO"},"complementaryAddress":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"addressBilling":{"type":"string"},"zipCodeBilling":{"type":"string"},"cityBilling":{"type":"string"},"countryBilling":{"$ref":"#/components/schemas/CountryResponseDTO"},"complementaryAddressBilling":{"type":"string"},"platformTechList":{"type":"array","items":{"$ref":"#/components/schemas/PlatformTechDTO"}},"mobileDeviceList":{"type":"array","items":{"$ref":"#/components/schemas/MobileDeviceDTO"}},"cfmRoleId":{"type":"string"},"mobileRoleId":{"type":"string"},"proCenterRoleId":{"type":"string"},"isReceiveByEmail":{"type":"boolean"},"isReceiveBySMS":{"type":"boolean"},"vehicleUsers":{"type":"array","items":{"$ref":"#/components/schemas/ResponseVehicleUserForUserDTO"}},"status":{"type":"string","enum":["pending","active","block","deleted"]},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","email","name","gender","odooUserId","avatar","phone","mobilePhone","dateOfBirth","address","zipCode","city","country","currency","complementaryAddress","isBillingDistinct","addressBilling","zipCodeBilling","cityBilling","countryBilling","complementaryAddressBilling","platformTechList","mobileDeviceList","cfmRoleId","mobileRoleId","proCenterRoleId","isReceiveByEmail","isReceiveBySMS","vehicleUsers","status","updatedAt","createdAt"]},"UserResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"user":{"$ref":"#/components/schemas/UserWithVehicleDTO"}},"required":["success","user"]},"StoreUserInfoTokenRequestDTO":{"type":"object","properties":{"languageId":{"type":"string"},"timezoneId":{"type":"string"},"keyPlatformTech":{"type":"string"},"deviceId":{"type":"string"},"pushNotificationAllowed":{"type":"boolean"},"tokenFCM":{"type":"string"},"tagAction":{"type":"number","enum":[1,2,3,4,99]}},"required":["keyPlatformTech","deviceId","pushNotificationAllowed","tokenFCM","tagAction"]},"SheetActivityLogDataDTO":{"type":"object","properties":{"key":{"type":"string"},"oldValue":{"type":"string"},"newValue":{"type":"string"}},"required":["key","oldValue","newValue"]},"SheetActivityLogDTO":{"type":"object","properties":{"sheetActivityId":{"type":"string"},"extraInformation":{"$ref":"#/components/schemas/SheetActivityLogDataDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["sheetActivityId","extraInformation","updatedAt","createdAt"]},"ElectronicKeyModelDTO":{"type":"object","properties":{"id":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"nameElectronicKeyModel":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","vehicleType","nameElectronicKeyModel","updatedAt","createdAt"]},"BaseVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel"]},"ElectronicKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialElectronicKeyNumber":{"type":"string"},"idOdooElectronicKey":{"type":"string"},"electronicKeyModel":{"$ref":"#/components/schemas/ElectronicKeyModelDTO"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"avatar":{"type":"string"},"isCurrent":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","nuSerialElectronicKeyNumber","idOdooElectronicKey","electronicKeyModel","vehicle","avatar","isCurrent","createdAt","updatedAt"]},"UserInfoDTO":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"}},"required":["firstName","lastName","name","email","avatar"]},"SheetActivityDTO":{"type":"object","properties":{"id":{"type":"string"},"comment":{"type":"string"},"userId":{"type":"string"},"objectId":{"type":"string"},"electronicKey":{"type":"string"},"activityModelType":{"type":"string","enum":["company","vehicle","user_app","electronic_key","subscription","pers","pers_current_data"]},"activityType":{"type":"string","enum":["system_log","manual_comment","iot_message"]},"sheetActivityLogs":{"type":"array","items":{"$ref":"#/components/schemas/SheetActivityLogDTO"}},"electronicKeyData":{"$ref":"#/components/schemas/ElectronicKeyDTO"},"user":{"$ref":"#/components/schemas/UserInfoDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","comment","userId","objectId","electronicKey","activityModelType","activityType","sheetActivityLogs","electronicKeyData","user","updatedAt","createdAt"]},"ListSheetActivityDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SheetActivityDTO"}}},"required":["meta","links","items"]},"ListSheetActivityResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"languages":{"$ref":"#/components/schemas/ListSheetActivityDTO"}},"required":["success","languages"]},"CreateSheetActivityDTO":{"type":"object","properties":{"comment":{"type":"string"},"electronicKey":{"type":"string"},"objectId":{"type":"string"},"userId":{"type":"string"},"extraInformation":{"type":"array","items":{"$ref":"#/components/schemas/SheetActivityLogDataDTO"}},"modelType":{"type":"string","enum":["company","vehicle","user_app","electronic_key","subscription","pers","pers_current_data"]},"activityType":{"type":"string","enum":["system_log","manual_comment","iot_message"]}},"required":["comment","electronicKey","objectId","userId","extraInformation","modelType","activityType"]},"SheetActivityResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"user":{"$ref":"#/components/schemas/SheetActivityDTO"}},"required":["success","user"]},"UpdateSheetActivityDTO":{"type":"object","properties":{"comment":{"type":"string"},"electronicKey":{"type":"string"},"objectId":{"type":"string"},"activityModelType":{"type":"string","enum":["company","vehicle","user_app","electronic_key","subscription","pers","pers_current_data"]},"activityType":{"type":"string","enum":["system_log","manual_comment","iot_message"]}},"required":["comment","electronicKey","objectId","activityModelType","activityType"]},"LevelAlertDTO":{"type":"object","properties":{"levelAlert":{"type":"number"},"labelLevelAlert":{"type":"string"},"pictureLevelAlert":{"type":"string"},"colorLevelAlert":{"type":"string"},"id":{"type":"string"},"isLinkToPersAlert":{"type":"boolean"},"translations":{"type":"array","items":{"type":"array"}},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["levelAlert","labelLevelAlert","pictureLevelAlert","colorLevelAlert","id","isLinkToPersAlert","translations","updatedAt","createdAt"]},"AlertTranslationDTO":{"type":"object","properties":{"id":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageResponseDTO"},"translationLabel":{"type":"string"},"translationDescription":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["id","language","translationLabel","translationDescription","isDefault"]},"TopicAlertTranslationDTO":{"type":"object","properties":{"id":{"type":"string"},"languageId":{"type":"string"},"translationLabelField":{"type":"string"},"topicAlertId":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["id","languageId","translationLabelField","topicAlertId","isDefault"]},"GroupAlertTranslationDTO":{"type":"object","properties":{"id":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageResponseDTO"},"translationLabel":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["id","language","translationLabel","isDefault"]},"GroupAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/GroupAlertTranslationDTO"}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","labelGroupAlert","numOrder","translations","createdAt","updatedAt"]},"TopicAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"labelFieldAlert":{"type":"string"},"groupAlertId":{"type":"string"},"numOrder":{"type":"number"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/TopicAlertTranslationDTO"}},"groupAlert":{"$ref":"#/components/schemas/GroupAlertDTO"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","labelFieldAlert","groupAlertId","numOrder","translations","groupAlert","createdAt","updatedAt"]},"AlertsDTO":{"type":"object","properties":{"codeAlert":{"type":"string"},"labelAlert":{"type":"string"},"descriptionAlert":{"type":"string"},"id":{"type":"string"},"topicAlertId":{"type":"string"},"levelAlert":{"$ref":"#/components/schemas/LevelAlertDTO"},"lifetime":{"type":"number"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/AlertTranslationDTO"}},"topicAlert":{"$ref":"#/components/schemas/TopicAlertDTO"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["codeAlert","labelAlert","descriptionAlert","id","topicAlertId","levelAlert","lifetime","translations","topicAlert","createdAt","updatedAt"]},"PersAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"persId":{"type":"string"},"codeAlert":{"type":"string"},"alert":{"$ref":"#/components/schemas/AlertsDTO"},"dtStartAlert":{"format":"date-time","type":"string"},"nbReceptionAlert":{"type":"number"},"dtLastReceptionAlert":{"format":"date-time","type":"string"},"status":{"type":"number","enum":[1]},"dtStatus":{"format":"date-time","type":"string"},"reasonError":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","persId","codeAlert","alert","dtStartAlert","nbReceptionAlert","dtLastReceptionAlert","status","dtStatus","reasonError","updatedAt","createdAt"]},"ListPersAlertDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PersAlertDTO"}}},"required":["meta","links","items"]},"PersFirmwareCategoryDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","label","createdAt","updatedAt"]},"PersFirmwareCategoryListResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PersFirmwareCategoryDTO"}}},"required":["meta","links","items"]},"PersFirmwareCategoryResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"category":{"$ref":"#/components/schemas/PersFirmwareCategoryDTO"}},"required":["success","category"]},"CreatePersFirmwareCategoryDTO":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]},"UpdatePersFirmwareCategoryDTO":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]},"BasePersFirmwareCategoryDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"]},"FirmwareVersionMetadataDTO":{"type":"object","properties":{"key":{"type":"string"},"originFileKey":{"type":"string"},"expiryTime":{"type":"number"},"presignedUrl":{"type":"string"}},"required":["key","originFileKey","expiryTime","presignedUrl"]},"PersCompatibilityVehicleBrandDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"PersCompatibilityDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"brand":{"$ref":"#/components/schemas/PersCompatibilityVehicleBrandDTO"},"currentFirmwareVersion":{"type":"string"},"recoveryFirmwareVersion":{"type":"string"},"bootFirmwareVersion":{"type":"string"},"categoryName":{"type":"string"},"targetVersion":{"type":"string"}},"required":["id","nuSerialPersNumber","modelPERS","vehicleModel","brand","currentFirmwareVersion","recoveryFirmwareVersion","bootFirmwareVersion","categoryName","targetVersion"]},"CompatiblePersDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersionType":{"type":"string","enum":["main","recovery","boot"]},"pers":{"$ref":"#/components/schemas/PersCompatibilityDTO"}},"required":["id","firmwareVersionType","pers"]},"FirmwareVersionDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersion":{"type":"string"},"firmwareType":{"type":"string","enum":["main","recovery","boot"]},"category":{"$ref":"#/components/schemas/BasePersFirmwareCategoryDTO"},"firmwareReleaseNote":{"type":"string"},"firmwareUuid":{"type":"string"},"firmwareFileName":{"type":"string"},"lastModifiedAt":{"format":"date-time","type":"string"},"sessionKey":{"type":"string"},"segments":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/components/schemas/FirmwareVersionMetadataDTO"},"compatiblePersList":{"type":"array","items":{"$ref":"#/components/schemas/CompatiblePersDTO"}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","firmwareVersion","firmwareType","category","firmwareReleaseNote","firmwareUuid","firmwareFileName","lastModifiedAt","sessionKey","segments","metadata","compatiblePersList","createdAt","updatedAt"]},"FirmwareVersionListResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionDTO"}}},"required":["meta","links","items"]},"CreateFirmwareCompatibilityDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"}},"required":["nuSerialPersNumber"]},"CompatiblePersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"compatiblePers":{"$ref":"#/components/schemas/CompatiblePersDTO"}},"required":["success","compatiblePers"]},"FirmwareSegmentMetadataDTO":{"type":"object","properties":{"expiryTime":{"type":"number"},"expiryTimeFileEncrypted":{"type":"number"},"keys":{"type":"array","items":{"type":"string"}},"keysEncrypted":{"type":"array","items":{"type":"string"}}},"required":["expiryTime","expiryTimeFileEncrypted","keys","keysEncrypted"]},"CreateFirmwareSegmentsDTO":{"type":"object","properties":{"sizeCut":{"type":"number"},"sequenceSegment":{"type":"number"},"fileSegment":{"type":"array","items":{"type":"string"}},"fileSegmentEncrypted":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/components/schemas/FirmwareSegmentMetadataDTO"}},"required":["sizeCut","sequenceSegment","fileSegment","fileSegmentEncrypted","metadata"]},"CreateFirmwareVersionDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersion":{"type":"string"},"categoryId":{"type":"string"},"firmwareReleaseNote":{"type":"string"},"firmwareFileName":{"type":"string"},"metadata":{"$ref":"#/components/schemas/FirmwareVersionMetadataDTO"},"sessionKey":{"type":"object"},"firmwareType":{"type":"string","enum":["main","recovery","boot"],"default":"main"}},"required":["id","firmwareVersion","categoryId","firmwareReleaseNote","firmwareFileName","metadata","sessionKey","firmwareType"]},"FirmwareVersionResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"firmwareVersion":{"$ref":"#/components/schemas/FirmwareVersionDTO"}},"required":["success","firmwareVersion"]},"UpdateFirmwareVersionDTO":{"type":"object","properties":{"firmwareVersion":{"type":"string"},"firmwareReleaseNote":{"type":"string"},"categoryId":{"type":"string"},"firmwareFileName":{"type":"string"},"metadata":{"$ref":"#/components/schemas/FirmwareVersionMetadataDTO"},"sessionKey":{"type":"object"},"firmwareType":{"type":"string","enum":["main","recovery","boot"]}},"required":["firmwareVersion","firmwareReleaseNote","categoryId","firmwareFileName","metadata","sessionKey"]},"PersKitConfigurationDTO":{"type":"object","properties":{"id":{"type":"string"},"initialKitConfiguration":{"type":"string"},"currentKitConfiguration":{"type":"string"}},"required":["id","initialKitConfiguration","currentKitConfiguration"]},"PersKitConfigurationResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persKitConfiguration":{"$ref":"#/components/schemas/PersKitConfigurationDTO"}},"required":["success","persKitConfiguration"]},"UpdatePersKitConfigurationDTO":{"type":"object","properties":{"currentKitConfiguration":{"type":"string","description":"Current PERS Kit Configuration value","example":"P1.0-000019-V1.0"}},"required":["currentKitConfiguration"]},"ListPERSDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PersDTO"}}},"required":["meta","links","items"]},"PERSResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"pers":{"$ref":"#/components/schemas/PersDTO"}},"required":["success","pers"]},"CreatePersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"modelPERSId":{"type":"string"},"odooPersId":{"type":"string"}},"required":["nuSerialPersNumber","modelPERSId"]},"UpdatePersDTO":{"type":"object","properties":{"odooPersId":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERSId":{"type":"string"},"activationPin":{"type":"string"}},"required":["odooPersId","nuSerialPersNumber","modelPERSId","activationPin"]},"MqttMessagesLogsAlertGroupDTO":{"type":"object","properties":{"id":{"type":"string"},"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"}},"required":["id","labelGroupAlert","numOrder"]},"MqttMessagesLogsAlertTopicDTO":{"type":"object","properties":{"id":{"type":"string"},"labelFieldAlert":{"type":"string"},"numOrder":{"type":"number"},"groupAlert":{"$ref":"#/components/schemas/MqttMessagesLogsAlertGroupDTO"}},"required":["id","labelFieldAlert","numOrder","groupAlert"]},"MqttMessagesLogsAlertItemDTO":{"type":"object","properties":{"date":{"format":"date-time","type":"string","description":"dtPERSAlert from content message"},"code":{"type":"string","description":"codeAlert from content message"},"description":{"type":"string","description":"Alert description"},"group":{"description":"Group alert from alert.topicAlert.groupAlert","allOf":[{"$ref":"#/components/schemas/MqttMessagesLogsAlertGroupDTO"}]},"topic":{"description":"Topic alert from alert.topicAlert","allOf":[{"$ref":"#/components/schemas/MqttMessagesLogsAlertTopicDTO"}]},"status":{"type":"number","enum":[1,99],"description":"Status from log_pers_iot_message"}},"required":["date","code","description","group","topic","status"]},"MqttMessagesLogsAlertDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/MqttMessagesLogsAlertItemDTO"}}},"required":["meta","links","items"]},"IOTMessageDTO":{"type":"object","properties":{"toUpdateVehicleListUsers":{"type":"boolean"},"toSendKnownUsers":{"type":"boolean"},"toUpdateOwner":{"type":"boolean"},"toLockVehicleASAP":{"type":"boolean"},"toDownloadApplicationFirmware":{"type":"boolean"},"toDownloadRecoveryFirmware":{"type":"boolean"},"toDownloadBootloader":{"type":"boolean"},"toSendConfigFile":{"type":"boolean"},"toGetNewConfigFile":{"type":"boolean"},"toGetCIXIKeys":{"type":"boolean"},"toRenewPERSKeys":{"type":"boolean"}},"required":["toUpdateVehicleListUsers","toSendKnownUsers","toUpdateOwner","toLockVehicleASAP","toDownloadApplicationFirmware","toDownloadRecoveryFirmware","toDownloadBootloader","toSendConfigFile","toGetNewConfigFile","toGetCIXIKeys","toRenewPERSKeys"]},"SendWhatToDoToPersDTO":{"type":"object","properties":{"typeMessage":{"type":"string"},"persId":{"type":"string"},"configurationFileId":{"type":"string"},"message":{"$ref":"#/components/schemas/IOTMessageDTO"}},"required":["typeMessage","persId","configurationFileId","message"]},"BaseFirmwareVersionDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersion":{"type":"string"},"firmwareType":{"type":"string","enum":["main","recovery","boot"]},"category":{"$ref":"#/components/schemas/BasePersFirmwareCategoryDTO"}},"required":["id","firmwareVersion","firmwareType","category"]},"FirmwareVersionFilterListResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BaseFirmwareVersionDTO"}}},"required":["success","items"]},"VehicleBrandInfoDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar":{"type":"string"}},"required":["id","name"]},"VehicleModelInfoDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicleModel":{"type":"string"}},"required":["id","nameVehicleModel"]},"VehicleTypeInfoDTO":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"]},"PersInfoDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"}},"required":["id","nuSerialPersNumber","modelPERS"]},"VehicleInfoDTO":{"type":"object","properties":{"id":{"type":"string"},"serialNumber":{"type":"string"},"avatar":{"type":"string"},"brand":{"$ref":"#/components/schemas/VehicleBrandInfoDTO"},"vehicleModel":{"$ref":"#/components/schemas/VehicleModelInfoDTO"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeInfoDTO"},"pers":{"$ref":"#/components/schemas/PersInfoDTO"}},"required":["id","serialNumber","brand","vehicleModel","vehicleType"]},"SearchVehicleResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehicleInfoDTO"}}},"required":["success","items"]},"AvailablePersItemDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"}},"required":["id","nuSerialPersNumber","modelPERS"]},"AvailablePersListResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/AvailablePersItemDTO"}}},"required":["success","items"]},"UpdatePersRepairDTO":{"type":"object","properties":{"vehicleId":{"type":"string"},"nuSerialPersNumber":{"type":"string"}},"required":["vehicleId","nuSerialPersNumber"]},"UpdatePersRepairResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/VehicleInfoDTO"}},"required":["success","vehicle"]},"ReceiveIOTMessagePersAlertDTO":{"type":"object","properties":{"persSN":{"type":"string"},"seqMessage":{"type":"number"},"dtPERSAlert":{"format":"date-time","type":"string"},"timezonePersAlert":{"type":"string","default":"UTC"},"codeAlert":{"type":"string"},"status":{"type":"string"}},"required":["persSN","seqMessage","dtPERSAlert","timezonePersAlert","codeAlert","status"]},"ReceptionIOTMessagePersStatusLockDTO":{"type":"object","properties":{"persSN":{"type":"string"},"seqMessage":{"type":"number"},"statusLock":{"type":"boolean"},"dtStatusLock":{"format":"date-time","type":"string"},"timezoneStatusLock":{"type":"string"},"id":{"type":"string","description":"Current user ID (if known and only if vehicle currently unlocked). By default, owner ID (if known)"}},"required":["persSN","seqMessage","statusLock","dtStatusLock","timezoneStatusLock","id"]},"ReceptionIOTMessagePersStatusGeolocDTO":{"type":"object","properties":{"persSN":{"type":"string"},"seqMessage":{"type":"number"},"geolocStatus":{"type":"boolean"},"dtStatusGeoloc":{"format":"date-time","type":"string"},"timezoneStatusGeoloc":{"type":"string"}},"required":["persSN","seqMessage","geolocStatus","dtStatusGeoloc","timezoneStatusGeoloc"]},"LogPersDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"}},"required":["id","nuSerialPersNumber"]},"LogPersIOTMessageItemDTO":{"type":"object","properties":{"id":{"type":"string"},"pers":{"$ref":"#/components/schemas/LogPersDTO"},"typeMessage":{"type":"string","enum":["PSPersAlert","PSStatusLock","PSStatusGeoloc"]},"source":{"type":"number","enum":[1,2]},"seqMessage":{"type":"number"},"contentMessage":{"type":"string"},"status":{"type":"number","enum":[1,99]},"dtStatus":{"format":"date-time","type":"string"},"reasonErrorStatus":{"type":"string"}},"required":["id","pers","typeMessage","source","seqMessage","contentMessage","status","dtStatus","reasonErrorStatus"]},"LogPersIOTMessageDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/LogPersIOTMessageItemDTO"}}},"required":["meta","links","items"]},"UpsertPersCurrentStatusDTO":{"type":"object","properties":{"persId":{"type":"string"},"timestampPackage":{"format":"date-time","type":"string"},"vehicleUserId":{"type":"string"},"vehicleId":{"type":"string"},"userId":{"type":"string"},"lockStatus":{"type":"boolean"},"geolocStatus":{"type":"boolean"},"batteryChargingStatus":{"type":"boolean"},"timeBeforeFullCharge":{"type":"number"},"batterySoc":{"type":"number"},"batterySoh":{"type":"number"},"vehicleTotalKm":{"type":"number"},"batteryGridStatus":{"type":"boolean"},"batteryTotalCapa":{"type":"number"},"rangeEstimation":{"type":"number"},"vehicleTotalOperationTime":{"type":"number"},"batteryTemperature":{"type":"number"},"batteryVoltage":{"type":"number"},"latitude":{"type":"number"},"longitude":{"type":"number"},"altitude":{"type":"number"},"nbSatellites":{"type":"number"}},"required":["persId","timestampPackage","vehicleUserId","vehicleId","userId","lockStatus","geolocStatus","batteryChargingStatus","timeBeforeFullCharge","batterySoc","batterySoh","vehicleTotalKm","batteryGridStatus","batteryTotalCapa","rangeEstimation","vehicleTotalOperationTime","batteryTemperature","batteryVoltage","latitude","longitude","altitude","nbSatellites"]},"PersFirmwareHistoryDTO":{"type":"object","properties":{"id":{"type":"string"},"firmwareVersion":{"type":"string"},"dtUpdatedPers":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","firmwareVersion","dtUpdatedPers","createdAt"]},"PersCurrentStatusResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persCurrentStatus":{"$ref":"#/components/schemas/PersCurrentStatusDTO"},"vehicleSerialNumber":{"type":"string"},"persSerialNumber":{"type":"string"},"currentFirmwareVersion":{"type":"string"},"vehiclePersHistory":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePERSHistoryDTO"}},"persFirmwareHistory":{"type":"array","items":{"$ref":"#/components/schemas/PersFirmwareHistoryDTO"}}},"required":["success","persCurrentStatus","vehicleSerialNumber","persSerialNumber","currentFirmwareVersion","vehiclePersHistory","persFirmwareHistory"]},"ListGroupPersAlertResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupPersAlertDTO"}},"vehicleSerialNumber":{"type":"string"},"persSerialNumber":{"type":"string"}},"required":["success","items","vehicleSerialNumber","persSerialNumber"]},"PersHistoryResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehiclePersHistory":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePERSHistoryDTO"}},"persFirmwareHistory":{"type":"array","items":{"$ref":"#/components/schemas/PersFirmwareHistoryDTO"}}},"required":["success","vehiclePersHistory","persFirmwareHistory"]},"CreateAlertDTO":{"type":"object","properties":{"labelAlert":{"type":"string"},"descriptionAlert":{"type":"string"},"codeAlert":{"type":"string"},"topicAlertId":{"type":"string"},"levelAlertId":{"type":"string"},"lifetime":{"type":"number"}},"required":["labelAlert","descriptionAlert","codeAlert","topicAlertId","levelAlertId","lifetime"]},"AlertResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"alerts":{"$ref":"#/components/schemas/AlertsDTO"}},"required":["success","alerts"]},"CreateAlertTranslationDTO":{"type":"object","properties":{"languageId":{"type":"string"},"translationLabel":{"type":"string"},"translationDescription":{"type":"string"}},"required":["languageId","translationLabel","translationDescription"]},"UpdateAlertTranslationDTO":{"type":"object","properties":{"languageId":{"type":"string"},"translationLabel":{"type":"string"},"translationDescription":{"type":"string"}},"required":["languageId","translationLabel","translationDescription"]},"UpdateAlertDTO":{"type":"object","properties":{"labelAlert":{"type":"string"},"descriptionAlert":{"type":"string"},"codeAlert":{"type":"string"},"topicAlertId":{"type":"string"},"levelAlertId":{"type":"string"},"lifetime":{"type":"number"}},"required":["labelAlert","descriptionAlert","codeAlert","topicAlertId","levelAlertId","lifetime"]},"ListAlertDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/AlertsDTO"}}},"required":["meta","links","items"]},"ListBrandMessageDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BrandMessageDTO"}}},"required":["meta","links","items"]},"CreateBrandMessageDTO":{"type":"object","properties":{"brandId":{"type":"string"},"vehicleTypeId":{"type":"string"},"deviceType":{"type":"string"}},"required":["brandId","vehicleTypeId","deviceType"]},"BrandMessageResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"brandMessage":{"$ref":"#/components/schemas/BrandMessageDTO"}},"required":["success","brandMessage"]},"UpdateBrandMessageDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"deviceType":{"type":"string"},"mediaUrl":{"type":"string"},"labelButton":{"type":"string"},"externalLink":{"type":"string"},"languageId":{"type":"string"}},"required":["vehicleTypeId"]},"ItemCompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"}},"required":["id","companyName"]},"ListItemCompanyAdminDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"avatar":{"type":"string"},"company":{"$ref":"#/components/schemas/ItemCompanyDTO"},"role":{"$ref":"#/components/schemas/CompanyRoleDTO"},"userApp":{"$ref":"#/components/schemas/BaseUserDTO"}},"required":["id","name","email","status","dtStatus","statusReason","updatedAt","createdAt","avatar","company","role","userApp"]},"ListCompanyAdminResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ListItemCompanyAdminDTO"}}},"required":["meta","links","items"]},"CompanyUserAppDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"proCenterRoleId":{"type":"string"},"cfmRoleId":{"type":"string"}},"required":["id","email","name","gender","avatar","phone","mobilePhone","proCenterRoleId","cfmRoleId"]},"DetailCompanyAdminDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"avatar":{"type":"string"},"company":{"$ref":"#/components/schemas/ItemCompanyDTO"},"role":{"$ref":"#/components/schemas/CompanyRoleDTO"},"userApp":{"$ref":"#/components/schemas/CompanyUserAppDTO"},"platformTechList":{"type":"array","items":{"$ref":"#/components/schemas/PlatformTechDTO"}},"mobileDeviceList":{"type":"array","items":{"$ref":"#/components/schemas/MobileDeviceDTO"}}},"required":["id","name","email","status","dtStatus","statusReason","updatedAt","createdAt","avatar","company","role","userApp","platformTechList","mobileDeviceList"]},"DetailCompanyAdminResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"userCompany":{"$ref":"#/components/schemas/DetailCompanyAdminDTO"}},"required":["success","userCompany"]},"CreateCompanyAdminDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"CompanyAdminDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"companyId":{"type":"string"},"roleId":{"type":"string"}},"required":["id","name","email","status","dtStatus","statusReason","updatedAt","createdAt","companyId","roleId"]},"CompanyAdminResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"userCompany":{"$ref":"#/components/schemas/CompanyAdminDTO"}},"required":["success","userCompany"]},"CompanyCategoryDTO":{"type":"object","properties":{"id":{"type":"string"},"keyCompanyCategory":{"type":"string"},"labelCompanyCategory":{"type":"string"},"isActive":{"type":"boolean"},"translations":{"type":"array","items":{"type":"array"}},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","keyCompanyCategory","labelCompanyCategory","isActive","translations","updatedAt","createdAt"]},"ListCompanyCategoryDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyCategoryDTO"}}},"required":["meta","links","items"]},"ListCompanyCategoryResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyCategories":{"$ref":"#/components/schemas/ListCompanyCategoryDTO"}},"required":["success","companyCategories"]},"CompanyCategoryResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyCategory":{"$ref":"#/components/schemas/CompanyCategoryDTO"}},"required":["success","companyCategory"]},"UpdateCompanyCategoryDTO":{"type":"object","properties":{"labelCompanyCategory":{"type":"string"},"isActive":{"type":"boolean"}},"required":["labelCompanyCategory","isActive"]},"UpsertCompanyCategoryTranslationDTO":{"type":"object","properties":{"languageId":{"type":"string"},"translationId":{"type":"string"},"translationValue":{"type":"string"}},"required":["languageId","translationId","translationValue"]},"ListCompanyCIXIReferentDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyCIXIReferentDTO"}}},"required":["meta","links","items"]},"ListCompanyCIXIReferentResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"groups":{"$ref":"#/components/schemas/ListCompanyCIXIReferentDTO"}},"required":["success","groups"]},"CompanyCIXIReferentResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"group":{"$ref":"#/components/schemas/CompanyCIXIReferentDTO"}},"required":["success","group"]},"CreateCompanyCIXIReferentDTO":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"number","enum":[1,2]},"email":{"type":"string"},"phoneNumber":{"type":"string"},"mobilePhoneNumber":{"type":"string"}},"required":["firstName","lastName","gender","email","phoneNumber","mobilePhoneNumber"]},"UpdateCompanyCIXIReferentDTO":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"number","enum":[1,2]},"email":{"type":"string"},"phoneNumber":{"type":"string"},"mobilePhoneNumber":{"type":"string"}},"required":["firstName","lastName","gender","email","phoneNumber","mobilePhoneNumber"]},"SheetCompanyLinkDTO":{"type":"object","properties":{"company":{"$ref":"#/components/schemas/BaseCompanyDTO"},"linkType":{"type":"number","enum":[1,2]}},"required":["company","linkType"]},"SheetCompanyLinkResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SheetCompanyLinkDTO"}}},"required":["meta","links","items"]},"CreateCompanyPersLinkDTO":{"type":"object","properties":{"companyId":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"linkType":{"type":"number","enum":[1,2]},"dtDelivered":{"format":"date-time","type":"string"}},"required":["companyId","nuSerialPersNumber","linkType","dtDelivered"]},"CompanyPersLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"persId":{"type":"string"},"linkType":{"type":"number","enum":[1,2]},"dtDelivered":{"format":"date-time","type":"string"},"pers":{"type":"object"}},"required":["id","companyId","persId","linkType","dtDelivered","pers"]},"CompanyPersLinkResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyPersLink":{"$ref":"#/components/schemas/CompanyPersLinkDTO"}},"required":["success","companyPersLink"]},"UpdateCompanyPersLinkDTO":{"type":"object","properties":{"linkType":{"type":"number","enum":[1,2]},"dtDelivered":{"format":"date-time","type":"string"}},"required":["linkType","dtDelivered"]},"PilotUserDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"}},"required":["id","name","email","phone","mobilePhone"]},"CompanyPilotDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"userId":{"type":"string"},"user":{"$ref":"#/components/schemas/PilotUserDTO"},"companyTeamId":{"type":"string"},"invitationDate":{"format":"date-time","type":"string"},"statusReason":{"type":"string"}},"required":["id","email","status","userId","user","companyTeamId","invitationDate","statusReason"]},"ListCompanyPilotResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"$ref":"#/components/schemas/CompanyPilotDTO"}},"required":["meta","links","items"]},"CompanyTeamDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"company":{"type":"array","items":{"type":"string"}}},"required":["id","name","description","company"]},"CompanyTeamResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyTeam":{"$ref":"#/components/schemas/CompanyTeamDTO"}},"required":["success","companyTeam"]},"CreateCompanyPilotDTO":{"type":"object","properties":{"email":{"type":"string"},"companyTeamId":{"type":"string"}},"required":["email","companyTeamId"]},"CompanyPilotResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyPilot":{"$ref":"#/components/schemas/CompanyPilotDTO"}},"required":["success","companyPilot"]},"UpdateCompanyPilotDTO":{"type":"object","properties":{"email":{"type":"string"},"invitationDate":{"format":"date-time","type":"string"}},"required":["email"]},"CompanyPreferencesDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"company":{"$ref":"#/components/schemas/CompanyDTO"},"companyTimezoneId":{"type":"string"},"companyCurrencyId":{"type":"string"},"canBeContactedByEmail":{"type":"boolean"},"canBeContactedBySMS":{"type":"boolean"},"isPeriodSharingInfinite":{"type":"boolean"},"nbMonthPeriodSharing":{"type":"number"},"canSeeVehicleOtherCompanies":{"type":"boolean"}},"required":["id","companyId","company","companyTimezoneId","companyCurrencyId","canBeContactedByEmail","canBeContactedBySMS","isPeriodSharingInfinite","nbMonthPeriodSharing","canSeeVehicleOtherCompanies"]},"CompanyPreferencesResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyPreference":{"$ref":"#/components/schemas/CompanyPreferencesDTO"}},"required":["success","companyPreference"]},"UpdateCompanyPreferencesDTO":{"type":"object","properties":{"companyTimeZoneId":{"type":"string"},"companyCurrencyId":{"type":"string"},"canBeContactedByEmail":{"type":"boolean","default":false},"canBeContactedBySMS":{"type":"boolean","default":false},"isPeriodSharingInfinite":{"type":"boolean","default":false},"nbMonthPeriodSharing":{"type":"number","default":6},"canSeeVehiclesOtherCompanies":{"type":"boolean","default":false}},"required":["companyTimeZoneId","companyCurrencyId","canBeContactedByEmail","canBeContactedBySMS","isPeriodSharingInfinite","nbMonthPeriodSharing","canSeeVehiclesOtherCompanies"]},"ListCompanyTeamResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"$ref":"#/components/schemas/CompanyTeamResponseDTO"}},"required":["meta","links","items"]},"CreateCompanyTeamDTO":{"type":"object","properties":{"name":{"type":"string"},"companyId":{"type":"string"}},"required":["name","companyId"]},"UpdateCompanyTeamDTO":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"CreateCompanyVehicleBrandLinkDTO":{"type":"object","properties":{"companyId":{"type":"string"},"vehicleBrandId":{"type":"string"},"linkType":{"type":"number","enum":[1,8]}},"required":["companyId","vehicleBrandId","linkType"]},"VehicleBrandLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"avatar":{"type":"string"},"name":{"type":"string"}},"required":["id","avatar","name"]},"CompanyVehicleBrandLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"company":{"$ref":"#/components/schemas/CompanyLinkDTO"},"vehicleBrand":{"$ref":"#/components/schemas/VehicleBrandLinkDTO"},"linkType":{"type":"number"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","company","vehicleBrand","linkType","updatedAt","createdAt"]},"ResponseCompanyVehicleBrandLinkDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyVehicleBrandLink":{"$ref":"#/components/schemas/CompanyVehicleBrandLinkDTO"}},"required":["success","companyVehicleBrandLink"]},"ListCompanyVehicleBrandLinkDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVehicleBrandLinkDTO"}}},"required":["meta","links","items"]},"UpdateCompanyVehicleBrandLinkDTO":{"type":"object","properties":{"linkType":{"type":"number"}},"required":["linkType"]},"CreateCompanyVehicleLinkDTO":{"type":"object","properties":{"vehicleId":{"type":"string"},"linkType":{"type":"number","enum":[1,2]}},"required":["vehicleId","linkType"]},"CompanyVehiclePersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"},"currentFirmwareVersion":{"type":"string"},"odooPersId":{"type":"string"}},"required":["nuSerialPersNumber","modelPERS","currentFirmwareVersion","odooPersId"]},"CompanyVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"linkType":{"type":"number","enum":[1,2]},"pers":{"$ref":"#/components/schemas/CompanyVehiclePersDTO"},"persLinks":{"$ref":"#/components/schemas/CompanyPersLinkPartnerDTO"}},"required":["id","vehicle","linkType","pers","persLinks"]},"CompanyVehicleListResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVehicleDTO"}}},"required":["meta","links","items"]},"LinkableVehicleResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BaseVehicleDTO"}}},"required":["meta","links","items"]},"ListCompanyDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyDTO"}}},"required":["meta","links","items"]},"ListCompanyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"groups":{"$ref":"#/components/schemas/ListCompanyDTO"}},"required":["success","groups"]},"SheetAdditionalDataDTO":{"type":"object","properties":{"nameMainResponsable":{"type":"string"},"emailMainResponsable":{"type":"string"},"phoneMainResponsable":{"type":"string"},"mobilePhoneMainResponsable":{"type":"string"},"cixiReferentId":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"nameResponsableBilling":{"type":"string"},"emailResponsableBilling":{"type":"string"},"phoneResponsableBilling":{"type":"string"},"mobilePhoneResponsableBilling":{"type":"string"},"companySubscriberTypes":{"type":"array","items":{"$ref":"#/components/schemas/CompanySubscriberTypeDTO"}},"cixiReferent":{"$ref":"#/components/schemas/CompanyCIXIReferentDTO"},"companyNameBilling":{"type":"string"},"addressBilling":{"type":"string"},"zipCodeAddressBilling":{"type":"string"},"cityAddressBilling":{"type":"string"},"countryAddressBillingId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["nameMainResponsable","emailMainResponsable","phoneMainResponsable","mobilePhoneMainResponsable","cixiReferentId","isBillingDistinct","nameResponsableBilling","emailResponsableBilling","phoneResponsableBilling","mobilePhoneResponsableBilling","companySubscriberTypes","cixiReferent","companyNameBilling","addressBilling","zipCodeAddressBilling","cityAddressBilling","countryAddressBillingId","updatedAt","createdAt"]},"CreateCompanyDTO":{"type":"object","properties":{"odooCompanyId":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"},"registerNumber":{"type":"string"},"address":{"type":"string"},"complementaryAddress":{"type":"string"},"zipCodeAddress":{"type":"string"},"cityAddress":{"type":"string"},"countryAddressId":{"type":"string"},"companyType":{"type":"string","enum":["independent","mother","children"]},"companyMother":{"type":"string"},"nameMainResponsable":{"type":"string"},"emailMainResponsable":{"type":"string"},"phoneMainResponsable":{"type":"string"},"mobilePhoneMainResponsable":{"type":"string"},"subscribers":{"type":"array","items":{"type":"string","enum":["company","individual"]}},"cixiReferentId":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"nameResponsableBilling":{"type":"string"},"emailResponsableBilling":{"type":"string"},"phoneResponsableBilling":{"type":"string"},"mobilePhoneResponsableBilling":{"type":"string"},"companyNameBilling":{"type":"string"},"addressBilling":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"zipCodeAddressBilling":{"type":"string"},"cityAddressBilling":{"type":"string"},"countryAddressBillingId":{"type":"string"},"status":{"type":"string","enum":["to_approve","approved","refused","archived"]},"dtStatus":{"format":"date-time","type":"string"},"dtApproved":{"format":"date-time","type":"string"},"dtArchived":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"vat":{"type":"string"},"companyCategories":{"type":"array","items":{"type":"string"}}},"required":["companyName","avatar","registerNumber","address","complementaryAddress","zipCodeAddress","cityAddress","countryAddressId","companyType","companyMother","nameMainResponsable","emailMainResponsable","phoneMainResponsable","mobilePhoneMainResponsable","subscribers","cixiReferentId","isBillingDistinct","nameResponsableBilling","emailResponsableBilling","phoneResponsableBilling","mobilePhoneResponsableBilling","companyNameBilling","addressBilling","complementaryAddressBilling","zipCodeAddressBilling","cityAddressBilling","countryAddressBillingId","status","dtStatus","dtApproved","dtArchived","statusReason","vat","companyCategories"]},"UpsertSheetAdditionalDataDTO":{"type":"object","properties":{"nameMainResponsable":{"type":"string"},"emailMainResponsable":{"type":"string"},"phoneMainResponsable":{"type":"string"},"mobilePhoneMainResponsable":{"type":"string"},"cixiReferentId":{"type":"string"},"nameResponsableBilling":{"type":"string"},"emailResponsableBilling":{"type":"string"},"phoneResponsableBilling":{"type":"string"},"mobilePhoneResponsableBilling":{"type":"string"},"companyNameBilling":{"type":"string"},"addressBilling":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"zipCodeAddressBilling":{"type":"string"},"cityAddressBilling":{"type":"string"},"countryAddressBillingId":{"type":"string"},"isBillingDistinct":{"type":"boolean"}},"required":["nameMainResponsable","emailMainResponsable","phoneMainResponsable","mobilePhoneMainResponsable","cixiReferentId","nameResponsableBilling","emailResponsableBilling","phoneResponsableBilling","mobilePhoneResponsableBilling","companyNameBilling","addressBilling","complementaryAddressBilling","zipCodeAddressBilling","cityAddressBilling","countryAddressBillingId","isBillingDistinct"]},"SheetSubscriptionCompanyDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"}},"required":["id","companyName","avatar"]},"SheetSubscriptionDTO":{"type":"object","properties":{"id":{"type":"string"},"referenceSubscription":{"type":"string"},"company":{"$ref":"#/components/schemas/SheetSubscriptionCompanyDTO"}},"required":["id","referenceSubscription","company"]},"SheetVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"dtPrevisionalDelivery":{"format":"date-time","type":"string"},"dtDelivered":{"format":"date-time","type":"string"},"deliveryComment":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"status":{"type":"string","enum":["coming","delivery_in_progress","in_progress","returned"]},"subscription":{"$ref":"#/components/schemas/SheetSubscriptionDTO"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"}},"required":["id","subscriptionId","dtBegin","dtEnd","dtPrevisionalDelivery","dtDelivered","deliveryComment","dtStatus","statusReason","status","subscription","vehicle"]},"ListSheetVehicleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SheetVehicleDTO"}}},"required":["meta","links","items"]},"ModelPersForConfigurationFileCommDTO":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]},"PersForConfigurationFileCommDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/ModelPersForConfigurationFileCommDTO"}},"required":["nuSerialPersNumber","modelPERS"]},"CompanyForConfigurationFileCommDTO":{"type":"object","properties":{"companyName":{"type":"string"}},"required":["companyName"]},"UserForConfigurationFileCommDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"ConfigurationFileCommPersDTO":{"type":"object","properties":{"idStatus":{"type":"string"},"idPers":{"type":"string"},"typeComm":{"type":"number","enum":[1,2]},"idCompany":{"type":"string"},"fileName":{"type":"string"},"dtCreation":{"type":"string"},"fileContent":{"type":"object"},"updatedData":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"reasonError":{"type":"string"},"pers":{"$ref":"#/components/schemas/PersForConfigurationFileCommDTO"},"company":{"$ref":"#/components/schemas/CompanyForConfigurationFileCommDTO"},"user":{"$ref":"#/components/schemas/UserForConfigurationFileCommDTO"}},"required":["idStatus","idPers","typeComm","idCompany","fileName","dtCreation","fileContent","updatedData","dtStatus","reasonError","pers","company","user"]},"ListConfigurationFileCommPersDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationFileCommPersDTO"}}},"required":["meta","links","items"]},"ListConfigurationFileCommPersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"configurationFileCommPersDTO":{"$ref":"#/components/schemas/ListConfigurationFileCommPersDTO"}},"required":["success","configurationFileCommPersDTO"]},"ConfigurationPersTemplateDTO":{"type":"object","properties":{"id":{"type":"string"},"fileName":{"type":"string"},"persFirmwareVersion":{"type":"array","items":{"type":"array"}},"isAvailable":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","fileName","persFirmwareVersion","isAvailable","updatedAt","createdAt"]},"ListConfigurationPersTemplateDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationPersTemplateDTO"}}},"required":["meta","links","items"]},"ListConfigurationPersTemplateResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"configurationPersTemplates":{"$ref":"#/components/schemas/ListConfigurationPersTemplateDTO"}},"required":["success","configurationPersTemplates"]},"CreateConfigurationPersTemplateDTO":{"type":"object","properties":{"fileName":{"type":"string"},"persFirmwareVersionIds":{"type":"array","items":{"type":"string"}},"isAvailable":{"type":"boolean"},"file":{"type":"string","format":"binary"}},"required":["fileName"]},"LevelAlertResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"levelAlert":{"$ref":"#/components/schemas/LevelAlertDTO"}},"required":["success","levelAlert"]},"UpdateConfigurationPersTemplateDTO":{"type":"object","properties":{"fileName":{"type":"string"},"persFirmwareVersionIds":{"type":"array","items":{"type":"string"}},"isAvailable":{"type":"boolean"},"file":{"type":"string","format":"binary"}}},"DirectVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"user":{"$ref":"#/components/schemas/BaseUserDTO"},"isCurrentDirectVehicle":{"type":"boolean"},"dtCreatedOn":{"format":"date-time","type":"string"},"status":{"type":"number","enum":[1,2,3,4]},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"timezoneReferenceId":{"type":"string"},"timezone":{"$ref":"#/components/schemas/TimezoneResponseDTO"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"}},"required":["id","user","isCurrentDirectVehicle","dtCreatedOn","status","dtStatus","statusReason","timezoneReferenceId","timezone","dtBegin","dtEnd"]},"ListDirectVehicleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DirectVehicleDTO"}}},"required":["meta","links","items"]},"ElectronicKeyModelResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"electronicKeyModel":{"$ref":"#/components/schemas/ElectronicKeyModelDTO"}},"required":["success","electronicKeyModel"]},"CreateElectronicKeyModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"nameElectronicKeyModel":{"type":"string"}},"required":["vehicleTypeId","nameElectronicKeyModel"]},"UpdateElectronicKeyModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"nameElectronicKeyModel":{"type":"string"}},"required":["vehicleTypeId","nameElectronicKeyModel"]},"ListElectronicKeyModelDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ElectronicKeyModelDTO"}}},"required":["meta","links","items"]},"ElectronicKeyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"electronicKey":{"$ref":"#/components/schemas/ElectronicKeyDTO"}},"required":["success","electronicKey"]},"ElectronicKeySheetVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialElectronicKeyNumber":{"type":"string"},"idOdooElectronicKey":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"electronicKeyModel":{"$ref":"#/components/schemas/ElectronicKeyModelDTO"},"avatar":{"type":"string"},"isCurrent":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"status":{"type":"string","enum":["1","2","3"]},"statusReason":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","nuSerialElectronicKeyNumber","idOdooElectronicKey","dtBegin","dtEnd","electronicKeyModel","avatar","isCurrent","vehicle","status","statusReason","createdAt","updatedAt"]},"ListElectronicKeySheetVehicleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ElectronicKeySheetVehicleDTO"}}},"required":["meta","links","items"]},"CreateElectronicKeyDTO":{"type":"object","properties":{"nuSerialElectronicKeyNumber":{"type":"string"},"idOdooElectronicKey":{"type":"string"},"avatar":{"type":"string"},"idElectronicKeyModel":{"type":"string"}},"required":["nuSerialElectronicKeyNumber","idElectronicKeyModel"]},"UpdateElectronicKeyDTO":{"type":"object","properties":{"nuSerialElectronicKeyNumber":{"type":"string"},"idOdooElectronicKey":{"type":"string"},"avatar":{"type":"string"},"idElectronicKeyModel":{"type":"string"}},"required":["nuSerialElectronicKeyNumber"]},"ListElectronicKeyDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ElectronicKeyDTO"}}},"required":["meta","links","items"]},"GroupAlertForFieldDTO":{"type":"object","properties":{"id":{"type":"string"},"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"}},"required":["id","labelGroupAlert","numOrder"]},"GroupAlertFieldDTO":{"type":"object","properties":{"id":{"type":"string"},"keywordField":{"type":"string"},"keywordLabelCIXICenter":{"type":"string"},"keywordLabelPROCenter":{"type":"string"},"groupAlert":{"$ref":"#/components/schemas/GroupAlertForFieldDTO"},"numOrder":{"type":"number"}},"required":["id","keywordField","keywordLabelCIXICenter","keywordLabelPROCenter","groupAlert","numOrder"]},"GroupAlertFieldResponseListDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupAlertFieldDTO"}}},"required":["meta","links","items"]},"UpdateGroupAlertFieldDTO":{"type":"object","properties":{"groupAlertId":{"type":"string"},"numOrder":{"type":"number"}},"required":["groupAlertId","numOrder"]},"GroupAlertFieldResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"groupAlertField":{"$ref":"#/components/schemas/GroupAlertFieldDTO"}},"required":["success","groupAlertField"]},"CreateGroupAlertDTO":{"type":"object","properties":{"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"}},"required":["labelGroupAlert","numOrder"]},"GroupAlertResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"groupAlerts":{"$ref":"#/components/schemas/GroupAlertDTO"}},"required":["success","groupAlerts"]},"CreateGroupAlertTranslationDTO":{"type":"object","properties":{"labelGroupAlert":{"type":"string"},"languageId":{"type":"string"}},"required":["labelGroupAlert","languageId"]},"UpdateGroupAlertTranslationDTO":{"type":"object","properties":{"labelGroupAlert":{"type":"string"},"languageId":{"type":"string"}},"required":["labelGroupAlert","languageId"]},"UpdateGroupAlertDTO":{"type":"object","properties":{"labelGroupAlert":{"type":"string"},"numOrder":{"type":"number"}},"required":["labelGroupAlert","numOrder"]},"GroupAlertResponseListDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupAlertDTO"}}},"required":["meta","links","items"]},"ListLevelAlertDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/LevelAlertDTO"}}},"required":["meta","links","items"]},"ListLevelAlertResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"levelAlerts":{"$ref":"#/components/schemas/ListLevelAlertDTO"}},"required":["success","levelAlerts"]},"CreateLevelAlertDTO":{"type":"object","properties":{"labelLevelAlert":{"type":"string"},"levelAlert":{"type":"number"},"pictureLevelAlert":{"type":"string"},"colorLevelAlert":{"type":"string"}},"required":["labelLevelAlert","levelAlert","pictureLevelAlert","colorLevelAlert"]},"UpdateLevelAlertDTO":{"type":"object","properties":{"labelLevelAlert":{"type":"string"},"levelAlert":{"type":"number"},"pictureLevelAlert":{"type":"string"},"colorLevelAlert":{"type":"string"}},"required":["labelLevelAlert","levelAlert","pictureLevelAlert","colorLevelAlert"]},"UpsertLevelAlertTranslationDTO":{"type":"object","properties":{"languageId":{"type":"string"},"translationId":{"type":"string"},"translationValue":{"type":"string"}},"required":["languageId","translationId","translationValue"]},"ListModelPERSDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ModelPERSDTO"}}},"required":["meta","links","items"]},"ModelPERSResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"modelPERS":{"$ref":"#/components/schemas/ModelPERSDTO"}},"required":["success","modelPERS"]},"CreateModelPERSDTO":{"type":"object","properties":{"label":{"type":"string"},"structureCalibration":{"type":"string"},"internalReference":{"type":"string"},"odooModelPersId":{"type":"string"}},"required":["label","structureCalibration","internalReference"]},"UpdateModelPERSDTO":{"type":"object","properties":{"label":{"type":"string"},"structureCalibration":{"type":"string"},"internalReference":{"type":"string"},"odooModelPersId":{"type":"string"}},"required":["label","structureCalibration","internalReference"]},"UpsertOdooSyncDTO":{"type":"object","properties":{"lastSyncCompany":{"format":"date-time","type":"string"},"lastSyncModelPers":{"format":"date-time","type":"string"},"lastSyncPers":{"format":"date-time","type":"string"},"lastSyncPersToCompany":{"format":"date-time","type":"string"},"lastUpdateCompany":{"format":"date-time","type":"string"}},"required":["lastSyncCompany","lastSyncModelPers","lastSyncPers","lastSyncPersToCompany","lastUpdateCompany"]},"OdooSyncDTO":{"type":"object","properties":{"lastSyncCompany":{"type":"string"},"lastSyncModelPers":{"type":"string"},"lastSyncPers":{"type":"string"},"lastSyncPersToCompany":{"type":"string"},"lastUpdateCompany":{"type":"string"}},"required":["lastSyncCompany","lastSyncModelPers","lastSyncPers","lastSyncPersToCompany","lastUpdateCompany"]},"OdooSyncResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"odooSync":{"$ref":"#/components/schemas/OdooSyncDTO"}},"required":["success","odooSync"]},"ListUserItemDTO":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryResponseDTO"},"type":{"type":"array","items":{"type":"string","enum":["Rider","Pro Center Admin","Pro Center Member"]}}},"required":["id","email","name","gender","avatar","phone","mobilePhone","address","zipCode","city","country","type"]},"ListUserDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ListUserItemDTO"}}},"required":["meta","links","items"]},"SwitchToLogUserDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"SwitchToLogDTO":{"type":"object","properties":{"id":{"type":"string"},"fromUser":{"$ref":"#/components/schemas/SwitchToLogUserDTO"},"toUser":{"$ref":"#/components/schemas/SwitchToLogUserDTO"},"reason":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","fromUser","toUser","reason","createdAt"]},"ListSwitchToLogDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SwitchToLogDTO"}}},"required":["meta","links","items"]},"CreateTopicAlertDTO":{"type":"object","properties":{"labelFieldAlert":{"type":"string"},"groupAlertId":{"type":"string"},"numOrder":{"type":"number"}},"required":["labelFieldAlert","groupAlertId","numOrder"]},"UpdateTopicAlertDTO":{"type":"object","properties":{"labelFieldAlert":{"type":"string"},"groupAlertId":{"type":"string"},"numOrder":{"type":"number"}},"required":["labelFieldAlert","groupAlertId","numOrder"]},"UserPostRequestDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"odooUserId":{"type":"string"},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"dateOfBirth":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"countryId":{"type":"string"},"complementaryAddress":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"addressBilling":{"type":"string"},"zipCodeBilling":{"type":"string"},"cityBilling":{"type":"string"},"countryBillingId":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"timezoneId":{"type":"string"},"currencyId":{"type":"string"},"languageId":{"type":"string"},"isReceiveByEmail":{"type":"boolean"},"isReceiveBySMS":{"type":"boolean"},"proCenterRoleId":{"type":"string"}},"required":["email","name","password","gender","odooUserId","avatar","phone","mobilePhone","dateOfBirth","address","zipCode","city","countryId","complementaryAddress","isBillingDistinct","addressBilling","zipCodeBilling","cityBilling","countryBillingId","complementaryAddressBilling","timezoneId","currencyId","languageId","isReceiveByEmail","isReceiveBySMS","proCenterRoleId"]},"UpsertMyPreferencesDTO":{"type":"object","properties":{"optinProCenter":{"type":"boolean","default":false},"platformTechKey":{"type":"string"}},"required":["optinProCenter","platformTechKey"]},"PrefPlatformTechDTO":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"label":{"type":"string"}},"required":["id","key","label"]},"PreferencesDTO":{"type":"object","properties":{"optinProCenter":{"type":"boolean"},"dtOptinProCenter":{"format":"date-time","type":"string"},"platformTech":{"$ref":"#/components/schemas/PrefPlatformTechDTO"}},"required":["optinProCenter","dtOptinProCenter","platformTech"]},"ResponsePreferencesDTO":{"type":"object","properties":{"success":{"type":"boolean"},"preferences":{"$ref":"#/components/schemas/PreferencesDTO"}},"required":["success","preferences"]},"UserPatchIdRequestDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"gender":{"type":"string","enum":["1","2"]},"odooUserId":{"type":"string"},"avatar":{"type":"string"},"phone":{"type":"string"},"mobilePhone":{"type":"string"},"dateOfBirth":{"type":"string"},"address":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"countryId":{"type":"string"},"complementaryAddress":{"type":"string"},"isBillingDistinct":{"type":"boolean"},"addressBilling":{"type":"string"},"zipCodeBilling":{"type":"string"},"cityBilling":{"type":"string"},"countryBillingId":{"type":"string"},"complementaryAddressBilling":{"type":"string"},"timezoneId":{"type":"string"},"languageId":{"type":"string"},"isReceiveByEmail":{"type":"boolean"},"isReceiveBySMS":{"type":"boolean"},"cfmRoleId":{"type":"string"},"mobileRoleId":{"type":"string"},"proCenterRoleId":{"type":"string"}},"required":["email","name","gender","odooUserId","avatar","phone","mobilePhone","dateOfBirth","address","zipCode","city","countryId","complementaryAddress","isBillingDistinct","addressBilling","zipCodeBilling","cityBilling","countryBillingId","complementaryAddressBilling","timezoneId","languageId","isReceiveByEmail","isReceiveBySMS","cfmRoleId","mobileRoleId","proCenterRoleId"]},"UserSubscriptionDTO":{"type":"object","properties":{"id":{"type":"string"},"referenceSubscription":{"type":"string"}},"required":["id","referenceSubscription"]},"VehicleSharingDTO":{"type":"object","properties":{"id":{"type":"string"},"referenceSharingId":{"type":"string"},"guestCodePin":{"type":"string"}},"required":["id","referenceSharingId","guestCodePin"]},"UserVehicleItemDTO":{"type":"object","properties":{"id":{"type":"string"},"tokenVehicleUser":{"type":"string"},"dtLastGenerationToken":{"format":"date-time","type":"string"},"dtExpirationToken":{"format":"date-time","type":"string"},"dtVehicleLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefreshPinBLE":{"format":"date-time","type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"userCodePin":{"type":"string"},"lastUpdated":{"format":"date-time","type":"string"},"source":{"type":"array","items":{"type":"string"}},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"subscription":{"$ref":"#/components/schemas/UserSubscriptionDTO"},"individualVehicleSharing":{"$ref":"#/components/schemas/VehicleSharingDTO"}},"required":["id","tokenVehicleUser","dtLastGenerationToken","dtExpirationToken","dtVehicleLastRefresh","dtUserLastRefresh","dtUserLastRefreshPinBLE","dtBegin","dtEnd","userCodePin","lastUpdated","source","vehicle","subscription","individualVehicleSharing"]},"UserVehicleListDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserVehicleItemDTO"}}},"required":["meta","links","items"]},"CompanyRoleForUserCompanyLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["id","name","description"]},"CompanyForUserCompanyLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"avatar":{"type":"string"}},"required":["id","companyName","avatar"]},"UserCompanyLinkDTO":{"type":"object","properties":{"id":{"type":"string"},"role":{"$ref":"#/components/schemas/CompanyRoleForUserCompanyLinkDTO"},"status":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"company":{"$ref":"#/components/schemas/CompanyForUserCompanyLinkDTO"}},"required":["id","role","status","dtStatus","company"]},"UserCompanyLinkListDTO":{"type":"object","properties":{"success":{"type":"boolean"},"userCompanies":{"type":"array","items":{"$ref":"#/components/schemas/UserCompanyLinkDTO"}}},"required":["success","userCompanies"]},"ListVehicleBrandDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehicleBrandDTO"}}},"required":["meta","links","items"]},"VehicleBrandResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicleBrand":{"$ref":"#/components/schemas/VehicleBrandDTO"}},"required":["success","vehicleBrand"]},"CreateVehicleBrandDTO":{"type":"object","properties":{"avatar":{"type":"string"},"name":{"type":"string"}},"required":["avatar","name"]},"UpdateVehicleBrandDTO":{"type":"object","properties":{"avatar":{"type":"string"},"name":{"type":"string"}}},"CreateVehicleElectKeyDTO":{"type":"object","properties":{"electronicKeyId":{"type":"string"},"vehicleId":{"type":"string"},"dtBegin":{"type":"string"},"dtEnd":{"type":"string"},"isCurrent":{"type":"boolean"},"status":{"type":"string","enum":["1","2","3"]}},"required":["electronicKeyId","vehicleId","dtBegin","dtEnd","isCurrent","status"]},"ElectronicKeyForVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialElectronicKeyNumber":{"type":"string"},"idOdooElectronicKey":{"type":"string"}},"required":["id","nuSerialElectronicKeyNumber","idOdooElectronicKey"]},"VehicleElectKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"electronicKey":{"$ref":"#/components/schemas/ElectronicKeyForVehicleDTO"},"vehicleId":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"isCurrent":{"type":"boolean"},"status":{"type":"string","enum":["1","2","3"]},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","electronicKey","vehicleId","dtBegin","dtEnd","isCurrent","status","createdAt","updatedAt"]},"VehicleElectKeyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicleElectronicKey":{"$ref":"#/components/schemas/VehicleElectKeyDTO"}},"required":["success","vehicleElectronicKey"]},"UpdateVehicleElectKeyDTO":{"type":"object","properties":{"electronicKeyId":{"type":"string"},"dtBegin":{"type":"string"},"dtEnd":{"type":"string"},"isCurrent":{"type":"boolean"},"status":{"type":"string","enum":["1","2","3"]}},"required":["electronicKeyId","dtBegin","dtEnd","isCurrent","status"]},"ListVehicleElectKeyDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehicleElectKeyDTO"}}},"required":["meta","links","items"]},"ForceUpdateCheckInStatusDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"statusCheckIn":{"type":"number"}},"required":["individualVehicleSharingId","statusCheckIn"]},"ForceUpdateCheckOutStatusDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"statusCheckOut":{"type":"number"}},"required":["individualVehicleSharingId","statusCheckOut"]},"IndividualSharingExtensionDTO":{"type":"object","properties":{"id":{"type":"string"},"extensionNumber":{"type":"number"},"dtBegin":{"type":"string"},"dtEnd":{"type":"string"},"isFreeOfCharge":{"type":"boolean"},"pricingPeriodType":{"type":"string","enum":["DAY",1]},"unitPriceTTC":{"type":"number"},"kmIncluded":{"type":"number"},"unitPriceTTCExtraKM":{"type":"number"},"platformPercentCost":{"type":"number"},"nbPricingPeriod":{"type":"number"},"totalPlatformCostAmountTTC":{"type":"number"},"totalIntermediateAmountTTC":{"type":"number"},"totalAmountTTC":{"type":"number"},"kmDone":{"type":"number"},"status":{"type":"string","enum":["PROPOSED_BY_MAIN_PILOT","PROPOSAL_ACCEPTED_BY_GUEST","PROPOSAL_CANCELED_BY_MAIN_PILOT","PROPOSAL_DECLINED_BY_GUEST","ACCEPTATION_CANCELED_BY_MAIN_PILOT","ACCEPTATION_CANCELED_BY_GUEST","PROPOSAL_EXPIRED",2,4,9,10,11,12,15]},"dtStatus":{"type":"string"},"statusReason":{"type":"string"},"dtAccept":{"type":"string"},"dtCancel":{"type":"string"}},"required":["id","extensionNumber","dtBegin","dtEnd","isFreeOfCharge","pricingPeriodType","unitPriceTTC","kmIncluded","unitPriceTTCExtraKM","platformPercentCost","nbPricingPeriod","totalPlatformCostAmountTTC","totalIntermediateAmountTTC","totalAmountTTC","kmDone","status","dtStatus","statusReason","dtAccept","dtCancel"]},"VehicleSharingCommentDTO":{"type":"object","properties":{"id":{"type":"string"},"commentTypeId":{"type":"string","enum":["SYSTEM_NOTE","MANUAL_NOTE",1,2]},"comment":{"type":"string"},"userId":{"type":"string"},"dtComment":{"type":"string"},"avatar":{"type":"string"},"userInfo":{"$ref":"#/components/schemas/BaseUserDTO"},"objectType":{"type":"string","enum":["SHARING","EXTENSION","CHECK_IN","CHECKOUT",1,2,3,4]},"objectStatus":{"type":"object"}},"required":["id","commentTypeId","comment","userId","dtComment","avatar","userInfo","objectType","objectStatus"]},"SharingInfoDTO":{"type":"object","properties":{"url":{"type":"string"},"dtExpiration":{"type":"string"}},"required":["url","dtExpiration"]},"IndividualVehicleSharingDTO":{"type":"object","properties":{"id":{"type":"string"},"sharingType":{"type":"string","enum":["TEMPORAL_SHARING","PERMANENT_SHARING","UNIQUE_SHARING",1,2,3]},"sharingMethod":{"type":"string","enum":["COMPLETE","SIMPLE"]},"globalDTBegin":{"type":"string"},"globalDTEnd":{"type":"string"},"globalDTBeginApproved":{"type":"string"},"globalDTEndApproved":{"type":"string"},"globalNBHours":{"type":"number"},"keyName":{"type":"string"},"guestPhoneNumber":{"type":"string"},"shortCodeCurrency":{"type":"string"},"longCodeCurrency":{"type":"string"},"status":{"type":"string","enum":["USAGE_NOT_AVAILABLE","USAGE_ACCEPTED_AND_IN_PROGRESS","USAGE_CLOSED",1,2,3]},"vehicleId":{"type":"string"},"userId":{"type":"string"},"emailBeneficiary":{"type":"string"},"userBeneficiaryId":{"type":"string","nullable":true},"referenceSharingId":{"type":"string"},"guestCodePin":{"type":"string"},"timezoneReference":{"type":"string"},"canBeContactedBySMS":{"type":"boolean"},"globalNBDays":{"type":"number"},"globalAmountTTC":{"type":"number"},"currencyId":{"type":"string"},"messageFromSharer":{"type":"string"},"notificationToSharer":{"type":"boolean"},"dtActivationCheckIn":{"type":"string"},"statusCheckIn":{"type":"string","enum":["CHECKIN_NOT_AVAILABLE","CHECKIN_AVAILABLE","CHECKIN_ACTIVATED_BY_MAIN_PILOT","CHECKIN_ACCEPTED_BY_GUEST","CHECKIN_DECLINED_BY_MAIN_PILOT","CHECKIN_DECLINED_BY_GUEST","CHECKIN_EXPIRED",0,1,2,4,5,6,7]},"dtStatusCheckIn":{"type":"string"},"reasonStatusCheckIn":{"type":"string"},"statusCheckOut":{"type":"string","enum":["CHECKOUT_NOT_AVAILABLE","CHECKOUT_AVAILABLE","CHECKOUT_EXCEEDED","CHECKOUT_ACCEPTED_BY_GUEST","CHECKOUT_ACCEPTED_BY_MAIN_PILOT","CHECKOUT_FORCED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_GUEST",0,1,2,4,5,6,7,8]},"dtStatusCheckOut":{"type":"string"},"reasonStatusCheckOut":{"type":"string"},"dtStatus":{"type":"string"},"statusReason":{"type":"string"},"createdAt":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"user":{"$ref":"#/components/schemas/BaseUserDTO"},"userBeneficiary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BaseUserDTO"}]},"extensions":{"type":"array","items":{"$ref":"#/components/schemas/IndividualSharingExtensionDTO"}},"comments":{"type":"array","items":{"$ref":"#/components/schemas/VehicleSharingCommentDTO"}},"sharingInfo":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SharingInfoDTO"}]}},"required":["id","sharingType","sharingMethod","globalDTBegin","globalDTEnd","globalDTBeginApproved","globalDTEndApproved","globalNBHours","keyName","guestPhoneNumber","shortCodeCurrency","longCodeCurrency","status","vehicleId","userId","emailBeneficiary","userBeneficiaryId","referenceSharingId","guestCodePin","timezoneReference","canBeContactedBySMS","globalNBDays","globalAmountTTC","currencyId","messageFromSharer","notificationToSharer","dtActivationCheckIn","statusCheckIn","dtStatusCheckIn","reasonStatusCheckIn","statusCheckOut","dtStatusCheckOut","reasonStatusCheckOut","dtStatus","statusReason","createdAt","vehicle","user","userBeneficiary","extensions","comments","sharingInfo"]},"GetListIndividualSharingDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"}}},"required":["meta","links","items"]},"IndividualSharingResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"individualVehicleSharing":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"}},"required":["success","individualVehicleSharing"]},"UpdateStatusIndividualVehicleSharingDTO":{"type":"object","properties":{"status":{"type":"string","enum":["PROPOSED_BY_MAIN_PILOT","PROPOSAL_ACCEPTED_BY_GUEST","PROPOSAL_CANCELED_BY_MAIN_PILOT","PROPOSAL_DECLINED_BY_GUEST","ACCEPTATION_CANCELED_BY_MAIN_PILOT","ACCEPTATION_CANCELED_BY_GUEST","PROPOSAL_EXPIRED",2,4,9,10,11,12,15]}},"required":["status"]},"VehicleTypeResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"VehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"}},"required":["success","VehicleType"]},"CreateVehicleTypeDTO":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]},"UpdateVehicleTypeDTO":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]},"VehicleUserPostRequestDTO":{"type":"object","properties":{"vehicleId":{"type":"string"},"userId":{"type":"string"},"dtBegin":{"type":"string"},"dtEnd":{"type":"string"}},"required":["vehicleId","userId","dtBegin","dtEnd"]},"SubscriptionVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"vehicleId":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["coming","delivery_in_progress","in_progress","returned"]},"dtPrevisionalDelivery":{"format":"date-time","type":"string"},"deliveryComment":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"isLinkedToVehicleSharing":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","subscriptionId","vehicleId","dtBegin","dtEnd","status","dtPrevisionalDelivery","deliveryComment","dtStatus","statusReason","isLinkedToVehicleSharing","vehicle","updatedAt","createdAt"]},"SubscriptionElectronicKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"electronicKeyId":{"type":"string"},"isCurrent":{"type":"boolean"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"electronicKey":{"type":"object"},"status":{"type":"string","enum":["coming","in_progress","returned"]},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","subscriptionId","electronicKeyId","isCurrent","dtBegin","dtEnd","dtStatus","statusReason","electronicKey","status","updatedAt","createdAt"]},"SubscriptionDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionType":{"type":"string","enum":["company","individual"]},"dtBeginPeriod":{"format":"date-time","type":"string"},"dtEndPeriod":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"]},"companySubscriberId":{"type":"string"},"userSubscriberId":{"type":"string"},"subscriptionOdooId":{"type":"string"},"referenceSubscription":{"type":"string"},"isPreOrder":{"type":"boolean"},"dtExpectedDelivery":{"format":"date-time","type":"string"},"dtPreVisionalDelivery":{"format":"date-time","type":"string"},"companyChildrenId":{"type":"string"},"deliveryComment":{"type":"string"},"nbElectronicKeys":{"type":"string"},"subscriptionPeriodId":{"type":"string"},"unitAmountHT":{"type":"string"},"kmIncluded":{"type":"string"},"vehicleModelId":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"dtCreatedOn":{"format":"date-time","type":"string"},"timezone":{"$ref":"#/components/schemas/TimezoneResponseDTO"},"company":{"$ref":"#/components/schemas/CompanyDTO"},"userApp":{"$ref":"#/components/schemas/UserDTO"},"userCompany":{"$ref":"#/components/schemas/UserCompanyDTO"},"subscriptionVehicle":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionVehicleDTO"}},"subscriptionElectronicKey":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionElectronicKeyDTO"}},"dtLastUpdatedOn":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","subscriptionType","dtBeginPeriod","dtEndPeriod","status","companySubscriberId","userSubscriberId","subscriptionOdooId","referenceSubscription","isPreOrder","dtExpectedDelivery","dtPreVisionalDelivery","companyChildrenId","deliveryComment","nbElectronicKeys","subscriptionPeriodId","unitAmountHT","kmIncluded","vehicleModelId","vehicleType","dtStatus","statusReason","dtCreatedOn","timezone","company","userApp","userCompany","subscriptionVehicle","subscriptionElectronicKey","dtLastUpdatedOn","updatedAt","createdAt"]},"VehicleUserDTO":{"type":"object","properties":{"id":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"subscription":{"$ref":"#/components/schemas/SubscriptionDTO"},"individualVehicleSharing":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"},"user":{"$ref":"#/components/schemas/BaseUserDTO"},"companyMemberId":{"type":"string"},"userCompany":{"$ref":"#/components/schemas/UserCompanyDTO"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"userCodePin":{"type":"string"},"dtLastGenerationToken":{"format":"date-time","type":"string"},"dtExpirationToken":{"format":"date-time","type":"string"},"dtVehicleLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefresh":{"format":"date-time","type":"string"},"dtUserLastRefreshPinBLE":{"format":"date-time","type":"string"},"tokenVehicleUser":{"type":"string"},"source":{"type":"array","items":{"type":"string"}},"dtLastUpdate":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","vehicle","subscription","individualVehicleSharing","user","companyMemberId","userCompany","dtBegin","dtEnd","userCodePin","dtLastGenerationToken","dtExpirationToken","dtVehicleLastRefresh","dtUserLastRefresh","dtUserLastRefreshPinBLE","tokenVehicleUser","source","dtLastUpdate","updatedAt","createdAt"]},"VehicleUserResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicleUser":{"$ref":"#/components/schemas/VehicleUserDTO"}},"required":["success","vehicleUser"]},"VehicleUserPatchIdRequestDTO":{"type":"object","properties":{"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"}},"required":["dtBegin","dtEnd"]},"ListVehicleUserDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehicleUserDTO"}}},"required":["meta","links","items"]},"CreateVehicleModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"odooModelId":{"type":"string"},"brandId":{"type":"string"},"model":{"type":"string"},"serie":{"type":"string"},"sku":{"type":"string"},"vintageYear":{"type":"string"},"size":{"type":"string"},"color":{"type":"string"},"inches":{"type":"string"},"avatar":{"type":"string"},"picture":{"type":"string"},"metaData":{"$ref":"#/components/schemas/VehicleModelMetaDTO"}},"required":["vehicleTypeId","odooModelId","brandId","model","serie","sku","vintageYear","size","color","inches","avatar","picture","metaData"]},"UpdateVehicleModelDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"odooModelId":{"type":"string"},"brandId":{"type":"string"},"model":{"type":"string"},"serie":{"type":"string"},"sku":{"type":"string"},"vintageYear":{"type":"string"},"size":{"type":"string"},"color":{"type":"string"},"inches":{"type":"string"},"avatar":{"type":"string"},"picture":{"type":"string"},"metaData":{"$ref":"#/components/schemas/VehicleModelMetaDTO"}},"required":["vehicleTypeId","odooModelId","brandId","model","serie","sku","vintageYear","size","color","inches","avatar","picture","metaData"]},"VehiclePostRequestDTO":{"type":"object","properties":{"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleTypeId":{"type":"string"},"vehicleModelId":{"type":"string"},"brandId":{"type":"string"}},"required":["serialNumber","registrationNumber","odooVehicleId","avatar","vehicleTypeId","vehicleModelId","brandId"]},"VehiclePostResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/VehicleDTO"}},"required":["success","vehicle"]},"VehiclePatchIdRequestDTO":{"type":"object","properties":{"serialNumber":{"type":"string"},"nameBLE":{"type":"string"},"registrationNumber":{"type":"string"},"keyPubComVehicle":{"type":"string"},"keyPubSignVehicle":{"type":"string"},"avatar":{"type":"string"},"vehicleTypeId":{"type":"string"},"odooVehicleId":{"type":"string"},"vehicleModelId":{"type":"string"},"brandId":{"type":"string"}},"required":["serialNumber","nameBLE","registrationNumber","keyPubComVehicle","keyPubSignVehicle","avatar","vehicleTypeId","odooVehicleId","vehicleModelId","brandId"]},"VehiclePatchIdResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/VehicleDTO"}},"required":["success","vehicle"]},"VehicleGetIdResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicle":{"$ref":"#/components/schemas/VehicleDTO"}},"required":["success","vehicle"]},"GetListVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"pers":{"$ref":"#/components/schemas/PersDTO"}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel","pers"]},"VehicleGetResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GetListVehicleDTO"}}},"required":["meta","links","items"]},"InsertOrRemovePERSToVehicleDTO":{"type":"object","properties":{"persId":{"type":"string"},"vehicleId":{"type":"string"}},"required":["persId","vehicleId"]},"AddUserDirectVehicleDTO":{"type":"object","properties":{"persSerialNumber":{"type":"string"},"timezoneReferenceId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["persSerialNumber","timezoneReferenceId","interfaceLanguage","deviceType"]},"ResponseDirectVehicleDTO":{"type":"object","properties":{"success":{"type":"boolean"},"directVehicle":{"$ref":"#/components/schemas/DirectVehicleDTO"}},"required":["success","directVehicle"]},"ActivateCheckInSharerDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"CheckInSharerDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"dtActivationCheckIn":{"format":"date-time","type":"string"},"dtStatusCheckIn":{"format":"date-time","type":"string"},"statusCheckIn":{"type":"number","enum":[0,1,2,4,5,6,7]},"IndividualVehicleSharingExtensionStatus":{"type":"string"},"IndividualVehicleSharingExtensionDtStatus":{"format":"date-time","type":"string"}},"required":["individualVehicleSharingId","dtActivationCheckIn","dtStatusCheckIn","statusCheckIn","IndividualVehicleSharingExtensionStatus","IndividualVehicleSharingExtensionDtStatus"]},"ResponseCheckInSharerDTO":{"type":"object","properties":{"success":{"type":"boolean"},"checkInSharer":{"$ref":"#/components/schemas/CheckInSharerDTO"}},"required":["success","checkInSharer"]},"StartCheckinBeneficiaryDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"DeclineCheckInByMainPilotDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"DeclineCheckInByGuestDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"ConfirmCheckoutBeneficiaryDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"CheckOutSharerDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"dtStatusCheckOut":{"format":"date-time","type":"string"},"statusCheckOut":{"type":"number","enum":[0,1,2,4,5,6,7]},"IndividualVehicleSharingExtensionStatus":{"type":"string"},"IndividualVehicleSharingExtensionDtStatus":{"format":"date-time","type":"string"}},"required":["individualVehicleSharingId","dtStatusCheckOut","statusCheckOut","IndividualVehicleSharingExtensionStatus","IndividualVehicleSharingExtensionDtStatus"]},"ResponseActivateCheckOutSharerDTO":{"type":"object","properties":{"success":{"type":"boolean"},"checkOutSharer":{"$ref":"#/components/schemas/CheckOutSharerDTO"}},"required":["success","checkOutSharer"]},"ConfirmCheckoutSharerDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"DeclineCheckoutBeneficiaryDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"ForceCheckOutByMainPilotDTO":{"type":"object","properties":{"individualVehicleSharingId":{"type":"string"},"interfaceLanguage":{"type":"string"},"deviceType":{"type":"string"}},"required":["individualVehicleSharingId","interfaceLanguage","deviceType"]},"CreateIndividualVehicleSharingExtensionDTO":{"type":"object","properties":{"vehicleTypeId":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"isFreeOfCharge":{"type":"boolean"},"pricingPeriodType":{"type":"string","enum":["DAY",1],"default":1},"unitPriceTTC":{"type":"number"},"kmIncluded":{"type":"number"},"unitPriceTTCExtraKM":{"type":"number"},"platformPercentCost":{"type":"number"},"nbPricingPeriod":{"type":"number"},"totalPlatformCostAmountTTC":{"type":"number"},"totalIntermediateAmountTTC":{"type":"number"},"totalAmountTTC":{"type":"number"},"notificationToSharer":{"type":"boolean"},"kmDone":{"type":"number"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"status":{"type":"string","enum":["PROPOSED_BY_MAIN_PILOT","PROPOSAL_ACCEPTED_BY_GUEST","PROPOSAL_CANCELED_BY_MAIN_PILOT","PROPOSAL_DECLINED_BY_GUEST","ACCEPTATION_CANCELED_BY_MAIN_PILOT","ACCEPTATION_CANCELED_BY_GUEST","PROPOSAL_EXPIRED",2,4,9,10,11,12,15]}},"required":["vehicleTypeId","dtBegin","dtEnd","isFreeOfCharge","pricingPeriodType","unitPriceTTC","kmIncluded","unitPriceTTCExtraKM","platformPercentCost","nbPricingPeriod","totalPlatformCostAmountTTC","totalIntermediateAmountTTC","totalAmountTTC","notificationToSharer","kmDone","dtStatus","statusReason","status"]},"CreateIndividualVehicleSharingDTO":{"type":"object","properties":{"userId":{"type":"string"},"vehicleId":{"type":"string"},"vehicleUserId":{"type":"string"},"emailBeneficiary":{"type":"string"},"keyName":{"type":"string"},"guestPhoneNumber":{"type":"string"},"sharingType":{"type":"string","enum":["TEMPORAL_SHARING","PERMANENT_SHARING","UNIQUE_SHARING",1,2,3]},"globalDTBegin":{"type":"string"},"globalDTEnd":{"type":"string"},"globalNBHours":{"type":"number"},"globalAmountTTC":{"type":"number"},"canBeContactedBySMS":{"type":"boolean"},"currencyId":{"type":"string"},"messageFromSharer":{"type":"string"},"notificationToSharer":{"type":"boolean"},"extension":{"$ref":"#/components/schemas/CreateIndividualVehicleSharingExtensionDTO"}},"required":["userId","vehicleId","vehicleUserId","emailBeneficiary","keyName","guestPhoneNumber","sharingType","globalDTBegin","globalDTEnd","globalNBHours","globalAmountTTC","canBeContactedBySMS","currencyId","messageFromSharer","notificationToSharer","extension"]},"GetIndividualSharingByBeneficiaryDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"}}},"required":["meta","links","items"]},"UpdateIndividualVehicleSharingDTO":{"type":"object","properties":{"dtBegin":{"type":"string"},"dtEnd":{"type":"string"},"messageFromSharer":{"type":"string"},"notificationToSharer":{"type":"boolean"},"keyName":{"type":"string"},"guestPhoneNumber":{"type":"string"}},"required":["dtBegin","dtEnd","messageFromSharer","notificationToSharer","keyName","guestPhoneNumber"]},"AddKeyBeneficiaryIndividualVehicleSharingDTO":{"type":"object","properties":{"guestCodePin":{"type":"string"}},"required":["guestCodePin"]},"GetUnavailableDateDTO":{"type":"object","properties":{"unavailableBeginDate":{"type":"array","items":{"type":"array"}},"unavailableEndDate":{"type":"array","items":{"type":"array"}},"minUnavailableBeginDate":{"format":"date-time","type":"string"},"sourceSharingDate":{"type":"array","items":{"type":"array"}}},"required":["unavailableBeginDate","unavailableEndDate","minUnavailableBeginDate","sourceSharingDate"]},"GetUnavailableDateResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"calendar":{"$ref":"#/components/schemas/GetUnavailableDateDTO"}},"required":["success","calendar"]},"HeaderVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"}}},"PeriodDTO":{"type":"object","properties":{"week":{"type":"array","items":{"$ref":"#/components/schemas/HeaderVehicleDTO"}},"month":{"type":"array","items":{"$ref":"#/components/schemas/HeaderVehicleDTO"}},"year":{"type":"array","items":{"$ref":"#/components/schemas/HeaderVehicleDTO"}},"global":{"type":"array","items":{"$ref":"#/components/schemas/HeaderVehicleDTO"}}}},"GetVehicleFromTripResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicles":{"$ref":"#/components/schemas/PeriodDTO"}},"required":["success"]},"EnergyContributionDTO":{"type":"object","properties":{"riderInput":{"type":"number"},"vehicleInput":{"type":"number"}}},"TripStatisticsDTO":{"type":"object","properties":{"totalDistanceTravelled":{"type":"number"},"averageDistanceOnTrip":{"type":"number"},"totalRidingDuration":{"type":"number"},"totalPedalingDuration":{"type":"number"},"numberOfRides":{"type":"number"},"preferredComfortLevel":{"type":"number"},"preferredPowerLevel":{"type":"number"},"averagePedalingPower":{"type":"number"},"averageEnergyContribution":{"$ref":"#/components/schemas/EnergyContributionDTO"},"averageSpeed":{"type":"number"},"totalEnergyFromRegen":{"type":"number"},"averageRechargedByRegenOnTrip":{"type":"number"},"averageCadence":{"type":"number"}}},"TripStatisticsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"tripStatistics":{"$ref":"#/components/schemas/TripStatisticsDTO"}},"required":["success"]},"BaseTimezoneDTO":{"type":"object","properties":{"id":{"type":"string"},"tzCode":{"type":"string"}},"required":["id","tzCode"]},"PersForVehicleUserDTO":{"type":"object","properties":{"id":{"type":"string"},"nameBLE":{"type":"string"},"pinBLE":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/ModelPERSDTO"},"softwarePERSId":{"type":"string"},"currentFirmwareVersion":{"type":"string"}},"required":["id","nameBLE","pinBLE","nuSerialPersNumber","modelPERS","softwarePERSId","currentFirmwareVersion"]},"ResponseVehicleForVehicleUserDTO":{"type":"object","properties":{"id":{"type":"string"},"nameVehicle":{"type":"string"},"serialNumber":{"type":"string"},"registrationNumber":{"type":"string"},"odooVehicleId":{"type":"string"},"avatar":{"type":"string"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDTO"},"brand":{"$ref":"#/components/schemas/VehicleBrandDTO"},"vehicleModel":{"$ref":"#/components/schemas/BaseVehicleModelDTO"},"pers":{"$ref":"#/components/schemas/PersForVehicleUserDTO"},"vehiclePERSHistory":{"type":"array","items":{"$ref":"#/components/schemas/VehiclePERSHistoryDTO"}},"status":{"type":"string","enum":["active","inactive","deleted"]}},"required":["id","nameVehicle","serialNumber","registrationNumber","odooVehicleId","avatar","vehicleType","brand","vehicleModel","pers","vehiclePERSHistory","status"]},"BaseSubscriptionVehicleDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"vehicleId":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["coming","delivery_in_progress","in_progress","returned"]}},"required":["id","subscriptionId","vehicleId","dtBegin","dtEnd","status"]},"BaseSubscriptionDTO":{"type":"object","properties":{"id":{"type":"string"},"subscriptionType":{"type":"string","enum":["company","individual"]},"dtBeginPeriod":{"format":"date-time","type":"string"},"dtEndPeriod":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"]}},"required":["id","subscriptionType","dtBeginPeriod","dtEndPeriod","status"]},"UserGetPersCurrentStatusDTO":{"type":"object","properties":{"lockStatus":{"type":"boolean"},"geolocStatus":{"type":"boolean"},"batterySOC":{"type":"number"},"batterySOH":{"type":"number"},"batteryVoltage":{"type":"number"},"batteryChargingStatus":{"type":"boolean"},"batteryGridStatus":{"type":"boolean"},"rangeEstimation":{"type":"number"},"timeBeforeFullCharge":{"type":"number"},"batteryEffCapa":{"type":"number"},"vehicleTotalKm":{"type":"number"},"vehicleTotalOperationTime":{"type":"number"},"latitude":{"type":"number"},"longitude":{"type":"number"},"altitude":{"type":"number"},"nbSatellites":{"type":"number"},"addressLocation":{"type":"string"}},"required":["lockStatus","geolocStatus","batterySOC","batterySOH","batteryVoltage","batteryChargingStatus","batteryGridStatus","rangeEstimation","timeBeforeFullCharge","batteryEffCapa","vehicleTotalKm","vehicleTotalOperationTime","latitude","longitude","altitude","nbSatellites","addressLocation"]},"DirectVehicleAdditionalPilot":{"type":"object","properties":{}},"IncomingOrInProgressIndividualSharingExtensionDTO":{"type":"object","properties":{"dtBegin":{"type":"string","format":"date-time"},"dtEnd":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["PROPOSED_BY_MAIN_PILOT","PROPOSAL_ACCEPTED_BY_GUEST","PROPOSAL_CANCELED_BY_MAIN_PILOT","PROPOSAL_DECLINED_BY_GUEST","ACCEPTATION_CANCELED_BY_MAIN_PILOT","ACCEPTATION_CANCELED_BY_GUEST","PROPOSAL_EXPIRED",2,4,9,10,11,12,15]},"dtStatus":{"type":"string","format":"date-time"}},"required":["dtBegin","dtEnd","status","dtStatus"]},"IncomingOrInProgressIndividualSharingDTO":{"type":"object","properties":{"id":{"type":"string"},"sharingType":{"type":"string","enum":["TEMPORAL_SHARING","PERMANENT_SHARING","UNIQUE_SHARING",1,2,3]},"sharingMethod":{"type":"string","enum":["COMPLETE","SIMPLE"]},"globalDTBegin":{"type":"string","format":"date-time"},"globalDTEnd":{"type":"string","format":"date-time"},"globalNBHours":{"type":"number"},"userBeneficiaryId":{"type":"string","nullable":true},"dtActivationCheckIn":{"type":"string","format":"date-time"},"statusCheckIn":{"type":"string","enum":["CHECKIN_NOT_AVAILABLE","CHECKIN_AVAILABLE","CHECKIN_ACTIVATED_BY_MAIN_PILOT","CHECKIN_ACCEPTED_BY_GUEST","CHECKIN_DECLINED_BY_MAIN_PILOT","CHECKIN_DECLINED_BY_GUEST","CHECKIN_EXPIRED",0,1,2,4,5,6,7]},"dtStatusCheckIn":{"type":"string","format":"date-time"},"reasonStatusCheckIn":{"type":"string"},"statusCheckOut":{"type":"string","enum":["CHECKOUT_NOT_AVAILABLE","CHECKOUT_AVAILABLE","CHECKOUT_EXCEEDED","CHECKOUT_ACCEPTED_BY_GUEST","CHECKOUT_ACCEPTED_BY_MAIN_PILOT","CHECKOUT_FORCED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_GUEST",0,1,2,4,5,6,7,8]},"dtStatusCheckOut":{"type":"string","format":"date-time"},"reasonStatusCheckOut":{"type":"string"},"status":{"type":"string","enum":["USAGE_NOT_AVAILABLE","USAGE_ACCEPTED_AND_IN_PROGRESS","USAGE_CLOSED",1,2,3]},"dtStatus":{"type":"string","format":"date-time"},"statusReason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"extensions":{"type":"array","items":{"$ref":"#/components/schemas/IncomingOrInProgressIndividualSharingExtensionDTO"}}},"required":["id","sharingType","sharingMethod","globalDTBegin","globalDTEnd","globalNBHours","userBeneficiaryId","dtActivationCheckIn","statusCheckIn","dtStatusCheckIn","reasonStatusCheckIn","statusCheckOut","dtStatusCheckOut","reasonStatusCheckOut","status","dtStatus","statusReason","createdAt","extensions"]},"VehiclesUserByUserIdDTO":{"type":"object","properties":{"idVehicleUser":{"type":"string"},"nameBLEPers":{"type":"string"},"registrationNumber":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"dtBegin":{"type":"string","format":"date-time"},"dtEnd":{"type":"string","format":"date-time"},"source":{"type":"array","items":{"type":"string"}},"mainPilotRemainingKeys":{"type":"number"},"timezone":{"$ref":"#/components/schemas/BaseTimezoneDTO"},"vehicle":{"$ref":"#/components/schemas/ResponseVehicleForVehicleUserDTO"},"subscriptionVehicle":{"$ref":"#/components/schemas/BaseSubscriptionVehicleDTO"},"subscription":{"$ref":"#/components/schemas/BaseSubscriptionDTO"},"individualVehicleSharing":{"$ref":"#/components/schemas/IndividualVehicleSharingDTO"},"persCurrentStatus":{"$ref":"#/components/schemas/UserGetPersCurrentStatusDTO"},"directVehicle":{"$ref":"#/components/schemas/DirectVehicleDTO"},"directVehicleAdditionalPilot":{"$ref":"#/components/schemas/DirectVehicleAdditionalPilot"},"inProgressIndividualSharing":{"$ref":"#/components/schemas/IncomingOrInProgressIndividualSharingDTO"},"incomingIndividualSharing":{"$ref":"#/components/schemas/IncomingOrInProgressIndividualSharingDTO"},"persAlerts":{"type":"array","items":{"$ref":"#/components/schemas/PersAlertTopicAlertDTO"}},"userCodePin":{"type":"string"}},"required":["idVehicleUser","nameBLEPers","registrationNumber","nuSerialPersNumber","dtBegin","dtEnd","source","mainPilotRemainingKeys","timezone","vehicle","subscriptionVehicle","subscription","individualVehicleSharing","persCurrentStatus","directVehicle","directVehicleAdditionalPilot","inProgressIndividualSharing","incomingIndividualSharing","persAlerts","userCodePin"]},"GetListVehiclesUserByUserIdDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VehiclesUserByUserIdDTO"}}},"required":["meta","links","items"]},"PersCurrentStatusForMyRegisteredVehicleDTO":{"type":"object","properties":{"geolocStatus":{"type":"boolean"}},"required":["geolocStatus"]},"PersForMyRegisteredVehicleDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"currentFirmwareVersion":{"type":"string"},"persCurrentStatus":{"$ref":"#/components/schemas/PersCurrentStatusForMyRegisteredVehicleDTO"}},"required":["nuSerialPersNumber","currentFirmwareVersion","persCurrentStatus"]},"VehicleModelForMyRegisteredVehicleDTO":{"type":"object","properties":{"nameVehicleModel":{"type":"string"},"avatar":{"type":"string"},"picture":{"type":"string"}},"required":["nameVehicleModel","avatar","picture"]},"BrandForMyRegisteredVehicleDTO":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"VehicleForMyRegisteredVehicleDTO":{"type":"object","properties":{"avatar":{"type":"string"},"pers":{"$ref":"#/components/schemas/PersForMyRegisteredVehicleDTO"},"vehicleModel":{"$ref":"#/components/schemas/VehicleModelForMyRegisteredVehicleDTO"},"brand":{"$ref":"#/components/schemas/BrandForMyRegisteredVehicleDTO"}},"required":["avatar","pers","vehicleModel","brand"]},"MyRegisteredVehicleDTO":{"type":"object","properties":{"idVehicleUser":{"type":"string"},"dtBegin":{"type":"string"},"dtEnd":{"type":"string"},"dtUserLastRefresh":{"format":"date-time","type":"string"},"dtVehicleLastRefresh":{"format":"date-time","type":"string"},"vehicle":{"$ref":"#/components/schemas/VehicleForMyRegisteredVehicleDTO"}},"required":["idVehicleUser","dtBegin","dtEnd","dtUserLastRefresh","dtVehicleLastRefresh","vehicle"]},"GetListMyRegisteredVehicleDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/MyRegisteredVehicleDTO"}}},"required":["meta","links","items"]},"GetVehiclesUserByUserIdDTO":{"type":"object","properties":{"success":{"type":"boolean"},"vehicleUser":{"$ref":"#/components/schemas/VehiclesUserByUserIdDTO"}},"required":["success","vehicleUser"]},"KeyChainMainPilotIndividualVehicle":{"type":"object","properties":{"id":{"type":"string"},"sharingType":{"type":"string","enum":["TEMPORAL_SHARING","PERMANENT_SHARING","UNIQUE_SHARING",1,2,3]},"sharingMethod":{"type":"string","enum":["COMPLETE","SIMPLE"]},"globalDTBegin":{"type":"string"},"globalDTEnd":{"type":"string"},"globalDTBeginApproved":{"type":"string"},"globalDTEndApproved":{"type":"string"},"globalNBHours":{"type":"number"},"keyName":{"type":"string"},"guestPhoneNumber":{"type":"string"},"shortCodeCurrency":{"type":"string"},"longCodeCurrency":{"type":"string"},"status":{"type":"string","enum":["USAGE_NOT_AVAILABLE","USAGE_ACCEPTED_AND_IN_PROGRESS","USAGE_CLOSED",1,2,3]},"vehicleId":{"type":"string"},"userId":{"type":"string"},"referenceSharingId":{"type":"string"},"guestCodePin":{"type":"string"},"timezoneReference":{"type":"string"},"canBeContactedBySMS":{"type":"boolean"},"globalNBDays":{"type":"number"},"globalAmountTTC":{"type":"number"},"currencyId":{"type":"string"},"userBeneficiaryId":{"type":"string","nullable":true},"emailBeneficiary":{"type":"string"},"dtActivationCheckIn":{"type":"string"},"statusCheckIn":{"type":"string","enum":["CHECKIN_NOT_AVAILABLE","CHECKIN_AVAILABLE","CHECKIN_ACTIVATED_BY_MAIN_PILOT","CHECKIN_ACCEPTED_BY_GUEST","CHECKIN_DECLINED_BY_MAIN_PILOT","CHECKIN_DECLINED_BY_GUEST","CHECKIN_EXPIRED",0,1,2,4,5,6,7]},"dtStatusCheckIn":{"type":"string"},"reasonStatusCheckIn":{"type":"string"},"statusCheckOut":{"type":"string","enum":["CHECKOUT_NOT_AVAILABLE","CHECKOUT_AVAILABLE","CHECKOUT_EXCEEDED","CHECKOUT_ACCEPTED_BY_GUEST","CHECKOUT_ACCEPTED_BY_MAIN_PILOT","CHECKOUT_FORCED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_MAIN_PILOT","CHECKOUT_DECLINED_BY_GUEST",0,1,2,4,5,6,7,8]},"dtStatusCheckOut":{"type":"string"},"reasonStatusCheckOut":{"type":"string"},"dtStatus":{"type":"string"},"statusReason":{"type":"string"},"extensions":{"$ref":"#/components/schemas/IndividualSharingExtensionDTO"},"userBeneficiary":{"$ref":"#/components/schemas/BaseUserDTO"}},"required":["id","sharingType","sharingMethod","globalDTBegin","globalDTEnd","globalDTBeginApproved","globalDTEndApproved","globalNBHours","keyName","guestPhoneNumber","shortCodeCurrency","longCodeCurrency","status","vehicleId","userId","referenceSharingId","guestCodePin","timezoneReference","canBeContactedBySMS","globalNBDays","globalAmountTTC","currencyId","userBeneficiaryId","emailBeneficiary","dtActivationCheckIn","statusCheckIn","dtStatusCheckIn","reasonStatusCheckIn","statusCheckOut","dtStatusCheckOut","reasonStatusCheckOut","dtStatus","statusReason","extensions","userBeneficiary"]},"KeyChainMainPilotIndividualVehicleSharingDTO":{"type":"object","properties":{"keyChainGroup":{"type":"number"},"individualVehicleSharing":{"$ref":"#/components/schemas/KeyChainMainPilotIndividualVehicle"}},"required":["keyChainGroup","individualVehicleSharing"]},"CompanyApiKeyPeriodDTO":{"type":"object","properties":{"id":{"type":"string"},"companyApiKeyId":{"type":"string"},"dtBeginPeriod":{"type":"string"},"dtEndPeriod":{"type":"string"}},"required":["id","companyApiKeyId","dtBeginPeriod","dtEndPeriod"]},"CompanyAPIKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"company":{"$ref":"#/components/schemas/BaseCompanyDTO"},"apiKeyLimit":{"type":"number"},"status":{"type":"number","enum":[1,2,3,4]},"dtStatus":{"format":"date-time","type":"string"},"reasonStatus":{"type":"object"},"isPaused":{"type":"boolean"},"dtPaused":{"type":"object"},"reasonPaused":{"type":"object"},"periods":{"type":"array","items":{"$ref":"#/components/schemas/CompanyApiKeyPeriodDTO"}}},"required":["id","apiKey","company","apiKeyLimit","status","dtStatus","reasonStatus","isPaused","dtPaused","reasonPaused","periods"]},"ListCompanyAPIKeyResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyAPIKeyDTO"}}},"required":["meta","links","items"]},"CreateCompanyAPIKeyDTO":{"type":"object","properties":{"idCompany":{"type":"string","description":"Company ID"}},"required":["idCompany"]},"CompanyAPIKeyResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"companyAPIKey":{"$ref":"#/components/schemas/CompanyAPIKeyDTO"}},"required":["success","companyAPIKey"]},"BOCompanyAPIKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"company":{"$ref":"#/components/schemas/BaseCompanyDTO"}},"required":["id","apiKey","company"]},"BOCompanyAPIKeyLogDTO":{"type":"object","properties":{"id":{"type":"string"},"dtLog":{"format":"date-time","type":"string"},"companyApiKey":{"$ref":"#/components/schemas/BOCompanyAPIKeyDTO"},"callContent":{"type":"object"},"acceptanceStatus":{"type":"number","enum":[1,2]},"reasonAcceptanceStatus":{"type":"string"},"executionStatus":{"type":"number","enum":[1,2,3]},"executionResult":{"type":"string"},"errorExecutionStatus":{"type":"string"}},"required":["id","dtLog","companyApiKey","callContent","acceptanceStatus","reasonAcceptanceStatus","executionStatus","executionResult","errorExecutionStatus"]},"BOCompanyAPIKeyLogResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BOCompanyAPIKeyLogDTO"}}},"required":["meta","links","items"]},"UpdateCompanyAPIKeyDTO":{"type":"object","properties":{"apiKeyLimit":{"type":"number"},"status":{"type":"number","enum":[1,2,3,4]},"reasonStatus":{"type":"string"},"isPaused":{"type":"boolean"},"reasonPaused":{"type":"string"}},"required":["apiKeyLimit","status","reasonStatus","isPaused","reasonPaused"]},"RegenerateAPIKeyResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"message":{"type":"string"}},"required":["id","apiKey","message"]},"CreateCompanyApiKeyPeriodDTO":{"type":"object","properties":{"dtBeginPeriod":{"type":"string"},"dtEndPeriod":{"type":"string"}},"required":["dtBeginPeriod","dtEndPeriod"]},"CompanyApiKeyPeriodResponseDTO":{"type":"object","properties":{"period":{"$ref":"#/components/schemas/CompanyApiKeyPeriodDTO"}},"required":["period"]},"UpdateCompanyApiKeyPeriodDTO":{"type":"object","properties":{"dtBeginPeriod":{"format":"date-time","type":"string","description":"Begin period date"},"dtEndPeriod":{"format":"date-time","type":"string","description":"End period date"}}},"CompanyApiKeyDTO":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"dtBeginPeriod":{"type":"string"},"dtEndPeriod":{"type":"string"},"apiKeyLimit":{"type":"number"},"status":{"type":"number","enum":[1,2,3,4]},"periods":{"type":"array","items":{"$ref":"#/components/schemas/CompanyApiKeyPeriodDTO"}}},"required":["id","apiKey","dtBeginPeriod","dtEndPeriod","apiKeyLimit","status","periods"]},"PublicListCompanyApiKeyResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CompanyApiKeyDTO"}}},"required":["meta","links","items"]},"CreateAPIKeyLogDTO":{"type":"object","properties":{"idCompanyApiKey":{"type":"string"},"apiKeyString":{"type":"string"},"dtLog":{"format":"date-time","type":"string"},"callContent":{"type":"object"},"acceptanceStatus":{"type":"number","enum":[1,2]},"reasonAcceptanceStatus":{"type":"string"},"executionStatus":{"type":"number","enum":[1,2,3]},"executionResult":{"type":"object"},"errorExecutionStatus":{"type":"object"}},"required":["idCompanyApiKey","apiKeyString","dtLog","callContent","acceptanceStatus","reasonAcceptanceStatus","executionStatus","executionResult","errorExecutionStatus"]},"CompanyAPIKeyLogDTO":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"CompanyAPIKeyLogResponseDTO":{"type":"object","properties":{"companyAPIKeyLog":{"$ref":"#/components/schemas/CompanyAPIKeyLogDTO"}},"required":["companyAPIKeyLog"]},"UpdateAPIKeyLogDTO":{"type":"object","properties":{"executionStatus":{"type":"number","enum":[1,2,3]},"executionResult":{"type":"string"}},"required":["executionStatus","executionResult"]},"BaseSubscriptionAllowedPilotDTO":{"type":"object","properties":{"id":{"type":"string"},"emailMember":{"type":"string"},"subscriptionId":{"type":"string"},"userId":{"type":"string"},"subscriptionProfilePilot":{"type":"string","enum":["main_pilot","permanent_pilot","occasional_pilot"]},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"guestCodePin":{"type":"string"},"status":{"type":"string","enum":["requested","accepted","refused","canceled"]},"user":{"$ref":"#/components/schemas/BaseUserDTO"}},"required":["id","emailMember","subscriptionId","userId","subscriptionProfilePilot","dtStatus","statusReason","guestCodePin","status","user"]},"ListSubscriptionAllowedPilotResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"subscriptions":{"$ref":"#/components/schemas/BaseSubscriptionAllowedPilotDTO"}},"required":["success","subscriptions"]},"CreateSubscriptionAllowedPilotDTO":{"type":"object","properties":{"emailMember":{"type":"string"},"subscriptionProfilePilot":{"type":"string","enum":["main_pilot","permanent_pilot","occasional_pilot"]}},"required":["emailMember","subscriptionProfilePilot"]},"SubscriptionAllowedPilotDTO":{"type":"object","properties":{"id":{"type":"string"},"emailMember":{"type":"string"},"subscriptionId":{"type":"string"},"userId":{"type":"string"},"subscriptionProfilePilot":{"type":"string","enum":["main_pilot","permanent_pilot","occasional_pilot"]},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"guestCodePin":{"type":"string"},"status":{"type":"string","enum":["requested","accepted","refused","canceled"]},"user":{"$ref":"#/components/schemas/BaseUserDTO"},"subscription":{"$ref":"#/components/schemas/SubscriptionDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","emailMember","subscriptionId","userId","subscriptionProfilePilot","dtStatus","statusReason","guestCodePin","status","user","subscription","updatedAt","createdAt"]},"SubscriptionAllowedPilotResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"subscriptionAllowedPilot":{"$ref":"#/components/schemas/SubscriptionAllowedPilotDTO"}},"required":["success","subscriptionAllowedPilot"]},"UpdateSubscriptionAllowedPilotDTO":{"type":"object","properties":{"emailMember":{"type":"string"},"subscriptionProfilePilot":{"type":"string","enum":["main_pilot","permanent_pilot","occasional_pilot"]},"status":{"type":"string","enum":["requested","accepted","refused","canceled"]}},"required":["emailMember","subscriptionProfilePilot","status"]},"SubscriptionVehicleResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"subscriptionVehicle":{"$ref":"#/components/schemas/SubscriptionVehicleDTO"}},"required":["success","subscriptionVehicle"]},"CreateSubscriptionVehicleDTO":{"type":"object","properties":{"vehicleId":{"type":"string"},"dtPrevisionalDelivery":{"format":"date-time","type":"string"},"deliveryComment":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"status":{"type":"string","enum":["coming","delivery_in_progress","in_progress","returned"]}},"required":["vehicleId","dtPrevisionalDelivery","deliveryComment","dtStatus","statusReason","status"]},"UpdateSubscriptionVehicleDTO":{"type":"object","properties":{"vehicleId":{"type":"string"},"dtPrevisionalDelivery":{"format":"date-time","type":"string"},"deliveryComment":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"status":{"type":"string","enum":["coming","delivery_in_progress","in_progress","returned"]}},"required":["vehicleId","dtPrevisionalDelivery","deliveryComment","dtStatus","statusReason","status"]},"ListSubscriptionDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionDTO"}}},"required":["meta","links","items"]},"CreateSubscriptionDTO":{"type":"object","properties":{"subscriptionOdooId":{"type":"string"},"subscriptionType":{"type":"string","enum":["company","individual"]},"companySubscriberId":{"type":"string"},"userSubscriberId":{"type":"string"},"referenceSubscription":{"type":"string"},"timezoneReference":{"type":"string"},"isPreOrder":{"type":"boolean"},"dtExpectedDelivery":{"format":"date-time","type":"string"},"dtPreVisionalDelivery":{"format":"date-time","type":"string"},"companyChildrenId":{"type":"string"},"deliveryComment":{"type":"string"},"nbElectronicKeys":{"type":"string"},"subscriptionPeriodId":{"type":"string"},"unitAmountHT":{"type":"string"},"kmIncluded":{"type":"string"},"dtBeginPeriod":{"format":"date-time","type":"string"},"dtEndPeriod":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"]},"vehicleModelId":{"type":"string"},"vehicleTypeId":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"dtCreatedOn":{"format":"date-time","type":"string"},"dtLastUpdatedOn":{"format":"date-time","type":"string"}},"required":["subscriptionOdooId","subscriptionType","companySubscriberId","userSubscriberId","referenceSubscription","timezoneReference","isPreOrder","dtExpectedDelivery","dtPreVisionalDelivery","companyChildrenId","deliveryComment","nbElectronicKeys","subscriptionPeriodId","unitAmountHT","kmIncluded","dtBeginPeriod","dtEndPeriod","status","vehicleModelId","vehicleTypeId","dtStatus","statusReason","dtCreatedOn","dtLastUpdatedOn"]},"SubscriptionResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"subscription":{"$ref":"#/components/schemas/SubscriptionDTO"}},"required":["success","subscription"]},"UpdateSubscriptionDTO":{"type":"object","properties":{"subscriptionOdooId":{"type":"string"},"referenceSubscription":{"type":"string"},"subscriptionType":{"type":"string","enum":["company","individual"]},"companySubscriberId":{"type":"string"},"userSubscriberId":{"type":"string"},"isPreOrder":{"type":"boolean"},"dtExpectedDelivery":{"format":"date-time","type":"string"},"dtPreVisionalDelivery":{"format":"date-time","type":"string"},"companyChildrenId":{"type":"string"},"deliveryComment":{"type":"string"},"nbElectronicKeys":{"type":"string"},"subscriptionPeriodId":{"type":"string"},"unitAmountHT":{"type":"string"},"kmIncluded":{"type":"string"},"dtBeginPeriod":{"format":"date-time","type":"string"},"dtEndPeriod":{"format":"date-time","type":"string"},"status":{"type":"string","enum":["requested_by_customer","proposed_by_cixi","accepted_by_customer","accepted_by_cixi","delivered","request_refused_by_cixi","request_canceled_by_customer","proposal_refused_by_customer","proposal_canceled_by_cixi","in_closure","closed","canceled_by_cixi"]},"vehicleModelId":{"type":"string"},"vehicleTypeId":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"},"statusReason":{"type":"string"},"dtCreatedOn":{"format":"date-time","type":"string"},"dtLastUpdatedOn":{"format":"date-time","type":"string"},"timezoneReference":{"type":"string"}},"required":["subscriptionOdooId","referenceSubscription","subscriptionType","companySubscriberId","userSubscriberId","isPreOrder","dtExpectedDelivery","dtPreVisionalDelivery","companyChildrenId","deliveryComment","nbElectronicKeys","subscriptionPeriodId","unitAmountHT","kmIncluded","dtBeginPeriod","dtEndPeriod","status","vehicleModelId","vehicleTypeId","dtStatus","statusReason","dtCreatedOn","dtLastUpdatedOn","timezoneReference"]},"UserCommSystemLogDTO":{"type":"object","properties":{"id":{"type":"string"},"timezoneCommSystemLog":{"type":"string"},"commSystemLogConvertedDate":{"type":"string"},"typeCommSystemLog":{"type":"number","enum":[1,2,5,9]},"titleCommSystemLog":{"type":"string"},"contentCommSystemLog":{"type":"string"},"statusExecutionId":{"type":"number","enum":[1,2,3]},"errorCommSystemLog":{"type":"string"},"receptionDate":{"format":"date-time","type":"string"},"statusId":{"type":"number","enum":[1,2]},"statusDate":{"format":"date-time","type":"string"},"reasonErrorStatus":{"type":"string"},"pers":{"$ref":"#/components/schemas/BasePersDTO"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"user":{"$ref":"#/components/schemas/BaseUserDTO"},"updatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","timezoneCommSystemLog","commSystemLogConvertedDate","typeCommSystemLog","titleCommSystemLog","contentCommSystemLog","statusExecutionId","errorCommSystemLog","receptionDate","statusId","statusDate","reasonErrorStatus","pers","vehicle","user","updatedAt","createdAt"]},"ListUserCommSystemLogDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/UserCommSystemLogDTO"}}},"required":["meta","links","items"]},"CommSystemLogForUserDTO":{"type":"object","properties":{"vehicleUserId":{"type":"string"},"commSystemLogDate":{"format":"date-time","type":"string"},"timezoneCommSystemLog":{"type":"string"},"titleCommSystemLog":{"type":"string"},"contentCommSystemLog":{"type":"string"},"statusExecutionId":{"type":"number","enum":[1,2,3]},"errorCommSystemLog":{"type":"string"},"typeCommSystemLog":{"type":"number","enum":[1,2,5,9]}},"required":["vehicleUserId","commSystemLogDate","timezoneCommSystemLog","titleCommSystemLog","contentCommSystemLog","statusExecutionId","errorCommSystemLog","typeCommSystemLog"]},"StoreUserCommSystemLogDTO":{"type":"object","properties":{"commSystemLogs":{"type":"array","items":{"$ref":"#/components/schemas/CommSystemLogForUserDTO"}}},"required":["commSystemLogs"]},"PersVehicleUserDTO":{"type":"object","properties":{"idVehicleUser":{"type":"string"},"tokenVehicleUser":{"type":"string"},"dtBegin":{"format":"date-time","type":"string"},"dtEnd":{"format":"date-time","type":"string"},"dtExpirationTokenVehicleUser":{"format":"date-time","type":"string"}},"required":["idVehicleUser","tokenVehicleUser","dtBegin","dtEnd","dtExpirationTokenVehicleUser"]},"PersVehicleUserResDTO":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PersVehicleUserDTO"}}},"required":["items"]},"CheckRenewVehicleListUsersDTO":{"type":"object","properties":{"toRenewVehicleListUsers":{"type":"boolean"}},"required":["toRenewVehicleListUsers"]},"UserPlatformTechResponseDTO":{"type":"object","properties":{"id":{"type":"string"},"platformTechId":{"type":"string"},"userId":{"type":"string"},"languageId":{"type":"string"},"timezoneId":{"type":"string"},"dtLastAccess":{"format":"date-time","type":"string"},"label":{"type":"string"}},"required":["id","platformTechId","userId","languageId","timezoneId","dtLastAccess","label"]},"ListTopicAlertDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/TopicAlertDTO"}}},"required":["meta","links","items"]},"ConfigurationPersDTO":{"type":"object","properties":{"id":{"type":"string"},"fileContent":{"type":"object"},"idStatus":{"type":"string"},"dtStatus":{"format":"date-time","type":"string"}},"required":["id","fileContent","idStatus","dtStatus"]},"StatusConfigurationPersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"configurationPers":{"$ref":"#/components/schemas/ConfigurationPersDTO"}},"required":["success","configurationPers"]},"GetOrSendFileFromPersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"fileContent":{"type":"object"},"updatedData":{"type":"object"}},"required":["nuSerialPersNumber","fileContent","updatedData"]},"BaseConfigurationPersDTO":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"ConfigurationPersResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"configurationPers":{"$ref":"#/components/schemas/BaseConfigurationPersDTO"}},"required":["success","configurationPers"]},"GetFileFromPersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"}},"required":["nuSerialPersNumber"]},"PublicGroupPersAlertDTO":{"type":"object","properties":{"groupAlert":{"$ref":"#/components/schemas/BaseGroupAlertDTO"},"topicAlerts":{"type":"array","items":{"$ref":"#/components/schemas/PersAlertTopicAlertDTO"}}},"required":["groupAlert","topicAlerts"]},"PublicPersCurrentStatusDTO":{"type":"object","properties":{"lockStatus":{"type":"boolean"},"geolocStatus":{"type":"boolean"},"batteryChargingStatus":{"type":"boolean"},"timeBeforeFullCharge":{"type":"number"},"batterySoc":{"type":"number"},"batterySoh":{"type":"number"},"batteryVoltage":{"type":"number"},"batteryTemperature":{"type":"number"},"vehicleTotalKm":{"type":"number"},"batteryGridStatus":{"type":"boolean"},"batteryTotalCapa":{"type":"number"},"rangeEstimation":{"type":"number"},"vehicleTotalOperationTime":{"type":"number"},"latitude":{"type":"number"},"longitude":{"type":"number"},"altitude":{"type":"number"},"nbSatellites":{"type":"number"},"lastUpdated":{"format":"date-time","type":"string"},"lastUpdatedByJourneyLog":{"format":"date-time","type":"string"},"lastUpdatedByIOTMessage":{"format":"date-time","type":"string"},"vehicleTotalKmStart":{"type":"number"},"vehicleTotalKmEnd":{"type":"string"}},"required":["lockStatus","geolocStatus","batteryChargingStatus","timeBeforeFullCharge","batterySoc","batterySoh","batteryVoltage","batteryTemperature","vehicleTotalKm","batteryGridStatus","batteryTotalCapa","rangeEstimation","vehicleTotalOperationTime","latitude","longitude","altitude","nbSatellites","lastUpdated","lastUpdatedByJourneyLog","lastUpdatedByIOTMessage","vehicleTotalKmStart","vehicleTotalKmEnd"]},"PublicPersDiagnosticDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persAlerts":{"$ref":"#/components/schemas/PublicGroupPersAlertDTO"},"persCurrentStatus":{"$ref":"#/components/schemas/PublicPersCurrentStatusDTO"}},"required":["success","persAlerts","persCurrentStatus"]},"PublicPersDiagnosticResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persDiagnostic":{"$ref":"#/components/schemas/PublicPersDiagnosticDTO"}},"required":["success","persDiagnostic"]},"PublicVehicleModelDTO":{"type":"object","properties":{"nameVehicleModel":{"type":"string"},"additionalInfo":{"type":"string"},"avatar":{"type":"string"},"picture":{"type":"string"}},"required":["nameVehicleModel","additionalInfo","avatar","picture"]},"PublicVehicleDTO":{"type":"object","properties":{"serialNumber":{"type":"string"},"vehicleType":{"type":"string"},"brand":{"type":"string"},"vehicleModel":{"$ref":"#/components/schemas/PublicVehicleModelDTO"}},"required":["serialNumber","vehicleType","brand","vehicleModel"]},"PublicLevelAlertDTO":{"type":"object","properties":{"levelAlert":{"type":"number"},"labelLevelAlert":{"type":"string"},"pictureLevelAlert":{"type":"string"},"colorLevelAlert":{"type":"string"}},"required":["levelAlert","labelLevelAlert","pictureLevelAlert","colorLevelAlert"]},"PublicMaintenanceStatusDTO":{"type":"object","properties":{"levelAlert":{"$ref":"#/components/schemas/PublicLevelAlertDTO"},"hasPersAlerts":{"type":"boolean"}},"required":["levelAlert","hasPersAlerts"]},"PublicPersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"model":{"type":"string"},"software":{"type":"string"},"dtDelivered":{"format":"date-time","type":"string"},"currentFirmwareVersion":{"type":"string"},"maintenanceStatus":{"type":"array","items":{"$ref":"#/components/schemas/PublicMaintenanceStatusDTO"}},"totalDistanceRidden":{"type":"number"}},"required":["nuSerialPersNumber","model","software","dtDelivered","currentFirmwareVersion","maintenanceStatus","totalDistanceRidden"]},"PublicRiderInfoDTO":{"type":"object","properties":{"name":{"type":"string"},"userType":{"type":"string"}},"required":["name","userType"]},"VehicleCustomerInformationsDTO":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"riderInfo":{"$ref":"#/components/schemas/PublicRiderInfoDTO"}},"required":["type","name","email","riderInfo"]},"PublicListCompanyVehicleDTO":{"type":"object","properties":{"vehicle":{"$ref":"#/components/schemas/PublicVehicleDTO"},"pers":{"$ref":"#/components/schemas/PublicPersDTO"},"customerInformations":{"$ref":"#/components/schemas/VehicleCustomerInformationsDTO"}},"required":["vehicle","pers","customerInformations"]},"PublicListCompanyVehicleResponseDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PublicListCompanyVehicleDTO"}}},"required":["meta","links","items"]},"PublicCompanyPersDTO":{"type":"object","properties":{"nuSerialPersNumber":{"type":"string"},"model":{"type":"string"},"currentFirmwareVersion":{"type":"string"},"dtDelivered":{"format":"date-time","type":"string"},"associationStatus":{"type":"boolean"},"partners":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPersLinkPartnerDTO"}},"maintenanceStatus":{"type":"array","items":{"$ref":"#/components/schemas/PublicMaintenanceStatusDTO"}}},"required":["nuSerialPersNumber","model","currentFirmwareVersion","dtDelivered","associationStatus","partners","maintenanceStatus"]},"BaseCustomerInformationsDTO":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}},"required":["type","name","email"]},"PublicListCompanyPersItemDTO":{"type":"object","properties":{"pers":{"$ref":"#/components/schemas/PublicCompanyPersDTO"},"vehicleInfo":{"$ref":"#/components/schemas/VehicleInfoDTO"},"customerInformations":{"$ref":"#/components/schemas/BaseCustomerInformationsDTO"}},"required":["pers","vehicleInfo","customerInformations"]},"PublicListCompanyPersDTO":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponseDTO"},"links":{"$ref":"#/components/schemas/LinkResponseDTO"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PublicListCompanyPersItemDTO"}}},"required":["meta","links","items"]},"RTAlertDTO":{"type":"object","properties":{"levelAlert":{"type":"number"},"nbAlerts":{"type":"number"}},"required":["levelAlert","nbAlerts"]},"RTDashboardAlertDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/RTAlertDTO"}}},"required":["success","items"]},"BaseTopicAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"labelFieldAlert":{"type":"string"}},"required":["id","labelFieldAlert"]},"ActiveLevelAlertDTO":{"type":"object","properties":{"id":{"type":"string"},"levelAlert":{"type":"number"}},"required":["id","levelAlert"]},"ActiveAlertDTO":{"type":"object","properties":{"codeAlert":{"type":"string"},"labelAlert":{"type":"string"},"descriptionAlert":{"type":"string"},"topicAlert":{"$ref":"#/components/schemas/BaseTopicAlertDTO"},"levelAlert":{"$ref":"#/components/schemas/ActiveLevelAlertDTO"}},"required":["codeAlert","labelAlert","descriptionAlert","topicAlert","levelAlert"]},"ActiveAlertPersDTO":{"type":"object","properties":{"id":{"type":"string"},"nuSerialPersNumber":{"type":"string"},"modelPERS":{"$ref":"#/components/schemas/BaseModelPERSDTO"},"currentFirmwareVersion":{"type":"string"}},"required":["id","nuSerialPersNumber","modelPERS","currentFirmwareVersion"]},"ActiveAlertDetailDTO":{"type":"object","properties":{"id":{"type":"string"},"dtLastReceptionAlert":{"format":"date-time","type":"string"},"dtStartAlert":{"format":"date-time","type":"string"},"nbReceptionAlert":{"type":"number"},"locationCountry":{"$ref":"#/components/schemas/CountryResponseDTO"},"alert":{"$ref":"#/components/schemas/ActiveAlertDTO"},"pers":{"$ref":"#/components/schemas/ActiveAlertPersDTO"},"vehicle":{"$ref":"#/components/schemas/BaseVehicleDTO"},"company":{"$ref":"#/components/schemas/BaseCompanyDTO"}},"required":["id","dtLastReceptionAlert","dtStartAlert","nbReceptionAlert","locationCountry","alert","pers","vehicle","company"]},"ActiveAlertsListDTO":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ActiveAlertDetailDTO"}}},"required":["success","items"]},"CurrentCompaniesStatisticsDTO":{"type":"object","properties":{"companies":{"type":"number"},"companyMembers":{"type":"number"}},"required":["companies","companyMembers"]},"CategoryDistributionDTO":{"type":"object","properties":{"category":{"type":"string"},"companies":{"type":"number"}},"required":["category","companies"]},"CountryDistributionDTO":{"type":"object","properties":{"country":{"type":"string"},"companies":{"type":"number"}},"required":["country","companies"]},"BrandAnalysisDTO":{"type":"object","properties":{"brand":{"type":"string"},"numberOfModels":{"type":"number"},"numberOfVehicles":{"type":"number"}},"required":["brand","numberOfModels","numberOfVehicles"]},"CurrentCompanyDashboardDTO":{"type":"object","properties":{"currentCompaniesStatistics":{"$ref":"#/components/schemas/CurrentCompaniesStatisticsDTO"},"distributionPerCategories":{"type":"array","items":{"$ref":"#/components/schemas/CategoryDistributionDTO"}},"distributionPerCountries":{"type":"array","items":{"$ref":"#/components/schemas/CountryDistributionDTO"}},"brandAnalysis":{"type":"array","items":{"$ref":"#/components/schemas/BrandAnalysisDTO"}}},"required":["currentCompaniesStatistics","distributionPerCategories","distributionPerCountries","brandAnalysis"]},"CurrentCompanyDashboardResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"currentData":{"$ref":"#/components/schemas/CurrentCompanyDashboardDTO"}},"required":["success","currentData"]},"MonthlyCompanyStatisticsDTO":{"type":"object","properties":{"month":{"type":"string"},"approvedCompanies":{"type":"number"},"archivedCompanies":{"type":"number"},"activeCompanies":{"type":"number"}},"required":["month","approvedCompanies","archivedCompanies","activeCompanies"]},"MonthlyCompanyStatisticsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/MonthlyCompanyStatisticsDTO"}}},"required":["success","statistics"]},"PersReceptionStatsDTO":{"type":"object","properties":{"month":{"type":"string"},"persReceptions":{"type":"number"},"totalReceptions":{"type":"number"}},"required":["month","persReceptions","totalReceptions"]},"PersReceptionStatsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/PersReceptionStatsDTO"}}},"required":["success","statistics"]},"ProducedVehiclesStatsDTO":{"type":"object","properties":{"month":{"type":"string"},"producedVehicles":{"type":"number"},"totalReceptions":{"type":"number"}},"required":["month","producedVehicles","totalReceptions"]},"ProducedVehiclesStatsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/ProducedVehiclesStatsDTO"}}},"required":["success","statistics"]},"DirectVehiclesMonthlyDashboardItemDTO":{"type":"object","properties":{"month":{"type":"string"},"nbNewDirectVehicles":{"type":"number"},"nbEndedDirectVehicles":{"type":"number"},"nbOpenDirectVehicles":{"type":"number"}},"required":["month","nbNewDirectVehicles","nbEndedDirectVehicles","nbOpenDirectVehicles"]},"DirectVehiclesMonthlyDashboardDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/DirectVehiclesMonthlyDashboardItemDTO"}}},"required":["success","statistics"]},"PERSMetricsDTO":{"type":"object","properties":{"nbActivePers":{"type":"number"},"nbPers":{"type":"number"},"nbUnlockedPers":{"type":"number"}},"required":["nbActivePers","nbPers","nbUnlockedPers"]},"CalculatePERSMetricsDTO":{"type":"object","properties":{"success":{"type":"boolean"},"persMetrics":{"$ref":"#/components/schemas/PERSMetricsDTO"}},"required":["success","persMetrics"]},"MonthlyLevelAlertDTO":{"type":"object","properties":{"levelAlert":{"type":"number"},"nbAlerts":{"type":"number"}},"required":["levelAlert","nbAlerts"]},"MonthlyAlertStatsDTO":{"type":"object","properties":{"month":{"type":"string"},"levelAlerts":{"type":"array","items":{"$ref":"#/components/schemas/MonthlyLevelAlertDTO"}}},"required":["month","levelAlerts"]},"MonthlyAlertsDashboardDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/MonthlyAlertStatsDTO"}}},"required":["success","statistics"]},"RidersKeysMonthlyDashboardItemDTO":{"type":"object","properties":{"month":{"type":"string"},"nbNewDigitalKeys":{"type":"number"},"nbEndedDigitalKeys":{"type":"number"},"nbOpenDigitalKeys":{"type":"number"}},"required":["month","nbNewDigitalKeys","nbEndedDigitalKeys","nbOpenDigitalKeys"]},"RidersKeysMonthlyDashboardDTO":{"type":"object","properties":{"success":{"type":"boolean"},"statistics":{"type":"array","items":{"$ref":"#/components/schemas/RidersKeysMonthlyDashboardItemDTO"}}},"required":["success","statistics"]},"RidersMetricsDTO":{"type":"object","properties":{"nbActiveRiders":{"type":"number"},"nbRiders":{"type":"number"}},"required":["nbActiveRiders","nbRiders"]},"CalculateRidersMetricsDTO":{"type":"object","properties":{"success":{"type":"boolean"},"ridersMetrics":{"$ref":"#/components/schemas/RidersMetricsDTO"},"nbOpenedDigitalKeys":{"type":"number"}},"required":["success","ridersMetrics","nbOpenedDigitalKeys"]}}}}