Xel Xalaat AI assistant
Xel Xalaat AI assistant · GPT 작업
Xel Xalaat Consulting Services API
API pour divers services de conseil offerts par Xel Xalaat Agency, incluant la génération de contrats, de CV, de lettres de motivation, des consultations juridiques rapides, rédaction et relecture de documents, formation sur les outils de gestion financière et comptable, accompagnement dans la création d'entreprise, et consultations.
POST /generateContractGénère un contrat personnaliséPOST /generateCvGénère un CV personnaliséPOST /generateCoverLetterGénère une lettre de motivation personnaliséePOST /legalConsultationObtenez une consultation juridique rapidePOST /editDocumentRédige ou relit un document administratif ou de recherchePOST /scheduleTrainingPlanifie une session de formation sur les outils de gestion financière et comptablePOST /createBusinessAccompagnement dans la création d'entreprisePOST /tradeConsultationConsultation sur le commerce international (import-export)
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Xel Xalaat Consulting Services API",
"description": "API pour divers services de conseil offerts par Xel Xalaat Agency, incluant la génération de contrats, de CV, de lettres de motivation, des consultations juridiques rapides, rédaction et relecture de documents, formation sur les outils de gestion financière et comptable, accompagnement dans la création d'entreprise, et consultations.",
"version": "1.0.0",
"contact": {
"email": "administrateur@xelxalaat.org"
},
"termsOfService": "https://www.xelxalaat.org/terms",
"privacyPolicy": "https://www.xelxalaat.org/privacy-policy.pdf"
},
"servers": [
{
"url": "https://api.xelxalaat.org/v1",
"description": "Production server"
}
],
"paths": {
"/generateContract": {
"post": {
"operationId": "generateContract",
"summary": "Génère un contrat personnalisé",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"contractType": {
"type": "string",
"enum": [
"financialConsulting",
"administrativeManagement",
"cvAssistance",
"documentReview",
"training",
"stateSales",
"generalTrade",
"importExport",
"legalConsulting",
"realEstateConsulting",
"contractWriting",
"realEstateBrokerage",
"businessCreation"
],
"description": "Type de contrat à générer",
"example": "financialConsulting"
},
"clientDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"address": {
"type": "string",
"example": "123 Avenue, City, Country"
},
"contact": {
"type": "string",
"example": "john.doe@example.com"
}
},
"required": [
"name",
"address"
]
},
"additionalInfo": {
"type": "object",
"description": "Informations supplémentaires spécifiques au type de contrat",
"example": {
"duration": "12 months",
"fee": "5000 USD"
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "Contrat généré avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"contractId": {
"type": "string",
"example": "abc123"
},
"downloadUrl": {
"type": "string",
"example": "https://api.xelxalaat.org/contracts/abc123/download"
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Invalid contract type provided."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/generateCv": {
"post": {
"operationId": "generateCv",
"summary": "Génère un CV personnalisé",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"personalDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"address": {
"type": "string",
"example": "123 Avenue, City, Country"
},
"contact": {
"type": "string",
"example": "john.doe@example.com"
},
"summary": {
"type": "string",
"example": "Experienced financial consultant with over 10 years in the industry."
}
},
"required": [
"name",
"contact"
]
},
"experience": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jobTitle": {
"type": "string",
"example": "Financial Consultant"
},
"company": {
"type": "string",
"example": "ABC Consulting"
},
"duration": {
"type": "string",
"example": "2015-2020"
},
"description": {
"type": "string",
"example": "Provided financial advice and managed client portfolios."
}
}
}
},
"education": {
"type": "array",
"items": {
"type": "object",
"properties": {
"degree": {
"type": "string",
"example": "MBA"
},
"institution": {
"type": "string",
"example": "University of Finance"
},
"year": {
"type": "string",
"example": "2014"
}
}
}
},
"skills": {
"type": "array",
"items": {
"type": "string",
"example": "Financial Analysis"
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "CV généré avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cvId": {
"type": "string",
"example": "cv123"
},
"downloadUrl": {
"type": "string",
"example": "https://api.xelxalaat.org/cvs/cv123/download"
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Missing required personal details."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/generateCoverLetter": {
"post": {
"operationId": "generateCoverLetter",
"summary": "Génère une lettre de motivation personnalisée",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"personalDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"address": {
"type": "string",
"example": "123 Avenue, City, Country"
},
"contact": {
"type": "string",
"example": "john.doe@example.com"
}
},
"required": [
"name",
"contact"
]
},
"jobDetails": {
"type": "object",
"properties": {
"jobTitle": {
"type": "string",
"example": "Financial Consultant"
},
"company": {
"type": "string",
"example": "ABC Consulting"
},
"description": {
"type": "string",
"example": "Seeking a challenging role in financial consulting."
}
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "Lettre de motivation générée avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"coverLetterId": {
"type": "string",
"example": "cl123"
},
"downloadUrl": {
"type": "string",
"example": "https://api.xelxalaat.org/coverletters/cl123/download"
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Missing required personal or job details."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/legalConsultation": {
"post": {
"operationId": "legalConsultation",
"summary": "Obtenez une consultation juridique rapide",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "La question juridique à poser",
"example": "Quels sont les documents nécessaires pour l'achat d'un terrain ?"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Réponse à la consultation juridique",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"answer": {
"type": "string",
"example": "Les documents nécessaires sont ..."
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Question non spécifiée."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/editDocument": {
"post": {
"operationId": "editDocument",
"summary": "Rédige ou relit un document administratif ou de recherche",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"documentType": {
"type": "string",
"enum": [
"professionalLetter",
"article",
"researchPaper",
"thesis"
],
"description": "Type de document à rédiger ou relire",
"example": "professionalLetter"
},
"content": {
"type": "string",
"description": "Contenu du document à éditer",
"example": "Cher Monsieur/Madame, ..."
},
"action": {
"type": "string",
"enum": [
"write",
"proofread"
],
"description": "Action à effectuer (rédaction ou relecture)",
"example": "proofread"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Document édité avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"example": "doc123"
},
"downloadUrl": {
"type": "string",
"example": "https://api.xelxalaat.org/documents/doc123/download"
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Invalid document type provided."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/scheduleTraining": {
"post": {
"operationId": "scheduleTraining",
"summary": "Planifie une session de formation sur les outils de gestion financière et comptable",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"enum": [
"accountingSoftware",
"financialAnalysis",
"budgetingTools"
],
"description": "Outil pour lequel la formation est demandée",
"example": "accountingSoftware"
},
"preferredDate": {
"type": "string",
"format": "date",
"description": "Date préférée pour la formation",
"example": "2024-08-15"
},
"clientDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Jane Doe"
},
"contact": {
"type": "string",
"example": "jane.doe@example.com"
}
},
"required": [
"name",
"contact"
]
}
}
}
}
}
},
"responses": {
"200": {
"description": "Formation planifiée avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"trainingId": {
"type": "string",
"example": "training123"
},
"confirmation": {
"type": "string",
"example": "Training session scheduled for 2024-08-15."
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Invalid tool specified."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/createBusiness": {
"post": {
"operationId": "createBusiness",
"summary": "Accompagnement dans la création d'entreprise",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"businessType": {
"type": "string",
"enum": [
"soleProprietorship",
"partnership",
"corporation"
],
"description": "Type d'entreprise à créer",
"example": "corporation"
},
"clientDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"address": {
"type": "string",
"example": "123 Avenue, City, Country"
},
"contact": {
"type": "string",
"example": "john.doe@example.com"
}
},
"required": [
"name",
"address"
]
},
"businessDetails": {
"type": "object",
"properties": {
"businessName": {
"type": "string",
"example": "Doe Enterprises"
},
"businessAddress": {
"type": "string",
"example": "456 Business Rd, City, Country"
},
"description": {
"type": "string",
"example": "A consulting firm specializing in financial services."
}
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "Création d'entreprise accompagnée avec succès",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"businessId": {
"type": "string",
"example": "biz123"
},
"confirmation": {
"type": "string",
"example": "Business creation process initiated for Doe Enterprises."
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Invalid business type specified."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
},
"/tradeConsultation": {
"post": {
"operationId": "tradeConsultation",
"summary": "Consultation sur le commerce international (import-export)",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "La question de commerce international à poser",
"example": "Quels sont les documents requis pour importer des biens de la Chine ?"
},
"clientDetails": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"contact": {
"type": "string",
"example": "john.doe@example.com"
}
},
"required": [
"name",
"contact"
]
}
}
}
}
}
},
"responses": {
"200": {
"description": "Réponse à la consultation sur le commerce international",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"answer": {
"type": "string",
"example": "Les documents requis pour importer des biens de la Chine sont ..."
}
}
}
}
}
},
"400": {
"description": "Requête invalide",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Question non spécifiée."
}
}
}
}
}
},
"500": {
"description": "Erreur interne du serveur",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "An unexpected error occurred. Please try again later."
}
}
}
}
}
}
}
}
}
}
}