@bikefinder/sdk 0.10.0 → 0.11.0
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/README.md +2 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/sdk.gen.js +19 -1
- package/dist/generated/types.gen.d.ts +26 -0
- package/dist/generated/zod.gen.d.ts +2461 -0
- package/dist/generated/zod.gen.js +12 -0
- package/openapi/api.json +73 -0
- package/package.json +1 -1
|
@@ -13530,6 +13530,18 @@ export const zUploadStaffTrackerBatteryFirmwareQuery = z.object({
|
|
|
13530
13530
|
* Accepted
|
|
13531
13531
|
*/
|
|
13532
13532
|
export const zUploadStaffTrackerBatteryFirmwareResponse = zTrackerCommand;
|
|
13533
|
+
export const zListStaffTrackerCommandObservationsPath = z.object({
|
|
13534
|
+
id: z.string(),
|
|
13535
|
+
operationId: z.uuid(),
|
|
13536
|
+
});
|
|
13537
|
+
export const zListStaffTrackerCommandObservationsQuery = z.object({
|
|
13538
|
+
limit: z.int().gte(1).lte(100).optional(),
|
|
13539
|
+
cursor: z.string().optional(),
|
|
13540
|
+
});
|
|
13541
|
+
/**
|
|
13542
|
+
* OK
|
|
13543
|
+
*/
|
|
13544
|
+
export const zListStaffTrackerCommandObservationsResponse = zObservationPage;
|
|
13533
13545
|
export const zListStaffTrackerCommandsPath = z.object({
|
|
13534
13546
|
id: z.string(),
|
|
13535
13547
|
});
|
package/openapi/api.json
CHANGED
|
@@ -3583,6 +3583,79 @@
|
|
|
3583
3583
|
]
|
|
3584
3584
|
}
|
|
3585
3585
|
},
|
|
3586
|
+
"/v1/admin/trackers/{id}/commands/{operationId}/observations": {
|
|
3587
|
+
"get": {
|
|
3588
|
+
"tags": [
|
|
3589
|
+
"Staff tracker diagnostics"
|
|
3590
|
+
],
|
|
3591
|
+
"description": "Read observations returned for this command, including later resolved WiFi and cellular locations. Results are ordered by receipt time and scoped to the authorized tracker and command request.",
|
|
3592
|
+
"operationId": "ListStaffTrackerCommandObservations",
|
|
3593
|
+
"parameters": [
|
|
3594
|
+
{
|
|
3595
|
+
"name": "id",
|
|
3596
|
+
"in": "path",
|
|
3597
|
+
"required": true,
|
|
3598
|
+
"schema": {
|
|
3599
|
+
"type": "string"
|
|
3600
|
+
}
|
|
3601
|
+
},
|
|
3602
|
+
{
|
|
3603
|
+
"name": "operationId",
|
|
3604
|
+
"in": "path",
|
|
3605
|
+
"required": true,
|
|
3606
|
+
"schema": {
|
|
3607
|
+
"type": "string",
|
|
3608
|
+
"format": "uuid"
|
|
3609
|
+
}
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"name": "limit",
|
|
3613
|
+
"in": "query",
|
|
3614
|
+
"schema": {
|
|
3615
|
+
"maximum": 100,
|
|
3616
|
+
"minimum": 1,
|
|
3617
|
+
"type": "integer",
|
|
3618
|
+
"format": "int32",
|
|
3619
|
+
"default": 50
|
|
3620
|
+
}
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"name": "cursor",
|
|
3624
|
+
"in": "query",
|
|
3625
|
+
"schema": {
|
|
3626
|
+
"type": "string"
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
],
|
|
3630
|
+
"responses": {
|
|
3631
|
+
"200": {
|
|
3632
|
+
"description": "OK",
|
|
3633
|
+
"content": {
|
|
3634
|
+
"application/json": {
|
|
3635
|
+
"schema": {
|
|
3636
|
+
"$ref": "#/components/schemas/ObservationPage"
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
},
|
|
3641
|
+
"default": {
|
|
3642
|
+
"description": "Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.",
|
|
3643
|
+
"content": {
|
|
3644
|
+
"application/problem+json": {
|
|
3645
|
+
"schema": {
|
|
3646
|
+
"$ref": "#/components/schemas/ApiProblem"
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
},
|
|
3652
|
+
"security": [
|
|
3653
|
+
{
|
|
3654
|
+
"Bearer": [ ]
|
|
3655
|
+
}
|
|
3656
|
+
]
|
|
3657
|
+
}
|
|
3658
|
+
},
|
|
3586
3659
|
"/v1/admin/trackers/{id}/commands": {
|
|
3587
3660
|
"post": {
|
|
3588
3661
|
"tags": [
|