@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/README.md +9 -2
- package/dist/{chunk-TXAMHEXI.js → chunk-2RDQSYD5.js} +328 -4
- package/dist/index.d.ts +3569 -12
- package/dist/index.js +257 -9
- package/dist/schemas.d.ts +3313 -4
- package/dist/schemas.js +9 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -706,6 +706,115 @@ export declare const tracker: z$1.ZodObject<{
|
|
|
706
706
|
createdAt: z$1.ZodISODateTime;
|
|
707
707
|
updatedAt: z$1.ZodISODateTime;
|
|
708
708
|
}, z$1.core.$strip>;
|
|
709
|
+
export declare const customerTrackerDetails: z$1.ZodObject<{
|
|
710
|
+
id: z$1.ZodString;
|
|
711
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
712
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
713
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
714
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
715
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
716
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
717
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
718
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
719
|
+
}, z$1.core.$strip>>;
|
|
720
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
721
|
+
z$1.ZodObject<{
|
|
722
|
+
id: z$1.ZodString;
|
|
723
|
+
activity: z$1.ZodEnum<{
|
|
724
|
+
unknown: "unknown";
|
|
725
|
+
active: "active";
|
|
726
|
+
inactive: "inactive";
|
|
727
|
+
}>;
|
|
728
|
+
isDemo: z$1.ZodBoolean;
|
|
729
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
730
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
731
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
732
|
+
state: z$1.ZodLiteral<"available">;
|
|
733
|
+
}, z$1.core.$strip>,
|
|
734
|
+
z$1.ZodObject<{
|
|
735
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
736
|
+
reason: z$1.ZodEnum<{
|
|
737
|
+
invalid: "invalid";
|
|
738
|
+
not_observed: "not_observed";
|
|
739
|
+
not_assigned: "not_assigned";
|
|
740
|
+
}>;
|
|
741
|
+
}, z$1.core.$strip>
|
|
742
|
+
], "state">;
|
|
743
|
+
createdAt: z$1.ZodISODateTime;
|
|
744
|
+
revision: z$1.ZodString;
|
|
745
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
746
|
+
z$1.ZodObject<{
|
|
747
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
748
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
749
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
750
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
751
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
752
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
753
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
754
|
+
}, z$1.core.$strip>>;
|
|
755
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
756
|
+
state: z$1.ZodLiteral<"available">;
|
|
757
|
+
}, z$1.core.$strip>,
|
|
758
|
+
z$1.ZodObject<{
|
|
759
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
760
|
+
reason: z$1.ZodEnum<{
|
|
761
|
+
invalid: "invalid";
|
|
762
|
+
not_observed: "not_observed";
|
|
763
|
+
not_assigned: "not_assigned";
|
|
764
|
+
}>;
|
|
765
|
+
}, z$1.core.$strip>
|
|
766
|
+
], "state">;
|
|
767
|
+
identity: z$1.ZodNullable<z$1.ZodObject<{
|
|
768
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
769
|
+
}, z$1.core.$strip>>;
|
|
770
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
771
|
+
bike: z$1.ZodObject<{
|
|
772
|
+
revision: z$1.ZodString;
|
|
773
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
774
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
775
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
776
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
777
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
778
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
779
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
780
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
781
|
+
}, z$1.core.$strip>;
|
|
782
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
783
|
+
z$1.ZodObject<{
|
|
784
|
+
latitude: z$1.ZodNumber;
|
|
785
|
+
longitude: z$1.ZodNumber;
|
|
786
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
787
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
788
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
789
|
+
state: z$1.ZodLiteral<"available">;
|
|
790
|
+
}, z$1.core.$strip>,
|
|
791
|
+
z$1.ZodObject<{
|
|
792
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
793
|
+
reason: z$1.ZodEnum<{
|
|
794
|
+
invalid: "invalid";
|
|
795
|
+
not_observed: "not_observed";
|
|
796
|
+
not_assigned: "not_assigned";
|
|
797
|
+
}>;
|
|
798
|
+
}, z$1.core.$strip>
|
|
799
|
+
], "state">;
|
|
800
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
801
|
+
path: z$1.ZodString;
|
|
802
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
803
|
+
}, z$1.core.$strip>>;
|
|
804
|
+
updatedAt: z$1.ZodISODateTime;
|
|
805
|
+
preferences: z$1.ZodObject<{
|
|
806
|
+
movementAlerts: z$1.ZodBoolean;
|
|
807
|
+
}, z$1.core.$strip>;
|
|
808
|
+
capabilities: z$1.ZodObject<{
|
|
809
|
+
firmwareUpdates: z$1.ZodBoolean;
|
|
810
|
+
factoryResetReports: z$1.ZodBoolean;
|
|
811
|
+
}, z$1.core.$strip>;
|
|
812
|
+
membership: z$1.ZodObject<{
|
|
813
|
+
accountId: z$1.ZodString;
|
|
814
|
+
activeMemberCount: z$1.ZodInt;
|
|
815
|
+
}, z$1.core.$strip>;
|
|
816
|
+
}, z$1.core.$strip>;
|
|
817
|
+
export type CustomerTrackerDetails = z$1.infer<typeof customerTrackerDetails>;
|
|
709
818
|
export type Tracker = z$1.infer<typeof tracker>;
|
|
710
819
|
export type TrackerSummary = z$1.infer<typeof trackerSummary>;
|
|
711
820
|
export type TrackerPage = z$1.infer<typeof trackerPage>;
|
|
@@ -8783,6 +8892,36 @@ export type Observation = {
|
|
|
8783
8892
|
type: "device.hardwareId";
|
|
8784
8893
|
subject: null;
|
|
8785
8894
|
value: string;
|
|
8895
|
+
} | {
|
|
8896
|
+
id: ObservationId;
|
|
8897
|
+
serialNumber: string;
|
|
8898
|
+
measuredAt: string;
|
|
8899
|
+
receivedAt: string;
|
|
8900
|
+
requestId: number | null;
|
|
8901
|
+
type: "movement.accelerationChanged";
|
|
8902
|
+
subject: null;
|
|
8903
|
+
value: {
|
|
8904
|
+
xMg: number;
|
|
8905
|
+
yMg: number;
|
|
8906
|
+
zMg: number;
|
|
8907
|
+
changedAxes: number;
|
|
8908
|
+
};
|
|
8909
|
+
} | {
|
|
8910
|
+
id: ObservationId;
|
|
8911
|
+
serialNumber: string;
|
|
8912
|
+
measuredAt: string;
|
|
8913
|
+
receivedAt: string;
|
|
8914
|
+
requestId: number | null;
|
|
8915
|
+
type: "battery.module.snapshot";
|
|
8916
|
+
subject: ModuleSubject;
|
|
8917
|
+
value: {
|
|
8918
|
+
level: number;
|
|
8919
|
+
voltageMv: number;
|
|
8920
|
+
currentMa: number;
|
|
8921
|
+
gaugeTemperatureC: number;
|
|
8922
|
+
chargerState: "ready" | "charging" | "full" | "fault";
|
|
8923
|
+
chargerFault: number;
|
|
8924
|
+
};
|
|
8786
8925
|
};
|
|
8787
8926
|
export type ObservationSeries = {
|
|
8788
8927
|
type: "agnss.completed";
|
|
@@ -9069,6 +9208,12 @@ export type ObservationSeries = {
|
|
|
9069
9208
|
} | {
|
|
9070
9209
|
type: "device.hardwareId";
|
|
9071
9210
|
subject: null;
|
|
9211
|
+
} | {
|
|
9212
|
+
type: "movement.accelerationChanged";
|
|
9213
|
+
subject: null;
|
|
9214
|
+
} | {
|
|
9215
|
+
type: "battery.module.snapshot";
|
|
9216
|
+
subject: ModuleSubject;
|
|
9072
9217
|
};
|
|
9073
9218
|
export declare const observationSeries: z$1.ZodCustom<ObservationSeries, ObservationSeries>;
|
|
9074
9219
|
declare const observationResponse: z$1.ZodType<Observation>;
|
|
@@ -18362,6 +18507,8 @@ declare const awsContract: {
|
|
|
18362
18507
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18363
18508
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18364
18509
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18510
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18511
|
+
accelerationChangePercent?: number | undefined;
|
|
18365
18512
|
};
|
|
18366
18513
|
reported: {
|
|
18367
18514
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -18420,6 +18567,8 @@ declare const awsContract: {
|
|
|
18420
18567
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18421
18568
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18422
18569
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18570
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18571
|
+
accelerationChangePercent?: number | undefined;
|
|
18423
18572
|
};
|
|
18424
18573
|
application: {
|
|
18425
18574
|
settings: {
|
|
@@ -18511,6 +18660,8 @@ declare const awsContract: {
|
|
|
18511
18660
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18512
18661
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18513
18662
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18663
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18664
|
+
accelerationChangePercent?: number | undefined;
|
|
18514
18665
|
};
|
|
18515
18666
|
reported: {
|
|
18516
18667
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -18569,6 +18720,8 @@ declare const awsContract: {
|
|
|
18569
18720
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18570
18721
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18571
18722
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18723
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18724
|
+
accelerationChangePercent?: number | undefined;
|
|
18572
18725
|
};
|
|
18573
18726
|
application: {
|
|
18574
18727
|
settings: {
|
|
@@ -19782,6 +19935,8 @@ declare const awsContract: {
|
|
|
19782
19935
|
}>>;
|
|
19783
19936
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19784
19937
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19938
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
19939
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19785
19940
|
}, import("zod/v4/core").$strip>;
|
|
19786
19941
|
reported: import("zod").ZodObject<{
|
|
19787
19942
|
batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -19870,6 +20025,8 @@ declare const awsContract: {
|
|
|
19870
20025
|
}>>;
|
|
19871
20026
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19872
20027
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
20028
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
20029
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19873
20030
|
}, import("zod/v4/core").$strip>;
|
|
19874
20031
|
application: import("zod").ZodObject<{
|
|
19875
20032
|
settings: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -21092,6 +21249,8 @@ declare const awsContract: {
|
|
|
21092
21249
|
}>>;
|
|
21093
21250
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21094
21251
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21252
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21253
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21095
21254
|
}, import("zod/v4/core").$strict>;
|
|
21096
21255
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
21097
21256
|
version: import("zod").ZodInt;
|
|
@@ -21183,6 +21342,8 @@ declare const awsContract: {
|
|
|
21183
21342
|
}>>;
|
|
21184
21343
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21185
21344
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21345
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21346
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21186
21347
|
}, import("zod/v4/core").$strip>;
|
|
21187
21348
|
reported: import("zod").ZodObject<{
|
|
21188
21349
|
batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -21271,6 +21432,8 @@ declare const awsContract: {
|
|
|
21271
21432
|
}>>;
|
|
21272
21433
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21273
21434
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21435
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21436
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21274
21437
|
}, import("zod/v4/core").$strip>;
|
|
21275
21438
|
application: import("zod").ZodObject<{
|
|
21276
21439
|
settings: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -25214,6 +25377,8 @@ declare const awsContract: {
|
|
|
25214
25377
|
"outbox.status": "outbox.status";
|
|
25215
25378
|
"power.statistics": "power.statistics";
|
|
25216
25379
|
"device.hardwareId": "device.hardwareId";
|
|
25380
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
25381
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
25217
25382
|
}>;
|
|
25218
25383
|
subject: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
25219
25384
|
}, import("zod/v4/core").$strict>>>;
|
|
@@ -59289,6 +59454,131 @@ export declare const staffTracker: z$1.ZodObject<{
|
|
|
59289
59454
|
createdAt: z$1.ZodISODateTime;
|
|
59290
59455
|
updatedAt: z$1.ZodISODateTime;
|
|
59291
59456
|
}, z$1.core.$strip>;
|
|
59457
|
+
export declare const staffTrackerDetails: z$1.ZodObject<{
|
|
59458
|
+
id: z$1.ZodString;
|
|
59459
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
59460
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
59461
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
59462
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
59463
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
59464
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
59465
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
59466
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
59467
|
+
}, z$1.core.$strip>>;
|
|
59468
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
59469
|
+
z$1.ZodObject<{
|
|
59470
|
+
id: z$1.ZodString;
|
|
59471
|
+
activity: z$1.ZodEnum<{
|
|
59472
|
+
unknown: "unknown";
|
|
59473
|
+
active: "active";
|
|
59474
|
+
inactive: "inactive";
|
|
59475
|
+
}>;
|
|
59476
|
+
isDemo: z$1.ZodBoolean;
|
|
59477
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
59478
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
59479
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59480
|
+
state: z$1.ZodLiteral<"available">;
|
|
59481
|
+
}, z$1.core.$strip>,
|
|
59482
|
+
z$1.ZodObject<{
|
|
59483
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
59484
|
+
reason: z$1.ZodEnum<{
|
|
59485
|
+
invalid: "invalid";
|
|
59486
|
+
not_observed: "not_observed";
|
|
59487
|
+
not_assigned: "not_assigned";
|
|
59488
|
+
}>;
|
|
59489
|
+
}, z$1.core.$strip>
|
|
59490
|
+
], "state">;
|
|
59491
|
+
createdAt: z$1.ZodISODateTime;
|
|
59492
|
+
revision: z$1.ZodString;
|
|
59493
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
59494
|
+
z$1.ZodObject<{
|
|
59495
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
59496
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
59497
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59498
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59499
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
59500
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59501
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59502
|
+
}, z$1.core.$strip>>;
|
|
59503
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
59504
|
+
state: z$1.ZodLiteral<"available">;
|
|
59505
|
+
}, z$1.core.$strip>,
|
|
59506
|
+
z$1.ZodObject<{
|
|
59507
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
59508
|
+
reason: z$1.ZodEnum<{
|
|
59509
|
+
invalid: "invalid";
|
|
59510
|
+
not_observed: "not_observed";
|
|
59511
|
+
not_assigned: "not_assigned";
|
|
59512
|
+
}>;
|
|
59513
|
+
}, z$1.core.$strip>
|
|
59514
|
+
], "state">;
|
|
59515
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
59516
|
+
bike: z$1.ZodObject<{
|
|
59517
|
+
revision: z$1.ZodString;
|
|
59518
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
59519
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
59520
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
59521
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
59522
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
59523
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
59524
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
59525
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
59526
|
+
}, z$1.core.$strip>;
|
|
59527
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
59528
|
+
z$1.ZodObject<{
|
|
59529
|
+
latitude: z$1.ZodNumber;
|
|
59530
|
+
longitude: z$1.ZodNumber;
|
|
59531
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
59532
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
59533
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59534
|
+
state: z$1.ZodLiteral<"available">;
|
|
59535
|
+
}, z$1.core.$strip>,
|
|
59536
|
+
z$1.ZodObject<{
|
|
59537
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
59538
|
+
reason: z$1.ZodEnum<{
|
|
59539
|
+
invalid: "invalid";
|
|
59540
|
+
not_observed: "not_observed";
|
|
59541
|
+
not_assigned: "not_assigned";
|
|
59542
|
+
}>;
|
|
59543
|
+
}, z$1.core.$strip>
|
|
59544
|
+
], "state">;
|
|
59545
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
59546
|
+
path: z$1.ZodString;
|
|
59547
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
59548
|
+
}, z$1.core.$strip>>;
|
|
59549
|
+
updatedAt: z$1.ZodISODateTime;
|
|
59550
|
+
hardware: z$1.ZodNullable<z$1.ZodObject<{
|
|
59551
|
+
imei: z$1.ZodNullable<z$1.ZodString>;
|
|
59552
|
+
iccid: z$1.ZodNullable<z$1.ZodString>;
|
|
59553
|
+
imsi: z$1.ZodNullable<z$1.ZodString>;
|
|
59554
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
59555
|
+
}, z$1.core.$strip>>;
|
|
59556
|
+
backend: z$1.ZodNullable<z$1.ZodString>;
|
|
59557
|
+
configuration: z$1.ZodNullable<z$1.ZodObject<{
|
|
59558
|
+
movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
59559
|
+
isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
59560
|
+
}, z$1.core.$strip>>;
|
|
59561
|
+
membership: z$1.ZodObject<{
|
|
59562
|
+
revision: z$1.ZodString;
|
|
59563
|
+
memberCount: z$1.ZodInt;
|
|
59564
|
+
}, z$1.core.$strip>;
|
|
59565
|
+
}, z$1.core.$strip>;
|
|
59566
|
+
export declare const staffTrackerMemberPageInput: z$1.ZodObject<{
|
|
59567
|
+
deviceId: z$1.ZodString;
|
|
59568
|
+
revision: z$1.ZodString;
|
|
59569
|
+
after: z$1.ZodOptional<z$1.ZodString>;
|
|
59570
|
+
limit: z$1.ZodDefault<z$1.ZodInt>;
|
|
59571
|
+
}, z$1.core.$strict>;
|
|
59572
|
+
export declare const staffTrackerMemberPage: z$1.ZodObject<{
|
|
59573
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
59574
|
+
active: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
59575
|
+
displayName: z$1.ZodNullable<z$1.ZodString>;
|
|
59576
|
+
listOrder: z$1.ZodNullable<z$1.ZodInt>;
|
|
59577
|
+
joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
59578
|
+
accountId: z$1.ZodString;
|
|
59579
|
+
}, z$1.core.$strip>>;
|
|
59580
|
+
nextAfter: z$1.ZodNullable<z$1.ZodString>;
|
|
59581
|
+
}, z$1.core.$strip>;
|
|
59292
59582
|
export declare const staffSubscription: z$1.ZodObject<{
|
|
59293
59583
|
accountId: z$1.ZodNullable<z$1.ZodString>;
|
|
59294
59584
|
name: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -84984,6 +85274,8 @@ export declare const observationHistoryInput: z$1.ZodObject<{
|
|
|
84984
85274
|
"outbox.status": "outbox.status";
|
|
84985
85275
|
"power.statistics": "power.statistics";
|
|
84986
85276
|
"device.hardwareId": "device.hardwareId";
|
|
85277
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
85278
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
84987
85279
|
}>;
|
|
84988
85280
|
subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
84989
85281
|
}, z$1.core.$strict>>>;
|
|
@@ -87815,6 +88107,8 @@ export declare const staffObservationContract: {
|
|
|
87815
88107
|
"outbox.status": "outbox.status";
|
|
87816
88108
|
"power.statistics": "power.statistics";
|
|
87817
88109
|
"device.hardwareId": "device.hardwareId";
|
|
88110
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
88111
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
87818
88112
|
}>;
|
|
87819
88113
|
subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
87820
88114
|
}, z$1.core.$strict>>>;
|
|
@@ -89737,6 +90031,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
|
|
|
89737
90031
|
}>>;
|
|
89738
90032
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
89739
90033
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90034
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90035
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
89740
90036
|
}, z$1.core.$strip>;
|
|
89741
90037
|
reported: z$1.ZodObject<{
|
|
89742
90038
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -89825,6 +90121,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
|
|
|
89825
90121
|
}>>;
|
|
89826
90122
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
89827
90123
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90124
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90125
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
89828
90126
|
}, z$1.core.$strip>;
|
|
89829
90127
|
application: z$1.ZodObject<{
|
|
89830
90128
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -89961,6 +90259,8 @@ export declare const settingsUpdateInput: z$1.ZodObject<{
|
|
|
89961
90259
|
}>>;
|
|
89962
90260
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
89963
90261
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90262
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90263
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
89964
90264
|
}, z$1.core.$strict>;
|
|
89965
90265
|
}, z$1.core.$strict>;
|
|
89966
90266
|
export declare const settingsErrors: {
|
|
@@ -91116,6 +91416,8 @@ export declare const staffSettingsContract: {
|
|
|
91116
91416
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91117
91417
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91118
91418
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91419
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91420
|
+
accelerationChangePercent?: number | undefined;
|
|
91119
91421
|
};
|
|
91120
91422
|
reported: {
|
|
91121
91423
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -91174,6 +91476,8 @@ export declare const staffSettingsContract: {
|
|
|
91174
91476
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91175
91477
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91176
91478
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91479
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91480
|
+
accelerationChangePercent?: number | undefined;
|
|
91177
91481
|
};
|
|
91178
91482
|
application: {
|
|
91179
91483
|
settings: {
|
|
@@ -91265,6 +91569,8 @@ export declare const staffSettingsContract: {
|
|
|
91265
91569
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91266
91570
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91267
91571
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91572
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91573
|
+
accelerationChangePercent?: number | undefined;
|
|
91268
91574
|
};
|
|
91269
91575
|
reported: {
|
|
91270
91576
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -91323,6 +91629,8 @@ export declare const staffSettingsContract: {
|
|
|
91323
91629
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91324
91630
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91325
91631
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91632
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91633
|
+
accelerationChangePercent?: number | undefined;
|
|
91326
91634
|
};
|
|
91327
91635
|
application: {
|
|
91328
91636
|
settings: {
|
|
@@ -92536,6 +92844,8 @@ export declare const staffSettingsContract: {
|
|
|
92536
92844
|
}>>;
|
|
92537
92845
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92538
92846
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92847
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
92848
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
92539
92849
|
}, z$1.core.$strip>;
|
|
92540
92850
|
reported: z$1.ZodObject<{
|
|
92541
92851
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -92624,6 +92934,8 @@ export declare const staffSettingsContract: {
|
|
|
92624
92934
|
}>>;
|
|
92625
92935
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92626
92936
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92937
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
92938
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
92627
92939
|
}, z$1.core.$strip>;
|
|
92628
92940
|
application: z$1.ZodObject<{
|
|
92629
92941
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -93846,6 +94158,8 @@ export declare const staffSettingsContract: {
|
|
|
93846
94158
|
}>>;
|
|
93847
94159
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
93848
94160
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94161
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94162
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
93849
94163
|
}, z$1.core.$strict>;
|
|
93850
94164
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
93851
94165
|
version: z$1.ZodInt;
|
|
@@ -93937,6 +94251,8 @@ export declare const staffSettingsContract: {
|
|
|
93937
94251
|
}>>;
|
|
93938
94252
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
93939
94253
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94254
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94255
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
93940
94256
|
}, z$1.core.$strip>;
|
|
93941
94257
|
reported: z$1.ZodObject<{
|
|
93942
94258
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -94025,6 +94341,8 @@ export declare const staffSettingsContract: {
|
|
|
94025
94341
|
}>>;
|
|
94026
94342
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94027
94343
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94344
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94345
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
94028
94346
|
}, z$1.core.$strip>;
|
|
94029
94347
|
application: z$1.ZodObject<{
|
|
94030
94348
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -151762,11 +152080,923 @@ export type DeviceInput = z$1.infer<typeof deviceInput>;
|
|
|
151762
152080
|
export type DeviceLookupInput = z$1.infer<typeof deviceLookupInput>;
|
|
151763
152081
|
declare const trackerContract: {
|
|
151764
152082
|
members: {
|
|
151765
|
-
|
|
152083
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
151766
152084
|
deviceId: z$1.ZodString;
|
|
151767
|
-
|
|
151768
|
-
|
|
151769
|
-
|
|
152085
|
+
revision: z$1.ZodString;
|
|
152086
|
+
after: z$1.ZodOptional<z$1.ZodString>;
|
|
152087
|
+
limit: z$1.ZodDefault<z$1.ZodInt>;
|
|
152088
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
152089
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
152090
|
+
active: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
152091
|
+
displayName: z$1.ZodNullable<z$1.ZodString>;
|
|
152092
|
+
listOrder: z$1.ZodNullable<z$1.ZodInt>;
|
|
152093
|
+
joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
152094
|
+
accountId: z$1.ZodString;
|
|
152095
|
+
}, z$1.core.$strip>>;
|
|
152096
|
+
nextAfter: z$1.ZodNullable<z$1.ZodString>;
|
|
152097
|
+
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
152098
|
+
readonly invalid: {
|
|
152099
|
+
readonly status: 400;
|
|
152100
|
+
readonly data: z$1.ZodType<{
|
|
152101
|
+
traceId: string;
|
|
152102
|
+
recovery: {
|
|
152103
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152104
|
+
} | {
|
|
152105
|
+
action: "read_operation";
|
|
152106
|
+
operation: {
|
|
152107
|
+
kind: "command";
|
|
152108
|
+
serialNumber: string;
|
|
152109
|
+
idempotencyKey: string;
|
|
152110
|
+
} | {
|
|
152111
|
+
kind: "firmware";
|
|
152112
|
+
serialNumber: string;
|
|
152113
|
+
updateId: string;
|
|
152114
|
+
} | {
|
|
152115
|
+
kind: "bluetooth_firmware";
|
|
152116
|
+
deviceId: string;
|
|
152117
|
+
updateId: string;
|
|
152118
|
+
} | {
|
|
152119
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152120
|
+
deviceId: string;
|
|
152121
|
+
requestId: string;
|
|
152122
|
+
} | {
|
|
152123
|
+
kind: "support";
|
|
152124
|
+
requestId: string;
|
|
152125
|
+
};
|
|
152126
|
+
};
|
|
152127
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152128
|
+
currentRevision?: string | undefined;
|
|
152129
|
+
retryAfterSeconds?: number | undefined;
|
|
152130
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152131
|
+
traceId: string;
|
|
152132
|
+
recovery: {
|
|
152133
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152134
|
+
} | {
|
|
152135
|
+
action: "read_operation";
|
|
152136
|
+
operation: {
|
|
152137
|
+
kind: "command";
|
|
152138
|
+
serialNumber: string;
|
|
152139
|
+
idempotencyKey: string;
|
|
152140
|
+
} | {
|
|
152141
|
+
kind: "firmware";
|
|
152142
|
+
serialNumber: string;
|
|
152143
|
+
updateId: string;
|
|
152144
|
+
} | {
|
|
152145
|
+
kind: "bluetooth_firmware";
|
|
152146
|
+
deviceId: string;
|
|
152147
|
+
updateId: string;
|
|
152148
|
+
} | {
|
|
152149
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152150
|
+
deviceId: string;
|
|
152151
|
+
requestId: string;
|
|
152152
|
+
} | {
|
|
152153
|
+
kind: "support";
|
|
152154
|
+
requestId: string;
|
|
152155
|
+
};
|
|
152156
|
+
};
|
|
152157
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152158
|
+
currentRevision?: string | undefined;
|
|
152159
|
+
retryAfterSeconds?: number | undefined;
|
|
152160
|
+
}, unknown>>;
|
|
152161
|
+
};
|
|
152162
|
+
readonly unauthenticated: {
|
|
152163
|
+
readonly status: 401;
|
|
152164
|
+
readonly data: z$1.ZodType<{
|
|
152165
|
+
traceId: string;
|
|
152166
|
+
recovery: {
|
|
152167
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152168
|
+
} | {
|
|
152169
|
+
action: "read_operation";
|
|
152170
|
+
operation: {
|
|
152171
|
+
kind: "command";
|
|
152172
|
+
serialNumber: string;
|
|
152173
|
+
idempotencyKey: string;
|
|
152174
|
+
} | {
|
|
152175
|
+
kind: "firmware";
|
|
152176
|
+
serialNumber: string;
|
|
152177
|
+
updateId: string;
|
|
152178
|
+
} | {
|
|
152179
|
+
kind: "bluetooth_firmware";
|
|
152180
|
+
deviceId: string;
|
|
152181
|
+
updateId: string;
|
|
152182
|
+
} | {
|
|
152183
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152184
|
+
deviceId: string;
|
|
152185
|
+
requestId: string;
|
|
152186
|
+
} | {
|
|
152187
|
+
kind: "support";
|
|
152188
|
+
requestId: string;
|
|
152189
|
+
};
|
|
152190
|
+
};
|
|
152191
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152192
|
+
currentRevision?: string | undefined;
|
|
152193
|
+
retryAfterSeconds?: number | undefined;
|
|
152194
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152195
|
+
traceId: string;
|
|
152196
|
+
recovery: {
|
|
152197
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152198
|
+
} | {
|
|
152199
|
+
action: "read_operation";
|
|
152200
|
+
operation: {
|
|
152201
|
+
kind: "command";
|
|
152202
|
+
serialNumber: string;
|
|
152203
|
+
idempotencyKey: string;
|
|
152204
|
+
} | {
|
|
152205
|
+
kind: "firmware";
|
|
152206
|
+
serialNumber: string;
|
|
152207
|
+
updateId: string;
|
|
152208
|
+
} | {
|
|
152209
|
+
kind: "bluetooth_firmware";
|
|
152210
|
+
deviceId: string;
|
|
152211
|
+
updateId: string;
|
|
152212
|
+
} | {
|
|
152213
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152214
|
+
deviceId: string;
|
|
152215
|
+
requestId: string;
|
|
152216
|
+
} | {
|
|
152217
|
+
kind: "support";
|
|
152218
|
+
requestId: string;
|
|
152219
|
+
};
|
|
152220
|
+
};
|
|
152221
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152222
|
+
currentRevision?: string | undefined;
|
|
152223
|
+
retryAfterSeconds?: number | undefined;
|
|
152224
|
+
}, unknown>>;
|
|
152225
|
+
};
|
|
152226
|
+
readonly forbidden: {
|
|
152227
|
+
readonly status: 403;
|
|
152228
|
+
readonly data: z$1.ZodType<{
|
|
152229
|
+
traceId: string;
|
|
152230
|
+
recovery: {
|
|
152231
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152232
|
+
} | {
|
|
152233
|
+
action: "read_operation";
|
|
152234
|
+
operation: {
|
|
152235
|
+
kind: "command";
|
|
152236
|
+
serialNumber: string;
|
|
152237
|
+
idempotencyKey: string;
|
|
152238
|
+
} | {
|
|
152239
|
+
kind: "firmware";
|
|
152240
|
+
serialNumber: string;
|
|
152241
|
+
updateId: string;
|
|
152242
|
+
} | {
|
|
152243
|
+
kind: "bluetooth_firmware";
|
|
152244
|
+
deviceId: string;
|
|
152245
|
+
updateId: string;
|
|
152246
|
+
} | {
|
|
152247
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152248
|
+
deviceId: string;
|
|
152249
|
+
requestId: string;
|
|
152250
|
+
} | {
|
|
152251
|
+
kind: "support";
|
|
152252
|
+
requestId: string;
|
|
152253
|
+
};
|
|
152254
|
+
};
|
|
152255
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152256
|
+
currentRevision?: string | undefined;
|
|
152257
|
+
retryAfterSeconds?: number | undefined;
|
|
152258
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152259
|
+
traceId: string;
|
|
152260
|
+
recovery: {
|
|
152261
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152262
|
+
} | {
|
|
152263
|
+
action: "read_operation";
|
|
152264
|
+
operation: {
|
|
152265
|
+
kind: "command";
|
|
152266
|
+
serialNumber: string;
|
|
152267
|
+
idempotencyKey: string;
|
|
152268
|
+
} | {
|
|
152269
|
+
kind: "firmware";
|
|
152270
|
+
serialNumber: string;
|
|
152271
|
+
updateId: string;
|
|
152272
|
+
} | {
|
|
152273
|
+
kind: "bluetooth_firmware";
|
|
152274
|
+
deviceId: string;
|
|
152275
|
+
updateId: string;
|
|
152276
|
+
} | {
|
|
152277
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152278
|
+
deviceId: string;
|
|
152279
|
+
requestId: string;
|
|
152280
|
+
} | {
|
|
152281
|
+
kind: "support";
|
|
152282
|
+
requestId: string;
|
|
152283
|
+
};
|
|
152284
|
+
};
|
|
152285
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152286
|
+
currentRevision?: string | undefined;
|
|
152287
|
+
retryAfterSeconds?: number | undefined;
|
|
152288
|
+
}, unknown>>;
|
|
152289
|
+
};
|
|
152290
|
+
readonly not_found: {
|
|
152291
|
+
readonly status: 404;
|
|
152292
|
+
readonly data: z$1.ZodType<{
|
|
152293
|
+
traceId: string;
|
|
152294
|
+
recovery: {
|
|
152295
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152296
|
+
} | {
|
|
152297
|
+
action: "read_operation";
|
|
152298
|
+
operation: {
|
|
152299
|
+
kind: "command";
|
|
152300
|
+
serialNumber: string;
|
|
152301
|
+
idempotencyKey: string;
|
|
152302
|
+
} | {
|
|
152303
|
+
kind: "firmware";
|
|
152304
|
+
serialNumber: string;
|
|
152305
|
+
updateId: string;
|
|
152306
|
+
} | {
|
|
152307
|
+
kind: "bluetooth_firmware";
|
|
152308
|
+
deviceId: string;
|
|
152309
|
+
updateId: string;
|
|
152310
|
+
} | {
|
|
152311
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152312
|
+
deviceId: string;
|
|
152313
|
+
requestId: string;
|
|
152314
|
+
} | {
|
|
152315
|
+
kind: "support";
|
|
152316
|
+
requestId: string;
|
|
152317
|
+
};
|
|
152318
|
+
};
|
|
152319
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152320
|
+
currentRevision?: string | undefined;
|
|
152321
|
+
retryAfterSeconds?: number | undefined;
|
|
152322
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152323
|
+
traceId: string;
|
|
152324
|
+
recovery: {
|
|
152325
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152326
|
+
} | {
|
|
152327
|
+
action: "read_operation";
|
|
152328
|
+
operation: {
|
|
152329
|
+
kind: "command";
|
|
152330
|
+
serialNumber: string;
|
|
152331
|
+
idempotencyKey: string;
|
|
152332
|
+
} | {
|
|
152333
|
+
kind: "firmware";
|
|
152334
|
+
serialNumber: string;
|
|
152335
|
+
updateId: string;
|
|
152336
|
+
} | {
|
|
152337
|
+
kind: "bluetooth_firmware";
|
|
152338
|
+
deviceId: string;
|
|
152339
|
+
updateId: string;
|
|
152340
|
+
} | {
|
|
152341
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152342
|
+
deviceId: string;
|
|
152343
|
+
requestId: string;
|
|
152344
|
+
} | {
|
|
152345
|
+
kind: "support";
|
|
152346
|
+
requestId: string;
|
|
152347
|
+
};
|
|
152348
|
+
};
|
|
152349
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152350
|
+
currentRevision?: string | undefined;
|
|
152351
|
+
retryAfterSeconds?: number | undefined;
|
|
152352
|
+
}, unknown>>;
|
|
152353
|
+
};
|
|
152354
|
+
readonly conflict: {
|
|
152355
|
+
readonly status: 409;
|
|
152356
|
+
readonly data: z$1.ZodType<{
|
|
152357
|
+
traceId: string;
|
|
152358
|
+
recovery: {
|
|
152359
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152360
|
+
} | {
|
|
152361
|
+
action: "read_operation";
|
|
152362
|
+
operation: {
|
|
152363
|
+
kind: "command";
|
|
152364
|
+
serialNumber: string;
|
|
152365
|
+
idempotencyKey: string;
|
|
152366
|
+
} | {
|
|
152367
|
+
kind: "firmware";
|
|
152368
|
+
serialNumber: string;
|
|
152369
|
+
updateId: string;
|
|
152370
|
+
} | {
|
|
152371
|
+
kind: "bluetooth_firmware";
|
|
152372
|
+
deviceId: string;
|
|
152373
|
+
updateId: string;
|
|
152374
|
+
} | {
|
|
152375
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152376
|
+
deviceId: string;
|
|
152377
|
+
requestId: string;
|
|
152378
|
+
} | {
|
|
152379
|
+
kind: "support";
|
|
152380
|
+
requestId: string;
|
|
152381
|
+
};
|
|
152382
|
+
};
|
|
152383
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152384
|
+
currentRevision?: string | undefined;
|
|
152385
|
+
retryAfterSeconds?: number | undefined;
|
|
152386
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152387
|
+
traceId: string;
|
|
152388
|
+
recovery: {
|
|
152389
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152390
|
+
} | {
|
|
152391
|
+
action: "read_operation";
|
|
152392
|
+
operation: {
|
|
152393
|
+
kind: "command";
|
|
152394
|
+
serialNumber: string;
|
|
152395
|
+
idempotencyKey: string;
|
|
152396
|
+
} | {
|
|
152397
|
+
kind: "firmware";
|
|
152398
|
+
serialNumber: string;
|
|
152399
|
+
updateId: string;
|
|
152400
|
+
} | {
|
|
152401
|
+
kind: "bluetooth_firmware";
|
|
152402
|
+
deviceId: string;
|
|
152403
|
+
updateId: string;
|
|
152404
|
+
} | {
|
|
152405
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152406
|
+
deviceId: string;
|
|
152407
|
+
requestId: string;
|
|
152408
|
+
} | {
|
|
152409
|
+
kind: "support";
|
|
152410
|
+
requestId: string;
|
|
152411
|
+
};
|
|
152412
|
+
};
|
|
152413
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152414
|
+
currentRevision?: string | undefined;
|
|
152415
|
+
retryAfterSeconds?: number | undefined;
|
|
152416
|
+
}, unknown>>;
|
|
152417
|
+
};
|
|
152418
|
+
readonly rate_limited: {
|
|
152419
|
+
readonly status: 429;
|
|
152420
|
+
readonly data: z$1.ZodType<{
|
|
152421
|
+
traceId: string;
|
|
152422
|
+
recovery: {
|
|
152423
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152424
|
+
} | {
|
|
152425
|
+
action: "read_operation";
|
|
152426
|
+
operation: {
|
|
152427
|
+
kind: "command";
|
|
152428
|
+
serialNumber: string;
|
|
152429
|
+
idempotencyKey: string;
|
|
152430
|
+
} | {
|
|
152431
|
+
kind: "firmware";
|
|
152432
|
+
serialNumber: string;
|
|
152433
|
+
updateId: string;
|
|
152434
|
+
} | {
|
|
152435
|
+
kind: "bluetooth_firmware";
|
|
152436
|
+
deviceId: string;
|
|
152437
|
+
updateId: string;
|
|
152438
|
+
} | {
|
|
152439
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152440
|
+
deviceId: string;
|
|
152441
|
+
requestId: string;
|
|
152442
|
+
} | {
|
|
152443
|
+
kind: "support";
|
|
152444
|
+
requestId: string;
|
|
152445
|
+
};
|
|
152446
|
+
};
|
|
152447
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152448
|
+
currentRevision?: string | undefined;
|
|
152449
|
+
retryAfterSeconds?: number | undefined;
|
|
152450
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152451
|
+
traceId: string;
|
|
152452
|
+
recovery: {
|
|
152453
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152454
|
+
} | {
|
|
152455
|
+
action: "read_operation";
|
|
152456
|
+
operation: {
|
|
152457
|
+
kind: "command";
|
|
152458
|
+
serialNumber: string;
|
|
152459
|
+
idempotencyKey: string;
|
|
152460
|
+
} | {
|
|
152461
|
+
kind: "firmware";
|
|
152462
|
+
serialNumber: string;
|
|
152463
|
+
updateId: string;
|
|
152464
|
+
} | {
|
|
152465
|
+
kind: "bluetooth_firmware";
|
|
152466
|
+
deviceId: string;
|
|
152467
|
+
updateId: string;
|
|
152468
|
+
} | {
|
|
152469
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152470
|
+
deviceId: string;
|
|
152471
|
+
requestId: string;
|
|
152472
|
+
} | {
|
|
152473
|
+
kind: "support";
|
|
152474
|
+
requestId: string;
|
|
152475
|
+
};
|
|
152476
|
+
};
|
|
152477
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152478
|
+
currentRevision?: string | undefined;
|
|
152479
|
+
retryAfterSeconds?: number | undefined;
|
|
152480
|
+
}, unknown>>;
|
|
152481
|
+
};
|
|
152482
|
+
readonly stored_data_invalid: {
|
|
152483
|
+
readonly status: 503;
|
|
152484
|
+
readonly data: z$1.ZodType<{
|
|
152485
|
+
traceId: string;
|
|
152486
|
+
recovery: {
|
|
152487
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152488
|
+
} | {
|
|
152489
|
+
action: "read_operation";
|
|
152490
|
+
operation: {
|
|
152491
|
+
kind: "command";
|
|
152492
|
+
serialNumber: string;
|
|
152493
|
+
idempotencyKey: string;
|
|
152494
|
+
} | {
|
|
152495
|
+
kind: "firmware";
|
|
152496
|
+
serialNumber: string;
|
|
152497
|
+
updateId: string;
|
|
152498
|
+
} | {
|
|
152499
|
+
kind: "bluetooth_firmware";
|
|
152500
|
+
deviceId: string;
|
|
152501
|
+
updateId: string;
|
|
152502
|
+
} | {
|
|
152503
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152504
|
+
deviceId: string;
|
|
152505
|
+
requestId: string;
|
|
152506
|
+
} | {
|
|
152507
|
+
kind: "support";
|
|
152508
|
+
requestId: string;
|
|
152509
|
+
};
|
|
152510
|
+
};
|
|
152511
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152512
|
+
currentRevision?: string | undefined;
|
|
152513
|
+
retryAfterSeconds?: number | undefined;
|
|
152514
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152515
|
+
traceId: string;
|
|
152516
|
+
recovery: {
|
|
152517
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152518
|
+
} | {
|
|
152519
|
+
action: "read_operation";
|
|
152520
|
+
operation: {
|
|
152521
|
+
kind: "command";
|
|
152522
|
+
serialNumber: string;
|
|
152523
|
+
idempotencyKey: string;
|
|
152524
|
+
} | {
|
|
152525
|
+
kind: "firmware";
|
|
152526
|
+
serialNumber: string;
|
|
152527
|
+
updateId: string;
|
|
152528
|
+
} | {
|
|
152529
|
+
kind: "bluetooth_firmware";
|
|
152530
|
+
deviceId: string;
|
|
152531
|
+
updateId: string;
|
|
152532
|
+
} | {
|
|
152533
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152534
|
+
deviceId: string;
|
|
152535
|
+
requestId: string;
|
|
152536
|
+
} | {
|
|
152537
|
+
kind: "support";
|
|
152538
|
+
requestId: string;
|
|
152539
|
+
};
|
|
152540
|
+
};
|
|
152541
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152542
|
+
currentRevision?: string | undefined;
|
|
152543
|
+
retryAfterSeconds?: number | undefined;
|
|
152544
|
+
}, unknown>>;
|
|
152545
|
+
};
|
|
152546
|
+
readonly service_unavailable: {
|
|
152547
|
+
readonly status: 503;
|
|
152548
|
+
readonly data: z$1.ZodType<{
|
|
152549
|
+
traceId: string;
|
|
152550
|
+
recovery: {
|
|
152551
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152552
|
+
} | {
|
|
152553
|
+
action: "read_operation";
|
|
152554
|
+
operation: {
|
|
152555
|
+
kind: "command";
|
|
152556
|
+
serialNumber: string;
|
|
152557
|
+
idempotencyKey: string;
|
|
152558
|
+
} | {
|
|
152559
|
+
kind: "firmware";
|
|
152560
|
+
serialNumber: string;
|
|
152561
|
+
updateId: string;
|
|
152562
|
+
} | {
|
|
152563
|
+
kind: "bluetooth_firmware";
|
|
152564
|
+
deviceId: string;
|
|
152565
|
+
updateId: string;
|
|
152566
|
+
} | {
|
|
152567
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152568
|
+
deviceId: string;
|
|
152569
|
+
requestId: string;
|
|
152570
|
+
} | {
|
|
152571
|
+
kind: "support";
|
|
152572
|
+
requestId: string;
|
|
152573
|
+
};
|
|
152574
|
+
};
|
|
152575
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152576
|
+
currentRevision?: string | undefined;
|
|
152577
|
+
retryAfterSeconds?: number | undefined;
|
|
152578
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152579
|
+
traceId: string;
|
|
152580
|
+
recovery: {
|
|
152581
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152582
|
+
} | {
|
|
152583
|
+
action: "read_operation";
|
|
152584
|
+
operation: {
|
|
152585
|
+
kind: "command";
|
|
152586
|
+
serialNumber: string;
|
|
152587
|
+
idempotencyKey: string;
|
|
152588
|
+
} | {
|
|
152589
|
+
kind: "firmware";
|
|
152590
|
+
serialNumber: string;
|
|
152591
|
+
updateId: string;
|
|
152592
|
+
} | {
|
|
152593
|
+
kind: "bluetooth_firmware";
|
|
152594
|
+
deviceId: string;
|
|
152595
|
+
updateId: string;
|
|
152596
|
+
} | {
|
|
152597
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152598
|
+
deviceId: string;
|
|
152599
|
+
requestId: string;
|
|
152600
|
+
} | {
|
|
152601
|
+
kind: "support";
|
|
152602
|
+
requestId: string;
|
|
152603
|
+
};
|
|
152604
|
+
};
|
|
152605
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152606
|
+
currentRevision?: string | undefined;
|
|
152607
|
+
retryAfterSeconds?: number | undefined;
|
|
152608
|
+
}, unknown>>;
|
|
152609
|
+
};
|
|
152610
|
+
readonly read_unavailable: {
|
|
152611
|
+
readonly status: 503;
|
|
152612
|
+
readonly data: z$1.ZodType<{
|
|
152613
|
+
traceId: string;
|
|
152614
|
+
recovery: {
|
|
152615
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152616
|
+
} | {
|
|
152617
|
+
action: "read_operation";
|
|
152618
|
+
operation: {
|
|
152619
|
+
kind: "command";
|
|
152620
|
+
serialNumber: string;
|
|
152621
|
+
idempotencyKey: string;
|
|
152622
|
+
} | {
|
|
152623
|
+
kind: "firmware";
|
|
152624
|
+
serialNumber: string;
|
|
152625
|
+
updateId: string;
|
|
152626
|
+
} | {
|
|
152627
|
+
kind: "bluetooth_firmware";
|
|
152628
|
+
deviceId: string;
|
|
152629
|
+
updateId: string;
|
|
152630
|
+
} | {
|
|
152631
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152632
|
+
deviceId: string;
|
|
152633
|
+
requestId: string;
|
|
152634
|
+
} | {
|
|
152635
|
+
kind: "support";
|
|
152636
|
+
requestId: string;
|
|
152637
|
+
};
|
|
152638
|
+
};
|
|
152639
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152640
|
+
currentRevision?: string | undefined;
|
|
152641
|
+
retryAfterSeconds?: number | undefined;
|
|
152642
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152643
|
+
traceId: string;
|
|
152644
|
+
recovery: {
|
|
152645
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152646
|
+
} | {
|
|
152647
|
+
action: "read_operation";
|
|
152648
|
+
operation: {
|
|
152649
|
+
kind: "command";
|
|
152650
|
+
serialNumber: string;
|
|
152651
|
+
idempotencyKey: string;
|
|
152652
|
+
} | {
|
|
152653
|
+
kind: "firmware";
|
|
152654
|
+
serialNumber: string;
|
|
152655
|
+
updateId: string;
|
|
152656
|
+
} | {
|
|
152657
|
+
kind: "bluetooth_firmware";
|
|
152658
|
+
deviceId: string;
|
|
152659
|
+
updateId: string;
|
|
152660
|
+
} | {
|
|
152661
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152662
|
+
deviceId: string;
|
|
152663
|
+
requestId: string;
|
|
152664
|
+
} | {
|
|
152665
|
+
kind: "support";
|
|
152666
|
+
requestId: string;
|
|
152667
|
+
};
|
|
152668
|
+
};
|
|
152669
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152670
|
+
currentRevision?: string | undefined;
|
|
152671
|
+
retryAfterSeconds?: number | undefined;
|
|
152672
|
+
}, unknown>>;
|
|
152673
|
+
};
|
|
152674
|
+
readonly stream_unavailable: {
|
|
152675
|
+
readonly status: 503;
|
|
152676
|
+
readonly data: z$1.ZodType<{
|
|
152677
|
+
traceId: string;
|
|
152678
|
+
recovery: {
|
|
152679
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152680
|
+
} | {
|
|
152681
|
+
action: "read_operation";
|
|
152682
|
+
operation: {
|
|
152683
|
+
kind: "command";
|
|
152684
|
+
serialNumber: string;
|
|
152685
|
+
idempotencyKey: string;
|
|
152686
|
+
} | {
|
|
152687
|
+
kind: "firmware";
|
|
152688
|
+
serialNumber: string;
|
|
152689
|
+
updateId: string;
|
|
152690
|
+
} | {
|
|
152691
|
+
kind: "bluetooth_firmware";
|
|
152692
|
+
deviceId: string;
|
|
152693
|
+
updateId: string;
|
|
152694
|
+
} | {
|
|
152695
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152696
|
+
deviceId: string;
|
|
152697
|
+
requestId: string;
|
|
152698
|
+
} | {
|
|
152699
|
+
kind: "support";
|
|
152700
|
+
requestId: string;
|
|
152701
|
+
};
|
|
152702
|
+
};
|
|
152703
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152704
|
+
currentRevision?: string | undefined;
|
|
152705
|
+
retryAfterSeconds?: number | undefined;
|
|
152706
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152707
|
+
traceId: string;
|
|
152708
|
+
recovery: {
|
|
152709
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152710
|
+
} | {
|
|
152711
|
+
action: "read_operation";
|
|
152712
|
+
operation: {
|
|
152713
|
+
kind: "command";
|
|
152714
|
+
serialNumber: string;
|
|
152715
|
+
idempotencyKey: string;
|
|
152716
|
+
} | {
|
|
152717
|
+
kind: "firmware";
|
|
152718
|
+
serialNumber: string;
|
|
152719
|
+
updateId: string;
|
|
152720
|
+
} | {
|
|
152721
|
+
kind: "bluetooth_firmware";
|
|
152722
|
+
deviceId: string;
|
|
152723
|
+
updateId: string;
|
|
152724
|
+
} | {
|
|
152725
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152726
|
+
deviceId: string;
|
|
152727
|
+
requestId: string;
|
|
152728
|
+
} | {
|
|
152729
|
+
kind: "support";
|
|
152730
|
+
requestId: string;
|
|
152731
|
+
};
|
|
152732
|
+
};
|
|
152733
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152734
|
+
currentRevision?: string | undefined;
|
|
152735
|
+
retryAfterSeconds?: number | undefined;
|
|
152736
|
+
}, unknown>>;
|
|
152737
|
+
};
|
|
152738
|
+
readonly payload_too_large: {
|
|
152739
|
+
readonly status: 413;
|
|
152740
|
+
readonly data: z$1.ZodType<{
|
|
152741
|
+
traceId: string;
|
|
152742
|
+
recovery: {
|
|
152743
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152744
|
+
} | {
|
|
152745
|
+
action: "read_operation";
|
|
152746
|
+
operation: {
|
|
152747
|
+
kind: "command";
|
|
152748
|
+
serialNumber: string;
|
|
152749
|
+
idempotencyKey: string;
|
|
152750
|
+
} | {
|
|
152751
|
+
kind: "firmware";
|
|
152752
|
+
serialNumber: string;
|
|
152753
|
+
updateId: string;
|
|
152754
|
+
} | {
|
|
152755
|
+
kind: "bluetooth_firmware";
|
|
152756
|
+
deviceId: string;
|
|
152757
|
+
updateId: string;
|
|
152758
|
+
} | {
|
|
152759
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152760
|
+
deviceId: string;
|
|
152761
|
+
requestId: string;
|
|
152762
|
+
} | {
|
|
152763
|
+
kind: "support";
|
|
152764
|
+
requestId: string;
|
|
152765
|
+
};
|
|
152766
|
+
};
|
|
152767
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152768
|
+
currentRevision?: string | undefined;
|
|
152769
|
+
retryAfterSeconds?: number | undefined;
|
|
152770
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152771
|
+
traceId: string;
|
|
152772
|
+
recovery: {
|
|
152773
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152774
|
+
} | {
|
|
152775
|
+
action: "read_operation";
|
|
152776
|
+
operation: {
|
|
152777
|
+
kind: "command";
|
|
152778
|
+
serialNumber: string;
|
|
152779
|
+
idempotencyKey: string;
|
|
152780
|
+
} | {
|
|
152781
|
+
kind: "firmware";
|
|
152782
|
+
serialNumber: string;
|
|
152783
|
+
updateId: string;
|
|
152784
|
+
} | {
|
|
152785
|
+
kind: "bluetooth_firmware";
|
|
152786
|
+
deviceId: string;
|
|
152787
|
+
updateId: string;
|
|
152788
|
+
} | {
|
|
152789
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152790
|
+
deviceId: string;
|
|
152791
|
+
requestId: string;
|
|
152792
|
+
} | {
|
|
152793
|
+
kind: "support";
|
|
152794
|
+
requestId: string;
|
|
152795
|
+
};
|
|
152796
|
+
};
|
|
152797
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152798
|
+
currentRevision?: string | undefined;
|
|
152799
|
+
retryAfterSeconds?: number | undefined;
|
|
152800
|
+
}, unknown>>;
|
|
152801
|
+
};
|
|
152802
|
+
readonly request_timeout: {
|
|
152803
|
+
readonly status: 503;
|
|
152804
|
+
readonly data: z$1.ZodType<{
|
|
152805
|
+
traceId: string;
|
|
152806
|
+
recovery: {
|
|
152807
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152808
|
+
} | {
|
|
152809
|
+
action: "read_operation";
|
|
152810
|
+
operation: {
|
|
152811
|
+
kind: "command";
|
|
152812
|
+
serialNumber: string;
|
|
152813
|
+
idempotencyKey: string;
|
|
152814
|
+
} | {
|
|
152815
|
+
kind: "firmware";
|
|
152816
|
+
serialNumber: string;
|
|
152817
|
+
updateId: string;
|
|
152818
|
+
} | {
|
|
152819
|
+
kind: "bluetooth_firmware";
|
|
152820
|
+
deviceId: string;
|
|
152821
|
+
updateId: string;
|
|
152822
|
+
} | {
|
|
152823
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152824
|
+
deviceId: string;
|
|
152825
|
+
requestId: string;
|
|
152826
|
+
} | {
|
|
152827
|
+
kind: "support";
|
|
152828
|
+
requestId: string;
|
|
152829
|
+
};
|
|
152830
|
+
};
|
|
152831
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152832
|
+
currentRevision?: string | undefined;
|
|
152833
|
+
retryAfterSeconds?: number | undefined;
|
|
152834
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152835
|
+
traceId: string;
|
|
152836
|
+
recovery: {
|
|
152837
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152838
|
+
} | {
|
|
152839
|
+
action: "read_operation";
|
|
152840
|
+
operation: {
|
|
152841
|
+
kind: "command";
|
|
152842
|
+
serialNumber: string;
|
|
152843
|
+
idempotencyKey: string;
|
|
152844
|
+
} | {
|
|
152845
|
+
kind: "firmware";
|
|
152846
|
+
serialNumber: string;
|
|
152847
|
+
updateId: string;
|
|
152848
|
+
} | {
|
|
152849
|
+
kind: "bluetooth_firmware";
|
|
152850
|
+
deviceId: string;
|
|
152851
|
+
updateId: string;
|
|
152852
|
+
} | {
|
|
152853
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152854
|
+
deviceId: string;
|
|
152855
|
+
requestId: string;
|
|
152856
|
+
} | {
|
|
152857
|
+
kind: "support";
|
|
152858
|
+
requestId: string;
|
|
152859
|
+
};
|
|
152860
|
+
};
|
|
152861
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152862
|
+
currentRevision?: string | undefined;
|
|
152863
|
+
retryAfterSeconds?: number | undefined;
|
|
152864
|
+
}, unknown>>;
|
|
152865
|
+
};
|
|
152866
|
+
readonly operation_unconfirmed: {
|
|
152867
|
+
readonly status: 503;
|
|
152868
|
+
readonly data: z$1.ZodType<{
|
|
152869
|
+
traceId: string;
|
|
152870
|
+
recovery: {
|
|
152871
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152872
|
+
} | {
|
|
152873
|
+
action: "read_operation";
|
|
152874
|
+
operation: {
|
|
152875
|
+
kind: "command";
|
|
152876
|
+
serialNumber: string;
|
|
152877
|
+
idempotencyKey: string;
|
|
152878
|
+
} | {
|
|
152879
|
+
kind: "firmware";
|
|
152880
|
+
serialNumber: string;
|
|
152881
|
+
updateId: string;
|
|
152882
|
+
} | {
|
|
152883
|
+
kind: "bluetooth_firmware";
|
|
152884
|
+
deviceId: string;
|
|
152885
|
+
updateId: string;
|
|
152886
|
+
} | {
|
|
152887
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152888
|
+
deviceId: string;
|
|
152889
|
+
requestId: string;
|
|
152890
|
+
} | {
|
|
152891
|
+
kind: "support";
|
|
152892
|
+
requestId: string;
|
|
152893
|
+
};
|
|
152894
|
+
};
|
|
152895
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152896
|
+
currentRevision?: string | undefined;
|
|
152897
|
+
retryAfterSeconds?: number | undefined;
|
|
152898
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152899
|
+
traceId: string;
|
|
152900
|
+
recovery: {
|
|
152901
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152902
|
+
} | {
|
|
152903
|
+
action: "read_operation";
|
|
152904
|
+
operation: {
|
|
152905
|
+
kind: "command";
|
|
152906
|
+
serialNumber: string;
|
|
152907
|
+
idempotencyKey: string;
|
|
152908
|
+
} | {
|
|
152909
|
+
kind: "firmware";
|
|
152910
|
+
serialNumber: string;
|
|
152911
|
+
updateId: string;
|
|
152912
|
+
} | {
|
|
152913
|
+
kind: "bluetooth_firmware";
|
|
152914
|
+
deviceId: string;
|
|
152915
|
+
updateId: string;
|
|
152916
|
+
} | {
|
|
152917
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152918
|
+
deviceId: string;
|
|
152919
|
+
requestId: string;
|
|
152920
|
+
} | {
|
|
152921
|
+
kind: "support";
|
|
152922
|
+
requestId: string;
|
|
152923
|
+
};
|
|
152924
|
+
};
|
|
152925
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152926
|
+
currentRevision?: string | undefined;
|
|
152927
|
+
retryAfterSeconds?: number | undefined;
|
|
152928
|
+
}, unknown>>;
|
|
152929
|
+
};
|
|
152930
|
+
readonly directory_unavailable: {
|
|
152931
|
+
readonly status: 503;
|
|
152932
|
+
readonly data: z$1.ZodType<{
|
|
152933
|
+
traceId: string;
|
|
152934
|
+
recovery: {
|
|
152935
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152936
|
+
} | {
|
|
152937
|
+
action: "read_operation";
|
|
152938
|
+
operation: {
|
|
152939
|
+
kind: "command";
|
|
152940
|
+
serialNumber: string;
|
|
152941
|
+
idempotencyKey: string;
|
|
152942
|
+
} | {
|
|
152943
|
+
kind: "firmware";
|
|
152944
|
+
serialNumber: string;
|
|
152945
|
+
updateId: string;
|
|
152946
|
+
} | {
|
|
152947
|
+
kind: "bluetooth_firmware";
|
|
152948
|
+
deviceId: string;
|
|
152949
|
+
updateId: string;
|
|
152950
|
+
} | {
|
|
152951
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152952
|
+
deviceId: string;
|
|
152953
|
+
requestId: string;
|
|
152954
|
+
} | {
|
|
152955
|
+
kind: "support";
|
|
152956
|
+
requestId: string;
|
|
152957
|
+
};
|
|
152958
|
+
};
|
|
152959
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152960
|
+
currentRevision?: string | undefined;
|
|
152961
|
+
retryAfterSeconds?: number | undefined;
|
|
152962
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
152963
|
+
traceId: string;
|
|
152964
|
+
recovery: {
|
|
152965
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
152966
|
+
} | {
|
|
152967
|
+
action: "read_operation";
|
|
152968
|
+
operation: {
|
|
152969
|
+
kind: "command";
|
|
152970
|
+
serialNumber: string;
|
|
152971
|
+
idempotencyKey: string;
|
|
152972
|
+
} | {
|
|
152973
|
+
kind: "firmware";
|
|
152974
|
+
serialNumber: string;
|
|
152975
|
+
updateId: string;
|
|
152976
|
+
} | {
|
|
152977
|
+
kind: "bluetooth_firmware";
|
|
152978
|
+
deviceId: string;
|
|
152979
|
+
updateId: string;
|
|
152980
|
+
} | {
|
|
152981
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
152982
|
+
deviceId: string;
|
|
152983
|
+
requestId: string;
|
|
152984
|
+
} | {
|
|
152985
|
+
kind: "support";
|
|
152986
|
+
requestId: string;
|
|
152987
|
+
};
|
|
152988
|
+
};
|
|
152989
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
152990
|
+
currentRevision?: string | undefined;
|
|
152991
|
+
retryAfterSeconds?: number | undefined;
|
|
152992
|
+
}, unknown>>;
|
|
152993
|
+
};
|
|
152994
|
+
}>, Record<never, never>>;
|
|
152995
|
+
add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
152996
|
+
deviceId: z$1.ZodString;
|
|
152997
|
+
memberId: z$1.ZodString;
|
|
152998
|
+
displayName: z$1.ZodString;
|
|
152999
|
+
}, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
151770
153000
|
readonly invalid: {
|
|
151771
153001
|
readonly status: 400;
|
|
151772
153002
|
readonly data: z$1.ZodType<{
|
|
@@ -154583,6 +155813,2080 @@ declare const trackerContract: {
|
|
|
154583
155813
|
}, unknown>>;
|
|
154584
155814
|
};
|
|
154585
155815
|
}>, Record<never, never>>;
|
|
155816
|
+
getDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
155817
|
+
deviceId: z$1.ZodString;
|
|
155818
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
155819
|
+
id: z$1.ZodString;
|
|
155820
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
155821
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
155822
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
155823
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
155824
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
155825
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
155826
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
155827
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
155828
|
+
}, z$1.core.$strip>>;
|
|
155829
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
155830
|
+
z$1.ZodObject<{
|
|
155831
|
+
id: z$1.ZodString;
|
|
155832
|
+
activity: z$1.ZodEnum<{
|
|
155833
|
+
unknown: "unknown";
|
|
155834
|
+
active: "active";
|
|
155835
|
+
inactive: "inactive";
|
|
155836
|
+
}>;
|
|
155837
|
+
isDemo: z$1.ZodBoolean;
|
|
155838
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
155839
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
155840
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155841
|
+
state: z$1.ZodLiteral<"available">;
|
|
155842
|
+
}, z$1.core.$strip>,
|
|
155843
|
+
z$1.ZodObject<{
|
|
155844
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
155845
|
+
reason: z$1.ZodEnum<{
|
|
155846
|
+
invalid: "invalid";
|
|
155847
|
+
not_observed: "not_observed";
|
|
155848
|
+
not_assigned: "not_assigned";
|
|
155849
|
+
}>;
|
|
155850
|
+
}, z$1.core.$strip>
|
|
155851
|
+
], "state">;
|
|
155852
|
+
createdAt: z$1.ZodISODateTime;
|
|
155853
|
+
revision: z$1.ZodString;
|
|
155854
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
155855
|
+
z$1.ZodObject<{
|
|
155856
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
155857
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
155858
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155859
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155860
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
155861
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155862
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155863
|
+
}, z$1.core.$strip>>;
|
|
155864
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
155865
|
+
state: z$1.ZodLiteral<"available">;
|
|
155866
|
+
}, z$1.core.$strip>,
|
|
155867
|
+
z$1.ZodObject<{
|
|
155868
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
155869
|
+
reason: z$1.ZodEnum<{
|
|
155870
|
+
invalid: "invalid";
|
|
155871
|
+
not_observed: "not_observed";
|
|
155872
|
+
not_assigned: "not_assigned";
|
|
155873
|
+
}>;
|
|
155874
|
+
}, z$1.core.$strip>
|
|
155875
|
+
], "state">;
|
|
155876
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
155877
|
+
bike: z$1.ZodObject<{
|
|
155878
|
+
revision: z$1.ZodString;
|
|
155879
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
155880
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
155881
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
155882
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
155883
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
155884
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
155885
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
155886
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
155887
|
+
}, z$1.core.$strip>;
|
|
155888
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
155889
|
+
z$1.ZodObject<{
|
|
155890
|
+
latitude: z$1.ZodNumber;
|
|
155891
|
+
longitude: z$1.ZodNumber;
|
|
155892
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
155893
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
155894
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
155895
|
+
state: z$1.ZodLiteral<"available">;
|
|
155896
|
+
}, z$1.core.$strip>,
|
|
155897
|
+
z$1.ZodObject<{
|
|
155898
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
155899
|
+
reason: z$1.ZodEnum<{
|
|
155900
|
+
invalid: "invalid";
|
|
155901
|
+
not_observed: "not_observed";
|
|
155902
|
+
not_assigned: "not_assigned";
|
|
155903
|
+
}>;
|
|
155904
|
+
}, z$1.core.$strip>
|
|
155905
|
+
], "state">;
|
|
155906
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
155907
|
+
path: z$1.ZodString;
|
|
155908
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
155909
|
+
}, z$1.core.$strip>>;
|
|
155910
|
+
updatedAt: z$1.ZodISODateTime;
|
|
155911
|
+
hardware: z$1.ZodNullable<z$1.ZodObject<{
|
|
155912
|
+
imei: z$1.ZodNullable<z$1.ZodString>;
|
|
155913
|
+
iccid: z$1.ZodNullable<z$1.ZodString>;
|
|
155914
|
+
imsi: z$1.ZodNullable<z$1.ZodString>;
|
|
155915
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
155916
|
+
}, z$1.core.$strip>>;
|
|
155917
|
+
backend: z$1.ZodNullable<z$1.ZodString>;
|
|
155918
|
+
configuration: z$1.ZodNullable<z$1.ZodObject<{
|
|
155919
|
+
movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
155920
|
+
isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
155921
|
+
}, z$1.core.$strip>>;
|
|
155922
|
+
membership: z$1.ZodObject<{
|
|
155923
|
+
revision: z$1.ZodString;
|
|
155924
|
+
memberCount: z$1.ZodInt;
|
|
155925
|
+
}, z$1.core.$strip>;
|
|
155926
|
+
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
155927
|
+
readonly invalid: {
|
|
155928
|
+
readonly status: 400;
|
|
155929
|
+
readonly data: z$1.ZodType<{
|
|
155930
|
+
traceId: string;
|
|
155931
|
+
recovery: {
|
|
155932
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
155933
|
+
} | {
|
|
155934
|
+
action: "read_operation";
|
|
155935
|
+
operation: {
|
|
155936
|
+
kind: "command";
|
|
155937
|
+
serialNumber: string;
|
|
155938
|
+
idempotencyKey: string;
|
|
155939
|
+
} | {
|
|
155940
|
+
kind: "firmware";
|
|
155941
|
+
serialNumber: string;
|
|
155942
|
+
updateId: string;
|
|
155943
|
+
} | {
|
|
155944
|
+
kind: "bluetooth_firmware";
|
|
155945
|
+
deviceId: string;
|
|
155946
|
+
updateId: string;
|
|
155947
|
+
} | {
|
|
155948
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
155949
|
+
deviceId: string;
|
|
155950
|
+
requestId: string;
|
|
155951
|
+
} | {
|
|
155952
|
+
kind: "support";
|
|
155953
|
+
requestId: string;
|
|
155954
|
+
};
|
|
155955
|
+
};
|
|
155956
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
155957
|
+
currentRevision?: string | undefined;
|
|
155958
|
+
retryAfterSeconds?: number | undefined;
|
|
155959
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
155960
|
+
traceId: string;
|
|
155961
|
+
recovery: {
|
|
155962
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
155963
|
+
} | {
|
|
155964
|
+
action: "read_operation";
|
|
155965
|
+
operation: {
|
|
155966
|
+
kind: "command";
|
|
155967
|
+
serialNumber: string;
|
|
155968
|
+
idempotencyKey: string;
|
|
155969
|
+
} | {
|
|
155970
|
+
kind: "firmware";
|
|
155971
|
+
serialNumber: string;
|
|
155972
|
+
updateId: string;
|
|
155973
|
+
} | {
|
|
155974
|
+
kind: "bluetooth_firmware";
|
|
155975
|
+
deviceId: string;
|
|
155976
|
+
updateId: string;
|
|
155977
|
+
} | {
|
|
155978
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
155979
|
+
deviceId: string;
|
|
155980
|
+
requestId: string;
|
|
155981
|
+
} | {
|
|
155982
|
+
kind: "support";
|
|
155983
|
+
requestId: string;
|
|
155984
|
+
};
|
|
155985
|
+
};
|
|
155986
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
155987
|
+
currentRevision?: string | undefined;
|
|
155988
|
+
retryAfterSeconds?: number | undefined;
|
|
155989
|
+
}, unknown>>;
|
|
155990
|
+
};
|
|
155991
|
+
readonly unauthenticated: {
|
|
155992
|
+
readonly status: 401;
|
|
155993
|
+
readonly data: z$1.ZodType<{
|
|
155994
|
+
traceId: string;
|
|
155995
|
+
recovery: {
|
|
155996
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
155997
|
+
} | {
|
|
155998
|
+
action: "read_operation";
|
|
155999
|
+
operation: {
|
|
156000
|
+
kind: "command";
|
|
156001
|
+
serialNumber: string;
|
|
156002
|
+
idempotencyKey: string;
|
|
156003
|
+
} | {
|
|
156004
|
+
kind: "firmware";
|
|
156005
|
+
serialNumber: string;
|
|
156006
|
+
updateId: string;
|
|
156007
|
+
} | {
|
|
156008
|
+
kind: "bluetooth_firmware";
|
|
156009
|
+
deviceId: string;
|
|
156010
|
+
updateId: string;
|
|
156011
|
+
} | {
|
|
156012
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156013
|
+
deviceId: string;
|
|
156014
|
+
requestId: string;
|
|
156015
|
+
} | {
|
|
156016
|
+
kind: "support";
|
|
156017
|
+
requestId: string;
|
|
156018
|
+
};
|
|
156019
|
+
};
|
|
156020
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156021
|
+
currentRevision?: string | undefined;
|
|
156022
|
+
retryAfterSeconds?: number | undefined;
|
|
156023
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156024
|
+
traceId: string;
|
|
156025
|
+
recovery: {
|
|
156026
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156027
|
+
} | {
|
|
156028
|
+
action: "read_operation";
|
|
156029
|
+
operation: {
|
|
156030
|
+
kind: "command";
|
|
156031
|
+
serialNumber: string;
|
|
156032
|
+
idempotencyKey: string;
|
|
156033
|
+
} | {
|
|
156034
|
+
kind: "firmware";
|
|
156035
|
+
serialNumber: string;
|
|
156036
|
+
updateId: string;
|
|
156037
|
+
} | {
|
|
156038
|
+
kind: "bluetooth_firmware";
|
|
156039
|
+
deviceId: string;
|
|
156040
|
+
updateId: string;
|
|
156041
|
+
} | {
|
|
156042
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156043
|
+
deviceId: string;
|
|
156044
|
+
requestId: string;
|
|
156045
|
+
} | {
|
|
156046
|
+
kind: "support";
|
|
156047
|
+
requestId: string;
|
|
156048
|
+
};
|
|
156049
|
+
};
|
|
156050
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156051
|
+
currentRevision?: string | undefined;
|
|
156052
|
+
retryAfterSeconds?: number | undefined;
|
|
156053
|
+
}, unknown>>;
|
|
156054
|
+
};
|
|
156055
|
+
readonly forbidden: {
|
|
156056
|
+
readonly status: 403;
|
|
156057
|
+
readonly data: z$1.ZodType<{
|
|
156058
|
+
traceId: string;
|
|
156059
|
+
recovery: {
|
|
156060
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156061
|
+
} | {
|
|
156062
|
+
action: "read_operation";
|
|
156063
|
+
operation: {
|
|
156064
|
+
kind: "command";
|
|
156065
|
+
serialNumber: string;
|
|
156066
|
+
idempotencyKey: string;
|
|
156067
|
+
} | {
|
|
156068
|
+
kind: "firmware";
|
|
156069
|
+
serialNumber: string;
|
|
156070
|
+
updateId: string;
|
|
156071
|
+
} | {
|
|
156072
|
+
kind: "bluetooth_firmware";
|
|
156073
|
+
deviceId: string;
|
|
156074
|
+
updateId: string;
|
|
156075
|
+
} | {
|
|
156076
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156077
|
+
deviceId: string;
|
|
156078
|
+
requestId: string;
|
|
156079
|
+
} | {
|
|
156080
|
+
kind: "support";
|
|
156081
|
+
requestId: string;
|
|
156082
|
+
};
|
|
156083
|
+
};
|
|
156084
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156085
|
+
currentRevision?: string | undefined;
|
|
156086
|
+
retryAfterSeconds?: number | undefined;
|
|
156087
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156088
|
+
traceId: string;
|
|
156089
|
+
recovery: {
|
|
156090
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156091
|
+
} | {
|
|
156092
|
+
action: "read_operation";
|
|
156093
|
+
operation: {
|
|
156094
|
+
kind: "command";
|
|
156095
|
+
serialNumber: string;
|
|
156096
|
+
idempotencyKey: string;
|
|
156097
|
+
} | {
|
|
156098
|
+
kind: "firmware";
|
|
156099
|
+
serialNumber: string;
|
|
156100
|
+
updateId: string;
|
|
156101
|
+
} | {
|
|
156102
|
+
kind: "bluetooth_firmware";
|
|
156103
|
+
deviceId: string;
|
|
156104
|
+
updateId: string;
|
|
156105
|
+
} | {
|
|
156106
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156107
|
+
deviceId: string;
|
|
156108
|
+
requestId: string;
|
|
156109
|
+
} | {
|
|
156110
|
+
kind: "support";
|
|
156111
|
+
requestId: string;
|
|
156112
|
+
};
|
|
156113
|
+
};
|
|
156114
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156115
|
+
currentRevision?: string | undefined;
|
|
156116
|
+
retryAfterSeconds?: number | undefined;
|
|
156117
|
+
}, unknown>>;
|
|
156118
|
+
};
|
|
156119
|
+
readonly not_found: {
|
|
156120
|
+
readonly status: 404;
|
|
156121
|
+
readonly data: z$1.ZodType<{
|
|
156122
|
+
traceId: string;
|
|
156123
|
+
recovery: {
|
|
156124
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156125
|
+
} | {
|
|
156126
|
+
action: "read_operation";
|
|
156127
|
+
operation: {
|
|
156128
|
+
kind: "command";
|
|
156129
|
+
serialNumber: string;
|
|
156130
|
+
idempotencyKey: string;
|
|
156131
|
+
} | {
|
|
156132
|
+
kind: "firmware";
|
|
156133
|
+
serialNumber: string;
|
|
156134
|
+
updateId: string;
|
|
156135
|
+
} | {
|
|
156136
|
+
kind: "bluetooth_firmware";
|
|
156137
|
+
deviceId: string;
|
|
156138
|
+
updateId: string;
|
|
156139
|
+
} | {
|
|
156140
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156141
|
+
deviceId: string;
|
|
156142
|
+
requestId: string;
|
|
156143
|
+
} | {
|
|
156144
|
+
kind: "support";
|
|
156145
|
+
requestId: string;
|
|
156146
|
+
};
|
|
156147
|
+
};
|
|
156148
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156149
|
+
currentRevision?: string | undefined;
|
|
156150
|
+
retryAfterSeconds?: number | undefined;
|
|
156151
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156152
|
+
traceId: string;
|
|
156153
|
+
recovery: {
|
|
156154
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156155
|
+
} | {
|
|
156156
|
+
action: "read_operation";
|
|
156157
|
+
operation: {
|
|
156158
|
+
kind: "command";
|
|
156159
|
+
serialNumber: string;
|
|
156160
|
+
idempotencyKey: string;
|
|
156161
|
+
} | {
|
|
156162
|
+
kind: "firmware";
|
|
156163
|
+
serialNumber: string;
|
|
156164
|
+
updateId: string;
|
|
156165
|
+
} | {
|
|
156166
|
+
kind: "bluetooth_firmware";
|
|
156167
|
+
deviceId: string;
|
|
156168
|
+
updateId: string;
|
|
156169
|
+
} | {
|
|
156170
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156171
|
+
deviceId: string;
|
|
156172
|
+
requestId: string;
|
|
156173
|
+
} | {
|
|
156174
|
+
kind: "support";
|
|
156175
|
+
requestId: string;
|
|
156176
|
+
};
|
|
156177
|
+
};
|
|
156178
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156179
|
+
currentRevision?: string | undefined;
|
|
156180
|
+
retryAfterSeconds?: number | undefined;
|
|
156181
|
+
}, unknown>>;
|
|
156182
|
+
};
|
|
156183
|
+
readonly conflict: {
|
|
156184
|
+
readonly status: 409;
|
|
156185
|
+
readonly data: z$1.ZodType<{
|
|
156186
|
+
traceId: string;
|
|
156187
|
+
recovery: {
|
|
156188
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156189
|
+
} | {
|
|
156190
|
+
action: "read_operation";
|
|
156191
|
+
operation: {
|
|
156192
|
+
kind: "command";
|
|
156193
|
+
serialNumber: string;
|
|
156194
|
+
idempotencyKey: string;
|
|
156195
|
+
} | {
|
|
156196
|
+
kind: "firmware";
|
|
156197
|
+
serialNumber: string;
|
|
156198
|
+
updateId: string;
|
|
156199
|
+
} | {
|
|
156200
|
+
kind: "bluetooth_firmware";
|
|
156201
|
+
deviceId: string;
|
|
156202
|
+
updateId: string;
|
|
156203
|
+
} | {
|
|
156204
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156205
|
+
deviceId: string;
|
|
156206
|
+
requestId: string;
|
|
156207
|
+
} | {
|
|
156208
|
+
kind: "support";
|
|
156209
|
+
requestId: string;
|
|
156210
|
+
};
|
|
156211
|
+
};
|
|
156212
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156213
|
+
currentRevision?: string | undefined;
|
|
156214
|
+
retryAfterSeconds?: number | undefined;
|
|
156215
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156216
|
+
traceId: string;
|
|
156217
|
+
recovery: {
|
|
156218
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156219
|
+
} | {
|
|
156220
|
+
action: "read_operation";
|
|
156221
|
+
operation: {
|
|
156222
|
+
kind: "command";
|
|
156223
|
+
serialNumber: string;
|
|
156224
|
+
idempotencyKey: string;
|
|
156225
|
+
} | {
|
|
156226
|
+
kind: "firmware";
|
|
156227
|
+
serialNumber: string;
|
|
156228
|
+
updateId: string;
|
|
156229
|
+
} | {
|
|
156230
|
+
kind: "bluetooth_firmware";
|
|
156231
|
+
deviceId: string;
|
|
156232
|
+
updateId: string;
|
|
156233
|
+
} | {
|
|
156234
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156235
|
+
deviceId: string;
|
|
156236
|
+
requestId: string;
|
|
156237
|
+
} | {
|
|
156238
|
+
kind: "support";
|
|
156239
|
+
requestId: string;
|
|
156240
|
+
};
|
|
156241
|
+
};
|
|
156242
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156243
|
+
currentRevision?: string | undefined;
|
|
156244
|
+
retryAfterSeconds?: number | undefined;
|
|
156245
|
+
}, unknown>>;
|
|
156246
|
+
};
|
|
156247
|
+
readonly rate_limited: {
|
|
156248
|
+
readonly status: 429;
|
|
156249
|
+
readonly data: z$1.ZodType<{
|
|
156250
|
+
traceId: string;
|
|
156251
|
+
recovery: {
|
|
156252
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156253
|
+
} | {
|
|
156254
|
+
action: "read_operation";
|
|
156255
|
+
operation: {
|
|
156256
|
+
kind: "command";
|
|
156257
|
+
serialNumber: string;
|
|
156258
|
+
idempotencyKey: string;
|
|
156259
|
+
} | {
|
|
156260
|
+
kind: "firmware";
|
|
156261
|
+
serialNumber: string;
|
|
156262
|
+
updateId: string;
|
|
156263
|
+
} | {
|
|
156264
|
+
kind: "bluetooth_firmware";
|
|
156265
|
+
deviceId: string;
|
|
156266
|
+
updateId: string;
|
|
156267
|
+
} | {
|
|
156268
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156269
|
+
deviceId: string;
|
|
156270
|
+
requestId: string;
|
|
156271
|
+
} | {
|
|
156272
|
+
kind: "support";
|
|
156273
|
+
requestId: string;
|
|
156274
|
+
};
|
|
156275
|
+
};
|
|
156276
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156277
|
+
currentRevision?: string | undefined;
|
|
156278
|
+
retryAfterSeconds?: number | undefined;
|
|
156279
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156280
|
+
traceId: string;
|
|
156281
|
+
recovery: {
|
|
156282
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156283
|
+
} | {
|
|
156284
|
+
action: "read_operation";
|
|
156285
|
+
operation: {
|
|
156286
|
+
kind: "command";
|
|
156287
|
+
serialNumber: string;
|
|
156288
|
+
idempotencyKey: string;
|
|
156289
|
+
} | {
|
|
156290
|
+
kind: "firmware";
|
|
156291
|
+
serialNumber: string;
|
|
156292
|
+
updateId: string;
|
|
156293
|
+
} | {
|
|
156294
|
+
kind: "bluetooth_firmware";
|
|
156295
|
+
deviceId: string;
|
|
156296
|
+
updateId: string;
|
|
156297
|
+
} | {
|
|
156298
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156299
|
+
deviceId: string;
|
|
156300
|
+
requestId: string;
|
|
156301
|
+
} | {
|
|
156302
|
+
kind: "support";
|
|
156303
|
+
requestId: string;
|
|
156304
|
+
};
|
|
156305
|
+
};
|
|
156306
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156307
|
+
currentRevision?: string | undefined;
|
|
156308
|
+
retryAfterSeconds?: number | undefined;
|
|
156309
|
+
}, unknown>>;
|
|
156310
|
+
};
|
|
156311
|
+
readonly stored_data_invalid: {
|
|
156312
|
+
readonly status: 503;
|
|
156313
|
+
readonly data: z$1.ZodType<{
|
|
156314
|
+
traceId: string;
|
|
156315
|
+
recovery: {
|
|
156316
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156317
|
+
} | {
|
|
156318
|
+
action: "read_operation";
|
|
156319
|
+
operation: {
|
|
156320
|
+
kind: "command";
|
|
156321
|
+
serialNumber: string;
|
|
156322
|
+
idempotencyKey: string;
|
|
156323
|
+
} | {
|
|
156324
|
+
kind: "firmware";
|
|
156325
|
+
serialNumber: string;
|
|
156326
|
+
updateId: string;
|
|
156327
|
+
} | {
|
|
156328
|
+
kind: "bluetooth_firmware";
|
|
156329
|
+
deviceId: string;
|
|
156330
|
+
updateId: string;
|
|
156331
|
+
} | {
|
|
156332
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156333
|
+
deviceId: string;
|
|
156334
|
+
requestId: string;
|
|
156335
|
+
} | {
|
|
156336
|
+
kind: "support";
|
|
156337
|
+
requestId: string;
|
|
156338
|
+
};
|
|
156339
|
+
};
|
|
156340
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156341
|
+
currentRevision?: string | undefined;
|
|
156342
|
+
retryAfterSeconds?: number | undefined;
|
|
156343
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156344
|
+
traceId: string;
|
|
156345
|
+
recovery: {
|
|
156346
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156347
|
+
} | {
|
|
156348
|
+
action: "read_operation";
|
|
156349
|
+
operation: {
|
|
156350
|
+
kind: "command";
|
|
156351
|
+
serialNumber: string;
|
|
156352
|
+
idempotencyKey: string;
|
|
156353
|
+
} | {
|
|
156354
|
+
kind: "firmware";
|
|
156355
|
+
serialNumber: string;
|
|
156356
|
+
updateId: string;
|
|
156357
|
+
} | {
|
|
156358
|
+
kind: "bluetooth_firmware";
|
|
156359
|
+
deviceId: string;
|
|
156360
|
+
updateId: string;
|
|
156361
|
+
} | {
|
|
156362
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156363
|
+
deviceId: string;
|
|
156364
|
+
requestId: string;
|
|
156365
|
+
} | {
|
|
156366
|
+
kind: "support";
|
|
156367
|
+
requestId: string;
|
|
156368
|
+
};
|
|
156369
|
+
};
|
|
156370
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156371
|
+
currentRevision?: string | undefined;
|
|
156372
|
+
retryAfterSeconds?: number | undefined;
|
|
156373
|
+
}, unknown>>;
|
|
156374
|
+
};
|
|
156375
|
+
readonly service_unavailable: {
|
|
156376
|
+
readonly status: 503;
|
|
156377
|
+
readonly data: z$1.ZodType<{
|
|
156378
|
+
traceId: string;
|
|
156379
|
+
recovery: {
|
|
156380
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156381
|
+
} | {
|
|
156382
|
+
action: "read_operation";
|
|
156383
|
+
operation: {
|
|
156384
|
+
kind: "command";
|
|
156385
|
+
serialNumber: string;
|
|
156386
|
+
idempotencyKey: string;
|
|
156387
|
+
} | {
|
|
156388
|
+
kind: "firmware";
|
|
156389
|
+
serialNumber: string;
|
|
156390
|
+
updateId: string;
|
|
156391
|
+
} | {
|
|
156392
|
+
kind: "bluetooth_firmware";
|
|
156393
|
+
deviceId: string;
|
|
156394
|
+
updateId: string;
|
|
156395
|
+
} | {
|
|
156396
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156397
|
+
deviceId: string;
|
|
156398
|
+
requestId: string;
|
|
156399
|
+
} | {
|
|
156400
|
+
kind: "support";
|
|
156401
|
+
requestId: string;
|
|
156402
|
+
};
|
|
156403
|
+
};
|
|
156404
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156405
|
+
currentRevision?: string | undefined;
|
|
156406
|
+
retryAfterSeconds?: number | undefined;
|
|
156407
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156408
|
+
traceId: string;
|
|
156409
|
+
recovery: {
|
|
156410
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156411
|
+
} | {
|
|
156412
|
+
action: "read_operation";
|
|
156413
|
+
operation: {
|
|
156414
|
+
kind: "command";
|
|
156415
|
+
serialNumber: string;
|
|
156416
|
+
idempotencyKey: string;
|
|
156417
|
+
} | {
|
|
156418
|
+
kind: "firmware";
|
|
156419
|
+
serialNumber: string;
|
|
156420
|
+
updateId: string;
|
|
156421
|
+
} | {
|
|
156422
|
+
kind: "bluetooth_firmware";
|
|
156423
|
+
deviceId: string;
|
|
156424
|
+
updateId: string;
|
|
156425
|
+
} | {
|
|
156426
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156427
|
+
deviceId: string;
|
|
156428
|
+
requestId: string;
|
|
156429
|
+
} | {
|
|
156430
|
+
kind: "support";
|
|
156431
|
+
requestId: string;
|
|
156432
|
+
};
|
|
156433
|
+
};
|
|
156434
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156435
|
+
currentRevision?: string | undefined;
|
|
156436
|
+
retryAfterSeconds?: number | undefined;
|
|
156437
|
+
}, unknown>>;
|
|
156438
|
+
};
|
|
156439
|
+
readonly read_unavailable: {
|
|
156440
|
+
readonly status: 503;
|
|
156441
|
+
readonly data: z$1.ZodType<{
|
|
156442
|
+
traceId: string;
|
|
156443
|
+
recovery: {
|
|
156444
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156445
|
+
} | {
|
|
156446
|
+
action: "read_operation";
|
|
156447
|
+
operation: {
|
|
156448
|
+
kind: "command";
|
|
156449
|
+
serialNumber: string;
|
|
156450
|
+
idempotencyKey: string;
|
|
156451
|
+
} | {
|
|
156452
|
+
kind: "firmware";
|
|
156453
|
+
serialNumber: string;
|
|
156454
|
+
updateId: string;
|
|
156455
|
+
} | {
|
|
156456
|
+
kind: "bluetooth_firmware";
|
|
156457
|
+
deviceId: string;
|
|
156458
|
+
updateId: string;
|
|
156459
|
+
} | {
|
|
156460
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156461
|
+
deviceId: string;
|
|
156462
|
+
requestId: string;
|
|
156463
|
+
} | {
|
|
156464
|
+
kind: "support";
|
|
156465
|
+
requestId: string;
|
|
156466
|
+
};
|
|
156467
|
+
};
|
|
156468
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156469
|
+
currentRevision?: string | undefined;
|
|
156470
|
+
retryAfterSeconds?: number | undefined;
|
|
156471
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156472
|
+
traceId: string;
|
|
156473
|
+
recovery: {
|
|
156474
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156475
|
+
} | {
|
|
156476
|
+
action: "read_operation";
|
|
156477
|
+
operation: {
|
|
156478
|
+
kind: "command";
|
|
156479
|
+
serialNumber: string;
|
|
156480
|
+
idempotencyKey: string;
|
|
156481
|
+
} | {
|
|
156482
|
+
kind: "firmware";
|
|
156483
|
+
serialNumber: string;
|
|
156484
|
+
updateId: string;
|
|
156485
|
+
} | {
|
|
156486
|
+
kind: "bluetooth_firmware";
|
|
156487
|
+
deviceId: string;
|
|
156488
|
+
updateId: string;
|
|
156489
|
+
} | {
|
|
156490
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156491
|
+
deviceId: string;
|
|
156492
|
+
requestId: string;
|
|
156493
|
+
} | {
|
|
156494
|
+
kind: "support";
|
|
156495
|
+
requestId: string;
|
|
156496
|
+
};
|
|
156497
|
+
};
|
|
156498
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156499
|
+
currentRevision?: string | undefined;
|
|
156500
|
+
retryAfterSeconds?: number | undefined;
|
|
156501
|
+
}, unknown>>;
|
|
156502
|
+
};
|
|
156503
|
+
readonly stream_unavailable: {
|
|
156504
|
+
readonly status: 503;
|
|
156505
|
+
readonly data: z$1.ZodType<{
|
|
156506
|
+
traceId: string;
|
|
156507
|
+
recovery: {
|
|
156508
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156509
|
+
} | {
|
|
156510
|
+
action: "read_operation";
|
|
156511
|
+
operation: {
|
|
156512
|
+
kind: "command";
|
|
156513
|
+
serialNumber: string;
|
|
156514
|
+
idempotencyKey: string;
|
|
156515
|
+
} | {
|
|
156516
|
+
kind: "firmware";
|
|
156517
|
+
serialNumber: string;
|
|
156518
|
+
updateId: string;
|
|
156519
|
+
} | {
|
|
156520
|
+
kind: "bluetooth_firmware";
|
|
156521
|
+
deviceId: string;
|
|
156522
|
+
updateId: string;
|
|
156523
|
+
} | {
|
|
156524
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156525
|
+
deviceId: string;
|
|
156526
|
+
requestId: string;
|
|
156527
|
+
} | {
|
|
156528
|
+
kind: "support";
|
|
156529
|
+
requestId: string;
|
|
156530
|
+
};
|
|
156531
|
+
};
|
|
156532
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156533
|
+
currentRevision?: string | undefined;
|
|
156534
|
+
retryAfterSeconds?: number | undefined;
|
|
156535
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156536
|
+
traceId: string;
|
|
156537
|
+
recovery: {
|
|
156538
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156539
|
+
} | {
|
|
156540
|
+
action: "read_operation";
|
|
156541
|
+
operation: {
|
|
156542
|
+
kind: "command";
|
|
156543
|
+
serialNumber: string;
|
|
156544
|
+
idempotencyKey: string;
|
|
156545
|
+
} | {
|
|
156546
|
+
kind: "firmware";
|
|
156547
|
+
serialNumber: string;
|
|
156548
|
+
updateId: string;
|
|
156549
|
+
} | {
|
|
156550
|
+
kind: "bluetooth_firmware";
|
|
156551
|
+
deviceId: string;
|
|
156552
|
+
updateId: string;
|
|
156553
|
+
} | {
|
|
156554
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156555
|
+
deviceId: string;
|
|
156556
|
+
requestId: string;
|
|
156557
|
+
} | {
|
|
156558
|
+
kind: "support";
|
|
156559
|
+
requestId: string;
|
|
156560
|
+
};
|
|
156561
|
+
};
|
|
156562
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156563
|
+
currentRevision?: string | undefined;
|
|
156564
|
+
retryAfterSeconds?: number | undefined;
|
|
156565
|
+
}, unknown>>;
|
|
156566
|
+
};
|
|
156567
|
+
readonly payload_too_large: {
|
|
156568
|
+
readonly status: 413;
|
|
156569
|
+
readonly data: z$1.ZodType<{
|
|
156570
|
+
traceId: string;
|
|
156571
|
+
recovery: {
|
|
156572
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156573
|
+
} | {
|
|
156574
|
+
action: "read_operation";
|
|
156575
|
+
operation: {
|
|
156576
|
+
kind: "command";
|
|
156577
|
+
serialNumber: string;
|
|
156578
|
+
idempotencyKey: string;
|
|
156579
|
+
} | {
|
|
156580
|
+
kind: "firmware";
|
|
156581
|
+
serialNumber: string;
|
|
156582
|
+
updateId: string;
|
|
156583
|
+
} | {
|
|
156584
|
+
kind: "bluetooth_firmware";
|
|
156585
|
+
deviceId: string;
|
|
156586
|
+
updateId: string;
|
|
156587
|
+
} | {
|
|
156588
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156589
|
+
deviceId: string;
|
|
156590
|
+
requestId: string;
|
|
156591
|
+
} | {
|
|
156592
|
+
kind: "support";
|
|
156593
|
+
requestId: string;
|
|
156594
|
+
};
|
|
156595
|
+
};
|
|
156596
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156597
|
+
currentRevision?: string | undefined;
|
|
156598
|
+
retryAfterSeconds?: number | undefined;
|
|
156599
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156600
|
+
traceId: string;
|
|
156601
|
+
recovery: {
|
|
156602
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156603
|
+
} | {
|
|
156604
|
+
action: "read_operation";
|
|
156605
|
+
operation: {
|
|
156606
|
+
kind: "command";
|
|
156607
|
+
serialNumber: string;
|
|
156608
|
+
idempotencyKey: string;
|
|
156609
|
+
} | {
|
|
156610
|
+
kind: "firmware";
|
|
156611
|
+
serialNumber: string;
|
|
156612
|
+
updateId: string;
|
|
156613
|
+
} | {
|
|
156614
|
+
kind: "bluetooth_firmware";
|
|
156615
|
+
deviceId: string;
|
|
156616
|
+
updateId: string;
|
|
156617
|
+
} | {
|
|
156618
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156619
|
+
deviceId: string;
|
|
156620
|
+
requestId: string;
|
|
156621
|
+
} | {
|
|
156622
|
+
kind: "support";
|
|
156623
|
+
requestId: string;
|
|
156624
|
+
};
|
|
156625
|
+
};
|
|
156626
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156627
|
+
currentRevision?: string | undefined;
|
|
156628
|
+
retryAfterSeconds?: number | undefined;
|
|
156629
|
+
}, unknown>>;
|
|
156630
|
+
};
|
|
156631
|
+
readonly request_timeout: {
|
|
156632
|
+
readonly status: 503;
|
|
156633
|
+
readonly data: z$1.ZodType<{
|
|
156634
|
+
traceId: string;
|
|
156635
|
+
recovery: {
|
|
156636
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156637
|
+
} | {
|
|
156638
|
+
action: "read_operation";
|
|
156639
|
+
operation: {
|
|
156640
|
+
kind: "command";
|
|
156641
|
+
serialNumber: string;
|
|
156642
|
+
idempotencyKey: string;
|
|
156643
|
+
} | {
|
|
156644
|
+
kind: "firmware";
|
|
156645
|
+
serialNumber: string;
|
|
156646
|
+
updateId: string;
|
|
156647
|
+
} | {
|
|
156648
|
+
kind: "bluetooth_firmware";
|
|
156649
|
+
deviceId: string;
|
|
156650
|
+
updateId: string;
|
|
156651
|
+
} | {
|
|
156652
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156653
|
+
deviceId: string;
|
|
156654
|
+
requestId: string;
|
|
156655
|
+
} | {
|
|
156656
|
+
kind: "support";
|
|
156657
|
+
requestId: string;
|
|
156658
|
+
};
|
|
156659
|
+
};
|
|
156660
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156661
|
+
currentRevision?: string | undefined;
|
|
156662
|
+
retryAfterSeconds?: number | undefined;
|
|
156663
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156664
|
+
traceId: string;
|
|
156665
|
+
recovery: {
|
|
156666
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156667
|
+
} | {
|
|
156668
|
+
action: "read_operation";
|
|
156669
|
+
operation: {
|
|
156670
|
+
kind: "command";
|
|
156671
|
+
serialNumber: string;
|
|
156672
|
+
idempotencyKey: string;
|
|
156673
|
+
} | {
|
|
156674
|
+
kind: "firmware";
|
|
156675
|
+
serialNumber: string;
|
|
156676
|
+
updateId: string;
|
|
156677
|
+
} | {
|
|
156678
|
+
kind: "bluetooth_firmware";
|
|
156679
|
+
deviceId: string;
|
|
156680
|
+
updateId: string;
|
|
156681
|
+
} | {
|
|
156682
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156683
|
+
deviceId: string;
|
|
156684
|
+
requestId: string;
|
|
156685
|
+
} | {
|
|
156686
|
+
kind: "support";
|
|
156687
|
+
requestId: string;
|
|
156688
|
+
};
|
|
156689
|
+
};
|
|
156690
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156691
|
+
currentRevision?: string | undefined;
|
|
156692
|
+
retryAfterSeconds?: number | undefined;
|
|
156693
|
+
}, unknown>>;
|
|
156694
|
+
};
|
|
156695
|
+
readonly operation_unconfirmed: {
|
|
156696
|
+
readonly status: 503;
|
|
156697
|
+
readonly data: z$1.ZodType<{
|
|
156698
|
+
traceId: string;
|
|
156699
|
+
recovery: {
|
|
156700
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156701
|
+
} | {
|
|
156702
|
+
action: "read_operation";
|
|
156703
|
+
operation: {
|
|
156704
|
+
kind: "command";
|
|
156705
|
+
serialNumber: string;
|
|
156706
|
+
idempotencyKey: string;
|
|
156707
|
+
} | {
|
|
156708
|
+
kind: "firmware";
|
|
156709
|
+
serialNumber: string;
|
|
156710
|
+
updateId: string;
|
|
156711
|
+
} | {
|
|
156712
|
+
kind: "bluetooth_firmware";
|
|
156713
|
+
deviceId: string;
|
|
156714
|
+
updateId: string;
|
|
156715
|
+
} | {
|
|
156716
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156717
|
+
deviceId: string;
|
|
156718
|
+
requestId: string;
|
|
156719
|
+
} | {
|
|
156720
|
+
kind: "support";
|
|
156721
|
+
requestId: string;
|
|
156722
|
+
};
|
|
156723
|
+
};
|
|
156724
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156725
|
+
currentRevision?: string | undefined;
|
|
156726
|
+
retryAfterSeconds?: number | undefined;
|
|
156727
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156728
|
+
traceId: string;
|
|
156729
|
+
recovery: {
|
|
156730
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156731
|
+
} | {
|
|
156732
|
+
action: "read_operation";
|
|
156733
|
+
operation: {
|
|
156734
|
+
kind: "command";
|
|
156735
|
+
serialNumber: string;
|
|
156736
|
+
idempotencyKey: string;
|
|
156737
|
+
} | {
|
|
156738
|
+
kind: "firmware";
|
|
156739
|
+
serialNumber: string;
|
|
156740
|
+
updateId: string;
|
|
156741
|
+
} | {
|
|
156742
|
+
kind: "bluetooth_firmware";
|
|
156743
|
+
deviceId: string;
|
|
156744
|
+
updateId: string;
|
|
156745
|
+
} | {
|
|
156746
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156747
|
+
deviceId: string;
|
|
156748
|
+
requestId: string;
|
|
156749
|
+
} | {
|
|
156750
|
+
kind: "support";
|
|
156751
|
+
requestId: string;
|
|
156752
|
+
};
|
|
156753
|
+
};
|
|
156754
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156755
|
+
currentRevision?: string | undefined;
|
|
156756
|
+
retryAfterSeconds?: number | undefined;
|
|
156757
|
+
}, unknown>>;
|
|
156758
|
+
};
|
|
156759
|
+
readonly directory_unavailable: {
|
|
156760
|
+
readonly status: 503;
|
|
156761
|
+
readonly data: z$1.ZodType<{
|
|
156762
|
+
traceId: string;
|
|
156763
|
+
recovery: {
|
|
156764
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156765
|
+
} | {
|
|
156766
|
+
action: "read_operation";
|
|
156767
|
+
operation: {
|
|
156768
|
+
kind: "command";
|
|
156769
|
+
serialNumber: string;
|
|
156770
|
+
idempotencyKey: string;
|
|
156771
|
+
} | {
|
|
156772
|
+
kind: "firmware";
|
|
156773
|
+
serialNumber: string;
|
|
156774
|
+
updateId: string;
|
|
156775
|
+
} | {
|
|
156776
|
+
kind: "bluetooth_firmware";
|
|
156777
|
+
deviceId: string;
|
|
156778
|
+
updateId: string;
|
|
156779
|
+
} | {
|
|
156780
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156781
|
+
deviceId: string;
|
|
156782
|
+
requestId: string;
|
|
156783
|
+
} | {
|
|
156784
|
+
kind: "support";
|
|
156785
|
+
requestId: string;
|
|
156786
|
+
};
|
|
156787
|
+
};
|
|
156788
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156789
|
+
currentRevision?: string | undefined;
|
|
156790
|
+
retryAfterSeconds?: number | undefined;
|
|
156791
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
156792
|
+
traceId: string;
|
|
156793
|
+
recovery: {
|
|
156794
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156795
|
+
} | {
|
|
156796
|
+
action: "read_operation";
|
|
156797
|
+
operation: {
|
|
156798
|
+
kind: "command";
|
|
156799
|
+
serialNumber: string;
|
|
156800
|
+
idempotencyKey: string;
|
|
156801
|
+
} | {
|
|
156802
|
+
kind: "firmware";
|
|
156803
|
+
serialNumber: string;
|
|
156804
|
+
updateId: string;
|
|
156805
|
+
} | {
|
|
156806
|
+
kind: "bluetooth_firmware";
|
|
156807
|
+
deviceId: string;
|
|
156808
|
+
updateId: string;
|
|
156809
|
+
} | {
|
|
156810
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
156811
|
+
deviceId: string;
|
|
156812
|
+
requestId: string;
|
|
156813
|
+
} | {
|
|
156814
|
+
kind: "support";
|
|
156815
|
+
requestId: string;
|
|
156816
|
+
};
|
|
156817
|
+
};
|
|
156818
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
156819
|
+
currentRevision?: string | undefined;
|
|
156820
|
+
retryAfterSeconds?: number | undefined;
|
|
156821
|
+
}, unknown>>;
|
|
156822
|
+
};
|
|
156823
|
+
}>, Record<never, never>>;
|
|
156824
|
+
watchDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
156825
|
+
deviceId: z$1.ZodString;
|
|
156826
|
+
}, z$1.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
156827
|
+
id: string;
|
|
156828
|
+
firmware: {
|
|
156829
|
+
lte: string | null;
|
|
156830
|
+
bluetooth: string | null;
|
|
156831
|
+
battery: string | null;
|
|
156832
|
+
modem: string | null;
|
|
156833
|
+
mtk: string | null;
|
|
156834
|
+
ti: string | null;
|
|
156835
|
+
buildNumber: number | null;
|
|
156836
|
+
} | null;
|
|
156837
|
+
subscription: {
|
|
156838
|
+
state: "unavailable";
|
|
156839
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156840
|
+
} | {
|
|
156841
|
+
id: string;
|
|
156842
|
+
activity: "unknown" | "active" | "inactive";
|
|
156843
|
+
isDemo: boolean;
|
|
156844
|
+
status: string | null;
|
|
156845
|
+
country: string | null;
|
|
156846
|
+
endsAt: string | null;
|
|
156847
|
+
state: "available";
|
|
156848
|
+
};
|
|
156849
|
+
createdAt: string;
|
|
156850
|
+
revision: string;
|
|
156851
|
+
battery: {
|
|
156852
|
+
state: "unavailable";
|
|
156853
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156854
|
+
} | {
|
|
156855
|
+
level: number | null;
|
|
156856
|
+
isCharging: boolean | null;
|
|
156857
|
+
levelUpdatedAt: string | null;
|
|
156858
|
+
chargingObservedAt: string | null;
|
|
156859
|
+
observation: {
|
|
156860
|
+
observedAt: string | null;
|
|
156861
|
+
receivedAt: string | null;
|
|
156862
|
+
} | null;
|
|
156863
|
+
source: string | null;
|
|
156864
|
+
state: "available";
|
|
156865
|
+
};
|
|
156866
|
+
generation: number | null;
|
|
156867
|
+
bike: {
|
|
156868
|
+
revision: string;
|
|
156869
|
+
name: string | null;
|
|
156870
|
+
brand: string | null;
|
|
156871
|
+
type: string | null;
|
|
156872
|
+
model: string | null;
|
|
156873
|
+
frameNumber: string | null;
|
|
156874
|
+
url: string | null;
|
|
156875
|
+
marketPrice: string | null;
|
|
156876
|
+
marketPriceCurrency: string | null;
|
|
156877
|
+
};
|
|
156878
|
+
location: {
|
|
156879
|
+
state: "unavailable";
|
|
156880
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156881
|
+
} | {
|
|
156882
|
+
latitude: number;
|
|
156883
|
+
longitude: number;
|
|
156884
|
+
accuracy: number | null;
|
|
156885
|
+
source: string | null;
|
|
156886
|
+
observedAt: string | null;
|
|
156887
|
+
state: "available";
|
|
156888
|
+
};
|
|
156889
|
+
readIssues: {
|
|
156890
|
+
path: string;
|
|
156891
|
+
code: "invalid_stored_value";
|
|
156892
|
+
}[];
|
|
156893
|
+
updatedAt: string;
|
|
156894
|
+
hardware: {
|
|
156895
|
+
imei: string | null;
|
|
156896
|
+
iccid: string | null;
|
|
156897
|
+
imsi: string | null;
|
|
156898
|
+
serialNumber: string | null;
|
|
156899
|
+
} | null;
|
|
156900
|
+
backend: string | null;
|
|
156901
|
+
configuration: {
|
|
156902
|
+
movementAlerts: boolean | null;
|
|
156903
|
+
isBlacklisted: boolean | null;
|
|
156904
|
+
} | null;
|
|
156905
|
+
membership: {
|
|
156906
|
+
revision: string;
|
|
156907
|
+
memberCount: number;
|
|
156908
|
+
};
|
|
156909
|
+
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
156910
|
+
id: string;
|
|
156911
|
+
firmware: {
|
|
156912
|
+
lte: string | null;
|
|
156913
|
+
bluetooth: string | null;
|
|
156914
|
+
battery: string | null;
|
|
156915
|
+
modem: string | null;
|
|
156916
|
+
mtk: string | null;
|
|
156917
|
+
ti: string | null;
|
|
156918
|
+
buildNumber: number | null;
|
|
156919
|
+
} | null;
|
|
156920
|
+
subscription: {
|
|
156921
|
+
state: "unavailable";
|
|
156922
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156923
|
+
} | {
|
|
156924
|
+
id: string;
|
|
156925
|
+
activity: "unknown" | "active" | "inactive";
|
|
156926
|
+
isDemo: boolean;
|
|
156927
|
+
status: string | null;
|
|
156928
|
+
country: string | null;
|
|
156929
|
+
endsAt: string | null;
|
|
156930
|
+
state: "available";
|
|
156931
|
+
};
|
|
156932
|
+
createdAt: string;
|
|
156933
|
+
revision: string;
|
|
156934
|
+
battery: {
|
|
156935
|
+
state: "unavailable";
|
|
156936
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156937
|
+
} | {
|
|
156938
|
+
level: number | null;
|
|
156939
|
+
isCharging: boolean | null;
|
|
156940
|
+
levelUpdatedAt: string | null;
|
|
156941
|
+
chargingObservedAt: string | null;
|
|
156942
|
+
observation: {
|
|
156943
|
+
observedAt: string | null;
|
|
156944
|
+
receivedAt: string | null;
|
|
156945
|
+
} | null;
|
|
156946
|
+
source: string | null;
|
|
156947
|
+
state: "available";
|
|
156948
|
+
};
|
|
156949
|
+
generation: number | null;
|
|
156950
|
+
bike: {
|
|
156951
|
+
revision: string;
|
|
156952
|
+
name: string | null;
|
|
156953
|
+
brand: string | null;
|
|
156954
|
+
type: string | null;
|
|
156955
|
+
model: string | null;
|
|
156956
|
+
frameNumber: string | null;
|
|
156957
|
+
url: string | null;
|
|
156958
|
+
marketPrice: string | null;
|
|
156959
|
+
marketPriceCurrency: string | null;
|
|
156960
|
+
};
|
|
156961
|
+
location: {
|
|
156962
|
+
state: "unavailable";
|
|
156963
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
156964
|
+
} | {
|
|
156965
|
+
latitude: number;
|
|
156966
|
+
longitude: number;
|
|
156967
|
+
accuracy: number | null;
|
|
156968
|
+
source: string | null;
|
|
156969
|
+
observedAt: string | null;
|
|
156970
|
+
state: "available";
|
|
156971
|
+
};
|
|
156972
|
+
readIssues: {
|
|
156973
|
+
path: string;
|
|
156974
|
+
code: "invalid_stored_value";
|
|
156975
|
+
}[];
|
|
156976
|
+
updatedAt: string;
|
|
156977
|
+
hardware: {
|
|
156978
|
+
imei: string | null;
|
|
156979
|
+
iccid: string | null;
|
|
156980
|
+
imsi: string | null;
|
|
156981
|
+
serialNumber: string | null;
|
|
156982
|
+
} | null;
|
|
156983
|
+
backend: string | null;
|
|
156984
|
+
configuration: {
|
|
156985
|
+
movementAlerts: boolean | null;
|
|
156986
|
+
isBlacklisted: boolean | null;
|
|
156987
|
+
} | null;
|
|
156988
|
+
membership: {
|
|
156989
|
+
revision: string;
|
|
156990
|
+
memberCount: number;
|
|
156991
|
+
};
|
|
156992
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
156993
|
+
readonly invalid: {
|
|
156994
|
+
readonly status: 400;
|
|
156995
|
+
readonly data: z$1.ZodType<{
|
|
156996
|
+
traceId: string;
|
|
156997
|
+
recovery: {
|
|
156998
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
156999
|
+
} | {
|
|
157000
|
+
action: "read_operation";
|
|
157001
|
+
operation: {
|
|
157002
|
+
kind: "command";
|
|
157003
|
+
serialNumber: string;
|
|
157004
|
+
idempotencyKey: string;
|
|
157005
|
+
} | {
|
|
157006
|
+
kind: "firmware";
|
|
157007
|
+
serialNumber: string;
|
|
157008
|
+
updateId: string;
|
|
157009
|
+
} | {
|
|
157010
|
+
kind: "bluetooth_firmware";
|
|
157011
|
+
deviceId: string;
|
|
157012
|
+
updateId: string;
|
|
157013
|
+
} | {
|
|
157014
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157015
|
+
deviceId: string;
|
|
157016
|
+
requestId: string;
|
|
157017
|
+
} | {
|
|
157018
|
+
kind: "support";
|
|
157019
|
+
requestId: string;
|
|
157020
|
+
};
|
|
157021
|
+
};
|
|
157022
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157023
|
+
currentRevision?: string | undefined;
|
|
157024
|
+
retryAfterSeconds?: number | undefined;
|
|
157025
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157026
|
+
traceId: string;
|
|
157027
|
+
recovery: {
|
|
157028
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157029
|
+
} | {
|
|
157030
|
+
action: "read_operation";
|
|
157031
|
+
operation: {
|
|
157032
|
+
kind: "command";
|
|
157033
|
+
serialNumber: string;
|
|
157034
|
+
idempotencyKey: string;
|
|
157035
|
+
} | {
|
|
157036
|
+
kind: "firmware";
|
|
157037
|
+
serialNumber: string;
|
|
157038
|
+
updateId: string;
|
|
157039
|
+
} | {
|
|
157040
|
+
kind: "bluetooth_firmware";
|
|
157041
|
+
deviceId: string;
|
|
157042
|
+
updateId: string;
|
|
157043
|
+
} | {
|
|
157044
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157045
|
+
deviceId: string;
|
|
157046
|
+
requestId: string;
|
|
157047
|
+
} | {
|
|
157048
|
+
kind: "support";
|
|
157049
|
+
requestId: string;
|
|
157050
|
+
};
|
|
157051
|
+
};
|
|
157052
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157053
|
+
currentRevision?: string | undefined;
|
|
157054
|
+
retryAfterSeconds?: number | undefined;
|
|
157055
|
+
}, unknown>>;
|
|
157056
|
+
};
|
|
157057
|
+
readonly unauthenticated: {
|
|
157058
|
+
readonly status: 401;
|
|
157059
|
+
readonly data: z$1.ZodType<{
|
|
157060
|
+
traceId: string;
|
|
157061
|
+
recovery: {
|
|
157062
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157063
|
+
} | {
|
|
157064
|
+
action: "read_operation";
|
|
157065
|
+
operation: {
|
|
157066
|
+
kind: "command";
|
|
157067
|
+
serialNumber: string;
|
|
157068
|
+
idempotencyKey: string;
|
|
157069
|
+
} | {
|
|
157070
|
+
kind: "firmware";
|
|
157071
|
+
serialNumber: string;
|
|
157072
|
+
updateId: string;
|
|
157073
|
+
} | {
|
|
157074
|
+
kind: "bluetooth_firmware";
|
|
157075
|
+
deviceId: string;
|
|
157076
|
+
updateId: string;
|
|
157077
|
+
} | {
|
|
157078
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157079
|
+
deviceId: string;
|
|
157080
|
+
requestId: string;
|
|
157081
|
+
} | {
|
|
157082
|
+
kind: "support";
|
|
157083
|
+
requestId: string;
|
|
157084
|
+
};
|
|
157085
|
+
};
|
|
157086
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157087
|
+
currentRevision?: string | undefined;
|
|
157088
|
+
retryAfterSeconds?: number | undefined;
|
|
157089
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157090
|
+
traceId: string;
|
|
157091
|
+
recovery: {
|
|
157092
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157093
|
+
} | {
|
|
157094
|
+
action: "read_operation";
|
|
157095
|
+
operation: {
|
|
157096
|
+
kind: "command";
|
|
157097
|
+
serialNumber: string;
|
|
157098
|
+
idempotencyKey: string;
|
|
157099
|
+
} | {
|
|
157100
|
+
kind: "firmware";
|
|
157101
|
+
serialNumber: string;
|
|
157102
|
+
updateId: string;
|
|
157103
|
+
} | {
|
|
157104
|
+
kind: "bluetooth_firmware";
|
|
157105
|
+
deviceId: string;
|
|
157106
|
+
updateId: string;
|
|
157107
|
+
} | {
|
|
157108
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157109
|
+
deviceId: string;
|
|
157110
|
+
requestId: string;
|
|
157111
|
+
} | {
|
|
157112
|
+
kind: "support";
|
|
157113
|
+
requestId: string;
|
|
157114
|
+
};
|
|
157115
|
+
};
|
|
157116
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157117
|
+
currentRevision?: string | undefined;
|
|
157118
|
+
retryAfterSeconds?: number | undefined;
|
|
157119
|
+
}, unknown>>;
|
|
157120
|
+
};
|
|
157121
|
+
readonly forbidden: {
|
|
157122
|
+
readonly status: 403;
|
|
157123
|
+
readonly data: z$1.ZodType<{
|
|
157124
|
+
traceId: string;
|
|
157125
|
+
recovery: {
|
|
157126
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157127
|
+
} | {
|
|
157128
|
+
action: "read_operation";
|
|
157129
|
+
operation: {
|
|
157130
|
+
kind: "command";
|
|
157131
|
+
serialNumber: string;
|
|
157132
|
+
idempotencyKey: string;
|
|
157133
|
+
} | {
|
|
157134
|
+
kind: "firmware";
|
|
157135
|
+
serialNumber: string;
|
|
157136
|
+
updateId: string;
|
|
157137
|
+
} | {
|
|
157138
|
+
kind: "bluetooth_firmware";
|
|
157139
|
+
deviceId: string;
|
|
157140
|
+
updateId: string;
|
|
157141
|
+
} | {
|
|
157142
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157143
|
+
deviceId: string;
|
|
157144
|
+
requestId: string;
|
|
157145
|
+
} | {
|
|
157146
|
+
kind: "support";
|
|
157147
|
+
requestId: string;
|
|
157148
|
+
};
|
|
157149
|
+
};
|
|
157150
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157151
|
+
currentRevision?: string | undefined;
|
|
157152
|
+
retryAfterSeconds?: number | undefined;
|
|
157153
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157154
|
+
traceId: string;
|
|
157155
|
+
recovery: {
|
|
157156
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157157
|
+
} | {
|
|
157158
|
+
action: "read_operation";
|
|
157159
|
+
operation: {
|
|
157160
|
+
kind: "command";
|
|
157161
|
+
serialNumber: string;
|
|
157162
|
+
idempotencyKey: string;
|
|
157163
|
+
} | {
|
|
157164
|
+
kind: "firmware";
|
|
157165
|
+
serialNumber: string;
|
|
157166
|
+
updateId: string;
|
|
157167
|
+
} | {
|
|
157168
|
+
kind: "bluetooth_firmware";
|
|
157169
|
+
deviceId: string;
|
|
157170
|
+
updateId: string;
|
|
157171
|
+
} | {
|
|
157172
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157173
|
+
deviceId: string;
|
|
157174
|
+
requestId: string;
|
|
157175
|
+
} | {
|
|
157176
|
+
kind: "support";
|
|
157177
|
+
requestId: string;
|
|
157178
|
+
};
|
|
157179
|
+
};
|
|
157180
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157181
|
+
currentRevision?: string | undefined;
|
|
157182
|
+
retryAfterSeconds?: number | undefined;
|
|
157183
|
+
}, unknown>>;
|
|
157184
|
+
};
|
|
157185
|
+
readonly not_found: {
|
|
157186
|
+
readonly status: 404;
|
|
157187
|
+
readonly data: z$1.ZodType<{
|
|
157188
|
+
traceId: string;
|
|
157189
|
+
recovery: {
|
|
157190
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157191
|
+
} | {
|
|
157192
|
+
action: "read_operation";
|
|
157193
|
+
operation: {
|
|
157194
|
+
kind: "command";
|
|
157195
|
+
serialNumber: string;
|
|
157196
|
+
idempotencyKey: string;
|
|
157197
|
+
} | {
|
|
157198
|
+
kind: "firmware";
|
|
157199
|
+
serialNumber: string;
|
|
157200
|
+
updateId: string;
|
|
157201
|
+
} | {
|
|
157202
|
+
kind: "bluetooth_firmware";
|
|
157203
|
+
deviceId: string;
|
|
157204
|
+
updateId: string;
|
|
157205
|
+
} | {
|
|
157206
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157207
|
+
deviceId: string;
|
|
157208
|
+
requestId: string;
|
|
157209
|
+
} | {
|
|
157210
|
+
kind: "support";
|
|
157211
|
+
requestId: string;
|
|
157212
|
+
};
|
|
157213
|
+
};
|
|
157214
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157215
|
+
currentRevision?: string | undefined;
|
|
157216
|
+
retryAfterSeconds?: number | undefined;
|
|
157217
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157218
|
+
traceId: string;
|
|
157219
|
+
recovery: {
|
|
157220
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157221
|
+
} | {
|
|
157222
|
+
action: "read_operation";
|
|
157223
|
+
operation: {
|
|
157224
|
+
kind: "command";
|
|
157225
|
+
serialNumber: string;
|
|
157226
|
+
idempotencyKey: string;
|
|
157227
|
+
} | {
|
|
157228
|
+
kind: "firmware";
|
|
157229
|
+
serialNumber: string;
|
|
157230
|
+
updateId: string;
|
|
157231
|
+
} | {
|
|
157232
|
+
kind: "bluetooth_firmware";
|
|
157233
|
+
deviceId: string;
|
|
157234
|
+
updateId: string;
|
|
157235
|
+
} | {
|
|
157236
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157237
|
+
deviceId: string;
|
|
157238
|
+
requestId: string;
|
|
157239
|
+
} | {
|
|
157240
|
+
kind: "support";
|
|
157241
|
+
requestId: string;
|
|
157242
|
+
};
|
|
157243
|
+
};
|
|
157244
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157245
|
+
currentRevision?: string | undefined;
|
|
157246
|
+
retryAfterSeconds?: number | undefined;
|
|
157247
|
+
}, unknown>>;
|
|
157248
|
+
};
|
|
157249
|
+
readonly conflict: {
|
|
157250
|
+
readonly status: 409;
|
|
157251
|
+
readonly data: z$1.ZodType<{
|
|
157252
|
+
traceId: string;
|
|
157253
|
+
recovery: {
|
|
157254
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157255
|
+
} | {
|
|
157256
|
+
action: "read_operation";
|
|
157257
|
+
operation: {
|
|
157258
|
+
kind: "command";
|
|
157259
|
+
serialNumber: string;
|
|
157260
|
+
idempotencyKey: string;
|
|
157261
|
+
} | {
|
|
157262
|
+
kind: "firmware";
|
|
157263
|
+
serialNumber: string;
|
|
157264
|
+
updateId: string;
|
|
157265
|
+
} | {
|
|
157266
|
+
kind: "bluetooth_firmware";
|
|
157267
|
+
deviceId: string;
|
|
157268
|
+
updateId: string;
|
|
157269
|
+
} | {
|
|
157270
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157271
|
+
deviceId: string;
|
|
157272
|
+
requestId: string;
|
|
157273
|
+
} | {
|
|
157274
|
+
kind: "support";
|
|
157275
|
+
requestId: string;
|
|
157276
|
+
};
|
|
157277
|
+
};
|
|
157278
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157279
|
+
currentRevision?: string | undefined;
|
|
157280
|
+
retryAfterSeconds?: number | undefined;
|
|
157281
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157282
|
+
traceId: string;
|
|
157283
|
+
recovery: {
|
|
157284
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157285
|
+
} | {
|
|
157286
|
+
action: "read_operation";
|
|
157287
|
+
operation: {
|
|
157288
|
+
kind: "command";
|
|
157289
|
+
serialNumber: string;
|
|
157290
|
+
idempotencyKey: string;
|
|
157291
|
+
} | {
|
|
157292
|
+
kind: "firmware";
|
|
157293
|
+
serialNumber: string;
|
|
157294
|
+
updateId: string;
|
|
157295
|
+
} | {
|
|
157296
|
+
kind: "bluetooth_firmware";
|
|
157297
|
+
deviceId: string;
|
|
157298
|
+
updateId: string;
|
|
157299
|
+
} | {
|
|
157300
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157301
|
+
deviceId: string;
|
|
157302
|
+
requestId: string;
|
|
157303
|
+
} | {
|
|
157304
|
+
kind: "support";
|
|
157305
|
+
requestId: string;
|
|
157306
|
+
};
|
|
157307
|
+
};
|
|
157308
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157309
|
+
currentRevision?: string | undefined;
|
|
157310
|
+
retryAfterSeconds?: number | undefined;
|
|
157311
|
+
}, unknown>>;
|
|
157312
|
+
};
|
|
157313
|
+
readonly rate_limited: {
|
|
157314
|
+
readonly status: 429;
|
|
157315
|
+
readonly data: z$1.ZodType<{
|
|
157316
|
+
traceId: string;
|
|
157317
|
+
recovery: {
|
|
157318
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157319
|
+
} | {
|
|
157320
|
+
action: "read_operation";
|
|
157321
|
+
operation: {
|
|
157322
|
+
kind: "command";
|
|
157323
|
+
serialNumber: string;
|
|
157324
|
+
idempotencyKey: string;
|
|
157325
|
+
} | {
|
|
157326
|
+
kind: "firmware";
|
|
157327
|
+
serialNumber: string;
|
|
157328
|
+
updateId: string;
|
|
157329
|
+
} | {
|
|
157330
|
+
kind: "bluetooth_firmware";
|
|
157331
|
+
deviceId: string;
|
|
157332
|
+
updateId: string;
|
|
157333
|
+
} | {
|
|
157334
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157335
|
+
deviceId: string;
|
|
157336
|
+
requestId: string;
|
|
157337
|
+
} | {
|
|
157338
|
+
kind: "support";
|
|
157339
|
+
requestId: string;
|
|
157340
|
+
};
|
|
157341
|
+
};
|
|
157342
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157343
|
+
currentRevision?: string | undefined;
|
|
157344
|
+
retryAfterSeconds?: number | undefined;
|
|
157345
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157346
|
+
traceId: string;
|
|
157347
|
+
recovery: {
|
|
157348
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157349
|
+
} | {
|
|
157350
|
+
action: "read_operation";
|
|
157351
|
+
operation: {
|
|
157352
|
+
kind: "command";
|
|
157353
|
+
serialNumber: string;
|
|
157354
|
+
idempotencyKey: string;
|
|
157355
|
+
} | {
|
|
157356
|
+
kind: "firmware";
|
|
157357
|
+
serialNumber: string;
|
|
157358
|
+
updateId: string;
|
|
157359
|
+
} | {
|
|
157360
|
+
kind: "bluetooth_firmware";
|
|
157361
|
+
deviceId: string;
|
|
157362
|
+
updateId: string;
|
|
157363
|
+
} | {
|
|
157364
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157365
|
+
deviceId: string;
|
|
157366
|
+
requestId: string;
|
|
157367
|
+
} | {
|
|
157368
|
+
kind: "support";
|
|
157369
|
+
requestId: string;
|
|
157370
|
+
};
|
|
157371
|
+
};
|
|
157372
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157373
|
+
currentRevision?: string | undefined;
|
|
157374
|
+
retryAfterSeconds?: number | undefined;
|
|
157375
|
+
}, unknown>>;
|
|
157376
|
+
};
|
|
157377
|
+
readonly stored_data_invalid: {
|
|
157378
|
+
readonly status: 503;
|
|
157379
|
+
readonly data: z$1.ZodType<{
|
|
157380
|
+
traceId: string;
|
|
157381
|
+
recovery: {
|
|
157382
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157383
|
+
} | {
|
|
157384
|
+
action: "read_operation";
|
|
157385
|
+
operation: {
|
|
157386
|
+
kind: "command";
|
|
157387
|
+
serialNumber: string;
|
|
157388
|
+
idempotencyKey: string;
|
|
157389
|
+
} | {
|
|
157390
|
+
kind: "firmware";
|
|
157391
|
+
serialNumber: string;
|
|
157392
|
+
updateId: string;
|
|
157393
|
+
} | {
|
|
157394
|
+
kind: "bluetooth_firmware";
|
|
157395
|
+
deviceId: string;
|
|
157396
|
+
updateId: string;
|
|
157397
|
+
} | {
|
|
157398
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157399
|
+
deviceId: string;
|
|
157400
|
+
requestId: string;
|
|
157401
|
+
} | {
|
|
157402
|
+
kind: "support";
|
|
157403
|
+
requestId: string;
|
|
157404
|
+
};
|
|
157405
|
+
};
|
|
157406
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157407
|
+
currentRevision?: string | undefined;
|
|
157408
|
+
retryAfterSeconds?: number | undefined;
|
|
157409
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157410
|
+
traceId: string;
|
|
157411
|
+
recovery: {
|
|
157412
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157413
|
+
} | {
|
|
157414
|
+
action: "read_operation";
|
|
157415
|
+
operation: {
|
|
157416
|
+
kind: "command";
|
|
157417
|
+
serialNumber: string;
|
|
157418
|
+
idempotencyKey: string;
|
|
157419
|
+
} | {
|
|
157420
|
+
kind: "firmware";
|
|
157421
|
+
serialNumber: string;
|
|
157422
|
+
updateId: string;
|
|
157423
|
+
} | {
|
|
157424
|
+
kind: "bluetooth_firmware";
|
|
157425
|
+
deviceId: string;
|
|
157426
|
+
updateId: string;
|
|
157427
|
+
} | {
|
|
157428
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157429
|
+
deviceId: string;
|
|
157430
|
+
requestId: string;
|
|
157431
|
+
} | {
|
|
157432
|
+
kind: "support";
|
|
157433
|
+
requestId: string;
|
|
157434
|
+
};
|
|
157435
|
+
};
|
|
157436
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157437
|
+
currentRevision?: string | undefined;
|
|
157438
|
+
retryAfterSeconds?: number | undefined;
|
|
157439
|
+
}, unknown>>;
|
|
157440
|
+
};
|
|
157441
|
+
readonly service_unavailable: {
|
|
157442
|
+
readonly status: 503;
|
|
157443
|
+
readonly data: z$1.ZodType<{
|
|
157444
|
+
traceId: string;
|
|
157445
|
+
recovery: {
|
|
157446
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157447
|
+
} | {
|
|
157448
|
+
action: "read_operation";
|
|
157449
|
+
operation: {
|
|
157450
|
+
kind: "command";
|
|
157451
|
+
serialNumber: string;
|
|
157452
|
+
idempotencyKey: string;
|
|
157453
|
+
} | {
|
|
157454
|
+
kind: "firmware";
|
|
157455
|
+
serialNumber: string;
|
|
157456
|
+
updateId: string;
|
|
157457
|
+
} | {
|
|
157458
|
+
kind: "bluetooth_firmware";
|
|
157459
|
+
deviceId: string;
|
|
157460
|
+
updateId: string;
|
|
157461
|
+
} | {
|
|
157462
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157463
|
+
deviceId: string;
|
|
157464
|
+
requestId: string;
|
|
157465
|
+
} | {
|
|
157466
|
+
kind: "support";
|
|
157467
|
+
requestId: string;
|
|
157468
|
+
};
|
|
157469
|
+
};
|
|
157470
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157471
|
+
currentRevision?: string | undefined;
|
|
157472
|
+
retryAfterSeconds?: number | undefined;
|
|
157473
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157474
|
+
traceId: string;
|
|
157475
|
+
recovery: {
|
|
157476
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157477
|
+
} | {
|
|
157478
|
+
action: "read_operation";
|
|
157479
|
+
operation: {
|
|
157480
|
+
kind: "command";
|
|
157481
|
+
serialNumber: string;
|
|
157482
|
+
idempotencyKey: string;
|
|
157483
|
+
} | {
|
|
157484
|
+
kind: "firmware";
|
|
157485
|
+
serialNumber: string;
|
|
157486
|
+
updateId: string;
|
|
157487
|
+
} | {
|
|
157488
|
+
kind: "bluetooth_firmware";
|
|
157489
|
+
deviceId: string;
|
|
157490
|
+
updateId: string;
|
|
157491
|
+
} | {
|
|
157492
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157493
|
+
deviceId: string;
|
|
157494
|
+
requestId: string;
|
|
157495
|
+
} | {
|
|
157496
|
+
kind: "support";
|
|
157497
|
+
requestId: string;
|
|
157498
|
+
};
|
|
157499
|
+
};
|
|
157500
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157501
|
+
currentRevision?: string | undefined;
|
|
157502
|
+
retryAfterSeconds?: number | undefined;
|
|
157503
|
+
}, unknown>>;
|
|
157504
|
+
};
|
|
157505
|
+
readonly read_unavailable: {
|
|
157506
|
+
readonly status: 503;
|
|
157507
|
+
readonly data: z$1.ZodType<{
|
|
157508
|
+
traceId: string;
|
|
157509
|
+
recovery: {
|
|
157510
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157511
|
+
} | {
|
|
157512
|
+
action: "read_operation";
|
|
157513
|
+
operation: {
|
|
157514
|
+
kind: "command";
|
|
157515
|
+
serialNumber: string;
|
|
157516
|
+
idempotencyKey: string;
|
|
157517
|
+
} | {
|
|
157518
|
+
kind: "firmware";
|
|
157519
|
+
serialNumber: string;
|
|
157520
|
+
updateId: string;
|
|
157521
|
+
} | {
|
|
157522
|
+
kind: "bluetooth_firmware";
|
|
157523
|
+
deviceId: string;
|
|
157524
|
+
updateId: string;
|
|
157525
|
+
} | {
|
|
157526
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157527
|
+
deviceId: string;
|
|
157528
|
+
requestId: string;
|
|
157529
|
+
} | {
|
|
157530
|
+
kind: "support";
|
|
157531
|
+
requestId: string;
|
|
157532
|
+
};
|
|
157533
|
+
};
|
|
157534
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157535
|
+
currentRevision?: string | undefined;
|
|
157536
|
+
retryAfterSeconds?: number | undefined;
|
|
157537
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157538
|
+
traceId: string;
|
|
157539
|
+
recovery: {
|
|
157540
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157541
|
+
} | {
|
|
157542
|
+
action: "read_operation";
|
|
157543
|
+
operation: {
|
|
157544
|
+
kind: "command";
|
|
157545
|
+
serialNumber: string;
|
|
157546
|
+
idempotencyKey: string;
|
|
157547
|
+
} | {
|
|
157548
|
+
kind: "firmware";
|
|
157549
|
+
serialNumber: string;
|
|
157550
|
+
updateId: string;
|
|
157551
|
+
} | {
|
|
157552
|
+
kind: "bluetooth_firmware";
|
|
157553
|
+
deviceId: string;
|
|
157554
|
+
updateId: string;
|
|
157555
|
+
} | {
|
|
157556
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157557
|
+
deviceId: string;
|
|
157558
|
+
requestId: string;
|
|
157559
|
+
} | {
|
|
157560
|
+
kind: "support";
|
|
157561
|
+
requestId: string;
|
|
157562
|
+
};
|
|
157563
|
+
};
|
|
157564
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157565
|
+
currentRevision?: string | undefined;
|
|
157566
|
+
retryAfterSeconds?: number | undefined;
|
|
157567
|
+
}, unknown>>;
|
|
157568
|
+
};
|
|
157569
|
+
readonly stream_unavailable: {
|
|
157570
|
+
readonly status: 503;
|
|
157571
|
+
readonly data: z$1.ZodType<{
|
|
157572
|
+
traceId: string;
|
|
157573
|
+
recovery: {
|
|
157574
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157575
|
+
} | {
|
|
157576
|
+
action: "read_operation";
|
|
157577
|
+
operation: {
|
|
157578
|
+
kind: "command";
|
|
157579
|
+
serialNumber: string;
|
|
157580
|
+
idempotencyKey: string;
|
|
157581
|
+
} | {
|
|
157582
|
+
kind: "firmware";
|
|
157583
|
+
serialNumber: string;
|
|
157584
|
+
updateId: string;
|
|
157585
|
+
} | {
|
|
157586
|
+
kind: "bluetooth_firmware";
|
|
157587
|
+
deviceId: string;
|
|
157588
|
+
updateId: string;
|
|
157589
|
+
} | {
|
|
157590
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157591
|
+
deviceId: string;
|
|
157592
|
+
requestId: string;
|
|
157593
|
+
} | {
|
|
157594
|
+
kind: "support";
|
|
157595
|
+
requestId: string;
|
|
157596
|
+
};
|
|
157597
|
+
};
|
|
157598
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157599
|
+
currentRevision?: string | undefined;
|
|
157600
|
+
retryAfterSeconds?: number | undefined;
|
|
157601
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157602
|
+
traceId: string;
|
|
157603
|
+
recovery: {
|
|
157604
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157605
|
+
} | {
|
|
157606
|
+
action: "read_operation";
|
|
157607
|
+
operation: {
|
|
157608
|
+
kind: "command";
|
|
157609
|
+
serialNumber: string;
|
|
157610
|
+
idempotencyKey: string;
|
|
157611
|
+
} | {
|
|
157612
|
+
kind: "firmware";
|
|
157613
|
+
serialNumber: string;
|
|
157614
|
+
updateId: string;
|
|
157615
|
+
} | {
|
|
157616
|
+
kind: "bluetooth_firmware";
|
|
157617
|
+
deviceId: string;
|
|
157618
|
+
updateId: string;
|
|
157619
|
+
} | {
|
|
157620
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157621
|
+
deviceId: string;
|
|
157622
|
+
requestId: string;
|
|
157623
|
+
} | {
|
|
157624
|
+
kind: "support";
|
|
157625
|
+
requestId: string;
|
|
157626
|
+
};
|
|
157627
|
+
};
|
|
157628
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157629
|
+
currentRevision?: string | undefined;
|
|
157630
|
+
retryAfterSeconds?: number | undefined;
|
|
157631
|
+
}, unknown>>;
|
|
157632
|
+
};
|
|
157633
|
+
readonly payload_too_large: {
|
|
157634
|
+
readonly status: 413;
|
|
157635
|
+
readonly data: z$1.ZodType<{
|
|
157636
|
+
traceId: string;
|
|
157637
|
+
recovery: {
|
|
157638
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157639
|
+
} | {
|
|
157640
|
+
action: "read_operation";
|
|
157641
|
+
operation: {
|
|
157642
|
+
kind: "command";
|
|
157643
|
+
serialNumber: string;
|
|
157644
|
+
idempotencyKey: string;
|
|
157645
|
+
} | {
|
|
157646
|
+
kind: "firmware";
|
|
157647
|
+
serialNumber: string;
|
|
157648
|
+
updateId: string;
|
|
157649
|
+
} | {
|
|
157650
|
+
kind: "bluetooth_firmware";
|
|
157651
|
+
deviceId: string;
|
|
157652
|
+
updateId: string;
|
|
157653
|
+
} | {
|
|
157654
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157655
|
+
deviceId: string;
|
|
157656
|
+
requestId: string;
|
|
157657
|
+
} | {
|
|
157658
|
+
kind: "support";
|
|
157659
|
+
requestId: string;
|
|
157660
|
+
};
|
|
157661
|
+
};
|
|
157662
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157663
|
+
currentRevision?: string | undefined;
|
|
157664
|
+
retryAfterSeconds?: number | undefined;
|
|
157665
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157666
|
+
traceId: string;
|
|
157667
|
+
recovery: {
|
|
157668
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157669
|
+
} | {
|
|
157670
|
+
action: "read_operation";
|
|
157671
|
+
operation: {
|
|
157672
|
+
kind: "command";
|
|
157673
|
+
serialNumber: string;
|
|
157674
|
+
idempotencyKey: string;
|
|
157675
|
+
} | {
|
|
157676
|
+
kind: "firmware";
|
|
157677
|
+
serialNumber: string;
|
|
157678
|
+
updateId: string;
|
|
157679
|
+
} | {
|
|
157680
|
+
kind: "bluetooth_firmware";
|
|
157681
|
+
deviceId: string;
|
|
157682
|
+
updateId: string;
|
|
157683
|
+
} | {
|
|
157684
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157685
|
+
deviceId: string;
|
|
157686
|
+
requestId: string;
|
|
157687
|
+
} | {
|
|
157688
|
+
kind: "support";
|
|
157689
|
+
requestId: string;
|
|
157690
|
+
};
|
|
157691
|
+
};
|
|
157692
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157693
|
+
currentRevision?: string | undefined;
|
|
157694
|
+
retryAfterSeconds?: number | undefined;
|
|
157695
|
+
}, unknown>>;
|
|
157696
|
+
};
|
|
157697
|
+
readonly request_timeout: {
|
|
157698
|
+
readonly status: 503;
|
|
157699
|
+
readonly data: z$1.ZodType<{
|
|
157700
|
+
traceId: string;
|
|
157701
|
+
recovery: {
|
|
157702
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157703
|
+
} | {
|
|
157704
|
+
action: "read_operation";
|
|
157705
|
+
operation: {
|
|
157706
|
+
kind: "command";
|
|
157707
|
+
serialNumber: string;
|
|
157708
|
+
idempotencyKey: string;
|
|
157709
|
+
} | {
|
|
157710
|
+
kind: "firmware";
|
|
157711
|
+
serialNumber: string;
|
|
157712
|
+
updateId: string;
|
|
157713
|
+
} | {
|
|
157714
|
+
kind: "bluetooth_firmware";
|
|
157715
|
+
deviceId: string;
|
|
157716
|
+
updateId: string;
|
|
157717
|
+
} | {
|
|
157718
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157719
|
+
deviceId: string;
|
|
157720
|
+
requestId: string;
|
|
157721
|
+
} | {
|
|
157722
|
+
kind: "support";
|
|
157723
|
+
requestId: string;
|
|
157724
|
+
};
|
|
157725
|
+
};
|
|
157726
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157727
|
+
currentRevision?: string | undefined;
|
|
157728
|
+
retryAfterSeconds?: number | undefined;
|
|
157729
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157730
|
+
traceId: string;
|
|
157731
|
+
recovery: {
|
|
157732
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157733
|
+
} | {
|
|
157734
|
+
action: "read_operation";
|
|
157735
|
+
operation: {
|
|
157736
|
+
kind: "command";
|
|
157737
|
+
serialNumber: string;
|
|
157738
|
+
idempotencyKey: string;
|
|
157739
|
+
} | {
|
|
157740
|
+
kind: "firmware";
|
|
157741
|
+
serialNumber: string;
|
|
157742
|
+
updateId: string;
|
|
157743
|
+
} | {
|
|
157744
|
+
kind: "bluetooth_firmware";
|
|
157745
|
+
deviceId: string;
|
|
157746
|
+
updateId: string;
|
|
157747
|
+
} | {
|
|
157748
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157749
|
+
deviceId: string;
|
|
157750
|
+
requestId: string;
|
|
157751
|
+
} | {
|
|
157752
|
+
kind: "support";
|
|
157753
|
+
requestId: string;
|
|
157754
|
+
};
|
|
157755
|
+
};
|
|
157756
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157757
|
+
currentRevision?: string | undefined;
|
|
157758
|
+
retryAfterSeconds?: number | undefined;
|
|
157759
|
+
}, unknown>>;
|
|
157760
|
+
};
|
|
157761
|
+
readonly operation_unconfirmed: {
|
|
157762
|
+
readonly status: 503;
|
|
157763
|
+
readonly data: z$1.ZodType<{
|
|
157764
|
+
traceId: string;
|
|
157765
|
+
recovery: {
|
|
157766
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157767
|
+
} | {
|
|
157768
|
+
action: "read_operation";
|
|
157769
|
+
operation: {
|
|
157770
|
+
kind: "command";
|
|
157771
|
+
serialNumber: string;
|
|
157772
|
+
idempotencyKey: string;
|
|
157773
|
+
} | {
|
|
157774
|
+
kind: "firmware";
|
|
157775
|
+
serialNumber: string;
|
|
157776
|
+
updateId: string;
|
|
157777
|
+
} | {
|
|
157778
|
+
kind: "bluetooth_firmware";
|
|
157779
|
+
deviceId: string;
|
|
157780
|
+
updateId: string;
|
|
157781
|
+
} | {
|
|
157782
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157783
|
+
deviceId: string;
|
|
157784
|
+
requestId: string;
|
|
157785
|
+
} | {
|
|
157786
|
+
kind: "support";
|
|
157787
|
+
requestId: string;
|
|
157788
|
+
};
|
|
157789
|
+
};
|
|
157790
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157791
|
+
currentRevision?: string | undefined;
|
|
157792
|
+
retryAfterSeconds?: number | undefined;
|
|
157793
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157794
|
+
traceId: string;
|
|
157795
|
+
recovery: {
|
|
157796
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157797
|
+
} | {
|
|
157798
|
+
action: "read_operation";
|
|
157799
|
+
operation: {
|
|
157800
|
+
kind: "command";
|
|
157801
|
+
serialNumber: string;
|
|
157802
|
+
idempotencyKey: string;
|
|
157803
|
+
} | {
|
|
157804
|
+
kind: "firmware";
|
|
157805
|
+
serialNumber: string;
|
|
157806
|
+
updateId: string;
|
|
157807
|
+
} | {
|
|
157808
|
+
kind: "bluetooth_firmware";
|
|
157809
|
+
deviceId: string;
|
|
157810
|
+
updateId: string;
|
|
157811
|
+
} | {
|
|
157812
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157813
|
+
deviceId: string;
|
|
157814
|
+
requestId: string;
|
|
157815
|
+
} | {
|
|
157816
|
+
kind: "support";
|
|
157817
|
+
requestId: string;
|
|
157818
|
+
};
|
|
157819
|
+
};
|
|
157820
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157821
|
+
currentRevision?: string | undefined;
|
|
157822
|
+
retryAfterSeconds?: number | undefined;
|
|
157823
|
+
}, unknown>>;
|
|
157824
|
+
};
|
|
157825
|
+
readonly directory_unavailable: {
|
|
157826
|
+
readonly status: 503;
|
|
157827
|
+
readonly data: z$1.ZodType<{
|
|
157828
|
+
traceId: string;
|
|
157829
|
+
recovery: {
|
|
157830
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157831
|
+
} | {
|
|
157832
|
+
action: "read_operation";
|
|
157833
|
+
operation: {
|
|
157834
|
+
kind: "command";
|
|
157835
|
+
serialNumber: string;
|
|
157836
|
+
idempotencyKey: string;
|
|
157837
|
+
} | {
|
|
157838
|
+
kind: "firmware";
|
|
157839
|
+
serialNumber: string;
|
|
157840
|
+
updateId: string;
|
|
157841
|
+
} | {
|
|
157842
|
+
kind: "bluetooth_firmware";
|
|
157843
|
+
deviceId: string;
|
|
157844
|
+
updateId: string;
|
|
157845
|
+
} | {
|
|
157846
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157847
|
+
deviceId: string;
|
|
157848
|
+
requestId: string;
|
|
157849
|
+
} | {
|
|
157850
|
+
kind: "support";
|
|
157851
|
+
requestId: string;
|
|
157852
|
+
};
|
|
157853
|
+
};
|
|
157854
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157855
|
+
currentRevision?: string | undefined;
|
|
157856
|
+
retryAfterSeconds?: number | undefined;
|
|
157857
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
157858
|
+
traceId: string;
|
|
157859
|
+
recovery: {
|
|
157860
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
157861
|
+
} | {
|
|
157862
|
+
action: "read_operation";
|
|
157863
|
+
operation: {
|
|
157864
|
+
kind: "command";
|
|
157865
|
+
serialNumber: string;
|
|
157866
|
+
idempotencyKey: string;
|
|
157867
|
+
} | {
|
|
157868
|
+
kind: "firmware";
|
|
157869
|
+
serialNumber: string;
|
|
157870
|
+
updateId: string;
|
|
157871
|
+
} | {
|
|
157872
|
+
kind: "bluetooth_firmware";
|
|
157873
|
+
deviceId: string;
|
|
157874
|
+
updateId: string;
|
|
157875
|
+
} | {
|
|
157876
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
157877
|
+
deviceId: string;
|
|
157878
|
+
requestId: string;
|
|
157879
|
+
} | {
|
|
157880
|
+
kind: "support";
|
|
157881
|
+
requestId: string;
|
|
157882
|
+
};
|
|
157883
|
+
};
|
|
157884
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
157885
|
+
currentRevision?: string | undefined;
|
|
157886
|
+
retryAfterSeconds?: number | undefined;
|
|
157887
|
+
}, unknown>>;
|
|
157888
|
+
};
|
|
157889
|
+
}>, Record<never, never>>;
|
|
154586
157890
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
154587
157891
|
deviceId: z$1.ZodString;
|
|
154588
157892
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -162219,6 +165523,9 @@ export declare const staffContract: {
|
|
|
162219
165523
|
aws: typeof awsContract;
|
|
162220
165524
|
};
|
|
162221
165525
|
export type StaffClient = ContractRouterClient<typeof staffContract>;
|
|
165526
|
+
export type StaffTrackerDetails = z$1.infer<typeof staffTrackerDetails>;
|
|
165527
|
+
export type StaffTrackerMemberPageInput = z$1.output<typeof staffTrackerMemberPageInput>;
|
|
165528
|
+
export type StaffTrackerMemberPage = z$1.infer<typeof staffTrackerMemberPage>;
|
|
162222
165529
|
export type StaffTracker = z$1.infer<typeof staffTracker>;
|
|
162223
165530
|
export type StaffTrackerSummary = z$1.infer<typeof staffTrackerSummary>;
|
|
162224
165531
|
export type StaffTrackerPage = z$1.infer<typeof staffTrackerPage>;
|
|
@@ -162310,6 +165617,8 @@ declare const zDeviceSettings: z.ZodObject<{
|
|
|
162310
165617
|
}>>;
|
|
162311
165618
|
chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
|
|
162312
165619
|
reportIntervalOnBatterySeconds: z.ZodOptional<z.ZodInt>;
|
|
165620
|
+
accelerationSamplingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
165621
|
+
accelerationChangePercent: z.ZodOptional<z.ZodInt>;
|
|
162313
165622
|
}, z.core.$strict>;
|
|
162314
165623
|
|
|
162315
165624
|
export {
|