@bikefinder/staff-sdk 0.12.0 → 0.13.1

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/dist/index.d.ts CHANGED
@@ -7478,6 +7478,115 @@ export declare const tracker: z$1.ZodObject<{
7478
7478
  createdAt: z$1.ZodISODateTime;
7479
7479
  updatedAt: z$1.ZodISODateTime;
7480
7480
  }, z$1.core.$strip>;
7481
+ export declare const customerTrackerDetails: z$1.ZodObject<{
7482
+ id: z$1.ZodString;
7483
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
7484
+ lte: z$1.ZodNullable<z$1.ZodString>;
7485
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
7486
+ battery: z$1.ZodNullable<z$1.ZodString>;
7487
+ modem: z$1.ZodNullable<z$1.ZodString>;
7488
+ mtk: z$1.ZodNullable<z$1.ZodString>;
7489
+ ti: z$1.ZodNullable<z$1.ZodString>;
7490
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
7491
+ }, z$1.core.$strip>>;
7492
+ subscription: z$1.ZodDiscriminatedUnion<[
7493
+ z$1.ZodObject<{
7494
+ id: z$1.ZodString;
7495
+ activity: z$1.ZodEnum<{
7496
+ unknown: "unknown";
7497
+ active: "active";
7498
+ inactive: "inactive";
7499
+ }>;
7500
+ isDemo: z$1.ZodBoolean;
7501
+ status: z$1.ZodNullable<z$1.ZodString>;
7502
+ country: z$1.ZodNullable<z$1.ZodString>;
7503
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7504
+ state: z$1.ZodLiteral<"available">;
7505
+ }, z$1.core.$strip>,
7506
+ z$1.ZodObject<{
7507
+ state: z$1.ZodLiteral<"unavailable">;
7508
+ reason: z$1.ZodEnum<{
7509
+ invalid: "invalid";
7510
+ not_observed: "not_observed";
7511
+ not_assigned: "not_assigned";
7512
+ }>;
7513
+ }, z$1.core.$strip>
7514
+ ], "state">;
7515
+ createdAt: z$1.ZodISODateTime;
7516
+ revision: z$1.ZodString;
7517
+ battery: z$1.ZodDiscriminatedUnion<[
7518
+ z$1.ZodObject<{
7519
+ level: z$1.ZodNullable<z$1.ZodNumber>;
7520
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
7521
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7522
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7523
+ observation: z$1.ZodNullable<z$1.ZodObject<{
7524
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7525
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7526
+ }, z$1.core.$strip>>;
7527
+ source: z$1.ZodNullable<z$1.ZodString>;
7528
+ state: z$1.ZodLiteral<"available">;
7529
+ }, z$1.core.$strip>,
7530
+ z$1.ZodObject<{
7531
+ state: z$1.ZodLiteral<"unavailable">;
7532
+ reason: z$1.ZodEnum<{
7533
+ invalid: "invalid";
7534
+ not_observed: "not_observed";
7535
+ not_assigned: "not_assigned";
7536
+ }>;
7537
+ }, z$1.core.$strip>
7538
+ ], "state">;
7539
+ identity: z$1.ZodNullable<z$1.ZodObject<{
7540
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
7541
+ }, z$1.core.$strip>>;
7542
+ generation: z$1.ZodNullable<z$1.ZodInt>;
7543
+ bike: z$1.ZodObject<{
7544
+ revision: z$1.ZodString;
7545
+ name: z$1.ZodNullable<z$1.ZodString>;
7546
+ brand: z$1.ZodNullable<z$1.ZodString>;
7547
+ type: z$1.ZodNullable<z$1.ZodString>;
7548
+ model: z$1.ZodNullable<z$1.ZodString>;
7549
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
7550
+ url: z$1.ZodNullable<z$1.ZodString>;
7551
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
7552
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
7553
+ }, z$1.core.$strip>;
7554
+ location: z$1.ZodDiscriminatedUnion<[
7555
+ z$1.ZodObject<{
7556
+ latitude: z$1.ZodNumber;
7557
+ longitude: z$1.ZodNumber;
7558
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
7559
+ source: z$1.ZodNullable<z$1.ZodString>;
7560
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7561
+ state: z$1.ZodLiteral<"available">;
7562
+ }, z$1.core.$strip>,
7563
+ z$1.ZodObject<{
7564
+ state: z$1.ZodLiteral<"unavailable">;
7565
+ reason: z$1.ZodEnum<{
7566
+ invalid: "invalid";
7567
+ not_observed: "not_observed";
7568
+ not_assigned: "not_assigned";
7569
+ }>;
7570
+ }, z$1.core.$strip>
7571
+ ], "state">;
7572
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
7573
+ path: z$1.ZodString;
7574
+ code: z$1.ZodLiteral<"invalid_stored_value">;
7575
+ }, z$1.core.$strip>>;
7576
+ updatedAt: z$1.ZodISODateTime;
7577
+ preferences: z$1.ZodObject<{
7578
+ movementAlerts: z$1.ZodBoolean;
7579
+ }, z$1.core.$strip>;
7580
+ capabilities: z$1.ZodObject<{
7581
+ firmwareUpdates: z$1.ZodBoolean;
7582
+ factoryResetReports: z$1.ZodBoolean;
7583
+ }, z$1.core.$strip>;
7584
+ membership: z$1.ZodObject<{
7585
+ accountId: z$1.ZodString;
7586
+ activeMemberCount: z$1.ZodInt;
7587
+ }, z$1.core.$strip>;
7588
+ }, z$1.core.$strip>;
7589
+ export type CustomerTrackerDetails = z$1.infer<typeof customerTrackerDetails>;
7481
7590
  export type Tracker = z$1.infer<typeof tracker>;
7482
7591
  export type TrackerSummary = z$1.infer<typeof trackerSummary>;
7483
7592
  export type TrackerPage = z$1.infer<typeof trackerPage>;
@@ -36908,6 +37017,36 @@ export type Observation = {
36908
37017
  type: "device.hardwareId";
36909
37018
  subject: null;
36910
37019
  value: string;
37020
+ } | {
37021
+ id: ObservationId;
37022
+ serialNumber: string;
37023
+ measuredAt: string;
37024
+ receivedAt: string;
37025
+ requestId: number | null;
37026
+ type: "movement.accelerationChanged";
37027
+ subject: null;
37028
+ value: {
37029
+ xMg: number;
37030
+ yMg: number;
37031
+ zMg: number;
37032
+ changedAxes: number;
37033
+ };
37034
+ } | {
37035
+ id: ObservationId;
37036
+ serialNumber: string;
37037
+ measuredAt: string;
37038
+ receivedAt: string;
37039
+ requestId: number | null;
37040
+ type: "battery.module.snapshot";
37041
+ subject: ModuleSubject;
37042
+ value: {
37043
+ level: number;
37044
+ voltageMv: number;
37045
+ currentMa: number;
37046
+ gaugeTemperatureC: number;
37047
+ chargerState: "ready" | "charging" | "full" | "fault";
37048
+ chargerFault: number;
37049
+ };
36911
37050
  };
36912
37051
  export type ObservationSeries = {
36913
37052
  type: "agnss.completed";
@@ -37194,6 +37333,12 @@ export type ObservationSeries = {
37194
37333
  } | {
37195
37334
  type: "device.hardwareId";
37196
37335
  subject: null;
37336
+ } | {
37337
+ type: "movement.accelerationChanged";
37338
+ subject: null;
37339
+ } | {
37340
+ type: "battery.module.snapshot";
37341
+ subject: ModuleSubject;
37197
37342
  };
37198
37343
  export declare const observationSeries: z$1.ZodCustom<ObservationSeries, ObservationSeries>;
37199
37344
  declare const observationResponse: z$1.ZodType<Observation>;
@@ -46487,6 +46632,8 @@ declare const awsContract: {
46487
46632
  wifiScanType?: "active" | "passive" | undefined;
46488
46633
  chargingStatusMaxAgeSeconds?: number | undefined;
46489
46634
  reportIntervalOnBatterySeconds?: number | undefined;
46635
+ accelerationSamplingEnabled?: boolean | undefined;
46636
+ accelerationChangePercent?: number | undefined;
46490
46637
  };
46491
46638
  reported: {
46492
46639
  batteryIntervalSeconds?: number | undefined;
@@ -46545,6 +46692,8 @@ declare const awsContract: {
46545
46692
  wifiScanType?: "active" | "passive" | undefined;
46546
46693
  chargingStatusMaxAgeSeconds?: number | undefined;
46547
46694
  reportIntervalOnBatterySeconds?: number | undefined;
46695
+ accelerationSamplingEnabled?: boolean | undefined;
46696
+ accelerationChangePercent?: number | undefined;
46548
46697
  };
46549
46698
  application: {
46550
46699
  settings: {
@@ -46636,6 +46785,8 @@ declare const awsContract: {
46636
46785
  wifiScanType?: "active" | "passive" | undefined;
46637
46786
  chargingStatusMaxAgeSeconds?: number | undefined;
46638
46787
  reportIntervalOnBatterySeconds?: number | undefined;
46788
+ accelerationSamplingEnabled?: boolean | undefined;
46789
+ accelerationChangePercent?: number | undefined;
46639
46790
  };
46640
46791
  reported: {
46641
46792
  batteryIntervalSeconds?: number | undefined;
@@ -46694,6 +46845,8 @@ declare const awsContract: {
46694
46845
  wifiScanType?: "active" | "passive" | undefined;
46695
46846
  chargingStatusMaxAgeSeconds?: number | undefined;
46696
46847
  reportIntervalOnBatterySeconds?: number | undefined;
46848
+ accelerationSamplingEnabled?: boolean | undefined;
46849
+ accelerationChangePercent?: number | undefined;
46697
46850
  };
46698
46851
  application: {
46699
46852
  settings: {
@@ -47907,6 +48060,8 @@ declare const awsContract: {
47907
48060
  }>>;
47908
48061
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
47909
48062
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
48063
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
48064
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
47910
48065
  }, import("zod/v4/core").$strip>;
47911
48066
  reported: import("zod").ZodObject<{
47912
48067
  batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -47995,6 +48150,8 @@ declare const awsContract: {
47995
48150
  }>>;
47996
48151
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
47997
48152
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
48153
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
48154
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
47998
48155
  }, import("zod/v4/core").$strip>;
47999
48156
  application: import("zod").ZodObject<{
48000
48157
  settings: import("zod").ZodNullable<import("zod").ZodObject<{
@@ -49217,6 +49374,8 @@ declare const awsContract: {
49217
49374
  }>>;
49218
49375
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49219
49376
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49377
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
49378
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
49220
49379
  }, import("zod/v4/core").$strict>;
49221
49380
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
49222
49381
  version: import("zod").ZodInt;
@@ -49308,6 +49467,8 @@ declare const awsContract: {
49308
49467
  }>>;
49309
49468
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49310
49469
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49470
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
49471
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
49311
49472
  }, import("zod/v4/core").$strip>;
49312
49473
  reported: import("zod").ZodObject<{
49313
49474
  batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -49396,6 +49557,8 @@ declare const awsContract: {
49396
49557
  }>>;
49397
49558
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49398
49559
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
49560
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
49561
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
49399
49562
  }, import("zod/v4/core").$strip>;
49400
49563
  application: import("zod").ZodObject<{
49401
49564
  settings: import("zod").ZodNullable<import("zod").ZodObject<{
@@ -53339,6 +53502,8 @@ declare const awsContract: {
53339
53502
  "outbox.status": "outbox.status";
53340
53503
  "power.statistics": "power.statistics";
53341
53504
  "device.hardwareId": "device.hardwareId";
53505
+ "movement.accelerationChanged": "movement.accelerationChanged";
53506
+ "battery.module.snapshot": "battery.module.snapshot";
53342
53507
  }>;
53343
53508
  subject: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
53344
53509
  }, import("zod/v4/core").$strict>>>;
@@ -87414,6 +87579,131 @@ declare const staffTracker: z$1.ZodObject<{
87414
87579
  createdAt: z$1.ZodISODateTime;
87415
87580
  updatedAt: z$1.ZodISODateTime;
87416
87581
  }, z$1.core.$strip>;
87582
+ declare const staffTrackerDetails: z$1.ZodObject<{
87583
+ id: z$1.ZodString;
87584
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
87585
+ lte: z$1.ZodNullable<z$1.ZodString>;
87586
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
87587
+ battery: z$1.ZodNullable<z$1.ZodString>;
87588
+ modem: z$1.ZodNullable<z$1.ZodString>;
87589
+ mtk: z$1.ZodNullable<z$1.ZodString>;
87590
+ ti: z$1.ZodNullable<z$1.ZodString>;
87591
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
87592
+ }, z$1.core.$strip>>;
87593
+ subscription: z$1.ZodDiscriminatedUnion<[
87594
+ z$1.ZodObject<{
87595
+ id: z$1.ZodString;
87596
+ activity: z$1.ZodEnum<{
87597
+ unknown: "unknown";
87598
+ active: "active";
87599
+ inactive: "inactive";
87600
+ }>;
87601
+ isDemo: z$1.ZodBoolean;
87602
+ status: z$1.ZodNullable<z$1.ZodString>;
87603
+ country: z$1.ZodNullable<z$1.ZodString>;
87604
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87605
+ state: z$1.ZodLiteral<"available">;
87606
+ }, z$1.core.$strip>,
87607
+ z$1.ZodObject<{
87608
+ state: z$1.ZodLiteral<"unavailable">;
87609
+ reason: z$1.ZodEnum<{
87610
+ invalid: "invalid";
87611
+ not_observed: "not_observed";
87612
+ not_assigned: "not_assigned";
87613
+ }>;
87614
+ }, z$1.core.$strip>
87615
+ ], "state">;
87616
+ createdAt: z$1.ZodISODateTime;
87617
+ revision: z$1.ZodString;
87618
+ battery: z$1.ZodDiscriminatedUnion<[
87619
+ z$1.ZodObject<{
87620
+ level: z$1.ZodNullable<z$1.ZodNumber>;
87621
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
87622
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87623
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87624
+ observation: z$1.ZodNullable<z$1.ZodObject<{
87625
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87626
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87627
+ }, z$1.core.$strip>>;
87628
+ source: z$1.ZodNullable<z$1.ZodString>;
87629
+ state: z$1.ZodLiteral<"available">;
87630
+ }, z$1.core.$strip>,
87631
+ z$1.ZodObject<{
87632
+ state: z$1.ZodLiteral<"unavailable">;
87633
+ reason: z$1.ZodEnum<{
87634
+ invalid: "invalid";
87635
+ not_observed: "not_observed";
87636
+ not_assigned: "not_assigned";
87637
+ }>;
87638
+ }, z$1.core.$strip>
87639
+ ], "state">;
87640
+ generation: z$1.ZodNullable<z$1.ZodInt>;
87641
+ bike: z$1.ZodObject<{
87642
+ revision: z$1.ZodString;
87643
+ name: z$1.ZodNullable<z$1.ZodString>;
87644
+ brand: z$1.ZodNullable<z$1.ZodString>;
87645
+ type: z$1.ZodNullable<z$1.ZodString>;
87646
+ model: z$1.ZodNullable<z$1.ZodString>;
87647
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
87648
+ url: z$1.ZodNullable<z$1.ZodString>;
87649
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
87650
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
87651
+ }, z$1.core.$strip>;
87652
+ location: z$1.ZodDiscriminatedUnion<[
87653
+ z$1.ZodObject<{
87654
+ latitude: z$1.ZodNumber;
87655
+ longitude: z$1.ZodNumber;
87656
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
87657
+ source: z$1.ZodNullable<z$1.ZodString>;
87658
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87659
+ state: z$1.ZodLiteral<"available">;
87660
+ }, z$1.core.$strip>,
87661
+ z$1.ZodObject<{
87662
+ state: z$1.ZodLiteral<"unavailable">;
87663
+ reason: z$1.ZodEnum<{
87664
+ invalid: "invalid";
87665
+ not_observed: "not_observed";
87666
+ not_assigned: "not_assigned";
87667
+ }>;
87668
+ }, z$1.core.$strip>
87669
+ ], "state">;
87670
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
87671
+ path: z$1.ZodString;
87672
+ code: z$1.ZodLiteral<"invalid_stored_value">;
87673
+ }, z$1.core.$strip>>;
87674
+ updatedAt: z$1.ZodISODateTime;
87675
+ hardware: z$1.ZodNullable<z$1.ZodObject<{
87676
+ imei: z$1.ZodNullable<z$1.ZodString>;
87677
+ iccid: z$1.ZodNullable<z$1.ZodString>;
87678
+ imsi: z$1.ZodNullable<z$1.ZodString>;
87679
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
87680
+ }, z$1.core.$strip>>;
87681
+ backend: z$1.ZodNullable<z$1.ZodString>;
87682
+ configuration: z$1.ZodNullable<z$1.ZodObject<{
87683
+ movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
87684
+ isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
87685
+ }, z$1.core.$strip>>;
87686
+ membership: z$1.ZodObject<{
87687
+ revision: z$1.ZodString;
87688
+ memberCount: z$1.ZodInt;
87689
+ }, z$1.core.$strip>;
87690
+ }, z$1.core.$strip>;
87691
+ declare const staffTrackerMemberPageInput: z$1.ZodObject<{
87692
+ deviceId: z$1.ZodString;
87693
+ revision: z$1.ZodString;
87694
+ after: z$1.ZodOptional<z$1.ZodString>;
87695
+ limit: z$1.ZodDefault<z$1.ZodInt>;
87696
+ }, z$1.core.$strict>;
87697
+ declare const staffTrackerMemberPage: z$1.ZodObject<{
87698
+ items: z$1.ZodArray<z$1.ZodObject<{
87699
+ active: z$1.ZodNullable<z$1.ZodBoolean>;
87700
+ displayName: z$1.ZodNullable<z$1.ZodString>;
87701
+ listOrder: z$1.ZodNullable<z$1.ZodInt>;
87702
+ joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87703
+ accountId: z$1.ZodString;
87704
+ }, z$1.core.$strip>>;
87705
+ nextAfter: z$1.ZodNullable<z$1.ZodString>;
87706
+ }, z$1.core.$strip>;
87417
87707
  export declare const staffSubscription: z$1.ZodObject<{
87418
87708
  accountId: z$1.ZodNullable<z$1.ZodString>;
87419
87709
  name: z$1.ZodNullable<z$1.ZodString>;
@@ -113109,6 +113399,8 @@ export declare const observationHistoryInput: z$1.ZodObject<{
113109
113399
  "outbox.status": "outbox.status";
113110
113400
  "power.statistics": "power.statistics";
113111
113401
  "device.hardwareId": "device.hardwareId";
113402
+ "movement.accelerationChanged": "movement.accelerationChanged";
113403
+ "battery.module.snapshot": "battery.module.snapshot";
113112
113404
  }>;
113113
113405
  subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
113114
113406
  }, z$1.core.$strict>>>;
@@ -115940,6 +116232,8 @@ export declare const staffObservationContract: {
115940
116232
  "outbox.status": "outbox.status";
115941
116233
  "power.statistics": "power.statistics";
115942
116234
  "device.hardwareId": "device.hardwareId";
116235
+ "movement.accelerationChanged": "movement.accelerationChanged";
116236
+ "battery.module.snapshot": "battery.module.snapshot";
115943
116237
  }>;
115944
116238
  subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
115945
116239
  }, z$1.core.$strict>>>;
@@ -117862,6 +118156,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
117862
118156
  }>>;
117863
118157
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
117864
118158
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
118159
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
118160
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
117865
118161
  }, z$1.core.$strip>;
117866
118162
  reported: z$1.ZodObject<{
117867
118163
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -117950,6 +118246,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
117950
118246
  }>>;
117951
118247
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
117952
118248
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
118249
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
118250
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
117953
118251
  }, z$1.core.$strip>;
117954
118252
  application: z$1.ZodObject<{
117955
118253
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -118086,6 +118384,8 @@ export declare const settingsUpdateInput: z$1.ZodObject<{
118086
118384
  }>>;
118087
118385
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
118088
118386
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
118387
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
118388
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
118089
118389
  }, z$1.core.$strict>;
118090
118390
  }, z$1.core.$strict>;
