@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
package/openapi/api.json
CHANGED
|
@@ -43795,12 +43795,10 @@
|
|
|
43795
43795
|
}
|
|
43796
43796
|
},
|
|
43797
43797
|
"mode": {
|
|
43798
|
-
"title": "
|
|
43799
|
-
"maximum": 2,
|
|
43800
|
-
"minimum": 0,
|
|
43798
|
+
"title": "Tracking mode",
|
|
43801
43799
|
"uniqueItems": false,
|
|
43802
|
-
"type": "
|
|
43803
|
-
"description": "
|
|
43800
|
+
"type": "string",
|
|
43801
|
+
"description": "Underlying firmware behavior. Offered tracking modes are cloud-configurable profiles.",
|
|
43804
43802
|
"x-bf": {
|
|
43805
43803
|
"unit": null
|
|
43806
43804
|
}
|
|
@@ -43816,68 +43814,68 @@
|
|
|
43816
43814
|
"unit": "s"
|
|
43817
43815
|
}
|
|
43818
43816
|
},
|
|
43819
|
-
"
|
|
43820
|
-
"title": "
|
|
43817
|
+
"standardIdleSeconds": {
|
|
43818
|
+
"title": "Standard idle duration",
|
|
43821
43819
|
"maximum": 604800,
|
|
43822
43820
|
"minimum": 60,
|
|
43823
43821
|
"uniqueItems": false,
|
|
43824
43822
|
"type": "integer",
|
|
43825
|
-
"description": "Maximum battery idle duration after a
|
|
43823
|
+
"description": "Maximum battery idle duration after a standard cycle.",
|
|
43826
43824
|
"x-bf": {
|
|
43827
43825
|
"unit": "s"
|
|
43828
43826
|
}
|
|
43829
43827
|
},
|
|
43830
|
-
"
|
|
43831
|
-
"title": "
|
|
43828
|
+
"securityIdleSeconds": {
|
|
43829
|
+
"title": "Security idle duration",
|
|
43832
43830
|
"maximum": 604800,
|
|
43833
43831
|
"minimum": 60,
|
|
43834
43832
|
"uniqueItems": false,
|
|
43835
43833
|
"type": "integer",
|
|
43836
|
-
"description": "Maximum battery idle duration after a
|
|
43834
|
+
"description": "Maximum battery idle duration after a security cycle.",
|
|
43837
43835
|
"x-bf": {
|
|
43838
43836
|
"unit": "s"
|
|
43839
43837
|
}
|
|
43840
43838
|
},
|
|
43841
|
-
"
|
|
43842
|
-
"title": "
|
|
43839
|
+
"trackingIdleSeconds": {
|
|
43840
|
+
"title": "Tracking idle duration",
|
|
43843
43841
|
"maximum": 86400,
|
|
43844
43842
|
"minimum": 10,
|
|
43845
43843
|
"uniqueItems": false,
|
|
43846
43844
|
"type": "integer",
|
|
43847
|
-
"description": "Maximum battery idle duration after a
|
|
43845
|
+
"description": "Maximum battery idle duration after a tracking cycle.",
|
|
43848
43846
|
"x-bf": {
|
|
43849
43847
|
"unit": "s"
|
|
43850
43848
|
}
|
|
43851
43849
|
},
|
|
43852
|
-
"
|
|
43853
|
-
"title": "
|
|
43850
|
+
"standardMinimumRestSeconds": {
|
|
43851
|
+
"title": "Standard movement rest",
|
|
43854
43852
|
"maximum": 86400,
|
|
43855
43853
|
"minimum": 0,
|
|
43856
43854
|
"uniqueItems": false,
|
|
43857
43855
|
"type": "integer",
|
|
43858
|
-
"description": "
|
|
43856
|
+
"description": "Minimum rest before movement starts another standard cycle.",
|
|
43859
43857
|
"x-bf": {
|
|
43860
43858
|
"unit": "s"
|
|
43861
43859
|
}
|
|
43862
43860
|
},
|
|
43863
|
-
"
|
|
43864
|
-
"title": "
|
|
43861
|
+
"securityMinimumRestSeconds": {
|
|
43862
|
+
"title": "Security movement rest",
|
|
43865
43863
|
"maximum": 86400,
|
|
43866
43864
|
"minimum": 0,
|
|
43867
43865
|
"uniqueItems": false,
|
|
43868
43866
|
"type": "integer",
|
|
43869
|
-
"description": "
|
|
43867
|
+
"description": "Minimum rest before movement starts another security cycle.",
|
|
43870
43868
|
"x-bf": {
|
|
43871
43869
|
"unit": "s"
|
|
43872
43870
|
}
|
|
43873
43871
|
},
|
|
43874
|
-
"
|
|
43875
|
-
"title": "
|
|
43872
|
+
"trackingMinimumRestSeconds": {
|
|
43873
|
+
"title": "Tracking movement rest",
|
|
43876
43874
|
"maximum": 86400,
|
|
43877
43875
|
"minimum": 0,
|
|
43878
43876
|
"uniqueItems": false,
|
|
43879
43877
|
"type": "integer",
|
|
43880
|
-
"description": "
|
|
43878
|
+
"description": "Minimum rest before movement starts another tracking cycle.",
|
|
43881
43879
|
"x-bf": {
|
|
43882
43880
|
"unit": "s"
|
|
43883
43881
|
}
|
|
@@ -44213,7 +44211,7 @@
|
|
|
44213
44211
|
"x-bf": {
|
|
44214
44212
|
"domain": "settings",
|
|
44215
44213
|
"version": 1,
|
|
44216
|
-
"settingsSchemaVersion":
|
|
44214
|
+
"settingsSchemaVersion": 28
|
|
44217
44215
|
}
|
|
44218
44216
|
},
|
|
44219
44217
|
"DeviceSettingsAutomaticDiagnosticsPower": {
|
|
@@ -44410,10 +44408,8 @@
|
|
|
44410
44408
|
"type": "boolean"
|
|
44411
44409
|
},
|
|
44412
44410
|
"mode": {
|
|
44413
|
-
"maximum": 2,
|
|
44414
|
-
"minimum": 0,
|
|
44415
44411
|
"uniqueItems": false,
|
|
44416
|
-
"type": "
|
|
44412
|
+
"type": "string"
|
|
44417
44413
|
}
|
|
44418
44414
|
},
|
|
44419
44415
|
"additionalProperties": false,
|
|
@@ -44475,26 +44471,12 @@
|
|
|
44475
44471
|
"type": "integer"
|
|
44476
44472
|
},
|
|
44477
44473
|
"mode": {
|
|
44478
|
-
"maximum": 2,
|
|
44479
|
-
"minimum": 0,
|
|
44480
44474
|
"uniqueItems": false,
|
|
44481
|
-
"type": "
|
|
44475
|
+
"type": "string"
|
|
44482
44476
|
},
|
|
44483
44477
|
"state": {
|
|
44484
|
-
"
|
|
44485
|
-
"
|
|
44486
|
-
"idle",
|
|
44487
|
-
"battery",
|
|
44488
|
-
"connect",
|
|
44489
|
-
"cell",
|
|
44490
|
-
"wifi",
|
|
44491
|
-
"publish",
|
|
44492
|
-
"listen",
|
|
44493
|
-
"gps",
|
|
44494
|
-
"gpsPublish",
|
|
44495
|
-
"rest"
|
|
44496
|
-
],
|
|
44497
|
-
"type": "string"
|
|
44478
|
+
"type": "string",
|
|
44479
|
+
"description": "Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values."
|
|
44498
44480
|
},
|
|
44499
44481
|
"owner": {
|
|
44500
44482
|
"uniqueItems": false,
|