@bikefinder/sdk 0.9.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 +4 -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 +27 -0
- package/dist/generated/zod.gen.d.ts +2585 -119
- package/dist/generated/zod.gen.js +13 -0
- package/openapi/api.json +79 -0
- package/package.json +1 -1
|
@@ -6643,6 +6643,7 @@ export const zFirmwareReceipt = z
|
|
|
6643
6643
|
error: "Invalid value: Expected int32 to be <= 2147483647",
|
|
6644
6644
|
})
|
|
6645
6645
|
.nullish(),
|
|
6646
|
+
jobId: z.string().nullish(),
|
|
6646
6647
|
})
|
|
6647
6648
|
.catchall(z.unknown());
|
|
6648
6649
|
export const zFirmwareRelease = z
|
|
@@ -13529,6 +13530,18 @@ export const zUploadStaffTrackerBatteryFirmwareQuery = z.object({
|
|
|
13529
13530
|
* Accepted
|
|
13530
13531
|
*/
|
|
13531
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;
|
|
13532
13545
|
export const zListStaffTrackerCommandsPath = z.object({
|
|
13533
13546
|
id: z.string(),
|
|
13534
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": [
|
|
@@ -31156,6 +31229,12 @@
|
|
|
31156
31229
|
"integer"
|
|
31157
31230
|
],
|
|
31158
31231
|
"format": "int32"
|
|
31232
|
+
},
|
|
31233
|
+
"jobId": {
|
|
31234
|
+
"type": [
|
|
31235
|
+
"null",
|
|
31236
|
+
"string"
|
|
31237
|
+
]
|
|
31159
31238
|
}
|
|
31160
31239
|
},
|
|
31161
31240
|
"additionalProperties": false
|