118091
118391
  export declare const settingsErrors: {
@@ -119241,6 +119541,8 @@ export declare const staffSettingsContract: {
119241
119541
  wifiScanType?: "active" | "passive" | undefined;
119242
119542
  chargingStatusMaxAgeSeconds?: number | undefined;
119243
119543
  reportIntervalOnBatterySeconds?: number | undefined;
119544
+ accelerationSamplingEnabled?: boolean | undefined;
119545
+ accelerationChangePercent?: number | undefined;
119244
119546
  };
119245
119547
  reported: {
119246
119548
  batteryIntervalSeconds?: number | undefined;
@@ -119299,6 +119601,8 @@ export declare const staffSettingsContract: {
119299
119601
  wifiScanType?: "active" | "passive" | undefined;
119300
119602
  chargingStatusMaxAgeSeconds?: number | undefined;
119301
119603
  reportIntervalOnBatterySeconds?: number | undefined;
119604
+ accelerationSamplingEnabled?: boolean | undefined;
119605
+ accelerationChangePercent?: number | undefined;
119302
119606
  };
119303
119607
  application: {
119304
119608
  settings: {
@@ -119390,6 +119694,8 @@ export declare const staffSettingsContract: {
119390
119694
  wifiScanType?: "active" | "passive" | undefined;
119391
119695
  chargingStatusMaxAgeSeconds?: number | undefined;
119392
119696
  reportIntervalOnBatterySeconds?: number | undefined;
119697
+ accelerationSamplingEnabled?: boolean | undefined;
119698
+ accelerationChangePercent?: number | undefined;
119393
119699
  };
119394
119700
  reported: {
119395
119701
  batteryIntervalSeconds?: number | undefined;
@@ -119448,6 +119754,8 @@ export declare const staffSettingsContract: {
119448
119754
  wifiScanType?: "active" | "passive" | undefined;
119449
119755
  chargingStatusMaxAgeSeconds?: number | undefined;
119450
119756
  reportIntervalOnBatterySeconds?: number | undefined;
119757
+ accelerationSamplingEnabled?: boolean | undefined;
119758
+ accelerationChangePercent?: number | undefined;
119451
119759
  };
119452
119760
  application: {
119453
119761
  settings: {
@@ -120661,6 +120969,8 @@ export declare const staffSettingsContract: {
120661
120969
  }>>;
120662
120970
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
120663
120971
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
120972
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
120973
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
120664
120974
  }, z$1.core.$strip>;
120665
120975
  reported: z$1.ZodObject<{
120666
120976
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -120749,6 +121059,8 @@ export declare const staffSettingsContract: {
120749
121059
  }>>;
120750
121060
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
120751
121061
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
121062
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
121063
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
120752
121064
  }, z$1.core.$strip>;
120753
121065
  application: z$1.ZodObject<{
120754
121066
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -121971,6 +122283,8 @@ export declare const staffSettingsContract: {
121971
122283
  }>>;
121972
122284
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
121973
122285
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
122286
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
122287
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
121974
122288
  }, z$1.core.$strict>;
121975
122289
  }, z$1.core.$strict>, z$1.ZodObject<{
121976
122290
  version: z$1.ZodInt;
@@ -122062,6 +122376,8 @@ export declare const staffSettingsContract: {
122062
122376
  }>>;
122063
122377
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
122064
122378
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
122379
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
122380
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
122065
122381
  }, z$1.core.$strip>;
122066
122382
  reported: z$1.ZodObject<{
122067
122383
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -122150,6 +122466,8 @@ export declare const staffSettingsContract: {
122150
122466
  }>>;
122151
122467
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
122152
122468
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
122469
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
122470
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
122153
122471
  }, z$1.core.$strip>;
122154
122472
  application: z$1.ZodObject<{
122155
122473
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -179887,11 +180205,923 @@ export type DeviceInput = z$1.infer<typeof deviceInput>;
179887
180205
  export type DeviceLookupInput = z$1.infer<typeof deviceLookupInput>;
179888
180206
  declare const trackerContract: {
179889
180207
  members: {
179890
- add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
180208
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
179891
180209
  deviceId: z$1.ZodString;
179892
- memberId: z$1.ZodString;
179893
- displayName: z$1.ZodString;
179894
- }, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
180210
+ revision: z$1.ZodString;
180211
+ after: z$1.ZodOptional<z$1.ZodString>;
180212
+ limit: z$1.ZodDefault<z$1.ZodInt>;
180213
+ }, z$1.core.$strict>, z$1.ZodObject<{
180214
+ items: z$1.ZodArray<z$1.ZodObject<{
180215
+ active: z$1.ZodNullable<z$1.ZodBoolean>;
180216
+ displayName: z$1.ZodNullable<z$1.ZodString>;
180217
+ listOrder: z$1.ZodNullable<z$1.ZodInt>;
180218
+ joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
180219
+ accountId: z$1.ZodString;
180220
+ }, z$1.core.$strip>>;
180221
+ nextAfter: z$1.ZodNullable<z$1.ZodString>;
180222
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
180223
+ readonly invalid: {
180224
+ readonly status: 400;
180225
+ readonly data: z$1.ZodType<{
180226
+ traceId: string;
180227
+ recovery: {
180228
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180229
+ } | {
180230
+ action: "read_operation";
180231
+ operation: {
180232
+ kind: "command";
180233
+ serialNumber: string;
180234
+ idempotencyKey: string;
180235
+ } | {
180236
+ kind: "firmware";
180237
+ serialNumber: string;
180238
+ updateId: string;
180239
+ } | {
180240
+ kind: "bluetooth_firmware";
180241
+ deviceId: string;
180242
+ updateId: string;
180243
+ } | {
180244
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180245
+ deviceId: string;
180246
+ requestId: string;
180247
+ } | {
180248
+ kind: "support";
180249
+ requestId: string;
180250
+ };
180251
+ };
180252
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180253
+ currentRevision?: string | undefined;
180254
+ retryAfterSeconds?: number | undefined;
180255
+ }, unknown, z$1.core.$ZodTypeInternals<{
180256
+ traceId: string;
180257
+ recovery: {
180258
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180259
+ } | {
180260
+ action: "read_operation";
180261
+ operation: {
180262
+ kind: "command";
180263
+ serialNumber: string;
180264
+ idempotencyKey: string;
180265
+ } | {
180266
+ kind: "firmware";
180267
+ serialNumber: string;
180268
+ updateId: string;
180269
+ } | {
180270
+ kind: "bluetooth_firmware";
180271
+ deviceId: string;
180272
+ updateId: string;
180273
+ } | {
180274
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180275
+ deviceId: string;
180276
+ requestId: string;
180277
+ } | {
180278
+ kind: "support";
180279
+ requestId: string;
180280
+ };
180281
+ };
180282
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180283
+ currentRevision?: string | undefined;
180284
+ retryAfterSeconds?: number | undefined;
180285
+ }, unknown>>;
180286
+ };
180287
+ readonly unauthenticated: {
180288
+ readonly status: 401;
180289
+ readonly data: z$1.ZodType<{
180290
+ traceId: string;
180291
+ recovery: {
180292
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180293
+ } | {
180294
+ action: "read_operation";
180295
+ operation: {
180296
+ kind: "command";
180297
+ serialNumber: string;
180298
+ idempotencyKey: string;
180299
+ } | {
180300
+ kind: "firmware";
180301
+ serialNumber: string;
180302
+ updateId: string;
180303
+ } | {
180304
+ kind: "bluetooth_firmware";
180305
+ deviceId: string;
180306
+ updateId: string;
180307
+ } | {
180308
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180309
+ deviceId: string;
180310
+ requestId: string;
180311
+ } | {
180312
+ kind: "support";
180313
+ requestId: string;
180314
+ };
180315
+ };
180316
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180317
+ currentRevision?: string | undefined;
180318
+ retryAfterSeconds?: number | undefined;
180319
+ }, unknown, z$1.core.$ZodTypeInternals<{
180320
+ traceId: string;
180321
+ recovery: {
180322
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180323
+ } | {
180324
+ action: "read_operation";
180325
+ operation: {
180326
+ kind: "command";
180327
+ serialNumber: string;
180328
+ idempotencyKey: string;
180329
+ } | {
180330
+ kind: "firmware";
180331
+ serialNumber: string;
180332
+ updateId: string;
180333
+ } | {
180334
+ kind: "bluetooth_firmware";
180335
+ deviceId: string;
180336
+ updateId: string;
180337
+ } | {
180338
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180339
+ deviceId: string;
180340
+ requestId: string;
180341
+ } | {
180342
+ kind: "support";
180343
+ requestId: string;
180344
+ };
180345
+ };
180346
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180347
+ currentRevision?: string | undefined;
180348
+ retryAfterSeconds?: number | undefined;
180349
+ }, unknown>>;
180350
+ };
180351
+ readonly forbidden: {
180352
+ readonly status: 403;
180353
+ readonly data: z$1.ZodType<{
180354
+ traceId: string;
180355
+ recovery: {
180356
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180357
+ } | {
180358
+ action: "read_operation";
180359
+ operation: {
180360
+ kind: "command";
180361
+ serialNumber: string;
180362
+ idempotencyKey: string;
180363
+ } | {
180364
+ kind: "firmware";
180365
+ serialNumber: string;
180366
+ updateId: string;
180367
+ } | {
180368
+ kind: "bluetooth_firmware";
180369
+ deviceId: string;
180370
+ updateId: string;
180371
+ } | {
180372
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180373
+ deviceId: string;
180374
+ requestId: string;
180375
+ } | {
180376
+ kind: "support";
180377
+ requestId: string;
180378
+ };
180379
+ };
180380
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180381
+ currentRevision?: string | undefined;
180382
+ retryAfterSeconds?: number | undefined;
180383
+ }, unknown, z$1.core.$ZodTypeInternals<{
180384
+ traceId: string;
180385
+ recovery: {
180386
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180387
+ } | {
180388
+ action: "read_operation";
180389
+ operation: {
180390
+ kind: "command";
180391
+ serialNumber: string;
180392
+ idempotencyKey: string;
180393
+ } | {
180394
+ kind: "firmware";
180395
+ serialNumber: string;
180396
+ updateId: string;
180397
+ } | {
180398
+ kind: "bluetooth_firmware";
180399
+ deviceId: string;
180400
+ updateId: string;
180401
+ } | {
180402
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180403
+ deviceId: string;
180404
+ requestId: string;
180405
+ } | {
180406
+ kind: "support";
180407
+ requestId: string;
180408
+ };
180409
+ };
180410
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180411
+ currentRevision?: string | undefined;
180412
+ retryAfterSeconds?: number | undefined;
180413
+ }, unknown>>;
180414
+ };
180415
+ readonly not_found: {
180416
+ readonly status: 404;
180417
+ readonly data: z$1.ZodType<{
180418
+ traceId: string;
180419
+ recovery: {
180420
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180421
+ } | {
180422
+ action: "read_operation";
180423
+ operation: {
180424
+ kind: "command";
180425
+ serialNumber: string;
180426
+ idempotencyKey: string;
180427
+ } | {
180428
+ kind: "firmware";
180429
+ serialNumber: string;
180430
+ updateId: string;
180431
+ } | {
180432
+ kind: "bluetooth_firmware";
180433
+ deviceId: string;
180434
+ updateId: string;
180435
+ } | {
180436
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180437
+ deviceId: string;
180438
+ requestId: string;
180439
+ } | {
180440
+ kind: "support";
180441
+ requestId: string;
180442
+ };
180443
+ };
180444
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180445
+ currentRevision?: string | undefined;
180446
+ retryAfterSeconds?: number | undefined;
180447
+ }, unknown, z$1.core.$ZodTypeInternals<{
180448
+ traceId: string;
180449
+ recovery: {
180450
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180451
+ } | {
180452
+ action: "read_operation";
180453
+ operation: {
180454
+ kind: "command";
180455
+ serialNumber: string;
180456
+ idempotencyKey: string;
180457
+ } | {
180458
+ kind: "firmware";
180459
+ serialNumber: string;
180460
+ updateId: string;
180461
+ } | {
180462
+ kind: "bluetooth_firmware";
180463
+ deviceId: string;
180464
+ updateId: string;
180465
+ } | {
180466
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180467
+ deviceId: string;
180468
+ requestId: string;
180469
+ } | {
180470
+ kind: "support";
180471
+ requestId: string;
180472
+ };
180473
+ };
180474
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180475
+ currentRevision?: string | undefined;
180476
+ retryAfterSeconds?: number | undefined;
180477
+ }, unknown>>;
180478
+ };
180479
+ readonly conflict: {
180480
+ readonly status: 409;
180481
+ readonly data: z$1.ZodType<{
180482
+ traceId: string;
180483
+ recovery: {
180484
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180485
+ } | {
180486
+ action: "read_operation";
180487
+ operation: {
180488
+ kind: "command";
180489
+ serialNumber: string;
180490
+ idempotencyKey: string;
180491
+ } | {
180492
+ kind: "firmware";
180493
+ serialNumber: string;
180494
+ updateId: string;
180495
+ } | {
180496
+ kind: "bluetooth_firmware";
180497
+ deviceId: string;
180498
+ updateId: string;
180499
+ } | {
180500
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180501
+ deviceId: string;
180502
+ requestId: string;
180503
+ } | {
180504
+ kind: "support";
180505
+ requestId: string;
180506
+ };
180507
+ };
180508
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180509
+ currentRevision?: string | undefined;
180510
+ retryAfterSeconds?: number | undefined;
180511
+ }, unknown, z$1.core.$ZodTypeInternals<{
180512
+ traceId: string;
180513
+ recovery: {
180514
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180515
+ } | {
180516
+ action: "read_operation";
180517
+ operation: {
180518
+ kind: "command";
180519
+ serialNumber: string;
180520
+ idempotencyKey: string;
180521
+ } | {
180522
+ kind: "firmware";
180523
+ serialNumber: string;
180524
+ updateId: string;
180525
+ } | {
180526
+ kind: "bluetooth_firmware";
180527
+ deviceId: string;
180528
+ updateId: string;
180529
+ } | {
180530
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180531
+ deviceId: string;
180532
+ requestId: string;
180533
+ } | {
180534
+ kind: "support";
180535
+ requestId: string;
180536
+ };
180537
+ };
180538
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180539
+ currentRevision?: string | undefined;
180540
+ retryAfterSeconds?: number | undefined;
180541
+ }, unknown>>;
180542
+ };
180543
+ readonly rate_limited: {
180544
+ readonly status: 429;
180545
+ readonly data: z$1.ZodType<{
180546
+ traceId: string;
180547
+ recovery: {
180548
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180549
+ } | {
180550
+ action: "read_operation";
180551
+ operation: {
180552
+ kind: "command";
180553
+ serialNumber: string;
180554
+ idempotencyKey: string;
180555
+ } | {
180556
+ kind: "firmware";
180557
+ serialNumber: string;
180558
+ updateId: string;
180559
+ } | {
180560
+ kind: "bluetooth_firmware";
180561
+ deviceId: string;
180562
+ updateId: string;
180563
+ } | {
180564
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180565
+ deviceId: string;
180566
+ requestId: string;
180567
+ } | {
180568
+ kind: "support";
180569
+ requestId: string;
180570
+ };
180571
+ };
180572
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180573
+ currentRevision?: string | undefined;
180574
+ retryAfterSeconds?: number | undefined;
180575
+ }, unknown, z$1.core.$ZodTypeInternals<{
180576
+ traceId: string;
180577
+ recovery: {
180578
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180579
+ } | {
180580
+ action: "read_operation";
180581
+ operation: {
180582
+ kind: "command";
180583
+ serialNumber: string;
180584
+ idempotencyKey: string;
180585
+ } | {
180586
+ kind: "firmware";
180587
+ serialNumber: string;
180588
+ updateId: string;
180589
+ } | {
180590
+ kind: "bluetooth_firmware";
180591
+ deviceId: string;
180592
+ updateId: string;
180593
+ } | {
180594
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180595
+ deviceId: string;
180596
+ requestId: string;
180597
+ } | {
180598
+ kind: "support";
180599
+ requestId: string;
180600
+ };
180601
+ };
180602
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180603
+ currentRevision?: string | undefined;
180604
+ retryAfterSeconds?: number | undefined;
180605
+ }, unknown>>;
180606
+ };
180607
+ readonly stored_data_invalid: {
180608
+ readonly status: 503;
180609
+ readonly data: z$1.ZodType<{
180610
+ traceId: string;
180611
+ recovery: {
180612
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180613
+ } | {
180614
+ action: "read_operation";
180615
+ operation: {
180616
+ kind: "command";
180617
+ serialNumber: string;
180618
+ idempotencyKey: string;
180619
+ } | {
180620
+ kind: "firmware";
180621
+ serialNumber: string;
180622
+ updateId: string;
180623
+ } | {
180624
+ kind: "bluetooth_firmware";
180625
+ deviceId: string;
180626
+ updateId: string;
180627
+ } | {
180628
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180629
+ deviceId: string;
180630
+ requestId: string;
180631
+ } | {
180632
+ kind: "support";
180633
+ requestId: string;
180634
+ };
180635
+ };
180636
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180637
+ currentRevision?: string | undefined;
180638
+ retryAfterSeconds?: number | undefined;
180639
+ }, unknown, z$1.core.$ZodTypeInternals<{
180640
+ traceId: string;
180641
+ recovery: {
180642
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180643
+ } | {
180644
+ action: "read_operation";
180645
+ operation: {
180646
+ kind: "command";
180647
+ serialNumber: string;
180648
+ idempotencyKey: string;
180649
+ } | {
180650
+ kind: "firmware";
180651
+ serialNumber: string;
180652
+ updateId: string;
180653
+ } | {
180654
+ kind: "bluetooth_firmware";
180655
+ deviceId: string;
180656
+ updateId: string;
180657
+ } | {
180658
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180659
+ deviceId: string;
180660
+ requestId: string;
180661
+ } | {
180662
+ kind: "support";
180663
+ requestId: string;
180664
+ };
180665
+ };
180666
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180667
+ currentRevision?: string | undefined;
180668
+ retryAfterSeconds?: number | undefined;
180669
+ }, unknown>>;
180670
+ };
180671
+ readonly service_unavailable: {
180672
+ readonly status: 503;
180673
+ readonly data: z$1.ZodType<{
180674
+ traceId: string;
180675
+ recovery: {
180676
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180677
+ } | {
180678
+ action: "read_operation";
180679
+ operation: {
180680
+ kind: "command";
180681
+ serialNumber: string;
180682
+ idempotencyKey: string;
180683
+ } | {
180684
+ kind: "firmware";
180685
+ serialNumber: string;
180686
+ updateId: string;
180687
+ } | {
180688
+ kind: "bluetooth_firmware";
180689
+ deviceId: string;
180690
+ updateId: string;
180691
+ } | {
180692
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180693
+ deviceId: string;
180694
+ requestId: string;
180695
+ } | {
180696
+ kind: "support";
180697
+ requestId: string;
180698
+ };
180699
+ };
180700
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180701
+ currentRevision?: string | undefined;
180702
+ retryAfterSeconds?: number | undefined;
180703
+ }, unknown, z$1.core.$ZodTypeInternals<{
180704
+ traceId: string;
180705
+ recovery: {
180706
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180707
+ } | {
180708
+ action: "read_operation";
180709
+ operation: {
180710
+ kind: "command";
180711
+ serialNumber: string;
180712
+ idempotencyKey: string;
180713
+ } | {
180714
+ kind: "firmware";
180715
+ serialNumber: string;
180716
+ updateId: string;
180717
+ } | {
180718
+ kind: "bluetooth_firmware";
180719
+ deviceId: string;
180720
+ updateId: string;
180721
+ } | {
180722
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180723
+ deviceId: string;
180724
+ requestId: string;
180725
+ } | {
180726
+ kind: "support";
180727
+ requestId: string;
180728
+ };
180729
+ };
180730
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180731
+ currentRevision?: string | undefined;
180732
+ retryAfterSeconds?: number | undefined;
180733
+ }, unknown>>;
180734
+ };
180735
+ readonly read_unavailable: {
180736
+ readonly status: 503;
180737
+ readonly data: z$1.ZodType<{
180738
+ traceId: string;
180739
+ recovery: {
180740
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180741
+ } | {
180742
+ action: "read_operation";
180743
+ operation: {
180744
+ kind: "command";
180745
+ serialNumber: string;
180746
+ idempotencyKey: string;
180747
+ } | {
180748
+ kind: "firmware";
180749
+ serialNumber: string;
180750
+ updateId: string;
180751
+ } | {
180752
+ kind: "bluetooth_firmware";
180753
+ deviceId: string;
180754
+ updateId: string;
180755
+ } | {
180756
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180757
+ deviceId: string;
180758
+ requestId: string;
180759
+ } | {
180760
+ kind: "support";
180761
+ requestId: string;
180762
+ };
180763
+ };
180764
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180765
+ currentRevision?: string | undefined;
180766
+ retryAfterSeconds?: number | undefined;
180767
+ }, unknown, z$1.core.$ZodTypeInternals<{
180768
+ traceId: string;
180769
+ recovery: {
180770
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180771
+ } | {
180772
+ action: "read_operation";
180773
+ operation: {
180774
+ kind: "command";
180775
+ serialNumber: string;
180776
+ idempotencyKey: string;
180777
+ } | {
180778
+ kind: "firmware";
180779
+ serialNumber: string;
180780
+ updateId: string;
180781
+ } | {
180782
+ kind: "bluetooth_firmware";
180783
+ deviceId: string;
180784
+ updateId: string;
180785
+ } | {
180786
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180787
+ deviceId: string;
180788
+ requestId: string;
180789
+ } | {
180790
+ kind: "support";
180791
+ requestId: string;
180792
+ };
180793
+ };
180794
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180795
+ currentRevision?: string | undefined;
180796
+ retryAfterSeconds?: number | undefined;
180797
+ }, unknown>>;
180798
+ };
180799
+ readonly stream_unavailable: {
180800
+ readonly status: 503;
180801
+ readonly data: z$1.ZodType<{
180802
+ traceId: string;
180803
+ recovery: {
180804
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180805
+ } | {
180806
+ action: "read_operation";
180807
+ operation: {
180808
+ kind: "command";
180809
+ serialNumber: string;
180810
+ idempotencyKey: string;
180811
+ } | {
180812
+ kind: "firmware";
180813
+ serialNumber: string;
180814
+ updateId: string;
180815
+ } | {
180816
+ kind: "bluetooth_firmware";
180817
+ deviceId: string;
180818
+ updateId: string;
180819
+ } | {
180820
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180821
+ deviceId: string;
180822
+ requestId: string;
180823
+ } | {
180824
+ kind: "support";
180825
+ requestId: string;
180826
+ };
180827
+ };
180828
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180829
+ currentRevision?: string | undefined;
180830
+ retryAfterSeconds?: number | undefined;
180831
+ }, unknown, z$1.core.$ZodTypeInternals<{
180832
+ traceId: string;
180833
+ recovery: {
180834
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180835
+ } | {
180836
+ action: "read_operation";
180837
+ operation: {
180838
+ kind: "command";
180839
+ serialNumber: string;
180840
+ idempotencyKey: string;
180841
+ } | {
180842
+ kind: "firmware";
180843
+ serialNumber: string;
180844
+ updateId: string;
180845
+ } | {
180846
+ kind: "bluetooth_firmware";
180847
+ deviceId: string;
180848
+ updateId: string;
180849
+ } | {
180850
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180851
+ deviceId: string;
180852
+ requestId: string;
180853
+ } | {
180854
+ kind: "support";
180855
+ requestId: string;
180856
+ };
180857
+ };
180858
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180859
+ currentRevision?: string | undefined;
180860
+ retryAfterSeconds?: number | undefined;
180861
+ }, unknown>>;
180862
+ };
180863
+ readonly payload_too_large: {
180864
+ readonly status: 413;
180865
+ readonly data: z$1.ZodType<{
180866
+ traceId: string;
180867
+ recovery: {
180868
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180869
+ } | {
180870
+ action: "read_operation";
180871
+ operation: {
180872
+ kind: "command";
180873
+ serialNumber: string;
180874
+ idempotencyKey: string;
180875
+ } | {
180876
+ kind: "firmware";
180877
+ serialNumber: string;
180878
+ updateId: string;
180879
+ } | {
180880
+ kind: "bluetooth_firmware";
180881
+ deviceId: string;
180882
+ updateId: string;
180883
+ } | {
180884
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180885
+ deviceId: string;
180886
+ requestId: string;
180887
+ } | {
180888
+ kind: "support";
180889
+ requestId: string;
180890
+ };
180891
+ };
180892
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180893
+ currentRevision?: string | undefined;
180894
+ retryAfterSeconds?: number | undefined;
180895
+ }, unknown, z$1.core.$ZodTypeInternals<{
180896
+ traceId: string;
180897
+ recovery: {
180898
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180899
+ } | {
180900
+ action: "read_operation";
180901
+ operation: {
180902
+ kind: "command";
180903
+ serialNumber: string;
180904
+ idempotencyKey: string;
180905
+ } | {
180906
+ kind: "firmware";
180907
+ serialNumber: string;
180908
+ updateId: string;
180909
+ } | {
180910
+ kind: "bluetooth_firmware";
180911
+ deviceId: string;
180912
+ updateId: string;
180913
+ } | {
180914
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180915
+ deviceId: string;
180916
+ requestId: string;
180917
+ } | {
180918
+ kind: "support";
180919
+ requestId: string;
180920
+ };
180921
+ };
180922
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180923
+ currentRevision?: string | undefined;
180924
+ retryAfterSeconds?: number | undefined;
180925
+ }, unknown>>;
180926
+ };
180927
+ readonly request_timeout: {
180928
+ readonly status: 503;
180929
+ readonly data: z$1.ZodType<{
180930
+ traceId: string;
180931
+ recovery: {
180932
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180933
+ } | {
180934
+ action: "read_operation";
180935
+ operation: {
180936
+ kind: "command";
180937
+ serialNumber: string;
180938
+ idempotencyKey: string;
180939
+ } | {
180940
+ kind: "firmware";
180941
+ serialNumber: string;
180942
+ updateId: string;
180943
+ } | {
180944
+ kind: "bluetooth_firmware";
180945
+ deviceId: string;
180946
+ updateId: string;
180947
+ } | {
180948
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180949
+ deviceId: string;
180950
+ requestId: string;
180951
+ } | {
180952
+ kind: "support";
180953
+ requestId: string;
180954
+ };
180955
+ };
180956
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180957
+ currentRevision?: string | undefined;
180958
+ retryAfterSeconds?: number | undefined;
180959
+ }, unknown, z$1.core.$ZodTypeInternals<{
180960
+ traceId: string;
180961
+ recovery: {
180962
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180963
+ } | {
180964
+ action: "read_operation";
180965
+ operation: {
180966
+ kind: "command";
180967
+ serialNumber: string;
180968
+ idempotencyKey: string;
180969
+ } | {
180970
+ kind: "firmware";
180971
+ serialNumber: string;
180972
+ updateId: string;
180973
+ } | {
180974
+ kind: "bluetooth_firmware";
180975
+ deviceId: string;
180976
+ updateId: string;
180977
+ } | {
180978
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180979
+ deviceId: string;
180980
+ requestId: string;
180981
+ } | {
180982
+ kind: "support";
180983
+ requestId: string;
180984
+ };
180985
+ };
180986
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180987
+ currentRevision?: string | undefined;
180988
+ retryAfterSeconds?: number | undefined;
180989
+ }, unknown>>;
180990
+ };
180991
+ readonly operation_unconfirmed: {
180992
+ readonly status: 503;
180993
+ readonly data: z$1.ZodType<{
180994
+ traceId: string;
180995
+ recovery: {
180996
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180997
+ } | {
180998
+ action: "read_operation";
180999
+ operation: {
181000
+ kind: "command";
181001
+ serialNumber: string;
181002
+ idempotencyKey: string;
181003
+ } | {
181004
+ kind: "firmware";
181005
+ serialNumber: string;
181006
+ updateId: string;
181007
+ } | {
181008
+ kind: "bluetooth_firmware";
181009
+ deviceId: string;
181010
+ updateId: string;
181011
+ } | {
181012
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
181013
+ deviceId: string;
181014
+ requestId: string;
181015
+ } | {
181016
+ kind: "support";
181017
+ requestId: string;
181018
+ };
181019
+ };
181020
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181021
+ currentRevision?: string | undefined;
181022
+ retryAfterSeconds?: number | undefined;
181023
+ }, unknown, z$1.core.$ZodTypeInternals<{
181024
+ traceId: string;
181025
+ recovery: {
181026
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
181027
+ } | {
181028
+ action: "read_operation";
181029
+ operation: {
181030
+ kind: "command";
181031
+ serialNumber: string;
181032
+ idempotencyKey: string;
181033
+ } | {
181034
+ kind: "firmware";
181035
+ serialNumber: string;
181036
+ updateId: string;
181037
+ } | {
181038
+ kind: "bluetooth_firmware";
181039
+ deviceId: string;
181040
+ updateId: string;
181041
+ } | {
181042
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
181043
+ deviceId: string;
181044
+ requestId: string;
181045
+ } | {
181046
+ kind: "support";
181047
+ requestId: string;
181048
+ };
181049
+ };
181050
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181051
+ currentRevision?: string | undefined;
181052
+ retryAfterSeconds?: number | undefined;
181053
+ }, unknown>>;
181054
+ };
181055
+ readonly directory_unavailable: {
181056
+ readonly status: 503;
181057
+ readonly data: z$1.ZodType<{
181058
+ traceId: string;
181059
+ recovery: {
181060
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
181061
+ } | {
181062
+ action: "read_operation";
181063
+ operation: {
181064
+ kind: "command";
181065
+ serialNumber: string;
181066
+ idempotencyKey: string;
181067
+ } | {
181068
+ kind: "firmware";
181069
+ serialNumber: string;
181070
+ updateId: string;
181071
+ } | {
181072
+ kind: "bluetooth_firmware";
181073
+ deviceId: string;
181074
+ updateId: string;
181075
+ } | {
181076
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
181077
+ deviceId: string;
181078
+ requestId: string;
181079
+ } | {
181080
+ kind: "support";
181081
+ requestId: string;
181082
+ };
181083
+ };
181084
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181085
+ currentRevision?: string | undefined;
181086
+ retryAfterSeconds?: number | undefined;
181087
+ }, unknown, z$1.core.$ZodTypeInternals<{
181088
+ traceId: string;
181089
+ recovery: {
181090
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
181091
+ } | {
181092
+ action: "read_operation";
181093
+ operation: {
181094
+ kind: "command";
181095
+ serialNumber: string;
181096
+ idempotencyKey: string;
181097
+ } | {
181098
+ kind: "firmware";
181099
+ serialNumber: string;
181100
+ updateId: string;
181101
+ } | {
181102
+ kind: "bluetooth_firmware";
181103
+ deviceId: string;
181104
+ updateId: string;
181105
+ } | {
181106
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
181107
+ deviceId: string;
181108
+ requestId: string;
181109
+ } | {
181110
+ kind: "support";
181111
+ requestId: string;
181112
+ };
181113
+ };
181114
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181115
+ currentRevision?: string | undefined;
181116
+ retryAfterSeconds?: number | undefined;
181117
+ }, unknown>>;
181118
+ };
181119
+ }>, Record<never, never>>;
181120
+ add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
181121
+ deviceId: z$1.ZodString;
181122
+ memberId: z$1.ZodString;
181123
+ displayName: z$1.ZodString;
181124
+ }, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
179895
181125
  readonly invalid: {
179896
181126
  readonly status: 400;
179897
181127
  readonly data: z$1.ZodType<{
@@ -182708,6 +183938,2080 @@ declare const trackerContract: {
182708
183938
  }, unknown>>;
182709
183939
  };
182710
183940
  }>, Record<never, never>>;
183941
+ getDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
183942
+ deviceId: z$1.ZodString;
183943
+ }, z$1.core.$strict>, z$1.ZodObject<{
183944
+ id: z$1.ZodString;
183945
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
183946
+ lte: z$1.ZodNullable<z$1.ZodString>;
183947
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
183948
+ battery: z$1.ZodNullable<z$1.ZodString>;
183949
+ modem: z$1.ZodNullable<z$1.ZodString>;
183950
+ mtk: z$1.ZodNullable<z$1.ZodString>;
183951
+ ti: z$1.ZodNullable<z$1.ZodString>;
183952
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
183953
+ }, z$1.core.$strip>>;
183954
+ subscription: z$1.ZodDiscriminatedUnion<[
183955
+ z$1.ZodObject<{
183956
+ id: z$1.ZodString;
183957
+ activity: z$1.ZodEnum<{
183958
+ unknown: "unknown";
183959
+ active: "active";
183960
+ inactive: "inactive";
183961
+ }>;
183962
+ isDemo: z$1.ZodBoolean;
183963
+ status: z$1.ZodNullable<z$1.ZodString>;
183964
+ country: z$1.ZodNullable<z$1.ZodString>;
183965
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183966
+ state: z$1.ZodLiteral<"available">;
183967
+ }, z$1.core.$strip>,
183968
+ z$1.ZodObject<{
183969
+ state: z$1.ZodLiteral<"unavailable">;
183970
+ reason: z$1.ZodEnum<{
183971
+ invalid: "invalid";
183972
+ not_observed: "not_observed";
183973
+ not_assigned: "not_assigned";
183974
+ }>;
183975
+ }, z$1.core.$strip>
183976
+ ], "state">;
183977
+ createdAt: z$1.ZodISODateTime;
183978
+ revision: z$1.ZodString;
183979
+ battery: z$1.ZodDiscriminatedUnion<[
183980
+ z$1.ZodObject<{
183981
+ level: z$1.ZodNullable<z$1.ZodNumber>;
183982
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
183983
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183984
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183985
+ observation: z$1.ZodNullable<z$1.ZodObject<{
183986
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183987
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183988
+ }, z$1.core.$strip>>;
183989
+ source: z$1.ZodNullable<z$1.ZodString>;
183990
+ state: z$1.ZodLiteral<"available">;
183991
+ }, z$1.core.$strip>,
183992
+ z$1.ZodObject<{
183993
+ state: z$1.ZodLiteral<"unavailable">;
183994
+ reason: z$1.ZodEnum<{
183995
+ invalid: "invalid";
183996
+ not_observed: "not_observed";
183997
+ not_assigned: "not_assigned";
183998
+ }>;
183999
+ }, z$1.core.$strip>
184000
+ ], "state">;
184001
+ generation: z$1.ZodNullable<z$1.ZodInt>;
184002
+ bike: z$1.ZodObject<{
184003
+ revision: z$1.ZodString;
184004
+ name: z$1.ZodNullable<z$1.ZodString>;
184005
+ brand: z$1.ZodNullable<z$1.ZodString>;
184006
+ type: z$1.ZodNullable<z$1.ZodString>;
184007
+ model: z$1.ZodNullable<z$1.ZodString>;
184008
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
184009
+ url: z$1.ZodNullable<z$1.ZodString>;
184010
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
184011
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
184012
+ }, z$1.core.$strip>;
184013
+ location: z$1.ZodDiscriminatedUnion<[
184014
+ z$1.ZodObject<{
184015
+ latitude: z$1.ZodNumber;
184016
+ longitude: z$1.ZodNumber;
184017
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
184018
+ source: z$1.ZodNullable<z$1.ZodString>;
184019
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
184020
+ state: z$1.ZodLiteral<"available">;
184021
+ }, z$1.core.$strip>,
184022
+ z$1.ZodObject<{
184023
+ state: z$1.ZodLiteral<"unavailable">;
184024
+ reason: z$1.ZodEnum<{
184025
+ invalid: "invalid";
184026
+ not_observed: "not_observed";
184027
+ not_assigned: "not_assigned";
184028
+ }>;
184029
+ }, z$1.core.$strip>
184030
+ ], "state">;
184031
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
184032
+ path: z$1.ZodString;
184033
+ code: z$1.ZodLiteral<"invalid_stored_value">;
184034
+ }, z$1.core.$strip>>;
184035
+ updatedAt: z$1.ZodISODateTime;
184036
+ hardware: z$1.ZodNullable<z$1.ZodObject<{
184037
+ imei: z$1.ZodNullable<z$1.ZodString>;
184038
+ iccid: z$1.ZodNullable<z$1.ZodString>;
184039
+ imsi: z$1.ZodNullable<z$1.ZodString>;
184040
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
184041
+ }, z$1.core.$strip>>;
184042
+ backend: z$1.ZodNullable<z$1.ZodString>;
184043
+ configuration: z$1.ZodNullable<z$1.ZodObject<{
184044
+ movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
184045
+ isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
184046
+ }, z$1.core.$strip>>;
184047
+ membership: z$1.ZodObject<{
184048
+ revision: z$1.ZodString;
184049
+ memberCount: z$1.ZodInt;
184050
+ }, z$1.core.$strip>;
184051
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
184052
+ readonly invalid: {
184053
+ readonly status: 400;
184054
+ readonly data: z$1.ZodType<{
184055
+ traceId: string;
184056
+ recovery: {
184057
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184058
+ } | {
184059
+ action: "read_operation";
184060
+ operation: {
184061
+ kind: "command";
184062
+ serialNumber: string;
184063
+ idempotencyKey: string;
184064
+ } | {
184065
+ kind: "firmware";
184066
+ serialNumber: string;
184067
+ updateId: string;
184068
+ } | {
184069
+ kind: "bluetooth_firmware";
184070
+ deviceId: string;
184071
+ updateId: string;
184072
+ } | {
184073
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184074
+ deviceId: string;
184075
+ requestId: string;
184076
+ } | {
184077
+ kind: "support";
184078
+ requestId: string;
184079
+ };
184080
+ };
184081
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184082
+ currentRevision?: string | undefined;
184083
+ retryAfterSeconds?: number | undefined;
184084
+ }, unknown, z$1.core.$ZodTypeInternals<{
184085
+ traceId: string;
184086
+ recovery: {
184087
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184088
+ } | {
184089
+ action: "read_operation";
184090
+ operation: {
184091
+ kind: "command";
184092
+ serialNumber: string;
184093
+ idempotencyKey: string;
184094
+ } | {
184095
+ kind: "firmware";
184096
+ serialNumber: string;
184097
+ updateId: string;
184098
+ } | {
184099
+ kind: "bluetooth_firmware";
184100
+ deviceId: string;
184101
+ updateId: string;
184102
+ } | {
184103
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184104
+ deviceId: string;
184105
+ requestId: string;
184106
+ } | {
184107
+ kind: "support";
184108
+ requestId: string;
184109
+ };
184110
+ };
184111
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184112
+ currentRevision?: string | undefined;
184113
+ retryAfterSeconds?: number | undefined;
184114
+ }, unknown>>;
184115
+ };
184116
+ readonly unauthenticated: {
184117
+ readonly status: 401;
184118
+ readonly data: z$1.ZodType<{
184119
+ traceId: string;
184120
+ recovery: {
184121
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184122
+ } | {
184123
+ action: "read_operation";
184124
+ operation: {
184125
+ kind: "command";
184126
+ serialNumber: string;
184127
+ idempotencyKey: string;
184128
+ } | {
184129
+ kind: "firmware";
184130
+ serialNumber: string;
184131
+ updateId: string;
184132
+ } | {
184133
+ kind: "bluetooth_firmware";
184134
+ deviceId: string;
184135
+ updateId: string;
184136
+ } | {
184137
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184138
+ deviceId: string;
184139
+ requestId: string;
184140
+ } | {
184141
+ kind: "support";
184142
+ requestId: string;
184143
+ };
184144
+ };
184145
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184146
+ currentRevision?: string | undefined;
184147
+ retryAfterSeconds?: number | undefined;
184148
+ }, unknown, z$1.core.$ZodTypeInternals<{
184149
+ traceId: string;
184150
+ recovery: {
184151
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184152
+ } | {
184153
+ action: "read_operation";
184154
+ operation: {
184155
+ kind: "command";
184156
+ serialNumber: string;
184157
+ idempotencyKey: string;
184158
+ } | {
184159
+ kind: "firmware";
184160
+ serialNumber: string;
184161
+ updateId: string;
184162
+ } | {
184163
+ kind: "bluetooth_firmware";
184164
+ deviceId: string;
184165
+ updateId: string;
184166
+ } | {
184167
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184168
+ deviceId: string;
184169
+ requestId: string;
184170
+ } | {
184171
+ kind: "support";
184172
+ requestId: string;
184173
+ };
184174
+ };
184175
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184176
+ currentRevision?: string | undefined;
184177
+ retryAfterSeconds?: number | undefined;
184178
+ }, unknown>>;
184179
+ };
184180
+ readonly forbidden: {
184181
+ readonly status: 403;
184182
+ readonly data: z$1.ZodType<{
184183
+ traceId: string;
184184
+ recovery: {
184185
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184186
+ } | {
184187
+ action: "read_operation";
184188
+ operation: {
184189
+ kind: "command";
184190
+ serialNumber: string;
184191
+ idempotencyKey: string;
184192
+ } | {
184193
+ kind: "firmware";
184194
+ serialNumber: string;
184195
+ updateId: string;
184196
+ } | {
184197
+ kind: "bluetooth_firmware";
184198
+ deviceId: string;
184199
+ updateId: string;
184200
+ } | {
184201
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184202
+ deviceId: string;
184203
+ requestId: string;
184204
+ } | {
184205
+ kind: "support";
184206
+ requestId: string;
184207
+ };
184208
+ };
184209
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184210
+ currentRevision?: string | undefined;
184211
+ retryAfterSeconds?: number | undefined;
184212
+ }, unknown, z$1.core.$ZodTypeInternals<{
184213
+ traceId: string;
184214
+ recovery: {
184215
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184216
+ } | {
184217
+ action: "read_operation";
184218
+ operation: {
184219
+ kind: "command";
184220
+ serialNumber: string;
184221
+ idempotencyKey: string;
184222
+ } | {
184223
+ kind: "firmware";
184224
+ serialNumber: string;
184225
+ updateId: string;
184226
+ } | {
184227
+ kind: "bluetooth_firmware";
184228
+ deviceId: string;
184229
+ updateId: string;
184230
+ } | {
184231
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184232
+ deviceId: string;
184233
+ requestId: string;
184234
+ } | {
184235
+ kind: "support";
184236
+ requestId: string;
184237
+ };
184238
+ };
184239
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184240
+ currentRevision?: string | undefined;
184241
+ retryAfterSeconds?: number | undefined;
184242
+ }, unknown>>;
184243
+ };
184244
+ readonly not_found: {
184245
+ readonly status: 404;
184246
+ readonly data: z$1.ZodType<{
184247
+ traceId: string;
184248
+ recovery: {
184249
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184250
+ } | {
184251
+ action: "read_operation";
184252
+ operation: {
184253
+ kind: "command";
184254
+ serialNumber: string;
184255
+ idempotencyKey: string;
184256
+ } | {
184257
+ kind: "firmware";
184258
+ serialNumber: string;
184259
+ updateId: string;
184260
+ } | {
184261
+ kind: "bluetooth_firmware";
184262
+ deviceId: string;
184263
+ updateId: string;
184264
+ } | {
184265
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184266
+ deviceId: string;
184267
+ requestId: string;
184268
+ } | {
184269
+ kind: "support";
184270
+ requestId: string;
184271
+ };
184272
+ };
184273
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184274
+ currentRevision?: string | undefined;
184275
+ retryAfterSeconds?: number | undefined;
184276
+ }, unknown, z$1.core.$ZodTypeInternals<{
184277
+ traceId: string;
184278
+ recovery: {
184279
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184280
+ } | {
184281
+ action: "read_operation";
184282
+ operation: {
184283
+ kind: "command";
184284
+ serialNumber: string;
184285
+ idempotencyKey: string;
184286
+ } | {
184287
+ kind: "firmware";
184288
+ serialNumber: string;
184289
+ updateId: string;
184290
+ } | {
184291
+ kind: "bluetooth_firmware";
184292
+ deviceId: string;
184293
+ updateId: string;
184294
+ } | {
184295
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184296
+ deviceId: string;
184297
+ requestId: string;
184298
+ } | {
184299
+ kind: "support";
184300
+ requestId: string;
184301
+ };
184302
+ };
184303
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184304
+ currentRevision?: string | undefined;
184305
+ retryAfterSeconds?: number | undefined;
184306
+ }, unknown>>;
184307
+ };
184308
+ readonly conflict: {
184309
+ readonly status: 409;
184310
+ readonly data: z$1.ZodType<{
184311
+ traceId: string;
184312
+ recovery: {
184313
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184314
+ } | {
184315
+ action: "read_operation";
184316
+ operation: {
184317
+ kind: "command";
184318
+ serialNumber: string;
184319
+ idempotencyKey: string;
184320
+ } | {
184321
+ kind: "firmware";
184322
+ serialNumber: string;
184323
+ updateId: string;
184324
+ } | {
184325
+ kind: "bluetooth_firmware";
184326
+ deviceId: string;
184327
+ updateId: string;
184328
+ } | {
184329
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184330
+ deviceId: string;
184331
+ requestId: string;
184332
+ } | {
184333
+ kind: "support";
184334
+ requestId: string;
184335
+ };
184336
+ };
184337
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184338
+ currentRevision?: string | undefined;
184339
+ retryAfterSeconds?: number | undefined;
184340
+ }, unknown, z$1.core.$ZodTypeInternals<{
184341
+ traceId: string;
184342
+ recovery: {
184343
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184344
+ } | {
184345
+ action: "read_operation";
184346
+ operation: {
184347
+ kind: "command";
184348
+ serialNumber: string;
184349
+ idempotencyKey: string;
184350
+ } | {
184351
+ kind: "firmware";
184352
+ serialNumber: string;
184353
+ updateId: string;
184354
+ } | {
184355
+ kind: "bluetooth_firmware";
184356
+ deviceId: string;
184357
+ updateId: string;
184358
+ } | {
184359
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184360
+ deviceId: string;
184361
+ requestId: string;
184362
+ } | {
184363
+ kind: "support";
184364
+ requestId: string;
184365
+ };
184366
+ };
184367
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184368
+ currentRevision?: string | undefined;
184369
+ retryAfterSeconds?: number | undefined;
184370
+ }, unknown>>;
184371
+ };
184372
+ readonly rate_limited: {
184373
+ readonly status: 429;
184374
+ readonly data: z$1.ZodType<{
184375
+ traceId: string;
184376
+ recovery: {
184377
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184378
+ } | {
184379
+ action: "read_operation";
184380
+ operation: {
184381
+ kind: "command";
184382
+ serialNumber: string;
184383
+ idempotencyKey: string;
184384
+ } | {
184385
+ kind: "firmware";
184386
+ serialNumber: string;
184387
+ updateId: string;
184388
+ } | {
184389
+ kind: "bluetooth_firmware";
184390
+ deviceId: string;
184391
+ updateId: string;
184392
+ } | {
184393
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184394
+ deviceId: string;
184395
+ requestId: string;
184396
+ } | {
184397
+ kind: "support";
184398
+ requestId: string;
184399
+ };
184400
+ };
184401
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184402
+ currentRevision?: string | undefined;
184403
+ retryAfterSeconds?: number | undefined;
184404
+ }, unknown, z$1.core.$ZodTypeInternals<{
184405
+ traceId: string;
184406
+ recovery: {
184407
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184408
+ } | {
184409
+ action: "read_operation";
184410
+ operation: {
184411
+ kind: "command";
184412
+ serialNumber: string;
184413
+ idempotencyKey: string;
184414
+ } | {
184415
+ kind: "firmware";
184416
+ serialNumber: string;
184417
+ updateId: string;
184418
+ } | {
184419
+ kind: "bluetooth_firmware";
184420
+ deviceId: string;
184421
+ updateId: string;
184422
+ } | {
184423
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184424
+ deviceId: string;
184425
+ requestId: string;
184426
+ } | {
184427
+ kind: "support";
184428
+ requestId: string;
184429
+ };
184430
+ };
184431
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184432
+ currentRevision?: string | undefined;
184433
+ retryAfterSeconds?: number | undefined;
184434
+ }, unknown>>;
184435
+ };
184436
+ readonly stored_data_invalid: {
184437
+ readonly status: 503;
184438
+ readonly data: z$1.ZodType<{
184439
+ traceId: string;
184440
+ recovery: {
184441
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184442
+ } | {
184443
+ action: "read_operation";
184444
+ operation: {
184445
+ kind: "command";
184446
+ serialNumber: string;
184447
+ idempotencyKey: string;
184448
+ } | {
184449
+ kind: "firmware";
184450
+ serialNumber: string;
184451
+ updateId: string;
184452
+ } | {
184453
+ kind: "bluetooth_firmware";
184454
+ deviceId: string;
184455
+ updateId: string;
184456
+ } | {
184457
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184458
+ deviceId: string;
184459
+ requestId: string;
184460
+ } | {
184461
+ kind: "support";
184462
+ requestId: string;
184463
+ };
184464
+ };
184465
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184466
+ currentRevision?: string | undefined;
184467
+ retryAfterSeconds?: number | undefined;
184468
+ }, unknown, z$1.core.$ZodTypeInternals<{
184469
+ traceId: string;
184470
+ recovery: {
184471
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184472
+ } | {
184473
+ action: "read_operation";
184474
+ operation: {
184475
+ kind: "command";
184476
+ serialNumber: string;
184477
+ idempotencyKey: string;
184478
+ } | {
184479
+ kind: "firmware";
184480
+ serialNumber: string;
184481
+ updateId: string;
184482
+ } | {
184483
+ kind: "bluetooth_firmware";
184484
+ deviceId: string;
184485
+ updateId: string;
184486
+ } | {
184487
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184488
+ deviceId: string;
184489
+ requestId: string;
184490
+ } | {
184491
+ kind: "support";
184492
+ requestId: string;
184493
+ };
184494
+ };
184495
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184496
+ currentRevision?: string | undefined;
184497
+ retryAfterSeconds?: number | undefined;
184498
+ }, unknown>>;
184499
+ };
184500
+ readonly service_unavailable: {
184501
+ readonly status: 503;
184502
+ readonly data: z$1.ZodType<{
184503
+ traceId: string;
184504
+ recovery: {
184505
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184506
+ } | {
184507
+ action: "read_operation";
184508
+ operation: {
184509
+ kind: "command";
184510
+ serialNumber: string;
184511
+ idempotencyKey: string;
184512
+ } | {
184513
+ kind: "firmware";
184514
+ serialNumber: string;
184515
+ updateId: string;
184516
+ } | {
184517
+ kind: "bluetooth_firmware";
184518
+ deviceId: string;
184519
+ updateId: string;
184520
+ } | {
184521
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184522
+ deviceId: string;
184523
+ requestId: string;
184524
+ } | {
184525
+ kind: "support";
184526
+ requestId: string;
184527
+ };
184528
+ };
184529
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184530
+ currentRevision?: string | undefined;
184531
+ retryAfterSeconds?: number | undefined;
184532
+ }, unknown, z$1.core.$ZodTypeInternals<{
184533
+ traceId: string;
184534
+ recovery: {
184535
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184536
+ } | {
184537
+ action: "read_operation";
184538
+ operation: {
184539
+ kind: "command";
184540
+ serialNumber: string;
184541
+ idempotencyKey: string;
184542
+ } | {
184543
+ kind: "firmware";
184544
+ serialNumber: string;
184545
+ updateId: string;
184546
+ } | {
184547
+ kind: "bluetooth_firmware";
184548
+ deviceId: string;
184549
+ updateId: string;
184550
+ } | {
184551
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184552
+ deviceId: string;
184553
+ requestId: string;
184554
+ } | {
184555
+ kind: "support";
184556
+ requestId: string;
184557
+ };
184558
+ };
184559
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184560
+ currentRevision?: string | undefined;
184561
+ retryAfterSeconds?: number | undefined;
184562
+ }, unknown>>;
184563
+ };
184564
+ readonly read_unavailable: {
184565
+ readonly status: 503;
184566
+ readonly data: z$1.ZodType<{
184567
+ traceId: string;
184568
+ recovery: {
184569
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184570
+ } | {
184571
+ action: "read_operation";
184572
+ operation: {
184573
+ kind: "command";
184574
+ serialNumber: string;
184575
+ idempotencyKey: string;
184576
+ } | {
184577
+ kind: "firmware";
184578
+ serialNumber: string;
184579
+ updateId: string;
184580
+ } | {
184581
+ kind: "bluetooth_firmware";
184582
+ deviceId: string;
184583
+ updateId: string;
184584
+ } | {
184585
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184586
+ deviceId: string;
184587
+ requestId: string;
184588
+ } | {
184589
+ kind: "support";
184590
+ requestId: string;
184591
+ };
184592
+ };
184593
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184594
+ currentRevision?: string | undefined;
184595
+ retryAfterSeconds?: number | undefined;
184596
+ }, unknown, z$1.core.$ZodTypeInternals<{
184597
+ traceId: string;
184598
+ recovery: {
184599
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184600
+ } | {
184601
+ action: "read_operation";
184602
+ operation: {
184603
+ kind: "command";
184604
+ serialNumber: string;
184605
+ idempotencyKey: string;
184606
+ } | {
184607
+ kind: "firmware";
184608
+ serialNumber: string;
184609
+ updateId: string;
184610
+ } | {
184611
+ kind: "bluetooth_firmware";
184612
+ deviceId: string;
184613
+ updateId: string;
184614
+ } | {
184615
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184616
+ deviceId: string;
184617
+ requestId: string;
184618
+ } | {
184619
+ kind: "support";
184620
+ requestId: string;
184621
+ };
184622
+ };
184623
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184624
+ currentRevision?: string | undefined;
184625
+ retryAfterSeconds?: number | undefined;
184626
+ }, unknown>>;
184627
+ };
184628
+ readonly stream_unavailable: {
184629
+ readonly status: 503;
184630
+ readonly data: z$1.ZodType<{
184631
+ traceId: string;
184632
+ recovery: {
184633
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184634
+ } | {
184635
+ action: "read_operation";
184636
+ operation: {
184637
+ kind: "command";
184638
+ serialNumber: string;
184639
+ idempotencyKey: string;
184640
+ } | {
184641
+ kind: "firmware";
184642
+ serialNumber: string;
184643
+ updateId: string;
184644
+ } | {
184645
+ kind: "bluetooth_firmware";
184646
+ deviceId: string;
184647
+ updateId: string;
184648
+ } | {
184649
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184650
+ deviceId: string;
184651
+ requestId: string;
184652
+ } | {
184653
+ kind: "support";
184654
+ requestId: string;
184655
+ };
184656
+ };
184657
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184658
+ currentRevision?: string | undefined;
184659
+ retryAfterSeconds?: number | undefined;
184660
+ }, unknown, z$1.core.$ZodTypeInternals<{
184661
+ traceId: string;
184662
+ recovery: {
184663
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184664
+ } | {
184665
+ action: "read_operation";
184666
+ operation: {
184667
+ kind: "command";
184668
+ serialNumber: string;
184669
+ idempotencyKey: string;
184670
+ } | {
184671
+ kind: "firmware";
184672
+ serialNumber: string;
184673
+ updateId: string;
184674
+ } | {
184675
+ kind: "bluetooth_firmware";
184676
+ deviceId: string;
184677
+ updateId: string;
184678
+ } | {
184679
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184680
+ deviceId: string;
184681
+ requestId: string;
184682
+ } | {
184683
+ kind: "support";
184684
+ requestId: string;
184685
+ };
184686
+ };
184687
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184688
+ currentRevision?: string | undefined;
184689
+ retryAfterSeconds?: number | undefined;
184690
+ }, unknown>>;
184691
+ };
184692
+ readonly payload_too_large: {
184693
+ readonly status: 413;
184694
+ readonly data: z$1.ZodType<{
184695
+ traceId: string;
184696
+ recovery: {
184697
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184698
+ } | {
184699
+ action: "read_operation";
184700
+ operation: {
184701
+ kind: "command";
184702
+ serialNumber: string;
184703
+ idempotencyKey: string;
184704
+ } | {
184705
+ kind: "firmware";
184706
+ serialNumber: string;
184707
+ updateId: string;
184708
+ } | {
184709
+ kind: "bluetooth_firmware";
184710
+ deviceId: string;
184711
+ updateId: string;
184712
+ } | {
184713
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184714
+ deviceId: string;
184715
+ requestId: string;
184716
+ } | {
184717
+ kind: "support";
184718
+ requestId: string;
184719
+ };
184720
+ };
184721
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184722
+ currentRevision?: string | undefined;
184723
+ retryAfterSeconds?: number | undefined;
184724
+ }, unknown, z$1.core.$ZodTypeInternals<{
184725
+ traceId: string;
184726
+ recovery: {
184727
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184728
+ } | {
184729
+ action: "read_operation";
184730
+ operation: {
184731
+ kind: "command";
184732
+ serialNumber: string;
184733
+ idempotencyKey: string;
184734
+ } | {
184735
+ kind: "firmware";
184736
+ serialNumber: string;
184737
+ updateId: string;
184738
+ } | {
184739
+ kind: "bluetooth_firmware";
184740
+ deviceId: string;
184741
+ updateId: string;
184742
+ } | {
184743
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184744
+ deviceId: string;
184745
+ requestId: string;
184746
+ } | {
184747
+ kind: "support";
184748
+ requestId: string;
184749
+ };
184750
+ };
184751
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184752
+ currentRevision?: string | undefined;
184753
+ retryAfterSeconds?: number | undefined;
184754
+ }, unknown>>;
184755
+ };
184756
+ readonly request_timeout: {
184757
+ readonly status: 503;
184758
+ readonly data: z$1.ZodType<{
184759
+ traceId: string;
184760
+ recovery: {
184761
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184762
+ } | {
184763
+ action: "read_operation";
184764
+ operation: {
184765
+ kind: "command";
184766
+ serialNumber: string;
184767
+ idempotencyKey: string;
184768
+ } | {
184769
+ kind: "firmware";
184770
+ serialNumber: string;
184771
+ updateId: string;
184772
+ } | {
184773
+ kind: "bluetooth_firmware";
184774
+ deviceId: string;
184775
+ updateId: string;
184776
+ } | {
184777
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184778
+ deviceId: string;
184779
+ requestId: string;
184780
+ } | {
184781
+ kind: "support";
184782
+ requestId: string;
184783
+ };
184784
+ };
184785
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184786
+ currentRevision?: string | undefined;
184787
+ retryAfterSeconds?: number | undefined;
184788
+ }, unknown, z$1.core.$ZodTypeInternals<{
184789
+ traceId: string;
184790
+ recovery: {
184791
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184792
+ } | {
184793
+ action: "read_operation";
184794
+ operation: {
184795
+ kind: "command";
184796
+ serialNumber: string;
184797
+ idempotencyKey: string;
184798
+ } | {
184799
+ kind: "firmware";
184800
+ serialNumber: string;
184801
+ updateId: string;
184802
+ } | {
184803
+ kind: "bluetooth_firmware";
184804
+ deviceId: string;
184805
+ updateId: string;
184806
+ } | {
184807
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184808
+ deviceId: string;
184809
+ requestId: string;
184810
+ } | {
184811
+ kind: "support";
184812
+ requestId: string;
184813
+ };
184814
+ };
184815
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184816
+ currentRevision?: string | undefined;
184817
+ retryAfterSeconds?: number | undefined;
184818
+ }, unknown>>;
184819
+ };
184820
+ readonly operation_unconfirmed: {
184821
+ readonly status: 503;
184822
+ readonly data: z$1.ZodType<{
184823
+ traceId: string;
184824
+ recovery: {
184825
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184826
+ } | {
184827
+ action: "read_operation";
184828
+ operation: {
184829
+ kind: "command";
184830
+ serialNumber: string;
184831
+ idempotencyKey: string;
184832
+ } | {
184833
+ kind: "firmware";
184834
+ serialNumber: string;
184835
+ updateId: string;
184836
+ } | {
184837
+ kind: "bluetooth_firmware";
184838
+ deviceId: string;
184839
+ updateId: string;
184840
+ } | {
184841
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184842
+ deviceId: string;
184843
+ requestId: string;
184844
+ } | {
184845
+ kind: "support";
184846
+ requestId: string;
184847
+ };
184848
+ };
184849
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184850
+ currentRevision?: string | undefined;
184851
+ retryAfterSeconds?: number | undefined;
184852
+ }, unknown, z$1.core.$ZodTypeInternals<{
184853
+ traceId: string;
184854
+ recovery: {
184855
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184856
+ } | {
184857
+ action: "read_operation";
184858
+ operation: {
184859
+ kind: "command";
184860
+ serialNumber: string;
184861
+ idempotencyKey: string;
184862
+ } | {
184863
+ kind: "firmware";
184864
+ serialNumber: string;
184865
+ updateId: string;
184866
+ } | {
184867
+ kind: "bluetooth_firmware";
184868
+ deviceId: string;
184869
+ updateId: string;
184870
+ } | {
184871
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184872
+ deviceId: string;
184873
+ requestId: string;
184874
+ } | {
184875
+ kind: "support";
184876
+ requestId: string;
184877
+ };
184878
+ };
184879
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184880
+ currentRevision?: string | undefined;
184881
+ retryAfterSeconds?: number | undefined;
184882
+ }, unknown>>;
184883
+ };
184884
+ readonly directory_unavailable: {
184885
+ readonly status: 503;
184886
+ readonly data: z$1.ZodType<{
184887
+ traceId: string;
184888
+ recovery: {
184889
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184890
+ } | {
184891
+ action: "read_operation";
184892
+ operation: {
184893
+ kind: "command";
184894
+ serialNumber: string;
184895
+ idempotencyKey: string;
184896
+ } | {
184897
+ kind: "firmware";
184898
+ serialNumber: string;
184899
+ updateId: string;
184900
+ } | {
184901
+ kind: "bluetooth_firmware";
184902
+ deviceId: string;
184903
+ updateId: string;
184904
+ } | {
184905
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184906
+ deviceId: string;
184907
+ requestId: string;
184908
+ } | {
184909
+ kind: "support";
184910
+ requestId: string;
184911
+ };
184912
+ };
184913
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184914
+ currentRevision?: string | undefined;
184915
+ retryAfterSeconds?: number | undefined;
184916
+ }, unknown, z$1.core.$ZodTypeInternals<{
184917
+ traceId: string;
184918
+ recovery: {
184919
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184920
+ } | {
184921
+ action: "read_operation";
184922
+ operation: {
184923
+ kind: "command";
184924
+ serialNumber: string;
184925
+ idempotencyKey: string;
184926
+ } | {
184927
+ kind: "firmware";
184928
+ serialNumber: string;
184929
+ updateId: string;
184930
+ } | {
184931
+ kind: "bluetooth_firmware";
184932
+ deviceId: string;
184933
+ updateId: string;
184934
+ } | {
184935
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184936
+ deviceId: string;
184937
+ requestId: string;
184938
+ } | {
184939
+ kind: "support";
184940
+ requestId: string;
184941
+ };
184942
+ };
184943
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184944
+ currentRevision?: string | undefined;
184945
+ retryAfterSeconds?: number | undefined;
184946
+ }, unknown>>;
184947
+ };
184948
+ }>, Record<never, never>>;
184949
+ watchDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
184950
+ deviceId: z$1.ZodString;
184951
+ }, z$1.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
184952
+ id: string;
184953
+ firmware: {
184954
+ lte: string | null;
184955
+ bluetooth: string | null;
184956
+ battery: string | null;
184957
+ modem: string | null;
184958
+ mtk: string | null;
184959
+ ti: string | null;
184960
+ buildNumber: number | null;
184961
+ } | null;
184962
+ subscription: {
184963
+ state: "unavailable";
184964
+ reason: "invalid" | "not_observed" | "not_assigned";
184965
+ } | {
184966
+ id: string;
184967
+ activity: "unknown" | "active" | "inactive";
184968
+ isDemo: boolean;
184969
+ status: string | null;
184970
+ country: string | null;
184971
+ endsAt: string | null;
184972
+ state: "available";
184973
+ };
184974
+ createdAt: string;
184975
+ revision: string;
184976
+ battery: {
184977
+ state: "unavailable";
184978
+ reason: "invalid" | "not_observed" | "not_assigned";
184979
+ } | {
184980
+ level: number | null;
184981
+ isCharging: boolean | null;
184982
+ levelUpdatedAt: string | null;
184983
+ chargingObservedAt: string | null;
184984
+ observation: {
184985
+ observedAt: string | null;
184986
+ receivedAt: string | null;
184987
+ } | null;
184988
+ source: string | null;
184989
+ state: "available";
184990
+ };
184991
+ generation: number | null;
184992
+ bike: {
184993
+ revision: string;
184994
+ name: string | null;
184995
+ brand: string | null;
184996
+ type: string | null;
184997
+ model: string | null;
184998
+ frameNumber: string | null;
184999
+ url: string | null;
185000
+ marketPrice: string | null;
185001
+ marketPriceCurrency: string | null;
185002
+ };
185003
+ location: {
185004
+ state: "unavailable";
185005
+ reason: "invalid" | "not_observed" | "not_assigned";
185006
+ } | {
185007
+ latitude: number;
185008
+ longitude: number;
185009
+ accuracy: number | null;
185010
+ source: string | null;
185011
+ observedAt: string | null;
185012
+ state: "available";
185013
+ };
185014
+ readIssues: {
185015
+ path: string;
185016
+ code: "invalid_stored_value";
185017
+ }[];
185018
+ updatedAt: string;
185019
+ hardware: {
185020
+ imei: string | null;
185021
+ iccid: string | null;
185022
+ imsi: string | null;
185023
+ serialNumber: string | null;
185024
+ } | null;
185025
+ backend: string | null;
185026
+ configuration: {
185027
+ movementAlerts: boolean | null;
185028
+ isBlacklisted: boolean | null;
185029
+ } | null;
185030
+ membership: {
185031
+ revision: string;
185032
+ memberCount: number;
185033
+ };
185034
+ }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
185035
+ id: string;
185036
+ firmware: {
185037
+ lte: string | null;
185038
+ bluetooth: string | null;
185039
+ battery: string | null;
185040
+ modem: string | null;
185041
+ mtk: string | null;
185042
+ ti: string | null;
185043
+ buildNumber: number | null;
185044
+ } | null;
185045
+ subscription: {
185046
+ state: "unavailable";
185047
+ reason: "invalid" | "not_observed" | "not_assigned";
185048
+ } | {
185049
+ id: string;
185050
+ activity: "unknown" | "active" | "inactive";
185051
+ isDemo: boolean;
185052
+ status: string | null;
185053
+ country: string | null;
185054
+ endsAt: string | null;
185055
+ state: "available";
185056
+ };
185057
+ createdAt: string;
185058
+ revision: string;
185059
+ battery: {
185060
+ state: "unavailable";
185061
+ reason: "invalid" | "not_observed" | "not_assigned";
185062
+ } | {
185063
+ level: number | null;
185064
+ isCharging: boolean | null;
185065
+ levelUpdatedAt: string | null;
185066
+ chargingObservedAt: string | null;
185067
+ observation: {
185068
+ observedAt: string | null;
185069
+ receivedAt: string | null;
185070
+ } | null;
185071
+ source: string | null;
185072
+ state: "available";
185073
+ };
185074
+ generation: number | null;
185075
+ bike: {
185076
+ revision: string;
185077
+ name: string | null;
185078
+ brand: string | null;
185079
+ type: string | null;
185080
+ model: string | null;
185081
+ frameNumber: string | null;
185082
+ url: string | null;
185083
+ marketPrice: string | null;
185084
+ marketPriceCurrency: string | null;
185085
+ };
185086
+ location: {
185087
+ state: "unavailable";
185088
+ reason: "invalid" | "not_observed" | "not_assigned";
185089
+ } | {
185090
+ latitude: number;
185091
+ longitude: number;
185092
+ accuracy: number | null;
185093
+ source: string | null;
185094
+ observedAt: string | null;
185095
+ state: "available";
185096
+ };
185097
+ readIssues: {
185098
+ path: string;
185099
+ code: "invalid_stored_value";
185100
+ }[];
185101
+ updatedAt: string;
185102
+ hardware: {
185103
+ imei: string | null;
185104
+ iccid: string | null;
185105
+ imsi: string | null;
185106
+ serialNumber: string | null;
185107
+ } | null;
185108
+ backend: string | null;
185109
+ configuration: {
185110
+ movementAlerts: boolean | null;
185111
+ isBlacklisted: boolean | null;
185112
+ } | null;
185113
+ membership: {
185114
+ revision: string;
185115
+ memberCount: number;
185116
+ };
185117
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
185118
+ readonly invalid: {
185119
+ readonly status: 400;
185120
+ readonly data: z$1.ZodType<{
185121
+ traceId: string;
185122
+ recovery: {
185123
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185124
+ } | {
185125
+ action: "read_operation";
185126
+ operation: {
185127
+ kind: "command";
185128
+ serialNumber: string;
185129
+ idempotencyKey: string;
185130
+ } | {
185131
+ kind: "firmware";
185132
+ serialNumber: string;
185133
+ updateId: string;
185134
+ } | {
185135
+ kind: "bluetooth_firmware";
185136
+ deviceId: string;
185137
+ updateId: string;
185138
+ } | {
185139
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185140
+ deviceId: string;
185141
+ requestId: string;
185142
+ } | {
185143
+ kind: "support";
185144
+ requestId: string;
185145
+ };
185146
+ };
185147
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185148
+ currentRevision?: string | undefined;
185149
+ retryAfterSeconds?: number | undefined;
185150
+ }, unknown, z$1.core.$ZodTypeInternals<{
185151
+ traceId: string;
185152
+ recovery: {
185153
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185154
+ } | {
185155
+ action: "read_operation";
185156
+ operation: {
185157
+ kind: "command";
185158
+ serialNumber: string;
185159
+ idempotencyKey: string;
185160
+ } | {
185161
+ kind: "firmware";
185162
+ serialNumber: string;
185163
+ updateId: string;
185164
+ } | {
185165
+ kind: "bluetooth_firmware";
185166
+ deviceId: string;
185167
+ updateId: string;
185168
+ } | {
185169
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185170
+ deviceId: string;
185171
+ requestId: string;
185172
+ } | {
185173
+ kind: "support";
185174
+ requestId: string;
185175
+ };
185176
+ };
185177
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185178
+ currentRevision?: string | undefined;
185179
+ retryAfterSeconds?: number | undefined;
185180
+ }, unknown>>;
185181
+ };
185182
+ readonly unauthenticated: {
185183
+ readonly status: 401;
185184
+ readonly data: z$1.ZodType<{
185185
+ traceId: string;
185186
+ recovery: {
185187
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185188
+ } | {
185189
+ action: "read_operation";
185190
+ operation: {
185191
+ kind: "command";
185192
+ serialNumber: string;
185193
+ idempotencyKey: string;
185194
+ } | {
185195
+ kind: "firmware";
185196
+ serialNumber: string;
185197
+ updateId: string;
185198
+ } | {
185199
+ kind: "bluetooth_firmware";
185200
+ deviceId: string;
185201
+ updateId: string;
185202
+ } | {
185203
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185204
+ deviceId: string;
185205
+ requestId: string;
185206
+ } | {
185207
+ kind: "support";
185208
+ requestId: string;
185209
+ };
185210
+ };
185211
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185212
+ currentRevision?: string | undefined;
185213
+ retryAfterSeconds?: number | undefined;
185214
+ }, unknown, z$1.core.$ZodTypeInternals<{
185215
+ traceId: string;
185216
+ recovery: {
185217
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185218
+ } | {
185219
+ action: "read_operation";
185220
+ operation: {
185221
+ kind: "command";
185222
+ serialNumber: string;
185223
+ idempotencyKey: string;
185224
+ } | {
185225
+ kind: "firmware";
185226
+ serialNumber: string;
185227
+ updateId: string;
185228
+ } | {
185229
+ kind: "bluetooth_firmware";
185230
+ deviceId: string;
185231
+ updateId: string;
185232
+ } | {
185233
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185234
+ deviceId: string;
185235
+ requestId: string;
185236
+ } | {
185237
+ kind: "support";
185238
+ requestId: string;
185239
+ };
185240
+ };
185241
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185242
+ currentRevision?: string | undefined;
185243
+ retryAfterSeconds?: number | undefined;
185244
+ }, unknown>>;
185245
+ };
185246
+ readonly forbidden: {
185247
+ readonly status: 403;
185248
+ readonly data: z$1.ZodType<{
185249
+ traceId: string;
185250
+ recovery: {
185251
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185252
+ } | {
185253
+ action: "read_operation";
185254
+ operation: {
185255
+ kind: "command";
185256
+ serialNumber: string;
185257
+ idempotencyKey: string;
185258
+ } | {
185259
+ kind: "firmware";
185260
+ serialNumber: string;
185261
+ updateId: string;
185262
+ } | {
185263
+ kind: "bluetooth_firmware";
185264
+ deviceId: string;
185265
+ updateId: string;
185266
+ } | {
185267
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185268
+ deviceId: string;
185269
+ requestId: string;
185270
+ } | {
185271
+ kind: "support";
185272
+ requestId: string;
185273
+ };
185274
+ };
185275
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185276
+ currentRevision?: string | undefined;
185277
+ retryAfterSeconds?: number | undefined;
185278
+ }, unknown, z$1.core.$ZodTypeInternals<{
185279
+ traceId: string;
185280
+ recovery: {
185281
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185282
+ } | {
185283
+ action: "read_operation";
185284
+ operation: {
185285
+ kind: "command";
185286
+ serialNumber: string;
185287
+ idempotencyKey: string;
185288
+ } | {
185289
+ kind: "firmware";
185290
+ serialNumber: string;
185291
+ updateId: string;
185292
+ } | {
185293
+ kind: "bluetooth_firmware";
185294
+ deviceId: string;
185295
+ updateId: string;
185296
+ } | {
185297
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185298
+ deviceId: string;
185299
+ requestId: string;
185300
+ } | {
185301
+ kind: "support";
185302
+ requestId: string;
185303
+ };
185304
+ };
185305
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185306
+ currentRevision?: string | undefined;
185307
+ retryAfterSeconds?: number | undefined;
185308
+ }, unknown>>;
185309
+ };
185310
+ readonly not_found: {
185311
+ readonly status: 404;
185312
+ readonly data: z$1.ZodType<{
185313
+ traceId: string;
185314
+ recovery: {
185315
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185316
+ } | {
185317
+ action: "read_operation";
185318
+ operation: {
185319
+ kind: "command";
185320
+ serialNumber: string;
185321
+ idempotencyKey: string;
185322
+ } | {
185323
+ kind: "firmware";
185324
+ serialNumber: string;
185325
+ updateId: string;
185326
+ } | {
185327
+ kind: "bluetooth_firmware";
185328
+ deviceId: string;
185329
+ updateId: string;
185330
+ } | {
185331
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185332
+ deviceId: string;
185333
+ requestId: string;
185334
+ } | {
185335
+ kind: "support";
185336
+ requestId: string;
185337
+ };
185338
+ };
185339
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185340
+ currentRevision?: string | undefined;
185341
+ retryAfterSeconds?: number | undefined;
185342
+ }, unknown, z$1.core.$ZodTypeInternals<{
185343
+ traceId: string;
185344
+ recovery: {
185345
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185346
+ } | {
185347
+ action: "read_operation";
185348
+ operation: {
185349
+ kind: "command";
185350
+ serialNumber: string;
185351
+ idempotencyKey: string;
185352
+ } | {
185353
+ kind: "firmware";
185354
+ serialNumber: string;
185355
+ updateId: string;
185356
+ } | {
185357
+ kind: "bluetooth_firmware";
185358
+ deviceId: string;
185359
+ updateId: string;
185360
+ } | {
185361
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185362
+ deviceId: string;
185363
+ requestId: string;
185364
+ } | {
185365
+ kind: "support";
185366
+ requestId: string;
185367
+ };
185368
+ };
185369
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185370
+ currentRevision?: string | undefined;
185371
+ retryAfterSeconds?: number | undefined;
185372
+ }, unknown>>;
185373
+ };
185374
+ readonly conflict: {
185375
+ readonly status: 409;
185376
+ readonly data: z$1.ZodType<{
185377
+ traceId: string;
185378
+ recovery: {
185379
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185380
+ } | {
185381
+ action: "read_operation";
185382
+ operation: {
185383
+ kind: "command";
185384
+ serialNumber: string;
185385
+ idempotencyKey: string;
185386
+ } | {
185387
+ kind: "firmware";
185388
+ serialNumber: string;
185389
+ updateId: string;
185390
+ } | {
185391
+ kind: "bluetooth_firmware";
185392
+ deviceId: string;
185393
+ updateId: string;
185394
+ } | {
185395
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185396
+ deviceId: string;
185397
+ requestId: string;
185398
+ } | {
185399
+ kind: "support";
185400
+ requestId: string;
185401
+ };
185402
+ };
185403
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185404
+ currentRevision?: string | undefined;
185405
+ retryAfterSeconds?: number | undefined;
185406
+ }, unknown, z$1.core.$ZodTypeInternals<{
185407
+ traceId: string;
185408
+ recovery: {
185409
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185410
+ } | {
185411
+ action: "read_operation";
185412
+ operation: {
185413
+ kind: "command";
185414
+ serialNumber: string;
185415
+ idempotencyKey: string;
185416
+ } | {
185417
+ kind: "firmware";
185418
+ serialNumber: string;
185419
+ updateId: string;
185420
+ } | {
185421
+ kind: "bluetooth_firmware";
185422
+ deviceId: string;
185423
+ updateId: string;
185424
+ } | {
185425
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185426
+ deviceId: string;
185427
+ requestId: string;
185428
+ } | {
185429
+ kind: "support";
185430
+ requestId: string;
185431
+ };
185432
+ };
185433
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185434
+ currentRevision?: string | undefined;
185435
+ retryAfterSeconds?: number | undefined;
185436
+ }, unknown>>;
185437
+ };
185438
+ readonly rate_limited: {
185439
+ readonly status: 429;
185440
+ readonly data: z$1.ZodType<{
185441
+ traceId: string;
185442
+ recovery: {
185443
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185444
+ } | {
185445
+ action: "read_operation";
185446
+ operation: {
185447
+ kind: "command";
185448
+ serialNumber: string;
185449
+ idempotencyKey: string;
185450
+ } | {
185451
+ kind: "firmware";
185452
+ serialNumber: string;
185453
+ updateId: string;
185454
+ } | {
185455
+ kind: "bluetooth_firmware";
185456
+ deviceId: string;
185457
+ updateId: string;
185458
+ } | {
185459
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185460
+ deviceId: string;
185461
+ requestId: string;
185462
+ } | {
185463
+ kind: "support";
185464
+ requestId: string;
185465
+ };
185466
+ };
185467
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185468
+ currentRevision?: string | undefined;
185469
+ retryAfterSeconds?: number | undefined;
185470
+ }, unknown, z$1.core.$ZodTypeInternals<{
185471
+ traceId: string;
185472
+ recovery: {
185473
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185474
+ } | {
185475
+ action: "read_operation";
185476
+ operation: {
185477
+ kind: "command";
185478
+ serialNumber: string;
185479
+ idempotencyKey: string;
185480
+ } | {
185481
+ kind: "firmware";
185482
+ serialNumber: string;
185483
+ updateId: string;
185484
+ } | {
185485
+ kind: "bluetooth_firmware";
185486
+ deviceId: string;
185487
+ updateId: string;
185488
+ } | {
185489
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185490
+ deviceId: string;
185491
+ requestId: string;
185492
+ } | {
185493
+ kind: "support";
185494
+ requestId: string;
185495
+ };
185496
+ };
185497
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185498
+ currentRevision?: string | undefined;
185499
+ retryAfterSeconds?: number | undefined;
185500
+ }, unknown>>;
185501
+ };
185502
+ readonly stored_data_invalid: {
185503
+ readonly status: 503;
185504
+ readonly data: z$1.ZodType<{
185505
+ traceId: string;
185506
+ recovery: {
185507
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185508
+ } | {
185509
+ action: "read_operation";
185510
+ operation: {
185511
+ kind: "command";
185512
+ serialNumber: string;
185513
+ idempotencyKey: string;
185514
+ } | {
185515
+ kind: "firmware";
185516
+ serialNumber: string;
185517
+ updateId: string;
185518
+ } | {
185519
+ kind: "bluetooth_firmware";
185520
+ deviceId: string;
185521
+ updateId: string;
185522
+ } | {
185523
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185524
+ deviceId: string;
185525
+ requestId: string;
185526
+ } | {
185527
+ kind: "support";
185528
+ requestId: string;
185529
+ };
185530
+ };
185531
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185532
+ currentRevision?: string | undefined;
185533
+ retryAfterSeconds?: number | undefined;
185534
+ }, unknown, z$1.core.$ZodTypeInternals<{
185535
+ traceId: string;
185536
+ recovery: {
185537
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185538
+ } | {
185539
+ action: "read_operation";
185540
+ operation: {
185541
+ kind: "command";
185542
+ serialNumber: string;
185543
+ idempotencyKey: string;
185544
+ } | {
185545
+ kind: "firmware";
185546
+ serialNumber: string;
185547
+ updateId: string;
185548
+ } | {
185549
+ kind: "bluetooth_firmware";
185550
+ deviceId: string;
185551
+ updateId: string;
185552
+ } | {
185553
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185554
+ deviceId: string;
185555
+ requestId: string;
185556
+ } | {
185557
+ kind: "support";
185558
+ requestId: string;
185559
+ };
185560
+ };
185561
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185562
+ currentRevision?: string | undefined;
185563
+ retryAfterSeconds?: number | undefined;
185564
+ }, unknown>>;
185565
+ };
185566
+ readonly service_unavailable: {
185567
+ readonly status: 503;
185568
+ readonly data: z$1.ZodType<{
185569
+ traceId: string;
185570
+ recovery: {
185571
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185572
+ } | {
185573
+ action: "read_operation";
185574
+ operation: {
185575
+ kind: "command";
185576
+ serialNumber: string;
185577
+ idempotencyKey: string;
185578
+ } | {
185579
+ kind: "firmware";
185580
+ serialNumber: string;
185581
+ updateId: string;
185582
+ } | {
185583
+ kind: "bluetooth_firmware";
185584
+ deviceId: string;
185585
+ updateId: string;
185586
+ } | {
185587
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185588
+ deviceId: string;
185589
+ requestId: string;
185590
+ } | {
185591
+ kind: "support";
185592
+ requestId: string;
185593
+ };
185594
+ };
185595
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185596
+ currentRevision?: string | undefined;
185597
+ retryAfterSeconds?: number | undefined;
185598
+ }, unknown, z$1.core.$ZodTypeInternals<{
185599
+ traceId: string;
185600
+ recovery: {
185601
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185602
+ } | {
185603
+ action: "read_operation";
185604
+ operation: {
185605
+ kind: "command";
185606
+ serialNumber: string;
185607
+ idempotencyKey: string;
185608
+ } | {
185609
+ kind: "firmware";
185610
+ serialNumber: string;
185611
+ updateId: string;
185612
+ } | {
185613
+ kind: "bluetooth_firmware";
185614
+ deviceId: string;
185615
+ updateId: string;
185616
+ } | {
185617
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185618
+ deviceId: string;
185619
+ requestId: string;
185620
+ } | {
185621
+ kind: "support";
185622
+ requestId: string;
185623
+ };
185624
+ };
185625
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185626
+ currentRevision?: string | undefined;
185627
+ retryAfterSeconds?: number | undefined;
185628
+ }, unknown>>;
185629
+ };
185630
+ readonly read_unavailable: {
185631
+ readonly status: 503;
185632
+ readonly data: z$1.ZodType<{
185633
+ traceId: string;
185634
+ recovery: {
185635
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185636
+ } | {
185637
+ action: "read_operation";
185638
+ operation: {
185639
+ kind: "command";
185640
+ serialNumber: string;
185641
+ idempotencyKey: string;
185642
+ } | {
185643
+ kind: "firmware";
185644
+ serialNumber: string;
185645
+ updateId: string;
185646
+ } | {
185647
+ kind: "bluetooth_firmware";
185648
+ deviceId: string;
185649
+ updateId: string;
185650
+ } | {
185651
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185652
+ deviceId: string;
185653
+ requestId: string;
185654
+ } | {
185655
+ kind: "support";
185656
+ requestId: string;
185657
+ };
185658
+ };
185659
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185660
+ currentRevision?: string | undefined;
185661
+ retryAfterSeconds?: number | undefined;
185662
+ }, unknown, z$1.core.$ZodTypeInternals<{
185663
+ traceId: string;
185664
+ recovery: {
185665
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185666
+ } | {
185667
+ action: "read_operation";
185668
+ operation: {
185669
+ kind: "command";
185670
+ serialNumber: string;
185671
+ idempotencyKey: string;
185672
+ } | {
185673
+ kind: "firmware";
185674
+ serialNumber: string;
185675
+ updateId: string;
185676
+ } | {
185677
+ kind: "bluetooth_firmware";
185678
+ deviceId: string;
185679
+ updateId: string;
185680
+ } | {
185681
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185682
+ deviceId: string;
185683
+ requestId: string;
185684
+ } | {
185685
+ kind: "support";
185686
+ requestId: string;
185687
+ };
185688
+ };
185689
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185690
+ currentRevision?: string | undefined;
185691
+ retryAfterSeconds?: number | undefined;
185692
+ }, unknown>>;
185693
+ };
185694
+ readonly stream_unavailable: {
185695
+ readonly status: 503;
185696
+ readonly data: z$1.ZodType<{
185697
+ traceId: string;
185698
+ recovery: {
185699
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185700
+ } | {
185701
+ action: "read_operation";
185702
+ operation: {
185703
+ kind: "command";
185704
+ serialNumber: string;
185705
+ idempotencyKey: string;
185706
+ } | {
185707
+ kind: "firmware";
185708
+ serialNumber: string;
185709
+ updateId: string;
185710
+ } | {
185711
+ kind: "bluetooth_firmware";
185712
+ deviceId: string;
185713
+ updateId: string;
185714
+ } | {
185715
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185716
+ deviceId: string;
185717
+ requestId: string;
185718
+ } | {
185719
+ kind: "support";
185720
+ requestId: string;
185721
+ };
185722
+ };
185723
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185724
+ currentRevision?: string | undefined;
185725
+ retryAfterSeconds?: number | undefined;
185726
+ }, unknown, z$1.core.$ZodTypeInternals<{
185727
+ traceId: string;
185728
+ recovery: {
185729
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185730
+ } | {
185731
+ action: "read_operation";
185732
+ operation: {
185733
+ kind: "command";
185734
+ serialNumber: string;
185735
+ idempotencyKey: string;
185736
+ } | {
185737
+ kind: "firmware";
185738
+ serialNumber: string;
185739
+ updateId: string;
185740
+ } | {
185741
+ kind: "bluetooth_firmware";
185742
+ deviceId: string;
185743
+ updateId: string;
185744
+ } | {
185745
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185746
+ deviceId: string;
185747
+ requestId: string;
185748
+ } | {
185749
+ kind: "support";
185750
+ requestId: string;
185751
+ };
185752
+ };
185753
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185754
+ currentRevision?: string | undefined;
185755
+ retryAfterSeconds?: number | undefined;
185756
+ }, unknown>>;
185757
+ };
185758
+ readonly payload_too_large: {
185759
+ readonly status: 413;
185760
+ readonly data: z$1.ZodType<{
185761
+ traceId: string;
185762
+ recovery: {
185763
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185764
+ } | {
185765
+ action: "read_operation";
185766
+ operation: {
185767
+ kind: "command";
185768
+ serialNumber: string;
185769
+ idempotencyKey: string;
185770
+ } | {
185771
+ kind: "firmware";
185772
+ serialNumber: string;
185773
+ updateId: string;
185774
+ } | {
185775
+ kind: "bluetooth_firmware";
185776
+ deviceId: string;
185777
+ updateId: string;
185778
+ } | {
185779
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185780
+ deviceId: string;
185781
+ requestId: string;
185782
+ } | {
185783
+ kind: "support";
185784
+ requestId: string;
185785
+ };
185786
+ };
185787
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185788
+ currentRevision?: string | undefined;
185789
+ retryAfterSeconds?: number | undefined;
185790
+ }, unknown, z$1.core.$ZodTypeInternals<{
185791
+ traceId: string;
185792
+ recovery: {
185793
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185794
+ } | {
185795
+ action: "read_operation";
185796
+ operation: {
185797
+ kind: "command";
185798
+ serialNumber: string;
185799
+ idempotencyKey: string;
185800
+ } | {
185801
+ kind: "firmware";
185802
+ serialNumber: string;
185803
+ updateId: string;
185804
+ } | {
185805
+ kind: "bluetooth_firmware";
185806
+ deviceId: string;
185807
+ updateId: string;
185808
+ } | {
185809
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185810
+ deviceId: string;
185811
+ requestId: string;
185812
+ } | {
185813
+ kind: "support";
185814
+ requestId: string;
185815
+ };
185816
+ };
185817
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185818
+ currentRevision?: string | undefined;
185819
+ retryAfterSeconds?: number | undefined;
185820
+ }, unknown>>;
185821
+ };
185822
+ readonly request_timeout: {
185823
+ readonly status: 503;
185824
+ readonly data: z$1.ZodType<{
185825
+ traceId: string;
185826
+ recovery: {
185827
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185828
+ } | {
185829
+ action: "read_operation";
185830
+ operation: {
185831
+ kind: "command";
185832
+ serialNumber: string;
185833
+ idempotencyKey: string;
185834
+ } | {
185835
+ kind: "firmware";
185836
+ serialNumber: string;
185837
+ updateId: string;
185838
+ } | {
185839
+ kind: "bluetooth_firmware";
185840
+ deviceId: string;
185841
+ updateId: string;
185842
+ } | {
185843
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185844
+ deviceId: string;
185845
+ requestId: string;
185846
+ } | {
185847
+ kind: "support";
185848
+ requestId: string;
185849
+ };
185850
+ };
185851
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185852
+ currentRevision?: string | undefined;
185853
+ retryAfterSeconds?: number | undefined;
185854
+ }, unknown, z$1.core.$ZodTypeInternals<{
185855
+ traceId: string;
185856
+ recovery: {
185857
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185858
+ } | {
185859
+ action: "read_operation";
185860
+ operation: {
185861
+ kind: "command";
185862
+ serialNumber: string;
185863
+ idempotencyKey: string;
185864
+ } | {
185865
+ kind: "firmware";
185866
+ serialNumber: string;
185867
+ updateId: string;
185868
+ } | {
185869
+ kind: "bluetooth_firmware";
185870
+ deviceId: string;
185871
+ updateId: string;
185872
+ } | {
185873
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185874
+ deviceId: string;
185875
+ requestId: string;
185876
+ } | {
185877
+ kind: "support";
185878
+ requestId: string;
185879
+ };
185880
+ };
185881
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185882
+ currentRevision?: string | undefined;
185883
+ retryAfterSeconds?: number | undefined;
185884
+ }, unknown>>;
185885
+ };
185886
+ readonly operation_unconfirmed: {
185887
+ readonly status: 503;
185888
+ readonly data: z$1.ZodType<{
185889
+ traceId: string;
185890
+ recovery: {
185891
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185892
+ } | {
185893
+ action: "read_operation";
185894
+ operation: {
185895
+ kind: "command";
185896
+ serialNumber: string;
185897
+ idempotencyKey: string;
185898
+ } | {
185899
+ kind: "firmware";
185900
+ serialNumber: string;
185901
+ updateId: string;
185902
+ } | {
185903
+ kind: "bluetooth_firmware";
185904
+ deviceId: string;
185905
+ updateId: string;
185906
+ } | {
185907
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185908
+ deviceId: string;
185909
+ requestId: string;
185910
+ } | {
185911
+ kind: "support";
185912
+ requestId: string;
185913
+ };
185914
+ };
185915
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185916
+ currentRevision?: string | undefined;
185917
+ retryAfterSeconds?: number | undefined;
185918
+ }, unknown, z$1.core.$ZodTypeInternals<{
185919
+ traceId: string;
185920
+ recovery: {
185921
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185922
+ } | {
185923
+ action: "read_operation";
185924
+ operation: {
185925
+ kind: "command";
185926
+ serialNumber: string;
185927
+ idempotencyKey: string;
185928
+ } | {
185929
+ kind: "firmware";
185930
+ serialNumber: string;
185931
+ updateId: string;
185932
+ } | {
185933
+ kind: "bluetooth_firmware";
185934
+ deviceId: string;
185935
+ updateId: string;
185936
+ } | {
185937
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185938
+ deviceId: string;
185939
+ requestId: string;
185940
+ } | {
185941
+ kind: "support";
185942
+ requestId: string;
185943
+ };
185944
+ };
185945
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185946
+ currentRevision?: string | undefined;
185947
+ retryAfterSeconds?: number | undefined;
185948
+ }, unknown>>;
185949
+ };
185950
+ readonly directory_unavailable: {
185951
+ readonly status: 503;
185952
+ readonly data: z$1.ZodType<{
185953
+ traceId: string;
185954
+ recovery: {
185955
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185956
+ } | {
185957
+ action: "read_operation";
185958
+ operation: {
185959
+ kind: "command";
185960
+ serialNumber: string;
185961
+ idempotencyKey: string;
185962
+ } | {
185963
+ kind: "firmware";
185964
+ serialNumber: string;
185965
+ updateId: string;
185966
+ } | {
185967
+ kind: "bluetooth_firmware";
185968
+ deviceId: string;
185969
+ updateId: string;
185970
+ } | {
185971
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185972
+ deviceId: string;
185973
+ requestId: string;
185974
+ } | {
185975
+ kind: "support";
185976
+ requestId: string;
185977
+ };
185978
+ };
185979
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185980
+ currentRevision?: string | undefined;
185981
+ retryAfterSeconds?: number | undefined;
185982
+ }, unknown, z$1.core.$ZodTypeInternals<{
185983
+ traceId: string;
185984
+ recovery: {
185985
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185986
+ } | {
185987
+ action: "read_operation";
185988
+ operation: {
185989
+ kind: "command";
185990
+ serialNumber: string;
185991
+ idempotencyKey: string;
185992
+ } | {
185993
+ kind: "firmware";
185994
+ serialNumber: string;
185995
+ updateId: string;
185996
+ } | {
185997
+ kind: "bluetooth_firmware";
185998
+ deviceId: string;
185999
+ updateId: string;
186000
+ } | {
186001
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
186002
+ deviceId: string;
186003
+ requestId: string;
186004
+ } | {
186005
+ kind: "support";
186006
+ requestId: string;
186007
+ };
186008
+ };
186009
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
186010
+ currentRevision?: string | undefined;
186011
+ retryAfterSeconds?: number | undefined;
186012
+ }, unknown>>;
186013
+ };
186014
+ }>, Record<never, never>>;
182711
186015
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
182712
186016
  deviceId: z$1.ZodString;
