@bikefinder/sdk 0.1.4 → 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.
@@ -8540,6 +8540,12 @@ export type DeviceSettings = {
8540
8540
  * Maximum age of charger readback used for the reported charging status. Independent of charging-control safety deadlines; does not authorize charging or schedule extra hardware reads. Confirmed input loss still reports not charging immediately.
8541
8541
  */
8542
8542
  chargingStatusMaxAgeSeconds?: number;
8543
+ /**
8544
+ * Automatic work reporting
8545
+ *
8546
+ * Upload work.completed cycle outcomes and interval accounting on existing connections. Off by default. automaticDiagnosticsPower controls eligible power sources. Cached on-demand observations remain available when off; workflowDebugEnabled independently controls detailed step traces.
8547
+ */
8548
+ workReportingEnabled?: boolean;
8543
8549
  };
8544
8550
  export type DeviceSettingsAutomaticDiagnosticsPower = "any" | "external";
8545
8551
  export type DeviceSettingsWifiScanType = "active" | "passive";
@@ -8590,7 +8596,10 @@ export type DeviceWorkCompletedValue = {
8590
8596
  export type DeviceWorkflowExecutionValue = {
8591
8597
  workflowVersion: number;
8592
8598
  mode: string;
8593
- state: "idle" | "battery" | "connect" | "cell" | "wifi" | "publish" | "listen" | "gps" | "gpsPublish";
8599
+ /**
8600
+ * Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values.
8601
+ */
8602
+ state: string;
8594
8603
  owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
8595
8604
  phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
8596
8605
  outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
@@ -9925,6 +9934,12 @@ export type ReadDeviceSettings = {
9925
9934
  * Maximum age of charger readback used for the reported charging status. Independent of charging-control safety deadlines; does not authorize charging or schedule extra hardware reads. Confirmed input loss still reports not charging immediately.
9926
9935
  */
9927
9936
  chargingStatusMaxAgeSeconds?: number;
9937
+ /**
9938
+ * Automatic work reporting
9939
+ *
9940
+ * Upload work.completed cycle outcomes and interval accounting on existing connections. Off by default. automaticDiagnosticsPower controls eligible power sources. Cached on-demand observations remain available when off; workflowDebugEnabled independently controls detailed step traces.
9941
+ */
9942
+ workReportingEnabled?: boolean;
9928
9943
  [key: string]: unknown;
9929
9944
  };
9930
9945
  export type SetTrackerSubscriptionData = {
@@ -8686,6 +8686,7 @@ export declare const zDeviceSettings: z.ZodObject<{
8686
8686
  passive: "passive";
8687
8687
  }>>;
8688
8688
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
8689
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
8689
8690
  }, z.core.$strict>;
8690
8691
  export declare const zAwsSettingsWrite: z.ZodObject<{
8691
8692
  expectedVersion: z.ZodInt;
@@ -8762,6 +8763,7 @@ export declare const zAwsSettingsWrite: z.ZodObject<{
8762
8763
  passive: "passive";
8763
8764
  }>>;
8764
8765
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
8766
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
8765
8767
  }, z.core.$strict>;
8766
8768
  }, z.core.$strict>;
8767
8769
  export declare const zDeviceSettingsAutomaticDiagnosticsPower: z.ZodEnum<{
@@ -9209,17 +9211,7 @@ export declare const zAwsWorkCompletedReading: z.ZodUnion<readonly [z.ZodObject<
9209
9211
  export declare const zDeviceWorkflowExecutionValue: z.ZodObject<{
9210
9212
  workflowVersion: z.ZodInt;
9211
9213
  mode: z.ZodString;
9212
- state: z.ZodEnum<{
9213
- publish: "publish";
9214
- idle: "idle";
9215
- battery: "battery";
9216
- connect: "connect";
9217
- cell: "cell";
9218
- wifi: "wifi";
9219
- listen: "listen";
9220
- gps: "gps";
9221
- gpsPublish: "gpsPublish";
9222
- }>;
9214
+ state: z.ZodString;
9223
9215
  owner: z.ZodEnum<{
9224
9216
  charging: "charging";
9225
9217
  command: "command";
@@ -9250,11 +9242,11 @@ export declare const zDeviceWorkflowExecutionValue: z.ZodObject<{
9250
9242
  error: z.ZodNullable<z.ZodInt>;
9251
9243
  waitReason: z.ZodNullable<z.ZodEnum<{
9252
9244
  command: "command";
9245
+ rest: "rest";
9253
9246
  update: "update";
9254
9247
  network: "network";
9255
9248
  resource: "resource";
9256
9249
  configuration: "configuration";
9257
- rest: "rest";
9258
9250
  }>>;
9259
9251
  operation: z.ZodNullable<z.ZodEnum<{
9260
9252
  publish: "publish";
@@ -9277,17 +9269,7 @@ export declare const zAwsWorkflowExecutionObservation: z.ZodObject<{
9277
9269
  value: z.ZodObject<{
9278
9270
  workflowVersion: z.ZodInt;
9279
9271
  mode: z.ZodString;
9280
- state: z.ZodEnum<{
9281
- publish: "publish";
9282
- idle: "idle";
9283
- battery: "battery";
9284
- connect: "connect";
9285
- cell: "cell";
9286
- wifi: "wifi";
9287
- listen: "listen";
9288
- gps: "gps";
9289
- gpsPublish: "gpsPublish";
9290
- }>;
9272
+ state: z.ZodString;
9291
9273
  owner: z.ZodEnum<{
9292
9274
  charging: "charging";
9293
9275
  command: "command";
@@ -9318,11 +9300,11 @@ export declare const zAwsWorkflowExecutionObservation: z.ZodObject<{
9318
9300
  error: z.ZodNullable<z.ZodInt>;
9319
9301
  waitReason: z.ZodNullable<z.ZodEnum<{
9320
9302
  command: "command";
9303
+ rest: "rest";
9321
9304
  update: "update";
9322
9305
  network: "network";
9323
9306
  resource: "resource";
9324
9307
  configuration: "configuration";
9325
- rest: "rest";
9326
9308
  }>>;
9327
9309
  operation: z.ZodNullable<z.ZodEnum<{
9328
9310
  publish: "publish";
@@ -9351,17 +9333,7 @@ export declare const zAwsWorkflowExecutionReading: z.ZodUnion<readonly [z.ZodObj
9351
9333
  value: z.ZodObject<{
9352
9334
  workflowVersion: z.ZodInt;
9353
9335
  mode: z.ZodString;
9354
- state: z.ZodEnum<{
9355
- publish: "publish";
9356
- idle: "idle";
9357
- battery: "battery";
9358
- connect: "connect";
9359
- cell: "cell";
9360
- wifi: "wifi";
9361
- listen: "listen";
9362
- gps: "gps";
9363
- gpsPublish: "gpsPublish";
9364
- }>;
9336
+ state: z.ZodString;
9365
9337
  owner: z.ZodEnum<{
9366
9338
  charging: "charging";
9367
9339
  command: "command";
@@ -9392,11 +9364,11 @@ export declare const zAwsWorkflowExecutionReading: z.ZodUnion<readonly [z.ZodObj
9392
9364
  error: z.ZodNullable<z.ZodInt>;
9393
9365
  waitReason: z.ZodNullable<z.ZodEnum<{
9394
9366
  command: "command";
9367
+ rest: "rest";
9395
9368
  update: "update";
9396
9369
  network: "network";
9397
9370
  resource: "resource";
9398
9371
  configuration: "configuration";
9399
- rest: "rest";
9400
9372
  }>>;
9401
9373
  operation: z.ZodNullable<z.ZodEnum<{
9402
9374
  publish: "publish";
@@ -20457,17 +20429,7 @@ export declare const zAwsObservation: z.ZodUnion<readonly [z.ZodObject<{
20457
20429
  value: z.ZodObject<{
20458
20430
  workflowVersion: z.ZodInt;
20459
20431
  mode: z.ZodString;
20460
- state: z.ZodEnum<{
20461
- publish: "publish";
20462
- idle: "idle";
20463
- battery: "battery";
20464
- connect: "connect";
20465
- cell: "cell";
20466
- wifi: "wifi";
20467
- listen: "listen";
20468
- gps: "gps";
20469
- gpsPublish: "gpsPublish";
20470
- }>;
20432
+ state: z.ZodString;
20471
20433
  owner: z.ZodEnum<{
20472
20434
  charging: "charging";
20473
20435
  command: "command";
@@ -20498,11 +20460,11 @@ export declare const zAwsObservation: z.ZodUnion<readonly [z.ZodObject<{
20498
20460
  error: z.ZodNullable<z.ZodInt>;
20499
20461
  waitReason: z.ZodNullable<z.ZodEnum<{
20500
20462
  command: "command";
20463
+ rest: "rest";
20501
20464
  update: "update";
20502
20465
  network: "network";
20503
20466
  resource: "resource";
20504
20467
  configuration: "configuration";
20505
- rest: "rest";
20506
20468
  }>>;
20507
20469
  operation: z.ZodNullable<z.ZodEnum<{
20508
20470
  publish: "publish";
@@ -22789,17 +22751,7 @@ export declare const zAwsObservationPage: z.ZodObject<{
22789
22751
  value: z.ZodObject<{
22790
22752
  workflowVersion: z.ZodInt;
22791
22753
  mode: z.ZodString;
22792
- state: z.ZodEnum<{
22793
- publish: "publish";
22794
- idle: "idle";
22795
- battery: "battery";
22796
- connect: "connect";
22797
- cell: "cell";
22798
- wifi: "wifi";
22799
- listen: "listen";
22800
- gps: "gps";
22801
- gpsPublish: "gpsPublish";
22802
- }>;
22754
+ state: z.ZodString;
22803
22755
  owner: z.ZodEnum<{
22804
22756
  charging: "charging";
22805
22757
  command: "command";
@@ -22830,11 +22782,11 @@ export declare const zAwsObservationPage: z.ZodObject<{
22830
22782
  error: z.ZodNullable<z.ZodInt>;
22831
22783
  waitReason: z.ZodNullable<z.ZodEnum<{
22832
22784
  command: "command";
22785
+ rest: "rest";
22833
22786
  update: "update";
22834
22787
  network: "network";
22835
22788
  resource: "resource";
22836
22789
  configuration: "configuration";
22837
- rest: "rest";
22838
22790
  }>>;
22839
22791
  operation: z.ZodNullable<z.ZodEnum<{
22840
22792
  publish: "publish";
@@ -26816,17 +26768,7 @@ export declare const zAwsObservationReading: z.ZodUnion<readonly [z.ZodUnion<rea
26816
26768
  value: z.ZodObject<{
26817
26769
  workflowVersion: z.ZodInt;
26818
26770
  mode: z.ZodString;
26819
- state: z.ZodEnum<{
26820
- publish: "publish";
26821
- idle: "idle";
26822
- battery: "battery";
26823
- connect: "connect";
26824
- cell: "cell";
26825
- wifi: "wifi";
26826
- listen: "listen";
26827
- gps: "gps";
26828
- gpsPublish: "gpsPublish";
26829
- }>;
26771
+ state: z.ZodString;
26830
26772
  owner: z.ZodEnum<{
26831
26773
  charging: "charging";
26832
26774
  command: "command";
@@ -26857,11 +26799,11 @@ export declare const zAwsObservationReading: z.ZodUnion<readonly [z.ZodUnion<rea
26857
26799
  error: z.ZodNullable<z.ZodInt>;
26858
26800
  waitReason: z.ZodNullable<z.ZodEnum<{
26859
26801
  command: "command";
26802
+ rest: "rest";
26860
26803
  update: "update";
26861
26804
  network: "network";
26862
26805
  resource: "resource";
26863
26806
  configuration: "configuration";
26864
- rest: "rest";
26865
26807
  }>>;
26866
26808
  operation: z.ZodNullable<z.ZodEnum<{
26867
26809
  publish: "publish";
@@ -28239,17 +28181,7 @@ export declare const zDeviceObservationValues: z.ZodObject<{
28239
28181
  "workflow.execution": z.ZodOptional<z.ZodObject<{
28240
28182
  workflowVersion: z.ZodInt;
28241
28183
  mode: z.ZodString;
28242
- state: z.ZodEnum<{
28243
- publish: "publish";
28244
- idle: "idle";
28245
- battery: "battery";
28246
- connect: "connect";
28247
- cell: "cell";
28248
- wifi: "wifi";
28249
- listen: "listen";
28250
- gps: "gps";
28251
- gpsPublish: "gpsPublish";
28252
- }>;
28184
+ state: z.ZodString;
28253
28185
  owner: z.ZodEnum<{
28254
28186
  charging: "charging";
28255
28187
  command: "command";
@@ -28280,11 +28212,11 @@ export declare const zDeviceObservationValues: z.ZodObject<{
28280
28212
  error: z.ZodNullable<z.ZodInt>;
28281
28213
  waitReason: z.ZodNullable<z.ZodEnum<{
28282
28214
  command: "command";
28215
+ rest: "rest";
28283
28216
  update: "update";
28284
28217
  network: "network";
28285
28218
  resource: "resource";
28286
28219
  configuration: "configuration";
28287
- rest: "rest";
28288
28220
  }>>;
28289
28221
  operation: z.ZodNullable<z.ZodEnum<{
28290
28222
  publish: "publish";
@@ -28457,6 +28389,7 @@ export declare const zReadDeviceSettings: z.ZodObject<{
28457
28389
  passive: "passive";
28458
28390
  }>>;
28459
28391
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
28392
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
28460
28393
  }, z.core.$catchall<z.ZodUnknown>>;
28461
28394
  export declare const zAwsSettingsSnapshot: z.ZodObject<{
28462
28395
  version: z.ZodInt;
@@ -28534,6 +28467,7 @@ export declare const zAwsSettingsSnapshot: z.ZodObject<{
28534
28467
  passive: "passive";
28535
28468
  }>>;
28536
28469
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
28470
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
28537
28471
  }, z.core.$catchall<z.ZodUnknown>>;
28538
28472
  reported: z.ZodObject<{
28539
28473
  batteryIntervalSeconds: z.ZodOptional<z.ZodInt>;
@@ -28608,6 +28542,7 @@ export declare const zAwsSettingsSnapshot: z.ZodObject<{
28608
28542
  passive: "passive";
28609
28543
  }>>;
28610
28544
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
28545
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
28611
28546
  }, z.core.$catchall<z.ZodUnknown>>;
28612
28547
  application: z.ZodObject<{
28613
28548
  settings: z.ZodNullable<z.ZodObject<{
@@ -34770,17 +34705,7 @@ export declare const zListAwsDeviceObservationsResponse: z.ZodObject<{
34770
34705
  value: z.ZodObject<{
34771
34706
  workflowVersion: z.ZodInt;
34772
34707
  mode: z.ZodString;
34773
- state: z.ZodEnum<{
34774
- publish: "publish";
34775
- idle: "idle";
34776
- battery: "battery";
34777
- connect: "connect";
34778
- cell: "cell";
34779
- wifi: "wifi";
34780
- listen: "listen";
34781
- gps: "gps";
34782
- gpsPublish: "gpsPublish";
34783
- }>;
34708
+ state: z.ZodString;
34784
34709
  owner: z.ZodEnum<{
34785
34710
  charging: "charging";
34786
34711
  command: "command";
@@ -34811,11 +34736,11 @@ export declare const zListAwsDeviceObservationsResponse: z.ZodObject<{
34811
34736
  error: z.ZodNullable<z.ZodInt>;
34812
34737
  waitReason: z.ZodNullable<z.ZodEnum<{
34813
34738
  command: "command";
34739
+ rest: "rest";
34814
34740
  update: "update";
34815
34741
  network: "network";
34816
34742
  resource: "resource";
34817
34743
  configuration: "configuration";
34818
- rest: "rest";
34819
34744
  }>>;
34820
34745
  operation: z.ZodNullable<z.ZodEnum<{
34821
34746
  publish: "publish";
@@ -37110,17 +37035,7 @@ export declare const zGetAwsDeviceObservationResponse: z.ZodUnion<readonly [z.Zo
37110
37035
  value: z.ZodObject<{
37111
37036
  workflowVersion: z.ZodInt;
37112
37037
  mode: z.ZodString;
37113
- state: z.ZodEnum<{
37114
- publish: "publish";
37115
- idle: "idle";
37116
- battery: "battery";
37117
- connect: "connect";
37118
- cell: "cell";
37119
- wifi: "wifi";
37120
- listen: "listen";
37121
- gps: "gps";
37122
- gpsPublish: "gpsPublish";
37123
- }>;
37038
+ state: z.ZodString;
37124
37039
  owner: z.ZodEnum<{
37125
37040
  charging: "charging";
37126
37041
  command: "command";
@@ -37151,11 +37066,11 @@ export declare const zGetAwsDeviceObservationResponse: z.ZodUnion<readonly [z.Zo
37151
37066
  error: z.ZodNullable<z.ZodInt>;
37152
37067
  waitReason: z.ZodNullable<z.ZodEnum<{
37153
37068
  command: "command";
37069
+ rest: "rest";
37154
37070
  update: "update";
37155
37071
  network: "network";
37156
37072
  resource: "resource";
37157
37073
  configuration: "configuration";
37158
- rest: "rest";
37159
37074
  }>>;
37160
37075
  operation: z.ZodNullable<z.ZodEnum<{
37161
37076
  publish: "publish";
@@ -41588,17 +41503,7 @@ export declare const zReadAwsObservationsResponse: z.ZodArray<z.ZodUnion<readonl
41588
41503
  value: z.ZodObject<{
41589
41504
  workflowVersion: z.ZodInt;
41590
41505
  mode: z.ZodString;
41591
- state: z.ZodEnum<{
41592
- publish: "publish";
41593
- idle: "idle";
41594
- battery: "battery";
41595
- connect: "connect";
41596
- cell: "cell";
41597
- wifi: "wifi";
41598
- listen: "listen";
41599
- gps: "gps";
41600
- gpsPublish: "gpsPublish";
41601
- }>;
41506
+ state: z.ZodString;
41602
41507
  owner: z.ZodEnum<{
41603
41508
  charging: "charging";
41604
41509
  command: "command";
@@ -41629,11 +41534,11 @@ export declare const zReadAwsObservationsResponse: z.ZodArray<z.ZodUnion<readonl
41629
41534
  error: z.ZodNullable<z.ZodInt>;
41630
41535
  waitReason: z.ZodNullable<z.ZodEnum<{
41631
41536
  command: "command";
41537
+ rest: "rest";
41632
41538
  update: "update";
41633
41539
  network: "network";
41634
41540
  resource: "resource";
41635
41541
  configuration: "configuration";
41636
- rest: "rest";
41637
41542
  }>>;
41638
41543
  operation: z.ZodNullable<z.ZodEnum<{
41639
41544
  publish: "publish";
@@ -41942,6 +41847,7 @@ export declare const zGetAwsSettingsResponse: z.ZodObject<{
41942
41847
  passive: "passive";
41943
41848
  }>>;
41944
41849
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
41850
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
41945
41851
  }, z.core.$catchall<z.ZodUnknown>>;
41946
41852
  reported: z.ZodObject<{
41947
41853
  batteryIntervalSeconds: z.ZodOptional<z.ZodInt>;
@@ -42016,6 +41922,7 @@ export declare const zGetAwsSettingsResponse: z.ZodObject<{
42016
41922
  passive: "passive";
42017
41923
  }>>;
42018
41924
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
41925
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
42019
41926
  }, z.core.$catchall<z.ZodUnknown>>;
42020
41927
  application: z.ZodObject<{
42021
41928
  settings: z.ZodNullable<z.ZodObject<{
@@ -42131,6 +42038,7 @@ export declare const zUpdateAwsSettingsBody: z.ZodObject<{
42131
42038
  passive: "passive";
42132
42039
  }>>;
42133
42040
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
42041
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
42134
42042
  }, z.core.$strict>;
42135
42043
  }, z.core.$strict>;
42136
42044
  export declare const zUpdateAwsSettingsPath: z.ZodObject<{
@@ -42215,6 +42123,7 @@ export declare const zUpdateAwsSettingsResponse: z.ZodObject<{
42215
42123
  passive: "passive";
42216
42124
  }>>;
42217
42125
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
42126
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
42218
42127
  }, z.core.$catchall<z.ZodUnknown>>;
42219
42128
  reported: z.ZodObject<{
42220
42129
  batteryIntervalSeconds: z.ZodOptional<z.ZodInt>;
@@ -42289,6 +42198,7 @@ export declare const zUpdateAwsSettingsResponse: z.ZodObject<{
42289
42198
  passive: "passive";
42290
42199
  }>>;
42291
42200
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
42201
+ workReportingEnabled: z.ZodOptional<z.ZodBoolean>;
42292
42202
  }, z.core.$catchall<z.ZodUnknown>>;
42293
42203
  application: z.ZodObject<{
42294
42204
  settings: z.ZodNullable<z.ZodObject<{
@@ -9143,6 +9143,7 @@ export const zDeviceSettings = z
9143
9143
  wifiScanBudgetMs: z.int().gte(100).lte(60000).optional(),
9144
9144
  wifiScanType: z.enum(["active", "passive"]).optional(),
9145
9145
  chargingStatusMaxAgeSeconds: z.int().gte(30).lte(86400).optional(),
9146
+ workReportingEnabled: z.boolean().optional(),
9146
9147
  })
9147
9148
  .strict();
9148
9149
  export const zAwsSettingsWrite = z
@@ -9336,17 +9337,7 @@ export const zDeviceWorkflowExecutionValue = z
9336
9337
  .object({
9337
9338
  workflowVersion: z.int().gte(1).lte(65535),
9338
9339
  mode: z.string(),
9339
- state: z.enum([
9340
- "idle",
9341
- "battery",
9342
- "connect",
9343
- "cell",
9344
- "wifi",
9345
- "publish",
9346
- "listen",
9347
- "gps",
9348
- "gpsPublish",
9349
- ]),
9340
+ state: z.string(),
9350
9341
  owner: z.enum([
9351
9342
  "workflow",
9352
9343
  "command",
@@ -13065,6 +13056,7 @@ export const zReadDeviceSettings = z
13065
13056
  wifiScanBudgetMs: z.int().gte(100).lte(60000).optional(),
13066
13057
  wifiScanType: z.enum(["active", "passive"]).optional(),
13067
13058
  chargingStatusMaxAgeSeconds: z.int().gte(30).lte(86400).optional(),
13059
+ workReportingEnabled: z.boolean().optional(),
13068
13060
  })
13069
13061
  .catchall(z.unknown());
13070
13062
  export const zAwsSettingsSnapshot = z
@@ -1,7 +1,7 @@
1
1
  export declare const workflowDefinition: {
2
2
  readonly version: 1;
3
3
  readonly modes: readonly ["standard", "security", "tracking"];
4
- readonly states: readonly ["idle", "battery", "connect", "cell", "wifi", "publish", "listen", "gps", "gpsPublish"];
4
+ readonly states: readonly ["idle", "battery", "connect", "cell", "wifi", "publish", "listen", "gps", "gpsPublish", "rest"];
5
5
  readonly outcomes: readonly ["done", "unavailable", "failed", "timeout", "cancelled"];
6
6
  readonly acquisition: {
7
7
  readonly gnss: readonly [{
@@ -15,7 +15,8 @@ export const workflowDefinition = {
15
15
  "publish",
16
16
  "listen",
17
17
  "gps",
18
- "gpsPublish"
18
+ "gpsPublish",
19
+ "rest"
19
20
  ],
20
21
  "outcomes": [
21
22
  "done",
package/openapi/api.json CHANGED
@@ -44196,13 +44196,22 @@
44196
44196
  "x-bf": {
44197
44197
  "unit": "s"
44198
44198
  }
44199
+ },
44200
+ "workReportingEnabled": {
44201
+ "title": "Automatic work reporting",
44202
+ "uniqueItems": false,
44203
+ "type": "boolean",
44204
+ "description": "Upload work.completed cycle outcomes and interval accounting on existing connections. Off by default. automaticDiagnosticsPower controls eligible power sources. Cached on-demand observations remain available when off; workflowDebugEnabled independently controls detailed step traces.",
44205
+ "x-bf": {
44206
+ "unit": null
44207
+ }
44199
44208
  }
44200
44209
  },
44201
44210
  "additionalProperties": false,
44202
44211
  "x-bf": {
44203
44212
  "domain": "settings",
44204
44213
  "version": 1,
44205
- "settingsSchemaVersion": 27
44214
+ "settingsSchemaVersion": 28
44206
44215
  }
44207
44216
  },
44208
44217
  "DeviceSettingsAutomaticDiagnosticsPower": {
@@ -44466,19 +44475,8 @@
44466
44475
  "type": "string"
44467
44476
  },
44468
44477
  "state": {
44469
- "uniqueItems": false,
44470
- "enum": [
44471
- "idle",
44472
- "battery",
44473
- "connect",
44474
- "cell",
44475
- "wifi",
44476
- "publish",
44477
- "listen",
44478
- "gps",
44479
- "gpsPublish"
44480
- ],
44481
- "type": "string"
44478
+ "type": "string",
44479
+ "description": "Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values."
44482
44480
  },
44483
44481
  "owner": {
44484
44482
  "uniqueItems": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikefinder/sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Generated REST and SignalR clients for BikeFinder api.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {