Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Verbinden Sie sich mit SimpliRoute, der Last-Mile Lieferungsplattform. Verwalten Sie Kunden, Fahrzeuge, Besuche, Routen und optimieren Sie Ihre Lieferoperationen.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Ihr SimpliRoute API Token. Sie finden dies in Ihren SimpliRoute Konto-Einstellungen unter API Abschnitt.",
|
||||
"Get Account Details": "Kontodetails abrufen",
|
||||
"Get Clients": "Kunden erhalten",
|
||||
"Create Clients": "Kunden erstellen",
|
||||
"Bulk Delete Clients": "Kunden löschen",
|
||||
"Create Client Custom Property": "Kundenspezifische Eigenschaft erstellen",
|
||||
"Get Vehicles": "Erhalte Fahrzeuge",
|
||||
"Create Vehicle": "Fahrzeug erstellen",
|
||||
"Get Vehicle": "Bekomme Fahrzeug",
|
||||
"Delete Vehicle": "Fahrzeug löschen",
|
||||
"Get Visits": "Besuche",
|
||||
"Create Visits": "Besuche erstellen",
|
||||
"Get Visit": "Besuche",
|
||||
"Update Visit (Partial)": "Besuch aktualisieren (teilweise)",
|
||||
"Update Visit (Complete)": "Besuch aktualisieren (Abgeschlossen)",
|
||||
"Delete Visit": "Besuch löschen",
|
||||
"Add Visit Items": "Besuchselemente hinzufügen",
|
||||
"Get Routes": "Routen holen",
|
||||
"Create Route": "Route erstellen",
|
||||
"Get Route": "Route abrufen",
|
||||
"Delete Route": "Route löschen",
|
||||
"Get Plans": "Tarife erhalten",
|
||||
"Create an empty plan": "Erstelle ein leeres Paket",
|
||||
"Get vehicles with routes on date": "Lade Fahrzeuge mit Routen am Datum",
|
||||
"Get Visit Detail": "Besuche Details",
|
||||
"Get Drivers": "Treiber holen",
|
||||
"Create User": "Benutzer erstellen",
|
||||
"Get User": "Benutzer holen",
|
||||
"Update User": "Benutzer aktualisieren",
|
||||
"Get Skills": "Fertigkeiten erhalten",
|
||||
"Get Observations": "Beobachtungen erhalten",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Flotten holen",
|
||||
"Get Sellers": "Verkäufer kaufen",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Returns account information of the authenticated user via API token.": "Gibt Kontoinformationen des authentifizierten Benutzers über das API Token zurück.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Ruft die Liste der dem Konto zugeordneten Clients ab. Kann nach Clientschlüssel filtern.",
|
||||
"Create one or multiple new clients in the account.": "Erstellen Sie einen oder mehrere neue Clients im Konto.",
|
||||
"Delete multiple clients in a single call.": "Löschen Sie mehrere Clients in einem einzigen Anruf.",
|
||||
"Create a new custom attribute for clients.": "Erstellen Sie ein neues benutzerdefiniertes Attribut für Kunden.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Rufen Sie die Liste der auf dem Konto registrierten Fahrzeuge ab.",
|
||||
"Register a new vehicle in the account.": "Registrieren Sie ein neues Fahrzeug auf dem Konto.",
|
||||
"Retrieve information of a specific vehicle.": "Abrufen von Informationen zu einem bestimmten Fahrzeug.",
|
||||
"Delete a vehicle by its ID.": "Löschen Sie ein Fahrzeug mit seinem Ausweis.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Alle registrierten Besuche abrufen. Kann nach dem geplanten Besuchsdatum gefiltert werden.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Erstelle Besuche. Mehrere Besuche können in einer einzigen Anfrage erstellt werden.",
|
||||
"Retrieve details of a specific visit by ID.": "Erhalten Sie Details zu einem bestimmten Besuch per ID.",
|
||||
"Partially update fields of an existing visit.": "Felder eines bestehenden Besuchs teilweise aktualisieren.",
|
||||
"Completely update an existing visit with all fields.": "Aktualisieren Sie einen bestehenden Besuch mit allen Feldern.",
|
||||
"Delete a visit by its ID.": "Löschen Sie einen Besuch mit der ID.",
|
||||
"Add items to an existing visit.": "Hinzufügen von Elementen zu einem bestehenden Besuch.",
|
||||
"Retrieve the list of existing routes.": "Liste bestehender Routen abrufen.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Erstellen Sie eine neue Route manuell durch Zuweisung von Fahrzeug, Fahrer und Datum.",
|
||||
"Retrieve details of a specific route.": "Rufe Details einer bestimmten Route ab.",
|
||||
"Delete a route by its ID.": "Löschen Sie eine Route mit ihrer ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Die Liste der gespeicherten Routingpläne (Ausführungen) abrufen.",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Erstellen Sie einen leeren Plan (Ausführung) ohne Routen (reservieren Sie einen Planungstag).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Gibt die Fahrzeuge, die Routen an dem angegebenen Datum geplant haben, zurück.",
|
||||
"Get detailed information about a specific visit.": "Erhalten Sie detaillierte Informationen über einen bestimmten Besuch.",
|
||||
"Retrieve the list of drivers registered in the account.": "Rufen Sie die Liste der im Konto registrierten Fahrer ab.",
|
||||
"Create new user/driver in the account.": "Neuen Benutzer/Treiber im Benutzerkonto anlegen.",
|
||||
"Retrieve information of a specific user by ID.": "Abrufen von Informationen eines bestimmten Benutzers per ID.",
|
||||
"Update information of an existing user.": "Aktualisiere Informationen eines bestehenden Benutzers.",
|
||||
"Retrieve the list of skills available in the account.": "Rufen Sie die Liste der verfügbaren Fähigkeiten auf dem Konto ab.",
|
||||
"Retrieve the list of observations available in the account.": "Rufen Sie die Liste der im Konto verfügbaren Beobachtungen ab.",
|
||||
"Retrieve the list of tags available in the account.": "Rufen Sie die Liste der im Konto verfügbaren Tags ab.",
|
||||
"Retrieve the list of zones available in the account.": "Rufen Sie die Liste der verfügbaren Zonen des Kontos ab.",
|
||||
"Retrieve the list of fleets available in the account.": "Rufen Sie die Liste der verfügbaren Flotten im Konto ab.",
|
||||
"Retrieve the list of sellers available in the account.": "Rufen Sie die Liste der im Konto verfügbaren Verkäufer ab.",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Client Key": "Kundenschlüssel",
|
||||
"Clients": "Kunden",
|
||||
"IDs": "IDs",
|
||||
"label": "label",
|
||||
"type": "typ",
|
||||
"name": "name",
|
||||
"capacity": "kapazität",
|
||||
"default_driver": "standardmäßiger Treiber",
|
||||
"location_start_address": "location_start_address",
|
||||
"location_start_latitude": "location_start_latitude",
|
||||
"location_start_longitude": "location_start_Längengrad",
|
||||
"location_end_address": "location_end_address",
|
||||
"location_end_latitude": "location_end_latitude",
|
||||
"location_end_longitude": "location_end_Längengrad",
|
||||
"skills": "fertigkeiten",
|
||||
"capacity2": "Kapazitäten2",
|
||||
"capacity3": "Kapazitäten3",
|
||||
"cost": "kosten",
|
||||
"shift_start": "shift_start",
|
||||
"shift_end": "shift_end",
|
||||
"reference_id": "referenz_id",
|
||||
"license_plate": "lizenziere_platte",
|
||||
"min_load": "min laden",
|
||||
"min_load_2": "min_laden_2",
|
||||
"min_load_3": "min_laden_3",
|
||||
"max_visit": "max_Besuch",
|
||||
"max_time": "maximale Zeit",
|
||||
"rest_time_start": "neu starten",
|
||||
"rest_time_end": "erneute Zeit_Ende",
|
||||
"rest_time_duration": "dauer_neuer_zeit",
|
||||
"vehicle_id": "Fahrzeug_id",
|
||||
"planned_date": "geplant_datum",
|
||||
"visits": "besuche",
|
||||
"visit_id": "besuche_id",
|
||||
"title": "titel",
|
||||
"address": "adresse",
|
||||
"load": "laden",
|
||||
"load_2": "lade_2",
|
||||
"load_3": "lade_3",
|
||||
"duration": "dauer",
|
||||
"contact_name": "kontakt_name",
|
||||
"contact_phone": "kontakt_Telefon",
|
||||
"notes": "notizen",
|
||||
"latitude": "breiter",
|
||||
"longitude": "Längengrad",
|
||||
"items": "items",
|
||||
"vehicle": "Fahrzeug",
|
||||
"driver": "treiber",
|
||||
"estimated_time_start": "geschätzte Zeit",
|
||||
"estimated_time_end": "geschätzte Zeit",
|
||||
"plan": "planen",
|
||||
"route_id": "Route_id",
|
||||
"date": "datum",
|
||||
"start_date": "start_datum",
|
||||
"end_date": "end_datum",
|
||||
"username": "benutzername",
|
||||
"phone": "telefon",
|
||||
"email": "e-Mail",
|
||||
"is_admin": "ist_admin",
|
||||
"password": "kennwort",
|
||||
"is_driver": "is_treiber",
|
||||
"is_router_jr": "is_router jr",
|
||||
"is_router": "is_router",
|
||||
"is_monitor": "ist_überwachen",
|
||||
"is_coordinator": "is_Coordinator",
|
||||
"user_id": "benutzer_id",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopfzeilen",
|
||||
"Query Parameters": "Abfrageparameter",
|
||||
"Body": "Körper",
|
||||
"Response is Binary ?": "Antwort ist binär?",
|
||||
"No Error on Failure": "Kein Fehler bei Fehler",
|
||||
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
||||
"Unique client key to filter results.": "Eindeutiger Clientschlüssel, um Ergebnisse zu filtern.",
|
||||
"Array of client objects to create.": "Array der zu erstellenden Clientobjekte.",
|
||||
"List of client IDs to delete.": "Liste der zu löschenden Client-IDs.",
|
||||
"Label of the new custom property.": "Beschriftung der neuen benutzerdefinierten Eigenschaft.",
|
||||
"Property type (str, int, float or bool).": "Objekttyp (str, int, float oder bool).",
|
||||
"The name of the vehicle.": "Der Name des Fahrzeugs.",
|
||||
"The maximum capacity of the vehicle.": "Die maximale Kapazität des Fahrzeugs.",
|
||||
"The assigned driver ID or null if not assigned.": "Die zugewiesene Treiber-ID oder Null, wenn nicht zugewiesen.",
|
||||
"The starting address of the vehicle.": "Die Startadresse des Fahrzeugs.",
|
||||
"The latitude of the starting location.": "Der Breitengrad des Startortes.",
|
||||
"The longitude of the starting location.": "Der Längengrad des Startortes.",
|
||||
"The ending address of the vehicle.": "Die Endadresse des Fahrzeugs.",
|
||||
"The latitude of the ending location.": "Der Breitengrad der Endstelle.",
|
||||
"The longitude of the ending location.": "Der Längengrad des Endstandortes.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "eine Liste der Skill-IDs (JSON-Format [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Sekundäre Fahrzeugkapazität.",
|
||||
"Third vehicle capacity.": "Dritte Fahrzeugkapazität.",
|
||||
"Operational cost of the vehicle.": "Betriebskosten des Fahrzeugs.",
|
||||
"Start time of the vehicle shift.": "Startzeit des Fahrzeugwechsels.",
|
||||
"End time of the vehicle shift.": "Endzeit der Fahrzeugverschiebung.",
|
||||
"External reference ID of the vehicle.": "Externe Referenz-ID des Fahrzeugs.",
|
||||
"License plate or registration of the vehicle.": "Kennzeichen oder Eintragung des Fahrzeugs.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Mindestbelastung (Einheit 1) für den Versand erforderlich.",
|
||||
"Minimum load (unit 2) required.": "Minimale Last (Einheit 2) erforderlich.",
|
||||
"Minimum load (unit 3) required.": "Minimale Last (Einheit 3) erforderlich.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Maximale Anzahl der Besuche, die das Fahrzeug durchführen kann.",
|
||||
"Maximum duration of route (in seconds).": "Maximale Dauer der Route (in Sekunden).",
|
||||
"Start time of rest.": "Startzeit der Ruhezeit.",
|
||||
"End time of rest.": "Endzeit der Ruhezeit.",
|
||||
"Duration of rest.": "Dauer der Ruhezeit.",
|
||||
"Vehicle ID.": "Fahrzeug-ID.",
|
||||
"Vehicle ID to delete.": "Fahrzeug-ID zu löschen.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filtern Sie Besuche nach geplantem Datum (Format JJJJ-MM-TDD).",
|
||||
"Array of visit objects to create.": "Anordnung der zu erstellenden Besuchsobjekte.",
|
||||
"Visit ID.": "Besuche ID.",
|
||||
"ID of the visit to update.": "ID des zu aktualisierenden Besuchs.",
|
||||
"Visit title (if you want to change it).": "Besuche den Titel (wenn du ihn ändern möchtest).",
|
||||
"Visit address (if you want to change it).": "Besuche Adresse (wenn du sie ändern möchtest).",
|
||||
"Visit load (main unit).": "Laden besuchen (Haupteinheit).",
|
||||
"Visit load (unit 2).": "Besuche Last (Einheit 2).",
|
||||
"Visit load (unit 3).": "Besuche Last (Einheit 3).",
|
||||
"Visit duration (HH:MM:SS).": "Besuchsdauer (HH:MM:SS).",
|
||||
"Visit contact name.": "Besuche den Kontaktname.",
|
||||
"Visit contact phone.": "Kontakt-Telefon besuchen.",
|
||||
"Visit notes.": "Notizen besuchen.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Besuche geplantes Datum (YYY-MM-DD).",
|
||||
"Visit title.": "Titel des Besuchs.",
|
||||
"Visit address.": "Adresse des Besuchs.",
|
||||
"Visit latitude.": "Besuche Breitengrad.",
|
||||
"Visit longitude.": "Längengrad des Besuchs.",
|
||||
"ID of the visit to delete.": "ID des zu löschenden Besuchs.",
|
||||
"ID of the visit to add items to.": "ID des Besuchs, zu dem Elemente hinzugefügt werden sollen.",
|
||||
"Array of items to add to the visit.": "Array der Elemente, die zum Besuch hinzugefügt werden sollen.",
|
||||
"Vehicle ID for the route.": "Fahrzeug-ID für die Strecke.",
|
||||
"Driver ID for the route.": "Treiber-ID für die Route.",
|
||||
"Planned route date (YYYY-MM-DD).": "Geplantes Routendatum (JJJJ-MM-DD).",
|
||||
"Estimated start time (HH:MM:SS).": "Geschätzte Startzeit (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Geschätzte Endzeit (HH:MM:SS).",
|
||||
"Route start address.": "Route Startadresse.",
|
||||
"Route start latitude.": "Route startet Breitengrad.",
|
||||
"Route start longitude.": "Route Start-Längengrad.",
|
||||
"Route end address.": "Endadresse der Route.",
|
||||
"Route end latitude.": "Routenende Länge.",
|
||||
"Route end longitude.": "Längengrad der Route.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "ID Plan (Ausführung) um die Route (UUID) zu verknüpfen.",
|
||||
"Route ID (UUID).": "Route ID (UUID).",
|
||||
"Route ID to delete (UUID).": "Zu löschende Route ID (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Geplantes Datum (JJJJ-MM-TD).",
|
||||
"Plan name.": "Plan Name.",
|
||||
"Start date (YYYY-MM-DD).": "Startdatum (JJJJ-MM-TD).",
|
||||
"End date (YYYY-MM-DD).": "Enddatum (JJJJ-MM-TD).",
|
||||
"ID of the visit to get details for.": "ID des Besuchs, um Details zu erhalten.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Nu<unk> mero de tele<unk> fono.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Ob der Benutzer ein Administrator ist.",
|
||||
"User password.": "Benutzer-Passwort.",
|
||||
"Whether the user is a driver.": "Ob der Benutzer ein Treiber ist.",
|
||||
"Whether the user is a router junior.": "Ob der Benutzer ein Router Junior ist.",
|
||||
"Whether the user is a router.": "Ob der Benutzer ein Router ist.",
|
||||
"Whether the user is a monitor.": "Ob der Benutzer ein Monitor ist.",
|
||||
"Whether the user is a coordinator.": "Ob der Benutzer ein Coordinator ist.",
|
||||
"User ID.": "Benutzer-ID.",
|
||||
"User ID to update.": "Benutzer-ID zu aktualisieren.",
|
||||
"Username (login).": "Benutzername (Login).",
|
||||
"Full name of the user.": "Vollständiger Name des Benutzers.",
|
||||
"User phone number.": "Benutzer-Telefonnummer.",
|
||||
"User email address.": "E-Mail-Adresse des Benutzers.",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
||||
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
|
||||
"GET": "ERHALTEN",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "LÖSCHEN",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Conéctate con SimpliRoute, la plataforma de optimización de entrega de última milla. Gestiona clientes, vehículos, visitas, rutas y optimiza tus operaciones de entrega.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Tu token de SimpliRoute API. Puedes encontrarlo en la configuración de tu cuenta SimpliRoute en la sección API.",
|
||||
"Get Account Details": "Obtener detalles de la cuenta",
|
||||
"Get Clients": "Obtener clientes",
|
||||
"Create Clients": "Crear clientes",
|
||||
"Bulk Delete Clients": "Eliminar clientes en masa",
|
||||
"Create Client Custom Property": "Crear Propiedad personalizada del cliente",
|
||||
"Get Vehicles": "Obtener Vehículos",
|
||||
"Create Vehicle": "Crear vehículo",
|
||||
"Get Vehicle": "Obtener vehículo",
|
||||
"Delete Vehicle": "Eliminar vehículo",
|
||||
"Get Visits": "Obtén visitas",
|
||||
"Create Visits": "Crear visitas",
|
||||
"Get Visit": "Obtener visita",
|
||||
"Update Visit (Partial)": "Actualizar visita (parcial)",
|
||||
"Update Visit (Complete)": "Actualizar visita (completada)",
|
||||
"Delete Visit": "Eliminar visita",
|
||||
"Add Visit Items": "Añadir elementos de visita",
|
||||
"Get Routes": "Obtener Rutas",
|
||||
"Create Route": "Crear ruta",
|
||||
"Get Route": "Obtener ruta",
|
||||
"Delete Route": "Eliminar ruta",
|
||||
"Get Plans": "Obtener planes",
|
||||
"Create an empty plan": "Crear un plan vacío",
|
||||
"Get vehicles with routes on date": "Obtener vehículos con rutas en fecha",
|
||||
"Get Visit Detail": "Detalle de visita",
|
||||
"Get Drivers": "Obtener Motivadores",
|
||||
"Create User": "Crear usuario",
|
||||
"Get User": "Obtener usuario",
|
||||
"Update User": "Actualizar usuario",
|
||||
"Get Skills": "Obtener habilidades",
|
||||
"Get Observations": "Obtener observaciones",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Obtener flotas",
|
||||
"Get Sellers": "Obtén Súper",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Returns account information of the authenticated user via API token.": "Devuelve la información de la cuenta del usuario autenticado a través del token API.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Recuperar la lista de clientes asociados con la cuenta. Puede filtrar por clave del cliente.",
|
||||
"Create one or multiple new clients in the account.": "Crear uno o varios nuevos clientes en la cuenta.",
|
||||
"Delete multiple clients in a single call.": "Eliminar múltiples clientes en una sola llamada.",
|
||||
"Create a new custom attribute for clients.": "Crear un nuevo atributo personalizado para los clientes.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Recuperar la lista de vehículos registrados en la cuenta.",
|
||||
"Register a new vehicle in the account.": "Registrar un nuevo vehículo en la cuenta.",
|
||||
"Retrieve information of a specific vehicle.": "Recuperar información de un vehículo específico.",
|
||||
"Delete a vehicle by its ID.": "Eliminar un vehículo por su ID.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Recuperar todas las visitas registradas. Se puede filtrar por fecha prevista de visita.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Crear visitas. Pueden crearse múltiples visitas en una sola petición.",
|
||||
"Retrieve details of a specific visit by ID.": "Recuperar detalles de una visita específica por ID.",
|
||||
"Partially update fields of an existing visit.": "Actualice parcialmente los campos de una visita existente.",
|
||||
"Completely update an existing visit with all fields.": "Actualiza completamente una visita existente con todos los campos.",
|
||||
"Delete a visit by its ID.": "Eliminar una visita de su ID.",
|
||||
"Add items to an existing visit.": "Añadir elementos a una visita existente.",
|
||||
"Retrieve the list of existing routes.": "Recuperar la lista de rutas existentes.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Crear una nueva ruta manualmente asignando vehículo, conductor y fecha.",
|
||||
"Retrieve details of a specific route.": "Recuperar detalles de una ruta específica.",
|
||||
"Delete a route by its ID.": "Elimina una ruta por su ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Recuperar la lista de planes de ruta guardados (ejecuciones).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Crear un plan vacío (ejecución) sin rutas (reserva un día de planificación).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Devuelve los vehículos que han planificado rutas en la fecha indicada.",
|
||||
"Get detailed information about a specific visit.": "Obtenga información detallada sobre una visita específica.",
|
||||
"Retrieve the list of drivers registered in the account.": "Recuperar la lista de conductores registrados en la cuenta.",
|
||||
"Create new user/driver in the account.": "Crear nuevo usuario/controlador en la cuenta.",
|
||||
"Retrieve information of a specific user by ID.": "Recuperar información de un usuario específico por ID.",
|
||||
"Update information of an existing user.": "Actualizar información de un usuario existente.",
|
||||
"Retrieve the list of skills available in the account.": "Recuperar la lista de habilidades disponibles en la cuenta.",
|
||||
"Retrieve the list of observations available in the account.": "Recuperar la lista de observaciones disponibles en la cuenta.",
|
||||
"Retrieve the list of tags available in the account.": "Recuperar la lista de etiquetas disponibles en la cuenta.",
|
||||
"Retrieve the list of zones available in the account.": "Recuperar la lista de zonas disponibles en la cuenta.",
|
||||
"Retrieve the list of fleets available in the account.": "Recuperar la lista de flotas disponibles en la cuenta.",
|
||||
"Retrieve the list of sellers available in the account.": "Recuperar la lista de vendedores disponibles en la cuenta.",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Client Key": "Clave del cliente",
|
||||
"Clients": "Clientes",
|
||||
"IDs": "IDs",
|
||||
"label": "etiqueta",
|
||||
"type": "tipo",
|
||||
"name": "nombre",
|
||||
"capacity": "capacidad",
|
||||
"default_driver": "motivador por defecto",
|
||||
"location_start_address": "dirección_inicio",
|
||||
"location_start_latitude": "ubicación_inicio_latitud",
|
||||
"location_start_longitude": "ubicación_longitud inicial",
|
||||
"location_end_address": "dirección final",
|
||||
"location_end_latitude": "ubicación de latitud final",
|
||||
"location_end_longitude": "longitud final",
|
||||
"skills": "habilidades",
|
||||
"capacity2": "capacidad2",
|
||||
"capacity3": "capacidad3",
|
||||
"cost": "costo",
|
||||
"shift_start": "Mayús_inicio",
|
||||
"shift_end": "Mayús_fin",
|
||||
"reference_id": "referencia_id",
|
||||
"license_plate": "matrícula",
|
||||
"min_load": "min_carga",
|
||||
"min_load_2": "min_cargar_2",
|
||||
"min_load_3": "cargar_3",
|
||||
"max_visit": "max_visita",
|
||||
"max_time": "max_hora",
|
||||
"rest_time_start": "reposar_inicio",
|
||||
"rest_time_end": "tiempo resto_fin",
|
||||
"rest_time_duration": "duración de tiempo de descanso",
|
||||
"vehicle_id": "id_vehículo",
|
||||
"planned_date": "fecha_planificada",
|
||||
"visits": "visitas",
|
||||
"visit_id": "visitar_id",
|
||||
"title": "título",
|
||||
"address": "dirección",
|
||||
"load": "cargar",
|
||||
"load_2": "cargar_2",
|
||||
"load_3": "cargar_3",
|
||||
"duration": "duración",
|
||||
"contact_name": "contacto_name",
|
||||
"contact_phone": "contacto_teléfono",
|
||||
"notes": "notas",
|
||||
"latitude": "latitud",
|
||||
"longitude": "longitud",
|
||||
"items": "elementos",
|
||||
"vehicle": "vehículo",
|
||||
"driver": "conductor",
|
||||
"estimated_time_start": "hora estimada de inicio",
|
||||
"estimated_time_end": "fin de hora estimada",
|
||||
"plan": "plan",
|
||||
"route_id": "routa_id",
|
||||
"date": "fecha",
|
||||
"start_date": "fecha de inicio",
|
||||
"end_date": "fecha_final",
|
||||
"username": "usuario",
|
||||
"phone": "teléfono",
|
||||
"email": "e-mail",
|
||||
"is_admin": "es_admin",
|
||||
"password": "contraseña",
|
||||
"is_driver": "es_conductor",
|
||||
"is_router_jr": "es_enrutador_jr",
|
||||
"is_router": "es_enrutador",
|
||||
"is_monitor": "es_monitor",
|
||||
"is_coordinator": "es_coordinator",
|
||||
"user_id": "usuario_id",
|
||||
"Method": "Método",
|
||||
"Headers": "Encabezados",
|
||||
"Query Parameters": "Parámetros de consulta",
|
||||
"Body": "Cuerpo",
|
||||
"Response is Binary ?": "¿Respuesta es binaria?",
|
||||
"No Error on Failure": "No hay ningún error en fallo",
|
||||
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
||||
"Unique client key to filter results.": "Clave de cliente única para filtrar los resultados.",
|
||||
"Array of client objects to create.": "Arreglo de objetos del cliente a crear.",
|
||||
"List of client IDs to delete.": "Lista de IDs de cliente a eliminar.",
|
||||
"Label of the new custom property.": "Etiqueta de la nueva propiedad personalizada.",
|
||||
"Property type (str, int, float or bool).": "Tipo de propiedad (str, int, float o bool).",
|
||||
"The name of the vehicle.": "El nombre del vehículo.",
|
||||
"The maximum capacity of the vehicle.": "La capacidad máxima del vehículo.",
|
||||
"The assigned driver ID or null if not assigned.": "El ID del conductor asignado o nulo si no se asigna.",
|
||||
"The starting address of the vehicle.": "La dirección inicial del vehículo.",
|
||||
"The latitude of the starting location.": "La latitud de la ubicación inicial.",
|
||||
"The longitude of the starting location.": "La longitud de la ubicación inicial.",
|
||||
"The ending address of the vehicle.": "La dirección final del vehículo.",
|
||||
"The latitude of the ending location.": "La latitud de la ubicación final.",
|
||||
"The longitude of the ending location.": "La longitud de la ubicación final.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "una lista de IDs de habilidades (formato JSON [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Capacidad secundaria del vehículo.",
|
||||
"Third vehicle capacity.": "Tercera capacidad del vehículo.",
|
||||
"Operational cost of the vehicle.": "Coste operacional del vehículo.",
|
||||
"Start time of the vehicle shift.": "Hora de inicio del desplazamiento del vehículo.",
|
||||
"End time of the vehicle shift.": "Hora final del desplazamiento del vehículo.",
|
||||
"External reference ID of the vehicle.": "ID de referencia externa del vehículo.",
|
||||
"License plate or registration of the vehicle.": "matrícula o matrícula del vehículo.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Se requiere una carga mínima (unidad 1) para enviar.",
|
||||
"Minimum load (unit 2) required.": "Carga mínima (unidad 2) requerida.",
|
||||
"Minimum load (unit 3) required.": "Carga mínima (unidad 3) requerida.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Número máximo de visitas que el vehículo puede realizar.",
|
||||
"Maximum duration of route (in seconds).": "Duración máxima de la ruta (en segundos).",
|
||||
"Start time of rest.": "Hora de inicio del descanso.",
|
||||
"End time of rest.": "Fin del descanso.",
|
||||
"Duration of rest.": "Duración del descanso.",
|
||||
"Vehicle ID.": "ID del vehículo.",
|
||||
"Vehicle ID to delete.": "ID de vehículo a eliminar.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filtrar visitas por fecha prevista (formato AAA-MM-DD).",
|
||||
"Array of visit objects to create.": "Arreglo de objetos de visita a crear.",
|
||||
"Visit ID.": "Visita el ID.",
|
||||
"ID of the visit to update.": "ID de la visita a actualizar.",
|
||||
"Visit title (if you want to change it).": "Visite el título (si desea cambiarlo).",
|
||||
"Visit address (if you want to change it).": "Visita la dirección (si quieres cambiarla).",
|
||||
"Visit load (main unit).": "Carga de visitas (unidad principal).",
|
||||
"Visit load (unit 2).": "Carga de visitas (unidad 2).",
|
||||
"Visit load (unit 3).": "Carga de visitas (unidad 3).",
|
||||
"Visit duration (HH:MM:SS).": "Duración de la visita (HH:MM:SS).",
|
||||
"Visit contact name.": "Visita el nombre de contacto.",
|
||||
"Visit contact phone.": "Visita el teléfono de contacto.",
|
||||
"Visit notes.": "Visita las notas.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Visita fecha prevista (AAA-MM-DD).",
|
||||
"Visit title.": "Título de visita.",
|
||||
"Visit address.": "Dirección de visita.",
|
||||
"Visit latitude.": "Latitud de visitas.",
|
||||
"Visit longitude.": "Visita longitud.",
|
||||
"ID of the visit to delete.": "ID de la visita a eliminar.",
|
||||
"ID of the visit to add items to.": "ID de la visita a la que añadir elementos.",
|
||||
"Array of items to add to the visit.": "Arreglo de artículos a añadir a la visita.",
|
||||
"Vehicle ID for the route.": "ID del vehículo para la ruta.",
|
||||
"Driver ID for the route.": "ID de conductor para la ruta.",
|
||||
"Planned route date (YYYY-MM-DD).": "Fecha de la ruta planificada (AAA-MM-DD).",
|
||||
"Estimated start time (HH:MM:SS).": "Tiempo de inicio estimado (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Tiempo estimado de finalización (HH:MM:SS).",
|
||||
"Route start address.": "Dirección inicial de ruta.",
|
||||
"Route start latitude.": "Latitud de inicio de ruta.",
|
||||
"Route start longitude.": "Longitud de inicio de la ruta.",
|
||||
"Route end address.": "Dirección final de la ruta.",
|
||||
"Route end latitude.": "Latitud final de la ruta.",
|
||||
"Route end longitude.": "Longitud final de la ruta.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "Plan (ejecución) ID para asociar la ruta (UUID).",
|
||||
"Route ID (UUID).": "ID de ruta (UUID).",
|
||||
"Route ID to delete (UUID).": "ID de ruta a eliminar (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Fecha planificada (AAA-MM-DD).",
|
||||
"Plan name.": "Nombre del plan.",
|
||||
"Start date (YYYY-MM-DD).": "Fecha de inicio (AAA-MM-DD).",
|
||||
"End date (YYYY-MM-DD).": "Fecha de fin (AAA-MM-DD).",
|
||||
"ID of the visit to get details for.": "ID de la visita para obtener detalles.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Nutrición de telecomunicaciones.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Si el usuario es un administrador.",
|
||||
"User password.": "Contraseña de usuario.",
|
||||
"Whether the user is a driver.": "Si el usuario es un controlador.",
|
||||
"Whether the user is a router junior.": "Si el usuario es un router junio.",
|
||||
"Whether the user is a router.": "Si el usuario es un router.",
|
||||
"Whether the user is a monitor.": "Si el usuario es un monitor.",
|
||||
"Whether the user is a coordinator.": "Si el usuario es un coordinator.",
|
||||
"User ID.": "ID Usuario.",
|
||||
"User ID to update.": "ID de usuario a actualizar.",
|
||||
"Username (login).": "Nombre de usuario (login).",
|
||||
"Full name of the user.": "Nombre completo del usuario.",
|
||||
"User phone number.": "Número de teléfono del usuario.",
|
||||
"User email address.": "Dirección de correo de usuario.",
|
||||
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
||||
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
|
||||
"GET": "RECOGER",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "BORRAR",
|
||||
"HEAD": "LIMPIO"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Connectez vous à SimpliRoute, la plateforme d'optimisation de livraison du dernier kilomètre. Gérez vos clients, véhicules, visites, itinéraires et optimisez vos opérations de livraison.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Votre jeton API SimpliRoute. Vous pouvez le trouver dans les paramètres de votre compte SimpliRoute dans la section API.",
|
||||
"Get Account Details": "Obtenir les détails du compte",
|
||||
"Get Clients": "Obtenir des clients",
|
||||
"Create Clients": "Créer des clients",
|
||||
"Bulk Delete Clients": "Supprimer en bloc des clients",
|
||||
"Create Client Custom Property": "Créer une propriété client personnalisée",
|
||||
"Get Vehicles": "Obtenir des Véhicules",
|
||||
"Create Vehicle": "Créer un véhicule",
|
||||
"Get Vehicle": "Obtenir le véhicule",
|
||||
"Delete Vehicle": "Supprimer le véhicule",
|
||||
"Get Visits": "Recevoir des visites",
|
||||
"Create Visits": "Créer des visites",
|
||||
"Get Visit": "Recevoir la visite",
|
||||
"Update Visit (Partial)": "Mettre à jour la visite (partielle)",
|
||||
"Update Visit (Complete)": "Mettre à jour la visite (terminé)",
|
||||
"Delete Visit": "Supprimer la visite",
|
||||
"Add Visit Items": "Ajouter des éléments de visite",
|
||||
"Get Routes": "Obtenir des routes",
|
||||
"Create Route": "Créer une route",
|
||||
"Get Route": "Obtenir la route",
|
||||
"Delete Route": "Supprimer la route",
|
||||
"Get Plans": "Obtenir des forfaits",
|
||||
"Create an empty plan": "Créer un plan vide",
|
||||
"Get vehicles with routes on date": "Obtenez des véhicules avec des routes à la date",
|
||||
"Get Visit Detail": "Obtenir les détails de la visite",
|
||||
"Get Drivers": "Obtenir des chauffeurs",
|
||||
"Create User": "Créer un utilisateur",
|
||||
"Get User": "Obtenir un utilisateur",
|
||||
"Update User": "Mise à jour de l'utilisateur",
|
||||
"Get Skills": "Obtenir des Compétences",
|
||||
"Get Observations": "Obtenir des observations",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Obtenir des flottes",
|
||||
"Get Sellers": "Obtenir des vendeurs",
|
||||
"Custom API Call": "Appel d'API personnalisé",
|
||||
"Returns account information of the authenticated user via API token.": "Renvoie les informations du compte de l'utilisateur authentifié via le jeton API.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Récupère la liste des clients associés au compte. Peut filtrer par clé client.",
|
||||
"Create one or multiple new clients in the account.": "Créer un ou plusieurs nouveaux clients dans le compte.",
|
||||
"Delete multiple clients in a single call.": "Supprimer plusieurs clients dans un seul appel.",
|
||||
"Create a new custom attribute for clients.": "Créer un nouvel attribut personnalisé pour les clients.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Récupérez la liste des véhicules immatriculés dans le compte.",
|
||||
"Register a new vehicle in the account.": "Inscrire un nouveau véhicule dans le compte.",
|
||||
"Retrieve information of a specific vehicle.": "Récupérer les informations d'un véhicule spécifique.",
|
||||
"Delete a vehicle by its ID.": "Supprimer un véhicule par son ID.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Récupérer toutes les visites enregistrées. Peut être filtré par date de visite prévue.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Créer des visites. Plusieurs visites peuvent être créées en une seule requête.",
|
||||
"Retrieve details of a specific visit by ID.": "Récupérer les détails d'une visite spécifique par ID.",
|
||||
"Partially update fields of an existing visit.": "Mettre à jour partiellement les champs d'une visite existante.",
|
||||
"Completely update an existing visit with all fields.": "Mettre à jour complètement une visite existante avec tous les champs.",
|
||||
"Delete a visit by its ID.": "Supprimer une visite par son ID.",
|
||||
"Add items to an existing visit.": "Ajouter des éléments à une visite existante.",
|
||||
"Retrieve the list of existing routes.": "Récupérer la liste des itinéraires existants.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Créez un nouvel itinéraire manuellement en assignant le véhicule, le conducteur et la date.",
|
||||
"Retrieve details of a specific route.": "Récupérer les détails d'une route spécifique.",
|
||||
"Delete a route by its ID.": "Supprimer un itinéraire par son ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Récupérer la liste des plans de routage sauvegardés (exécutions).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Créer un plan vide (exécution) sans itinéraires (réserver un jour de planification).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Renvoie les véhicules qui ont prévu des routes à la date indiquée.",
|
||||
"Get detailed information about a specific visit.": "Obtenez des informations détaillées sur une visite spécifique.",
|
||||
"Retrieve the list of drivers registered in the account.": "Récupérer la liste des chauffeurs inscrits dans le compte.",
|
||||
"Create new user/driver in the account.": "Créer un nouvel utilisateur/pilote dans le compte.",
|
||||
"Retrieve information of a specific user by ID.": "Récupère les informations d'un utilisateur spécifique par ID.",
|
||||
"Update information of an existing user.": "Mettre à jour les informations d'un utilisateur existant.",
|
||||
"Retrieve the list of skills available in the account.": "Récupérez la liste des compétences disponibles dans le compte.",
|
||||
"Retrieve the list of observations available in the account.": "Récupérer la liste des observations disponibles dans le compte.",
|
||||
"Retrieve the list of tags available in the account.": "Récupérer la liste des tags disponibles dans le compte.",
|
||||
"Retrieve the list of zones available in the account.": "Récupérer la liste des zones disponibles dans le compte.",
|
||||
"Retrieve the list of fleets available in the account.": "Récupérez la liste des flottes disponibles dans le compte.",
|
||||
"Retrieve the list of sellers available in the account.": "Récupérez la liste des vendeurs disponibles dans le compte.",
|
||||
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
||||
"Client Key": "Clé du client",
|
||||
"Clients": "Clients",
|
||||
"IDs": "IDs",
|
||||
"label": "étiquette",
|
||||
"type": "type de texte",
|
||||
"name": "nom",
|
||||
"capacity": "capacité",
|
||||
"default_driver": "driver par défaut",
|
||||
"location_start_address": "adresse_demarre_localisation",
|
||||
"location_start_latitude": "Localisation_latitude de départ",
|
||||
"location_start_longitude": "location_longitude_debut",
|
||||
"location_end_address": "adresse de fin de localisation",
|
||||
"location_end_latitude": "Localisation de la latitude",
|
||||
"location_end_longitude": "Longueur de la localisation",
|
||||
"skills": "Compétences",
|
||||
"capacity2": "capacité2",
|
||||
"capacity3": "capacité3",
|
||||
"cost": "coûts",
|
||||
"shift_start": "Début",
|
||||
"shift_end": "Maj_fin",
|
||||
"reference_id": "id de référence",
|
||||
"license_plate": "plaque d'immatriculation",
|
||||
"min_load": "min_chargement",
|
||||
"min_load_2": "chargement_min_2",
|
||||
"min_load_3": "chargement_min_3",
|
||||
"max_visit": "max_visite",
|
||||
"max_time": "temps_max",
|
||||
"rest_time_start": "format@@0 rest_time_start",
|
||||
"rest_time_end": "pause_temps_fin",
|
||||
"rest_time_duration": "durée_pause_du_temps",
|
||||
"vehicle_id": "véhicule_id",
|
||||
"planned_date": "date prévue",
|
||||
"visits": "Visites",
|
||||
"visit_id": "id de la visite",
|
||||
"title": "titre",
|
||||
"address": "adresse",
|
||||
"load": "Charger",
|
||||
"load_2": "format@@0 load_2",
|
||||
"load_3": "format@@0 load_3",
|
||||
"duration": "durée",
|
||||
"contact_name": "nom_contact",
|
||||
"contact_phone": "téléphone_contact",
|
||||
"notes": "notes",
|
||||
"latitude": "latitude",
|
||||
"longitude": "longitude",
|
||||
"items": "éléments",
|
||||
"vehicle": "véhicule",
|
||||
"driver": "chauffeur",
|
||||
"estimated_time_start": "heure de début estimée",
|
||||
"estimated_time_end": "heure estimée_fin",
|
||||
"plan": "Forfait",
|
||||
"route_id": "id de la route",
|
||||
"date": "date",
|
||||
"start_date": "Date de début",
|
||||
"end_date": "date_de fin",
|
||||
"username": "nom d'utilisateur",
|
||||
"phone": "téléphone",
|
||||
"email": "courriel",
|
||||
"is_admin": "est administrateur",
|
||||
"password": "password",
|
||||
"is_driver": "is_driver",
|
||||
"is_router_jr": "est un routeur jr",
|
||||
"is_router": "est un routeur",
|
||||
"is_monitor": "is_monitor",
|
||||
"is_coordinator": "est coordinator",
|
||||
"user_id": "ID de l'utilisateur",
|
||||
"Method": "Méthode",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Paramètres de requête",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "La réponse est Binaire ?",
|
||||
"No Error on Failure": "Aucune erreur en cas d'échec",
|
||||
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
||||
"Unique client key to filter results.": "Clé client unique pour filtrer les résultats.",
|
||||
"Array of client objects to create.": "Tableau d'objets clients à créer.",
|
||||
"List of client IDs to delete.": "Liste des ID du client à supprimer.",
|
||||
"Label of the new custom property.": "Étiquette de la nouvelle propriété personnalisée.",
|
||||
"Property type (str, int, float or bool).": "Type de propriété (str, int, float ou bool).",
|
||||
"The name of the vehicle.": "Le nom du véhicule.",
|
||||
"The maximum capacity of the vehicle.": "La capacité maximale du véhicule.",
|
||||
"The assigned driver ID or null if not assigned.": "L'ID du pilote assigné ou NULL s'il n'est pas assigné.",
|
||||
"The starting address of the vehicle.": "L'adresse de départ du véhicule.",
|
||||
"The latitude of the starting location.": "La latitude de l'emplacement de départ.",
|
||||
"The longitude of the starting location.": "La longitude de l'emplacement de départ.",
|
||||
"The ending address of the vehicle.": "L'adresse de fin du véhicule.",
|
||||
"The latitude of the ending location.": "La latitude de l'emplacement de fin.",
|
||||
"The longitude of the ending location.": "La longitude de l'emplacement de fin.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "une liste des ID de compétences (format JSON [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Capacité du véhicule secondaire.",
|
||||
"Third vehicle capacity.": "Troisième capacité du véhicule.",
|
||||
"Operational cost of the vehicle.": "Coût opérationnel du véhicule.",
|
||||
"Start time of the vehicle shift.": "Heure de début du quart de véhicule.",
|
||||
"End time of the vehicle shift.": "Heure de fin du quart du véhicule.",
|
||||
"External reference ID of the vehicle.": "ID de référence externe du véhicule.",
|
||||
"License plate or registration of the vehicle.": "Plaque d'immatriculation ou immatriculation du véhicule.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Charge minimale (unité 1) requise pour l'expédition.",
|
||||
"Minimum load (unit 2) required.": "Charge minimale (unité 2) requise.",
|
||||
"Minimum load (unit 3) required.": "Charge minimale (unité 3) requise.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Nombre maximum de visites que le véhicule peut effectuer.",
|
||||
"Maximum duration of route (in seconds).": "Durée maximale de l'itinéraire (en secondes).",
|
||||
"Start time of rest.": "Heure de début du repos.",
|
||||
"End time of rest.": "Heure de fin de repos.",
|
||||
"Duration of rest.": "Durée du repos.",
|
||||
"Vehicle ID.": "ID du véhicule.",
|
||||
"Vehicle ID to delete.": "ID du véhicule à supprimer.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filtrer les visites par date prévue (format AAAA-MM-JJ).",
|
||||
"Array of visit objects to create.": "Tableau de visite d'objets à créer.",
|
||||
"Visit ID.": "ID de la visite.",
|
||||
"ID of the visit to update.": "ID de la visite à mettre à jour.",
|
||||
"Visit title (if you want to change it).": "Visiter le titre (si vous voulez le changer).",
|
||||
"Visit address (if you want to change it).": "Visiter l'adresse (si vous souhaitez la modifier).",
|
||||
"Visit load (main unit).": "Visiter la charge (unité principale).",
|
||||
"Visit load (unit 2).": "Visiter la charge (unité 2).",
|
||||
"Visit load (unit 3).": "Visiter la charge (unité 3).",
|
||||
"Visit duration (HH:MM:SS).": "Durée de la visite (HH:MM:SS).",
|
||||
"Visit contact name.": "Visiter le nom du contact.",
|
||||
"Visit contact phone.": "Visiter le téléphone du contact.",
|
||||
"Visit notes.": "Visiter les notes.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Visite de la date prévue (AAAA-MM-JJ).",
|
||||
"Visit title.": "Titre de la visite.",
|
||||
"Visit address.": "Adresse de visite.",
|
||||
"Visit latitude.": "Visiter la latitude.",
|
||||
"Visit longitude.": "Visiter la longitude.",
|
||||
"ID of the visit to delete.": "ID de la visite à supprimer.",
|
||||
"ID of the visit to add items to.": "ID de la visite à laquelle ajouter des éléments.",
|
||||
"Array of items to add to the visit.": "Tableau d'éléments à ajouter à la visite.",
|
||||
"Vehicle ID for the route.": "ID du véhicule pour la route.",
|
||||
"Driver ID for the route.": "ID du chauffeur pour l'itinéraire.",
|
||||
"Planned route date (YYYY-MM-DD).": "Date d'itinéraire prévue (AAAA-MM-JJ).",
|
||||
"Estimated start time (HH:MM:SS).": "Heure de début estimée (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Heure de fin estimée (HH:MM:SS).",
|
||||
"Route start address.": "Adresse de début de la route.",
|
||||
"Route start latitude.": "Latitude de démarrage de la route.",
|
||||
"Route start longitude.": "Longitude du début de la route.",
|
||||
"Route end address.": "Adresse de fin de la route.",
|
||||
"Route end latitude.": "Latitude de fin de route.",
|
||||
"Route end longitude.": "Longitude de fin de route.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "ID de plan (exécution) pour associer la route (UUID).",
|
||||
"Route ID (UUID).": "ID de la route (UUID).",
|
||||
"Route ID to delete (UUID).": "ID de la route à supprimer (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Date prévue (AAAA-MM-JJ).",
|
||||
"Plan name.": "Nom du forfait.",
|
||||
"Start date (YYYY-MM-DD).": "Date de début (AAAA-MM-JJ).",
|
||||
"End date (YYYY-MM-DD).": "Date de fin (AAAA-MM-JJ).",
|
||||
"ID of the visit to get details for.": "ID de la visite pour obtenir des détails.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Numéro de téléphone.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Si l'utilisateur est un administrateur.",
|
||||
"User password.": "Mot de passe de l'utilisateur.",
|
||||
"Whether the user is a driver.": "Si l'utilisateur est un pilote.",
|
||||
"Whether the user is a router junior.": "Si l'utilisateur est un junior de routeur.",
|
||||
"Whether the user is a router.": "Si l'utilisateur est un routeur.",
|
||||
"Whether the user is a monitor.": "Si l'utilisateur est un moniteur.",
|
||||
"Whether the user is a coordinator.": "Si l'utilisateur est un coordinateur.",
|
||||
"User ID.": "Identifiant de l'utilisateur.",
|
||||
"User ID to update.": "Identifiant de l'utilisateur à mettre à jour.",
|
||||
"Username (login).": "Nom d'utilisateur (login).",
|
||||
"Full name of the user.": "Nom complet de l'utilisateur.",
|
||||
"User phone number.": "Numéro de téléphone de l'utilisateur.",
|
||||
"User email address.": "Adresse e-mail de l'utilisateur.",
|
||||
"Authorization headers are injected automatically from your connection.": "Les headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
||||
"Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "最後の1マイル配信最適化プラットフォームであるSimpliRoute と接続します。クライアント、車両、訪問、ルート、配信操作の最適化を管理します。",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "SimpliRoute API トークン。これは、API セクションの SimpliRoute アカウント設定で確認できます。",
|
||||
"Get Account Details": "アカウントの詳細を取得",
|
||||
"Get Clients": "クライアントを取得する",
|
||||
"Create Clients": "クライアントを作成",
|
||||
"Bulk Delete Clients": "クライアントの一括削除",
|
||||
"Create Client Custom Property": "クライアントカスタムプロパティを作成",
|
||||
"Get Vehicles": "車両を手に入れる",
|
||||
"Create Vehicle": "車両を作成",
|
||||
"Get Vehicle": "車両を入手",
|
||||
"Delete Vehicle": "車両を削除",
|
||||
"Get Visits": "訪問を取得",
|
||||
"Create Visits": "訪問を作成",
|
||||
"Get Visit": "訪問を取得",
|
||||
"Update Visit (Partial)": "訪問を更新 (一部)",
|
||||
"Update Visit (Complete)": "訪問を更新(完了)",
|
||||
"Delete Visit": "訪問を削除",
|
||||
"Add Visit Items": "訪問アイテムを追加",
|
||||
"Get Routes": "ルート取得",
|
||||
"Create Route": "ルートを作成",
|
||||
"Get Route": "ルート取得",
|
||||
"Delete Route": "ルートを削除",
|
||||
"Get Plans": "プランを入手",
|
||||
"Create an empty plan": "空のプランを作成",
|
||||
"Get vehicles with routes on date": "ルートを持つ車両を日付に取得",
|
||||
"Get Visit Detail": "訪問詳細を取得",
|
||||
"Get Drivers": "ドライバーを取得",
|
||||
"Create User": "ユーザーを作成",
|
||||
"Get User": "ユーザーを取得",
|
||||
"Update User": "ユーザーを更新",
|
||||
"Get Skills": "スキルを入手する",
|
||||
"Get Observations": "観察記録を取得",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "艦隊をゲットする",
|
||||
"Get Sellers": "売り手を獲得",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Returns account information of the authenticated user via API token.": "APIトークンを介して認証されたユーザーのアカウント情報を返します。",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "アカウントに関連付けられているクライアントのリストを取得します。クライアントキーでフィルタリングできます。",
|
||||
"Create one or multiple new clients in the account.": "アカウントに1つまたは複数の新規クライアントを作成します。",
|
||||
"Delete multiple clients in a single call.": "1回の通話で複数のクライアントを削除します。",
|
||||
"Create a new custom attribute for clients.": "クライアントの新しいカスタム属性を作成します。",
|
||||
"Retrieve the list of vehicles registered in the account.": "アカウントに登録されている車両のリストを取得します。",
|
||||
"Register a new vehicle in the account.": "アカウントに新しい車両を登録します。",
|
||||
"Retrieve information of a specific vehicle.": "特定の車両の情報を取得します。",
|
||||
"Delete a vehicle by its ID.": "ID から車両を削除します。",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "登録されたすべての訪問を取得します。予定されている訪問日によってフィルタリングできます。",
|
||||
"Create visits. Multiple visits can be created in a single request.": "訪問を作成します。単一のリクエストで複数の訪問を作成できます。",
|
||||
"Retrieve details of a specific visit by ID.": "IDによる特定の訪問の詳細を取得します。",
|
||||
"Partially update fields of an existing visit.": "既存の訪問のフィールドを部分的に更新します。",
|
||||
"Completely update an existing visit with all fields.": "すべての項目で既存の訪問を完全に更新します。",
|
||||
"Delete a visit by its ID.": "ID による訪問を削除します。",
|
||||
"Add items to an existing visit.": "既存の訪問者にアイテムを追加します。",
|
||||
"Retrieve the list of existing routes.": "既存のルートのリストを取得します。",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "車両、ドライバー、日付を指定して、新しいルートを手動で作成します。",
|
||||
"Retrieve details of a specific route.": "特定のルートの詳細を取得します。",
|
||||
"Delete a route by its ID.": "ID からルートを削除します。",
|
||||
"Retrieve the list of saved routing plans (executions).": "保存されたルーティング プラン (実行) のリストを取得します。",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "ルートなしで空のプラン (実行) を作成します(計画日を予約します)。",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "指定された日付にルートを計画している車両を返します。",
|
||||
"Get detailed information about a specific visit.": "特定の訪問についての詳細情報を取得します。",
|
||||
"Retrieve the list of drivers registered in the account.": "アカウントに登録されているドライバのリストを取得します。",
|
||||
"Create new user/driver in the account.": "アカウントに新しいユーザー/ドライバーを作成します。",
|
||||
"Retrieve information of a specific user by ID.": "ID で特定のユーザーの情報を取得します。",
|
||||
"Update information of an existing user.": "既存のユーザーの情報を更新します。",
|
||||
"Retrieve the list of skills available in the account.": "アカウントで利用可能なスキルのリストを取得します。",
|
||||
"Retrieve the list of observations available in the account.": "アカウントで利用可能な観察記録の一覧を取得します。",
|
||||
"Retrieve the list of tags available in the account.": "アカウントで利用可能なタグの一覧を取得します。",
|
||||
"Retrieve the list of zones available in the account.": "アカウントで利用可能なゾーンのリストを取得します。",
|
||||
"Retrieve the list of fleets available in the account.": "アカウントで利用可能なフリートのリストを取得します。",
|
||||
"Retrieve the list of sellers available in the account.": "アカウントで利用可能な売り手のリストを取得します。",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Client Key": "クライアントキー",
|
||||
"Clients": "クライアント",
|
||||
"IDs": "ID",
|
||||
"label": "ラベル",
|
||||
"type": "タイプ",
|
||||
"name": "名前",
|
||||
"capacity": "容量",
|
||||
"default_driver": "default_driver",
|
||||
"location_start_address": "location_start_address",
|
||||
"location_start_latitude": "location_start_attemperature",
|
||||
"location_start_longitude": "location_start_longude",
|
||||
"location_end_address": "location_end_address",
|
||||
"location_end_latitude": "location_end_latale",
|
||||
"location_end_longitude": "location_end_longude",
|
||||
"skills": "スキル",
|
||||
"capacity2": "容量2",
|
||||
"capacity3": "容量3",
|
||||
"cost": "コスト",
|
||||
"shift_start": "shift_start",
|
||||
"shift_end": "shift_end",
|
||||
"reference_id": "参照ID",
|
||||
"license_plate": "license_plate",
|
||||
"min_load": "min_load",
|
||||
"min_load_2": "min_load_2",
|
||||
"min_load_3": "min_load_3",
|
||||
"max_visit": "最大訪問数",
|
||||
"max_time": "最大時間",
|
||||
"rest_time_start": "rest_time_start",
|
||||
"rest_time_end": "rest_time_end",
|
||||
"rest_time_duration": "rest_time_duration",
|
||||
"vehicle_id": "vehicle_id",
|
||||
"planned_date": "planed_date",
|
||||
"visits": "訪問",
|
||||
"visit_id": "ビジター ID",
|
||||
"title": "タイトル",
|
||||
"address": "住所",
|
||||
"load": "負荷",
|
||||
"load_2": "load_2",
|
||||
"load_3": "load_3",
|
||||
"duration": "期間",
|
||||
"contact_name": "連絡先名",
|
||||
"contact_phone": "連絡先の電話番号",
|
||||
"notes": "メモ",
|
||||
"latitude": "緯度",
|
||||
"longitude": "経度:",
|
||||
"items": "アイテム",
|
||||
"vehicle": "ビークル",
|
||||
"driver": "ドライバ",
|
||||
"estimated_time_start": "estimated_time_start",
|
||||
"estimated_time_end": "estimated_time_end",
|
||||
"plan": "プラン",
|
||||
"route_id": "route_id",
|
||||
"date": "日付",
|
||||
"start_date": "開始日",
|
||||
"end_date": "end_date",
|
||||
"username": "ユーザー名",
|
||||
"phone": "電話番号",
|
||||
"email": "eメールアドレス",
|
||||
"is_admin": "is_admin",
|
||||
"password": "password",
|
||||
"is_driver": "is_driver",
|
||||
"is_router_jr": "is_router_jr",
|
||||
"is_router": "is_router",
|
||||
"is_monitor": "is_monitor",
|
||||
"is_coordinator": "is_coordinator",
|
||||
"user_id": "user_id",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"Unique client key to filter results.": "結果をフィルタリングするためのユニークなクライアントキー。",
|
||||
"Array of client objects to create.": "作成するクライアントオブジェクトの配列。",
|
||||
"List of client IDs to delete.": "削除するクライアントIDのリストです。",
|
||||
"Label of the new custom property.": "新しいカスタムプロパティのラベル。",
|
||||
"Property type (str, int, float or bool).": "プロパティタイプ (str, int, float, bool)",
|
||||
"The name of the vehicle.": "車両の名前。",
|
||||
"The maximum capacity of the vehicle.": "車両の最大容量。",
|
||||
"The assigned driver ID or null if not assigned.": "割り当てられていないドライバID、または割り当てられていない場合は null です。",
|
||||
"The starting address of the vehicle.": "車両の開始アドレス。",
|
||||
"The latitude of the starting location.": "開始場所の緯度。",
|
||||
"The longitude of the starting location.": "開始場所の経度。",
|
||||
"The ending address of the vehicle.": "車両の終了アドレス。",
|
||||
"The latitude of the ending location.": "終了位置の緯度。",
|
||||
"The longitude of the ending location.": "終了位置の経度。",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "スキルID一覧(JSON形式format@@0)",
|
||||
"Secondary vehicle capacity.": "副車両の収容能力。",
|
||||
"Third vehicle capacity.": "3台目の車両容量",
|
||||
"Operational cost of the vehicle.": "車両の運用コスト。",
|
||||
"Start time of the vehicle shift.": "車両シフトの開始時間。",
|
||||
"End time of the vehicle shift.": "車両シフトの終了時刻。",
|
||||
"External reference ID of the vehicle.": "車両の外部参照ID。",
|
||||
"License plate or registration of the vehicle.": "ナンバープレートまたは車両の登録。",
|
||||
"Minimum load (unit 1) required to dispatch.": "ディスパッチに必要な最小負荷(単位1)です。",
|
||||
"Minimum load (unit 2) required.": "最小負荷(ユニット2)が必要です。",
|
||||
"Minimum load (unit 3) required.": "最小負荷(ユニット3)が必要です。",
|
||||
"Maximum number of visits that the vehicle can perform.": "車両が実行できる最大訪問回数。",
|
||||
"Maximum duration of route (in seconds).": "ルートの最大期間(秒単位)。",
|
||||
"Start time of rest.": "残りの開始時間。",
|
||||
"End time of rest.": "残りの終了時間。",
|
||||
"Duration of rest.": "残りの期間。",
|
||||
"Vehicle ID.": "車両ID。",
|
||||
"Vehicle ID to delete.": "削除する車両ID。",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "予定日(YYYY-MM-DD形式)で訪問をフィルタリングします。",
|
||||
"Array of visit objects to create.": "作成するオブジェクトを訪問する配列。",
|
||||
"Visit ID.": "訪問ID。",
|
||||
"ID of the visit to update.": "更新する訪問のID。",
|
||||
"Visit title (if you want to change it).": "タイトルを参照してください(変更したい場合)。",
|
||||
"Visit address (if you want to change it).": "住所を訪問してください(変更したい場合)。",
|
||||
"Visit load (main unit).": "訪問ロード ロード ロード (メインユニット)。",
|
||||
"Visit load (unit 2).": "負荷(ユニット2)をご覧ください。",
|
||||
"Visit load (unit 3).": "負荷(ユニット3)をご覧ください。",
|
||||
"Visit duration (HH:MM:SS).": "訪問時間(HH:MM:SS)。",
|
||||
"Visit contact name.": "連絡先名を参照してください。",
|
||||
"Visit contact phone.": "連絡先の電話にアクセスします。",
|
||||
"Visit notes.": "メモを見る",
|
||||
"Visit planned date (YYYY-MM-DD).": "予定日(YYYY-MM-DD)をご覧ください。",
|
||||
"Visit title.": "タイトルにアクセスします。",
|
||||
"Visit address.": "住所を確認してください",
|
||||
"Visit latitude.": "緯度をご覧ください。",
|
||||
"Visit longitude.": "経度をご覧ください。",
|
||||
"ID of the visit to delete.": "削除する訪問者の ID",
|
||||
"ID of the visit to add items to.": "アイテムを追加するための訪問者ID。",
|
||||
"Array of items to add to the visit.": "訪問に追加するアイテムの配列。",
|
||||
"Vehicle ID for the route.": "ルートの車両ID。",
|
||||
"Driver ID for the route.": "ルートのドライバID。",
|
||||
"Planned route date (YYYY-MM-DD).": "計画日時(YYYY-MM-DD)",
|
||||
"Estimated start time (HH:MM:SS).": "推定開始時間(HH:MM:SS)。",
|
||||
"Estimated end time (HH:MM:SS).": "推定終了時間 (HH:MM:SS)。",
|
||||
"Route start address.": "ルートの開始アドレス。",
|
||||
"Route start latitude.": "ルートは緯度を開始します。",
|
||||
"Route start longitude.": "ルートは経度を開始します。",
|
||||
"Route end address.": "ルートの終了アドレス",
|
||||
"Route end latitude.": "ルートの終了緯度。",
|
||||
"Route end longitude.": "ルートの終了経路です。",
|
||||
"Plan (execution) ID to associate the route (UUID).": "ルート(UUID)を関連付ける計画(実行)ID。",
|
||||
"Route ID (UUID).": "ルートID (UUID)。",
|
||||
"Route ID to delete (UUID).": "削除するルートID (UUID)。",
|
||||
"Planned date (YYYY-MM-DD).": "予定日 (YYYY-MM-DD)",
|
||||
"Plan name.": "プラン名。",
|
||||
"Start date (YYYY-MM-DD).": "開始日 (YYYY-MM-DD)",
|
||||
"End date (YYYY-MM-DD).": "終了日 (YYYY-MM-DD)",
|
||||
"ID of the visit to get details for.": "詳細を取得するための訪問のID。",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "テレフォノ.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "ユーザーが管理者であるかどうか。",
|
||||
"User password.": "ユーザーパスワード。",
|
||||
"Whether the user is a driver.": "ユーザーがドライバーかどうか。",
|
||||
"Whether the user is a router junior.": "ユーザーがルータージュニアであるかどうか。",
|
||||
"Whether the user is a router.": "ユーザーがルーターかどうか。",
|
||||
"Whether the user is a monitor.": "ユーザーがモニターであるかどうか。",
|
||||
"Whether the user is a coordinator.": "ユーザーがコーディネーターであるかどうか。",
|
||||
"User ID.": "ユーザー ID.",
|
||||
"User ID to update.": "更新するユーザー ID",
|
||||
"Username (login).": "ユーザー名 (ログイン)",
|
||||
"Full name of the user.": "ユーザーのフルネーム。",
|
||||
"User phone number.": "ユーザーの電話番号",
|
||||
"User email address.": "ユーザーのメールアドレス",
|
||||
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
||||
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
||||
"GET": "取得",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "削除",
|
||||
"HEAD": "頭"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Maak verbinding met de vereenvoudigingsroute voor de levering optimalisatie. Beheer klanten, voertuigen, bezoeken, routes en optimalisering van uw levering.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Je API-sleutel voor vereenvoudiging. Je kunt dit vinden in je instellingen voor een vereenvoudigde routeaccount onder API-sectie.",
|
||||
"Get Account Details": "Accountgegevens ophalen",
|
||||
"Get Clients": "Klanten ophalen",
|
||||
"Create Clients": "Creëer Clienten",
|
||||
"Bulk Delete Clients": "Bulk verwijderen klanten",
|
||||
"Create Client Custom Property": "Aangepast klant aanmaken",
|
||||
"Get Vehicles": "Krijg voertuigen",
|
||||
"Create Vehicle": "Voortuig maken",
|
||||
"Get Vehicle": "Krijg voertuig",
|
||||
"Delete Vehicle": "Voortuig verwijderen",
|
||||
"Get Visits": "Krijg bezoeken",
|
||||
"Create Visits": "Bezoekers aanmaken",
|
||||
"Get Visit": "Bezoek Opvragen",
|
||||
"Update Visit (Partial)": "Update bezoek (deels)",
|
||||
"Update Visit (Complete)": "Bezoek Bijwerken (Voltooid)",
|
||||
"Delete Visit": "Bezoeking verwijderen",
|
||||
"Add Visit Items": "Bezoekitems toevoegen",
|
||||
"Get Routes": "Krijg Routes",
|
||||
"Create Route": "Route maken",
|
||||
"Get Route": "Route ophalen",
|
||||
"Delete Route": "Verwijder route",
|
||||
"Get Plans": "Haal plannen op",
|
||||
"Create an empty plan": "Maak een leeg plan",
|
||||
"Get vehicles with routes on date": "Krijg voertuigen met routes op datum",
|
||||
"Get Visit Detail": "Bezoekendetail ophalen",
|
||||
"Get Drivers": "Chauffeurs ophalen",
|
||||
"Create User": "Gebruiker aanmaken",
|
||||
"Get User": "Gebruiker ophalen",
|
||||
"Update User": "Gebruiker bijwerken",
|
||||
"Get Skills": "Krijg Vaardigheden",
|
||||
"Get Observations": "Waarnemingen opvragen",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Krijg Vliegtuigen",
|
||||
"Get Sellers": "Verkopers kopen",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Returns account information of the authenticated user via API token.": "Geeft de accountinformatie van de geauthenticeerde gebruiker terug via API-token.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Ophalen van de lijst met klanten die gekoppeld zijn aan het account. Kan filteren op de sleutel van de client.",
|
||||
"Create one or multiple new clients in the account.": "Maak een of meerdere nieuwe klanten aan in het account.",
|
||||
"Delete multiple clients in a single call.": "Meerdere cliënten in een enkel gesprek verwijderen.",
|
||||
"Create a new custom attribute for clients.": "Creëer een nieuw aangepast attribuut voor clients.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Haal de lijst op met geregistreerde voertuigen op de rekening.",
|
||||
"Register a new vehicle in the account.": "Registreer een nieuw voertuig in het account.",
|
||||
"Retrieve information of a specific vehicle.": "Haal informatie op van een specifiek voertuig.",
|
||||
"Delete a vehicle by its ID.": "Verwijder een voertuig met zijn ID.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Haal alle geregistreerde bezoeken op. Kan worden gefilterd op de geplande bezoekdatum.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Creëer bezoeken. Meerdere bezoeken kunnen worden gemaakt in één enkele aanvraag.",
|
||||
"Retrieve details of a specific visit by ID.": "Ophalen details van een specifiek bezoek door ID.",
|
||||
"Partially update fields of an existing visit.": "Update velden van een bestaand bezoek.",
|
||||
"Completely update an existing visit with all fields.": "Een bestaand bezoek met alle velden volledig bijwerken.",
|
||||
"Delete a visit by its ID.": "Verwijder een bezoek van het ID.",
|
||||
"Add items to an existing visit.": "Voeg items toe aan een bestaand bezoek.",
|
||||
"Retrieve the list of existing routes.": "Haal de lijst op met bestaande routes.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Maak handmatig een nieuwe route door het voertuig toe te wijzen, chauffeur en datum.",
|
||||
"Retrieve details of a specific route.": "Ophalen details van een specifieke route.",
|
||||
"Delete a route by its ID.": "Verwijder een route via het ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Haal de lijst op met opgeslagen routeringsplannen (uitvoeringen).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Maak een leeg abonnement (uitvoering) aan zonder routes (reserveer een planningsdag).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Retourneert de voertuigen met de geplande routes op de aangegeven datum.",
|
||||
"Get detailed information about a specific visit.": "Krijg gedetailleerde informatie over een specifiek bezoek.",
|
||||
"Retrieve the list of drivers registered in the account.": "Haal de lijst op met geregistreerde chauffeurs in de account.",
|
||||
"Create new user/driver in the account.": "Maak nieuwe gebruiker/chauffeur aan in het account.",
|
||||
"Retrieve information of a specific user by ID.": "Ophalen informatie van een specifieke gebruiker via ID.",
|
||||
"Update information of an existing user.": "Update informatie van een bestaande gebruiker.",
|
||||
"Retrieve the list of skills available in the account.": "Ophalen van de lijst met beschikbare vaardigheden in de account.",
|
||||
"Retrieve the list of observations available in the account.": "Haal de lijst op met beschikbare waarnemingen in de account.",
|
||||
"Retrieve the list of tags available in the account.": "Ophalen van de lijst met tags beschikbaar in het account.",
|
||||
"Retrieve the list of zones available in the account.": "Ophalen van de lijst met zones beschikbaar in de account.",
|
||||
"Retrieve the list of fleets available in the account.": "Ophalen van de lijst met vloten die in de account beschikbaar zijn.",
|
||||
"Retrieve the list of sellers available in the account.": "Ophalen van de lijst met verkopers die beschikbaar zijn in de account.",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Client Key": "Client sleutel",
|
||||
"Clients": "Klanten",
|
||||
"IDs": "ID's",
|
||||
"label": "omschrijving",
|
||||
"type": "type",
|
||||
"name": "naam",
|
||||
"capacity": "capaciteit",
|
||||
"default_driver": "standaard_driver",
|
||||
"location_start_address": "location_start_adres",
|
||||
"location_start_latitude": "locatie_start_latitude",
|
||||
"location_start_longitude": "location_start_lengtegraad",
|
||||
"location_end_address": "locatie_end_adres",
|
||||
"location_end_latitude": "locatie_end_latitude",
|
||||
"location_end_longitude": "locatie_end_lengtegraad",
|
||||
"skills": "vaardigheden",
|
||||
"capacity2": "capaciteit2",
|
||||
"capacity3": "capaciteit3",
|
||||
"cost": "kosten",
|
||||
"shift_start": "shift_start",
|
||||
"shift_end": "shift_eind",
|
||||
"reference_id": "reference_id",
|
||||
"license_plate": "license_plaat",
|
||||
"min_load": "min_belasting",
|
||||
"min_load_2": "min_load_2",
|
||||
"min_load_3": "min_load_3",
|
||||
"max_visit": "max_visit",
|
||||
"max_time": "max_time",
|
||||
"rest_time_start": "rust_tijd_begin",
|
||||
"rest_time_end": "rust_time_end",
|
||||
"rest_time_duration": "rust_tijd_duur",
|
||||
"vehicle_id": "voorraad_id",
|
||||
"planned_date": "geplande datum",
|
||||
"visits": "bezoeken",
|
||||
"visit_id": "bezoek_id",
|
||||
"title": "aanspreektitel",
|
||||
"address": "adres:",
|
||||
"load": "laden",
|
||||
"load_2": "belasting_2",
|
||||
"load_3": "lading_3",
|
||||
"duration": "tijdsduur",
|
||||
"contact_name": "contact_naam",
|
||||
"contact_phone": "contact_contactgegevens",
|
||||
"notes": "opmerkingen",
|
||||
"latitude": "breedtegraad",
|
||||
"longitude": "lengtegraad",
|
||||
"items": "artikelen",
|
||||
"vehicle": "voertuig",
|
||||
"driver": "chauffeur",
|
||||
"estimated_time_start": "Geschatte tijd_begin",
|
||||
"estimated_time_end": "Geschat_time_end",
|
||||
"plan": "Abonnement",
|
||||
"route_id": "route_id",
|
||||
"date": "datum:",
|
||||
"start_date": "start_datum",
|
||||
"end_date": "einde_datum",
|
||||
"username": "gebruikersnaam",
|
||||
"phone": "telefoonnummer",
|
||||
"email": "e-mail",
|
||||
"is_admin": "is_admin",
|
||||
"password": "wachtwoord",
|
||||
"is_driver": "is_chauffeur",
|
||||
"is_router_jr": "is_router_jr",
|
||||
"is_router": "is_router",
|
||||
"is_monitor": "is_monitor",
|
||||
"is_coordinator": "is_coördinator",
|
||||
"user_id": "Gebruiker_id",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopteksten",
|
||||
"Query Parameters": "Query parameters",
|
||||
"Body": "Lichaam",
|
||||
"Response is Binary ?": "Antwoord is binair?",
|
||||
"No Error on Failure": "Geen fout bij fout",
|
||||
"Timeout (in seconds)": "Time-out (in seconden)",
|
||||
"Unique client key to filter results.": "Unieke klantsleutel om resultaten te filteren.",
|
||||
"Array of client objects to create.": "Array van te maken klantobjecten.",
|
||||
"List of client IDs to delete.": "Lijst met client IDs te verwijderen.",
|
||||
"Label of the new custom property.": "Label van de nieuwe aangepaste eigenschap.",
|
||||
"Property type (str, int, float or bool).": "Eigenschapstype (str, int, float of bool).",
|
||||
"The name of the vehicle.": "De naam van het voertuig.",
|
||||
"The maximum capacity of the vehicle.": "De maximale capaciteit van het voertuig.",
|
||||
"The assigned driver ID or null if not assigned.": "De toegewezen driver ID of null als niet toegewezen.",
|
||||
"The starting address of the vehicle.": "Het vertrekpunt van het voertuig.",
|
||||
"The latitude of the starting location.": "De breedtegraad van de startlocatie.",
|
||||
"The longitude of the starting location.": "De lengtegraad van de startlocatie.",
|
||||
"The ending address of the vehicle.": "Het eindadres van het voertuig.",
|
||||
"The latitude of the ending location.": "De breedtegraad van de eindlocatie.",
|
||||
"The longitude of the ending location.": "De lengtegraad van de eindlocatie.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "een lijst van vaardigheids IDs (JSON formaat [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Secundaire voertuigcapaciteit.",
|
||||
"Third vehicle capacity.": "Derde voertuigcapaciteit.",
|
||||
"Operational cost of the vehicle.": "Operationele kosten van het voertuig.",
|
||||
"Start time of the vehicle shift.": "Begintijd van de voertuigshift.",
|
||||
"End time of the vehicle shift.": "Eindtijd van de voertuigverschuiving.",
|
||||
"External reference ID of the vehicle.": "Externe referentie ID van het voertuig.",
|
||||
"License plate or registration of the vehicle.": "Licentieplaat of registratie van het voertuig.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Minimale belasting (eenheid 1) vereist om te verzenden.",
|
||||
"Minimum load (unit 2) required.": "Minimale belasting (eenheid 2) vereist.",
|
||||
"Minimum load (unit 3) required.": "Minimale belasting (eenheid 3) vereist.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Maximaal aantal bezoeken dat het voertuig kan uitvoeren.",
|
||||
"Maximum duration of route (in seconds).": "Maximale route (in seconden).",
|
||||
"Start time of rest.": "Begintijd van rust.",
|
||||
"End time of rest.": "Eindtijd van rust.",
|
||||
"Duration of rest.": "Duur van rust.",
|
||||
"Vehicle ID.": "Voertuig ID.",
|
||||
"Vehicle ID to delete.": "Voertuig ID om te verwijderen.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filter bezoeken op geplande datum (JJJJ-MM-DD formaat).",
|
||||
"Array of visit objects to create.": "Array van bezoek objecten om aan te maken.",
|
||||
"Visit ID.": "Bezoek ID.",
|
||||
"ID of the visit to update.": "ID van het bezoek om bij te werken.",
|
||||
"Visit title (if you want to change it).": "Bezoek de titel (als u deze wilt wijzigen).",
|
||||
"Visit address (if you want to change it).": "Bezoek adres (als u dit wilt wijzigen).",
|
||||
"Visit load (main unit).": "Bezoek laden (hoofdeenheid).",
|
||||
"Visit load (unit 2).": "Bezoek laden (eenheid 2).",
|
||||
"Visit load (unit 3).": "Bezoek laden (eenheid 3).",
|
||||
"Visit duration (HH:MM:SS).": "Bezoek duur (HH:MM:SS).",
|
||||
"Visit contact name.": "Naam contactpersoon bezoek.",
|
||||
"Visit contact phone.": "Contacttelefoon bezoeken.",
|
||||
"Visit notes.": "Notities bezoeken.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Datum van bezoek (JJJJ-MM-DDD).",
|
||||
"Visit title.": "Bezoek titel.",
|
||||
"Visit address.": "Bezoek adres.",
|
||||
"Visit latitude.": "Bezoek breedte.",
|
||||
"Visit longitude.": "Bezoek lengtegraad.",
|
||||
"ID of the visit to delete.": "ID van het bezoek om te verwijderen.",
|
||||
"ID of the visit to add items to.": "ID van het bezoek om items toe te voegen.",
|
||||
"Array of items to add to the visit.": "Reeks van items om toe te voegen aan het bezoek.",
|
||||
"Vehicle ID for the route.": "Voertuig ID voor de route.",
|
||||
"Driver ID for the route.": "Chauffeur-ID voor de route.",
|
||||
"Planned route date (YYYY-MM-DD).": "Geplande route datum (JJJJ-MM-DDD).",
|
||||
"Estimated start time (HH:MM:SS).": "Geschatte begintijd (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Geschatte eindtijd (HH:MM:SS).",
|
||||
"Route start address.": "Startadres route",
|
||||
"Route start latitude.": "Route start breedtegrond.",
|
||||
"Route start longitude.": "Start lengtegraad route",
|
||||
"Route end address.": "Eindadres route",
|
||||
"Route end latitude.": "Route eind breedtegraad.",
|
||||
"Route end longitude.": "Route einde lengtegraad.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "Plan (uitvoering) ID om de route te koppelen (UUID).",
|
||||
"Route ID (UUID).": "Route ID (UUID).",
|
||||
"Route ID to delete (UUID).": "Route ID om te verwijderen (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Geplande datum (JJJJ-MM-DDD).",
|
||||
"Plan name.": "Naam abonnement.",
|
||||
"Start date (YYYY-MM-DD).": "Startdatum (JJJJ-MM-DDD).",
|
||||
"End date (YYYY-MM-DD).": "Einddatum (JJJJ-MM-DDD).",
|
||||
"ID of the visit to get details for.": "ID van het bezoek om details voor te krijgen.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Voedingsstoffen mero de teleparamfono.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Of de gebruiker een beheerder is.",
|
||||
"User password.": "Wachtwoord van gebruiker.",
|
||||
"Whether the user is a driver.": "Of de gebruiker een stuurprogramma is.",
|
||||
"Whether the user is a router junior.": "Of de gebruiker een router junior is.",
|
||||
"Whether the user is a router.": "Of de gebruiker een router is.",
|
||||
"Whether the user is a monitor.": "Of de gebruiker een monitor is.",
|
||||
"Whether the user is a coordinator.": "Of de gebruiker een coördinator is.",
|
||||
"User ID.": "Gebruiker ID.",
|
||||
"User ID to update.": "Gebruiker-ID om bij te werken.",
|
||||
"Username (login).": "Gebruikersnaam (login).",
|
||||
"Full name of the user.": "Volledige naam van de gebruiker.",
|
||||
"User phone number.": "Gebruikers telefoonnummer",
|
||||
"User email address.": "E-mailadres van gebruiker",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
||||
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
|
||||
"GET": "KRIJG",
|
||||
"POST": "POSTE",
|
||||
"PATCH": "BEKIJK",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "VERWIJDEREN",
|
||||
"HEAD": "HOOFD"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Conecte-se com a SimpliRoute, a plataforma de otimização de entrega de última milha. Gerencie clientes, veículos, visitas, rotas e otimize suas operações de entrega.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Seu token de API SimpliRoute. Você pode encontrar isso nas configurações da sua conta SimpliRoute na seção API.",
|
||||
"Get Account Details": "Obter Detalhes da Conta",
|
||||
"Get Clients": "Obter Clientes",
|
||||
"Create Clients": "Criar clientes",
|
||||
"Bulk Delete Clients": "Deletar Clientes em Massa",
|
||||
"Create Client Custom Property": "Criar Propriedade Personalizada do Cliente",
|
||||
"Get Vehicles": "Obter Veículos",
|
||||
"Create Vehicle": "Criar Veículo",
|
||||
"Get Vehicle": "Pegar Veículo",
|
||||
"Delete Vehicle": "Excluir Veículo",
|
||||
"Get Visits": "Obter Visitas",
|
||||
"Create Visits": "Criar Visitas",
|
||||
"Get Visit": "Obter Visita",
|
||||
"Update Visit (Partial)": "Visita de atualização (parcial)",
|
||||
"Update Visit (Complete)": "Visita de atualização (completa)",
|
||||
"Delete Visit": "Excluir Visita",
|
||||
"Add Visit Items": "Adicionar Itens de Visita",
|
||||
"Get Routes": "Obter Rotas",
|
||||
"Create Route": "Criar rota",
|
||||
"Get Route": "Obter rota",
|
||||
"Delete Route": "Excluir rota",
|
||||
"Get Plans": "Obter Planos",
|
||||
"Create an empty plan": "Criar um plano vazio",
|
||||
"Get vehicles with routes on date": "Pegue veículos com as rotas na data",
|
||||
"Get Visit Detail": "Obter Detalhe da Visita",
|
||||
"Get Drivers": "Obter Drivers",
|
||||
"Create User": "Criar Usuário",
|
||||
"Get User": "Obter Usuário",
|
||||
"Update User": "Atualizar usuário",
|
||||
"Get Skills": "Obtenha Habilidades",
|
||||
"Get Observations": "Obter observações",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Obter Frotas",
|
||||
"Get Sellers": "Obter Vendedores",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Returns account information of the authenticated user via API token.": "Retorna informações da conta do usuário autenticado via token de API.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Recupera a lista de clientes associados com a conta. Pode filtrar por chave de cliente.",
|
||||
"Create one or multiple new clients in the account.": "Criar um ou vários novos clientes na conta.",
|
||||
"Delete multiple clients in a single call.": "Exclua vários clientes em uma única chamada.",
|
||||
"Create a new custom attribute for clients.": "Criar um novo atributo personalizado para clientes.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Recupere a lista de veículos registrados na conta.",
|
||||
"Register a new vehicle in the account.": "Registre um novo veículo na conta.",
|
||||
"Retrieve information of a specific vehicle.": "Recuperar informações de um veículo específico.",
|
||||
"Delete a vehicle by its ID.": "Exclua um veículo por sua identidade.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Recuperar todas as visitas registradas. Pode ser filtrado pela data de visita planejada.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Criar visitas. Várias visitas podem ser criadas em uma única solicitação.",
|
||||
"Retrieve details of a specific visit by ID.": "Recuperar detalhes de uma visita específica por ID.",
|
||||
"Partially update fields of an existing visit.": "Atualiza parcialmente os campos de uma visita existente.",
|
||||
"Completely update an existing visit with all fields.": "Atualize completamente uma visita existente com todos os campos.",
|
||||
"Delete a visit by its ID.": "Excluir uma visita por seu ID.",
|
||||
"Add items to an existing visit.": "Adicionar itens a uma visita existente.",
|
||||
"Retrieve the list of existing routes.": "Recuperar a lista de rotas existentes.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Crie uma nova rota manualmente, atribuindo o veículo, motorista e data.",
|
||||
"Retrieve details of a specific route.": "Recuperar detalhes de uma rota específica.",
|
||||
"Delete a route by its ID.": "Exclua uma rota por sua ID",
|
||||
"Retrieve the list of saved routing plans (executions).": "Recupera a lista de planos de roteamento salvos (execuções).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Criar um plano (execução) vazio sem rotas (reserve um dia de planejamento).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Devolve os veículos que planearam rotas na data indicada.",
|
||||
"Get detailed information about a specific visit.": "Receba informações detalhadas sobre uma visita específica.",
|
||||
"Retrieve the list of drivers registered in the account.": "Recupera a lista de motoristas registrados na conta.",
|
||||
"Create new user/driver in the account.": "Crie um novo usuário/driver na conta.",
|
||||
"Retrieve information of a specific user by ID.": "Recuperar informações de um usuário específico por ID.",
|
||||
"Update information of an existing user.": "Atualizar informações de um usuário existente.",
|
||||
"Retrieve the list of skills available in the account.": "Recupere a lista de habilidades disponíveis na conta.",
|
||||
"Retrieve the list of observations available in the account.": "Recuperar a lista de observações disponíveis na conta.",
|
||||
"Retrieve the list of tags available in the account.": "Recuperar a lista de tags disponíveis na conta.",
|
||||
"Retrieve the list of zones available in the account.": "Recuperar a lista de zonas disponíveis na conta.",
|
||||
"Retrieve the list of fleets available in the account.": "Recuperar a lista de frotas disponíveis na conta.",
|
||||
"Retrieve the list of sellers available in the account.": "Recuperar a lista de vendedores disponíveis na conta.",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Client Key": "Chave do Cliente",
|
||||
"Clients": "Clientes",
|
||||
"IDs": "IDs",
|
||||
"label": "descrição",
|
||||
"type": "tipo",
|
||||
"name": "nome",
|
||||
"capacity": "capacidade",
|
||||
"default_driver": "drive_padrão",
|
||||
"location_start_address": "endereço_iniciar_local",
|
||||
"location_start_latitude": "localização_iniciar_latitude",
|
||||
"location_start_longitude": "local_longitude_inicialização_",
|
||||
"location_end_address": "local_endereço_final",
|
||||
"location_end_latitude": "localização_final_latitude",
|
||||
"location_end_longitude": "localização_final_longitude",
|
||||
"skills": "habilidades",
|
||||
"capacity2": "capacidade2",
|
||||
"capacity3": "capacidade3",
|
||||
"cost": "custo",
|
||||
"shift_start": "iniciar_movimento",
|
||||
"shift_end": "remover_fim",
|
||||
"reference_id": "identificação_de_referência",
|
||||
"license_plate": "placa_licença",
|
||||
"min_load": "min_carregar",
|
||||
"min_load_2": "min_carregar_2",
|
||||
"min_load_3": "min_carregar_3",
|
||||
"max_visit": "max_visita",
|
||||
"max_time": "max_tempo",
|
||||
"rest_time_start": "tempo_iniciar_tempo",
|
||||
"rest_time_end": "tempo_fim",
|
||||
"rest_time_duration": "duração_tempo_de_tempo",
|
||||
"vehicle_id": "id_veículo",
|
||||
"planned_date": "data_planejada",
|
||||
"visits": "visitas",
|
||||
"visit_id": "visite_id",
|
||||
"title": "título",
|
||||
"address": "endereço",
|
||||
"load": "carregar",
|
||||
"load_2": "carregar_2",
|
||||
"load_3": "carregar_3",
|
||||
"duration": "duração",
|
||||
"contact_name": "nome_contato",
|
||||
"contact_phone": "contato_telefone",
|
||||
"notes": "observações",
|
||||
"latitude": "latitude",
|
||||
"longitude": "longitude",
|
||||
"items": "itens",
|
||||
"vehicle": "veículo",
|
||||
"driver": "motorista",
|
||||
"estimated_time_start": "tempo_tempo_estimado",
|
||||
"estimated_time_end": "tempo_tempo_estimado",
|
||||
"plan": "plano",
|
||||
"route_id": "ID_da_rota",
|
||||
"date": "encontro",
|
||||
"start_date": "data_inicial",
|
||||
"end_date": "data_final",
|
||||
"username": "usuário:",
|
||||
"phone": "smartphone",
|
||||
"email": "e-mail",
|
||||
"is_admin": "é_admin",
|
||||
"password": "senha",
|
||||
"is_driver": "motorista_e_de_taxista",
|
||||
"is_router_jr": "é_roteador_jr",
|
||||
"is_router": "é_roteador",
|
||||
"is_monitor": "é_monitor",
|
||||
"is_coordinator": "coordinator",
|
||||
"user_id": "identificador_usuário",
|
||||
"Method": "Método",
|
||||
"Headers": "Cabeçalhos",
|
||||
"Query Parameters": "Parâmetros da consulta",
|
||||
"Body": "Conteúdo",
|
||||
"Response is Binary ?": "A resposta é binária ?",
|
||||
"No Error on Failure": "Nenhum erro no Failure",
|
||||
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
||||
"Unique client key to filter results.": "Chave única do cliente para filtrar resultados.",
|
||||
"Array of client objects to create.": "Array de objetos de clientes para criar.",
|
||||
"List of client IDs to delete.": "Lista de IDs de clientes a excluir.",
|
||||
"Label of the new custom property.": "Etiqueta da nova propriedade personalizada.",
|
||||
"Property type (str, int, float or bool).": "Tipo de propriedade (str, int, float ou bool).",
|
||||
"The name of the vehicle.": "O nome do veículo.",
|
||||
"The maximum capacity of the vehicle.": "A capacidade máxima do veículo.",
|
||||
"The assigned driver ID or null if not assigned.": "A ID de driver atribuída ou nula se não for atribuída.",
|
||||
"The starting address of the vehicle.": "O endereço inicial do veículo.",
|
||||
"The latitude of the starting location.": "A latitude do local inicial.",
|
||||
"The longitude of the starting location.": "A longitude do local inicial.",
|
||||
"The ending address of the vehicle.": "O endereço final do veículo.",
|
||||
"The latitude of the ending location.": "A latitude da localização do terminal.",
|
||||
"The longitude of the ending location.": "A longitude do local de fim.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "uma lista de IDs de habilidade (formato JSON [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Capacidade secundária do veículo.",
|
||||
"Third vehicle capacity.": "Terceira capacidade do veículo.",
|
||||
"Operational cost of the vehicle.": "Custo operacional do veículo.",
|
||||
"Start time of the vehicle shift.": "Hora inicial do turno do veículo.",
|
||||
"End time of the vehicle shift.": "Hora de término do turno do veículo.",
|
||||
"External reference ID of the vehicle.": "ID de referência externa do veículo.",
|
||||
"License plate or registration of the vehicle.": "Placa de licença ou registo do veículo.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Carga mínima (unidade 1) necessária para despachar.",
|
||||
"Minimum load (unit 2) required.": "Carga mínima (unidade 2) necessária.",
|
||||
"Minimum load (unit 3) required.": "Carga mínima (unidade 3) necessária.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Número máximo de visitas que o veículo pode realizar.",
|
||||
"Maximum duration of route (in seconds).": "Duração máxima da rota (em segundos).",
|
||||
"Start time of rest.": "Hora de início do descanso.",
|
||||
"End time of rest.": "Hora de descanso final.",
|
||||
"Duration of rest.": "Duração do descanso.",
|
||||
"Vehicle ID.": "ID do Veículo",
|
||||
"Vehicle ID to delete.": "ID do veículo para eliminar.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filtrar visitas pela data planejada (formato YYYY-MM-DD).",
|
||||
"Array of visit objects to create.": "Array de objetos de visita para criar.",
|
||||
"Visit ID.": "ID da Visita.",
|
||||
"ID of the visit to update.": "ID da visita para atualizar.",
|
||||
"Visit title (if you want to change it).": "Visitar o título (se você quiser mudá-lo).",
|
||||
"Visit address (if you want to change it).": "Visite o endereço (se você quiser alterá-lo).",
|
||||
"Visit load (main unit).": "Carga de visita (unidade principal).",
|
||||
"Visit load (unit 2).": "Carga de visita (unidade 2).",
|
||||
"Visit load (unit 3).": "Carga de visita (unidade 3).",
|
||||
"Visit duration (HH:MM:SS).": "Duração da visita (HH:MM:SS).",
|
||||
"Visit contact name.": "Visite o nome do contato.",
|
||||
"Visit contact phone.": "Visite o telefone de contato.",
|
||||
"Visit notes.": "Ver notas.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Visitar a data planejada (YYYY-MM-DD).",
|
||||
"Visit title.": "Visitar título.",
|
||||
"Visit address.": "Endereço visitado.",
|
||||
"Visit latitude.": "Visite a latitude.",
|
||||
"Visit longitude.": "Visite longitude.",
|
||||
"ID of the visit to delete.": "ID da visita para excluir.",
|
||||
"ID of the visit to add items to.": "ID da visita para adicionar itens.",
|
||||
"Array of items to add to the visit.": "Array de itens para adicionar à visita.",
|
||||
"Vehicle ID for the route.": "ID do veículo para a rota.",
|
||||
"Driver ID for the route.": "ID do driver para a rota.",
|
||||
"Planned route date (YYYY-MM-DD).": "Data Planejada da rota (AAAA-MM-DD).",
|
||||
"Estimated start time (HH:MM:SS).": "Tempo de início estimado (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Tempo de término estimado (HH:MM:SS).",
|
||||
"Route start address.": "Endereço inicial da Rota",
|
||||
"Route start latitude.": "Rota inicia latitude.",
|
||||
"Route start longitude.": "Rota inicia longitude.",
|
||||
"Route end address.": "Endereço final da rota.",
|
||||
"Route end latitude.": "Latitude final de rota.",
|
||||
"Route end longitude.": "Duração da rota final.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "ID do plano (execução) para associar a rota (UUID).",
|
||||
"Route ID (UUID).": "ID da rota (UUID).",
|
||||
"Route ID to delete (UUID).": "ID da rota para excluir (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Data planejada (AAAA-MM-DD).",
|
||||
"Plan name.": "Nome do plano.",
|
||||
"Start date (YYYY-MM-DD).": "Data de início (AAAA-MM-DD).",
|
||||
"End date (YYYY-MM-DD).": "Data final (AAAA-MM-DD).",
|
||||
"ID of the visit to get details for.": "ID da visita para obter detalhes.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Nutrim mero de telefilo.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Se o usuário é um administrador.",
|
||||
"User password.": "Senha do usuário",
|
||||
"Whether the user is a driver.": "Se o usuário é um motorista.",
|
||||
"Whether the user is a router junior.": "Se o usuário é um junior de roteadores.",
|
||||
"Whether the user is a router.": "Se o usuário é um roteador.",
|
||||
"Whether the user is a monitor.": "Se o usuário é um monitor.",
|
||||
"Whether the user is a coordinator.": "Se o usuário é um coordinator.",
|
||||
"User ID.": "ID de usuário.",
|
||||
"User ID to update.": "ID de usuário para atualizar.",
|
||||
"Username (login).": "Nome de usuário (login).",
|
||||
"Full name of the user.": "Nome completo do usuário.",
|
||||
"User phone number.": "Número de telefone usuário.",
|
||||
"User email address.": "E-mail do usuário.",
|
||||
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
||||
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
|
||||
"GET": "OBTER",
|
||||
"POST": "POSTAR",
|
||||
"PATCH": "COMPRAR",
|
||||
"PUT": "COLOCAR",
|
||||
"DELETE": "EXCLUIR",
|
||||
"HEAD": "CABEÇA"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.",
|
||||
"Get Account Details": "Get Account Details",
|
||||
"Get Clients": "Get Clients",
|
||||
"Create Clients": "Create Clients",
|
||||
"Bulk Delete Clients": "Bulk Delete Clients",
|
||||
"Create Client Custom Property": "Create Client Custom Property",
|
||||
"Get Vehicles": "Get Vehicles",
|
||||
"Create Vehicle": "Create Vehicle",
|
||||
"Get Vehicle": "Get Vehicle",
|
||||
"Delete Vehicle": "Delete Vehicle",
|
||||
"Get Visits": "Get Visits",
|
||||
"Create Visits": "Create Visits",
|
||||
"Get Visit": "Get Visit",
|
||||
"Update Visit (Partial)": "Update Visit (Partial)",
|
||||
"Update Visit (Complete)": "Update Visit (Complete)",
|
||||
"Delete Visit": "Delete Visit",
|
||||
"Add Visit Items": "Add Visit Items",
|
||||
"Get Routes": "Get Routes",
|
||||
"Create Route": "Create Route",
|
||||
"Get Route": "Get Route",
|
||||
"Delete Route": "Delete Route",
|
||||
"Get Plans": "Get Plans",
|
||||
"Create an empty plan": "Create an empty plan",
|
||||
"Get vehicles with routes on date": "Get vehicles with routes on date",
|
||||
"Get Visit Detail": "Get Visit Detail",
|
||||
"Get Drivers": "Get Drivers",
|
||||
"Create User": "Create User",
|
||||
"Get User": "Get User",
|
||||
"Update User": "Update User",
|
||||
"Get Skills": "Get Skills",
|
||||
"Get Observations": "Get Observations",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Get Fleets",
|
||||
"Get Sellers": "Get Sellers",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Returns account information of the authenticated user via API token.": "Returns account information of the authenticated user via API token.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Retrieves the list of clients associated with the account. Can filter by client key.",
|
||||
"Create one or multiple new clients in the account.": "Create one or multiple new clients in the account.",
|
||||
"Delete multiple clients in a single call.": "Delete multiple clients in a single call.",
|
||||
"Create a new custom attribute for clients.": "Create a new custom attribute for clients.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Retrieve the list of vehicles registered in the account.",
|
||||
"Register a new vehicle in the account.": "Register a new vehicle in the account.",
|
||||
"Retrieve information of a specific vehicle.": "Retrieve information of a specific vehicle.",
|
||||
"Delete a vehicle by its ID.": "Delete a vehicle by its ID.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Retrieve all registered visits. Can be filtered by planned visit date.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Create visits. Multiple visits can be created in a single request.",
|
||||
"Retrieve details of a specific visit by ID.": "Retrieve details of a specific visit by ID.",
|
||||
"Partially update fields of an existing visit.": "Partially update fields of an existing visit.",
|
||||
"Completely update an existing visit with all fields.": "Completely update an existing visit with all fields.",
|
||||
"Delete a visit by its ID.": "Delete a visit by its ID.",
|
||||
"Add items to an existing visit.": "Add items to an existing visit.",
|
||||
"Retrieve the list of existing routes.": "Retrieve the list of existing routes.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Create a new route manually by assigning vehicle, driver and date.",
|
||||
"Retrieve details of a specific route.": "Retrieve details of a specific route.",
|
||||
"Delete a route by its ID.": "Delete a route by its ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Retrieve the list of saved routing plans (executions).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Create an empty plan (execution) without routes (reserve a planning day).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Returns the vehicles that have planned routes on the indicated date.",
|
||||
"Get detailed information about a specific visit.": "Get detailed information about a specific visit.",
|
||||
"Retrieve the list of drivers registered in the account.": "Retrieve the list of drivers registered in the account.",
|
||||
"Create new user/driver in the account.": "Create new user/driver in the account.",
|
||||
"Retrieve information of a specific user by ID.": "Retrieve information of a specific user by ID.",
|
||||
"Update information of an existing user.": "Update information of an existing user.",
|
||||
"Retrieve the list of skills available in the account.": "Retrieve the list of skills available in the account.",
|
||||
"Retrieve the list of observations available in the account.": "Retrieve the list of observations available in the account.",
|
||||
"Retrieve the list of tags available in the account.": "Retrieve the list of tags available in the account.",
|
||||
"Retrieve the list of zones available in the account.": "Retrieve the list of zones available in the account.",
|
||||
"Retrieve the list of fleets available in the account.": "Retrieve the list of fleets available in the account.",
|
||||
"Retrieve the list of sellers available in the account.": "Retrieve the list of sellers available in the account.",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Client Key": "Client Key",
|
||||
"Clients": "Clients",
|
||||
"IDs": "IDs",
|
||||
"label": "label",
|
||||
"type": "type",
|
||||
"name": "name",
|
||||
"capacity": "capacity",
|
||||
"default_driver": "default_driver",
|
||||
"location_start_address": "location_start_address",
|
||||
"location_start_latitude": "location_start_latitude",
|
||||
"location_start_longitude": "location_start_longitude",
|
||||
"location_end_address": "location_end_address",
|
||||
"location_end_latitude": "location_end_latitude",
|
||||
"location_end_longitude": "location_end_longitude",
|
||||
"skills": "skills",
|
||||
"capacity2": "capacity2",
|
||||
"capacity3": "capacity3",
|
||||
"cost": "cost",
|
||||
"shift_start": "shift_start",
|
||||
"shift_end": "shift_end",
|
||||
"reference_id": "reference_id",
|
||||
"license_plate": "license_plate",
|
||||
"min_load": "min_load",
|
||||
"min_load_2": "min_load_2",
|
||||
"min_load_3": "min_load_3",
|
||||
"max_visit": "max_visit",
|
||||
"max_time": "max_time",
|
||||
"rest_time_start": "rest_time_start",
|
||||
"rest_time_end": "rest_time_end",
|
||||
"rest_time_duration": "rest_time_duration",
|
||||
"vehicle_id": "vehicle_id",
|
||||
"planned_date": "planned_date",
|
||||
"visits": "visits",
|
||||
"visit_id": "visit_id",
|
||||
"title": "title",
|
||||
"address": "address",
|
||||
"load": "load",
|
||||
"load_2": "load_2",
|
||||
"load_3": "load_3",
|
||||
"duration": "duration",
|
||||
"contact_name": "contact_name",
|
||||
"contact_phone": "contact_phone",
|
||||
"notes": "notes",
|
||||
"latitude": "latitude",
|
||||
"longitude": "longitude",
|
||||
"items": "items",
|
||||
"vehicle": "vehicle",
|
||||
"driver": "driver",
|
||||
"estimated_time_start": "estimated_time_start",
|
||||
"estimated_time_end": "estimated_time_end",
|
||||
"plan": "plan",
|
||||
"route_id": "route_id",
|
||||
"date": "date",
|
||||
"start_date": "start_date",
|
||||
"end_date": "end_date",
|
||||
"username": "username",
|
||||
"phone": "phone",
|
||||
"email": "email",
|
||||
"is_admin": "is_admin",
|
||||
"password": "password",
|
||||
"is_driver": "is_driver",
|
||||
"is_router_jr": "is_router_jr",
|
||||
"is_router": "is_router",
|
||||
"is_monitor": "is_monitor",
|
||||
"is_coordinator": "is_coordinator",
|
||||
"user_id": "user_id",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Unique client key to filter results.": "Unique client key to filter results.",
|
||||
"Array of client objects to create.": "Array of client objects to create.",
|
||||
"List of client IDs to delete.": "List of client IDs to delete.",
|
||||
"Label of the new custom property.": "Label of the new custom property.",
|
||||
"Property type (str, int, float or bool).": "Property type (str, int, float or bool).",
|
||||
"The name of the vehicle.": "The name of the vehicle.",
|
||||
"The maximum capacity of the vehicle.": "The maximum capacity of the vehicle.",
|
||||
"The assigned driver ID or null if not assigned.": "The assigned driver ID or null if not assigned.",
|
||||
"The starting address of the vehicle.": "The starting address of the vehicle.",
|
||||
"The latitude of the starting location.": "The latitude of the starting location.",
|
||||
"The longitude of the starting location.": "The longitude of the starting location.",
|
||||
"The ending address of the vehicle.": "The ending address of the vehicle.",
|
||||
"The latitude of the ending location.": "The latitude of the ending location.",
|
||||
"The longitude of the ending location.": "The longitude of the ending location.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "a list of skill IDs (JSON format [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Secondary vehicle capacity.",
|
||||
"Third vehicle capacity.": "Third vehicle capacity.",
|
||||
"Operational cost of the vehicle.": "Operational cost of the vehicle.",
|
||||
"Start time of the vehicle shift.": "Start time of the vehicle shift.",
|
||||
"End time of the vehicle shift.": "End time of the vehicle shift.",
|
||||
"External reference ID of the vehicle.": "External reference ID of the vehicle.",
|
||||
"License plate or registration of the vehicle.": "License plate or registration of the vehicle.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Minimum load (unit 1) required to dispatch.",
|
||||
"Minimum load (unit 2) required.": "Minimum load (unit 2) required.",
|
||||
"Minimum load (unit 3) required.": "Minimum load (unit 3) required.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Maximum number of visits that the vehicle can perform.",
|
||||
"Maximum duration of route (in seconds).": "Maximum duration of route (in seconds).",
|
||||
"Start time of rest.": "Start time of rest.",
|
||||
"End time of rest.": "End time of rest.",
|
||||
"Duration of rest.": "Duration of rest.",
|
||||
"Vehicle ID.": "Vehicle ID.",
|
||||
"Vehicle ID to delete.": "Vehicle ID to delete.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filter visits by planned date (YYYY-MM-DD format).",
|
||||
"Array of visit objects to create.": "Array of visit objects to create.",
|
||||
"Visit ID.": "Visit ID.",
|
||||
"ID of the visit to update.": "ID of the visit to update.",
|
||||
"Visit title (if you want to change it).": "Visit title (if you want to change it).",
|
||||
"Visit address (if you want to change it).": "Visit address (if you want to change it).",
|
||||
"Visit load (main unit).": "Visit load (main unit).",
|
||||
"Visit load (unit 2).": "Visit load (unit 2).",
|
||||
"Visit load (unit 3).": "Visit load (unit 3).",
|
||||
"Visit duration (HH:MM:SS).": "Visit duration (HH:MM:SS).",
|
||||
"Visit contact name.": "Visit contact name.",
|
||||
"Visit contact phone.": "Visit contact phone.",
|
||||
"Visit notes.": "Visit notes.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Visit planned date (YYYY-MM-DD).",
|
||||
"Visit title.": "Visit title.",
|
||||
"Visit address.": "Visit address.",
|
||||
"Visit latitude.": "Visit latitude.",
|
||||
"Visit longitude.": "Visit longitude.",
|
||||
"ID of the visit to delete.": "ID of the visit to delete.",
|
||||
"ID of the visit to add items to.": "ID of the visit to add items to.",
|
||||
"Array of items to add to the visit.": "Array of items to add to the visit.",
|
||||
"Vehicle ID for the route.": "Vehicle ID for the route.",
|
||||
"Driver ID for the route.": "Driver ID for the route.",
|
||||
"Planned route date (YYYY-MM-DD).": "Planned route date (YYYY-MM-DD).",
|
||||
"Estimated start time (HH:MM:SS).": "Estimated start time (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Estimated end time (HH:MM:SS).",
|
||||
"Route start address.": "Route start address.",
|
||||
"Route start latitude.": "Route start latitude.",
|
||||
"Route start longitude.": "Route start longitude.",
|
||||
"Route end address.": "Route end address.",
|
||||
"Route end latitude.": "Route end latitude.",
|
||||
"Route end longitude.": "Route end longitude.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "Plan (execution) ID to associate the route (UUID).",
|
||||
"Route ID (UUID).": "Route ID (UUID).",
|
||||
"Route ID to delete (UUID).": "Route ID to delete (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Planned date (YYYY-MM-DD).",
|
||||
"Plan name.": "Plan name.",
|
||||
"Start date (YYYY-MM-DD).": "Start date (YYYY-MM-DD).",
|
||||
"End date (YYYY-MM-DD).": "End date (YYYY-MM-DD).",
|
||||
"ID of the visit to get details for.": "ID of the visit to get details for.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Número de teléfono.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Whether the user is an administrator.",
|
||||
"User password.": "User password.",
|
||||
"Whether the user is a driver.": "Whether the user is a driver.",
|
||||
"Whether the user is a router junior.": "Whether the user is a router junior.",
|
||||
"Whether the user is a router.": "Whether the user is a router.",
|
||||
"Whether the user is a monitor.": "Whether the user is a monitor.",
|
||||
"Whether the user is a coordinator.": "Whether the user is a coordinator.",
|
||||
"User ID.": "User ID.",
|
||||
"User ID to update.": "User ID to update.",
|
||||
"Username (login).": "Username (login).",
|
||||
"Full name of the user.": "Full name of the user.",
|
||||
"User phone number.": "User phone number.",
|
||||
"User email address.": "User email address.",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.": "Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.",
|
||||
"Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.": "Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.",
|
||||
"Get Account Details": "Get Account Details",
|
||||
"Get Clients": "Get Clients",
|
||||
"Create Clients": "Create Clients",
|
||||
"Bulk Delete Clients": "Bulk Delete Clients",
|
||||
"Create Client Custom Property": "Create Client Custom Property",
|
||||
"Get Vehicles": "Get Vehicles",
|
||||
"Create Vehicle": "Create Vehicle",
|
||||
"Get Vehicle": "Get Vehicle",
|
||||
"Delete Vehicle": "Delete Vehicle",
|
||||
"Get Visits": "Get Visits",
|
||||
"Create Visits": "Create Visits",
|
||||
"Get Visit": "Get Visit",
|
||||
"Update Visit (Partial)": "Update Visit (Partial)",
|
||||
"Update Visit (Complete)": "Update Visit (Complete)",
|
||||
"Delete Visit": "Delete Visit",
|
||||
"Add Visit Items": "Add Visit Items",
|
||||
"Get Routes": "Get Routes",
|
||||
"Create Route": "Create Route",
|
||||
"Get Route": "Get Route",
|
||||
"Delete Route": "Delete Route",
|
||||
"Get Plans": "Get Plans",
|
||||
"Create an empty plan": "Create an empty plan",
|
||||
"Get vehicles with routes on date": "Get vehicles with routes on date",
|
||||
"Get Visit Detail": "Get Visit Detail",
|
||||
"Get Drivers": "Get Drivers",
|
||||
"Create User": "Create User",
|
||||
"Get User": "Get User",
|
||||
"Update User": "Update User",
|
||||
"Get Skills": "Get Skills",
|
||||
"Get Observations": "Get Observations",
|
||||
"Get Tags": "Get Tags",
|
||||
"Get Zones": "Get Zones",
|
||||
"Get Fleets": "Get Fleets",
|
||||
"Get Sellers": "Get Sellers",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Returns account information of the authenticated user via API token.": "Returns account information of the authenticated user via API token.",
|
||||
"Retrieves the list of clients associated with the account. Can filter by client key.": "Retrieves the list of clients associated with the account. Can filter by client key.",
|
||||
"Create one or multiple new clients in the account.": "Create one or multiple new clients in the account.",
|
||||
"Delete multiple clients in a single call.": "Delete multiple clients in a single call.",
|
||||
"Create a new custom attribute for clients.": "Create a new custom attribute for clients.",
|
||||
"Retrieve the list of vehicles registered in the account.": "Retrieve the list of vehicles registered in the account.",
|
||||
"Register a new vehicle in the account.": "Register a new vehicle in the account.",
|
||||
"Retrieve information of a specific vehicle.": "Retrieve information of a specific vehicle.",
|
||||
"Delete a vehicle by its ID.": "Delete a vehicle by its ID.",
|
||||
"Retrieve all registered visits. Can be filtered by planned visit date.": "Retrieve all registered visits. Can be filtered by planned visit date.",
|
||||
"Create visits. Multiple visits can be created in a single request.": "Create visits. Multiple visits can be created in a single request.",
|
||||
"Retrieve details of a specific visit by ID.": "Retrieve details of a specific visit by ID.",
|
||||
"Partially update fields of an existing visit.": "Partially update fields of an existing visit.",
|
||||
"Completely update an existing visit with all fields.": "Completely update an existing visit with all fields.",
|
||||
"Delete a visit by its ID.": "Delete a visit by its ID.",
|
||||
"Add items to an existing visit.": "Add items to an existing visit.",
|
||||
"Retrieve the list of existing routes.": "Retrieve the list of existing routes.",
|
||||
"Create a new route manually by assigning vehicle, driver and date.": "Create a new route manually by assigning vehicle, driver and date.",
|
||||
"Retrieve details of a specific route.": "Retrieve details of a specific route.",
|
||||
"Delete a route by its ID.": "Delete a route by its ID.",
|
||||
"Retrieve the list of saved routing plans (executions).": "Retrieve the list of saved routing plans (executions).",
|
||||
"Create an empty plan (execution) without routes (reserve a planning day).": "Create an empty plan (execution) without routes (reserve a planning day).",
|
||||
"Returns the vehicles that have planned routes on the indicated date.": "Returns the vehicles that have planned routes on the indicated date.",
|
||||
"Get detailed information about a specific visit.": "Get detailed information about a specific visit.",
|
||||
"Retrieve the list of drivers registered in the account.": "Retrieve the list of drivers registered in the account.",
|
||||
"Create new user/driver in the account.": "Create new user/driver in the account.",
|
||||
"Retrieve information of a specific user by ID.": "Retrieve information of a specific user by ID.",
|
||||
"Update information of an existing user.": "Update information of an existing user.",
|
||||
"Retrieve the list of skills available in the account.": "Retrieve the list of skills available in the account.",
|
||||
"Retrieve the list of observations available in the account.": "Retrieve the list of observations available in the account.",
|
||||
"Retrieve the list of tags available in the account.": "Retrieve the list of tags available in the account.",
|
||||
"Retrieve the list of zones available in the account.": "Retrieve the list of zones available in the account.",
|
||||
"Retrieve the list of fleets available in the account.": "Retrieve the list of fleets available in the account.",
|
||||
"Retrieve the list of sellers available in the account.": "Retrieve the list of sellers available in the account.",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Client Key": "Client Key",
|
||||
"Clients": "Clients",
|
||||
"IDs": "IDs",
|
||||
"label": "label",
|
||||
"type": "类型",
|
||||
"name": "名称",
|
||||
"capacity": "capacity",
|
||||
"default_driver": "default_driver",
|
||||
"location_start_address": "location_start_address",
|
||||
"location_start_latitude": "location_start_latitude",
|
||||
"location_start_longitude": "location_start_longitude",
|
||||
"location_end_address": "location_end_address",
|
||||
"location_end_latitude": "location_end_latitude",
|
||||
"location_end_longitude": "location_end_longitude",
|
||||
"skills": "skills",
|
||||
"capacity2": "capacity2",
|
||||
"capacity3": "capacity3",
|
||||
"cost": "cost",
|
||||
"shift_start": "shift_start",
|
||||
"shift_end": "shift_end",
|
||||
"reference_id": "reference_id",
|
||||
"license_plate": "license_plate",
|
||||
"min_load": "min_load",
|
||||
"min_load_2": "min_load_2",
|
||||
"min_load_3": "min_load_3",
|
||||
"max_visit": "max_visit",
|
||||
"max_time": "max_time",
|
||||
"rest_time_start": "rest_time_start",
|
||||
"rest_time_end": "rest_time_end",
|
||||
"rest_time_duration": "rest_time_duration",
|
||||
"vehicle_id": "vehicle_id",
|
||||
"planned_date": "planned_date",
|
||||
"visits": "visits",
|
||||
"visit_id": "visit_id",
|
||||
"title": "标题",
|
||||
"address": "address",
|
||||
"load": "load",
|
||||
"load_2": "load_2",
|
||||
"load_3": "load_3",
|
||||
"duration": "期限",
|
||||
"contact_name": "contact_name",
|
||||
"contact_phone": "contact_phone",
|
||||
"notes": "notes",
|
||||
"latitude": "latitude",
|
||||
"longitude": "longitude",
|
||||
"items": "项目",
|
||||
"vehicle": "vehicle",
|
||||
"driver": "driver",
|
||||
"estimated_time_start": "estimated_time_start",
|
||||
"estimated_time_end": "estimated_time_end",
|
||||
"plan": "plan",
|
||||
"route_id": "route_id",
|
||||
"date": "date",
|
||||
"start_date": "start_date",
|
||||
"end_date": "end_date",
|
||||
"username": "用户名",
|
||||
"phone": "phone",
|
||||
"email": "电子邮件地址",
|
||||
"is_admin": "is_admin",
|
||||
"password": "密码",
|
||||
"is_driver": "is_driver",
|
||||
"is_router_jr": "is_router_jr",
|
||||
"is_router": "is_router",
|
||||
"is_monitor": "is_monitor",
|
||||
"is_coordinator": "is_coordinator",
|
||||
"user_id": "user_id",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"Unique client key to filter results.": "Unique client key to filter results.",
|
||||
"Array of client objects to create.": "Array of client objects to create.",
|
||||
"List of client IDs to delete.": "List of client IDs to delete.",
|
||||
"Label of the new custom property.": "Label of the new custom property.",
|
||||
"Property type (str, int, float or bool).": "Property type (str, int, float or bool).",
|
||||
"The name of the vehicle.": "The name of the vehicle.",
|
||||
"The maximum capacity of the vehicle.": "The maximum capacity of the vehicle.",
|
||||
"The assigned driver ID or null if not assigned.": "The assigned driver ID or null if not assigned.",
|
||||
"The starting address of the vehicle.": "The starting address of the vehicle.",
|
||||
"The latitude of the starting location.": "The latitude of the starting location.",
|
||||
"The longitude of the starting location.": "The longitude of the starting location.",
|
||||
"The ending address of the vehicle.": "The ending address of the vehicle.",
|
||||
"The latitude of the ending location.": "The latitude of the ending location.",
|
||||
"The longitude of the ending location.": "The longitude of the ending location.",
|
||||
"a list of skill IDs (JSON format [1, 2]).": "a list of skill IDs (JSON format [1, 2]).",
|
||||
"Secondary vehicle capacity.": "Secondary vehicle capacity.",
|
||||
"Third vehicle capacity.": "Third vehicle capacity.",
|
||||
"Operational cost of the vehicle.": "Operational cost of the vehicle.",
|
||||
"Start time of the vehicle shift.": "Start time of the vehicle shift.",
|
||||
"End time of the vehicle shift.": "End time of the vehicle shift.",
|
||||
"External reference ID of the vehicle.": "External reference ID of the vehicle.",
|
||||
"License plate or registration of the vehicle.": "License plate or registration of the vehicle.",
|
||||
"Minimum load (unit 1) required to dispatch.": "Minimum load (unit 1) required to dispatch.",
|
||||
"Minimum load (unit 2) required.": "Minimum load (unit 2) required.",
|
||||
"Minimum load (unit 3) required.": "Minimum load (unit 3) required.",
|
||||
"Maximum number of visits that the vehicle can perform.": "Maximum number of visits that the vehicle can perform.",
|
||||
"Maximum duration of route (in seconds).": "Maximum duration of route (in seconds).",
|
||||
"Start time of rest.": "Start time of rest.",
|
||||
"End time of rest.": "End time of rest.",
|
||||
"Duration of rest.": "Duration of rest.",
|
||||
"Vehicle ID.": "Vehicle ID.",
|
||||
"Vehicle ID to delete.": "Vehicle ID to delete.",
|
||||
"Filter visits by planned date (YYYY-MM-DD format).": "Filter visits by planned date (YYYY-MM-DD format).",
|
||||
"Array of visit objects to create.": "Array of visit objects to create.",
|
||||
"Visit ID.": "Visit ID.",
|
||||
"ID of the visit to update.": "ID of the visit to update.",
|
||||
"Visit title (if you want to change it).": "Visit title (if you want to change it).",
|
||||
"Visit address (if you want to change it).": "Visit address (if you want to change it).",
|
||||
"Visit load (main unit).": "Visit load (main unit).",
|
||||
"Visit load (unit 2).": "Visit load (unit 2).",
|
||||
"Visit load (unit 3).": "Visit load (unit 3).",
|
||||
"Visit duration (HH:MM:SS).": "Visit duration (HH:MM:SS).",
|
||||
"Visit contact name.": "Visit contact name.",
|
||||
"Visit contact phone.": "Visit contact phone.",
|
||||
"Visit notes.": "Visit notes.",
|
||||
"Visit planned date (YYYY-MM-DD).": "Visit planned date (YYYY-MM-DD).",
|
||||
"Visit title.": "Visit title.",
|
||||
"Visit address.": "Visit address.",
|
||||
"Visit latitude.": "Visit latitude.",
|
||||
"Visit longitude.": "Visit longitude.",
|
||||
"ID of the visit to delete.": "ID of the visit to delete.",
|
||||
"ID of the visit to add items to.": "ID of the visit to add items to.",
|
||||
"Array of items to add to the visit.": "Array of items to add to the visit.",
|
||||
"Vehicle ID for the route.": "Vehicle ID for the route.",
|
||||
"Driver ID for the route.": "Driver ID for the route.",
|
||||
"Planned route date (YYYY-MM-DD).": "Planned route date (YYYY-MM-DD).",
|
||||
"Estimated start time (HH:MM:SS).": "Estimated start time (HH:MM:SS).",
|
||||
"Estimated end time (HH:MM:SS).": "Estimated end time (HH:MM:SS).",
|
||||
"Route start address.": "Route start address.",
|
||||
"Route start latitude.": "Route start latitude.",
|
||||
"Route start longitude.": "Route start longitude.",
|
||||
"Route end address.": "Route end address.",
|
||||
"Route end latitude.": "Route end latitude.",
|
||||
"Route end longitude.": "Route end longitude.",
|
||||
"Plan (execution) ID to associate the route (UUID).": "Plan (execution) ID to associate the route (UUID).",
|
||||
"Route ID (UUID).": "Route ID (UUID).",
|
||||
"Route ID to delete (UUID).": "Route ID to delete (UUID).",
|
||||
"Planned date (YYYY-MM-DD).": "Planned date (YYYY-MM-DD).",
|
||||
"Plan name.": "Plan name.",
|
||||
"Start date (YYYY-MM-DD).": "Start date (YYYY-MM-DD).",
|
||||
"End date (YYYY-MM-DD).": "End date (YYYY-MM-DD).",
|
||||
"ID of the visit to get details for.": "ID of the visit to get details for.",
|
||||
"Nombre de usuario (login).": "Nombre de usuario (login).",
|
||||
"Nombre completo del usuario.": "Nombre completo del usuario.",
|
||||
"Número de teléfono.": "Número de teléfono.",
|
||||
"Correo electrónico.": "Correo electrónico.",
|
||||
"Whether the user is an administrator.": "Whether the user is an administrator.",
|
||||
"User password.": "User password.",
|
||||
"Whether the user is a driver.": "Whether the user is a driver.",
|
||||
"Whether the user is a router junior.": "Whether the user is a router junior.",
|
||||
"Whether the user is a router.": "Whether the user is a router.",
|
||||
"Whether the user is a monitor.": "Whether the user is a monitor.",
|
||||
"Whether the user is a coordinator.": "Whether the user is a coordinator.",
|
||||
"User ID.": "User ID.",
|
||||
"User ID to update.": "User ID to update.",
|
||||
"Username (login).": "Username (login).",
|
||||
"Full name of the user.": "Full name of the user.",
|
||||
"User phone number.": "User phone number.",
|
||||
"User email address.": "User email address.",
|
||||
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"GET": "获取",
|
||||
"POST": "帖子",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "弹出",
|
||||
"DELETE": "删除",
|
||||
"HEAD": "黑色"
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
import { createCustomApiCallAction, httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
|
||||
// Account actions
|
||||
import { get_me } from './lib/actions/account/get-me';
|
||||
|
||||
// Client actions
|
||||
import { bulk_delete_clients } from './lib/actions/clients/bulk-delete-clients';
|
||||
import { create_client_property } from './lib/actions/clients/create-client-property';
|
||||
import { create_clients } from './lib/actions/clients/create-clients';
|
||||
import { get_clients } from './lib/actions/clients/get-clients';
|
||||
|
||||
// Vehicle actions
|
||||
import { create_vehicle } from './lib/actions/vehicles/create-vehicle';
|
||||
import { delete_vehicle } from './lib/actions/vehicles/delete-vehicle';
|
||||
import { get_vehicle } from './lib/actions/vehicles/get-vehicle';
|
||||
import { get_vehicles } from './lib/actions/vehicles/get-vehicles';
|
||||
|
||||
// Visit actions
|
||||
import { add_visit_items } from './lib/actions/visits/add-visit-items';
|
||||
import { create_visits } from './lib/actions/visits/create-visits';
|
||||
import { delete_visit } from './lib/actions/visits/delete-visit';
|
||||
import { get_visit } from './lib/actions/visits/get-visit';
|
||||
import { get_visit_detail } from './lib/actions/visits/get-visit-detail';
|
||||
import { get_visits } from './lib/actions/visits/get-visits';
|
||||
import { update_visit } from './lib/actions/visits/update-visit';
|
||||
import { update_visit_partial } from './lib/actions/visits/update-visit-partial';
|
||||
|
||||
// Route actions
|
||||
import { create_route } from './lib/actions/routes/create-route';
|
||||
import { delete_route } from './lib/actions/routes/delete-route';
|
||||
import { get_route } from './lib/actions/routes/get-route';
|
||||
import { get_routes } from './lib/actions/routes/get-routes';
|
||||
|
||||
// Plan actions
|
||||
import { create_plan } from './lib/actions/plans/create-plan';
|
||||
import { get_plan_vehicles } from './lib/actions/plans/get-plan-vehicles';
|
||||
import { get_plans } from './lib/actions/plans/get-plans';
|
||||
|
||||
// User actions
|
||||
import { create_users } from './lib/actions/users/create-users';
|
||||
import { get_drivers } from './lib/actions/users/get-drivers';
|
||||
import { get_user } from './lib/actions/users/get-user';
|
||||
import { update_user } from './lib/actions/users/update-user';
|
||||
|
||||
// Metadata actions
|
||||
import { get_fleets } from './lib/actions/metadata/get-fleets';
|
||||
import { get_observations } from './lib/actions/metadata/get-observations';
|
||||
import { get_sellers } from './lib/actions/metadata/get-sellers';
|
||||
import { get_skills } from './lib/actions/metadata/get-skills';
|
||||
import { get_tags } from './lib/actions/metadata/get-tags';
|
||||
import { get_zones } from './lib/actions/metadata/get-zones';
|
||||
|
||||
export const simplirouteAuth = PieceAuth.SecretText({
|
||||
displayName: 'API Key',
|
||||
required: true,
|
||||
description: 'Your SimpliRoute API token. You can find this in your SimpliRoute account settings under API section.',
|
||||
validate: async (auth) => {
|
||||
try {
|
||||
console.log('Auth validation - received auth:', typeof auth, auth);
|
||||
const token = typeof auth === 'string' ? auth : (auth as { auth?: string })?.auth || auth;
|
||||
console.log('Auth validation - extracted token:', token);
|
||||
|
||||
if (!token || typeof token !== 'string') {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Invalid token format'
|
||||
};
|
||||
}
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `https://api.simpliroute.com/v1/accounts/api-token/${token}/validate/`,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
});
|
||||
|
||||
if (response.status === 200 && response.body && response.body.isvalid === true) {
|
||||
return {
|
||||
valid: true
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Invalid API token or authentication failed'
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Failed to validate API token. Please check your token and try again.'
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export const simpliroute = createPiece({
|
||||
displayName: 'SimpliRoute',
|
||||
description: 'Connect with SimpliRoute, the last-mile delivery optimization platform. Manage clients, vehicles, visits, routes, and optimize your delivery operations.',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/simpliroute.png',
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
categories: [PieceCategory.PRODUCTIVITY, PieceCategory.BUSINESS_INTELLIGENCE],
|
||||
authors: ['rfjaimes-simpli'],
|
||||
auth: simplirouteAuth,
|
||||
actions: [
|
||||
get_me,
|
||||
get_clients,
|
||||
create_clients,
|
||||
bulk_delete_clients,
|
||||
create_client_property,
|
||||
get_vehicles,
|
||||
create_vehicle,
|
||||
get_vehicle,
|
||||
delete_vehicle,
|
||||
get_visits,
|
||||
create_visits,
|
||||
get_visit,
|
||||
update_visit_partial,
|
||||
update_visit,
|
||||
delete_visit,
|
||||
add_visit_items,
|
||||
get_routes,
|
||||
create_route,
|
||||
get_route,
|
||||
delete_route,
|
||||
get_plans,
|
||||
create_plan,
|
||||
get_plan_vehicles,
|
||||
get_visit_detail,
|
||||
get_drivers,
|
||||
create_users,
|
||||
get_user,
|
||||
update_user,
|
||||
get_skills,
|
||||
get_observations,
|
||||
get_tags,
|
||||
get_zones,
|
||||
get_fleets,
|
||||
get_sellers,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => 'https://api.simpliroute.com',
|
||||
auth: simplirouteAuth,
|
||||
authMapping: async (auth) => ({
|
||||
Authorization: `Token ${auth}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_me = createAction({
|
||||
name: 'get_me',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Account Details',
|
||||
description: 'Returns account information of the authenticated user via API token.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/accounts/me/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,38 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const bulk_delete_clients = createAction({
|
||||
name: 'bulk_delete_clients',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Bulk Delete Clients',
|
||||
description: 'Delete multiple clients in a single call.',
|
||||
props: {
|
||||
ids: Property.Array({
|
||||
displayName: 'IDs',
|
||||
description: 'List of client IDs to delete.',
|
||||
required: true,
|
||||
properties: {
|
||||
id: Property.Number({ displayName: 'ID', required: true }),
|
||||
}
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const theIds = context.propsValue.ids;
|
||||
const body = (theIds as Array<{ id: number }>).map(client => client.id);
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url: `${API_BASE_URL}/v1/accounts/clients/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,39 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_client_property = createAction({
|
||||
name: 'create_client_property',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create Client Custom Property',
|
||||
description: 'Create a new custom attribute for clients.',
|
||||
props: {
|
||||
label: Property.ShortText({
|
||||
displayName: 'label',
|
||||
description: 'Label of the new custom property.',
|
||||
required: true
|
||||
}),
|
||||
type: Property.ShortText({
|
||||
displayName: 'type',
|
||||
description: 'Property type (str, int, float or bool).',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/planner/client-properties/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,54 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_clients = createAction({
|
||||
name: 'create_clients',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create Clients',
|
||||
description: 'Create one or multiple new clients in the account.',
|
||||
props: {
|
||||
clients: Property.Array({
|
||||
displayName: 'Clients',
|
||||
description: 'Array of client objects to create.',
|
||||
required: true,
|
||||
properties: {
|
||||
key: Property.ShortText({ displayName: 'key', description: 'External identifier or unique key for the client.', required: false }),
|
||||
title: Property.ShortText({ displayName: 'title', description: 'Name or title of the client.', required: true }),
|
||||
address: Property.ShortText({ displayName: 'address', description: 'Client address.', required: false }),
|
||||
latitude: Property.Number({ displayName: 'latitude', description: 'Geographic latitude.', required: false }),
|
||||
longitude: Property.Number({ displayName: 'longitude', description: 'Geographic longitude.', required: false }),
|
||||
load: Property.Number({ displayName: 'load', description: 'Load associated (unit 1).', required: false }),
|
||||
load_2: Property.Number({ displayName: 'load_2', description: 'Load associated (unit 2).', required: false }),
|
||||
load_3: Property.Number({ displayName: 'load_3', description: 'Load associated (unit 3).', required: false }),
|
||||
window_start: Property.ShortText({ displayName: 'window_start', description: 'Preferred time window start (HH:MM:SS).', required: false }),
|
||||
window_end: Property.ShortText({ displayName: 'window_end', description: 'Preferred time window end.', required: false }),
|
||||
window_start_2: Property.ShortText({ displayName: 'window_start_2', description: 'Second time window start.', required: false }),
|
||||
window_end_2: Property.ShortText({ displayName: 'window_end_2', description: 'Second time window end.', required: false }),
|
||||
duration: Property.ShortText({ displayName: 'duration', description: 'Estimated visit duration (HH:MM:SS).', required: false }),
|
||||
contact_name: Property.ShortText({ displayName: 'contact_name', description: 'Client contact name.', required: false }),
|
||||
contact_phone: Property.ShortText({ displayName: 'contact_phone', description: 'Client contact phone.', required: false }),
|
||||
contact_email: Property.ShortText({ displayName: 'contact_email', description: 'Client contact email.', required: false }),
|
||||
notes: Property.ShortText({ displayName: 'notes', description: 'Additional notes about the client.', required: false }),
|
||||
priority_level: Property.Number({ displayName: 'priority_level', description: 'Client priority level.', required: false }),
|
||||
}
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue.clients;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/accounts/clients/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,38 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_clients = createAction({
|
||||
name: 'get_clients',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Clients',
|
||||
description: 'Retrieves the list of clients associated with the account. Can filter by client key.',
|
||||
props: {
|
||||
key: Property.ShortText({
|
||||
displayName: 'Client Key',
|
||||
description: 'Unique client key to filter results.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
let queryString = '';
|
||||
if (context.propsValue.key) {
|
||||
queryString += (queryString ? '&' : '?') + 'key=' + context.propsValue.key;
|
||||
}
|
||||
const url = `${API_BASE_URL}/v1/accounts/clients/${queryString}`;
|
||||
console.log(url);
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_fleets = createAction({
|
||||
name: 'get_fleets',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Fleets',
|
||||
description: 'Retrieve the list of fleets available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/fleets/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_observations = createAction({
|
||||
name: 'get_observations',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Observations',
|
||||
description: 'Retrieve the list of observations available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/observations/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_sellers = createAction({
|
||||
name: 'get_sellers',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Sellers',
|
||||
description: 'Retrieve the list of sellers available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/sellers/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_skills = createAction({
|
||||
name: 'get_skills',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Skills',
|
||||
description: 'Retrieve the list of skills available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/skills/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_tags = createAction({
|
||||
name: 'get_tags',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Tags',
|
||||
description: 'Retrieve the list of tags available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/tags/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_zones = createAction({
|
||||
name: 'get_zones',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Zones',
|
||||
description: 'Retrieve the list of zones available in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/zones/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,32 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_plan = createAction({
|
||||
name: 'create_plan',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create an empty plan',
|
||||
description: 'Create an empty plan (execution) without routes (reserve a planning day).',
|
||||
props: {
|
||||
name: Property.ShortText({ displayName: 'name', description: 'Plan name.', required: true }),
|
||||
start_date: Property.ShortText({ displayName: 'start_date', description: 'Start date (YYYY-MM-DD).', required: true }),
|
||||
end_date: Property.ShortText({ displayName: 'end_date', description: 'End date (YYYY-MM-DD).', required: true }),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/plans/create-plan/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,29 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_plan_vehicles = createAction({
|
||||
name: 'get_plan_vehicles',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get vehicles with routes on date',
|
||||
description: 'Returns the vehicles that have planned routes on the indicated date.',
|
||||
props: {
|
||||
planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Planned date (YYYY-MM-DD).', required: true }),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/plans/${context.propsValue.planned_date}/vehicles/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_plans = createAction({
|
||||
name: 'get_plans',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Plans',
|
||||
description: 'Retrieve the list of saved routing plans (executions).',
|
||||
props: {date: Property.ShortText({ displayName: 'date', description: 'Planned date (YYYY-MM-DD).', required: true })},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/plans/${context.propsValue.date}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,42 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
|
||||
export const create_route = createAction({
|
||||
name: 'create_route',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create Route',
|
||||
description: 'Create a new route manually by assigning vehicle, driver and date.',
|
||||
props: {
|
||||
vehicle: Property.Number({ displayName: 'vehicle', description: 'Vehicle ID for the route.', required: true }),
|
||||
driver: Property.Number({ displayName: 'driver', description: 'Driver ID for the route.', required: true }),
|
||||
planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Planned route date (YYYY-MM-DD).', required: true }),
|
||||
estimated_time_start: Property.ShortText({ displayName: 'estimated_time_start', description: 'Estimated start time (HH:MM:SS).', required: true }),
|
||||
estimated_time_end: Property.ShortText({ displayName: 'estimated_time_end', description: 'Estimated end time (HH:MM:SS).', required: true }),
|
||||
location_start_address: Property.ShortText({ displayName: 'location_start_address', description: 'Route start address.', required: true }),
|
||||
location_start_latitude: Property.ShortText({ displayName: 'location_start_latitude', description: 'Route start latitude.', required: true }),
|
||||
location_start_longitude: Property.ShortText({ displayName: 'location_start_longitude', description: 'Route start longitude.', required: true }),
|
||||
location_end_address: Property.ShortText({ displayName: 'location_end_address', description: 'Route end address.', required: true }),
|
||||
location_end_latitude: Property.ShortText({ displayName: 'location_end_latitude', description: 'Route end latitude.', required: true }),
|
||||
location_end_longitude: Property.ShortText({ displayName: 'location_end_longitude', description: 'Route end longitude.', required: true }),
|
||||
plan: Property.ShortText({ displayName: 'plan', description: 'Plan (execution) ID to associate the route (UUID).', required: true }),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/routes/routes/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const delete_route = createAction({
|
||||
name: 'delete_route',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Delete Route',
|
||||
description: 'Delete a route by its ID.',
|
||||
props: {
|
||||
route_id: Property.ShortText({
|
||||
displayName: 'route_id',
|
||||
description: 'Route ID to delete (UUID).',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/routes/${context.propsValue.route_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_route = createAction({
|
||||
name: 'get_route',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Route',
|
||||
description: 'Retrieve details of a specific route.',
|
||||
props: {
|
||||
route_id: Property.ShortText({
|
||||
displayName: 'route_id',
|
||||
description: 'Route ID (UUID).',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/routes/${context.propsValue.route_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,29 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_routes = createAction({
|
||||
name: 'get_routes',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Routes',
|
||||
description: 'Retrieve the list of existing routes.',
|
||||
props: {planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Visit planned date (YYYY-MM-DD).', required: true })},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const url = `${API_BASE_URL}/v1/routes/routes/?planned_date=${body.planned_date}`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: url,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,40 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_users = createAction({
|
||||
name: 'create_users',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create User',
|
||||
description: 'Create new user/driver in the account.',
|
||||
props: {
|
||||
username: Property.ShortText({ displayName: 'username', description: 'Nombre de usuario (login).', required: true }),
|
||||
name: Property.ShortText({ displayName: 'name', description: 'Nombre completo del usuario.', required: false }),
|
||||
phone: Property.ShortText({ displayName: 'phone', description: 'Número de teléfono.', required: false }),
|
||||
email: Property.ShortText({ displayName: 'email', description: 'Correo electrónico.', required: false }),
|
||||
is_admin: Property.Checkbox({ displayName: 'is_admin', description: 'Whether the user is an administrator.', required: false, defaultValue: false }),
|
||||
password: Property.ShortText({ displayName: 'password', description: 'User password.', required: true }),
|
||||
is_driver: Property.Checkbox({ displayName: 'is_driver', description: 'Whether the user is a driver.', required: true, defaultValue: false }),
|
||||
is_router_jr: Property.Checkbox({ displayName: 'is_router_jr', description: 'Whether the user is a router junior.', required: false, defaultValue: false }),
|
||||
is_router: Property.Checkbox({ displayName: 'is_router', description: 'Whether the user is a router.', required: false, defaultValue: false }),
|
||||
is_monitor: Property.Checkbox({ displayName: 'is_monitor', description: 'Whether the user is a monitor.', required: false, defaultValue: false }),
|
||||
is_coordinator: Property.Checkbox({ displayName: 'is_coordinator', description: 'Whether the user is a coordinator.', required: false, defaultValue: false }),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/accounts/drivers/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_drivers = createAction({
|
||||
name: 'get_drivers',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Drivers',
|
||||
description: 'Retrieve the list of drivers registered in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/accounts/drivers/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_user = createAction({
|
||||
name: 'get_user',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get User',
|
||||
description: 'Retrieve information of a specific user by ID.',
|
||||
props: {
|
||||
user_id: Property.Number({
|
||||
displayName: 'user_id',
|
||||
description: 'User ID.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/accounts/drivers/${context.propsValue.user_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,41 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const update_user = createAction({
|
||||
name: 'update_user',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Update User',
|
||||
description: 'Update information of an existing user.',
|
||||
props: {
|
||||
user_id: Property.Number({ displayName: 'user_id', description: 'User ID to update.', required: true }),
|
||||
username: Property.ShortText({ displayName: 'username', description: 'Username (login).', required: true }),
|
||||
name: Property.ShortText({ displayName: 'name', description: 'Full name of the user.', required: true }),
|
||||
phone: Property.ShortText({ displayName: 'phone', description: 'User phone number.', required: false }),
|
||||
email: Property.ShortText({ displayName: 'email', description: 'User email address.', required: false }),
|
||||
is_admin: Property.Checkbox({ displayName: 'is_admin', description: 'Whether the user is an administrator.', required: false, defaultValue: false }),
|
||||
password: Property.ShortText({ displayName: 'password', description: 'User password.', required: false }),
|
||||
is_driver: Property.Checkbox({ displayName: 'is_driver', description: 'Whether the user is a driver.', required: false, defaultValue: false }),
|
||||
is_router_jr: Property.Checkbox({ displayName: 'is_router_jr', description: 'Whether the user is a router junior.', required: false, defaultValue: false }),
|
||||
is_router: Property.Checkbox({ displayName: 'is_router', description: 'Whether the user is a router.', required: false, defaultValue: false }),
|
||||
is_monitor: Property.Checkbox({ displayName: 'is_monitor', description: 'Whether the user is a monitor.', required: false, defaultValue: false }),
|
||||
is_coordinator: Property.Checkbox({ displayName: 'is_coordinator', description: 'Whether the user is a coordinator.', required: false, defaultValue: false }),
|
||||
},
|
||||
async run(context) {
|
||||
const { user_id, ...body } = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.PUT,
|
||||
url: `${API_BASE_URL}/v1/accounts/drivers/${user_id}/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,55 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_vehicle = createAction({
|
||||
name: 'create_vehicle',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create Vehicle',
|
||||
description: 'Register a new vehicle in the account.',
|
||||
props: {
|
||||
name: Property.ShortText({ displayName: 'name', description: 'The name of the vehicle.', required: true }),
|
||||
capacity: Property.Number({ displayName: 'capacity', description: 'The maximum capacity of the vehicle.', required: true }),
|
||||
default_driver: Property.ShortText({ displayName: 'default_driver', description: 'The assigned driver ID or null if not assigned.', required: false }),
|
||||
location_start_address: Property.ShortText({ displayName: 'location_start_address', description: 'The starting address of the vehicle.', required: true }),
|
||||
location_start_latitude: Property.Number({ displayName: 'location_start_latitude', description: 'The latitude of the starting location.', required: true }),
|
||||
location_start_longitude: Property.Number({ displayName: 'location_start_longitude', description: 'The longitude of the starting location.', required: true }),
|
||||
location_end_address: Property.ShortText({ displayName: 'location_end_address', description: 'The ending address of the vehicle.', required: true }),
|
||||
location_end_latitude: Property.Number({ displayName: 'location_end_latitude', description: 'The latitude of the ending location.', required: true }),
|
||||
location_end_longitude: Property.Number({ displayName: 'location_end_longitude', description: 'The longitude of the ending location.', required: true }),
|
||||
skills: Property.Json({ displayName: 'skills', description: 'a list of skill IDs (JSON format [1, 2]).', required: false }),
|
||||
capacity2: Property.ShortText({ displayName: 'capacity2', description: 'Secondary vehicle capacity.', required: false }),
|
||||
capacity3: Property.ShortText({ displayName: 'capacity3', description: 'Third vehicle capacity.', required: false }),
|
||||
cost: Property.ShortText({ displayName: 'cost', description: 'Operational cost of the vehicle.', required: false }),
|
||||
shift_start: Property.ShortText({ displayName: 'shift_start', description: 'Start time of the vehicle shift.', required: false }),
|
||||
shift_end: Property.ShortText({ displayName: 'shift_end', description: 'End time of the vehicle shift.', required: false }),
|
||||
reference_id: Property.ShortText({ displayName: 'reference_id', description: 'External reference ID of the vehicle.', required: false }),
|
||||
license_plate: Property.ShortText({ displayName: 'license_plate', description: 'License plate or registration of the vehicle.', required: false }),
|
||||
min_load: Property.Number({ displayName: 'min_load', description: 'Minimum load (unit 1) required to dispatch.', required: false }),
|
||||
min_load_2: Property.Number({ displayName: 'min_load_2', description: 'Minimum load (unit 2) required.', required: false }),
|
||||
min_load_3: Property.Number({ displayName: 'min_load_3', description: 'Minimum load (unit 3) required.', required: false }),
|
||||
max_visit: Property.Number({ displayName: 'max_visit', description: 'Maximum number of visits that the vehicle can perform.', required: false }),
|
||||
max_time: Property.Number({ displayName: 'max_time', description: 'Maximum duration of route (in seconds).', required: false }),
|
||||
rest_time_start: Property.ShortText({ displayName: 'rest_time_start', description: 'Start time of rest.', required: false }),
|
||||
rest_time_end: Property.ShortText({ displayName: 'rest_time_end', description: 'End time of rest.', required: false }),
|
||||
rest_time_duration: Property.ShortText({ displayName: 'rest_time_duration', description: 'Duration of rest.', required: false }),
|
||||
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/routes/vehicles/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const delete_vehicle = createAction({
|
||||
name: 'delete_vehicle',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Delete Vehicle',
|
||||
description: 'Delete a vehicle by its ID.',
|
||||
props: {
|
||||
vehicle_id: Property.Number({
|
||||
displayName: 'vehicle_id',
|
||||
description: 'Vehicle ID to delete.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/vehicles/${context.propsValue.vehicle_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_vehicle = createAction({
|
||||
name: 'get_vehicle',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Vehicle',
|
||||
description: 'Retrieve information of a specific vehicle.',
|
||||
props: {
|
||||
vehicle_id: Property.Number({
|
||||
displayName: 'vehicle_id',
|
||||
description: 'Vehicle ID.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/vehicles/${context.propsValue.vehicle_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,27 @@
|
||||
import { createAction } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_vehicles = createAction({
|
||||
name: 'get_vehicles',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Vehicles',
|
||||
description: 'Retrieve the list of vehicles registered in the account.',
|
||||
props: {},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/vehicles/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,46 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const add_visit_items = createAction({
|
||||
name: 'add_visit_items',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Add Visit Items',
|
||||
description: 'Add items to an existing visit.',
|
||||
props: {
|
||||
visit_id: Property.Number({ displayName: 'visit_id', description: 'ID of the visit to add items to.', required: true }),
|
||||
items: Property.Array({
|
||||
displayName: 'items',
|
||||
description: 'Array of items to add to the visit.',
|
||||
required: true,
|
||||
properties: {
|
||||
title: Property.ShortText({ displayName: 'title', description: 'Name or description of the item.', required: true }),
|
||||
load: Property.Number({ displayName: 'load', description: 'Unit of load that the item occupies.', required: false }),
|
||||
load_2: Property.Number({ displayName: 'load_2', description: 'Second load unit of the item.', required: false }),
|
||||
load_3: Property.Number({ displayName: 'load_3', description: 'Third load unit of the item.', required: false }),
|
||||
reference: Property.ShortText({ displayName: 'reference', description: 'Internal reference of the item.', required: false }),
|
||||
notes: Property.ShortText({ displayName: 'notes', description: 'Additional notes about the item.', required: false }),
|
||||
quantity_planned: Property.Number({ displayName: 'quantity_planned', description: 'Planned quantity of the item.', required: false }),
|
||||
quantity_delivered: Property.Number({ displayName: 'quantity_delivered', description: 'Delivered quantity of the item (if applicable).', required: false }),
|
||||
}
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const { visit_id, ...rest } = context.propsValue;
|
||||
const body = rest.items;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/routes/visits/${visit_id}/items/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,61 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const create_visits = createAction({
|
||||
name: 'create_visits',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Create Visits',
|
||||
description: 'Create visits. Multiple visits can be created in a single request.',
|
||||
props: {
|
||||
visits: Property.Array({
|
||||
displayName: 'visits',
|
||||
description: 'Array of visit objects to create.',
|
||||
required: true,
|
||||
properties: {
|
||||
title: Property.ShortText({ displayName: 'title', description: "String to identify the delivery. Usually company or person's name.", required: true }),
|
||||
address: Property.ShortText({ displayName: 'address', description: 'Address text. Best practice is to use Googlemaps format.', required: true }),
|
||||
planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Date when the visit will be delivered. (YYYY-MM-DD)', required: true }),
|
||||
latitude: Property.Number({ displayName: 'latitude', description: "Visit's latitude location.", required: false }),
|
||||
longitude: Property.Number({ displayName: 'longitude', description: "Visit's longitude location.", required: false }),
|
||||
load: Property.Number({ displayName: 'load', description: 'Space of the truck that visit uses.', required: true, defaultValue: 1 }),
|
||||
load_2: Property.Number({ displayName: 'load_2', description: 'Space of the truck that visit uses.', required: false }),
|
||||
load_3: Property.Number({ displayName: 'load_3', description: 'Space of the truck that visit uses.', required: false }),
|
||||
window_start: Property.ShortText({ displayName: 'window_start', description: 'Initial Hour when the visit can be visit (HH:MM:SS).', required: false }),
|
||||
window_end: Property.ShortText({ displayName: 'window_end', description: 'Final Hour when the visit can be visit (HH:MM:SS).', required: false }),
|
||||
window_start_2: Property.ShortText({ displayName: 'window_start_2', description: 'Initial Hour when the visit can be visit (HH:MM:SS).', required: false }),
|
||||
window_end_2: Property.ShortText({ displayName: 'window_end_2', description: 'Final Hour when the visit can be visit (HH:MM:SS).', required: false }),
|
||||
duration: Property.ShortText({ displayName: 'duration', description: 'Time spent in the delivery (HH:mm:ss).', required: false }),
|
||||
order: Property.Number({ displayName: 'order', description: 'Visit order when the visit already belongs to a delivery route.', required: false }),
|
||||
skills_required: Property.Json({ displayName: 'skills_required', description: 'A list of skills or capabilities required (JSON format [1, 2]).', required: false }),
|
||||
skills_optional: Property.Json({ displayName: 'skills_optional', description: 'A list of skills or capabilities optionals (JSON format [1, 2]).', required: false }),
|
||||
tags: Property.Json({ displayName: 'tags', description: 'A list of tags (JSON format [1, 2]).', required: false }),
|
||||
contact_name: Property.ShortText({ displayName: 'contact_name', description: 'Name of who will receive the delivery.', required: false }),
|
||||
contact_phone: Property.ShortText({ displayName: 'contact_phone', description: 'Phone of who will receive the delivery.', required: false }),
|
||||
contact_email: Property.ShortText({ displayName: 'contact_email', description: 'E-mail of who will receive the delivery.', required: false }),
|
||||
reference: Property.ShortText({ displayName: 'reference', description: 'Reference or internal identifier of the company. Example: Invoice or order number.', required: false }),
|
||||
notes: Property.ShortText({ displayName: 'notes', description: 'Information to help the driver.', required: false }),
|
||||
priority_level: Property.Number({ displayName: 'priority_level', description: 'If the visit is more important than others. It goes from 1 to 5.', required: false }),
|
||||
visit_type: Property.ShortText({ displayName: 'visit_type', description: 'Visit type associated with the visit.', required: false }),
|
||||
fleet: Property.Number({ displayName: 'fleet', description: 'Fleet ID.', required: false }),
|
||||
}
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const body = context.propsValue.visits;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `${API_BASE_URL}/v1/routes/visits/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const delete_visit = createAction({
|
||||
name: 'delete_visit',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Delete Visit',
|
||||
description: 'Delete a visit by its ID.',
|
||||
props: {
|
||||
visit_id: Property.Number({
|
||||
displayName: 'visit_id',
|
||||
description: 'ID of the visit to delete.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/visits/${context.propsValue.visit_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.DELETE,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_visit_detail = createAction({
|
||||
name: 'get_visit_detail',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Visit Detail',
|
||||
description: 'Get detailed information about a specific visit.',
|
||||
props: {
|
||||
visit_id: Property.Number({
|
||||
displayName: 'visit_id',
|
||||
description: 'ID of the visit to get details for.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/plans/visits/${context.propsValue.visit_id}/detail/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_visit = createAction({
|
||||
name: 'get_visit',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Visit',
|
||||
description: 'Retrieve details of a specific visit by ID.',
|
||||
props: {
|
||||
visit_id: Property.Number({
|
||||
displayName: 'visit_id',
|
||||
description: 'Visit ID.',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
const url = `${API_BASE_URL}/v1/routes/visits/${context.propsValue.visit_id}/`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,37 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const get_visits = createAction({
|
||||
name: 'get_visits',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Get Visits',
|
||||
description: 'Retrieve all registered visits. Can be filtered by planned visit date.',
|
||||
props: {
|
||||
planned_date: Property.ShortText({
|
||||
displayName: 'planned_date',
|
||||
description: 'Filter visits by planned date (YYYY-MM-DD format).',
|
||||
required: true
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
let queryString = '';
|
||||
if (context.propsValue.planned_date) {
|
||||
queryString += (queryString ? '&' : '?') + 'planned_date=' + context.propsValue.planned_date;
|
||||
}
|
||||
const url = `${API_BASE_URL}/v1/routes/visits/${queryString}`;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,40 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const update_visit_partial = createAction({
|
||||
name: 'update_visit_partial',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Update Visit (Partial)',
|
||||
description: 'Partially update fields of an existing visit.',
|
||||
props: {
|
||||
visit_id: Property.Number({ displayName: 'visit_id', description: 'ID of the visit to update.', required: true }),
|
||||
title: Property.ShortText({ displayName: 'title', description: 'Visit title (if you want to change it).', required: false }),
|
||||
address: Property.ShortText({ displayName: 'address', description: 'Visit address (if you want to change it).', required: false }),
|
||||
load: Property.Number({ displayName: 'load', description: 'Visit load (main unit).', required: false }),
|
||||
load_2: Property.Number({ displayName: 'load_2', description: 'Visit load (unit 2).', required: false }),
|
||||
load_3: Property.Number({ displayName: 'load_3', description: 'Visit load (unit 3).', required: false }),
|
||||
duration: Property.ShortText({ displayName: 'duration', description: 'Visit duration (HH:MM:SS).', required: false }),
|
||||
contact_name: Property.ShortText({ displayName: 'contact_name', description: 'Visit contact name.', required: false }),
|
||||
contact_phone: Property.ShortText({ displayName: 'contact_phone', description: 'Visit contact phone.', required: false }),
|
||||
notes: Property.ShortText({ displayName: 'notes', description: 'Visit notes.', required: false }),
|
||||
planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Visit planned date (YYYY-MM-DD).', required: false }),
|
||||
},
|
||||
async run(context) {
|
||||
const { visit_id, ...body } = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.PATCH,
|
||||
url: `${API_BASE_URL}/v1/routes/visits/${visit_id}/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,42 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { simplirouteAuth } from '../../../index';
|
||||
import { API_BASE_URL, commonHeaders } from '../../common/constants';
|
||||
|
||||
export const update_visit = createAction({
|
||||
name: 'update_visit',
|
||||
auth: simplirouteAuth,
|
||||
displayName: 'Update Visit (Complete)',
|
||||
description: 'Completely update an existing visit with all fields.',
|
||||
props: {
|
||||
visit_id: Property.Number({ displayName: 'visit_id', description: 'ID of the visit to update.', required: true }),
|
||||
title: Property.ShortText({ displayName: 'title', description: 'Visit title.', required: true }),
|
||||
address: Property.ShortText({ displayName: 'address', description: 'Visit address.', required: true }),
|
||||
latitude: Property.Number({ displayName: 'latitude', description: 'Visit latitude.', required: false }),
|
||||
longitude: Property.Number({ displayName: 'longitude', description: 'Visit longitude.', required: false }),
|
||||
load: Property.Number({ displayName: 'load', description: 'Visit load (main unit).', required: false }),
|
||||
load_2: Property.Number({ displayName: 'load_2', description: 'Visit load (unit 2).', required: false }),
|
||||
load_3: Property.Number({ displayName: 'load_3', description: 'Visit load (unit 3).', required: false }),
|
||||
duration: Property.ShortText({ displayName: 'duration', description: 'Visit duration (HH:MM:SS).', required: false }),
|
||||
contact_name: Property.ShortText({ displayName: 'contact_name', description: 'Visit contact name.', required: false }),
|
||||
contact_phone: Property.ShortText({ displayName: 'contact_phone', description: 'Visit contact phone.', required: false }),
|
||||
notes: Property.ShortText({ displayName: 'notes', description: 'Visit notes.', required: false }),
|
||||
planned_date: Property.ShortText({ displayName: 'planned_date', description: 'Visit planned date (YYYY-MM-DD).', required: true }),
|
||||
},
|
||||
async run(context) {
|
||||
const { visit_id, ...body } = context.propsValue;
|
||||
const response = await httpClient.sendRequest({
|
||||
method: HttpMethod.PUT,
|
||||
url: `${API_BASE_URL}/v1/routes/visits/${visit_id}/`,
|
||||
body,
|
||||
headers: {
|
||||
...commonHeaders,
|
||||
'Authorization': `Token ${context.auth.secret_text}`
|
||||
}
|
||||
});
|
||||
return {
|
||||
status: response.status,
|
||||
data: response.body
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
export const API_BASE_URL = 'https://api.simpliroute.com';
|
||||
|
||||
export const commonHeaders = {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json'
|
||||
};
|
||||
Reference in New Issue
Block a user