182713
186017
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -190344,6 +193648,9 @@ export declare const staffContract: {
190344
193648
  aws: typeof awsContract;
190345
193649
  };
190346
193650
  export type StaffClient = ContractRouterClient<typeof staffContract>;
193651
+ export type StaffTrackerDetails = z$1.infer<typeof staffTrackerDetails>;
193652
+ export type StaffTrackerMemberPageInput = z$1.output<typeof staffTrackerMemberPageInput>;
193653
+ export type StaffTrackerMemberPage = z$1.infer<typeof staffTrackerMemberPage>;
190347
193654
  export type StaffTracker = z$1.infer<typeof staffTracker>;
190348
193655
  export type StaffTrackerSummary = z$1.infer<typeof staffTrackerSummary>;
190349
193656
  export type StaffTrackerPage = z$1.infer<typeof staffTrackerPage>;
@@ -193568,7 +196875,7 @@ export declare const observationValueSchema: {
193568
196875
  ];
193569
196876
  readonly additionalProperties: false;
193570
196877
  readonly title: "Charging changed";
193571
- readonly description: "One charging transition advances a state view. No second automatic status record is needed for that edge.";
196878
+ readonly description: "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.";
193572
196879
  readonly "x-bf": {
193573
196880
  readonly definitionId: 25;
193574
196881
  readonly role: "event";
@@ -193577,7 +196884,7 @@ export declare const observationValueSchema: {
193577
196884
  readonly requestScoped: false;
193578
196885
  readonly presentation: {
193579
196886
  readonly displayName: "Charging changed";
193580
- readonly description: "One charging transition advances a state view. No second automatic status record is needed for that edge.";
196887
+ readonly description: "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.";
193581
196888
  readonly hiddenByDefault: true;
193582
196889
  readonly formatter: "transition";
193583
196890
  };
@@ -195486,7 +198793,7 @@ export declare const observationValueSchema: {
195486
198793
  ];
195487
198794
  readonly additionalProperties: false;
195488
198795
  readonly title: "Power external power changed";
195489
- readonly description: "External input can change independently of charging; a tracker becoming full does not imply unplugging.";
198796
+ readonly description: "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.";
195490
198797
  readonly "x-bf": {
195491
198798
  readonly definitionId: 136;
195492
198799
  readonly role: "event";
@@ -195495,7 +198802,7 @@ export declare const observationValueSchema: {
195495
198802
  readonly requestScoped: false;
195496
198803
  readonly presentation: {
195497
198804
  readonly displayName: "Power external power changed";
195498
- readonly description: "External input can change independently of charging; a tracker becoming full does not imply unplugging.";
198805
+ readonly description: "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.";
195499
198806
  readonly hiddenByDefault: true;
195500
198807
  readonly formatter: "transition";
195501
198808
  };
@@ -197598,6 +200905,165 @@ export declare const observationValueSchema: {
197598
200905
  };
197599
200906
  };
197600
200907
  };
200908
+ readonly "movement.accelerationChanged": {
200909
+ readonly type: "object";
200910
+ readonly properties: {
200911
+ readonly xMg: {
200912
+ readonly type: "integer";
200913
+ readonly minimum: -4000;
200914
+ readonly maximum: 4000;
200915
+ };
200916
+ readonly yMg: {
200917
+ readonly type: "integer";
200918
+ readonly minimum: -4000;
200919
+ readonly maximum: 4000;
200920
+ };
200921
+ readonly zMg: {
200922
+ readonly type: "integer";
200923
+ readonly minimum: -4000;
200924
+ readonly maximum: 4000;
200925
+ };
200926
+ readonly changedAxes: {
200927
+ readonly type: "integer";
200928
+ readonly minimum: 1;
200929
+ readonly maximum: 7;
200930
+ };
200931
+ };
200932
+ readonly required: readonly [
200933
+ "xMg",
200934
+ "yMg",
200935
+ "zMg",
200936
+ "changedAxes"
200937
+ ];
200938
+ readonly additionalProperties: false;
200939
+ readonly title: "Acceleration changed";
200940
+ readonly description: "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.";
200941
+ readonly "x-bf": {
200942
+ readonly definitionId: 185;
200943
+ readonly role: "event";
200944
+ readonly subject: "device";
200945
+ readonly producer: "device";
200946
+ readonly requestScoped: false;
200947
+ readonly presentation: {
200948
+ readonly displayName: "Acceleration changed";
200949
+ readonly description: "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.";
200950
+ readonly hiddenByDefault: false;
200951
+ readonly formatter: "fields";
200952
+ readonly fields: readonly [
200953
+ {
200954
+ readonly path: "xMg";
200955
+ readonly unit: "mg";
200956
+ },
200957
+ {
200958
+ readonly path: "yMg";
200959
+ readonly unit: "mg";
200960
+ },
200961
+ {
200962
+ readonly path: "zMg";
200963
+ readonly unit: "mg";
200964
+ },
200965
+ {
200966
+ readonly path: "changedAxes";
200967
+ }
200968
+ ];
200969
+ };
200970
+ };
200971
+ };
200972
+ readonly "battery.module.snapshot": {
200973
+ readonly type: "object";
200974
+ readonly properties: {
200975
+ readonly level: {
200976
+ readonly type: "integer";
200977
+ readonly minimum: 0;
200978
+ readonly maximum: 100;
200979
+ };
200980
+ readonly voltageMv: {
200981
+ readonly type: "integer";
200982
+ readonly minimum: 0;
200983
+ readonly maximum: 65535;
200984
+ };
200985
+ readonly currentMa: {
200986
+ readonly type: "number";
200987
+ readonly minimum: -3276.8;
200988
+ readonly maximum: 3276.7;
200989
+ };
200990
+ readonly gaugeTemperatureC: {
200991
+ readonly type: "integer";
200992
+ readonly minimum: -128;
200993
+ readonly maximum: 127;
200994
+ };
200995
+ readonly chargerState: {
200996
+ readonly type: "string";
200997
+ readonly enum: readonly [
200998
+ "ready",
200999
+ "charging",
201000
+ "full",
201001
+ "fault"
201002
+ ];
201003
+ };
201004
+ readonly chargerFault: {
201005
+ readonly type: "integer";
201006
+ readonly minimum: 0;
201007
+ readonly maximum: 7;
201008
+ };
201009
+ };
201010
+ readonly required: readonly [
201011
+ "level",
201012
+ "voltageMv",
201013
+ "currentMa",
201014
+ "gaugeTemperatureC",
201015
+ "chargerState",
201016
+ "chargerFault"
201017
+ ];
201018
+ readonly additionalProperties: false;
201019
+ readonly title: "Battery module snapshot";
201020
+ readonly description: "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.";
201021
+ readonly "x-bf": {
201022
+ readonly definitionId: 186;
201023
+ readonly role: "measurement";
201024
+ readonly subject: "batteryModule";
201025
+ readonly producer: "device";
201026
+ readonly requestScoped: false;
201027
+ readonly presentation: {
201028
+ readonly displayName: "Battery module snapshot";
201029
+ readonly description: "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.";
201030
+ readonly hiddenByDefault: false;
201031
+ readonly formatter: "fields";
201032
+ readonly fields: readonly [
201033
+ {
201034
+ readonly path: "level";
201035
+ readonly label: "Level";
201036
+ readonly unit: "%";
201037
+ },
201038
+ {
201039
+ readonly path: "voltageMv";
201040
+ readonly label: "Voltage";
201041
+ readonly unit: "mV";
201042
+ },
201043
+ {
201044
+ readonly path: "currentMa";
201045
+ readonly label: "Current";
201046
+ readonly unit: "mA";
201047
+ readonly precision: 1;
201048
+ },
201049
+ {
201050
+ readonly path: "gaugeTemperatureC";
201051
+ readonly label: "Gauge temperature";
201052
+ readonly unit: "\u00B0C";
201053
+ },
201054
+ {
201055
+ readonly path: "chargerState";
201056
+ readonly label: "Charger";
201057
+ readonly format: "label";
201058
+ },
201059
+ {
201060
+ readonly path: "chargerFault";
201061
+ readonly label: "Fault";
201062
+ }
201063
+ ];
201064
+ };
201065
+ };
201066
+ };
197601
201067
  };
197602
201068
  };
