@bikefinder/staff-sdk 0.12.0 → 0.13.0
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-WQGCHZBN.js} +30 -1
- package/dist/index.d.ts +3349 -126
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +3349 -126
- package/dist/schemas.js +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7478,6 +7478,115 @@ export declare const tracker: z$1.ZodObject<{
|
|
|
7478
7478
|
createdAt: z$1.ZodISODateTime;
|
|
7479
7479
|
updatedAt: z$1.ZodISODateTime;
|
|
7480
7480
|
}, z$1.core.$strip>;
|
|
7481
|
+
export declare const customerTrackerDetails: z$1.ZodObject<{
|
|
7482
|
+
id: z$1.ZodString;
|
|
7483
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
7484
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
7485
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
7486
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
7487
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
7488
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
7489
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
7490
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
7491
|
+
}, z$1.core.$strip>>;
|
|
7492
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
7493
|
+
z$1.ZodObject<{
|
|
7494
|
+
id: z$1.ZodString;
|
|
7495
|
+
activity: z$1.ZodEnum<{
|
|
7496
|
+
unknown: "unknown";
|
|
7497
|
+
active: "active";
|
|
7498
|
+
inactive: "inactive";
|
|
7499
|
+
}>;
|
|
7500
|
+
isDemo: z$1.ZodBoolean;
|
|
7501
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
7502
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
7503
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7504
|
+
state: z$1.ZodLiteral<"available">;
|
|
7505
|
+
}, z$1.core.$strip>,
|
|
7506
|
+
z$1.ZodObject<{
|
|
7507
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
7508
|
+
reason: z$1.ZodEnum<{
|
|
7509
|
+
invalid: "invalid";
|
|
7510
|
+
not_observed: "not_observed";
|
|
7511
|
+
not_assigned: "not_assigned";
|
|
7512
|
+
}>;
|
|
7513
|
+
}, z$1.core.$strip>
|
|
7514
|
+
], "state">;
|
|
7515
|
+
createdAt: z$1.ZodISODateTime;
|
|
7516
|
+
revision: z$1.ZodString;
|
|
7517
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
7518
|
+
z$1.ZodObject<{
|
|
7519
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7520
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
7521
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7522
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7523
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
7524
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7525
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7526
|
+
}, z$1.core.$strip>>;
|
|
7527
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
7528
|
+
state: z$1.ZodLiteral<"available">;
|
|
7529
|
+
}, z$1.core.$strip>,
|
|
7530
|
+
z$1.ZodObject<{
|
|
7531
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
7532
|
+
reason: z$1.ZodEnum<{
|
|
7533
|
+
invalid: "invalid";
|
|
7534
|
+
not_observed: "not_observed";
|
|
7535
|
+
not_assigned: "not_assigned";
|
|
7536
|
+
}>;
|
|
7537
|
+
}, z$1.core.$strip>
|
|
7538
|
+
], "state">;
|
|
7539
|
+
identity: z$1.ZodNullable<z$1.ZodObject<{
|
|
7540
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
7541
|
+
}, z$1.core.$strip>>;
|
|
7542
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
7543
|
+
bike: z$1.ZodObject<{
|
|
7544
|
+
revision: z$1.ZodString;
|
|
7545
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
7546
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
7547
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
7548
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
7549
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
7550
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
7551
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
7552
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
7553
|
+
}, z$1.core.$strip>;
|
|
7554
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
7555
|
+
z$1.ZodObject<{
|
|
7556
|
+
latitude: z$1.ZodNumber;
|
|
7557
|
+
longitude: z$1.ZodNumber;
|
|
7558
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7559
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
7560
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
7561
|
+
state: z$1.ZodLiteral<"available">;
|
|
7562
|
+
}, z$1.core.$strip>,
|
|
7563
|
+
z$1.ZodObject<{
|
|
7564
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
7565
|
+
reason: z$1.ZodEnum<{
|
|
7566
|
+
invalid: "invalid";
|
|
7567
|
+
not_observed: "not_observed";
|
|
7568
|
+
not_assigned: "not_assigned";
|
|
7569
|
+
}>;
|
|
7570
|
+
}, z$1.core.$strip>
|
|
7571
|
+
], "state">;
|
|
7572
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
7573
|
+
path: z$1.ZodString;
|
|
7574
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
7575
|
+
}, z$1.core.$strip>>;
|
|
7576
|
+
updatedAt: z$1.ZodISODateTime;
|
|
7577
|
+
preferences: z$1.ZodObject<{
|
|
7578
|
+
movementAlerts: z$1.ZodBoolean;
|
|
7579
|
+
}, z$1.core.$strip>;
|
|
7580
|
+
capabilities: z$1.ZodObject<{
|
|
7581
|
+
firmwareUpdates: z$1.ZodBoolean;
|
|
7582
|
+
factoryResetReports: z$1.ZodBoolean;
|
|
7583
|
+
}, z$1.core.$strip>;
|
|
7584
|
+
membership: z$1.ZodObject<{
|
|
7585
|
+
accountId: z$1.ZodString;
|
|
7586
|
+
activeMemberCount: z$1.ZodInt;
|
|
7587
|
+
}, z$1.core.$strip>;
|
|
7588
|
+
}, z$1.core.$strip>;
|
|
7589
|
+
export type CustomerTrackerDetails = z$1.infer<typeof customerTrackerDetails>;
|
|
7481
7590
|
export type Tracker = z$1.infer<typeof tracker>;
|
|
7482
7591
|
export type TrackerSummary = z$1.infer<typeof trackerSummary>;
|
|
7483
7592
|
export type TrackerPage = z$1.infer<typeof trackerPage>;
|
|
@@ -87414,6 +87523,131 @@ declare const staffTracker: z$1.ZodObject<{
|
|
|
87414
87523
|
createdAt: z$1.ZodISODateTime;
|
|
87415
87524
|
updatedAt: z$1.ZodISODateTime;
|
|
87416
87525
|
}, z$1.core.$strip>;
|
|
87526
|
+
declare const staffTrackerDetails: z$1.ZodObject<{
|
|
87527
|
+
id: z$1.ZodString;
|
|
87528
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
87529
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
87530
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
87531
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
87532
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
87533
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
87534
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
87535
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
87536
|
+
}, z$1.core.$strip>>;
|
|
87537
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
87538
|
+
z$1.ZodObject<{
|
|
87539
|
+
id: z$1.ZodString;
|
|
87540
|
+
activity: z$1.ZodEnum<{
|
|
87541
|
+
unknown: "unknown";
|
|
87542
|
+
active: "active";
|
|
87543
|
+
inactive: "inactive";
|
|
87544
|
+
}>;
|
|
87545
|
+
isDemo: z$1.ZodBoolean;
|
|
87546
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
87547
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
87548
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87549
|
+
state: z$1.ZodLiteral<"available">;
|
|
87550
|
+
}, z$1.core.$strip>,
|
|
87551
|
+
z$1.ZodObject<{
|
|
87552
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
87553
|
+
reason: z$1.ZodEnum<{
|
|
87554
|
+
invalid: "invalid";
|
|
87555
|
+
not_observed: "not_observed";
|
|
87556
|
+
not_assigned: "not_assigned";
|
|
87557
|
+
}>;
|
|
87558
|
+
}, z$1.core.$strip>
|
|
87559
|
+
], "state">;
|
|
87560
|
+
createdAt: z$1.ZodISODateTime;
|
|
87561
|
+
revision: z$1.ZodString;
|
|
87562
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
87563
|
+
z$1.ZodObject<{
|
|
87564
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
87565
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
87566
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87567
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87568
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
87569
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87570
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87571
|
+
}, z$1.core.$strip>>;
|
|
87572
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
87573
|
+
state: z$1.ZodLiteral<"available">;
|
|
87574
|
+
}, z$1.core.$strip>,
|
|
87575
|
+
z$1.ZodObject<{
|
|
87576
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
87577
|
+
reason: z$1.ZodEnum<{
|
|
87578
|
+
invalid: "invalid";
|
|
87579
|
+
not_observed: "not_observed";
|
|
87580
|
+
not_assigned: "not_assigned";
|
|
87581
|
+
}>;
|
|
87582
|
+
}, z$1.core.$strip>
|
|
87583
|
+
], "state">;
|
|
87584
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
87585
|
+
bike: z$1.ZodObject<{
|
|
87586
|
+
revision: z$1.ZodString;
|
|
87587
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
87588
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
87589
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
87590
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
87591
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
87592
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
87593
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
87594
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
87595
|
+
}, z$1.core.$strip>;
|
|
87596
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
87597
|
+
z$1.ZodObject<{
|
|
87598
|
+
latitude: z$1.ZodNumber;
|
|
87599
|
+
longitude: z$1.ZodNumber;
|
|
87600
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
87601
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
87602
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87603
|
+
state: z$1.ZodLiteral<"available">;
|
|
87604
|
+
}, z$1.core.$strip>,
|
|
87605
|
+
z$1.ZodObject<{
|
|
87606
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
87607
|
+
reason: z$1.ZodEnum<{
|
|
87608
|
+
invalid: "invalid";
|
|
87609
|
+
not_observed: "not_observed";
|
|
87610
|
+
not_assigned: "not_assigned";
|
|
87611
|
+
}>;
|
|
87612
|
+
}, z$1.core.$strip>
|
|
87613
|
+
], "state">;
|
|
87614
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
87615
|
+
path: z$1.ZodString;
|
|
87616
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
87617
|
+
}, z$1.core.$strip>>;
|
|
87618
|
+
updatedAt: z$1.ZodISODateTime;
|
|
87619
|
+
hardware: z$1.ZodNullable<z$1.ZodObject<{
|
|
87620
|
+
imei: z$1.ZodNullable<z$1.ZodString>;
|
|
87621
|
+
iccid: z$1.ZodNullable<z$1.ZodString>;
|
|
87622
|
+
imsi: z$1.ZodNullable<z$1.ZodString>;
|
|
87623
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
87624
|
+
}, z$1.core.$strip>>;
|
|
87625
|
+
backend: z$1.ZodNullable<z$1.ZodString>;
|
|
87626
|
+
configuration: z$1.ZodNullable<z$1.ZodObject<{
|
|
87627
|
+
movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
87628
|
+
isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
87629
|
+
}, z$1.core.$strip>>;
|
|
87630
|
+
membership: z$1.ZodObject<{
|
|
87631
|
+
revision: z$1.ZodString;
|
|
87632
|
+
memberCount: z$1.ZodInt;
|
|
87633
|
+
}, z$1.core.$strip>;
|
|
87634
|
+
}, z$1.core.$strip>;
|
|
87635
|
+
declare const staffTrackerMemberPageInput: z$1.ZodObject<{
|
|
87636
|
+
deviceId: z$1.ZodString;
|
|
87637
|
+
revision: z$1.ZodString;
|
|
87638
|
+
after: z$1.ZodOptional<z$1.ZodString>;
|
|
87639
|
+
limit: z$1.ZodDefault<z$1.ZodInt>;
|
|
87640
|
+
}, z$1.core.$strict>;
|
|
87641
|
+
declare const staffTrackerMemberPage: z$1.ZodObject<{
|
|
87642
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
87643
|
+
active: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
87644
|
+
displayName: z$1.ZodNullable<z$1.ZodString>;
|
|
87645
|
+
listOrder: z$1.ZodNullable<z$1.ZodInt>;
|
|
87646
|
+
joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
87647
|
+
accountId: z$1.ZodString;
|
|
87648
|
+
}, z$1.core.$strip>>;
|
|
87649
|
+
nextAfter: z$1.ZodNullable<z$1.ZodString>;
|
|
87650
|
+
}, z$1.core.$strip>;
|
|
87417
87651
|
export declare const staffSubscription: z$1.ZodObject<{
|
|
87418
87652
|
accountId: z$1.ZodNullable<z$1.ZodString>;
|
|
87419
87653
|
name: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -179887,11 +180121,21 @@ export type DeviceInput = z$1.infer<typeof deviceInput>;
|
|
|
179887
180121
|
export type DeviceLookupInput = z$1.infer<typeof deviceLookupInput>;
|
|
179888
180122
|
declare const trackerContract: {
|
|
179889
180123
|
members: {
|
|
179890
|
-
|
|
180124
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
179891
180125
|
deviceId: z$1.ZodString;
|
|
179892
|
-
|
|
179893
|
-
|
|
179894
|
-
|
|
180126
|
+
revision: z$1.ZodString;
|
|
180127
|
+
after: z$1.ZodOptional<z$1.ZodString>;
|
|
180128
|
+
limit: z$1.ZodDefault<z$1.ZodInt>;
|
|
180129
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
180130
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
180131
|
+
active: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
180132
|
+
displayName: z$1.ZodNullable<z$1.ZodString>;
|
|
180133
|
+
listOrder: z$1.ZodNullable<z$1.ZodInt>;
|
|
180134
|
+
joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
180135
|
+
accountId: z$1.ZodString;
|
|
180136
|
+
}, z$1.core.$strip>>;
|
|
180137
|
+
nextAfter: z$1.ZodNullable<z$1.ZodString>;
|
|
180138
|
+
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
179895
180139
|
readonly invalid: {
|
|
179896
180140
|
readonly status: 400;
|
|
179897
180141
|
readonly data: z$1.ZodType<{
|
|
@@ -180789,9 +181033,10 @@ declare const trackerContract: {
|
|
|
180789
181033
|
}, unknown>>;
|
|
180790
181034
|
};
|
|
180791
181035
|
}>, Record<never, never>>;
|
|
180792
|
-
|
|
181036
|
+
add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
180793
181037
|
deviceId: z$1.ZodString;
|
|
180794
181038
|
memberId: z$1.ZodString;
|
|
181039
|
+
displayName: z$1.ZodString;
|
|
180795
181040
|
}, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
180796
181041
|
readonly invalid: {
|
|
180797
181042
|
readonly status: 400;
|
|
@@ -181690,127 +181935,3102 @@ declare const trackerContract: {
|
|
|
181690
181935
|
}, unknown>>;
|
|
181691
181936
|
};
|
|
181692
181937
|
}>, Record<never, never>>;
|
|
181693
|
-
|
|
181694
|
-
|
|
181695
|
-
|
|
181696
|
-
|
|
181697
|
-
|
|
181698
|
-
|
|
181699
|
-
|
|
181700
|
-
|
|
181701
|
-
|
|
181702
|
-
|
|
181703
|
-
|
|
181704
|
-
|
|
181705
|
-
|
|
181706
|
-
|
|
181707
|
-
|
|
181708
|
-
|
|
181709
|
-
|
|
181710
|
-
|
|
181711
|
-
|
|
181712
|
-
|
|
181713
|
-
|
|
181714
|
-
|
|
181715
|
-
|
|
181716
|
-
|
|
181717
|
-
|
|
181718
|
-
|
|
181719
|
-
|
|
181720
|
-
|
|
181721
|
-
|
|
181722
|
-
|
|
181723
|
-
|
|
181724
|
-
|
|
181725
|
-
|
|
181726
|
-
|
|
181727
|
-
|
|
181728
|
-
|
|
181729
|
-
|
|
181730
|
-
|
|
181731
|
-
|
|
181732
|
-
|
|
181733
|
-
|
|
181734
|
-
|
|
181735
|
-
|
|
181736
|
-
|
|
181737
|
-
|
|
181738
|
-
|
|
181739
|
-
|
|
181740
|
-
|
|
181741
|
-
|
|
181742
|
-
|
|
181743
|
-
|
|
181744
|
-
|
|
181745
|
-
|
|
181746
|
-
|
|
181747
|
-
|
|
181748
|
-
|
|
181749
|
-
|
|
181750
|
-
|
|
181751
|
-
|
|
181752
|
-
|
|
181753
|
-
|
|
181754
|
-
|
|
181755
|
-
|
|
181756
|
-
|
|
181757
|
-
|
|
181758
|
-
|
|
181759
|
-
|
|
181760
|
-
|
|
181761
|
-
|
|
181762
|
-
|
|
181763
|
-
z$1.
|
|
181764
|
-
|
|
181765
|
-
|
|
181766
|
-
|
|
181767
|
-
|
|
181768
|
-
|
|
181769
|
-
|
|
181770
|
-
|
|
181771
|
-
|
|
181772
|
-
|
|
181773
|
-
|
|
181774
|
-
|
|
181775
|
-
|
|
181776
|
-
|
|
181777
|
-
|
|
181778
|
-
|
|
181779
|
-
|
|
181780
|
-
|
|
181781
|
-
|
|
181782
|
-
|
|
181783
|
-
|
|
181784
|
-
|
|
181785
|
-
|
|
181786
|
-
|
|
181787
|
-
|
|
181788
|
-
|
|
181789
|
-
|
|
181790
|
-
|
|
181791
|
-
|
|
181792
|
-
|
|
181793
|
-
}, z$1.core.$
|
|
181794
|
-
|
|
181795
|
-
|
|
181796
|
-
|
|
181797
|
-
|
|
181798
|
-
|
|
181799
|
-
|
|
181800
|
-
|
|
181801
|
-
|
|
181802
|
-
|
|
181803
|
-
|
|
181804
|
-
|
|
181805
|
-
|
|
181806
|
-
|
|
181807
|
-
|
|
181808
|
-
|
|
181809
|
-
|
|
181810
|
-
|
|
181811
|
-
|
|
181812
|
-
|
|
181813
|
-
|
|
181938
|
+
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
181939
|
+
deviceId: z$1.ZodString;
|
|
181940
|
+
memberId: z$1.ZodString;
|
|
181941
|
+
}, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
181942
|
+
readonly invalid: {
|
|
181943
|
+
readonly status: 400;
|
|
181944
|
+
readonly data: z$1.ZodType<{
|
|
181945
|
+
traceId: string;
|
|
181946
|
+
recovery: {
|
|
181947
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
181948
|
+
} | {
|
|
181949
|
+
action: "read_operation";
|
|
181950
|
+
operation: {
|
|
181951
|
+
kind: "command";
|
|
181952
|
+
serialNumber: string;
|
|
181953
|
+
idempotencyKey: string;
|
|
181954
|
+
} | {
|
|
181955
|
+
kind: "firmware";
|
|
181956
|
+
serialNumber: string;
|
|
181957
|
+
updateId: string;
|
|
181958
|
+
} | {
|
|
181959
|
+
kind: "bluetooth_firmware";
|
|
181960
|
+
deviceId: string;
|
|
181961
|
+
updateId: string;
|
|
181962
|
+
} | {
|
|
181963
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
181964
|
+
deviceId: string;
|
|
181965
|
+
requestId: string;
|
|
181966
|
+
} | {
|
|
181967
|
+
kind: "support";
|
|
181968
|
+
requestId: string;
|
|
181969
|
+
};
|
|
181970
|
+
};
|
|
181971
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
181972
|
+
currentRevision?: string | undefined;
|
|
181973
|
+
retryAfterSeconds?: number | undefined;
|
|
181974
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
181975
|
+
traceId: string;
|
|
181976
|
+
recovery: {
|
|
181977
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
181978
|
+
} | {
|
|
181979
|
+
action: "read_operation";
|
|
181980
|
+
operation: {
|
|
181981
|
+
kind: "command";
|
|
181982
|
+
serialNumber: string;
|
|
181983
|
+
idempotencyKey: string;
|
|
181984
|
+
} | {
|
|
181985
|
+
kind: "firmware";
|
|
181986
|
+
serialNumber: string;
|
|
181987
|
+
updateId: string;
|
|
181988
|
+
} | {
|
|
181989
|
+
kind: "bluetooth_firmware";
|
|
181990
|
+
deviceId: string;
|
|
181991
|
+
updateId: string;
|
|
181992
|
+
} | {
|
|
181993
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
181994
|
+
deviceId: string;
|
|
181995
|
+
requestId: string;
|
|
181996
|
+
} | {
|
|
181997
|
+
kind: "support";
|
|
181998
|
+
requestId: string;
|
|
181999
|
+
};
|
|
182000
|
+
};
|
|
182001
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182002
|
+
currentRevision?: string | undefined;
|
|
182003
|
+
retryAfterSeconds?: number | undefined;
|
|
182004
|
+
}, unknown>>;
|
|
182005
|
+
};
|
|
182006
|
+
readonly unauthenticated: {
|
|
182007
|
+
readonly status: 401;
|
|
182008
|
+
readonly data: z$1.ZodType<{
|
|
182009
|
+
traceId: string;
|
|
182010
|
+
recovery: {
|
|
182011
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182012
|
+
} | {
|
|
182013
|
+
action: "read_operation";
|
|
182014
|
+
operation: {
|
|
182015
|
+
kind: "command";
|
|
182016
|
+
serialNumber: string;
|
|
182017
|
+
idempotencyKey: string;
|
|
182018
|
+
} | {
|
|
182019
|
+
kind: "firmware";
|
|
182020
|
+
serialNumber: string;
|
|
182021
|
+
updateId: string;
|
|
182022
|
+
} | {
|
|
182023
|
+
kind: "bluetooth_firmware";
|
|
182024
|
+
deviceId: string;
|
|
182025
|
+
updateId: string;
|
|
182026
|
+
} | {
|
|
182027
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182028
|
+
deviceId: string;
|
|
182029
|
+
requestId: string;
|
|
182030
|
+
} | {
|
|
182031
|
+
kind: "support";
|
|
182032
|
+
requestId: string;
|
|
182033
|
+
};
|
|
182034
|
+
};
|
|
182035
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182036
|
+
currentRevision?: string | undefined;
|
|
182037
|
+
retryAfterSeconds?: number | undefined;
|
|
182038
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182039
|
+
traceId: string;
|
|
182040
|
+
recovery: {
|
|
182041
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182042
|
+
} | {
|
|
182043
|
+
action: "read_operation";
|
|
182044
|
+
operation: {
|
|
182045
|
+
kind: "command";
|
|
182046
|
+
serialNumber: string;
|
|
182047
|
+
idempotencyKey: string;
|
|
182048
|
+
} | {
|
|
182049
|
+
kind: "firmware";
|
|
182050
|
+
serialNumber: string;
|
|
182051
|
+
updateId: string;
|
|
182052
|
+
} | {
|
|
182053
|
+
kind: "bluetooth_firmware";
|
|
182054
|
+
deviceId: string;
|
|
182055
|
+
updateId: string;
|
|
182056
|
+
} | {
|
|
182057
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182058
|
+
deviceId: string;
|
|
182059
|
+
requestId: string;
|
|
182060
|
+
} | {
|
|
182061
|
+
kind: "support";
|
|
182062
|
+
requestId: string;
|
|
182063
|
+
};
|
|
182064
|
+
};
|
|
182065
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182066
|
+
currentRevision?: string | undefined;
|
|
182067
|
+
retryAfterSeconds?: number | undefined;
|
|
182068
|
+
}, unknown>>;
|
|
182069
|
+
};
|
|
182070
|
+
readonly forbidden: {
|
|
182071
|
+
readonly status: 403;
|
|
182072
|
+
readonly data: z$1.ZodType<{
|
|
182073
|
+
traceId: string;
|
|
182074
|
+
recovery: {
|
|
182075
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182076
|
+
} | {
|
|
182077
|
+
action: "read_operation";
|
|
182078
|
+
operation: {
|
|
182079
|
+
kind: "command";
|
|
182080
|
+
serialNumber: string;
|
|
182081
|
+
idempotencyKey: string;
|
|
182082
|
+
} | {
|
|
182083
|
+
kind: "firmware";
|
|
182084
|
+
serialNumber: string;
|
|
182085
|
+
updateId: string;
|
|
182086
|
+
} | {
|
|
182087
|
+
kind: "bluetooth_firmware";
|
|
182088
|
+
deviceId: string;
|
|
182089
|
+
updateId: string;
|
|
182090
|
+
} | {
|
|
182091
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182092
|
+
deviceId: string;
|
|
182093
|
+
requestId: string;
|
|
182094
|
+
} | {
|
|
182095
|
+
kind: "support";
|
|
182096
|
+
requestId: string;
|
|
182097
|
+
};
|
|
182098
|
+
};
|
|
182099
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182100
|
+
currentRevision?: string | undefined;
|
|
182101
|
+
retryAfterSeconds?: number | undefined;
|
|
182102
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182103
|
+
traceId: string;
|
|
182104
|
+
recovery: {
|
|
182105
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182106
|
+
} | {
|
|
182107
|
+
action: "read_operation";
|
|
182108
|
+
operation: {
|
|
182109
|
+
kind: "command";
|
|
182110
|
+
serialNumber: string;
|
|
182111
|
+
idempotencyKey: string;
|
|
182112
|
+
} | {
|
|
182113
|
+
kind: "firmware";
|
|
182114
|
+
serialNumber: string;
|
|
182115
|
+
updateId: string;
|
|
182116
|
+
} | {
|
|
182117
|
+
kind: "bluetooth_firmware";
|
|
182118
|
+
deviceId: string;
|
|
182119
|
+
updateId: string;
|
|
182120
|
+
} | {
|
|
182121
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182122
|
+
deviceId: string;
|
|
182123
|
+
requestId: string;
|
|
182124
|
+
} | {
|
|
182125
|
+
kind: "support";
|
|
182126
|
+
requestId: string;
|
|
182127
|
+
};
|
|
182128
|
+
};
|
|
182129
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182130
|
+
currentRevision?: string | undefined;
|
|
182131
|
+
retryAfterSeconds?: number | undefined;
|
|
182132
|
+
}, unknown>>;
|
|
182133
|
+
};
|
|
182134
|
+
readonly not_found: {
|
|
182135
|
+
readonly status: 404;
|
|
182136
|
+
readonly data: z$1.ZodType<{
|
|
182137
|
+
traceId: string;
|
|
182138
|
+
recovery: {
|
|
182139
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182140
|
+
} | {
|
|
182141
|
+
action: "read_operation";
|
|
182142
|
+
operation: {
|
|
182143
|
+
kind: "command";
|
|
182144
|
+
serialNumber: string;
|
|
182145
|
+
idempotencyKey: string;
|
|
182146
|
+
} | {
|
|
182147
|
+
kind: "firmware";
|
|
182148
|
+
serialNumber: string;
|
|
182149
|
+
updateId: string;
|
|
182150
|
+
} | {
|
|
182151
|
+
kind: "bluetooth_firmware";
|
|
182152
|
+
deviceId: string;
|
|
182153
|
+
updateId: string;
|
|
182154
|
+
} | {
|
|
182155
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182156
|
+
deviceId: string;
|
|
182157
|
+
requestId: string;
|
|
182158
|
+
} | {
|
|
182159
|
+
kind: "support";
|
|
182160
|
+
requestId: string;
|
|
182161
|
+
};
|
|
182162
|
+
};
|
|
182163
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182164
|
+
currentRevision?: string | undefined;
|
|
182165
|
+
retryAfterSeconds?: number | undefined;
|
|
182166
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182167
|
+
traceId: string;
|
|
182168
|
+
recovery: {
|
|
182169
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182170
|
+
} | {
|
|
182171
|
+
action: "read_operation";
|
|
182172
|
+
operation: {
|
|
182173
|
+
kind: "command";
|
|
182174
|
+
serialNumber: string;
|
|
182175
|
+
idempotencyKey: string;
|
|
182176
|
+
} | {
|
|
182177
|
+
kind: "firmware";
|
|
182178
|
+
serialNumber: string;
|
|
182179
|
+
updateId: string;
|
|
182180
|
+
} | {
|
|
182181
|
+
kind: "bluetooth_firmware";
|
|
182182
|
+
deviceId: string;
|
|
182183
|
+
updateId: string;
|
|
182184
|
+
} | {
|
|
182185
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182186
|
+
deviceId: string;
|
|
182187
|
+
requestId: string;
|
|
182188
|
+
} | {
|
|
182189
|
+
kind: "support";
|
|
182190
|
+
requestId: string;
|
|
182191
|
+
};
|
|
182192
|
+
};
|
|
182193
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182194
|
+
currentRevision?: string | undefined;
|
|
182195
|
+
retryAfterSeconds?: number | undefined;
|
|
182196
|
+
}, unknown>>;
|
|
182197
|
+
};
|
|
182198
|
+
readonly conflict: {
|
|
182199
|
+
readonly status: 409;
|
|
182200
|
+
readonly data: z$1.ZodType<{
|
|
182201
|
+
traceId: string;
|
|
182202
|
+
recovery: {
|
|
182203
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182204
|
+
} | {
|
|
182205
|
+
action: "read_operation";
|
|
182206
|
+
operation: {
|
|
182207
|
+
kind: "command";
|
|
182208
|
+
serialNumber: string;
|
|
182209
|
+
idempotencyKey: string;
|
|
182210
|
+
} | {
|
|
182211
|
+
kind: "firmware";
|
|
182212
|
+
serialNumber: string;
|
|
182213
|
+
updateId: string;
|
|
182214
|
+
} | {
|
|
182215
|
+
kind: "bluetooth_firmware";
|
|
182216
|
+
deviceId: string;
|
|
182217
|
+
updateId: string;
|
|
182218
|
+
} | {
|
|
182219
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182220
|
+
deviceId: string;
|
|
182221
|
+
requestId: string;
|
|
182222
|
+
} | {
|
|
182223
|
+
kind: "support";
|
|
182224
|
+
requestId: string;
|
|
182225
|
+
};
|
|
182226
|
+
};
|
|
182227
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182228
|
+
currentRevision?: string | undefined;
|
|
182229
|
+
retryAfterSeconds?: number | undefined;
|
|
182230
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182231
|
+
traceId: string;
|
|
182232
|
+
recovery: {
|
|
182233
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182234
|
+
} | {
|
|
182235
|
+
action: "read_operation";
|
|
182236
|
+
operation: {
|
|
182237
|
+
kind: "command";
|
|
182238
|
+
serialNumber: string;
|
|
182239
|
+
idempotencyKey: string;
|
|
182240
|
+
} | {
|
|
182241
|
+
kind: "firmware";
|
|
182242
|
+
serialNumber: string;
|
|
182243
|
+
updateId: string;
|
|
182244
|
+
} | {
|
|
182245
|
+
kind: "bluetooth_firmware";
|
|
182246
|
+
deviceId: string;
|
|
182247
|
+
updateId: string;
|
|
182248
|
+
} | {
|
|
182249
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182250
|
+
deviceId: string;
|
|
182251
|
+
requestId: string;
|
|
182252
|
+
} | {
|
|
182253
|
+
kind: "support";
|
|
182254
|
+
requestId: string;
|
|
182255
|
+
};
|
|
182256
|
+
};
|
|
182257
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182258
|
+
currentRevision?: string | undefined;
|
|
182259
|
+
retryAfterSeconds?: number | undefined;
|
|
182260
|
+
}, unknown>>;
|
|
182261
|
+
};
|
|
182262
|
+
readonly rate_limited: {
|
|
182263
|
+
readonly status: 429;
|
|
182264
|
+
readonly data: z$1.ZodType<{
|
|
182265
|
+
traceId: string;
|
|
182266
|
+
recovery: {
|
|
182267
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182268
|
+
} | {
|
|
182269
|
+
action: "read_operation";
|
|
182270
|
+
operation: {
|
|
182271
|
+
kind: "command";
|
|
182272
|
+
serialNumber: string;
|
|
182273
|
+
idempotencyKey: string;
|
|
182274
|
+
} | {
|
|
182275
|
+
kind: "firmware";
|
|
182276
|
+
serialNumber: string;
|
|
182277
|
+
updateId: string;
|
|
182278
|
+
} | {
|
|
182279
|
+
kind: "bluetooth_firmware";
|
|
182280
|
+
deviceId: string;
|
|
182281
|
+
updateId: string;
|
|
182282
|
+
} | {
|
|
182283
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182284
|
+
deviceId: string;
|
|
182285
|
+
requestId: string;
|
|
182286
|
+
} | {
|
|
182287
|
+
kind: "support";
|
|
182288
|
+
requestId: string;
|
|
182289
|
+
};
|
|
182290
|
+
};
|
|
182291
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182292
|
+
currentRevision?: string | undefined;
|
|
182293
|
+
retryAfterSeconds?: number | undefined;
|
|
182294
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182295
|
+
traceId: string;
|
|
182296
|
+
recovery: {
|
|
182297
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182298
|
+
} | {
|
|
182299
|
+
action: "read_operation";
|
|
182300
|
+
operation: {
|
|
182301
|
+
kind: "command";
|
|
182302
|
+
serialNumber: string;
|
|
182303
|
+
idempotencyKey: string;
|
|
182304
|
+
} | {
|
|
182305
|
+
kind: "firmware";
|
|
182306
|
+
serialNumber: string;
|
|
182307
|
+
updateId: string;
|
|
182308
|
+
} | {
|
|
182309
|
+
kind: "bluetooth_firmware";
|
|
182310
|
+
deviceId: string;
|
|
182311
|
+
updateId: string;
|
|
182312
|
+
} | {
|
|
182313
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182314
|
+
deviceId: string;
|
|
182315
|
+
requestId: string;
|
|
182316
|
+
} | {
|
|
182317
|
+
kind: "support";
|
|
182318
|
+
requestId: string;
|
|
182319
|
+
};
|
|
182320
|
+
};
|
|
182321
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182322
|
+
currentRevision?: string | undefined;
|
|
182323
|
+
retryAfterSeconds?: number | undefined;
|
|
182324
|
+
}, unknown>>;
|
|
182325
|
+
};
|
|
182326
|
+
readonly stored_data_invalid: {
|
|
182327
|
+
readonly status: 503;
|
|
182328
|
+
readonly data: z$1.ZodType<{
|
|
182329
|
+
traceId: string;
|
|
182330
|
+
recovery: {
|
|
182331
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182332
|
+
} | {
|
|
182333
|
+
action: "read_operation";
|
|
182334
|
+
operation: {
|
|
182335
|
+
kind: "command";
|
|
182336
|
+
serialNumber: string;
|
|
182337
|
+
idempotencyKey: string;
|
|
182338
|
+
} | {
|
|
182339
|
+
kind: "firmware";
|
|
182340
|
+
serialNumber: string;
|
|
182341
|
+
updateId: string;
|
|
182342
|
+
} | {
|
|
182343
|
+
kind: "bluetooth_firmware";
|
|
182344
|
+
deviceId: string;
|
|
182345
|
+
updateId: string;
|
|
182346
|
+
} | {
|
|
182347
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182348
|
+
deviceId: string;
|
|
182349
|
+
requestId: string;
|
|
182350
|
+
} | {
|
|
182351
|
+
kind: "support";
|
|
182352
|
+
requestId: string;
|
|
182353
|
+
};
|
|
182354
|
+
};
|
|
182355
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182356
|
+
currentRevision?: string | undefined;
|
|
182357
|
+
retryAfterSeconds?: number | undefined;
|
|
182358
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182359
|
+
traceId: string;
|
|
182360
|
+
recovery: {
|
|
182361
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182362
|
+
} | {
|
|
182363
|
+
action: "read_operation";
|
|
182364
|
+
operation: {
|
|
182365
|
+
kind: "command";
|
|
182366
|
+
serialNumber: string;
|
|
182367
|
+
idempotencyKey: string;
|
|
182368
|
+
} | {
|
|
182369
|
+
kind: "firmware";
|
|
182370
|
+
serialNumber: string;
|
|
182371
|
+
updateId: string;
|
|
182372
|
+
} | {
|
|
182373
|
+
kind: "bluetooth_firmware";
|
|
182374
|
+
deviceId: string;
|
|
182375
|
+
updateId: string;
|
|
182376
|
+
} | {
|
|
182377
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182378
|
+
deviceId: string;
|
|
182379
|
+
requestId: string;
|
|
182380
|
+
} | {
|
|
182381
|
+
kind: "support";
|
|
182382
|
+
requestId: string;
|
|
182383
|
+
};
|
|
182384
|
+
};
|
|
182385
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182386
|
+
currentRevision?: string | undefined;
|
|
182387
|
+
retryAfterSeconds?: number | undefined;
|
|
182388
|
+
}, unknown>>;
|
|
182389
|
+
};
|
|
182390
|
+
readonly service_unavailable: {
|
|
182391
|
+
readonly status: 503;
|
|
182392
|
+
readonly data: z$1.ZodType<{
|
|
182393
|
+
traceId: string;
|
|
182394
|
+
recovery: {
|
|
182395
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182396
|
+
} | {
|
|
182397
|
+
action: "read_operation";
|
|
182398
|
+
operation: {
|
|
182399
|
+
kind: "command";
|
|
182400
|
+
serialNumber: string;
|
|
182401
|
+
idempotencyKey: string;
|
|
182402
|
+
} | {
|
|
182403
|
+
kind: "firmware";
|
|
182404
|
+
serialNumber: string;
|
|
182405
|
+
updateId: string;
|
|
182406
|
+
} | {
|
|
182407
|
+
kind: "bluetooth_firmware";
|
|
182408
|
+
deviceId: string;
|
|
182409
|
+
updateId: string;
|
|
182410
|
+
} | {
|
|
182411
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182412
|
+
deviceId: string;
|
|
182413
|
+
requestId: string;
|
|
182414
|
+
} | {
|
|
182415
|
+
kind: "support";
|
|
182416
|
+
requestId: string;
|
|
182417
|
+
};
|
|
182418
|
+
};
|
|
182419
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182420
|
+
currentRevision?: string | undefined;
|
|
182421
|
+
retryAfterSeconds?: number | undefined;
|
|
182422
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182423
|
+
traceId: string;
|
|
182424
|
+
recovery: {
|
|
182425
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182426
|
+
} | {
|
|
182427
|
+
action: "read_operation";
|
|
182428
|
+
operation: {
|
|
182429
|
+
kind: "command";
|
|
182430
|
+
serialNumber: string;
|
|
182431
|
+
idempotencyKey: string;
|
|
182432
|
+
} | {
|
|
182433
|
+
kind: "firmware";
|
|
182434
|
+
serialNumber: string;
|
|
182435
|
+
updateId: string;
|
|
182436
|
+
} | {
|
|
182437
|
+
kind: "bluetooth_firmware";
|
|
182438
|
+
deviceId: string;
|
|
182439
|
+
updateId: string;
|
|
182440
|
+
} | {
|
|
182441
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182442
|
+
deviceId: string;
|
|
182443
|
+
requestId: string;
|
|
182444
|
+
} | {
|
|
182445
|
+
kind: "support";
|
|
182446
|
+
requestId: string;
|
|
182447
|
+
};
|
|
182448
|
+
};
|
|
182449
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182450
|
+
currentRevision?: string | undefined;
|
|
182451
|
+
retryAfterSeconds?: number | undefined;
|
|
182452
|
+
}, unknown>>;
|
|
182453
|
+
};
|
|
182454
|
+
readonly read_unavailable: {
|
|
182455
|
+
readonly status: 503;
|
|
182456
|
+
readonly data: z$1.ZodType<{
|
|
182457
|
+
traceId: string;
|
|
182458
|
+
recovery: {
|
|
182459
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182460
|
+
} | {
|
|
182461
|
+
action: "read_operation";
|
|
182462
|
+
operation: {
|
|
182463
|
+
kind: "command";
|
|
182464
|
+
serialNumber: string;
|
|
182465
|
+
idempotencyKey: string;
|
|
182466
|
+
} | {
|
|
182467
|
+
kind: "firmware";
|
|
182468
|
+
serialNumber: string;
|
|
182469
|
+
updateId: string;
|
|
182470
|
+
} | {
|
|
182471
|
+
kind: "bluetooth_firmware";
|
|
182472
|
+
deviceId: string;
|
|
182473
|
+
updateId: string;
|
|
182474
|
+
} | {
|
|
182475
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182476
|
+
deviceId: string;
|
|
182477
|
+
requestId: string;
|
|
182478
|
+
} | {
|
|
182479
|
+
kind: "support";
|
|
182480
|
+
requestId: string;
|
|
182481
|
+
};
|
|
182482
|
+
};
|
|
182483
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182484
|
+
currentRevision?: string | undefined;
|
|
182485
|
+
retryAfterSeconds?: number | undefined;
|
|
182486
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182487
|
+
traceId: string;
|
|
182488
|
+
recovery: {
|
|
182489
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182490
|
+
} | {
|
|
182491
|
+
action: "read_operation";
|
|
182492
|
+
operation: {
|
|
182493
|
+
kind: "command";
|
|
182494
|
+
serialNumber: string;
|
|
182495
|
+
idempotencyKey: string;
|
|
182496
|
+
} | {
|
|
182497
|
+
kind: "firmware";
|
|
182498
|
+
serialNumber: string;
|
|
182499
|
+
updateId: string;
|
|
182500
|
+
} | {
|
|
182501
|
+
kind: "bluetooth_firmware";
|
|
182502
|
+
deviceId: string;
|
|
182503
|
+
updateId: string;
|
|
182504
|
+
} | {
|
|
182505
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182506
|
+
deviceId: string;
|
|
182507
|
+
requestId: string;
|
|
182508
|
+
} | {
|
|
182509
|
+
kind: "support";
|
|
182510
|
+
requestId: string;
|
|
182511
|
+
};
|
|
182512
|
+
};
|
|
182513
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182514
|
+
currentRevision?: string | undefined;
|
|
182515
|
+
retryAfterSeconds?: number | undefined;
|
|
182516
|
+
}, unknown>>;
|
|
182517
|
+
};
|
|
182518
|
+
readonly stream_unavailable: {
|
|
182519
|
+
readonly status: 503;
|
|
182520
|
+
readonly data: z$1.ZodType<{
|
|
182521
|
+
traceId: string;
|
|
182522
|
+
recovery: {
|
|
182523
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182524
|
+
} | {
|
|
182525
|
+
action: "read_operation";
|
|
182526
|
+
operation: {
|
|
182527
|
+
kind: "command";
|
|
182528
|
+
serialNumber: string;
|
|
182529
|
+
idempotencyKey: string;
|
|
182530
|
+
} | {
|
|
182531
|
+
kind: "firmware";
|
|
182532
|
+
serialNumber: string;
|
|
182533
|
+
updateId: string;
|
|
182534
|
+
} | {
|
|
182535
|
+
kind: "bluetooth_firmware";
|
|
182536
|
+
deviceId: string;
|
|
182537
|
+
updateId: string;
|
|
182538
|
+
} | {
|
|
182539
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182540
|
+
deviceId: string;
|
|
182541
|
+
requestId: string;
|
|
182542
|
+
} | {
|
|
182543
|
+
kind: "support";
|
|
182544
|
+
requestId: string;
|
|
182545
|
+
};
|
|
182546
|
+
};
|
|
182547
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182548
|
+
currentRevision?: string | undefined;
|
|
182549
|
+
retryAfterSeconds?: number | undefined;
|
|
182550
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182551
|
+
traceId: string;
|
|
182552
|
+
recovery: {
|
|
182553
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182554
|
+
} | {
|
|
182555
|
+
action: "read_operation";
|
|
182556
|
+
operation: {
|
|
182557
|
+
kind: "command";
|
|
182558
|
+
serialNumber: string;
|
|
182559
|
+
idempotencyKey: string;
|
|
182560
|
+
} | {
|
|
182561
|
+
kind: "firmware";
|
|
182562
|
+
serialNumber: string;
|
|
182563
|
+
updateId: string;
|
|
182564
|
+
} | {
|
|
182565
|
+
kind: "bluetooth_firmware";
|
|
182566
|
+
deviceId: string;
|
|
182567
|
+
updateId: string;
|
|
182568
|
+
} | {
|
|
182569
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182570
|
+
deviceId: string;
|
|
182571
|
+
requestId: string;
|
|
182572
|
+
} | {
|
|
182573
|
+
kind: "support";
|
|
182574
|
+
requestId: string;
|
|
182575
|
+
};
|
|
182576
|
+
};
|
|
182577
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182578
|
+
currentRevision?: string | undefined;
|
|
182579
|
+
retryAfterSeconds?: number | undefined;
|
|
182580
|
+
}, unknown>>;
|
|
182581
|
+
};
|
|
182582
|
+
readonly payload_too_large: {
|
|
182583
|
+
readonly status: 413;
|
|
182584
|
+
readonly data: z$1.ZodType<{
|
|
182585
|
+
traceId: string;
|
|
182586
|
+
recovery: {
|
|
182587
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182588
|
+
} | {
|
|
182589
|
+
action: "read_operation";
|
|
182590
|
+
operation: {
|
|
182591
|
+
kind: "command";
|
|
182592
|
+
serialNumber: string;
|
|
182593
|
+
idempotencyKey: string;
|
|
182594
|
+
} | {
|
|
182595
|
+
kind: "firmware";
|
|
182596
|
+
serialNumber: string;
|
|
182597
|
+
updateId: string;
|
|
182598
|
+
} | {
|
|
182599
|
+
kind: "bluetooth_firmware";
|
|
182600
|
+
deviceId: string;
|
|
182601
|
+
updateId: string;
|
|
182602
|
+
} | {
|
|
182603
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182604
|
+
deviceId: string;
|
|
182605
|
+
requestId: string;
|
|
182606
|
+
} | {
|
|
182607
|
+
kind: "support";
|
|
182608
|
+
requestId: string;
|
|
182609
|
+
};
|
|
182610
|
+
};
|
|
182611
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182612
|
+
currentRevision?: string | undefined;
|
|
182613
|
+
retryAfterSeconds?: number | undefined;
|
|
182614
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182615
|
+
traceId: string;
|
|
182616
|
+
recovery: {
|
|
182617
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182618
|
+
} | {
|
|
182619
|
+
action: "read_operation";
|
|
182620
|
+
operation: {
|
|
182621
|
+
kind: "command";
|
|
182622
|
+
serialNumber: string;
|
|
182623
|
+
idempotencyKey: string;
|
|
182624
|
+
} | {
|
|
182625
|
+
kind: "firmware";
|
|
182626
|
+
serialNumber: string;
|
|
182627
|
+
updateId: string;
|
|
182628
|
+
} | {
|
|
182629
|
+
kind: "bluetooth_firmware";
|
|
182630
|
+
deviceId: string;
|
|
182631
|
+
updateId: string;
|
|
182632
|
+
} | {
|
|
182633
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182634
|
+
deviceId: string;
|
|
182635
|
+
requestId: string;
|
|
182636
|
+
} | {
|
|
182637
|
+
kind: "support";
|
|
182638
|
+
requestId: string;
|
|
182639
|
+
};
|
|
182640
|
+
};
|
|
182641
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182642
|
+
currentRevision?: string | undefined;
|
|
182643
|
+
retryAfterSeconds?: number | undefined;
|
|
182644
|
+
}, unknown>>;
|
|
182645
|
+
};
|
|
182646
|
+
readonly request_timeout: {
|
|
182647
|
+
readonly status: 503;
|
|
182648
|
+
readonly data: z$1.ZodType<{
|
|
182649
|
+
traceId: string;
|
|
182650
|
+
recovery: {
|
|
182651
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182652
|
+
} | {
|
|
182653
|
+
action: "read_operation";
|
|
182654
|
+
operation: {
|
|
182655
|
+
kind: "command";
|
|
182656
|
+
serialNumber: string;
|
|
182657
|
+
idempotencyKey: string;
|
|
182658
|
+
} | {
|
|
182659
|
+
kind: "firmware";
|
|
182660
|
+
serialNumber: string;
|
|
182661
|
+
updateId: string;
|
|
182662
|
+
} | {
|
|
182663
|
+
kind: "bluetooth_firmware";
|
|
182664
|
+
deviceId: string;
|
|
182665
|
+
updateId: string;
|
|
182666
|
+
} | {
|
|
182667
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182668
|
+
deviceId: string;
|
|
182669
|
+
requestId: string;
|
|
182670
|
+
} | {
|
|
182671
|
+
kind: "support";
|
|
182672
|
+
requestId: string;
|
|
182673
|
+
};
|
|
182674
|
+
};
|
|
182675
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182676
|
+
currentRevision?: string | undefined;
|
|
182677
|
+
retryAfterSeconds?: number | undefined;
|
|
182678
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182679
|
+
traceId: string;
|
|
182680
|
+
recovery: {
|
|
182681
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182682
|
+
} | {
|
|
182683
|
+
action: "read_operation";
|
|
182684
|
+
operation: {
|
|
182685
|
+
kind: "command";
|
|
182686
|
+
serialNumber: string;
|
|
182687
|
+
idempotencyKey: string;
|
|
182688
|
+
} | {
|
|
182689
|
+
kind: "firmware";
|
|
182690
|
+
serialNumber: string;
|
|
182691
|
+
updateId: string;
|
|
182692
|
+
} | {
|
|
182693
|
+
kind: "bluetooth_firmware";
|
|
182694
|
+
deviceId: string;
|
|
182695
|
+
updateId: string;
|
|
182696
|
+
} | {
|
|
182697
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182698
|
+
deviceId: string;
|
|
182699
|
+
requestId: string;
|
|
182700
|
+
} | {
|
|
182701
|
+
kind: "support";
|
|
182702
|
+
requestId: string;
|
|
182703
|
+
};
|
|
182704
|
+
};
|
|
182705
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182706
|
+
currentRevision?: string | undefined;
|
|
182707
|
+
retryAfterSeconds?: number | undefined;
|
|
182708
|
+
}, unknown>>;
|
|
182709
|
+
};
|
|
182710
|
+
readonly operation_unconfirmed: {
|
|
182711
|
+
readonly status: 503;
|
|
182712
|
+
readonly data: z$1.ZodType<{
|
|
182713
|
+
traceId: string;
|
|
182714
|
+
recovery: {
|
|
182715
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182716
|
+
} | {
|
|
182717
|
+
action: "read_operation";
|
|
182718
|
+
operation: {
|
|
182719
|
+
kind: "command";
|
|
182720
|
+
serialNumber: string;
|
|
182721
|
+
idempotencyKey: string;
|
|
182722
|
+
} | {
|
|
182723
|
+
kind: "firmware";
|
|
182724
|
+
serialNumber: string;
|
|
182725
|
+
updateId: string;
|
|
182726
|
+
} | {
|
|
182727
|
+
kind: "bluetooth_firmware";
|
|
182728
|
+
deviceId: string;
|
|
182729
|
+
updateId: string;
|
|
182730
|
+
} | {
|
|
182731
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182732
|
+
deviceId: string;
|
|
182733
|
+
requestId: string;
|
|
182734
|
+
} | {
|
|
182735
|
+
kind: "support";
|
|
182736
|
+
requestId: string;
|
|
182737
|
+
};
|
|
182738
|
+
};
|
|
182739
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182740
|
+
currentRevision?: string | undefined;
|
|
182741
|
+
retryAfterSeconds?: number | undefined;
|
|
182742
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182743
|
+
traceId: string;
|
|
182744
|
+
recovery: {
|
|
182745
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182746
|
+
} | {
|
|
182747
|
+
action: "read_operation";
|
|
182748
|
+
operation: {
|
|
182749
|
+
kind: "command";
|
|
182750
|
+
serialNumber: string;
|
|
182751
|
+
idempotencyKey: string;
|
|
182752
|
+
} | {
|
|
182753
|
+
kind: "firmware";
|
|
182754
|
+
serialNumber: string;
|
|
182755
|
+
updateId: string;
|
|
182756
|
+
} | {
|
|
182757
|
+
kind: "bluetooth_firmware";
|
|
182758
|
+
deviceId: string;
|
|
182759
|
+
updateId: string;
|
|
182760
|
+
} | {
|
|
182761
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182762
|
+
deviceId: string;
|
|
182763
|
+
requestId: string;
|
|
182764
|
+
} | {
|
|
182765
|
+
kind: "support";
|
|
182766
|
+
requestId: string;
|
|
182767
|
+
};
|
|
182768
|
+
};
|
|
182769
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182770
|
+
currentRevision?: string | undefined;
|
|
182771
|
+
retryAfterSeconds?: number | undefined;
|
|
182772
|
+
}, unknown>>;
|
|
182773
|
+
};
|
|
182774
|
+
readonly directory_unavailable: {
|
|
182775
|
+
readonly status: 503;
|
|
182776
|
+
readonly data: z$1.ZodType<{
|
|
182777
|
+
traceId: string;
|
|
182778
|
+
recovery: {
|
|
182779
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182780
|
+
} | {
|
|
182781
|
+
action: "read_operation";
|
|
182782
|
+
operation: {
|
|
182783
|
+
kind: "command";
|
|
182784
|
+
serialNumber: string;
|
|
182785
|
+
idempotencyKey: string;
|
|
182786
|
+
} | {
|
|
182787
|
+
kind: "firmware";
|
|
182788
|
+
serialNumber: string;
|
|
182789
|
+
updateId: string;
|
|
182790
|
+
} | {
|
|
182791
|
+
kind: "bluetooth_firmware";
|
|
182792
|
+
deviceId: string;
|
|
182793
|
+
updateId: string;
|
|
182794
|
+
} | {
|
|
182795
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182796
|
+
deviceId: string;
|
|
182797
|
+
requestId: string;
|
|
182798
|
+
} | {
|
|
182799
|
+
kind: "support";
|
|
182800
|
+
requestId: string;
|
|
182801
|
+
};
|
|
182802
|
+
};
|
|
182803
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182804
|
+
currentRevision?: string | undefined;
|
|
182805
|
+
retryAfterSeconds?: number | undefined;
|
|
182806
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182807
|
+
traceId: string;
|
|
182808
|
+
recovery: {
|
|
182809
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182810
|
+
} | {
|
|
182811
|
+
action: "read_operation";
|
|
182812
|
+
operation: {
|
|
182813
|
+
kind: "command";
|
|
182814
|
+
serialNumber: string;
|
|
182815
|
+
idempotencyKey: string;
|
|
182816
|
+
} | {
|
|
182817
|
+
kind: "firmware";
|
|
182818
|
+
serialNumber: string;
|
|
182819
|
+
updateId: string;
|
|
182820
|
+
} | {
|
|
182821
|
+
kind: "bluetooth_firmware";
|
|
182822
|
+
deviceId: string;
|
|
182823
|
+
updateId: string;
|
|
182824
|
+
} | {
|
|
182825
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182826
|
+
deviceId: string;
|
|
182827
|
+
requestId: string;
|
|
182828
|
+
} | {
|
|
182829
|
+
kind: "support";
|
|
182830
|
+
requestId: string;
|
|
182831
|
+
};
|
|
182832
|
+
};
|
|
182833
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182834
|
+
currentRevision?: string | undefined;
|
|
182835
|
+
retryAfterSeconds?: number | undefined;
|
|
182836
|
+
}, unknown>>;
|
|
182837
|
+
};
|
|
182838
|
+
}>, Record<never, never>>;
|
|
182839
|
+
};
|
|
182840
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodPrefault<z$1.ZodObject<{
|
|
182841
|
+
filter: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[
|
|
182842
|
+
z$1.ZodObject<{
|
|
182843
|
+
by: z$1.ZodLiteral<"serialNumber">;
|
|
182844
|
+
value: z$1.ZodString;
|
|
182845
|
+
}, z$1.core.$strict>,
|
|
182846
|
+
z$1.ZodObject<{
|
|
182847
|
+
by: z$1.ZodLiteral<"imei">;
|
|
182848
|
+
value: z$1.ZodString;
|
|
182849
|
+
}, z$1.core.$strict>,
|
|
182850
|
+
z$1.ZodObject<{
|
|
182851
|
+
by: z$1.ZodLiteral<"iccid">;
|
|
182852
|
+
value: z$1.ZodString;
|
|
182853
|
+
}, z$1.core.$strict>,
|
|
182854
|
+
z$1.ZodObject<{
|
|
182855
|
+
by: z$1.ZodLiteral<"accountId">;
|
|
182856
|
+
value: z$1.ZodString;
|
|
182857
|
+
}, z$1.core.$strict>,
|
|
182858
|
+
z$1.ZodObject<{
|
|
182859
|
+
by: z$1.ZodLiteral<"subscriptionId">;
|
|
182860
|
+
value: z$1.ZodString;
|
|
182861
|
+
}, z$1.core.$strict>
|
|
182862
|
+
], "by">>;
|
|
182863
|
+
limit: z$1.ZodDefault<z$1.ZodInt>;
|
|
182864
|
+
after: z$1.ZodOptional<z$1.ZodString>;
|
|
182865
|
+
}, z$1.core.$strict>>, z$1.ZodObject<{
|
|
182866
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
182867
|
+
hardware: z$1.ZodNullable<z$1.ZodObject<{
|
|
182868
|
+
imei: z$1.ZodNullable<z$1.ZodString>;
|
|
182869
|
+
iccid: z$1.ZodNullable<z$1.ZodString>;
|
|
182870
|
+
imsi: z$1.ZodNullable<z$1.ZodString>;
|
|
182871
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
182872
|
+
}, z$1.core.$strip>>;
|
|
182873
|
+
backend: z$1.ZodNullable<z$1.ZodString>;
|
|
182874
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
182875
|
+
bike: z$1.ZodObject<{
|
|
182876
|
+
revision: z$1.ZodString;
|
|
182877
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
182878
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
182879
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
182880
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
182881
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
182882
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
182883
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
182884
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
182885
|
+
}, z$1.core.$strip>;
|
|
182886
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
182887
|
+
z$1.ZodObject<{
|
|
182888
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
182889
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
182890
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182891
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182892
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
182893
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182894
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182895
|
+
}, z$1.core.$strip>>;
|
|
182896
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
182897
|
+
state: z$1.ZodLiteral<"available">;
|
|
182898
|
+
}, z$1.core.$strip>,
|
|
182899
|
+
z$1.ZodObject<{
|
|
182900
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
182901
|
+
reason: z$1.ZodEnum<{
|
|
182902
|
+
invalid: "invalid";
|
|
182903
|
+
not_observed: "not_observed";
|
|
182904
|
+
not_assigned: "not_assigned";
|
|
182905
|
+
}>;
|
|
182906
|
+
}, z$1.core.$strip>
|
|
182907
|
+
], "state">;
|
|
182908
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
182909
|
+
z$1.ZodObject<{
|
|
182910
|
+
latitude: z$1.ZodNumber;
|
|
182911
|
+
longitude: z$1.ZodNumber;
|
|
182912
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
182913
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
182914
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182915
|
+
state: z$1.ZodLiteral<"available">;
|
|
182916
|
+
}, z$1.core.$strip>,
|
|
182917
|
+
z$1.ZodObject<{
|
|
182918
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
182919
|
+
reason: z$1.ZodEnum<{
|
|
182920
|
+
invalid: "invalid";
|
|
182921
|
+
not_observed: "not_observed";
|
|
182922
|
+
not_assigned: "not_assigned";
|
|
182923
|
+
}>;
|
|
182924
|
+
}, z$1.core.$strip>
|
|
182925
|
+
], "state">;
|
|
182926
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
182927
|
+
z$1.ZodObject<{
|
|
182928
|
+
id: z$1.ZodString;
|
|
182929
|
+
activity: z$1.ZodEnum<{
|
|
182930
|
+
unknown: "unknown";
|
|
182931
|
+
active: "active";
|
|
182932
|
+
inactive: "inactive";
|
|
182933
|
+
}>;
|
|
182934
|
+
isDemo: z$1.ZodBoolean;
|
|
182935
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
182936
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
182937
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
182938
|
+
state: z$1.ZodLiteral<"available">;
|
|
182939
|
+
}, z$1.core.$strip>,
|
|
182940
|
+
z$1.ZodObject<{
|
|
182941
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
182942
|
+
reason: z$1.ZodEnum<{
|
|
182943
|
+
invalid: "invalid";
|
|
182944
|
+
not_observed: "not_observed";
|
|
182945
|
+
not_assigned: "not_assigned";
|
|
182946
|
+
}>;
|
|
182947
|
+
}, z$1.core.$strip>
|
|
182948
|
+
], "state">;
|
|
182949
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
182950
|
+
path: z$1.ZodString;
|
|
182951
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
182952
|
+
}, z$1.core.$strip>>;
|
|
182953
|
+
id: z$1.ZodString;
|
|
182954
|
+
revision: z$1.ZodString;
|
|
182955
|
+
createdAt: z$1.ZodISODateTime;
|
|
182956
|
+
updatedAt: z$1.ZodISODateTime;
|
|
182957
|
+
}, z$1.core.$strip>>;
|
|
182958
|
+
nextAfter: z$1.ZodNullable<z$1.ZodString>;
|
|
182959
|
+
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
182960
|
+
readonly invalid: {
|
|
182961
|
+
readonly status: 400;
|
|
182962
|
+
readonly data: z$1.ZodType<{
|
|
182963
|
+
traceId: string;
|
|
182964
|
+
recovery: {
|
|
182965
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182966
|
+
} | {
|
|
182967
|
+
action: "read_operation";
|
|
182968
|
+
operation: {
|
|
182969
|
+
kind: "command";
|
|
182970
|
+
serialNumber: string;
|
|
182971
|
+
idempotencyKey: string;
|
|
182972
|
+
} | {
|
|
182973
|
+
kind: "firmware";
|
|
182974
|
+
serialNumber: string;
|
|
182975
|
+
updateId: string;
|
|
182976
|
+
} | {
|
|
182977
|
+
kind: "bluetooth_firmware";
|
|
182978
|
+
deviceId: string;
|
|
182979
|
+
updateId: string;
|
|
182980
|
+
} | {
|
|
182981
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
182982
|
+
deviceId: string;
|
|
182983
|
+
requestId: string;
|
|
182984
|
+
} | {
|
|
182985
|
+
kind: "support";
|
|
182986
|
+
requestId: string;
|
|
182987
|
+
};
|
|
182988
|
+
};
|
|
182989
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
182990
|
+
currentRevision?: string | undefined;
|
|
182991
|
+
retryAfterSeconds?: number | undefined;
|
|
182992
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
182993
|
+
traceId: string;
|
|
182994
|
+
recovery: {
|
|
182995
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
182996
|
+
} | {
|
|
182997
|
+
action: "read_operation";
|
|
182998
|
+
operation: {
|
|
182999
|
+
kind: "command";
|
|
183000
|
+
serialNumber: string;
|
|
183001
|
+
idempotencyKey: string;
|
|
183002
|
+
} | {
|
|
183003
|
+
kind: "firmware";
|
|
183004
|
+
serialNumber: string;
|
|
183005
|
+
updateId: string;
|
|
183006
|
+
} | {
|
|
183007
|
+
kind: "bluetooth_firmware";
|
|
183008
|
+
deviceId: string;
|
|
183009
|
+
updateId: string;
|
|
183010
|
+
} | {
|
|
183011
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183012
|
+
deviceId: string;
|
|
183013
|
+
requestId: string;
|
|
183014
|
+
} | {
|
|
183015
|
+
kind: "support";
|
|
183016
|
+
requestId: string;
|
|
183017
|
+
};
|
|
183018
|
+
};
|
|
183019
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183020
|
+
currentRevision?: string | undefined;
|
|
183021
|
+
retryAfterSeconds?: number | undefined;
|
|
183022
|
+
}, unknown>>;
|
|
183023
|
+
};
|
|
183024
|
+
readonly unauthenticated: {
|
|
183025
|
+
readonly status: 401;
|
|
183026
|
+
readonly data: z$1.ZodType<{
|
|
183027
|
+
traceId: string;
|
|
183028
|
+
recovery: {
|
|
183029
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183030
|
+
} | {
|
|
183031
|
+
action: "read_operation";
|
|
183032
|
+
operation: {
|
|
183033
|
+
kind: "command";
|
|
183034
|
+
serialNumber: string;
|
|
183035
|
+
idempotencyKey: string;
|
|
183036
|
+
} | {
|
|
183037
|
+
kind: "firmware";
|
|
183038
|
+
serialNumber: string;
|
|
183039
|
+
updateId: string;
|
|
183040
|
+
} | {
|
|
183041
|
+
kind: "bluetooth_firmware";
|
|
183042
|
+
deviceId: string;
|
|
183043
|
+
updateId: string;
|
|
183044
|
+
} | {
|
|
183045
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183046
|
+
deviceId: string;
|
|
183047
|
+
requestId: string;
|
|
183048
|
+
} | {
|
|
183049
|
+
kind: "support";
|
|
183050
|
+
requestId: string;
|
|
183051
|
+
};
|
|
183052
|
+
};
|
|
183053
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183054
|
+
currentRevision?: string | undefined;
|
|
183055
|
+
retryAfterSeconds?: number | undefined;
|
|
183056
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183057
|
+
traceId: string;
|
|
183058
|
+
recovery: {
|
|
183059
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183060
|
+
} | {
|
|
183061
|
+
action: "read_operation";
|
|
183062
|
+
operation: {
|
|
183063
|
+
kind: "command";
|
|
183064
|
+
serialNumber: string;
|
|
183065
|
+
idempotencyKey: string;
|
|
183066
|
+
} | {
|
|
183067
|
+
kind: "firmware";
|
|
183068
|
+
serialNumber: string;
|
|
183069
|
+
updateId: string;
|
|
183070
|
+
} | {
|
|
183071
|
+
kind: "bluetooth_firmware";
|
|
183072
|
+
deviceId: string;
|
|
183073
|
+
updateId: string;
|
|
183074
|
+
} | {
|
|
183075
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183076
|
+
deviceId: string;
|
|
183077
|
+
requestId: string;
|
|
183078
|
+
} | {
|
|
183079
|
+
kind: "support";
|
|
183080
|
+
requestId: string;
|
|
183081
|
+
};
|
|
183082
|
+
};
|
|
183083
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183084
|
+
currentRevision?: string | undefined;
|
|
183085
|
+
retryAfterSeconds?: number | undefined;
|
|
183086
|
+
}, unknown>>;
|
|
183087
|
+
};
|
|
183088
|
+
readonly forbidden: {
|
|
183089
|
+
readonly status: 403;
|
|
183090
|
+
readonly data: z$1.ZodType<{
|
|
183091
|
+
traceId: string;
|
|
183092
|
+
recovery: {
|
|
183093
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183094
|
+
} | {
|
|
183095
|
+
action: "read_operation";
|
|
183096
|
+
operation: {
|
|
183097
|
+
kind: "command";
|
|
183098
|
+
serialNumber: string;
|
|
183099
|
+
idempotencyKey: string;
|
|
183100
|
+
} | {
|
|
183101
|
+
kind: "firmware";
|
|
183102
|
+
serialNumber: string;
|
|
183103
|
+
updateId: string;
|
|
183104
|
+
} | {
|
|
183105
|
+
kind: "bluetooth_firmware";
|
|
183106
|
+
deviceId: string;
|
|
183107
|
+
updateId: string;
|
|
183108
|
+
} | {
|
|
183109
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183110
|
+
deviceId: string;
|
|
183111
|
+
requestId: string;
|
|
183112
|
+
} | {
|
|
183113
|
+
kind: "support";
|
|
183114
|
+
requestId: string;
|
|
183115
|
+
};
|
|
183116
|
+
};
|
|
183117
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183118
|
+
currentRevision?: string | undefined;
|
|
183119
|
+
retryAfterSeconds?: number | undefined;
|
|
183120
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183121
|
+
traceId: string;
|
|
183122
|
+
recovery: {
|
|
183123
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183124
|
+
} | {
|
|
183125
|
+
action: "read_operation";
|
|
183126
|
+
operation: {
|
|
183127
|
+
kind: "command";
|
|
183128
|
+
serialNumber: string;
|
|
183129
|
+
idempotencyKey: string;
|
|
183130
|
+
} | {
|
|
183131
|
+
kind: "firmware";
|
|
183132
|
+
serialNumber: string;
|
|
183133
|
+
updateId: string;
|
|
183134
|
+
} | {
|
|
183135
|
+
kind: "bluetooth_firmware";
|
|
183136
|
+
deviceId: string;
|
|
183137
|
+
updateId: string;
|
|
183138
|
+
} | {
|
|
183139
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183140
|
+
deviceId: string;
|
|
183141
|
+
requestId: string;
|
|
183142
|
+
} | {
|
|
183143
|
+
kind: "support";
|
|
183144
|
+
requestId: string;
|
|
183145
|
+
};
|
|
183146
|
+
};
|
|
183147
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183148
|
+
currentRevision?: string | undefined;
|
|
183149
|
+
retryAfterSeconds?: number | undefined;
|
|
183150
|
+
}, unknown>>;
|
|
183151
|
+
};
|
|
183152
|
+
readonly not_found: {
|
|
183153
|
+
readonly status: 404;
|
|
183154
|
+
readonly data: z$1.ZodType<{
|
|
183155
|
+
traceId: string;
|
|
183156
|
+
recovery: {
|
|
183157
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183158
|
+
} | {
|
|
183159
|
+
action: "read_operation";
|
|
183160
|
+
operation: {
|
|
183161
|
+
kind: "command";
|
|
183162
|
+
serialNumber: string;
|
|
183163
|
+
idempotencyKey: string;
|
|
183164
|
+
} | {
|
|
183165
|
+
kind: "firmware";
|
|
183166
|
+
serialNumber: string;
|
|
183167
|
+
updateId: string;
|
|
183168
|
+
} | {
|
|
183169
|
+
kind: "bluetooth_firmware";
|
|
183170
|
+
deviceId: string;
|
|
183171
|
+
updateId: string;
|
|
183172
|
+
} | {
|
|
183173
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183174
|
+
deviceId: string;
|
|
183175
|
+
requestId: string;
|
|
183176
|
+
} | {
|
|
183177
|
+
kind: "support";
|
|
183178
|
+
requestId: string;
|
|
183179
|
+
};
|
|
183180
|
+
};
|
|
183181
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183182
|
+
currentRevision?: string | undefined;
|
|
183183
|
+
retryAfterSeconds?: number | undefined;
|
|
183184
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183185
|
+
traceId: string;
|
|
183186
|
+
recovery: {
|
|
183187
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183188
|
+
} | {
|
|
183189
|
+
action: "read_operation";
|
|
183190
|
+
operation: {
|
|
183191
|
+
kind: "command";
|
|
183192
|
+
serialNumber: string;
|
|
183193
|
+
idempotencyKey: string;
|
|
183194
|
+
} | {
|
|
183195
|
+
kind: "firmware";
|
|
183196
|
+
serialNumber: string;
|
|
183197
|
+
updateId: string;
|
|
183198
|
+
} | {
|
|
183199
|
+
kind: "bluetooth_firmware";
|
|
183200
|
+
deviceId: string;
|
|
183201
|
+
updateId: string;
|
|
183202
|
+
} | {
|
|
183203
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183204
|
+
deviceId: string;
|
|
183205
|
+
requestId: string;
|
|
183206
|
+
} | {
|
|
183207
|
+
kind: "support";
|
|
183208
|
+
requestId: string;
|
|
183209
|
+
};
|
|
183210
|
+
};
|
|
183211
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183212
|
+
currentRevision?: string | undefined;
|
|
183213
|
+
retryAfterSeconds?: number | undefined;
|
|
183214
|
+
}, unknown>>;
|
|
183215
|
+
};
|
|
183216
|
+
readonly conflict: {
|
|
183217
|
+
readonly status: 409;
|
|
183218
|
+
readonly data: z$1.ZodType<{
|
|
183219
|
+
traceId: string;
|
|
183220
|
+
recovery: {
|
|
183221
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183222
|
+
} | {
|
|
183223
|
+
action: "read_operation";
|
|
183224
|
+
operation: {
|
|
183225
|
+
kind: "command";
|
|
183226
|
+
serialNumber: string;
|
|
183227
|
+
idempotencyKey: string;
|
|
183228
|
+
} | {
|
|
183229
|
+
kind: "firmware";
|
|
183230
|
+
serialNumber: string;
|
|
183231
|
+
updateId: string;
|
|
183232
|
+
} | {
|
|
183233
|
+
kind: "bluetooth_firmware";
|
|
183234
|
+
deviceId: string;
|
|
183235
|
+
updateId: string;
|
|
183236
|
+
} | {
|
|
183237
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183238
|
+
deviceId: string;
|
|
183239
|
+
requestId: string;
|
|
183240
|
+
} | {
|
|
183241
|
+
kind: "support";
|
|
183242
|
+
requestId: string;
|
|
183243
|
+
};
|
|
183244
|
+
};
|
|
183245
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183246
|
+
currentRevision?: string | undefined;
|
|
183247
|
+
retryAfterSeconds?: number | undefined;
|
|
183248
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183249
|
+
traceId: string;
|
|
183250
|
+
recovery: {
|
|
183251
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183252
|
+
} | {
|
|
183253
|
+
action: "read_operation";
|
|
183254
|
+
operation: {
|
|
183255
|
+
kind: "command";
|
|
183256
|
+
serialNumber: string;
|
|
183257
|
+
idempotencyKey: string;
|
|
183258
|
+
} | {
|
|
183259
|
+
kind: "firmware";
|
|
183260
|
+
serialNumber: string;
|
|
183261
|
+
updateId: string;
|
|
183262
|
+
} | {
|
|
183263
|
+
kind: "bluetooth_firmware";
|
|
183264
|
+
deviceId: string;
|
|
183265
|
+
updateId: string;
|
|
183266
|
+
} | {
|
|
183267
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183268
|
+
deviceId: string;
|
|
183269
|
+
requestId: string;
|
|
183270
|
+
} | {
|
|
183271
|
+
kind: "support";
|
|
183272
|
+
requestId: string;
|
|
183273
|
+
};
|
|
183274
|
+
};
|
|
183275
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183276
|
+
currentRevision?: string | undefined;
|
|
183277
|
+
retryAfterSeconds?: number | undefined;
|
|
183278
|
+
}, unknown>>;
|
|
183279
|
+
};
|
|
183280
|
+
readonly rate_limited: {
|
|
183281
|
+
readonly status: 429;
|
|
183282
|
+
readonly data: z$1.ZodType<{
|
|
183283
|
+
traceId: string;
|
|
183284
|
+
recovery: {
|
|
183285
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183286
|
+
} | {
|
|
183287
|
+
action: "read_operation";
|
|
183288
|
+
operation: {
|
|
183289
|
+
kind: "command";
|
|
183290
|
+
serialNumber: string;
|
|
183291
|
+
idempotencyKey: string;
|
|
183292
|
+
} | {
|
|
183293
|
+
kind: "firmware";
|
|
183294
|
+
serialNumber: string;
|
|
183295
|
+
updateId: string;
|
|
183296
|
+
} | {
|
|
183297
|
+
kind: "bluetooth_firmware";
|
|
183298
|
+
deviceId: string;
|
|
183299
|
+
updateId: string;
|
|
183300
|
+
} | {
|
|
183301
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183302
|
+
deviceId: string;
|
|
183303
|
+
requestId: string;
|
|
183304
|
+
} | {
|
|
183305
|
+
kind: "support";
|
|
183306
|
+
requestId: string;
|
|
183307
|
+
};
|
|
183308
|
+
};
|
|
183309
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183310
|
+
currentRevision?: string | undefined;
|
|
183311
|
+
retryAfterSeconds?: number | undefined;
|
|
183312
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183313
|
+
traceId: string;
|
|
183314
|
+
recovery: {
|
|
183315
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183316
|
+
} | {
|
|
183317
|
+
action: "read_operation";
|
|
183318
|
+
operation: {
|
|
183319
|
+
kind: "command";
|
|
183320
|
+
serialNumber: string;
|
|
183321
|
+
idempotencyKey: string;
|
|
183322
|
+
} | {
|
|
183323
|
+
kind: "firmware";
|
|
183324
|
+
serialNumber: string;
|
|
183325
|
+
updateId: string;
|
|
183326
|
+
} | {
|
|
183327
|
+
kind: "bluetooth_firmware";
|
|
183328
|
+
deviceId: string;
|
|
183329
|
+
updateId: string;
|
|
183330
|
+
} | {
|
|
183331
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183332
|
+
deviceId: string;
|
|
183333
|
+
requestId: string;
|
|
183334
|
+
} | {
|
|
183335
|
+
kind: "support";
|
|
183336
|
+
requestId: string;
|
|
183337
|
+
};
|
|
183338
|
+
};
|
|
183339
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183340
|
+
currentRevision?: string | undefined;
|
|
183341
|
+
retryAfterSeconds?: number | undefined;
|
|
183342
|
+
}, unknown>>;
|
|
183343
|
+
};
|
|
183344
|
+
readonly stored_data_invalid: {
|
|
183345
|
+
readonly status: 503;
|
|
183346
|
+
readonly data: z$1.ZodType<{
|
|
183347
|
+
traceId: string;
|
|
183348
|
+
recovery: {
|
|
183349
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183350
|
+
} | {
|
|
183351
|
+
action: "read_operation";
|
|
183352
|
+
operation: {
|
|
183353
|
+
kind: "command";
|
|
183354
|
+
serialNumber: string;
|
|
183355
|
+
idempotencyKey: string;
|
|
183356
|
+
} | {
|
|
183357
|
+
kind: "firmware";
|
|
183358
|
+
serialNumber: string;
|
|
183359
|
+
updateId: string;
|
|
183360
|
+
} | {
|
|
183361
|
+
kind: "bluetooth_firmware";
|
|
183362
|
+
deviceId: string;
|
|
183363
|
+
updateId: string;
|
|
183364
|
+
} | {
|
|
183365
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183366
|
+
deviceId: string;
|
|
183367
|
+
requestId: string;
|
|
183368
|
+
} | {
|
|
183369
|
+
kind: "support";
|
|
183370
|
+
requestId: string;
|
|
183371
|
+
};
|
|
183372
|
+
};
|
|
183373
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183374
|
+
currentRevision?: string | undefined;
|
|
183375
|
+
retryAfterSeconds?: number | undefined;
|
|
183376
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183377
|
+
traceId: string;
|
|
183378
|
+
recovery: {
|
|
183379
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183380
|
+
} | {
|
|
183381
|
+
action: "read_operation";
|
|
183382
|
+
operation: {
|
|
183383
|
+
kind: "command";
|
|
183384
|
+
serialNumber: string;
|
|
183385
|
+
idempotencyKey: string;
|
|
183386
|
+
} | {
|
|
183387
|
+
kind: "firmware";
|
|
183388
|
+
serialNumber: string;
|
|
183389
|
+
updateId: string;
|
|
183390
|
+
} | {
|
|
183391
|
+
kind: "bluetooth_firmware";
|
|
183392
|
+
deviceId: string;
|
|
183393
|
+
updateId: string;
|
|
183394
|
+
} | {
|
|
183395
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183396
|
+
deviceId: string;
|
|
183397
|
+
requestId: string;
|
|
183398
|
+
} | {
|
|
183399
|
+
kind: "support";
|
|
183400
|
+
requestId: string;
|
|
183401
|
+
};
|
|
183402
|
+
};
|
|
183403
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183404
|
+
currentRevision?: string | undefined;
|
|
183405
|
+
retryAfterSeconds?: number | undefined;
|
|
183406
|
+
}, unknown>>;
|
|
183407
|
+
};
|
|
183408
|
+
readonly service_unavailable: {
|
|
183409
|
+
readonly status: 503;
|
|
183410
|
+
readonly data: z$1.ZodType<{
|
|
183411
|
+
traceId: string;
|
|
183412
|
+
recovery: {
|
|
183413
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183414
|
+
} | {
|
|
183415
|
+
action: "read_operation";
|
|
183416
|
+
operation: {
|
|
183417
|
+
kind: "command";
|
|
183418
|
+
serialNumber: string;
|
|
183419
|
+
idempotencyKey: string;
|
|
183420
|
+
} | {
|
|
183421
|
+
kind: "firmware";
|
|
183422
|
+
serialNumber: string;
|
|
183423
|
+
updateId: string;
|
|
183424
|
+
} | {
|
|
183425
|
+
kind: "bluetooth_firmware";
|
|
183426
|
+
deviceId: string;
|
|
183427
|
+
updateId: string;
|
|
183428
|
+
} | {
|
|
183429
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183430
|
+
deviceId: string;
|
|
183431
|
+
requestId: string;
|
|
183432
|
+
} | {
|
|
183433
|
+
kind: "support";
|
|
183434
|
+
requestId: string;
|
|
183435
|
+
};
|
|
183436
|
+
};
|
|
183437
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183438
|
+
currentRevision?: string | undefined;
|
|
183439
|
+
retryAfterSeconds?: number | undefined;
|
|
183440
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183441
|
+
traceId: string;
|
|
183442
|
+
recovery: {
|
|
183443
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183444
|
+
} | {
|
|
183445
|
+
action: "read_operation";
|
|
183446
|
+
operation: {
|
|
183447
|
+
kind: "command";
|
|
183448
|
+
serialNumber: string;
|
|
183449
|
+
idempotencyKey: string;
|
|
183450
|
+
} | {
|
|
183451
|
+
kind: "firmware";
|
|
183452
|
+
serialNumber: string;
|
|
183453
|
+
updateId: string;
|
|
183454
|
+
} | {
|
|
183455
|
+
kind: "bluetooth_firmware";
|
|
183456
|
+
deviceId: string;
|
|
183457
|
+
updateId: string;
|
|
183458
|
+
} | {
|
|
183459
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183460
|
+
deviceId: string;
|
|
183461
|
+
requestId: string;
|
|
183462
|
+
} | {
|
|
183463
|
+
kind: "support";
|
|
183464
|
+
requestId: string;
|
|
183465
|
+
};
|
|
183466
|
+
};
|
|
183467
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183468
|
+
currentRevision?: string | undefined;
|
|
183469
|
+
retryAfterSeconds?: number | undefined;
|
|
183470
|
+
}, unknown>>;
|
|
183471
|
+
};
|
|
183472
|
+
readonly read_unavailable: {
|
|
183473
|
+
readonly status: 503;
|
|
183474
|
+
readonly data: z$1.ZodType<{
|
|
183475
|
+
traceId: string;
|
|
183476
|
+
recovery: {
|
|
183477
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183478
|
+
} | {
|
|
183479
|
+
action: "read_operation";
|
|
183480
|
+
operation: {
|
|
183481
|
+
kind: "command";
|
|
183482
|
+
serialNumber: string;
|
|
183483
|
+
idempotencyKey: string;
|
|
183484
|
+
} | {
|
|
183485
|
+
kind: "firmware";
|
|
183486
|
+
serialNumber: string;
|
|
183487
|
+
updateId: string;
|
|
183488
|
+
} | {
|
|
183489
|
+
kind: "bluetooth_firmware";
|
|
183490
|
+
deviceId: string;
|
|
183491
|
+
updateId: string;
|
|
183492
|
+
} | {
|
|
183493
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183494
|
+
deviceId: string;
|
|
183495
|
+
requestId: string;
|
|
183496
|
+
} | {
|
|
183497
|
+
kind: "support";
|
|
183498
|
+
requestId: string;
|
|
183499
|
+
};
|
|
183500
|
+
};
|
|
183501
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183502
|
+
currentRevision?: string | undefined;
|
|
183503
|
+
retryAfterSeconds?: number | undefined;
|
|
183504
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183505
|
+
traceId: string;
|
|
183506
|
+
recovery: {
|
|
183507
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183508
|
+
} | {
|
|
183509
|
+
action: "read_operation";
|
|
183510
|
+
operation: {
|
|
183511
|
+
kind: "command";
|
|
183512
|
+
serialNumber: string;
|
|
183513
|
+
idempotencyKey: string;
|
|
183514
|
+
} | {
|
|
183515
|
+
kind: "firmware";
|
|
183516
|
+
serialNumber: string;
|
|
183517
|
+
updateId: string;
|
|
183518
|
+
} | {
|
|
183519
|
+
kind: "bluetooth_firmware";
|
|
183520
|
+
deviceId: string;
|
|
183521
|
+
updateId: string;
|
|
183522
|
+
} | {
|
|
183523
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183524
|
+
deviceId: string;
|
|
183525
|
+
requestId: string;
|
|
183526
|
+
} | {
|
|
183527
|
+
kind: "support";
|
|
183528
|
+
requestId: string;
|
|
183529
|
+
};
|
|
183530
|
+
};
|
|
183531
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183532
|
+
currentRevision?: string | undefined;
|
|
183533
|
+
retryAfterSeconds?: number | undefined;
|
|
183534
|
+
}, unknown>>;
|
|
183535
|
+
};
|
|
183536
|
+
readonly stream_unavailable: {
|
|
183537
|
+
readonly status: 503;
|
|
183538
|
+
readonly data: z$1.ZodType<{
|
|
183539
|
+
traceId: string;
|
|
183540
|
+
recovery: {
|
|
183541
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183542
|
+
} | {
|
|
183543
|
+
action: "read_operation";
|
|
183544
|
+
operation: {
|
|
183545
|
+
kind: "command";
|
|
183546
|
+
serialNumber: string;
|
|
183547
|
+
idempotencyKey: string;
|
|
183548
|
+
} | {
|
|
183549
|
+
kind: "firmware";
|
|
183550
|
+
serialNumber: string;
|
|
183551
|
+
updateId: string;
|
|
183552
|
+
} | {
|
|
183553
|
+
kind: "bluetooth_firmware";
|
|
183554
|
+
deviceId: string;
|
|
183555
|
+
updateId: string;
|
|
183556
|
+
} | {
|
|
183557
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183558
|
+
deviceId: string;
|
|
183559
|
+
requestId: string;
|
|
183560
|
+
} | {
|
|
183561
|
+
kind: "support";
|
|
183562
|
+
requestId: string;
|
|
183563
|
+
};
|
|
183564
|
+
};
|
|
183565
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183566
|
+
currentRevision?: string | undefined;
|
|
183567
|
+
retryAfterSeconds?: number | undefined;
|
|
183568
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183569
|
+
traceId: string;
|
|
183570
|
+
recovery: {
|
|
183571
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183572
|
+
} | {
|
|
183573
|
+
action: "read_operation";
|
|
183574
|
+
operation: {
|
|
183575
|
+
kind: "command";
|
|
183576
|
+
serialNumber: string;
|
|
183577
|
+
idempotencyKey: string;
|
|
183578
|
+
} | {
|
|
183579
|
+
kind: "firmware";
|
|
183580
|
+
serialNumber: string;
|
|
183581
|
+
updateId: string;
|
|
183582
|
+
} | {
|
|
183583
|
+
kind: "bluetooth_firmware";
|
|
183584
|
+
deviceId: string;
|
|
183585
|
+
updateId: string;
|
|
183586
|
+
} | {
|
|
183587
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183588
|
+
deviceId: string;
|
|
183589
|
+
requestId: string;
|
|
183590
|
+
} | {
|
|
183591
|
+
kind: "support";
|
|
183592
|
+
requestId: string;
|
|
183593
|
+
};
|
|
183594
|
+
};
|
|
183595
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183596
|
+
currentRevision?: string | undefined;
|
|
183597
|
+
retryAfterSeconds?: number | undefined;
|
|
183598
|
+
}, unknown>>;
|
|
183599
|
+
};
|
|
183600
|
+
readonly payload_too_large: {
|
|
183601
|
+
readonly status: 413;
|
|
183602
|
+
readonly data: z$1.ZodType<{
|
|
183603
|
+
traceId: string;
|
|
183604
|
+
recovery: {
|
|
183605
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183606
|
+
} | {
|
|
183607
|
+
action: "read_operation";
|
|
183608
|
+
operation: {
|
|
183609
|
+
kind: "command";
|
|
183610
|
+
serialNumber: string;
|
|
183611
|
+
idempotencyKey: string;
|
|
183612
|
+
} | {
|
|
183613
|
+
kind: "firmware";
|
|
183614
|
+
serialNumber: string;
|
|
183615
|
+
updateId: string;
|
|
183616
|
+
} | {
|
|
183617
|
+
kind: "bluetooth_firmware";
|
|
183618
|
+
deviceId: string;
|
|
183619
|
+
updateId: string;
|
|
183620
|
+
} | {
|
|
183621
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183622
|
+
deviceId: string;
|
|
183623
|
+
requestId: string;
|
|
183624
|
+
} | {
|
|
183625
|
+
kind: "support";
|
|
183626
|
+
requestId: string;
|
|
183627
|
+
};
|
|
183628
|
+
};
|
|
183629
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183630
|
+
currentRevision?: string | undefined;
|
|
183631
|
+
retryAfterSeconds?: number | undefined;
|
|
183632
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183633
|
+
traceId: string;
|
|
183634
|
+
recovery: {
|
|
183635
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183636
|
+
} | {
|
|
183637
|
+
action: "read_operation";
|
|
183638
|
+
operation: {
|
|
183639
|
+
kind: "command";
|
|
183640
|
+
serialNumber: string;
|
|
183641
|
+
idempotencyKey: string;
|
|
183642
|
+
} | {
|
|
183643
|
+
kind: "firmware";
|
|
183644
|
+
serialNumber: string;
|
|
183645
|
+
updateId: string;
|
|
183646
|
+
} | {
|
|
183647
|
+
kind: "bluetooth_firmware";
|
|
183648
|
+
deviceId: string;
|
|
183649
|
+
updateId: string;
|
|
183650
|
+
} | {
|
|
183651
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183652
|
+
deviceId: string;
|
|
183653
|
+
requestId: string;
|
|
183654
|
+
} | {
|
|
183655
|
+
kind: "support";
|
|
183656
|
+
requestId: string;
|
|
183657
|
+
};
|
|
183658
|
+
};
|
|
183659
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183660
|
+
currentRevision?: string | undefined;
|
|
183661
|
+
retryAfterSeconds?: number | undefined;
|
|
183662
|
+
}, unknown>>;
|
|
183663
|
+
};
|
|
183664
|
+
readonly request_timeout: {
|
|
183665
|
+
readonly status: 503;
|
|
183666
|
+
readonly data: z$1.ZodType<{
|
|
183667
|
+
traceId: string;
|
|
183668
|
+
recovery: {
|
|
183669
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183670
|
+
} | {
|
|
183671
|
+
action: "read_operation";
|
|
183672
|
+
operation: {
|
|
183673
|
+
kind: "command";
|
|
183674
|
+
serialNumber: string;
|
|
183675
|
+
idempotencyKey: string;
|
|
183676
|
+
} | {
|
|
183677
|
+
kind: "firmware";
|
|
183678
|
+
serialNumber: string;
|
|
183679
|
+
updateId: string;
|
|
183680
|
+
} | {
|
|
183681
|
+
kind: "bluetooth_firmware";
|
|
183682
|
+
deviceId: string;
|
|
183683
|
+
updateId: string;
|
|
183684
|
+
} | {
|
|
183685
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183686
|
+
deviceId: string;
|
|
183687
|
+
requestId: string;
|
|
183688
|
+
} | {
|
|
183689
|
+
kind: "support";
|
|
183690
|
+
requestId: string;
|
|
183691
|
+
};
|
|
183692
|
+
};
|
|
183693
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183694
|
+
currentRevision?: string | undefined;
|
|
183695
|
+
retryAfterSeconds?: number | undefined;
|
|
183696
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183697
|
+
traceId: string;
|
|
183698
|
+
recovery: {
|
|
183699
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183700
|
+
} | {
|
|
183701
|
+
action: "read_operation";
|
|
183702
|
+
operation: {
|
|
183703
|
+
kind: "command";
|
|
183704
|
+
serialNumber: string;
|
|
183705
|
+
idempotencyKey: string;
|
|
183706
|
+
} | {
|
|
183707
|
+
kind: "firmware";
|
|
183708
|
+
serialNumber: string;
|
|
183709
|
+
updateId: string;
|
|
183710
|
+
} | {
|
|
183711
|
+
kind: "bluetooth_firmware";
|
|
183712
|
+
deviceId: string;
|
|
183713
|
+
updateId: string;
|
|
183714
|
+
} | {
|
|
183715
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183716
|
+
deviceId: string;
|
|
183717
|
+
requestId: string;
|
|
183718
|
+
} | {
|
|
183719
|
+
kind: "support";
|
|
183720
|
+
requestId: string;
|
|
183721
|
+
};
|
|
183722
|
+
};
|
|
183723
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183724
|
+
currentRevision?: string | undefined;
|
|
183725
|
+
retryAfterSeconds?: number | undefined;
|
|
183726
|
+
}, unknown>>;
|
|
183727
|
+
};
|
|
183728
|
+
readonly operation_unconfirmed: {
|
|
183729
|
+
readonly status: 503;
|
|
183730
|
+
readonly data: z$1.ZodType<{
|
|
183731
|
+
traceId: string;
|
|
183732
|
+
recovery: {
|
|
183733
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183734
|
+
} | {
|
|
183735
|
+
action: "read_operation";
|
|
183736
|
+
operation: {
|
|
183737
|
+
kind: "command";
|
|
183738
|
+
serialNumber: string;
|
|
183739
|
+
idempotencyKey: string;
|
|
183740
|
+
} | {
|
|
183741
|
+
kind: "firmware";
|
|
183742
|
+
serialNumber: string;
|
|
183743
|
+
updateId: string;
|
|
183744
|
+
} | {
|
|
183745
|
+
kind: "bluetooth_firmware";
|
|
183746
|
+
deviceId: string;
|
|
183747
|
+
updateId: string;
|
|
183748
|
+
} | {
|
|
183749
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183750
|
+
deviceId: string;
|
|
183751
|
+
requestId: string;
|
|
183752
|
+
} | {
|
|
183753
|
+
kind: "support";
|
|
183754
|
+
requestId: string;
|
|
183755
|
+
};
|
|
183756
|
+
};
|
|
183757
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183758
|
+
currentRevision?: string | undefined;
|
|
183759
|
+
retryAfterSeconds?: number | undefined;
|
|
183760
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183761
|
+
traceId: string;
|
|
183762
|
+
recovery: {
|
|
183763
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183764
|
+
} | {
|
|
183765
|
+
action: "read_operation";
|
|
183766
|
+
operation: {
|
|
183767
|
+
kind: "command";
|
|
183768
|
+
serialNumber: string;
|
|
183769
|
+
idempotencyKey: string;
|
|
183770
|
+
} | {
|
|
183771
|
+
kind: "firmware";
|
|
183772
|
+
serialNumber: string;
|
|
183773
|
+
updateId: string;
|
|
183774
|
+
} | {
|
|
183775
|
+
kind: "bluetooth_firmware";
|
|
183776
|
+
deviceId: string;
|
|
183777
|
+
updateId: string;
|
|
183778
|
+
} | {
|
|
183779
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183780
|
+
deviceId: string;
|
|
183781
|
+
requestId: string;
|
|
183782
|
+
} | {
|
|
183783
|
+
kind: "support";
|
|
183784
|
+
requestId: string;
|
|
183785
|
+
};
|
|
183786
|
+
};
|
|
183787
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183788
|
+
currentRevision?: string | undefined;
|
|
183789
|
+
retryAfterSeconds?: number | undefined;
|
|
183790
|
+
}, unknown>>;
|
|
183791
|
+
};
|
|
183792
|
+
readonly directory_unavailable: {
|
|
183793
|
+
readonly status: 503;
|
|
183794
|
+
readonly data: z$1.ZodType<{
|
|
183795
|
+
traceId: string;
|
|
183796
|
+
recovery: {
|
|
183797
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183798
|
+
} | {
|
|
183799
|
+
action: "read_operation";
|
|
183800
|
+
operation: {
|
|
183801
|
+
kind: "command";
|
|
183802
|
+
serialNumber: string;
|
|
183803
|
+
idempotencyKey: string;
|
|
183804
|
+
} | {
|
|
183805
|
+
kind: "firmware";
|
|
183806
|
+
serialNumber: string;
|
|
183807
|
+
updateId: string;
|
|
183808
|
+
} | {
|
|
183809
|
+
kind: "bluetooth_firmware";
|
|
183810
|
+
deviceId: string;
|
|
183811
|
+
updateId: string;
|
|
183812
|
+
} | {
|
|
183813
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183814
|
+
deviceId: string;
|
|
183815
|
+
requestId: string;
|
|
183816
|
+
} | {
|
|
183817
|
+
kind: "support";
|
|
183818
|
+
requestId: string;
|
|
183819
|
+
};
|
|
183820
|
+
};
|
|
183821
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183822
|
+
currentRevision?: string | undefined;
|
|
183823
|
+
retryAfterSeconds?: number | undefined;
|
|
183824
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
183825
|
+
traceId: string;
|
|
183826
|
+
recovery: {
|
|
183827
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183828
|
+
} | {
|
|
183829
|
+
action: "read_operation";
|
|
183830
|
+
operation: {
|
|
183831
|
+
kind: "command";
|
|
183832
|
+
serialNumber: string;
|
|
183833
|
+
idempotencyKey: string;
|
|
183834
|
+
} | {
|
|
183835
|
+
kind: "firmware";
|
|
183836
|
+
serialNumber: string;
|
|
183837
|
+
updateId: string;
|
|
183838
|
+
} | {
|
|
183839
|
+
kind: "bluetooth_firmware";
|
|
183840
|
+
deviceId: string;
|
|
183841
|
+
updateId: string;
|
|
183842
|
+
} | {
|
|
183843
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183844
|
+
deviceId: string;
|
|
183845
|
+
requestId: string;
|
|
183846
|
+
} | {
|
|
183847
|
+
kind: "support";
|
|
183848
|
+
requestId: string;
|
|
183849
|
+
};
|
|
183850
|
+
};
|
|
183851
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183852
|
+
currentRevision?: string | undefined;
|
|
183853
|
+
retryAfterSeconds?: number | undefined;
|
|
183854
|
+
}, unknown>>;
|
|
183855
|
+
};
|
|
183856
|
+
}>, Record<never, never>>;
|
|
183857
|
+
getDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
183858
|
+
deviceId: z$1.ZodString;
|
|
183859
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
183860
|
+
id: z$1.ZodString;
|
|
183861
|
+
firmware: z$1.ZodNullable<z$1.ZodObject<{
|
|
183862
|
+
lte: z$1.ZodNullable<z$1.ZodString>;
|
|
183863
|
+
bluetooth: z$1.ZodNullable<z$1.ZodString>;
|
|
183864
|
+
battery: z$1.ZodNullable<z$1.ZodString>;
|
|
183865
|
+
modem: z$1.ZodNullable<z$1.ZodString>;
|
|
183866
|
+
mtk: z$1.ZodNullable<z$1.ZodString>;
|
|
183867
|
+
ti: z$1.ZodNullable<z$1.ZodString>;
|
|
183868
|
+
buildNumber: z$1.ZodNullable<z$1.ZodInt>;
|
|
183869
|
+
}, z$1.core.$strip>>;
|
|
183870
|
+
subscription: z$1.ZodDiscriminatedUnion<[
|
|
183871
|
+
z$1.ZodObject<{
|
|
183872
|
+
id: z$1.ZodString;
|
|
183873
|
+
activity: z$1.ZodEnum<{
|
|
183874
|
+
unknown: "unknown";
|
|
183875
|
+
active: "active";
|
|
183876
|
+
inactive: "inactive";
|
|
183877
|
+
}>;
|
|
183878
|
+
isDemo: z$1.ZodBoolean;
|
|
183879
|
+
status: z$1.ZodNullable<z$1.ZodString>;
|
|
183880
|
+
country: z$1.ZodNullable<z$1.ZodString>;
|
|
183881
|
+
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183882
|
+
state: z$1.ZodLiteral<"available">;
|
|
183883
|
+
}, z$1.core.$strip>,
|
|
183884
|
+
z$1.ZodObject<{
|
|
183885
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
183886
|
+
reason: z$1.ZodEnum<{
|
|
183887
|
+
invalid: "invalid";
|
|
183888
|
+
not_observed: "not_observed";
|
|
183889
|
+
not_assigned: "not_assigned";
|
|
183890
|
+
}>;
|
|
183891
|
+
}, z$1.core.$strip>
|
|
183892
|
+
], "state">;
|
|
183893
|
+
createdAt: z$1.ZodISODateTime;
|
|
183894
|
+
revision: z$1.ZodString;
|
|
183895
|
+
battery: z$1.ZodDiscriminatedUnion<[
|
|
183896
|
+
z$1.ZodObject<{
|
|
183897
|
+
level: z$1.ZodNullable<z$1.ZodNumber>;
|
|
183898
|
+
isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
183899
|
+
levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183900
|
+
chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183901
|
+
observation: z$1.ZodNullable<z$1.ZodObject<{
|
|
183902
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183903
|
+
receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183904
|
+
}, z$1.core.$strip>>;
|
|
183905
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
183906
|
+
state: z$1.ZodLiteral<"available">;
|
|
183907
|
+
}, z$1.core.$strip>,
|
|
183908
|
+
z$1.ZodObject<{
|
|
183909
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
183910
|
+
reason: z$1.ZodEnum<{
|
|
183911
|
+
invalid: "invalid";
|
|
183912
|
+
not_observed: "not_observed";
|
|
183913
|
+
not_assigned: "not_assigned";
|
|
183914
|
+
}>;
|
|
183915
|
+
}, z$1.core.$strip>
|
|
183916
|
+
], "state">;
|
|
183917
|
+
generation: z$1.ZodNullable<z$1.ZodInt>;
|
|
183918
|
+
bike: z$1.ZodObject<{
|
|
183919
|
+
revision: z$1.ZodString;
|
|
183920
|
+
name: z$1.ZodNullable<z$1.ZodString>;
|
|
183921
|
+
brand: z$1.ZodNullable<z$1.ZodString>;
|
|
183922
|
+
type: z$1.ZodNullable<z$1.ZodString>;
|
|
183923
|
+
model: z$1.ZodNullable<z$1.ZodString>;
|
|
183924
|
+
frameNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
183925
|
+
url: z$1.ZodNullable<z$1.ZodString>;
|
|
183926
|
+
marketPrice: z$1.ZodNullable<z$1.ZodString>;
|
|
183927
|
+
marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
|
|
183928
|
+
}, z$1.core.$strip>;
|
|
183929
|
+
location: z$1.ZodDiscriminatedUnion<[
|
|
183930
|
+
z$1.ZodObject<{
|
|
183931
|
+
latitude: z$1.ZodNumber;
|
|
183932
|
+
longitude: z$1.ZodNumber;
|
|
183933
|
+
accuracy: z$1.ZodNullable<z$1.ZodNumber>;
|
|
183934
|
+
source: z$1.ZodNullable<z$1.ZodString>;
|
|
183935
|
+
observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
183936
|
+
state: z$1.ZodLiteral<"available">;
|
|
183937
|
+
}, z$1.core.$strip>,
|
|
183938
|
+
z$1.ZodObject<{
|
|
183939
|
+
state: z$1.ZodLiteral<"unavailable">;
|
|
183940
|
+
reason: z$1.ZodEnum<{
|
|
183941
|
+
invalid: "invalid";
|
|
183942
|
+
not_observed: "not_observed";
|
|
183943
|
+
not_assigned: "not_assigned";
|
|
183944
|
+
}>;
|
|
183945
|
+
}, z$1.core.$strip>
|
|
183946
|
+
], "state">;
|
|
183947
|
+
readIssues: z$1.ZodArray<z$1.ZodObject<{
|
|
183948
|
+
path: z$1.ZodString;
|
|
183949
|
+
code: z$1.ZodLiteral<"invalid_stored_value">;
|
|
183950
|
+
}, z$1.core.$strip>>;
|
|
183951
|
+
updatedAt: z$1.ZodISODateTime;
|
|
183952
|
+
hardware: z$1.ZodNullable<z$1.ZodObject<{
|
|
183953
|
+
imei: z$1.ZodNullable<z$1.ZodString>;
|
|
183954
|
+
iccid: z$1.ZodNullable<z$1.ZodString>;
|
|
183955
|
+
imsi: z$1.ZodNullable<z$1.ZodString>;
|
|
183956
|
+
serialNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
183957
|
+
}, z$1.core.$strip>>;
|
|
183958
|
+
backend: z$1.ZodNullable<z$1.ZodString>;
|
|
183959
|
+
configuration: z$1.ZodNullable<z$1.ZodObject<{
|
|
183960
|
+
movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
183961
|
+
isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
183962
|
+
}, z$1.core.$strip>>;
|
|
183963
|
+
membership: z$1.ZodObject<{
|
|
183964
|
+
revision: z$1.ZodString;
|
|
183965
|
+
memberCount: z$1.ZodInt;
|
|
183966
|
+
}, z$1.core.$strip>;
|
|
183967
|
+
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
183968
|
+
readonly invalid: {
|
|
183969
|
+
readonly status: 400;
|
|
183970
|
+
readonly data: z$1.ZodType<{
|
|
183971
|
+
traceId: string;
|
|
183972
|
+
recovery: {
|
|
183973
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
183974
|
+
} | {
|
|
183975
|
+
action: "read_operation";
|
|
183976
|
+
operation: {
|
|
183977
|
+
kind: "command";
|
|
183978
|
+
serialNumber: string;
|
|
183979
|
+
idempotencyKey: string;
|
|
183980
|
+
} | {
|
|
183981
|
+
kind: "firmware";
|
|
183982
|
+
serialNumber: string;
|
|
183983
|
+
updateId: string;
|
|
183984
|
+
} | {
|
|
183985
|
+
kind: "bluetooth_firmware";
|
|
183986
|
+
deviceId: string;
|
|
183987
|
+
updateId: string;
|
|
183988
|
+
} | {
|
|
183989
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
183990
|
+
deviceId: string;
|
|
183991
|
+
requestId: string;
|
|
183992
|
+
} | {
|
|
183993
|
+
kind: "support";
|
|
183994
|
+
requestId: string;
|
|
183995
|
+
};
|
|
183996
|
+
};
|
|
183997
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
183998
|
+
currentRevision?: string | undefined;
|
|
183999
|
+
retryAfterSeconds?: number | undefined;
|
|
184000
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184001
|
+
traceId: string;
|
|
184002
|
+
recovery: {
|
|
184003
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184004
|
+
} | {
|
|
184005
|
+
action: "read_operation";
|
|
184006
|
+
operation: {
|
|
184007
|
+
kind: "command";
|
|
184008
|
+
serialNumber: string;
|
|
184009
|
+
idempotencyKey: string;
|
|
184010
|
+
} | {
|
|
184011
|
+
kind: "firmware";
|
|
184012
|
+
serialNumber: string;
|
|
184013
|
+
updateId: string;
|
|
184014
|
+
} | {
|
|
184015
|
+
kind: "bluetooth_firmware";
|
|
184016
|
+
deviceId: string;
|
|
184017
|
+
updateId: string;
|
|
184018
|
+
} | {
|
|
184019
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184020
|
+
deviceId: string;
|
|
184021
|
+
requestId: string;
|
|
184022
|
+
} | {
|
|
184023
|
+
kind: "support";
|
|
184024
|
+
requestId: string;
|
|
184025
|
+
};
|
|
184026
|
+
};
|
|
184027
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184028
|
+
currentRevision?: string | undefined;
|
|
184029
|
+
retryAfterSeconds?: number | undefined;
|
|
184030
|
+
}, unknown>>;
|
|
184031
|
+
};
|
|
184032
|
+
readonly unauthenticated: {
|
|
184033
|
+
readonly status: 401;
|
|
184034
|
+
readonly data: z$1.ZodType<{
|
|
184035
|
+
traceId: string;
|
|
184036
|
+
recovery: {
|
|
184037
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184038
|
+
} | {
|
|
184039
|
+
action: "read_operation";
|
|
184040
|
+
operation: {
|
|
184041
|
+
kind: "command";
|
|
184042
|
+
serialNumber: string;
|
|
184043
|
+
idempotencyKey: string;
|
|
184044
|
+
} | {
|
|
184045
|
+
kind: "firmware";
|
|
184046
|
+
serialNumber: string;
|
|
184047
|
+
updateId: string;
|
|
184048
|
+
} | {
|
|
184049
|
+
kind: "bluetooth_firmware";
|
|
184050
|
+
deviceId: string;
|
|
184051
|
+
updateId: string;
|
|
184052
|
+
} | {
|
|
184053
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184054
|
+
deviceId: string;
|
|
184055
|
+
requestId: string;
|
|
184056
|
+
} | {
|
|
184057
|
+
kind: "support";
|
|
184058
|
+
requestId: string;
|
|
184059
|
+
};
|
|
184060
|
+
};
|
|
184061
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184062
|
+
currentRevision?: string | undefined;
|
|
184063
|
+
retryAfterSeconds?: number | undefined;
|
|
184064
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184065
|
+
traceId: string;
|
|
184066
|
+
recovery: {
|
|
184067
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184068
|
+
} | {
|
|
184069
|
+
action: "read_operation";
|
|
184070
|
+
operation: {
|
|
184071
|
+
kind: "command";
|
|
184072
|
+
serialNumber: string;
|
|
184073
|
+
idempotencyKey: string;
|
|
184074
|
+
} | {
|
|
184075
|
+
kind: "firmware";
|
|
184076
|
+
serialNumber: string;
|
|
184077
|
+
updateId: string;
|
|
184078
|
+
} | {
|
|
184079
|
+
kind: "bluetooth_firmware";
|
|
184080
|
+
deviceId: string;
|
|
184081
|
+
updateId: string;
|
|
184082
|
+
} | {
|
|
184083
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184084
|
+
deviceId: string;
|
|
184085
|
+
requestId: string;
|
|
184086
|
+
} | {
|
|
184087
|
+
kind: "support";
|
|
184088
|
+
requestId: string;
|
|
184089
|
+
};
|
|
184090
|
+
};
|
|
184091
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184092
|
+
currentRevision?: string | undefined;
|
|
184093
|
+
retryAfterSeconds?: number | undefined;
|
|
184094
|
+
}, unknown>>;
|
|
184095
|
+
};
|
|
184096
|
+
readonly forbidden: {
|
|
184097
|
+
readonly status: 403;
|
|
184098
|
+
readonly data: z$1.ZodType<{
|
|
184099
|
+
traceId: string;
|
|
184100
|
+
recovery: {
|
|
184101
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184102
|
+
} | {
|
|
184103
|
+
action: "read_operation";
|
|
184104
|
+
operation: {
|
|
184105
|
+
kind: "command";
|
|
184106
|
+
serialNumber: string;
|
|
184107
|
+
idempotencyKey: string;
|
|
184108
|
+
} | {
|
|
184109
|
+
kind: "firmware";
|
|
184110
|
+
serialNumber: string;
|
|
184111
|
+
updateId: string;
|
|
184112
|
+
} | {
|
|
184113
|
+
kind: "bluetooth_firmware";
|
|
184114
|
+
deviceId: string;
|
|
184115
|
+
updateId: string;
|
|
184116
|
+
} | {
|
|
184117
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184118
|
+
deviceId: string;
|
|
184119
|
+
requestId: string;
|
|
184120
|
+
} | {
|
|
184121
|
+
kind: "support";
|
|
184122
|
+
requestId: string;
|
|
184123
|
+
};
|
|
184124
|
+
};
|
|
184125
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184126
|
+
currentRevision?: string | undefined;
|
|
184127
|
+
retryAfterSeconds?: number | undefined;
|
|
184128
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184129
|
+
traceId: string;
|
|
184130
|
+
recovery: {
|
|
184131
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184132
|
+
} | {
|
|
184133
|
+
action: "read_operation";
|
|
184134
|
+
operation: {
|
|
184135
|
+
kind: "command";
|
|
184136
|
+
serialNumber: string;
|
|
184137
|
+
idempotencyKey: string;
|
|
184138
|
+
} | {
|
|
184139
|
+
kind: "firmware";
|
|
184140
|
+
serialNumber: string;
|
|
184141
|
+
updateId: string;
|
|
184142
|
+
} | {
|
|
184143
|
+
kind: "bluetooth_firmware";
|
|
184144
|
+
deviceId: string;
|
|
184145
|
+
updateId: string;
|
|
184146
|
+
} | {
|
|
184147
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184148
|
+
deviceId: string;
|
|
184149
|
+
requestId: string;
|
|
184150
|
+
} | {
|
|
184151
|
+
kind: "support";
|
|
184152
|
+
requestId: string;
|
|
184153
|
+
};
|
|
184154
|
+
};
|
|
184155
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184156
|
+
currentRevision?: string | undefined;
|
|
184157
|
+
retryAfterSeconds?: number | undefined;
|
|
184158
|
+
}, unknown>>;
|
|
184159
|
+
};
|
|
184160
|
+
readonly not_found: {
|
|
184161
|
+
readonly status: 404;
|
|
184162
|
+
readonly data: z$1.ZodType<{
|
|
184163
|
+
traceId: string;
|
|
184164
|
+
recovery: {
|
|
184165
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184166
|
+
} | {
|
|
184167
|
+
action: "read_operation";
|
|
184168
|
+
operation: {
|
|
184169
|
+
kind: "command";
|
|
184170
|
+
serialNumber: string;
|
|
184171
|
+
idempotencyKey: string;
|
|
184172
|
+
} | {
|
|
184173
|
+
kind: "firmware";
|
|
184174
|
+
serialNumber: string;
|
|
184175
|
+
updateId: string;
|
|
184176
|
+
} | {
|
|
184177
|
+
kind: "bluetooth_firmware";
|
|
184178
|
+
deviceId: string;
|
|
184179
|
+
updateId: string;
|
|
184180
|
+
} | {
|
|
184181
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184182
|
+
deviceId: string;
|
|
184183
|
+
requestId: string;
|
|
184184
|
+
} | {
|
|
184185
|
+
kind: "support";
|
|
184186
|
+
requestId: string;
|
|
184187
|
+
};
|
|
184188
|
+
};
|
|
184189
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184190
|
+
currentRevision?: string | undefined;
|
|
184191
|
+
retryAfterSeconds?: number | undefined;
|
|
184192
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184193
|
+
traceId: string;
|
|
184194
|
+
recovery: {
|
|
184195
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184196
|
+
} | {
|
|
184197
|
+
action: "read_operation";
|
|
184198
|
+
operation: {
|
|
184199
|
+
kind: "command";
|
|
184200
|
+
serialNumber: string;
|
|
184201
|
+
idempotencyKey: string;
|
|
184202
|
+
} | {
|
|
184203
|
+
kind: "firmware";
|
|
184204
|
+
serialNumber: string;
|
|
184205
|
+
updateId: string;
|
|
184206
|
+
} | {
|
|
184207
|
+
kind: "bluetooth_firmware";
|
|
184208
|
+
deviceId: string;
|
|
184209
|
+
updateId: string;
|
|
184210
|
+
} | {
|
|
184211
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184212
|
+
deviceId: string;
|
|
184213
|
+
requestId: string;
|
|
184214
|
+
} | {
|
|
184215
|
+
kind: "support";
|
|
184216
|
+
requestId: string;
|
|
184217
|
+
};
|
|
184218
|
+
};
|
|
184219
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184220
|
+
currentRevision?: string | undefined;
|
|
184221
|
+
retryAfterSeconds?: number | undefined;
|
|
184222
|
+
}, unknown>>;
|
|
184223
|
+
};
|
|
184224
|
+
readonly conflict: {
|
|
184225
|
+
readonly status: 409;
|
|
184226
|
+
readonly data: z$1.ZodType<{
|
|
184227
|
+
traceId: string;
|
|
184228
|
+
recovery: {
|
|
184229
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184230
|
+
} | {
|
|
184231
|
+
action: "read_operation";
|
|
184232
|
+
operation: {
|
|
184233
|
+
kind: "command";
|
|
184234
|
+
serialNumber: string;
|
|
184235
|
+
idempotencyKey: string;
|
|
184236
|
+
} | {
|
|
184237
|
+
kind: "firmware";
|
|
184238
|
+
serialNumber: string;
|
|
184239
|
+
updateId: string;
|
|
184240
|
+
} | {
|
|
184241
|
+
kind: "bluetooth_firmware";
|
|
184242
|
+
deviceId: string;
|
|
184243
|
+
updateId: string;
|
|
184244
|
+
} | {
|
|
184245
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184246
|
+
deviceId: string;
|
|
184247
|
+
requestId: string;
|
|
184248
|
+
} | {
|
|
184249
|
+
kind: "support";
|
|
184250
|
+
requestId: string;
|
|
184251
|
+
};
|
|
184252
|
+
};
|
|
184253
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184254
|
+
currentRevision?: string | undefined;
|
|
184255
|
+
retryAfterSeconds?: number | undefined;
|
|
184256
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184257
|
+
traceId: string;
|
|
184258
|
+
recovery: {
|
|
184259
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184260
|
+
} | {
|
|
184261
|
+
action: "read_operation";
|
|
184262
|
+
operation: {
|
|
184263
|
+
kind: "command";
|
|
184264
|
+
serialNumber: string;
|
|
184265
|
+
idempotencyKey: string;
|
|
184266
|
+
} | {
|
|
184267
|
+
kind: "firmware";
|
|
184268
|
+
serialNumber: string;
|
|
184269
|
+
updateId: string;
|
|
184270
|
+
} | {
|
|
184271
|
+
kind: "bluetooth_firmware";
|
|
184272
|
+
deviceId: string;
|
|
184273
|
+
updateId: string;
|
|
184274
|
+
} | {
|
|
184275
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184276
|
+
deviceId: string;
|
|
184277
|
+
requestId: string;
|
|
184278
|
+
} | {
|
|
184279
|
+
kind: "support";
|
|
184280
|
+
requestId: string;
|
|
184281
|
+
};
|
|
184282
|
+
};
|
|
184283
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184284
|
+
currentRevision?: string | undefined;
|
|
184285
|
+
retryAfterSeconds?: number | undefined;
|
|
184286
|
+
}, unknown>>;
|
|
184287
|
+
};
|
|
184288
|
+
readonly rate_limited: {
|
|
184289
|
+
readonly status: 429;
|
|
184290
|
+
readonly data: z$1.ZodType<{
|
|
184291
|
+
traceId: string;
|
|
184292
|
+
recovery: {
|
|
184293
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184294
|
+
} | {
|
|
184295
|
+
action: "read_operation";
|
|
184296
|
+
operation: {
|
|
184297
|
+
kind: "command";
|
|
184298
|
+
serialNumber: string;
|
|
184299
|
+
idempotencyKey: string;
|
|
184300
|
+
} | {
|
|
184301
|
+
kind: "firmware";
|
|
184302
|
+
serialNumber: string;
|
|
184303
|
+
updateId: string;
|
|
184304
|
+
} | {
|
|
184305
|
+
kind: "bluetooth_firmware";
|
|
184306
|
+
deviceId: string;
|
|
184307
|
+
updateId: string;
|
|
184308
|
+
} | {
|
|
184309
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184310
|
+
deviceId: string;
|
|
184311
|
+
requestId: string;
|
|
184312
|
+
} | {
|
|
184313
|
+
kind: "support";
|
|
184314
|
+
requestId: string;
|
|
184315
|
+
};
|
|
184316
|
+
};
|
|
184317
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184318
|
+
currentRevision?: string | undefined;
|
|
184319
|
+
retryAfterSeconds?: number | undefined;
|
|
184320
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184321
|
+
traceId: string;
|
|
184322
|
+
recovery: {
|
|
184323
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184324
|
+
} | {
|
|
184325
|
+
action: "read_operation";
|
|
184326
|
+
operation: {
|
|
184327
|
+
kind: "command";
|
|
184328
|
+
serialNumber: string;
|
|
184329
|
+
idempotencyKey: string;
|
|
184330
|
+
} | {
|
|
184331
|
+
kind: "firmware";
|
|
184332
|
+
serialNumber: string;
|
|
184333
|
+
updateId: string;
|
|
184334
|
+
} | {
|
|
184335
|
+
kind: "bluetooth_firmware";
|
|
184336
|
+
deviceId: string;
|
|
184337
|
+
updateId: string;
|
|
184338
|
+
} | {
|
|
184339
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184340
|
+
deviceId: string;
|
|
184341
|
+
requestId: string;
|
|
184342
|
+
} | {
|
|
184343
|
+
kind: "support";
|
|
184344
|
+
requestId: string;
|
|
184345
|
+
};
|
|
184346
|
+
};
|
|
184347
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184348
|
+
currentRevision?: string | undefined;
|
|
184349
|
+
retryAfterSeconds?: number | undefined;
|
|
184350
|
+
}, unknown>>;
|
|
184351
|
+
};
|
|
184352
|
+
readonly stored_data_invalid: {
|
|
184353
|
+
readonly status: 503;
|
|
184354
|
+
readonly data: z$1.ZodType<{
|
|
184355
|
+
traceId: string;
|
|
184356
|
+
recovery: {
|
|
184357
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184358
|
+
} | {
|
|
184359
|
+
action: "read_operation";
|
|
184360
|
+
operation: {
|
|
184361
|
+
kind: "command";
|
|
184362
|
+
serialNumber: string;
|
|
184363
|
+
idempotencyKey: string;
|
|
184364
|
+
} | {
|
|
184365
|
+
kind: "firmware";
|
|
184366
|
+
serialNumber: string;
|
|
184367
|
+
updateId: string;
|
|
184368
|
+
} | {
|
|
184369
|
+
kind: "bluetooth_firmware";
|
|
184370
|
+
deviceId: string;
|
|
184371
|
+
updateId: string;
|
|
184372
|
+
} | {
|
|
184373
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184374
|
+
deviceId: string;
|
|
184375
|
+
requestId: string;
|
|
184376
|
+
} | {
|
|
184377
|
+
kind: "support";
|
|
184378
|
+
requestId: string;
|
|
184379
|
+
};
|
|
184380
|
+
};
|
|
184381
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184382
|
+
currentRevision?: string | undefined;
|
|
184383
|
+
retryAfterSeconds?: number | undefined;
|
|
184384
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184385
|
+
traceId: string;
|
|
184386
|
+
recovery: {
|
|
184387
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184388
|
+
} | {
|
|
184389
|
+
action: "read_operation";
|
|
184390
|
+
operation: {
|
|
184391
|
+
kind: "command";
|
|
184392
|
+
serialNumber: string;
|
|
184393
|
+
idempotencyKey: string;
|
|
184394
|
+
} | {
|
|
184395
|
+
kind: "firmware";
|
|
184396
|
+
serialNumber: string;
|
|
184397
|
+
updateId: string;
|
|
184398
|
+
} | {
|
|
184399
|
+
kind: "bluetooth_firmware";
|
|
184400
|
+
deviceId: string;
|
|
184401
|
+
updateId: string;
|
|
184402
|
+
} | {
|
|
184403
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184404
|
+
deviceId: string;
|
|
184405
|
+
requestId: string;
|
|
184406
|
+
} | {
|
|
184407
|
+
kind: "support";
|
|
184408
|
+
requestId: string;
|
|
184409
|
+
};
|
|
184410
|
+
};
|
|
184411
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184412
|
+
currentRevision?: string | undefined;
|
|
184413
|
+
retryAfterSeconds?: number | undefined;
|
|
184414
|
+
}, unknown>>;
|
|
184415
|
+
};
|
|
184416
|
+
readonly service_unavailable: {
|
|
184417
|
+
readonly status: 503;
|
|
184418
|
+
readonly data: z$1.ZodType<{
|
|
184419
|
+
traceId: string;
|
|
184420
|
+
recovery: {
|
|
184421
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184422
|
+
} | {
|
|
184423
|
+
action: "read_operation";
|
|
184424
|
+
operation: {
|
|
184425
|
+
kind: "command";
|
|
184426
|
+
serialNumber: string;
|
|
184427
|
+
idempotencyKey: string;
|
|
184428
|
+
} | {
|
|
184429
|
+
kind: "firmware";
|
|
184430
|
+
serialNumber: string;
|
|
184431
|
+
updateId: string;
|
|
184432
|
+
} | {
|
|
184433
|
+
kind: "bluetooth_firmware";
|
|
184434
|
+
deviceId: string;
|
|
184435
|
+
updateId: string;
|
|
184436
|
+
} | {
|
|
184437
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184438
|
+
deviceId: string;
|
|
184439
|
+
requestId: string;
|
|
184440
|
+
} | {
|
|
184441
|
+
kind: "support";
|
|
184442
|
+
requestId: string;
|
|
184443
|
+
};
|
|
184444
|
+
};
|
|
184445
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184446
|
+
currentRevision?: string | undefined;
|
|
184447
|
+
retryAfterSeconds?: number | undefined;
|
|
184448
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184449
|
+
traceId: string;
|
|
184450
|
+
recovery: {
|
|
184451
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184452
|
+
} | {
|
|
184453
|
+
action: "read_operation";
|
|
184454
|
+
operation: {
|
|
184455
|
+
kind: "command";
|
|
184456
|
+
serialNumber: string;
|
|
184457
|
+
idempotencyKey: string;
|
|
184458
|
+
} | {
|
|
184459
|
+
kind: "firmware";
|
|
184460
|
+
serialNumber: string;
|
|
184461
|
+
updateId: string;
|
|
184462
|
+
} | {
|
|
184463
|
+
kind: "bluetooth_firmware";
|
|
184464
|
+
deviceId: string;
|
|
184465
|
+
updateId: string;
|
|
184466
|
+
} | {
|
|
184467
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184468
|
+
deviceId: string;
|
|
184469
|
+
requestId: string;
|
|
184470
|
+
} | {
|
|
184471
|
+
kind: "support";
|
|
184472
|
+
requestId: string;
|
|
184473
|
+
};
|
|
184474
|
+
};
|
|
184475
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184476
|
+
currentRevision?: string | undefined;
|
|
184477
|
+
retryAfterSeconds?: number | undefined;
|
|
184478
|
+
}, unknown>>;
|
|
184479
|
+
};
|
|
184480
|
+
readonly read_unavailable: {
|
|
184481
|
+
readonly status: 503;
|
|
184482
|
+
readonly data: z$1.ZodType<{
|
|
184483
|
+
traceId: string;
|
|
184484
|
+
recovery: {
|
|
184485
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184486
|
+
} | {
|
|
184487
|
+
action: "read_operation";
|
|
184488
|
+
operation: {
|
|
184489
|
+
kind: "command";
|
|
184490
|
+
serialNumber: string;
|
|
184491
|
+
idempotencyKey: string;
|
|
184492
|
+
} | {
|
|
184493
|
+
kind: "firmware";
|
|
184494
|
+
serialNumber: string;
|
|
184495
|
+
updateId: string;
|
|
184496
|
+
} | {
|
|
184497
|
+
kind: "bluetooth_firmware";
|
|
184498
|
+
deviceId: string;
|
|
184499
|
+
updateId: string;
|
|
184500
|
+
} | {
|
|
184501
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184502
|
+
deviceId: string;
|
|
184503
|
+
requestId: string;
|
|
184504
|
+
} | {
|
|
184505
|
+
kind: "support";
|
|
184506
|
+
requestId: string;
|
|
184507
|
+
};
|
|
184508
|
+
};
|
|
184509
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184510
|
+
currentRevision?: string | undefined;
|
|
184511
|
+
retryAfterSeconds?: number | undefined;
|
|
184512
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184513
|
+
traceId: string;
|
|
184514
|
+
recovery: {
|
|
184515
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184516
|
+
} | {
|
|
184517
|
+
action: "read_operation";
|
|
184518
|
+
operation: {
|
|
184519
|
+
kind: "command";
|
|
184520
|
+
serialNumber: string;
|
|
184521
|
+
idempotencyKey: string;
|
|
184522
|
+
} | {
|
|
184523
|
+
kind: "firmware";
|
|
184524
|
+
serialNumber: string;
|
|
184525
|
+
updateId: string;
|
|
184526
|
+
} | {
|
|
184527
|
+
kind: "bluetooth_firmware";
|
|
184528
|
+
deviceId: string;
|
|
184529
|
+
updateId: string;
|
|
184530
|
+
} | {
|
|
184531
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184532
|
+
deviceId: string;
|
|
184533
|
+
requestId: string;
|
|
184534
|
+
} | {
|
|
184535
|
+
kind: "support";
|
|
184536
|
+
requestId: string;
|
|
184537
|
+
};
|
|
184538
|
+
};
|
|
184539
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184540
|
+
currentRevision?: string | undefined;
|
|
184541
|
+
retryAfterSeconds?: number | undefined;
|
|
184542
|
+
}, unknown>>;
|
|
184543
|
+
};
|
|
184544
|
+
readonly stream_unavailable: {
|
|
184545
|
+
readonly status: 503;
|
|
184546
|
+
readonly data: z$1.ZodType<{
|
|
184547
|
+
traceId: string;
|
|
184548
|
+
recovery: {
|
|
184549
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184550
|
+
} | {
|
|
184551
|
+
action: "read_operation";
|
|
184552
|
+
operation: {
|
|
184553
|
+
kind: "command";
|
|
184554
|
+
serialNumber: string;
|
|
184555
|
+
idempotencyKey: string;
|
|
184556
|
+
} | {
|
|
184557
|
+
kind: "firmware";
|
|
184558
|
+
serialNumber: string;
|
|
184559
|
+
updateId: string;
|
|
184560
|
+
} | {
|
|
184561
|
+
kind: "bluetooth_firmware";
|
|
184562
|
+
deviceId: string;
|
|
184563
|
+
updateId: string;
|
|
184564
|
+
} | {
|
|
184565
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184566
|
+
deviceId: string;
|
|
184567
|
+
requestId: string;
|
|
184568
|
+
} | {
|
|
184569
|
+
kind: "support";
|
|
184570
|
+
requestId: string;
|
|
184571
|
+
};
|
|
184572
|
+
};
|
|
184573
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184574
|
+
currentRevision?: string | undefined;
|
|
184575
|
+
retryAfterSeconds?: number | undefined;
|
|
184576
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184577
|
+
traceId: string;
|
|
184578
|
+
recovery: {
|
|
184579
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184580
|
+
} | {
|
|
184581
|
+
action: "read_operation";
|
|
184582
|
+
operation: {
|
|
184583
|
+
kind: "command";
|
|
184584
|
+
serialNumber: string;
|
|
184585
|
+
idempotencyKey: string;
|
|
184586
|
+
} | {
|
|
184587
|
+
kind: "firmware";
|
|
184588
|
+
serialNumber: string;
|
|
184589
|
+
updateId: string;
|
|
184590
|
+
} | {
|
|
184591
|
+
kind: "bluetooth_firmware";
|
|
184592
|
+
deviceId: string;
|
|
184593
|
+
updateId: string;
|
|
184594
|
+
} | {
|
|
184595
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184596
|
+
deviceId: string;
|
|
184597
|
+
requestId: string;
|
|
184598
|
+
} | {
|
|
184599
|
+
kind: "support";
|
|
184600
|
+
requestId: string;
|
|
184601
|
+
};
|
|
184602
|
+
};
|
|
184603
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184604
|
+
currentRevision?: string | undefined;
|
|
184605
|
+
retryAfterSeconds?: number | undefined;
|
|
184606
|
+
}, unknown>>;
|
|
184607
|
+
};
|
|
184608
|
+
readonly payload_too_large: {
|
|
184609
|
+
readonly status: 413;
|
|
184610
|
+
readonly data: z$1.ZodType<{
|
|
184611
|
+
traceId: string;
|
|
184612
|
+
recovery: {
|
|
184613
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184614
|
+
} | {
|
|
184615
|
+
action: "read_operation";
|
|
184616
|
+
operation: {
|
|
184617
|
+
kind: "command";
|
|
184618
|
+
serialNumber: string;
|
|
184619
|
+
idempotencyKey: string;
|
|
184620
|
+
} | {
|
|
184621
|
+
kind: "firmware";
|
|
184622
|
+
serialNumber: string;
|
|
184623
|
+
updateId: string;
|
|
184624
|
+
} | {
|
|
184625
|
+
kind: "bluetooth_firmware";
|
|
184626
|
+
deviceId: string;
|
|
184627
|
+
updateId: string;
|
|
184628
|
+
} | {
|
|
184629
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184630
|
+
deviceId: string;
|
|
184631
|
+
requestId: string;
|
|
184632
|
+
} | {
|
|
184633
|
+
kind: "support";
|
|
184634
|
+
requestId: string;
|
|
184635
|
+
};
|
|
184636
|
+
};
|
|
184637
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184638
|
+
currentRevision?: string | undefined;
|
|
184639
|
+
retryAfterSeconds?: number | undefined;
|
|
184640
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184641
|
+
traceId: string;
|
|
184642
|
+
recovery: {
|
|
184643
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184644
|
+
} | {
|
|
184645
|
+
action: "read_operation";
|
|
184646
|
+
operation: {
|
|
184647
|
+
kind: "command";
|
|
184648
|
+
serialNumber: string;
|
|
184649
|
+
idempotencyKey: string;
|
|
184650
|
+
} | {
|
|
184651
|
+
kind: "firmware";
|
|
184652
|
+
serialNumber: string;
|
|
184653
|
+
updateId: string;
|
|
184654
|
+
} | {
|
|
184655
|
+
kind: "bluetooth_firmware";
|
|
184656
|
+
deviceId: string;
|
|
184657
|
+
updateId: string;
|
|
184658
|
+
} | {
|
|
184659
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184660
|
+
deviceId: string;
|
|
184661
|
+
requestId: string;
|
|
184662
|
+
} | {
|
|
184663
|
+
kind: "support";
|
|
184664
|
+
requestId: string;
|
|
184665
|
+
};
|
|
184666
|
+
};
|
|
184667
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184668
|
+
currentRevision?: string | undefined;
|
|
184669
|
+
retryAfterSeconds?: number | undefined;
|
|
184670
|
+
}, unknown>>;
|
|
184671
|
+
};
|
|
184672
|
+
readonly request_timeout: {
|
|
184673
|
+
readonly status: 503;
|
|
184674
|
+
readonly data: z$1.ZodType<{
|
|
184675
|
+
traceId: string;
|
|
184676
|
+
recovery: {
|
|
184677
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184678
|
+
} | {
|
|
184679
|
+
action: "read_operation";
|
|
184680
|
+
operation: {
|
|
184681
|
+
kind: "command";
|
|
184682
|
+
serialNumber: string;
|
|
184683
|
+
idempotencyKey: string;
|
|
184684
|
+
} | {
|
|
184685
|
+
kind: "firmware";
|
|
184686
|
+
serialNumber: string;
|
|
184687
|
+
updateId: string;
|
|
184688
|
+
} | {
|
|
184689
|
+
kind: "bluetooth_firmware";
|
|
184690
|
+
deviceId: string;
|
|
184691
|
+
updateId: string;
|
|
184692
|
+
} | {
|
|
184693
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184694
|
+
deviceId: string;
|
|
184695
|
+
requestId: string;
|
|
184696
|
+
} | {
|
|
184697
|
+
kind: "support";
|
|
184698
|
+
requestId: string;
|
|
184699
|
+
};
|
|
184700
|
+
};
|
|
184701
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184702
|
+
currentRevision?: string | undefined;
|
|
184703
|
+
retryAfterSeconds?: number | undefined;
|
|
184704
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184705
|
+
traceId: string;
|
|
184706
|
+
recovery: {
|
|
184707
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184708
|
+
} | {
|
|
184709
|
+
action: "read_operation";
|
|
184710
|
+
operation: {
|
|
184711
|
+
kind: "command";
|
|
184712
|
+
serialNumber: string;
|
|
184713
|
+
idempotencyKey: string;
|
|
184714
|
+
} | {
|
|
184715
|
+
kind: "firmware";
|
|
184716
|
+
serialNumber: string;
|
|
184717
|
+
updateId: string;
|
|
184718
|
+
} | {
|
|
184719
|
+
kind: "bluetooth_firmware";
|
|
184720
|
+
deviceId: string;
|
|
184721
|
+
updateId: string;
|
|
184722
|
+
} | {
|
|
184723
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184724
|
+
deviceId: string;
|
|
184725
|
+
requestId: string;
|
|
184726
|
+
} | {
|
|
184727
|
+
kind: "support";
|
|
184728
|
+
requestId: string;
|
|
184729
|
+
};
|
|
184730
|
+
};
|
|
184731
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184732
|
+
currentRevision?: string | undefined;
|
|
184733
|
+
retryAfterSeconds?: number | undefined;
|
|
184734
|
+
}, unknown>>;
|
|
184735
|
+
};
|
|
184736
|
+
readonly operation_unconfirmed: {
|
|
184737
|
+
readonly status: 503;
|
|
184738
|
+
readonly data: z$1.ZodType<{
|
|
184739
|
+
traceId: string;
|
|
184740
|
+
recovery: {
|
|
184741
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184742
|
+
} | {
|
|
184743
|
+
action: "read_operation";
|
|
184744
|
+
operation: {
|
|
184745
|
+
kind: "command";
|
|
184746
|
+
serialNumber: string;
|
|
184747
|
+
idempotencyKey: string;
|
|
184748
|
+
} | {
|
|
184749
|
+
kind: "firmware";
|
|
184750
|
+
serialNumber: string;
|
|
184751
|
+
updateId: string;
|
|
184752
|
+
} | {
|
|
184753
|
+
kind: "bluetooth_firmware";
|
|
184754
|
+
deviceId: string;
|
|
184755
|
+
updateId: string;
|
|
184756
|
+
} | {
|
|
184757
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184758
|
+
deviceId: string;
|
|
184759
|
+
requestId: string;
|
|
184760
|
+
} | {
|
|
184761
|
+
kind: "support";
|
|
184762
|
+
requestId: string;
|
|
184763
|
+
};
|
|
184764
|
+
};
|
|
184765
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184766
|
+
currentRevision?: string | undefined;
|
|
184767
|
+
retryAfterSeconds?: number | undefined;
|
|
184768
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184769
|
+
traceId: string;
|
|
184770
|
+
recovery: {
|
|
184771
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184772
|
+
} | {
|
|
184773
|
+
action: "read_operation";
|
|
184774
|
+
operation: {
|
|
184775
|
+
kind: "command";
|
|
184776
|
+
serialNumber: string;
|
|
184777
|
+
idempotencyKey: string;
|
|
184778
|
+
} | {
|
|
184779
|
+
kind: "firmware";
|
|
184780
|
+
serialNumber: string;
|
|
184781
|
+
updateId: string;
|
|
184782
|
+
} | {
|
|
184783
|
+
kind: "bluetooth_firmware";
|
|
184784
|
+
deviceId: string;
|
|
184785
|
+
updateId: string;
|
|
184786
|
+
} | {
|
|
184787
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184788
|
+
deviceId: string;
|
|
184789
|
+
requestId: string;
|
|
184790
|
+
} | {
|
|
184791
|
+
kind: "support";
|
|
184792
|
+
requestId: string;
|
|
184793
|
+
};
|
|
184794
|
+
};
|
|
184795
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184796
|
+
currentRevision?: string | undefined;
|
|
184797
|
+
retryAfterSeconds?: number | undefined;
|
|
184798
|
+
}, unknown>>;
|
|
184799
|
+
};
|
|
184800
|
+
readonly directory_unavailable: {
|
|
184801
|
+
readonly status: 503;
|
|
184802
|
+
readonly data: z$1.ZodType<{
|
|
184803
|
+
traceId: string;
|
|
184804
|
+
recovery: {
|
|
184805
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184806
|
+
} | {
|
|
184807
|
+
action: "read_operation";
|
|
184808
|
+
operation: {
|
|
184809
|
+
kind: "command";
|
|
184810
|
+
serialNumber: string;
|
|
184811
|
+
idempotencyKey: string;
|
|
184812
|
+
} | {
|
|
184813
|
+
kind: "firmware";
|
|
184814
|
+
serialNumber: string;
|
|
184815
|
+
updateId: string;
|
|
184816
|
+
} | {
|
|
184817
|
+
kind: "bluetooth_firmware";
|
|
184818
|
+
deviceId: string;
|
|
184819
|
+
updateId: string;
|
|
184820
|
+
} | {
|
|
184821
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184822
|
+
deviceId: string;
|
|
184823
|
+
requestId: string;
|
|
184824
|
+
} | {
|
|
184825
|
+
kind: "support";
|
|
184826
|
+
requestId: string;
|
|
184827
|
+
};
|
|
184828
|
+
};
|
|
184829
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184830
|
+
currentRevision?: string | undefined;
|
|
184831
|
+
retryAfterSeconds?: number | undefined;
|
|
184832
|
+
}, unknown, z$1.core.$ZodTypeInternals<{
|
|
184833
|
+
traceId: string;
|
|
184834
|
+
recovery: {
|
|
184835
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
184836
|
+
} | {
|
|
184837
|
+
action: "read_operation";
|
|
184838
|
+
operation: {
|
|
184839
|
+
kind: "command";
|
|
184840
|
+
serialNumber: string;
|
|
184841
|
+
idempotencyKey: string;
|
|
184842
|
+
} | {
|
|
184843
|
+
kind: "firmware";
|
|
184844
|
+
serialNumber: string;
|
|
184845
|
+
updateId: string;
|
|
184846
|
+
} | {
|
|
184847
|
+
kind: "bluetooth_firmware";
|
|
184848
|
+
deviceId: string;
|
|
184849
|
+
updateId: string;
|
|
184850
|
+
} | {
|
|
184851
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
184852
|
+
deviceId: string;
|
|
184853
|
+
requestId: string;
|
|
184854
|
+
} | {
|
|
184855
|
+
kind: "support";
|
|
184856
|
+
requestId: string;
|
|
184857
|
+
};
|
|
184858
|
+
};
|
|
184859
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
184860
|
+
currentRevision?: string | undefined;
|
|
184861
|
+
retryAfterSeconds?: number | undefined;
|
|
184862
|
+
}, unknown>>;
|
|
184863
|
+
};
|
|
184864
|
+
}>, Record<never, never>>;
|
|
184865
|
+
watchDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
|
|
184866
|
+
deviceId: z$1.ZodString;
|
|
184867
|
+
}, z$1.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
184868
|
+
id: string;
|
|
184869
|
+
firmware: {
|
|
184870
|
+
lte: string | null;
|
|
184871
|
+
bluetooth: string | null;
|
|
184872
|
+
battery: string | null;
|
|
184873
|
+
modem: string | null;
|
|
184874
|
+
mtk: string | null;
|
|
184875
|
+
ti: string | null;
|
|
184876
|
+
buildNumber: number | null;
|
|
184877
|
+
} | null;
|
|
184878
|
+
subscription: {
|
|
184879
|
+
state: "unavailable";
|
|
184880
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
184881
|
+
} | {
|
|
184882
|
+
id: string;
|
|
184883
|
+
activity: "unknown" | "active" | "inactive";
|
|
184884
|
+
isDemo: boolean;
|
|
184885
|
+
status: string | null;
|
|
184886
|
+
country: string | null;
|
|
184887
|
+
endsAt: string | null;
|
|
184888
|
+
state: "available";
|
|
184889
|
+
};
|
|
184890
|
+
createdAt: string;
|
|
184891
|
+
revision: string;
|
|
184892
|
+
battery: {
|
|
184893
|
+
state: "unavailable";
|
|
184894
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
184895
|
+
} | {
|
|
184896
|
+
level: number | null;
|
|
184897
|
+
isCharging: boolean | null;
|
|
184898
|
+
levelUpdatedAt: string | null;
|
|
184899
|
+
chargingObservedAt: string | null;
|
|
184900
|
+
observation: {
|
|
184901
|
+
observedAt: string | null;
|
|
184902
|
+
receivedAt: string | null;
|
|
184903
|
+
} | null;
|
|
184904
|
+
source: string | null;
|
|
184905
|
+
state: "available";
|
|
184906
|
+
};
|
|
184907
|
+
generation: number | null;
|
|
184908
|
+
bike: {
|
|
184909
|
+
revision: string;
|
|
184910
|
+
name: string | null;
|
|
184911
|
+
brand: string | null;
|
|
184912
|
+
type: string | null;
|
|
184913
|
+
model: string | null;
|
|
184914
|
+
frameNumber: string | null;
|
|
184915
|
+
url: string | null;
|
|
184916
|
+
marketPrice: string | null;
|
|
184917
|
+
marketPriceCurrency: string | null;
|
|
184918
|
+
};
|
|
184919
|
+
location: {
|
|
184920
|
+
state: "unavailable";
|
|
184921
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
184922
|
+
} | {
|
|
184923
|
+
latitude: number;
|
|
184924
|
+
longitude: number;
|
|
184925
|
+
accuracy: number | null;
|
|
184926
|
+
source: string | null;
|
|
184927
|
+
observedAt: string | null;
|
|
184928
|
+
state: "available";
|
|
184929
|
+
};
|
|
184930
|
+
readIssues: {
|
|
184931
|
+
path: string;
|
|
184932
|
+
code: "invalid_stored_value";
|
|
184933
|
+
}[];
|
|
184934
|
+
updatedAt: string;
|
|
184935
|
+
hardware: {
|
|
184936
|
+
imei: string | null;
|
|
184937
|
+
iccid: string | null;
|
|
184938
|
+
imsi: string | null;
|
|
184939
|
+
serialNumber: string | null;
|
|
184940
|
+
} | null;
|
|
184941
|
+
backend: string | null;
|
|
184942
|
+
configuration: {
|
|
184943
|
+
movementAlerts: boolean | null;
|
|
184944
|
+
isBlacklisted: boolean | null;
|
|
184945
|
+
} | null;
|
|
184946
|
+
membership: {
|
|
184947
|
+
revision: string;
|
|
184948
|
+
memberCount: number;
|
|
184949
|
+
};
|
|
184950
|
+
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
184951
|
+
id: string;
|
|
184952
|
+
firmware: {
|
|
184953
|
+
lte: string | null;
|
|
184954
|
+
bluetooth: string | null;
|
|
184955
|
+
battery: string | null;
|
|
184956
|
+
modem: string | null;
|
|
184957
|
+
mtk: string | null;
|
|
184958
|
+
ti: string | null;
|
|
184959
|
+
buildNumber: number | null;
|
|
184960
|
+
} | null;
|
|
184961
|
+
subscription: {
|
|
184962
|
+
state: "unavailable";
|
|
184963
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
184964
|
+
} | {
|
|
184965
|
+
id: string;
|
|
184966
|
+
activity: "unknown" | "active" | "inactive";
|
|
184967
|
+
isDemo: boolean;
|
|
184968
|
+
status: string | null;
|
|
184969
|
+
country: string | null;
|
|
184970
|
+
endsAt: string | null;
|
|
184971
|
+
state: "available";
|
|
184972
|
+
};
|
|
184973
|
+
createdAt: string;
|
|
184974
|
+
revision: string;
|
|
184975
|
+
battery: {
|
|
184976
|
+
state: "unavailable";
|
|
184977
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
184978
|
+
} | {
|
|
184979
|
+
level: number | null;
|
|
184980
|
+
isCharging: boolean | null;
|
|
184981
|
+
levelUpdatedAt: string | null;
|
|
184982
|
+
chargingObservedAt: string | null;
|
|
184983
|
+
observation: {
|
|
184984
|
+
observedAt: string | null;
|
|
184985
|
+
receivedAt: string | null;
|
|
184986
|
+
} | null;
|
|
184987
|
+
source: string | null;
|
|
184988
|
+
state: "available";
|
|
184989
|
+
};
|
|
184990
|
+
generation: number | null;
|
|
184991
|
+
bike: {
|
|
184992
|
+
revision: string;
|
|
184993
|
+
name: string | null;
|
|
184994
|
+
brand: string | null;
|
|
184995
|
+
type: string | null;
|
|
184996
|
+
model: string | null;
|
|
184997
|
+
frameNumber: string | null;
|
|
184998
|
+
url: string | null;
|
|
184999
|
+
marketPrice: string | null;
|
|
185000
|
+
marketPriceCurrency: string | null;
|
|
185001
|
+
};
|
|
185002
|
+
location: {
|
|
185003
|
+
state: "unavailable";
|
|
185004
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
185005
|
+
} | {
|
|
185006
|
+
latitude: number;
|
|
185007
|
+
longitude: number;
|
|
185008
|
+
accuracy: number | null;
|
|
185009
|
+
source: string | null;
|
|
185010
|
+
observedAt: string | null;
|
|
185011
|
+
state: "available";
|
|
185012
|
+
};
|
|
185013
|
+
readIssues: {
|
|
185014
|
+
path: string;
|
|
185015
|
+
code: "invalid_stored_value";
|
|
185016
|
+
}[];
|
|
185017
|
+
updatedAt: string;
|
|
185018
|
+
hardware: {
|
|
185019
|
+
imei: string | null;
|
|
185020
|
+
iccid: string | null;
|
|
185021
|
+
imsi: string | null;
|
|
185022
|
+
serialNumber: string | null;
|
|
185023
|
+
} | null;
|
|
185024
|
+
backend: string | null;
|
|
185025
|
+
configuration: {
|
|
185026
|
+
movementAlerts: boolean | null;
|
|
185027
|
+
isBlacklisted: boolean | null;
|
|
185028
|
+
} | null;
|
|
185029
|
+
membership: {
|
|
185030
|
+
revision: string;
|
|
185031
|
+
memberCount: number;
|
|
185032
|
+
};
|
|
185033
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
181814
185034
|
readonly invalid: {
|
|
181815
185035
|
readonly status: 400;
|
|
181816
185036
|
readonly data: z$1.ZodType<{
|
|
@@ -190344,6 +193564,9 @@ export declare const staffContract: {
|
|
|
190344
193564
|
aws: typeof awsContract;
|
|
190345
193565
|
};
|
|
190346
193566
|
export type StaffClient = ContractRouterClient<typeof staffContract>;
|
|
193567
|
+
export type StaffTrackerDetails = z$1.infer<typeof staffTrackerDetails>;
|
|
193568
|
+
export type StaffTrackerMemberPageInput = z$1.output<typeof staffTrackerMemberPageInput>;
|
|
193569
|
+
export type StaffTrackerMemberPage = z$1.infer<typeof staffTrackerMemberPage>;
|
|
190347
193570
|
export type StaffTracker = z$1.infer<typeof staffTracker>;
|
|
190348
193571
|
export type StaffTrackerSummary = z$1.infer<typeof staffTrackerSummary>;
|
|
190349
193572
|
export type StaffTrackerPage = z$1.infer<typeof staffTrackerPage>;
|