@wevion/cli 1.0.2419 → 1.0.2429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +120 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -115472,6 +115472,126 @@
|
|
|
115472
115472
|
}
|
|
115473
115473
|
}
|
|
115474
115474
|
},
|
|
115475
|
+
"/api/v1/cron/backfill-geo-insights": {
|
|
115476
|
+
"post": {
|
|
115477
|
+
"operationId": "postApiV1CronBackfillGeoInsights",
|
|
115478
|
+
"summary": "Trigger historical per-country (geo) insights backfill",
|
|
115479
|
+
"tags": [
|
|
115480
|
+
"cron"
|
|
115481
|
+
],
|
|
115482
|
+
"description": "Enqueues a historical campaign_country_daily_insight backfill via SQS, splitting the range into 30-day chunks. Fire-and-forget (BACKFILL_GEO_INSIGHTS is not a DB worker_type, so no worker_run is created); geo collection is idempotent. Super admin only. Omit user_id to backfill every accessible session.",
|
|
115483
|
+
"requestBody": {
|
|
115484
|
+
"required": true,
|
|
115485
|
+
"content": {
|
|
115486
|
+
"application/json": {
|
|
115487
|
+
"schema": {
|
|
115488
|
+
"type": "object",
|
|
115489
|
+
"required": [
|
|
115490
|
+
"from_date",
|
|
115491
|
+
"to_date"
|
|
115492
|
+
],
|
|
115493
|
+
"properties": {
|
|
115494
|
+
"from_date": {
|
|
115495
|
+
"description": "Start date YYYY-MM-DD",
|
|
115496
|
+
"type": "string"
|
|
115497
|
+
},
|
|
115498
|
+
"to_date": {
|
|
115499
|
+
"description": "End date YYYY-MM-DD",
|
|
115500
|
+
"type": "string"
|
|
115501
|
+
},
|
|
115502
|
+
"user_id": {
|
|
115503
|
+
"format": "uuid",
|
|
115504
|
+
"description": "Specific session to backfill. Omit for all accessible sessions.",
|
|
115505
|
+
"type": "string"
|
|
115506
|
+
}
|
|
115507
|
+
}
|
|
115508
|
+
}
|
|
115509
|
+
}
|
|
115510
|
+
}
|
|
115511
|
+
},
|
|
115512
|
+
"security": [
|
|
115513
|
+
{
|
|
115514
|
+
"bearerAuth": []
|
|
115515
|
+
}
|
|
115516
|
+
],
|
|
115517
|
+
"responses": {
|
|
115518
|
+
"200": {
|
|
115519
|
+
"description": "Successful response",
|
|
115520
|
+
"content": {
|
|
115521
|
+
"application/json": {
|
|
115522
|
+
"schema": {
|
|
115523
|
+
"type": "object",
|
|
115524
|
+
"required": [
|
|
115525
|
+
"message",
|
|
115526
|
+
"sessions",
|
|
115527
|
+
"enqueued",
|
|
115528
|
+
"from_date",
|
|
115529
|
+
"to_date",
|
|
115530
|
+
"chunks"
|
|
115531
|
+
],
|
|
115532
|
+
"properties": {
|
|
115533
|
+
"message": {
|
|
115534
|
+
"type": "string"
|
|
115535
|
+
},
|
|
115536
|
+
"sessions": {
|
|
115537
|
+
"type": "number"
|
|
115538
|
+
},
|
|
115539
|
+
"enqueued": {
|
|
115540
|
+
"type": "number"
|
|
115541
|
+
},
|
|
115542
|
+
"from_date": {
|
|
115543
|
+
"type": "string"
|
|
115544
|
+
},
|
|
115545
|
+
"to_date": {
|
|
115546
|
+
"type": "string"
|
|
115547
|
+
},
|
|
115548
|
+
"chunks": {
|
|
115549
|
+
"type": "number"
|
|
115550
|
+
}
|
|
115551
|
+
}
|
|
115552
|
+
}
|
|
115553
|
+
}
|
|
115554
|
+
}
|
|
115555
|
+
},
|
|
115556
|
+
"401": {
|
|
115557
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
115558
|
+
"content": {
|
|
115559
|
+
"application/json": {
|
|
115560
|
+
"schema": {
|
|
115561
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
115562
|
+
}
|
|
115563
|
+
}
|
|
115564
|
+
}
|
|
115565
|
+
},
|
|
115566
|
+
"403": {
|
|
115567
|
+
"description": "Forbidden - caller lacks the required role/permission",
|
|
115568
|
+
"content": {
|
|
115569
|
+
"application/json": {
|
|
115570
|
+
"schema": {
|
|
115571
|
+
"type": "object",
|
|
115572
|
+
"required": [
|
|
115573
|
+
"statusCode",
|
|
115574
|
+
"error",
|
|
115575
|
+
"message"
|
|
115576
|
+
],
|
|
115577
|
+
"properties": {
|
|
115578
|
+
"statusCode": {
|
|
115579
|
+
"type": "number"
|
|
115580
|
+
},
|
|
115581
|
+
"error": {
|
|
115582
|
+
"type": "string"
|
|
115583
|
+
},
|
|
115584
|
+
"message": {
|
|
115585
|
+
"type": "string"
|
|
115586
|
+
}
|
|
115587
|
+
}
|
|
115588
|
+
}
|
|
115589
|
+
}
|
|
115590
|
+
}
|
|
115591
|
+
}
|
|
115592
|
+
}
|
|
115593
|
+
}
|
|
115594
|
+
},
|
|
115475
115595
|
"/api/v1/exchange-rates/latest": {
|
|
115476
115596
|
"get": {
|
|
115477
115597
|
"operationId": "getApiV1ExchangeRatesLatest",
|