197603
201069
  export declare const settingsValueSchema: {
@@ -197649,7 +201115,7 @@ export declare const settingsValueSchema: {
197649
201115
  readonly minimum: 1;
197650
201116
  readonly maximum: 255;
197651
201117
  readonly title: "Movement detection count";
197652
- readonly description: "Number of qualifying movement detections required by the configured policy.";
201118
+ readonly description: "Consecutive wake-engine periods above the differential threshold. One period allows a brief tap to wake the tracker.";
197653
201119
  };
197654
201120
  readonly chargingInputCurrentLimit: {
197655
201121
  readonly type: "integer";
@@ -198010,11 +201476,23 @@ export declare const settingsValueSchema: {
198010
201476
  readonly title: "Report interval on battery";
198011
201477
  readonly description: "Interval between periodic status reports while battery power is confirmed. Zero disables periodic reports on battery (the default). Does not control report contents, positioning requests, event reports or local battery safety checks.";
198012
201478
  };
201479
+ readonly accelerationSamplingEnabled: {
201480
+ readonly type: "boolean";
201481
+ readonly title: "Acceleration sampling";
201482
+ readonly description: "Read the three acceleration axes every 100 ms while sensor service is active. Enable only on trackers qualified for the extra current.";
201483
+ };
201484
+ readonly accelerationChangePercent: {
201485
+ readonly type: "integer";
201486
+ readonly minimum: 1;
201487
+ readonly maximum: 100;
201488
+ readonly title: "Acceleration change threshold";
201489
+ readonly description: "Record a change when an axis changes by more than this percentage of its last recorded magnitude, with a 125 mg minimum denominator.";
201490
+ };
198013
201491
  };
198014
201492
  readonly "x-bf": {
198015
201493
  readonly domain: "settings";
198016
201494
  readonly version: 1;
198017
- readonly settingsSchemaVersion: 38;
201495
+ readonly settingsSchemaVersion: 39;
198018
201496
  };
198019
201497
  };
