@bikefinder/sdk 0.8.0 → 0.9.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 +6 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +1 -7
- package/dist/generated/sdk.gen.js +1 -107
- package/dist/generated/types.gen.d.ts +2 -166
- package/dist/generated/zod.gen.d.ts +0 -185
- package/dist/generated/zod.gen.js +0 -98
- package/openapi/api.json +0 -463
- package/package.json +1 -1
|
@@ -811,7 +811,6 @@ export declare const zCommandDefinition: z.ZodObject<{
|
|
|
811
811
|
listEnvironments: "listEnvironments";
|
|
812
812
|
updateBattery: "updateBattery";
|
|
813
813
|
runBatteryCheck: "runBatteryCheck";
|
|
814
|
-
requestPosition: "requestPosition";
|
|
815
814
|
enableDiagnostics: "enableDiagnostics";
|
|
816
815
|
}>;
|
|
817
816
|
label: z.ZodString;
|
|
@@ -854,7 +853,6 @@ export declare const zCommandAvailability: z.ZodObject<{
|
|
|
854
853
|
listEnvironments: "listEnvironments";
|
|
855
854
|
updateBattery: "updateBattery";
|
|
856
855
|
runBatteryCheck: "runBatteryCheck";
|
|
857
|
-
requestPosition: "requestPosition";
|
|
858
856
|
enableDiagnostics: "enableDiagnostics";
|
|
859
857
|
}>;
|
|
860
858
|
label: z.ZodString;
|
|
@@ -8588,7 +8586,6 @@ export declare const zCommandCapabilities: z.ZodObject<{
|
|
|
8588
8586
|
listEnvironments: "listEnvironments";
|
|
8589
8587
|
updateBattery: "updateBattery";
|
|
8590
8588
|
runBatteryCheck: "runBatteryCheck";
|
|
8591
|
-
requestPosition: "requestPosition";
|
|
8592
8589
|
enableDiagnostics: "enableDiagnostics";
|
|
8593
8590
|
}>;
|
|
8594
8591
|
label: z.ZodString;
|
|
@@ -17529,13 +17526,6 @@ export declare const zPositionGnssFixValue: z.ZodObject<{
|
|
|
17529
17526
|
snr: z.ZodNullable<z.ZodNumber>;
|
|
17530
17527
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
17531
17528
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
17532
|
-
export declare const zPositioningSchedule: z.ZodObject<{
|
|
17533
|
-
enabled: z.ZodBoolean;
|
|
17534
|
-
intervalSeconds: z.ZodInt;
|
|
17535
|
-
}, z.core.$strict>;
|
|
17536
|
-
export declare const zPositionRequest: z.ZodObject<{
|
|
17537
|
-
operationId: z.ZodUUID;
|
|
17538
|
-
}, z.core.$strict>;
|
|
17539
17529
|
export declare const zPowerActivitiesValueItem: z.ZodEnum<{
|
|
17540
17530
|
mqtt: "mqtt";
|
|
17541
17531
|
rrc: "rrc";
|
|
@@ -18093,17 +18083,6 @@ export declare const zSubmitCommandRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
18093
18083
|
enrollmentUrl: z.ZodOptional<z.ZodNull>;
|
|
18094
18084
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
18095
18085
|
acquisitionOptions: z.ZodOptional<z.ZodNull>;
|
|
18096
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
18097
|
-
operationId: z.ZodUUID;
|
|
18098
|
-
expectedInventoryId: z.ZodString;
|
|
18099
|
-
command: z.ZodEnum<{
|
|
18100
|
-
requestPosition: "requestPosition";
|
|
18101
|
-
}>;
|
|
18102
|
-
arguments: z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>, z.ZodInt], null>;
|
|
18103
|
-
metrics: z.ZodOptional<z.ZodNull>;
|
|
18104
|
-
enrollmentUrl: z.ZodOptional<z.ZodNull>;
|
|
18105
|
-
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
18106
|
-
acquisitionOptions: z.ZodOptional<z.ZodNull>;
|
|
18107
18086
|
}, z.core.$strict>, z.ZodObject<{
|
|
18108
18087
|
operationId: z.ZodUUID;
|
|
18109
18088
|
expectedInventoryId: z.ZodString;
|
|
@@ -22837,7 +22816,6 @@ export declare const zTrackerCommand: z.ZodObject<{
|
|
|
22837
22816
|
listEnvironments: "listEnvironments";
|
|
22838
22817
|
updateBattery: "updateBattery";
|
|
22839
22818
|
runBatteryCheck: "runBatteryCheck";
|
|
22840
|
-
requestPosition: "requestPosition";
|
|
22841
22819
|
enableDiagnostics: "enableDiagnostics";
|
|
22842
22820
|
}>;
|
|
22843
22821
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -22926,7 +22904,6 @@ export declare const zCommandPage: z.ZodObject<{
|
|
|
22926
22904
|
listEnvironments: "listEnvironments";
|
|
22927
22905
|
updateBattery: "updateBattery";
|
|
22928
22906
|
runBatteryCheck: "runBatteryCheck";
|
|
22929
|
-
requestPosition: "requestPosition";
|
|
22930
22907
|
enableDiagnostics: "enableDiagnostics";
|
|
22931
22908
|
}>;
|
|
22932
22909
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -23022,7 +22999,6 @@ export declare const zCommandUpdate: z.ZodObject<{
|
|
|
23022
22999
|
listEnvironments: "listEnvironments";
|
|
23023
23000
|
updateBattery: "updateBattery";
|
|
23024
23001
|
runBatteryCheck: "runBatteryCheck";
|
|
23025
|
-
requestPosition: "requestPosition";
|
|
23026
23002
|
enableDiagnostics: "enableDiagnostics";
|
|
23027
23003
|
}>;
|
|
23028
23004
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -25678,23 +25654,6 @@ export declare const zObservationReading: z.ZodObject<{
|
|
|
25678
25654
|
type: z.ZodLiteral<"diagnostics.streamCompleted">;
|
|
25679
25655
|
}, z.core.$catchall<z.ZodUnknown>>], "type">>;
|
|
25680
25656
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25681
|
-
export declare const zReadPositioningSchedule: z.ZodObject<{
|
|
25682
|
-
enabled: z.ZodBoolean;
|
|
25683
|
-
intervalSeconds: z.ZodInt;
|
|
25684
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25685
|
-
export declare const zPositioningView: z.ZodObject<{
|
|
25686
|
-
deviceId: z.ZodString;
|
|
25687
|
-
version: z.ZodInt;
|
|
25688
|
-
schedule: z.ZodObject<{
|
|
25689
|
-
enabled: z.ZodBoolean;
|
|
25690
|
-
intervalSeconds: z.ZodInt;
|
|
25691
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25692
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25693
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
25694
|
-
status: z.ZodString;
|
|
25695
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25696
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25697
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25698
25657
|
export declare const zSetTrackerSubscriptionBody: z.ZodObject<{
|
|
25699
25658
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
25700
25659
|
expectedSubscriptionId: z.ZodNullable<z.ZodString>;
|
|
@@ -26254,70 +26213,6 @@ export declare const zLookupTrackerResponse: z.ZodObject<{
|
|
|
26254
26213
|
member: z.ZodBoolean;
|
|
26255
26214
|
claimable: z.ZodBoolean;
|
|
26256
26215
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26257
|
-
export declare const zGetTrackerPositioningPath: z.ZodObject<{
|
|
26258
|
-
id: z.ZodString;
|
|
26259
|
-
}, z.core.$strip>;
|
|
26260
|
-
/**
|
|
26261
|
-
* OK
|
|
26262
|
-
*/
|
|
26263
|
-
export declare const zGetTrackerPositioningResponse: z.ZodObject<{
|
|
26264
|
-
deviceId: z.ZodString;
|
|
26265
|
-
version: z.ZodInt;
|
|
26266
|
-
schedule: z.ZodObject<{
|
|
26267
|
-
enabled: z.ZodBoolean;
|
|
26268
|
-
intervalSeconds: z.ZodInt;
|
|
26269
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26270
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26271
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
26272
|
-
status: z.ZodString;
|
|
26273
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26274
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26275
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26276
|
-
export declare const zSetTrackerPositioningScheduleBody: z.ZodObject<{
|
|
26277
|
-
enabled: z.ZodBoolean;
|
|
26278
|
-
intervalSeconds: z.ZodInt;
|
|
26279
|
-
}, z.core.$strict>;
|
|
26280
|
-
export declare const zSetTrackerPositioningSchedulePath: z.ZodObject<{
|
|
26281
|
-
id: z.ZodString;
|
|
26282
|
-
}, z.core.$strip>;
|
|
26283
|
-
/**
|
|
26284
|
-
* OK
|
|
26285
|
-
*/
|
|
26286
|
-
export declare const zSetTrackerPositioningScheduleResponse: z.ZodObject<{
|
|
26287
|
-
deviceId: z.ZodString;
|
|
26288
|
-
version: z.ZodInt;
|
|
26289
|
-
schedule: z.ZodObject<{
|
|
26290
|
-
enabled: z.ZodBoolean;
|
|
26291
|
-
intervalSeconds: z.ZodInt;
|
|
26292
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26293
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26294
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
26295
|
-
status: z.ZodString;
|
|
26296
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26297
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26298
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26299
|
-
export declare const zRequestTrackerPositionBody: z.ZodObject<{
|
|
26300
|
-
operationId: z.ZodUUID;
|
|
26301
|
-
}, z.core.$strict>;
|
|
26302
|
-
export declare const zRequestTrackerPositionPath: z.ZodObject<{
|
|
26303
|
-
id: z.ZodString;
|
|
26304
|
-
}, z.core.$strip>;
|
|
26305
|
-
/**
|
|
26306
|
-
* Accepted
|
|
26307
|
-
*/
|
|
26308
|
-
export declare const zRequestTrackerPositionResponse: z.ZodObject<{
|
|
26309
|
-
deviceId: z.ZodString;
|
|
26310
|
-
version: z.ZodInt;
|
|
26311
|
-
schedule: z.ZodObject<{
|
|
26312
|
-
enabled: z.ZodBoolean;
|
|
26313
|
-
intervalSeconds: z.ZodInt;
|
|
26314
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26315
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26316
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
26317
|
-
status: z.ZodString;
|
|
26318
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26319
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
26320
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
26321
26216
|
export declare const zGetTrackerPath: z.ZodObject<{
|
|
26322
26217
|
id: z.ZodString;
|
|
26323
26218
|
}, z.core.$strip>;
|
|
@@ -29485,7 +29380,6 @@ export declare const zGetStaffTrackerCommandCatalogResponse: z.ZodObject<{
|
|
|
29485
29380
|
listEnvironments: "listEnvironments";
|
|
29486
29381
|
updateBattery: "updateBattery";
|
|
29487
29382
|
runBatteryCheck: "runBatteryCheck";
|
|
29488
|
-
requestPosition: "requestPosition";
|
|
29489
29383
|
enableDiagnostics: "enableDiagnostics";
|
|
29490
29384
|
}>;
|
|
29491
29385
|
label: z.ZodString;
|
|
@@ -36748,70 +36642,6 @@ export declare const zReadStaffTrackerObservationsResponse: z.ZodArray<z.ZodObje
|
|
|
36748
36642
|
type: z.ZodLiteral<"diagnostics.streamCompleted">;
|
|
36749
36643
|
}, z.core.$catchall<z.ZodUnknown>>], "type">>;
|
|
36750
36644
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
36751
|
-
export declare const zGetStaffTrackerPositioningPath: z.ZodObject<{
|
|
36752
|
-
id: z.ZodString;
|
|
36753
|
-
}, z.core.$strip>;
|
|
36754
|
-
/**
|
|
36755
|
-
* OK
|
|
36756
|
-
*/
|
|
36757
|
-
export declare const zGetStaffTrackerPositioningResponse: z.ZodObject<{
|
|
36758
|
-
deviceId: z.ZodString;
|
|
36759
|
-
version: z.ZodInt;
|
|
36760
|
-
schedule: z.ZodObject<{
|
|
36761
|
-
enabled: z.ZodBoolean;
|
|
36762
|
-
intervalSeconds: z.ZodInt;
|
|
36763
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36764
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36765
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
36766
|
-
status: z.ZodString;
|
|
36767
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36768
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36769
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36770
|
-
export declare const zSetStaffTrackerPositioningScheduleBody: z.ZodObject<{
|
|
36771
|
-
enabled: z.ZodBoolean;
|
|
36772
|
-
intervalSeconds: z.ZodInt;
|
|
36773
|
-
}, z.core.$strict>;
|
|
36774
|
-
export declare const zSetStaffTrackerPositioningSchedulePath: z.ZodObject<{
|
|
36775
|
-
id: z.ZodString;
|
|
36776
|
-
}, z.core.$strip>;
|
|
36777
|
-
/**
|
|
36778
|
-
* OK
|
|
36779
|
-
*/
|
|
36780
|
-
export declare const zSetStaffTrackerPositioningScheduleResponse: z.ZodObject<{
|
|
36781
|
-
deviceId: z.ZodString;
|
|
36782
|
-
version: z.ZodInt;
|
|
36783
|
-
schedule: z.ZodObject<{
|
|
36784
|
-
enabled: z.ZodBoolean;
|
|
36785
|
-
intervalSeconds: z.ZodInt;
|
|
36786
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36787
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36788
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
36789
|
-
status: z.ZodString;
|
|
36790
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36791
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36792
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36793
|
-
export declare const zRequestStaffTrackerPositionBody: z.ZodObject<{
|
|
36794
|
-
operationId: z.ZodUUID;
|
|
36795
|
-
}, z.core.$strict>;
|
|
36796
|
-
export declare const zRequestStaffTrackerPositionPath: z.ZodObject<{
|
|
36797
|
-
id: z.ZodString;
|
|
36798
|
-
}, z.core.$strip>;
|
|
36799
|
-
/**
|
|
36800
|
-
* Accepted
|
|
36801
|
-
*/
|
|
36802
|
-
export declare const zRequestStaffTrackerPositionResponse: z.ZodObject<{
|
|
36803
|
-
deviceId: z.ZodString;
|
|
36804
|
-
version: z.ZodInt;
|
|
36805
|
-
schedule: z.ZodObject<{
|
|
36806
|
-
enabled: z.ZodBoolean;
|
|
36807
|
-
intervalSeconds: z.ZodInt;
|
|
36808
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36809
|
-
nextDueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36810
|
-
requestId: z.ZodNullable<z.ZodInt>;
|
|
36811
|
-
status: z.ZodString;
|
|
36812
|
-
requestedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36813
|
-
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
36814
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
36815
36645
|
export declare const zUploadStaffTrackerBatteryFirmwareBody: z.ZodInstanceOf<Blob>;
|
|
36816
36646
|
export declare const zUploadStaffTrackerBatteryFirmwarePath: z.ZodObject<{
|
|
36817
36647
|
id: z.ZodString;
|
|
@@ -36845,7 +36675,6 @@ export declare const zUploadStaffTrackerBatteryFirmwareResponse: z.ZodObject<{
|
|
|
36845
36675
|
listEnvironments: "listEnvironments";
|
|
36846
36676
|
updateBattery: "updateBattery";
|
|
36847
36677
|
runBatteryCheck: "runBatteryCheck";
|
|
36848
|
-
requestPosition: "requestPosition";
|
|
36849
36678
|
enableDiagnostics: "enableDiagnostics";
|
|
36850
36679
|
}>;
|
|
36851
36680
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -36944,7 +36773,6 @@ export declare const zListStaffTrackerCommandsResponse: z.ZodObject<{
|
|
|
36944
36773
|
listEnvironments: "listEnvironments";
|
|
36945
36774
|
updateBattery: "updateBattery";
|
|
36946
36775
|
runBatteryCheck: "runBatteryCheck";
|
|
36947
|
-
requestPosition: "requestPosition";
|
|
36948
36776
|
enableDiagnostics: "enableDiagnostics";
|
|
36949
36777
|
}>;
|
|
36950
36778
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -37232,17 +37060,6 @@ export declare const zSendStaffTrackerCommandBody: z.ZodUnion<readonly [z.ZodObj
|
|
|
37232
37060
|
enrollmentUrl: z.ZodOptional<z.ZodNull>;
|
|
37233
37061
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
37234
37062
|
acquisitionOptions: z.ZodOptional<z.ZodNull>;
|
|
37235
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
37236
|
-
operationId: z.ZodUUID;
|
|
37237
|
-
expectedInventoryId: z.ZodString;
|
|
37238
|
-
command: z.ZodEnum<{
|
|
37239
|
-
requestPosition: "requestPosition";
|
|
37240
|
-
}>;
|
|
37241
|
-
arguments: z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>, z.ZodInt], null>;
|
|
37242
|
-
metrics: z.ZodOptional<z.ZodNull>;
|
|
37243
|
-
enrollmentUrl: z.ZodOptional<z.ZodNull>;
|
|
37244
|
-
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
37245
|
-
acquisitionOptions: z.ZodOptional<z.ZodNull>;
|
|
37246
37063
|
}, z.core.$strict>, z.ZodObject<{
|
|
37247
37064
|
operationId: z.ZodUUID;
|
|
37248
37065
|
expectedInventoryId: z.ZodString;
|
|
@@ -37280,7 +37097,6 @@ export declare const zSendStaffTrackerCommandResponse: z.ZodObject<{
|
|
|
37280
37097
|
listEnvironments: "listEnvironments";
|
|
37281
37098
|
updateBattery: "updateBattery";
|
|
37282
37099
|
runBatteryCheck: "runBatteryCheck";
|
|
37283
|
-
requestPosition: "requestPosition";
|
|
37284
37100
|
enableDiagnostics: "enableDiagnostics";
|
|
37285
37101
|
}>;
|
|
37286
37102
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -37375,7 +37191,6 @@ export declare const zGetStaffTrackerCommandResponse: z.ZodObject<{
|
|
|
37375
37191
|
listEnvironments: "listEnvironments";
|
|
37376
37192
|
updateBattery: "updateBattery";
|
|
37377
37193
|
runBatteryCheck: "runBatteryCheck";
|
|
37378
|
-
requestPosition: "requestPosition";
|
|
37379
37194
|
enableDiagnostics: "enableDiagnostics";
|
|
37380
37195
|
}>;
|
|
37381
37196
|
arguments: z.ZodArray<z.ZodInt>;
|
|
@@ -1008,7 +1008,6 @@ export const zCommandDefinition = z
|
|
|
1008
1008
|
"listEnvironments",
|
|
1009
1009
|
"updateBattery",
|
|
1010
1010
|
"runBatteryCheck",
|
|
1011
|
-
"requestPosition",
|
|
1012
1011
|
"enableDiagnostics",
|
|
1013
1012
|
]),
|
|
1014
1013
|
label: z.string(),
|
|
@@ -11193,17 +11192,6 @@ export const zPositionGnssFixValue = z
|
|
|
11193
11192
|
quality: zDeviceObservationValuesFixQuality.nullable(),
|
|
11194
11193
|
})
|
|
11195
11194
|
.catchall(z.unknown());
|
|
11196
|
-
export const zPositioningSchedule = z
|
|
11197
|
-
.object({
|
|
11198
|
-
enabled: z.boolean(),
|
|
11199
|
-
intervalSeconds: z.int().gte(60).lte(604800),
|
|
11200
|
-
})
|
|
11201
|
-
.strict();
|
|
11202
|
-
export const zPositionRequest = z
|
|
11203
|
-
.object({
|
|
11204
|
-
operationId: z.uuid(),
|
|
11205
|
-
})
|
|
11206
|
-
.strict();
|
|
11207
11195
|
export const zPowerActivitiesValueItem = z.enum([
|
|
11208
11196
|
"rrc",
|
|
11209
11197
|
"mqtt",
|
|
@@ -11859,21 +11847,6 @@ export const zSubmitCommandRequest = z.union([
|
|
|
11859
11847
|
acquisitionOptions: z.null().optional(),
|
|
11860
11848
|
})
|
|
11861
11849
|
.strict(),
|
|
11862
|
-
z
|
|
11863
|
-
.object({
|
|
11864
|
-
operationId: z.uuid(),
|
|
11865
|
-
expectedInventoryId: z.string(),
|
|
11866
|
-
command: z.enum(["requestPosition"]),
|
|
11867
|
-
arguments: z.tuple([
|
|
11868
|
-
z.union([z.literal(0), z.literal(1)]),
|
|
11869
|
-
z.int().gte(0).lte(4294967295),
|
|
11870
|
-
]),
|
|
11871
|
-
metrics: z.null().optional(),
|
|
11872
|
-
enrollmentUrl: z.null().optional(),
|
|
11873
|
-
confirmed: z.boolean().optional(),
|
|
11874
|
-
acquisitionOptions: z.null().optional(),
|
|
11875
|
-
})
|
|
11876
|
-
.strict(),
|
|
11877
11850
|
z
|
|
11878
11851
|
.object({
|
|
11879
11852
|
operationId: z.uuid(),
|
|
@@ -12786,7 +12759,6 @@ export const zTrackerCommand = z
|
|
|
12786
12759
|
"listEnvironments",
|
|
12787
12760
|
"updateBattery",
|
|
12788
12761
|
"runBatteryCheck",
|
|
12789
|
-
"requestPosition",
|
|
12790
12762
|
"enableDiagnostics",
|
|
12791
12763
|
]),
|
|
12792
12764
|
arguments: z.array(z
|
|
@@ -12985,30 +12957,6 @@ export const zObservationReading = z
|
|
|
12985
12957
|
observation: zCurrentObservation.nullable(),
|
|
12986
12958
|
})
|
|
12987
12959
|
.catchall(z.unknown());
|
|
12988
|
-
export const zReadPositioningSchedule = z
|
|
12989
|
-
.object({
|
|
12990
|
-
enabled: z.boolean(),
|
|
12991
|
-
intervalSeconds: z.int().gte(60).lte(604800),
|
|
12992
|
-
})
|
|
12993
|
-
.catchall(z.unknown());
|
|
12994
|
-
export const zPositioningView = z
|
|
12995
|
-
.object({
|
|
12996
|
-
deviceId: z.string(),
|
|
12997
|
-
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
12998
|
-
schedule: zReadPositioningSchedule,
|
|
12999
|
-
nextDueAt: z.iso.datetime({ offset: true }).nullable(),
|
|
13000
|
-
requestId: z
|
|
13001
|
-
.int()
|
|
13002
|
-
.min(0, { error: "Invalid value: Expected uint32 to be >= 0" })
|
|
13003
|
-
.max(4294967295, {
|
|
13004
|
-
error: "Invalid value: Expected uint32 to be <= 4294967295",
|
|
13005
|
-
})
|
|
13006
|
-
.nullable(),
|
|
13007
|
-
status: z.string(),
|
|
13008
|
-
requestedAt: z.iso.datetime({ offset: true }).nullable(),
|
|
13009
|
-
expiresAt: z.iso.datetime({ offset: true }).nullable(),
|
|
13010
|
-
})
|
|
13011
|
-
.catchall(z.unknown());
|
|
13012
12960
|
export const zSetTrackerSubscriptionBody = zAllocationChange;
|
|
13013
12961
|
export const zSetTrackerSubscriptionPath = z.object({
|
|
13014
12962
|
id: z.string(),
|
|
@@ -13055,29 +13003,6 @@ export const zLookupTrackerQuery = z.object({
|
|
|
13055
13003
|
* OK
|
|
13056
13004
|
*/
|
|
13057
13005
|
export const zLookupTrackerResponse = zTrackerLookup;
|
|
13058
|
-
export const zGetTrackerPositioningPath = z.object({
|
|
13059
|
-
id: z.string(),
|
|
13060
|
-
});
|
|
13061
|
-
/**
|
|
13062
|
-
* OK
|
|
13063
|
-
*/
|
|
13064
|
-
export const zGetTrackerPositioningResponse = zPositioningView;
|
|
13065
|
-
export const zSetTrackerPositioningScheduleBody = zPositioningSchedule;
|
|
13066
|
-
export const zSetTrackerPositioningSchedulePath = z.object({
|
|
13067
|
-
id: z.string(),
|
|
13068
|
-
});
|
|
13069
|
-
/**
|
|
13070
|
-
* OK
|
|
13071
|
-
*/
|
|
13072
|
-
export const zSetTrackerPositioningScheduleResponse = zPositioningView;
|
|
13073
|
-
export const zRequestTrackerPositionBody = zPositionRequest;
|
|
13074
|
-
export const zRequestTrackerPositionPath = z.object({
|
|
13075
|
-
id: z.string(),
|
|
13076
|
-
});
|
|
13077
|
-
/**
|
|
13078
|
-
* Accepted
|
|
13079
|
-
*/
|
|
13080
|
-
export const zRequestTrackerPositionResponse = zPositioningView;
|
|
13081
13006
|
export const zGetTrackerPath = z.object({
|
|
13082
13007
|
id: z.string(),
|
|
13083
13008
|
});
|
|
@@ -13589,29 +13514,6 @@ export const zReadStaffTrackerObservationsPath = z.object({
|
|
|
13589
13514
|
* OK
|
|
13590
13515
|
*/
|
|
13591
13516
|
export const zReadStaffTrackerObservationsResponse = z.array(zObservationReading);
|
|
13592
|
-
export const zGetStaffTrackerPositioningPath = z.object({
|
|
13593
|
-
id: z.string(),
|
|
13594
|
-
});
|
|
13595
|
-
/**
|
|
13596
|
-
* OK
|
|
13597
|
-
*/
|
|
13598
|
-
export const zGetStaffTrackerPositioningResponse = zPositioningView;
|
|
13599
|
-
export const zSetStaffTrackerPositioningScheduleBody = zPositioningSchedule;
|
|
13600
|
-
export const zSetStaffTrackerPositioningSchedulePath = z.object({
|
|
13601
|
-
id: z.string(),
|
|
13602
|
-
});
|
|
13603
|
-
/**
|
|
13604
|
-
* OK
|
|
13605
|
-
*/
|
|
13606
|
-
export const zSetStaffTrackerPositioningScheduleResponse = zPositioningView;
|
|
13607
|
-
export const zRequestStaffTrackerPositionBody = zPositionRequest;
|
|
13608
|
-
export const zRequestStaffTrackerPositionPath = z.object({
|
|
13609
|
-
id: z.string(),
|
|
13610
|
-
});
|
|
13611
|
-
/**
|
|
13612
|
-
* Accepted
|
|
13613
|
-
*/
|
|
13614
|
-
export const zRequestStaffTrackerPositionResponse = zPositioningView;
|
|
13615
13517
|
export const zUploadStaffTrackerBatteryFirmwareBody = z.instanceof(Blob);
|
|
13616
13518
|
export const zUploadStaffTrackerBatteryFirmwarePath = z.object({
|
|
13617
13519
|
id: z.string(),
|