feat: podpora simulace objednávek z Bolt Food ve vývoji

This commit is contained in:
2026-06-12 19:44:20 +02:00
parent bcec015c37
commit 34f6ba520e
13 changed files with 662 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
post:
operationId: advanceBoltTracking
summary: Posun simulace sledování Bolt na další krok (pouze DEV režim)
requestBody:
required: true
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimGroupRequest"
responses:
"200":
description: Simulace byla posunuta
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimResponse"
"400":
description: Chybný požadavek
"403":
description: Endpoint není dostupný v tomto režimu
+15
View File
@@ -0,0 +1,15 @@
post:
operationId: pollBoltTracking
summary: Okamžité spuštění jednoho tiku scheduleru sledování Bolt (pouze DEV režim)
responses:
"200":
description: Poll proběhl
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
"403":
description: Endpoint není dostupný v tomto režimu
+40
View File
@@ -0,0 +1,40 @@
post:
operationId: simulateBoltTracking
summary: Spuštění simulace sledování Bolt pro skupinu (pouze DEV režim)
requestBody:
required: true
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimGroupRequest"
responses:
"200":
description: Simulace byla spuštěna
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimResponse"
"400":
description: Chybný požadavek
"403":
description: Endpoint není dostupný v tomto režimu
delete:
operationId: stopBoltTrackingSimulation
summary: Ukončení simulace sledování Bolt pro skupinu (pouze DEV režim)
requestBody:
required: true
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimGroupRequest"
responses:
"200":
description: Simulace byla ukončena
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimResponse"
"400":
description: Chybný požadavek
"403":
description: Endpoint není dostupný v tomto režimu
+20
View File
@@ -0,0 +1,20 @@
post:
operationId: setBoltTrackingState
summary: Ruční nastavení konkrétního stavu simulace Bolt (pouze DEV režim)
requestBody:
required: true
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimStateRequest"
responses:
"200":
description: Stav byl nastaven
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/BoltSimResponse"
"400":
description: Chybný požadavek
"403":
description: Endpoint není dostupný v tomto režimu