198020
201498
  export declare const observationDefinitions: readonly [
@@ -198469,7 +201947,7 @@ export declare const observationDefinitions: readonly [
198469
201947
  readonly requestScoped: false;
198470
201948
  readonly presentation: {
198471
201949
  readonly displayName: "Charging changed";
198472
- readonly description: "One charging transition advances a state view. No second automatic status record is needed for that edge.";
201950
+ readonly description: "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.";
198473
201951
  readonly hiddenByDefault: true;
198474
201952
  readonly formatter: "transition";
198475
201953
  };
@@ -199362,7 +202840,7 @@ export declare const observationDefinitions: readonly [
199362
202840
  readonly requestScoped: false;
199363
202841
  readonly presentation: {
199364
202842
  readonly displayName: "Power external power changed";
199365
- readonly description: "External input can change independently of charging; a tracker becoming full does not imply unplugging.";
202843
+ readonly description: "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.";
199366
202844
  readonly hiddenByDefault: true;
199367
202845
  readonly formatter: "transition";
199368
202846
  };
@@ -200154,6 +203632,83 @@ export declare const observationDefinitions: readonly [
200154
203632
  readonly description: "Full nRF9160 factory DEVICEID, encoded losslessly as 13 uppercase Crockford Base32 characters. The input bytes are the little-endian DEVICEID[0] word followed by little-endian DEVICEID[1], matching the physical flasher hardware ID. Captured once at startup; distinct from the assigned product serial.";
200155
203633
  readonly hiddenByDefault: false;
200156
203634
  };
203635
+ },
203636
+ {
203637
+ readonly id: 185;
203638
+ readonly name: "movement.accelerationChanged";
203639
+ readonly role: "event";
203640
+ readonly subject: "device";
203641
+ readonly producer: "device";
203642
+ readonly requestScoped: false;
203643
+ readonly presentation: {
203644
+ readonly displayName: "Acceleration changed";
203645
+ readonly description: "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.";
203646
+ readonly hiddenByDefault: false;
203647
+ readonly formatter: "fields";
203648
+ readonly fields: readonly [
203649
+ {
203650
+ readonly path: "xMg";
203651
+ readonly unit: "mg";
203652
+ },
203653
+ {
203654
+ readonly path: "yMg";
203655
+ readonly unit: "mg";
203656
+ },
203657
+ {
203658
+ readonly path: "zMg";
203659
+ readonly unit: "mg";
203660
+ },
203661
+ {
203662
+ readonly path: "changedAxes";
203663
+ }
203664
+ ];
203665
+ };
203666
+ },
203667
+ {
203668
+ readonly id: 186;
203669
+ readonly name: "battery.module.snapshot";
203670
+ readonly role: "measurement";
203671
+ readonly subject: "batteryModule";
203672
+ readonly producer: "device";
203673
+ readonly requestScoped: false;
203674
+ readonly presentation: {
203675
+ readonly displayName: "Battery module snapshot";
203676
+ readonly description: "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.";
203677
+ readonly hiddenByDefault: false;
203678
+ readonly formatter: "fields";
203679
+ readonly fields: readonly [
203680
+ {
203681
+ readonly path: "level";
203682
+ readonly label: "Level";
203683
+ readonly unit: "%";
203684
+ },
203685
+ {
203686
+ readonly path: "voltageMv";
203687
+ readonly label: "Voltage";
203688
+ readonly unit: "mV";
203689
+ },
203690
+ {
203691
+ readonly path: "currentMa";
203692
+ readonly label: "Current";
203693
+ readonly unit: "mA";
203694
+ readonly precision: 1;
203695
+ },
203696
+ {
203697
+ readonly path: "gaugeTemperatureC";
203698
+ readonly label: "Gauge temperature";
203699
+ readonly unit: "\u00B0C";
203700
+ },
203701
+ {
203702
+ readonly path: "chargerState";
203703
+ readonly label: "Charger";
203704
+ readonly format: "label";
203705
+ },
203706
+ {
203707
+ readonly path: "chargerFault";
203708
+ readonly label: "Fault";
203709
+ }
203710
+ ];
203711
+ };
200157
203712
  }
200158
203713
  ];
200159
203714
  declare const zDeviceSettings: z.ZodObject<{
@@ -200243,6 +203798,8 @@ declare const zDeviceSettings: z.ZodObject<{
200243
203798
  }>>;
200244
203799
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
200245
203800
  reportIntervalOnBatterySeconds: z.ZodOptional<z.ZodInt>;
203801
+ accelerationSamplingEnabled: z.ZodOptional<z.ZodBoolean>;
203802
+ accelerationChangePercent: z.ZodOptional<z.ZodInt>;
200246
203803
  }, z.core.$strict>;
200247
203804
  export type MetricName = (typeof observationDefinitions)[number]["name"];
200248
203805
  export type ObservationFact = {