chore: update

This commit is contained in:
2026-03-11 19:57:34 +01:00
parent f6b3948839
commit 375aa38454
62 changed files with 2714 additions and 1981 deletions
+3 -8
View File
@@ -341,7 +341,6 @@ sequenceDiagram
Note over C,R: 2. Livraison
L->>API: GET /livreur/deliveries
API-->>L: Liste commandes
L->>API: PUT /deliveries/:id/status {support}
L->>API: POST /location/update {lat, lng}
API->>R: Update position
API->>R: Publish update
@@ -940,13 +939,13 @@ Authorization: Bearer <token>
**Statuts possibles:**
- `pending` - En attente d'assignation
- `assigned` - Assignée à un livreur
- `support` - Prise en charge par le livreur
- `en_route` - Livreur en chemin
- `arrived` - Livreur arrivé
- `livre` - Livrée (en attente d'approbation)
- `approved` - Approuvée par le client
- `cancelled` - Annulée
- `failed` - Échec de livraison
- `disabled` - Désactivée
---
@@ -1570,7 +1569,6 @@ Content-Type: application/json
```
**Statuts valides pour livreur:**
- `support` - Prise en charge
- `assigned` - Assigné
- `en_route` - En route vers le client
- `arrived` - Arrivé à destination
@@ -2253,12 +2251,9 @@ stateDiagram-v2
pending --> assigned: Auto-assignation GPS
pending --> pending: Geocodage en cours
assigned --> support: Livreur prend en charge
assigned --> en_route: Livreur demarre
assigned --> cancelled: Annulation
support --> en_route: Livreur demarre
support --> cancelled: Annulation
en_route --> arrived: Position = Destination
en_route --> en_route: Mise a jour position