@bikefinder/sdk 0.1.5 → 0.1.6
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 +11 -10
- package/dist/device-schema.d.ts +47 -53
- package/dist/device-schema.js +24 -30
- package/dist/generated/sdk.gen.js +1 -94
- package/dist/generated/types.gen.d.ts +48 -45
- package/dist/generated/zod.gen.d.ts +100 -210
- package/dist/generated/zod.gen.js +17 -28
- package/dist/index.d.ts +1 -1
- package/dist/workflow-schema.d.ts +3 -3
- package/dist/workflow-schema.js +4 -4
- package/openapi/api.json +26 -44
- package/package.json +1 -1
|
@@ -8331,11 +8331,11 @@ export type DeviceSettings = {
|
|
|
8331
8331
|
*/
|
|
8332
8332
|
bleAdvertisingIntervalUnits?: number;
|
|
8333
8333
|
/**
|
|
8334
|
-
*
|
|
8334
|
+
* Tracking mode
|
|
8335
8335
|
*
|
|
8336
|
-
*
|
|
8336
|
+
* Underlying firmware behavior. Offered tracking modes are cloud-configurable profiles.
|
|
8337
8337
|
*/
|
|
8338
|
-
mode?:
|
|
8338
|
+
mode?: string;
|
|
8339
8339
|
/**
|
|
8340
8340
|
* Powered report interval
|
|
8341
8341
|
*
|
|
@@ -8343,41 +8343,41 @@ export type DeviceSettings = {
|
|
|
8343
8343
|
*/
|
|
8344
8344
|
poweredReportIntervalSeconds?: number;
|
|
8345
8345
|
/**
|
|
8346
|
-
*
|
|
8346
|
+
* Standard idle duration
|
|
8347
8347
|
*
|
|
8348
|
-
* Maximum battery idle duration after a
|
|
8348
|
+
* Maximum battery idle duration after a standard cycle.
|
|
8349
8349
|
*/
|
|
8350
|
-
|
|
8350
|
+
standardIdleSeconds?: number;
|
|
8351
8351
|
/**
|
|
8352
|
-
*
|
|
8352
|
+
* Security idle duration
|
|
8353
8353
|
*
|
|
8354
|
-
* Maximum battery idle duration after a
|
|
8354
|
+
* Maximum battery idle duration after a security cycle.
|
|
8355
8355
|
*/
|
|
8356
|
-
|
|
8356
|
+
securityIdleSeconds?: number;
|
|
8357
8357
|
/**
|
|
8358
|
-
*
|
|
8358
|
+
* Tracking idle duration
|
|
8359
8359
|
*
|
|
8360
|
-
* Maximum battery idle duration after a
|
|
8360
|
+
* Maximum battery idle duration after a tracking cycle.
|
|
8361
8361
|
*/
|
|
8362
|
-
|
|
8362
|
+
trackingIdleSeconds?: number;
|
|
8363
8363
|
/**
|
|
8364
|
-
*
|
|
8364
|
+
* Standard movement rest
|
|
8365
8365
|
*
|
|
8366
|
-
*
|
|
8366
|
+
* Minimum rest before movement starts another standard cycle.
|
|
8367
8367
|
*/
|
|
8368
|
-
|
|
8368
|
+
standardMinimumRestSeconds?: number;
|
|
8369
8369
|
/**
|
|
8370
|
-
*
|
|
8370
|
+
* Security movement rest
|
|
8371
8371
|
*
|
|
8372
|
-
*
|
|
8372
|
+
* Minimum rest before movement starts another security cycle.
|
|
8373
8373
|
*/
|
|
8374
|
-
|
|
8374
|
+
securityMinimumRestSeconds?: number;
|
|
8375
8375
|
/**
|
|
8376
|
-
*
|
|
8376
|
+
* Tracking movement rest
|
|
8377
8377
|
*
|
|
8378
|
-
*
|
|
8378
|
+
* Minimum rest before movement starts another tracking cycle.
|
|
8379
8379
|
*/
|
|
8380
|
-
|
|
8380
|
+
trackingMinimumRestSeconds?: number;
|
|
8381
8381
|
/**
|
|
8382
8382
|
* PSM residence
|
|
8383
8383
|
*
|
|
@@ -8585,7 +8585,7 @@ export type DeviceWorkCompletedValue = {
|
|
|
8585
8585
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
8586
8586
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
8587
8587
|
saturated: boolean;
|
|
8588
|
-
mode:
|
|
8588
|
+
mode: string;
|
|
8589
8589
|
[key: string]: unknown;
|
|
8590
8590
|
};
|
|
8591
8591
|
/**
|
|
@@ -8595,8 +8595,11 @@ export type DeviceWorkCompletedValue = {
|
|
|
8595
8595
|
*/
|
|
8596
8596
|
export type DeviceWorkflowExecutionValue = {
|
|
8597
8597
|
workflowVersion: number;
|
|
8598
|
-
mode:
|
|
8599
|
-
|
|
8598
|
+
mode: string;
|
|
8599
|
+
/**
|
|
8600
|
+
* Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values.
|
|
8601
|
+
*/
|
|
8602
|
+
state: string;
|
|
8600
8603
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
8601
8604
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
8602
8605
|
outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
|
|
@@ -9722,11 +9725,11 @@ export type ReadDeviceSettings = {
|
|
|
9722
9725
|
*/
|
|
9723
9726
|
bleAdvertisingIntervalUnits?: number;
|
|
9724
9727
|
/**
|
|
9725
|
-
*
|
|
9728
|
+
* Tracking mode
|
|
9726
9729
|
*
|
|
9727
|
-
*
|
|
9730
|
+
* Underlying firmware behavior. Offered tracking modes are cloud-configurable profiles.
|
|
9728
9731
|
*/
|
|
9729
|
-
mode?:
|
|
9732
|
+
mode?: string;
|
|
9730
9733
|
/**
|
|
9731
9734
|
* Powered report interval
|
|
9732
9735
|
*
|
|
@@ -9734,41 +9737,41 @@ export type ReadDeviceSettings = {
|
|
|
9734
9737
|
*/
|
|
9735
9738
|
poweredReportIntervalSeconds?: number;
|
|
9736
9739
|
/**
|
|
9737
|
-
*
|
|
9740
|
+
* Standard idle duration
|
|
9738
9741
|
*
|
|
9739
|
-
* Maximum battery idle duration after a
|
|
9742
|
+
* Maximum battery idle duration after a standard cycle.
|
|
9740
9743
|
*/
|
|
9741
|
-
|
|
9744
|
+
standardIdleSeconds?: number;
|
|
9742
9745
|
/**
|
|
9743
|
-
*
|
|
9746
|
+
* Security idle duration
|
|
9744
9747
|
*
|
|
9745
|
-
* Maximum battery idle duration after a
|
|
9748
|
+
* Maximum battery idle duration after a security cycle.
|
|
9746
9749
|
*/
|
|
9747
|
-
|
|
9750
|
+
securityIdleSeconds?: number;
|
|
9748
9751
|
/**
|
|
9749
|
-
*
|
|
9752
|
+
* Tracking idle duration
|
|
9750
9753
|
*
|
|
9751
|
-
* Maximum battery idle duration after a
|
|
9754
|
+
* Maximum battery idle duration after a tracking cycle.
|
|
9752
9755
|
*/
|
|
9753
|
-
|
|
9756
|
+
trackingIdleSeconds?: number;
|
|
9754
9757
|
/**
|
|
9755
|
-
*
|
|
9758
|
+
* Standard movement rest
|
|
9756
9759
|
*
|
|
9757
|
-
*
|
|
9760
|
+
* Minimum rest before movement starts another standard cycle.
|
|
9758
9761
|
*/
|
|
9759
|
-
|
|
9762
|
+
standardMinimumRestSeconds?: number;
|
|
9760
9763
|
/**
|
|
9761
|
-
*
|
|
9764
|
+
* Security movement rest
|
|
9762
9765
|
*
|
|
9763
|
-
*
|
|
9766
|
+
* Minimum rest before movement starts another security cycle.
|
|
9764
9767
|
*/
|
|
9765
|
-
|
|
9768
|
+
securityMinimumRestSeconds?: number;
|
|
9766
9769
|
/**
|
|
9767
|
-
*
|
|
9770
|
+
* Tracking movement rest
|
|
9768
9771
|
*
|
|
9769
|
-
*
|
|
9772
|
+
* Minimum rest before movement starts another tracking cycle.
|
|
9770
9773
|
*/
|
|
9771
|
-
|
|
9774
|
+
trackingMinimumRestSeconds?: number;
|
|
9772
9775
|
/**
|
|
9773
9776
|
* PSM residence
|
|
9774
9777
|
*
|