@bikefinder/sdk 0.39.0 → 0.40.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/dist/schemas.d.ts CHANGED
@@ -15586,1131 +15586,858 @@ export declare const subscriptionAllocationContract: {
15586
15586
  export type SubscriptionAllocationInput = z.infer<typeof subscriptionAllocationInput>;
15587
15587
  export type Subscription = z.infer<typeof subscription>;
15588
15588
  export type SubscriptionPage = z.infer<typeof subscriptionPage>;
15589
- export declare const historyCursor: z.ZodObject<{
15590
- scope: z.ZodString;
15591
- id: z.ZodString;
15592
- at: z.ZodISODateTime;
15593
- }, z.core.$strip>;
15594
- export declare const historyInput: z.ZodObject<{
15589
+ declare const trackerInput: z.ZodObject<{
15595
15590
  deviceId: z.ZodString;
15596
- from: z.ZodISODateTime;
15597
- until: z.ZodISODateTime;
15598
- limit: z.ZodDefault<z.ZodInt>;
15599
- after: z.ZodOptional<z.ZodObject<{
15600
- scope: z.ZodString;
15601
- id: z.ZodString;
15602
- at: z.ZodISODateTime;
15603
- }, z.core.$strict>>;
15604
15591
  }, z.core.$strict>;
15605
- export declare const historyEntry: z.ZodObject<{
15592
+ export declare const subscriptionInput: z.ZodObject<{
15593
+ subscriptionId: z.ZodString;
15594
+ }, z.core.$strict>;
15595
+ declare const pageInput: z.ZodPrefault<z.ZodObject<{
15596
+ limit: z.ZodDefault<z.ZodInt>;
15597
+ after: z.ZodOptional<z.ZodString>;
15598
+ }, z.core.$strict>>;
15599
+ declare const operationReference: z.ZodDiscriminatedUnion<[
15600
+ z.ZodObject<{
15601
+ kind: z.ZodLiteral<"command">;
15602
+ serialNumber: z.ZodString;
15603
+ idempotencyKey: z.ZodGUID;
15604
+ }, z.core.$strip>,
15605
+ z.ZodObject<{
15606
+ kind: z.ZodLiteral<"firmware">;
15607
+ serialNumber: z.ZodString;
15608
+ updateId: z.ZodGUID;
15609
+ }, z.core.$strip>,
15610
+ z.ZodObject<{
15611
+ kind: z.ZodLiteral<"bluetooth_firmware">;
15612
+ deviceId: z.ZodString;
15613
+ updateId: z.ZodGUID;
15614
+ }, z.core.$strip>,
15615
+ z.ZodObject<{
15616
+ kind: z.ZodEnum<{
15617
+ invitation: "invitation";
15618
+ photo_upload: "photo_upload";
15619
+ legacy_firmware: "legacy_firmware";
15620
+ }>;
15621
+ deviceId: z.ZodString;
15622
+ requestId: z.ZodGUID;
15623
+ }, z.core.$strip>,
15624
+ z.ZodObject<{
15625
+ kind: z.ZodLiteral<"support">;
15626
+ requestId: z.ZodGUID;
15627
+ }, z.core.$strip>
15628
+ ], "kind">;
15629
+ declare const recoverySchema: z.ZodDiscriminatedUnion<[
15630
+ z.ZodObject<{
15631
+ action: z.ZodEnum<{
15632
+ none: "none";
15633
+ correct_input: "correct_input";
15634
+ sign_in: "sign_in";
15635
+ refresh: "refresh";
15636
+ retry_read: "retry_read";
15637
+ retry_same_request: "retry_same_request";
15638
+ verify_outcome: "verify_outcome";
15639
+ }>;
15640
+ }, z.core.$strip>,
15641
+ z.ZodObject<{
15642
+ action: z.ZodLiteral<"read_operation">;
15643
+ operation: z.ZodDiscriminatedUnion<[
15644
+ z.ZodObject<{
15645
+ kind: z.ZodLiteral<"command">;
15646
+ serialNumber: z.ZodString;
15647
+ idempotencyKey: z.ZodGUID;
15648
+ }, z.core.$strip>,
15649
+ z.ZodObject<{
15650
+ kind: z.ZodLiteral<"firmware">;
15651
+ serialNumber: z.ZodString;
15652
+ updateId: z.ZodGUID;
15653
+ }, z.core.$strip>,
15654
+ z.ZodObject<{
15655
+ kind: z.ZodLiteral<"bluetooth_firmware">;
15656
+ deviceId: z.ZodString;
15657
+ updateId: z.ZodGUID;
15658
+ }, z.core.$strip>,
15659
+ z.ZodObject<{
15660
+ kind: z.ZodEnum<{
15661
+ invitation: "invitation";
15662
+ photo_upload: "photo_upload";
15663
+ legacy_firmware: "legacy_firmware";
15664
+ }>;
15665
+ deviceId: z.ZodString;
15666
+ requestId: z.ZodGUID;
15667
+ }, z.core.$strip>,
15668
+ z.ZodObject<{
15669
+ kind: z.ZodLiteral<"support">;
15670
+ requestId: z.ZodGUID;
15671
+ }, z.core.$strip>
15672
+ ], "kind">;
15673
+ }, z.core.$strip>
15674
+ ], "action">;
15675
+ export type ErrorRecovery = z.infer<typeof recoverySchema>;
15676
+ export declare const errorRecovery: z.ZodType<ErrorRecovery>;
15677
+ declare const errorDataSchema: z.ZodObject<{
15678
+ traceId: z.ZodString;
15679
+ recovery: z.ZodType<{
15680
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15681
+ } | {
15682
+ action: "read_operation";
15683
+ operation: {
15684
+ kind: "command";
15685
+ serialNumber: string;
15686
+ idempotencyKey: string;
15687
+ } | {
15688
+ kind: "firmware";
15689
+ serialNumber: string;
15690
+ updateId: string;
15691
+ } | {
15692
+ kind: "bluetooth_firmware";
15693
+ deviceId: string;
15694
+ updateId: string;
15695
+ } | {
15696
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
15697
+ deviceId: string;
15698
+ requestId: string;
15699
+ } | {
15700
+ kind: "support";
15701
+ requestId: string;
15702
+ };
15703
+ }, unknown, z.core.$ZodTypeInternals<{
15704
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15705
+ } | {
15706
+ action: "read_operation";
15707
+ operation: {
15708
+ kind: "command";
15709
+ serialNumber: string;
15710
+ idempotencyKey: string;
15711
+ } | {
15712
+ kind: "firmware";
15713
+ serialNumber: string;
15714
+ updateId: string;
15715
+ } | {
15716
+ kind: "bluetooth_firmware";
15717
+ deviceId: string;
15718
+ updateId: string;
15719
+ } | {
15720
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
15721
+ deviceId: string;
15722
+ requestId: string;
15723
+ } | {
15724
+ kind: "support";
15725
+ requestId: string;
15726
+ };
15727
+ }, unknown>>;
15728
+ reason: z.ZodOptional<z.ZodEnum<{
15729
+ revision_changed: "revision_changed";
15730
+ selection_changed: "selection_changed";
15731
+ subscription_capacity_exhausted: "subscription_capacity_exhausted";
15732
+ subscription_unavailable: "subscription_unavailable";
15733
+ tracker_restricted: "tracker_restricted";
15734
+ idempotency_conflict: "idempotency_conflict";
15735
+ already_claimed: "already_claimed";
15736
+ membership_limit: "membership_limit";
15737
+ identity_changed: "identity_changed";
15738
+ }>>;
15739
+ currentRevision: z.ZodOptional<z.ZodString>;
15740
+ retryAfterSeconds: z.ZodOptional<z.ZodInt>;
15741
+ }, z.core.$strip>;
15742
+ export type ApiErrorData = z.infer<typeof errorDataSchema>;
15743
+ export declare const errorData: z.ZodType<ApiErrorData>;
15744
+ export type OperationReference = z.infer<typeof operationReference>;
15745
+ export type ApiErrorDetails = Omit<z.infer<typeof errorData>, "traceId" | "recovery"> & {
15746
+ recovery?: ErrorRecovery;
15747
+ };
15748
+ export declare const readIssue: z.ZodObject<{
15749
+ path: z.ZodString;
15750
+ code: z.ZodLiteral<"invalid_stored_value">;
15751
+ }, z.core.$strip>;
15752
+ export type ReadIssue = z.infer<typeof readIssue>;
15753
+ export declare const trackerBike: z.ZodObject<{
15754
+ revision: z.ZodString;
15755
+ name: z.ZodNullable<z.ZodString>;
15756
+ brand: z.ZodNullable<z.ZodString>;
15606
15757
  type: z.ZodNullable<z.ZodString>;
15607
- observedAt: z.ZodNullable<z.ZodISODateTime>;
15608
- latitude: z.ZodNullable<z.ZodNumber>;
15609
- longitude: z.ZodNullable<z.ZodNumber>;
15758
+ model: z.ZodNullable<z.ZodString>;
15759
+ frameNumber: z.ZodNullable<z.ZodString>;
15760
+ url: z.ZodNullable<z.ZodString>;
15761
+ marketPrice: z.ZodNullable<z.ZodString>;
15762
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
15763
+ }, z.core.$strip>;
15764
+ export declare const trackerBattery: z.ZodObject<{
15765
+ level: z.ZodNullable<z.ZodNumber>;
15766
+ isCharging: z.ZodNullable<z.ZodBoolean>;
15767
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
15768
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
15769
+ observation: z.ZodNullable<z.ZodObject<{
15770
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
15771
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
15772
+ }, z.core.$strip>>;
15773
+ source: z.ZodNullable<z.ZodString>;
15774
+ }, z.core.$strip>;
15775
+ export declare const trackerLocation: z.ZodObject<{
15776
+ latitude: z.ZodNumber;
15777
+ longitude: z.ZodNumber;
15610
15778
  accuracy: z.ZodNullable<z.ZodNumber>;
15611
- speed: z.ZodNullable<z.ZodNumber>;
15612
- altitude: z.ZodNullable<z.ZodNumber>;
15613
- heading: z.ZodNullable<z.ZodNumber>;
15614
15779
  source: z.ZodNullable<z.ZodString>;
15615
- battery: z.ZodNullable<z.ZodObject<{
15616
- level: z.ZodNullable<z.ZodInt>;
15617
- isCharging: z.ZodNullable<z.ZodBoolean>;
15618
- source: z.ZodNullable<z.ZodString>;
15619
- observedAt: z.ZodNullable<z.ZodISODateTime>;
15780
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
15781
+ }, z.core.$strip>;
15782
+ export declare const trackerSubscription: z.ZodObject<{
15783
+ id: z.ZodString;
15784
+ activity: z.ZodEnum<{
15785
+ unknown: "unknown";
15786
+ active: "active";
15787
+ inactive: "inactive";
15788
+ }>;
15789
+ isDemo: z.ZodBoolean;
15790
+ status: z.ZodNullable<z.ZodString>;
15791
+ country: z.ZodNullable<z.ZodString>;
15792
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
15793
+ }, z.core.$strip>;
15794
+ export declare const trackerFirmware: z.ZodObject<{
15795
+ lte: z.ZodNullable<z.ZodString>;
15796
+ bluetooth: z.ZodNullable<z.ZodString>;
15797
+ battery: z.ZodNullable<z.ZodString>;
15798
+ modem: z.ZodNullable<z.ZodString>;
15799
+ mtk: z.ZodNullable<z.ZodString>;
15800
+ ti: z.ZodNullable<z.ZodString>;
15801
+ buildNumber: z.ZodNullable<z.ZodInt>;
15802
+ }, z.core.$strip>;
15803
+ export declare const trackerMember: z.ZodObject<{
15804
+ active: z.ZodNullable<z.ZodBoolean>;
15805
+ displayName: z.ZodNullable<z.ZodString>;
15806
+ listOrder: z.ZodNullable<z.ZodInt>;
15807
+ joinedAt: z.ZodNullable<z.ZodISODateTime>;
15808
+ }, z.core.$strip>;
15809
+ export declare const trackerSummaryFields: {
15810
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
15811
+ generation: z.ZodNullable<z.ZodInt>;
15812
+ bike: z.ZodObject<{
15813
+ revision: z.ZodString;
15814
+ name: z.ZodNullable<z.ZodString>;
15815
+ brand: z.ZodNullable<z.ZodString>;
15816
+ type: z.ZodNullable<z.ZodString>;
15817
+ model: z.ZodNullable<z.ZodString>;
15818
+ frameNumber: z.ZodNullable<z.ZodString>;
15819
+ url: z.ZodNullable<z.ZodString>;
15820
+ marketPrice: z.ZodNullable<z.ZodString>;
15821
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
15822
+ }, z.core.$strip>;
15823
+ battery: z.ZodDiscriminatedUnion<[
15824
+ z.ZodObject<{
15825
+ level: z.ZodNullable<z.ZodNumber>;
15826
+ isCharging: z.ZodNullable<z.ZodBoolean>;
15827
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
15828
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
15829
+ observation: z.ZodNullable<z.ZodObject<{
15830
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
15831
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
15832
+ }, z.core.$strip>>;
15833
+ source: z.ZodNullable<z.ZodString>;
15834
+ state: z.ZodLiteral<"available">;
15835
+ }, z.core.$strip>,
15836
+ z.ZodObject<{
15837
+ state: z.ZodLiteral<"unavailable">;
15838
+ reason: z.ZodEnum<{
15839
+ invalid: "invalid";
15840
+ not_observed: "not_observed";
15841
+ not_assigned: "not_assigned";
15842
+ }>;
15843
+ }, z.core.$strip>
15844
+ ], "state">;
15845
+ location: z.ZodDiscriminatedUnion<[
15846
+ z.ZodObject<{
15847
+ latitude: z.ZodNumber;
15848
+ longitude: z.ZodNumber;
15849
+ accuracy: z.ZodNullable<z.ZodNumber>;
15850
+ source: z.ZodNullable<z.ZodString>;
15851
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
15852
+ state: z.ZodLiteral<"available">;
15853
+ }, z.core.$strip>,
15854
+ z.ZodObject<{
15855
+ state: z.ZodLiteral<"unavailable">;
15856
+ reason: z.ZodEnum<{
15857
+ invalid: "invalid";
15858
+ not_observed: "not_observed";
15859
+ not_assigned: "not_assigned";
15860
+ }>;
15861
+ }, z.core.$strip>
15862
+ ], "state">;
15863
+ subscription: z.ZodDiscriminatedUnion<[
15864
+ z.ZodObject<{
15865
+ id: z.ZodString;
15866
+ activity: z.ZodEnum<{
15867
+ unknown: "unknown";
15868
+ active: "active";
15869
+ inactive: "inactive";
15870
+ }>;
15871
+ isDemo: z.ZodBoolean;
15872
+ status: z.ZodNullable<z.ZodString>;
15873
+ country: z.ZodNullable<z.ZodString>;
15874
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
15875
+ state: z.ZodLiteral<"available">;
15876
+ }, z.core.$strip>,
15877
+ z.ZodObject<{
15878
+ state: z.ZodLiteral<"unavailable">;
15879
+ reason: z.ZodEnum<{
15880
+ invalid: "invalid";
15881
+ not_observed: "not_observed";
15882
+ not_assigned: "not_assigned";
15883
+ }>;
15884
+ }, z.core.$strip>
15885
+ ], "state">;
15886
+ readIssues: z.ZodArray<z.ZodObject<{
15887
+ path: z.ZodString;
15888
+ code: z.ZodLiteral<"invalid_stored_value">;
15620
15889
  }, z.core.$strip>>;
15621
15890
  id: z.ZodString;
15622
15891
  revision: z.ZodString;
15623
15892
  createdAt: z.ZodISODateTime;
15624
15893
  updatedAt: z.ZodISODateTime;
15625
- }, z.core.$strip>;
15626
- export declare const historyPage: z.ZodObject<{
15627
- items: z.ZodArray<z.ZodObject<{
15894
+ };
15895
+ export declare const trackerFields: {
15896
+ firmware: z.ZodNullable<z.ZodObject<{
15897
+ lte: z.ZodNullable<z.ZodString>;
15898
+ bluetooth: z.ZodNullable<z.ZodString>;
15899
+ battery: z.ZodNullable<z.ZodString>;
15900
+ modem: z.ZodNullable<z.ZodString>;
15901
+ mtk: z.ZodNullable<z.ZodString>;
15902
+ ti: z.ZodNullable<z.ZodString>;
15903
+ buildNumber: z.ZodNullable<z.ZodInt>;
15904
+ }, z.core.$strip>>;
15905
+ members: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
15906
+ active: z.ZodNullable<z.ZodBoolean>;
15907
+ displayName: z.ZodNullable<z.ZodString>;
15908
+ listOrder: z.ZodNullable<z.ZodInt>;
15909
+ joinedAt: z.ZodNullable<z.ZodISODateTime>;
15910
+ }, z.core.$strip>>>;
15911
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
15912
+ generation: z.ZodNullable<z.ZodInt>;
15913
+ bike: z.ZodObject<{
15914
+ revision: z.ZodString;
15915
+ name: z.ZodNullable<z.ZodString>;
15916
+ brand: z.ZodNullable<z.ZodString>;
15628
15917
  type: z.ZodNullable<z.ZodString>;
15629
- observedAt: z.ZodNullable<z.ZodISODateTime>;
15630
- latitude: z.ZodNullable<z.ZodNumber>;
15631
- longitude: z.ZodNullable<z.ZodNumber>;
15632
- accuracy: z.ZodNullable<z.ZodNumber>;
15633
- speed: z.ZodNullable<z.ZodNumber>;
15634
- altitude: z.ZodNullable<z.ZodNumber>;
15635
- heading: z.ZodNullable<z.ZodNumber>;
15636
- source: z.ZodNullable<z.ZodString>;
15637
- battery: z.ZodNullable<z.ZodObject<{
15638
- level: z.ZodNullable<z.ZodInt>;
15918
+ model: z.ZodNullable<z.ZodString>;
15919
+ frameNumber: z.ZodNullable<z.ZodString>;
15920
+ url: z.ZodNullable<z.ZodString>;
15921
+ marketPrice: z.ZodNullable<z.ZodString>;
15922
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
15923
+ }, z.core.$strip>;
15924
+ battery: z.ZodDiscriminatedUnion<[
15925
+ z.ZodObject<{
15926
+ level: z.ZodNullable<z.ZodNumber>;
15639
15927
  isCharging: z.ZodNullable<z.ZodBoolean>;
15928
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
15929
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
15930
+ observation: z.ZodNullable<z.ZodObject<{
15931
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
15932
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
15933
+ }, z.core.$strip>>;
15934
+ source: z.ZodNullable<z.ZodString>;
15935
+ state: z.ZodLiteral<"available">;
15936
+ }, z.core.$strip>,
15937
+ z.ZodObject<{
15938
+ state: z.ZodLiteral<"unavailable">;
15939
+ reason: z.ZodEnum<{
15940
+ invalid: "invalid";
15941
+ not_observed: "not_observed";
15942
+ not_assigned: "not_assigned";
15943
+ }>;
15944
+ }, z.core.$strip>
15945
+ ], "state">;
15946
+ location: z.ZodDiscriminatedUnion<[
15947
+ z.ZodObject<{
15948
+ latitude: z.ZodNumber;
15949
+ longitude: z.ZodNumber;
15950
+ accuracy: z.ZodNullable<z.ZodNumber>;
15640
15951
  source: z.ZodNullable<z.ZodString>;
15641
15952
  observedAt: z.ZodNullable<z.ZodISODateTime>;
15642
- }, z.core.$strip>>;
15643
- id: z.ZodString;
15644
- revision: z.ZodString;
15645
- createdAt: z.ZodISODateTime;
15646
- updatedAt: z.ZodISODateTime;
15953
+ state: z.ZodLiteral<"available">;
15954
+ }, z.core.$strip>,
15955
+ z.ZodObject<{
15956
+ state: z.ZodLiteral<"unavailable">;
15957
+ reason: z.ZodEnum<{
15958
+ invalid: "invalid";
15959
+ not_observed: "not_observed";
15960
+ not_assigned: "not_assigned";
15961
+ }>;
15962
+ }, z.core.$strip>
15963
+ ], "state">;
15964
+ subscription: z.ZodDiscriminatedUnion<[
15965
+ z.ZodObject<{
15966
+ id: z.ZodString;
15967
+ activity: z.ZodEnum<{
15968
+ unknown: "unknown";
15969
+ active: "active";
15970
+ inactive: "inactive";
15971
+ }>;
15972
+ isDemo: z.ZodBoolean;
15973
+ status: z.ZodNullable<z.ZodString>;
15974
+ country: z.ZodNullable<z.ZodString>;
15975
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
15976
+ state: z.ZodLiteral<"available">;
15977
+ }, z.core.$strip>,
15978
+ z.ZodObject<{
15979
+ state: z.ZodLiteral<"unavailable">;
15980
+ reason: z.ZodEnum<{
15981
+ invalid: "invalid";
15982
+ not_observed: "not_observed";
15983
+ not_assigned: "not_assigned";
15984
+ }>;
15985
+ }, z.core.$strip>
15986
+ ], "state">;
15987
+ readIssues: z.ZodArray<z.ZodObject<{
15988
+ path: z.ZodString;
15989
+ code: z.ZodLiteral<"invalid_stored_value">;
15647
15990
  }, z.core.$strip>>;
15648
- nextAfter: z.ZodNullable<z.ZodObject<{
15649
- scope: z.ZodString;
15650
- id: z.ZodString;
15651
- at: z.ZodISODateTime;
15991
+ id: z.ZodString;
15992
+ revision: z.ZodString;
15993
+ createdAt: z.ZodISODateTime;
15994
+ updatedAt: z.ZodISODateTime;
15995
+ };
15996
+ export declare const trackerSummary: z.ZodObject<{
15997
+ identity: z.ZodNullable<z.ZodObject<{
15998
+ serialNumber: z.ZodNullable<z.ZodString>;
15652
15999
  }, z.core.$strip>>;
15653
- }, z.core.$strip>;
15654
- export declare const historyContract: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
15655
- deviceId: z.ZodString;
15656
- from: z.ZodISODateTime;
15657
- until: z.ZodISODateTime;
15658
- limit: z.ZodDefault<z.ZodInt>;
15659
- after: z.ZodOptional<z.ZodObject<{
15660
- scope: z.ZodString;
15661
- id: z.ZodString;
15662
- at: z.ZodISODateTime;
15663
- }, z.core.$strict>>;
15664
- }, z.core.$strict>, z.ZodObject<{
15665
- items: z.ZodArray<z.ZodObject<{
16000
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
16001
+ generation: z.ZodNullable<z.ZodInt>;
16002
+ bike: z.ZodObject<{
16003
+ revision: z.ZodString;
16004
+ name: z.ZodNullable<z.ZodString>;
16005
+ brand: z.ZodNullable<z.ZodString>;
15666
16006
  type: z.ZodNullable<z.ZodString>;
15667
- observedAt: z.ZodNullable<z.ZodISODateTime>;
15668
- latitude: z.ZodNullable<z.ZodNumber>;
15669
- longitude: z.ZodNullable<z.ZodNumber>;
15670
- accuracy: z.ZodNullable<z.ZodNumber>;
15671
- speed: z.ZodNullable<z.ZodNumber>;
15672
- altitude: z.ZodNullable<z.ZodNumber>;
15673
- heading: z.ZodNullable<z.ZodNumber>;
15674
- source: z.ZodNullable<z.ZodString>;
15675
- battery: z.ZodNullable<z.ZodObject<{
15676
- level: z.ZodNullable<z.ZodInt>;
16007
+ model: z.ZodNullable<z.ZodString>;
16008
+ frameNumber: z.ZodNullable<z.ZodString>;
16009
+ url: z.ZodNullable<z.ZodString>;
16010
+ marketPrice: z.ZodNullable<z.ZodString>;
16011
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
16012
+ }, z.core.$strip>;
16013
+ battery: z.ZodDiscriminatedUnion<[
16014
+ z.ZodObject<{
16015
+ level: z.ZodNullable<z.ZodNumber>;
15677
16016
  isCharging: z.ZodNullable<z.ZodBoolean>;
16017
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
16018
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
16019
+ observation: z.ZodNullable<z.ZodObject<{
16020
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16021
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
16022
+ }, z.core.$strip>>;
16023
+ source: z.ZodNullable<z.ZodString>;
16024
+ state: z.ZodLiteral<"available">;
16025
+ }, z.core.$strip>,
16026
+ z.ZodObject<{
16027
+ state: z.ZodLiteral<"unavailable">;
16028
+ reason: z.ZodEnum<{
16029
+ invalid: "invalid";
16030
+ not_observed: "not_observed";
16031
+ not_assigned: "not_assigned";
16032
+ }>;
16033
+ }, z.core.$strip>
16034
+ ], "state">;
16035
+ location: z.ZodDiscriminatedUnion<[
16036
+ z.ZodObject<{
16037
+ latitude: z.ZodNumber;
16038
+ longitude: z.ZodNumber;
16039
+ accuracy: z.ZodNullable<z.ZodNumber>;
15678
16040
  source: z.ZodNullable<z.ZodString>;
15679
16041
  observedAt: z.ZodNullable<z.ZodISODateTime>;
15680
- }, z.core.$strip>>;
15681
- id: z.ZodString;
15682
- revision: z.ZodString;
15683
- createdAt: z.ZodISODateTime;
15684
- updatedAt: z.ZodISODateTime;
15685
- }, z.core.$strip>>;
15686
- nextAfter: z.ZodNullable<z.ZodObject<{
15687
- scope: z.ZodString;
15688
- id: z.ZodString;
15689
- at: z.ZodISODateTime;
15690
- }, z.core.$strip>>;
15691
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
15692
- readonly invalid: {
15693
- readonly status: 400;
15694
- readonly data: z.ZodType<{
15695
- traceId: string;
15696
- recovery: {
15697
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15698
- } | {
15699
- action: "read_operation";
15700
- operation: {
15701
- kind: "command";
15702
- serialNumber: string;
15703
- idempotencyKey: string;
15704
- } | {
15705
- kind: "firmware";
15706
- serialNumber: string;
15707
- updateId: string;
15708
- } | {
15709
- kind: "bluetooth_firmware";
15710
- deviceId: string;
15711
- updateId: string;
15712
- } | {
15713
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15714
- deviceId: string;
15715
- requestId: string;
15716
- } | {
15717
- kind: "support";
15718
- requestId: string;
15719
- };
15720
- };
15721
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15722
- currentRevision?: string | undefined;
15723
- retryAfterSeconds?: number | undefined;
15724
- }, unknown, z.core.$ZodTypeInternals<{
15725
- traceId: string;
15726
- recovery: {
15727
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15728
- } | {
15729
- action: "read_operation";
15730
- operation: {
15731
- kind: "command";
15732
- serialNumber: string;
15733
- idempotencyKey: string;
15734
- } | {
15735
- kind: "firmware";
15736
- serialNumber: string;
15737
- updateId: string;
15738
- } | {
15739
- kind: "bluetooth_firmware";
15740
- deviceId: string;
15741
- updateId: string;
15742
- } | {
15743
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15744
- deviceId: string;
15745
- requestId: string;
15746
- } | {
15747
- kind: "support";
15748
- requestId: string;
15749
- };
15750
- };
15751
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15752
- currentRevision?: string | undefined;
15753
- retryAfterSeconds?: number | undefined;
15754
- }, unknown>>;
15755
- };
15756
- readonly unauthenticated: {
15757
- readonly status: 401;
15758
- readonly data: z.ZodType<{
15759
- traceId: string;
15760
- recovery: {
15761
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15762
- } | {
15763
- action: "read_operation";
15764
- operation: {
15765
- kind: "command";
15766
- serialNumber: string;
15767
- idempotencyKey: string;
15768
- } | {
15769
- kind: "firmware";
15770
- serialNumber: string;
15771
- updateId: string;
15772
- } | {
15773
- kind: "bluetooth_firmware";
15774
- deviceId: string;
15775
- updateId: string;
15776
- } | {
15777
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15778
- deviceId: string;
15779
- requestId: string;
15780
- } | {
15781
- kind: "support";
15782
- requestId: string;
15783
- };
15784
- };
15785
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15786
- currentRevision?: string | undefined;
15787
- retryAfterSeconds?: number | undefined;
15788
- }, unknown, z.core.$ZodTypeInternals<{
15789
- traceId: string;
15790
- recovery: {
15791
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15792
- } | {
15793
- action: "read_operation";
15794
- operation: {
15795
- kind: "command";
15796
- serialNumber: string;
15797
- idempotencyKey: string;
15798
- } | {
15799
- kind: "firmware";
15800
- serialNumber: string;
15801
- updateId: string;
15802
- } | {
15803
- kind: "bluetooth_firmware";
15804
- deviceId: string;
15805
- updateId: string;
15806
- } | {
15807
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15808
- deviceId: string;
15809
- requestId: string;
15810
- } | {
15811
- kind: "support";
15812
- requestId: string;
15813
- };
15814
- };
15815
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15816
- currentRevision?: string | undefined;
15817
- retryAfterSeconds?: number | undefined;
15818
- }, unknown>>;
15819
- };
15820
- readonly forbidden: {
15821
- readonly status: 403;
15822
- readonly data: z.ZodType<{
15823
- traceId: string;
15824
- recovery: {
15825
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15826
- } | {
15827
- action: "read_operation";
15828
- operation: {
15829
- kind: "command";
15830
- serialNumber: string;
15831
- idempotencyKey: string;
15832
- } | {
15833
- kind: "firmware";
15834
- serialNumber: string;
15835
- updateId: string;
15836
- } | {
15837
- kind: "bluetooth_firmware";
15838
- deviceId: string;
15839
- updateId: string;
15840
- } | {
15841
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15842
- deviceId: string;
15843
- requestId: string;
15844
- } | {
15845
- kind: "support";
15846
- requestId: string;
15847
- };
15848
- };
15849
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15850
- currentRevision?: string | undefined;
15851
- retryAfterSeconds?: number | undefined;
15852
- }, unknown, z.core.$ZodTypeInternals<{
15853
- traceId: string;
15854
- recovery: {
15855
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15856
- } | {
15857
- action: "read_operation";
15858
- operation: {
15859
- kind: "command";
15860
- serialNumber: string;
15861
- idempotencyKey: string;
15862
- } | {
15863
- kind: "firmware";
15864
- serialNumber: string;
15865
- updateId: string;
15866
- } | {
15867
- kind: "bluetooth_firmware";
15868
- deviceId: string;
15869
- updateId: string;
15870
- } | {
15871
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15872
- deviceId: string;
15873
- requestId: string;
15874
- } | {
15875
- kind: "support";
15876
- requestId: string;
15877
- };
15878
- };
15879
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15880
- currentRevision?: string | undefined;
15881
- retryAfterSeconds?: number | undefined;
15882
- }, unknown>>;
15883
- };
15884
- readonly not_found: {
15885
- readonly status: 404;
15886
- readonly data: z.ZodType<{
15887
- traceId: string;
15888
- recovery: {
15889
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15890
- } | {
15891
- action: "read_operation";
15892
- operation: {
15893
- kind: "command";
15894
- serialNumber: string;
15895
- idempotencyKey: string;
15896
- } | {
15897
- kind: "firmware";
15898
- serialNumber: string;
15899
- updateId: string;
15900
- } | {
15901
- kind: "bluetooth_firmware";
15902
- deviceId: string;
15903
- updateId: string;
15904
- } | {
15905
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15906
- deviceId: string;
15907
- requestId: string;
15908
- } | {
15909
- kind: "support";
15910
- requestId: string;
15911
- };
15912
- };
15913
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15914
- currentRevision?: string | undefined;
15915
- retryAfterSeconds?: number | undefined;
15916
- }, unknown, z.core.$ZodTypeInternals<{
15917
- traceId: string;
15918
- recovery: {
15919
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15920
- } | {
15921
- action: "read_operation";
15922
- operation: {
15923
- kind: "command";
15924
- serialNumber: string;
15925
- idempotencyKey: string;
15926
- } | {
15927
- kind: "firmware";
15928
- serialNumber: string;
15929
- updateId: string;
15930
- } | {
15931
- kind: "bluetooth_firmware";
15932
- deviceId: string;
15933
- updateId: string;
15934
- } | {
15935
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15936
- deviceId: string;
15937
- requestId: string;
15938
- } | {
15939
- kind: "support";
15940
- requestId: string;
15941
- };
15942
- };
15943
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15944
- currentRevision?: string | undefined;
15945
- retryAfterSeconds?: number | undefined;
15946
- }, unknown>>;
15947
- };
15948
- readonly conflict: {
15949
- readonly status: 409;
15950
- readonly data: z.ZodType<{
15951
- traceId: string;
15952
- recovery: {
15953
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15954
- } | {
15955
- action: "read_operation";
15956
- operation: {
15957
- kind: "command";
15958
- serialNumber: string;
15959
- idempotencyKey: string;
15960
- } | {
15961
- kind: "firmware";
15962
- serialNumber: string;
15963
- updateId: string;
15964
- } | {
15965
- kind: "bluetooth_firmware";
15966
- deviceId: string;
15967
- updateId: string;
15968
- } | {
15969
- kind: "invitation" | "photo_upload" | "legacy_firmware";
15970
- deviceId: string;
15971
- requestId: string;
15972
- } | {
15973
- kind: "support";
15974
- requestId: string;
15975
- };
15976
- };
15977
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
15978
- currentRevision?: string | undefined;
15979
- retryAfterSeconds?: number | undefined;
15980
- }, unknown, z.core.$ZodTypeInternals<{
15981
- traceId: string;
15982
- recovery: {
15983
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
15984
- } | {
15985
- action: "read_operation";
15986
- operation: {
15987
- kind: "command";
15988
- serialNumber: string;
15989
- idempotencyKey: string;
15990
- } | {
15991
- kind: "firmware";
15992
- serialNumber: string;
15993
- updateId: string;
15994
- } | {
15995
- kind: "bluetooth_firmware";
15996
- deviceId: string;
15997
- updateId: string;
15998
- } | {
15999
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16000
- deviceId: string;
16001
- requestId: string;
16002
- } | {
16003
- kind: "support";
16004
- requestId: string;
16005
- };
16006
- };
16007
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16008
- currentRevision?: string | undefined;
16009
- retryAfterSeconds?: number | undefined;
16010
- }, unknown>>;
16011
- };
16012
- readonly rate_limited: {
16013
- readonly status: 429;
16014
- readonly data: z.ZodType<{
16015
- traceId: string;
16016
- recovery: {
16017
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16018
- } | {
16019
- action: "read_operation";
16020
- operation: {
16021
- kind: "command";
16022
- serialNumber: string;
16023
- idempotencyKey: string;
16024
- } | {
16025
- kind: "firmware";
16026
- serialNumber: string;
16027
- updateId: string;
16028
- } | {
16029
- kind: "bluetooth_firmware";
16030
- deviceId: string;
16031
- updateId: string;
16032
- } | {
16033
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16034
- deviceId: string;
16035
- requestId: string;
16036
- } | {
16037
- kind: "support";
16038
- requestId: string;
16039
- };
16040
- };
16041
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16042
- currentRevision?: string | undefined;
16043
- retryAfterSeconds?: number | undefined;
16044
- }, unknown, z.core.$ZodTypeInternals<{
16045
- traceId: string;
16046
- recovery: {
16047
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16048
- } | {
16049
- action: "read_operation";
16050
- operation: {
16051
- kind: "command";
16052
- serialNumber: string;
16053
- idempotencyKey: string;
16054
- } | {
16055
- kind: "firmware";
16056
- serialNumber: string;
16057
- updateId: string;
16058
- } | {
16059
- kind: "bluetooth_firmware";
16060
- deviceId: string;
16061
- updateId: string;
16062
- } | {
16063
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16064
- deviceId: string;
16065
- requestId: string;
16066
- } | {
16067
- kind: "support";
16068
- requestId: string;
16069
- };
16070
- };
16071
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16072
- currentRevision?: string | undefined;
16073
- retryAfterSeconds?: number | undefined;
16074
- }, unknown>>;
16075
- };
16076
- readonly stored_data_invalid: {
16077
- readonly status: 503;
16078
- readonly data: z.ZodType<{
16079
- traceId: string;
16080
- recovery: {
16081
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16082
- } | {
16083
- action: "read_operation";
16084
- operation: {
16085
- kind: "command";
16086
- serialNumber: string;
16087
- idempotencyKey: string;
16088
- } | {
16089
- kind: "firmware";
16090
- serialNumber: string;
16091
- updateId: string;
16092
- } | {
16093
- kind: "bluetooth_firmware";
16094
- deviceId: string;
16095
- updateId: string;
16096
- } | {
16097
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16098
- deviceId: string;
16099
- requestId: string;
16100
- } | {
16101
- kind: "support";
16102
- requestId: string;
16103
- };
16104
- };
16105
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16106
- currentRevision?: string | undefined;
16107
- retryAfterSeconds?: number | undefined;
16108
- }, unknown, z.core.$ZodTypeInternals<{
16109
- traceId: string;
16110
- recovery: {
16111
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16112
- } | {
16113
- action: "read_operation";
16114
- operation: {
16115
- kind: "command";
16116
- serialNumber: string;
16117
- idempotencyKey: string;
16118
- } | {
16119
- kind: "firmware";
16120
- serialNumber: string;
16121
- updateId: string;
16122
- } | {
16123
- kind: "bluetooth_firmware";
16124
- deviceId: string;
16125
- updateId: string;
16126
- } | {
16127
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16128
- deviceId: string;
16129
- requestId: string;
16130
- } | {
16131
- kind: "support";
16132
- requestId: string;
16133
- };
16134
- };
16135
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16136
- currentRevision?: string | undefined;
16137
- retryAfterSeconds?: number | undefined;
16138
- }, unknown>>;
16139
- };
16140
- readonly service_unavailable: {
16141
- readonly status: 503;
16142
- readonly data: z.ZodType<{
16143
- traceId: string;
16144
- recovery: {
16145
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16146
- } | {
16147
- action: "read_operation";
16148
- operation: {
16149
- kind: "command";
16150
- serialNumber: string;
16151
- idempotencyKey: string;
16152
- } | {
16153
- kind: "firmware";
16154
- serialNumber: string;
16155
- updateId: string;
16156
- } | {
16157
- kind: "bluetooth_firmware";
16158
- deviceId: string;
16159
- updateId: string;
16160
- } | {
16161
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16162
- deviceId: string;
16163
- requestId: string;
16164
- } | {
16165
- kind: "support";
16166
- requestId: string;
16167
- };
16168
- };
16169
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16170
- currentRevision?: string | undefined;
16171
- retryAfterSeconds?: number | undefined;
16172
- }, unknown, z.core.$ZodTypeInternals<{
16173
- traceId: string;
16174
- recovery: {
16175
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16176
- } | {
16177
- action: "read_operation";
16178
- operation: {
16179
- kind: "command";
16180
- serialNumber: string;
16181
- idempotencyKey: string;
16182
- } | {
16183
- kind: "firmware";
16184
- serialNumber: string;
16185
- updateId: string;
16186
- } | {
16187
- kind: "bluetooth_firmware";
16188
- deviceId: string;
16189
- updateId: string;
16190
- } | {
16191
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16192
- deviceId: string;
16193
- requestId: string;
16194
- } | {
16195
- kind: "support";
16196
- requestId: string;
16197
- };
16198
- };
16199
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16200
- currentRevision?: string | undefined;
16201
- retryAfterSeconds?: number | undefined;
16202
- }, unknown>>;
16203
- };
16204
- readonly read_unavailable: {
16205
- readonly status: 503;
16206
- readonly data: z.ZodType<{
16207
- traceId: string;
16208
- recovery: {
16209
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16210
- } | {
16211
- action: "read_operation";
16212
- operation: {
16213
- kind: "command";
16214
- serialNumber: string;
16215
- idempotencyKey: string;
16216
- } | {
16217
- kind: "firmware";
16218
- serialNumber: string;
16219
- updateId: string;
16220
- } | {
16221
- kind: "bluetooth_firmware";
16222
- deviceId: string;
16223
- updateId: string;
16224
- } | {
16225
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16226
- deviceId: string;
16227
- requestId: string;
16228
- } | {
16229
- kind: "support";
16230
- requestId: string;
16231
- };
16232
- };
16233
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16234
- currentRevision?: string | undefined;
16235
- retryAfterSeconds?: number | undefined;
16236
- }, unknown, z.core.$ZodTypeInternals<{
16237
- traceId: string;
16238
- recovery: {
16239
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16240
- } | {
16241
- action: "read_operation";
16242
- operation: {
16243
- kind: "command";
16244
- serialNumber: string;
16245
- idempotencyKey: string;
16246
- } | {
16247
- kind: "firmware";
16248
- serialNumber: string;
16249
- updateId: string;
16250
- } | {
16251
- kind: "bluetooth_firmware";
16252
- deviceId: string;
16253
- updateId: string;
16254
- } | {
16255
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16256
- deviceId: string;
16257
- requestId: string;
16258
- } | {
16259
- kind: "support";
16260
- requestId: string;
16261
- };
16262
- };
16263
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16264
- currentRevision?: string | undefined;
16265
- retryAfterSeconds?: number | undefined;
16266
- }, unknown>>;
16267
- };
16268
- readonly stream_unavailable: {
16269
- readonly status: 503;
16270
- readonly data: z.ZodType<{
16271
- traceId: string;
16272
- recovery: {
16273
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16274
- } | {
16275
- action: "read_operation";
16276
- operation: {
16277
- kind: "command";
16278
- serialNumber: string;
16279
- idempotencyKey: string;
16280
- } | {
16281
- kind: "firmware";
16282
- serialNumber: string;
16283
- updateId: string;
16284
- } | {
16285
- kind: "bluetooth_firmware";
16286
- deviceId: string;
16287
- updateId: string;
16288
- } | {
16289
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16290
- deviceId: string;
16291
- requestId: string;
16292
- } | {
16293
- kind: "support";
16294
- requestId: string;
16295
- };
16296
- };
16297
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16298
- currentRevision?: string | undefined;
16299
- retryAfterSeconds?: number | undefined;
16300
- }, unknown, z.core.$ZodTypeInternals<{
16301
- traceId: string;
16302
- recovery: {
16303
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16304
- } | {
16305
- action: "read_operation";
16306
- operation: {
16307
- kind: "command";
16308
- serialNumber: string;
16309
- idempotencyKey: string;
16310
- } | {
16311
- kind: "firmware";
16312
- serialNumber: string;
16313
- updateId: string;
16314
- } | {
16315
- kind: "bluetooth_firmware";
16316
- deviceId: string;
16317
- updateId: string;
16318
- } | {
16319
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16320
- deviceId: string;
16321
- requestId: string;
16322
- } | {
16323
- kind: "support";
16324
- requestId: string;
16325
- };
16326
- };
16327
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16328
- currentRevision?: string | undefined;
16329
- retryAfterSeconds?: number | undefined;
16330
- }, unknown>>;
16331
- };
16332
- readonly payload_too_large: {
16333
- readonly status: 413;
16334
- readonly data: z.ZodType<{
16335
- traceId: string;
16336
- recovery: {
16337
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16338
- } | {
16339
- action: "read_operation";
16340
- operation: {
16341
- kind: "command";
16342
- serialNumber: string;
16343
- idempotencyKey: string;
16344
- } | {
16345
- kind: "firmware";
16346
- serialNumber: string;
16347
- updateId: string;
16348
- } | {
16349
- kind: "bluetooth_firmware";
16350
- deviceId: string;
16351
- updateId: string;
16352
- } | {
16353
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16354
- deviceId: string;
16355
- requestId: string;
16356
- } | {
16357
- kind: "support";
16358
- requestId: string;
16359
- };
16360
- };
16361
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16362
- currentRevision?: string | undefined;
16363
- retryAfterSeconds?: number | undefined;
16364
- }, unknown, z.core.$ZodTypeInternals<{
16365
- traceId: string;
16366
- recovery: {
16367
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16368
- } | {
16369
- action: "read_operation";
16370
- operation: {
16371
- kind: "command";
16372
- serialNumber: string;
16373
- idempotencyKey: string;
16374
- } | {
16375
- kind: "firmware";
16376
- serialNumber: string;
16377
- updateId: string;
16378
- } | {
16379
- kind: "bluetooth_firmware";
16380
- deviceId: string;
16381
- updateId: string;
16382
- } | {
16383
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16384
- deviceId: string;
16385
- requestId: string;
16386
- } | {
16387
- kind: "support";
16388
- requestId: string;
16389
- };
16390
- };
16391
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16392
- currentRevision?: string | undefined;
16393
- retryAfterSeconds?: number | undefined;
16394
- }, unknown>>;
16395
- };
16396
- readonly request_timeout: {
16397
- readonly status: 503;
16398
- readonly data: z.ZodType<{
16399
- traceId: string;
16400
- recovery: {
16401
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16402
- } | {
16403
- action: "read_operation";
16404
- operation: {
16405
- kind: "command";
16406
- serialNumber: string;
16407
- idempotencyKey: string;
16408
- } | {
16409
- kind: "firmware";
16410
- serialNumber: string;
16411
- updateId: string;
16412
- } | {
16413
- kind: "bluetooth_firmware";
16414
- deviceId: string;
16415
- updateId: string;
16416
- } | {
16417
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16418
- deviceId: string;
16419
- requestId: string;
16420
- } | {
16421
- kind: "support";
16422
- requestId: string;
16423
- };
16424
- };
16425
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16426
- currentRevision?: string | undefined;
16427
- retryAfterSeconds?: number | undefined;
16428
- }, unknown, z.core.$ZodTypeInternals<{
16429
- traceId: string;
16430
- recovery: {
16431
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16432
- } | {
16433
- action: "read_operation";
16434
- operation: {
16435
- kind: "command";
16436
- serialNumber: string;
16437
- idempotencyKey: string;
16438
- } | {
16439
- kind: "firmware";
16440
- serialNumber: string;
16441
- updateId: string;
16442
- } | {
16443
- kind: "bluetooth_firmware";
16444
- deviceId: string;
16445
- updateId: string;
16446
- } | {
16447
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16448
- deviceId: string;
16449
- requestId: string;
16450
- } | {
16451
- kind: "support";
16452
- requestId: string;
16453
- };
16454
- };
16455
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16456
- currentRevision?: string | undefined;
16457
- retryAfterSeconds?: number | undefined;
16458
- }, unknown>>;
16459
- };
16460
- readonly operation_unconfirmed: {
16461
- readonly status: 503;
16462
- readonly data: z.ZodType<{
16463
- traceId: string;
16464
- recovery: {
16465
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16466
- } | {
16467
- action: "read_operation";
16468
- operation: {
16469
- kind: "command";
16470
- serialNumber: string;
16471
- idempotencyKey: string;
16472
- } | {
16473
- kind: "firmware";
16474
- serialNumber: string;
16475
- updateId: string;
16476
- } | {
16477
- kind: "bluetooth_firmware";
16478
- deviceId: string;
16479
- updateId: string;
16480
- } | {
16481
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16482
- deviceId: string;
16483
- requestId: string;
16484
- } | {
16485
- kind: "support";
16486
- requestId: string;
16487
- };
16488
- };
16489
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16490
- currentRevision?: string | undefined;
16491
- retryAfterSeconds?: number | undefined;
16492
- }, unknown, z.core.$ZodTypeInternals<{
16493
- traceId: string;
16494
- recovery: {
16495
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16496
- } | {
16497
- action: "read_operation";
16498
- operation: {
16499
- kind: "command";
16500
- serialNumber: string;
16501
- idempotencyKey: string;
16502
- } | {
16503
- kind: "firmware";
16504
- serialNumber: string;
16505
- updateId: string;
16506
- } | {
16507
- kind: "bluetooth_firmware";
16508
- deviceId: string;
16509
- updateId: string;
16510
- } | {
16511
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16512
- deviceId: string;
16513
- requestId: string;
16514
- } | {
16515
- kind: "support";
16516
- requestId: string;
16517
- };
16518
- };
16519
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16520
- currentRevision?: string | undefined;
16521
- retryAfterSeconds?: number | undefined;
16522
- }, unknown>>;
16523
- };
16524
- readonly directory_unavailable: {
16525
- readonly status: 503;
16526
- readonly data: z.ZodType<{
16527
- traceId: string;
16528
- recovery: {
16529
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16530
- } | {
16531
- action: "read_operation";
16532
- operation: {
16533
- kind: "command";
16534
- serialNumber: string;
16535
- idempotencyKey: string;
16536
- } | {
16537
- kind: "firmware";
16538
- serialNumber: string;
16539
- updateId: string;
16540
- } | {
16541
- kind: "bluetooth_firmware";
16542
- deviceId: string;
16543
- updateId: string;
16544
- } | {
16545
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16546
- deviceId: string;
16547
- requestId: string;
16548
- } | {
16549
- kind: "support";
16550
- requestId: string;
16551
- };
16552
- };
16553
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16554
- currentRevision?: string | undefined;
16555
- retryAfterSeconds?: number | undefined;
16556
- }, unknown, z.core.$ZodTypeInternals<{
16557
- traceId: string;
16558
- recovery: {
16559
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
16560
- } | {
16561
- action: "read_operation";
16562
- operation: {
16563
- kind: "command";
16564
- serialNumber: string;
16565
- idempotencyKey: string;
16566
- } | {
16567
- kind: "firmware";
16568
- serialNumber: string;
16569
- updateId: string;
16570
- } | {
16571
- kind: "bluetooth_firmware";
16572
- deviceId: string;
16573
- updateId: string;
16574
- } | {
16575
- kind: "invitation" | "photo_upload" | "legacy_firmware";
16576
- deviceId: string;
16577
- requestId: string;
16578
- } | {
16579
- kind: "support";
16580
- requestId: string;
16581
- };
16582
- };
16583
- reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
16584
- currentRevision?: string | undefined;
16585
- retryAfterSeconds?: number | undefined;
16586
- }, unknown>>;
16587
- };
16588
- }>, Record<never, never>>;
16589
- export type HistoryInput = z.input<typeof historyInput>;
16590
- export type HistoryEntry = z.infer<typeof historyEntry>;
16591
- export type HistoryPage = z.infer<typeof historyPage>;
16592
- export declare const notificationSource: z.ZodObject<{
16593
- kind: z.ZodEnum<{
16594
- account: "account";
16595
- subscription: "subscription";
16596
- }>;
16042
+ state: z.ZodLiteral<"available">;
16043
+ }, z.core.$strip>,
16044
+ z.ZodObject<{
16045
+ state: z.ZodLiteral<"unavailable">;
16046
+ reason: z.ZodEnum<{
16047
+ invalid: "invalid";
16048
+ not_observed: "not_observed";
16049
+ not_assigned: "not_assigned";
16050
+ }>;
16051
+ }, z.core.$strip>
16052
+ ], "state">;
16053
+ subscription: z.ZodDiscriminatedUnion<[
16054
+ z.ZodObject<{
16055
+ id: z.ZodString;
16056
+ activity: z.ZodEnum<{
16057
+ unknown: "unknown";
16058
+ active: "active";
16059
+ inactive: "inactive";
16060
+ }>;
16061
+ isDemo: z.ZodBoolean;
16062
+ status: z.ZodNullable<z.ZodString>;
16063
+ country: z.ZodNullable<z.ZodString>;
16064
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
16065
+ state: z.ZodLiteral<"available">;
16066
+ }, z.core.$strip>,
16067
+ z.ZodObject<{
16068
+ state: z.ZodLiteral<"unavailable">;
16069
+ reason: z.ZodEnum<{
16070
+ invalid: "invalid";
16071
+ not_observed: "not_observed";
16072
+ not_assigned: "not_assigned";
16073
+ }>;
16074
+ }, z.core.$strip>
16075
+ ], "state">;
16076
+ readIssues: z.ZodArray<z.ZodObject<{
16077
+ path: z.ZodString;
16078
+ code: z.ZodLiteral<"invalid_stored_value">;
16079
+ }, z.core.$strip>>;
16597
16080
  id: z.ZodString;
16081
+ revision: z.ZodString;
16082
+ createdAt: z.ZodISODateTime;
16083
+ updatedAt: z.ZodISODateTime;
16598
16084
  }, z.core.$strip>;
16599
- export declare const inboxCursor: z.ZodObject<{
16600
- source: z.ZodObject<{
16601
- kind: z.ZodEnum<{
16602
- account: "account";
16603
- subscription: "subscription";
16604
- }>;
16085
+ export declare const trackerPage: z.ZodObject<{
16086
+ items: z.ZodArray<z.ZodObject<{
16087
+ identity: z.ZodNullable<z.ZodObject<{
16088
+ serialNumber: z.ZodNullable<z.ZodString>;
16089
+ }, z.core.$strip>>;
16090
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
16091
+ generation: z.ZodNullable<z.ZodInt>;
16092
+ bike: z.ZodObject<{
16093
+ revision: z.ZodString;
16094
+ name: z.ZodNullable<z.ZodString>;
16095
+ brand: z.ZodNullable<z.ZodString>;
16096
+ type: z.ZodNullable<z.ZodString>;
16097
+ model: z.ZodNullable<z.ZodString>;
16098
+ frameNumber: z.ZodNullable<z.ZodString>;
16099
+ url: z.ZodNullable<z.ZodString>;
16100
+ marketPrice: z.ZodNullable<z.ZodString>;
16101
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
16102
+ }, z.core.$strip>;
16103
+ battery: z.ZodDiscriminatedUnion<[
16104
+ z.ZodObject<{
16105
+ level: z.ZodNullable<z.ZodNumber>;
16106
+ isCharging: z.ZodNullable<z.ZodBoolean>;
16107
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
16108
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
16109
+ observation: z.ZodNullable<z.ZodObject<{
16110
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16111
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
16112
+ }, z.core.$strip>>;
16113
+ source: z.ZodNullable<z.ZodString>;
16114
+ state: z.ZodLiteral<"available">;
16115
+ }, z.core.$strip>,
16116
+ z.ZodObject<{
16117
+ state: z.ZodLiteral<"unavailable">;
16118
+ reason: z.ZodEnum<{
16119
+ invalid: "invalid";
16120
+ not_observed: "not_observed";
16121
+ not_assigned: "not_assigned";
16122
+ }>;
16123
+ }, z.core.$strip>
16124
+ ], "state">;
16125
+ location: z.ZodDiscriminatedUnion<[
16126
+ z.ZodObject<{
16127
+ latitude: z.ZodNumber;
16128
+ longitude: z.ZodNumber;
16129
+ accuracy: z.ZodNullable<z.ZodNumber>;
16130
+ source: z.ZodNullable<z.ZodString>;
16131
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16132
+ state: z.ZodLiteral<"available">;
16133
+ }, z.core.$strip>,
16134
+ z.ZodObject<{
16135
+ state: z.ZodLiteral<"unavailable">;
16136
+ reason: z.ZodEnum<{
16137
+ invalid: "invalid";
16138
+ not_observed: "not_observed";
16139
+ not_assigned: "not_assigned";
16140
+ }>;
16141
+ }, z.core.$strip>
16142
+ ], "state">;
16143
+ subscription: z.ZodDiscriminatedUnion<[
16144
+ z.ZodObject<{
16145
+ id: z.ZodString;
16146
+ activity: z.ZodEnum<{
16147
+ unknown: "unknown";
16148
+ active: "active";
16149
+ inactive: "inactive";
16150
+ }>;
16151
+ isDemo: z.ZodBoolean;
16152
+ status: z.ZodNullable<z.ZodString>;
16153
+ country: z.ZodNullable<z.ZodString>;
16154
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
16155
+ state: z.ZodLiteral<"available">;
16156
+ }, z.core.$strip>,
16157
+ z.ZodObject<{
16158
+ state: z.ZodLiteral<"unavailable">;
16159
+ reason: z.ZodEnum<{
16160
+ invalid: "invalid";
16161
+ not_observed: "not_observed";
16162
+ not_assigned: "not_assigned";
16163
+ }>;
16164
+ }, z.core.$strip>
16165
+ ], "state">;
16166
+ readIssues: z.ZodArray<z.ZodObject<{
16167
+ path: z.ZodString;
16168
+ code: z.ZodLiteral<"invalid_stored_value">;
16169
+ }, z.core.$strip>>;
16605
16170
  id: z.ZodString;
16171
+ revision: z.ZodString;
16172
+ createdAt: z.ZodISODateTime;
16173
+ updatedAt: z.ZodISODateTime;
16174
+ }, z.core.$strip>>;
16175
+ nextAfter: z.ZodNullable<z.ZodString>;
16176
+ }, z.core.$strip>;
16177
+ export declare const tracker: z.ZodObject<{
16178
+ identity: z.ZodNullable<z.ZodObject<{
16179
+ serialNumber: z.ZodNullable<z.ZodString>;
16180
+ }, z.core.$strip>>;
16181
+ preferences: z.ZodObject<{
16182
+ movementAlerts: z.ZodBoolean;
16183
+ }, z.core.$strip>;
16184
+ capabilities: z.ZodObject<{
16185
+ firmwareUpdates: z.ZodBoolean;
16186
+ factoryResetReports: z.ZodBoolean;
16606
16187
  }, z.core.$strip>;
16607
- id: z.ZodString;
16608
- at: z.ZodISODateTime;
16609
- }, z.core.$strip>;
16610
- export declare const inboxPageInput: z.ZodPrefault<z.ZodObject<{
16611
- limit: z.ZodDefault<z.ZodInt>;
16612
- after: z.ZodOptional<z.ZodObject<{
16613
- id: z.ZodString;
16614
- at: z.ZodISODateTime;
16615
- source: z.ZodObject<{
16616
- kind: z.ZodEnum<{
16617
- account: "account";
16618
- subscription: "subscription";
16188
+ firmware: z.ZodNullable<z.ZodObject<{
16189
+ lte: z.ZodNullable<z.ZodString>;
16190
+ bluetooth: z.ZodNullable<z.ZodString>;
16191
+ battery: z.ZodNullable<z.ZodString>;
16192
+ modem: z.ZodNullable<z.ZodString>;
16193
+ mtk: z.ZodNullable<z.ZodString>;
16194
+ ti: z.ZodNullable<z.ZodString>;
16195
+ buildNumber: z.ZodNullable<z.ZodInt>;
16196
+ }, z.core.$strip>>;
16197
+ members: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
16198
+ active: z.ZodNullable<z.ZodBoolean>;
16199
+ displayName: z.ZodNullable<z.ZodString>;
16200
+ listOrder: z.ZodNullable<z.ZodInt>;
16201
+ joinedAt: z.ZodNullable<z.ZodISODateTime>;
16202
+ }, z.core.$strip>>>;
16203
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
16204
+ generation: z.ZodNullable<z.ZodInt>;
16205
+ bike: z.ZodObject<{
16206
+ revision: z.ZodString;
16207
+ name: z.ZodNullable<z.ZodString>;
16208
+ brand: z.ZodNullable<z.ZodString>;
16209
+ type: z.ZodNullable<z.ZodString>;
16210
+ model: z.ZodNullable<z.ZodString>;
16211
+ frameNumber: z.ZodNullable<z.ZodString>;
16212
+ url: z.ZodNullable<z.ZodString>;
16213
+ marketPrice: z.ZodNullable<z.ZodString>;
16214
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
16215
+ }, z.core.$strip>;
16216
+ battery: z.ZodDiscriminatedUnion<[
16217
+ z.ZodObject<{
16218
+ level: z.ZodNullable<z.ZodNumber>;
16219
+ isCharging: z.ZodNullable<z.ZodBoolean>;
16220
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
16221
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
16222
+ observation: z.ZodNullable<z.ZodObject<{
16223
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16224
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
16225
+ }, z.core.$strip>>;
16226
+ source: z.ZodNullable<z.ZodString>;
16227
+ state: z.ZodLiteral<"available">;
16228
+ }, z.core.$strip>,
16229
+ z.ZodObject<{
16230
+ state: z.ZodLiteral<"unavailable">;
16231
+ reason: z.ZodEnum<{
16232
+ invalid: "invalid";
16233
+ not_observed: "not_observed";
16234
+ not_assigned: "not_assigned";
16235
+ }>;
16236
+ }, z.core.$strip>
16237
+ ], "state">;
16238
+ location: z.ZodDiscriminatedUnion<[
16239
+ z.ZodObject<{
16240
+ latitude: z.ZodNumber;
16241
+ longitude: z.ZodNumber;
16242
+ accuracy: z.ZodNullable<z.ZodNumber>;
16243
+ source: z.ZodNullable<z.ZodString>;
16244
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16245
+ state: z.ZodLiteral<"available">;
16246
+ }, z.core.$strip>,
16247
+ z.ZodObject<{
16248
+ state: z.ZodLiteral<"unavailable">;
16249
+ reason: z.ZodEnum<{
16250
+ invalid: "invalid";
16251
+ not_observed: "not_observed";
16252
+ not_assigned: "not_assigned";
16619
16253
  }>;
16254
+ }, z.core.$strip>
16255
+ ], "state">;
16256
+ subscription: z.ZodDiscriminatedUnion<[
16257
+ z.ZodObject<{
16620
16258
  id: z.ZodString;
16621
- }, z.core.$strict>;
16622
- }, z.core.$strict>>;
16623
- }, z.core.$strict>>;
16624
- export declare const notification: z.ZodObject<{
16259
+ activity: z.ZodEnum<{
16260
+ unknown: "unknown";
16261
+ active: "active";
16262
+ inactive: "inactive";
16263
+ }>;
16264
+ isDemo: z.ZodBoolean;
16265
+ status: z.ZodNullable<z.ZodString>;
16266
+ country: z.ZodNullable<z.ZodString>;
16267
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
16268
+ state: z.ZodLiteral<"available">;
16269
+ }, z.core.$strip>,
16270
+ z.ZodObject<{
16271
+ state: z.ZodLiteral<"unavailable">;
16272
+ reason: z.ZodEnum<{
16273
+ invalid: "invalid";
16274
+ not_observed: "not_observed";
16275
+ not_assigned: "not_assigned";
16276
+ }>;
16277
+ }, z.core.$strip>
16278
+ ], "state">;
16279
+ readIssues: z.ZodArray<z.ZodObject<{
16280
+ path: z.ZodString;
16281
+ code: z.ZodLiteral<"invalid_stored_value">;
16282
+ }, z.core.$strip>>;
16625
16283
  id: z.ZodString;
16626
- source: z.ZodObject<{
16627
- kind: z.ZodEnum<{
16628
- account: "account";
16629
- subscription: "subscription";
16630
- }>;
16631
- id: z.ZodString;
16632
- }, z.core.$strip>;
16633
- type: z.ZodNullable<z.ZodString>;
16634
- title: z.ZodNullable<z.ZodString>;
16635
- body: z.ZodNullable<z.ZodString>;
16636
- trackerId: z.ZodNullable<z.ZodString>;
16637
- subscriptionId: z.ZodNullable<z.ZodString>;
16284
+ revision: z.ZodString;
16638
16285
  createdAt: z.ZodISODateTime;
16286
+ updatedAt: z.ZodISODateTime;
16639
16287
  }, z.core.$strip>;
16640
- export declare const inboxPage: z.ZodObject<{
16641
- items: z.ZodArray<z.ZodObject<{
16642
- id: z.ZodString;
16643
- source: z.ZodObject<{
16644
- kind: z.ZodEnum<{
16645
- account: "account";
16646
- subscription: "subscription";
16647
- }>;
16288
+ export declare const customerTrackerDetails: z.ZodObject<{
16289
+ id: z.ZodString;
16290
+ firmware: z.ZodNullable<z.ZodObject<{
16291
+ lte: z.ZodNullable<z.ZodString>;
16292
+ bluetooth: z.ZodNullable<z.ZodString>;
16293
+ battery: z.ZodNullable<z.ZodString>;
16294
+ modem: z.ZodNullable<z.ZodString>;
16295
+ mtk: z.ZodNullable<z.ZodString>;
16296
+ ti: z.ZodNullable<z.ZodString>;
16297
+ buildNumber: z.ZodNullable<z.ZodInt>;
16298
+ }, z.core.$strip>>;
16299
+ subscription: z.ZodDiscriminatedUnion<[
16300
+ z.ZodObject<{
16648
16301
  id: z.ZodString;
16649
- }, z.core.$strip>;
16650
- type: z.ZodNullable<z.ZodString>;
16651
- title: z.ZodNullable<z.ZodString>;
16652
- body: z.ZodNullable<z.ZodString>;
16653
- trackerId: z.ZodNullable<z.ZodString>;
16654
- subscriptionId: z.ZodNullable<z.ZodString>;
16655
- createdAt: z.ZodISODateTime;
16302
+ activity: z.ZodEnum<{
16303
+ unknown: "unknown";
16304
+ active: "active";
16305
+ inactive: "inactive";
16306
+ }>;
16307
+ isDemo: z.ZodBoolean;
16308
+ status: z.ZodNullable<z.ZodString>;
16309
+ country: z.ZodNullable<z.ZodString>;
16310
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
16311
+ state: z.ZodLiteral<"available">;
16312
+ }, z.core.$strip>,
16313
+ z.ZodObject<{
16314
+ state: z.ZodLiteral<"unavailable">;
16315
+ reason: z.ZodEnum<{
16316
+ invalid: "invalid";
16317
+ not_observed: "not_observed";
16318
+ not_assigned: "not_assigned";
16319
+ }>;
16320
+ }, z.core.$strip>
16321
+ ], "state">;
16322
+ createdAt: z.ZodISODateTime;
16323
+ revision: z.ZodString;
16324
+ battery: z.ZodDiscriminatedUnion<[
16325
+ z.ZodObject<{
16326
+ level: z.ZodNullable<z.ZodNumber>;
16327
+ isCharging: z.ZodNullable<z.ZodBoolean>;
16328
+ levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
16329
+ chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
16330
+ observation: z.ZodNullable<z.ZodObject<{
16331
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16332
+ receivedAt: z.ZodNullable<z.ZodISODateTime>;
16333
+ }, z.core.$strip>>;
16334
+ source: z.ZodNullable<z.ZodString>;
16335
+ state: z.ZodLiteral<"available">;
16336
+ }, z.core.$strip>,
16337
+ z.ZodObject<{
16338
+ state: z.ZodLiteral<"unavailable">;
16339
+ reason: z.ZodEnum<{
16340
+ invalid: "invalid";
16341
+ not_observed: "not_observed";
16342
+ not_assigned: "not_assigned";
16343
+ }>;
16344
+ }, z.core.$strip>
16345
+ ], "state">;
16346
+ identity: z.ZodNullable<z.ZodObject<{
16347
+ serialNumber: z.ZodNullable<z.ZodString>;
16656
16348
  }, z.core.$strip>>;
16657
- nextAfter: z.ZodNullable<z.ZodObject<{
16658
- source: z.ZodObject<{
16659
- kind: z.ZodEnum<{
16660
- account: "account";
16661
- subscription: "subscription";
16349
+ lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
16350
+ generation: z.ZodNullable<z.ZodInt>;
16351
+ bike: z.ZodObject<{
16352
+ revision: z.ZodString;
16353
+ name: z.ZodNullable<z.ZodString>;
16354
+ brand: z.ZodNullable<z.ZodString>;
16355
+ type: z.ZodNullable<z.ZodString>;
16356
+ model: z.ZodNullable<z.ZodString>;
16357
+ frameNumber: z.ZodNullable<z.ZodString>;
16358
+ url: z.ZodNullable<z.ZodString>;
16359
+ marketPrice: z.ZodNullable<z.ZodString>;
16360
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
16361
+ }, z.core.$strip>;
16362
+ location: z.ZodDiscriminatedUnion<[
16363
+ z.ZodObject<{
16364
+ latitude: z.ZodNumber;
16365
+ longitude: z.ZodNumber;
16366
+ accuracy: z.ZodNullable<z.ZodNumber>;
16367
+ source: z.ZodNullable<z.ZodString>;
16368
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
16369
+ state: z.ZodLiteral<"available">;
16370
+ }, z.core.$strip>,
16371
+ z.ZodObject<{
16372
+ state: z.ZodLiteral<"unavailable">;
16373
+ reason: z.ZodEnum<{
16374
+ invalid: "invalid";
16375
+ not_observed: "not_observed";
16376
+ not_assigned: "not_assigned";
16662
16377
  }>;
16663
- id: z.ZodString;
16664
- }, z.core.$strip>;
16665
- id: z.ZodString;
16666
- at: z.ZodISODateTime;
16378
+ }, z.core.$strip>
16379
+ ], "state">;
16380
+ readIssues: z.ZodArray<z.ZodObject<{
16381
+ path: z.ZodString;
16382
+ code: z.ZodLiteral<"invalid_stored_value">;
16667
16383
  }, z.core.$strip>>;
16384
+ updatedAt: z.ZodISODateTime;
16385
+ preferences: z.ZodObject<{
16386
+ movementAlerts: z.ZodBoolean;
16387
+ }, z.core.$strip>;
16388
+ capabilities: z.ZodObject<{
16389
+ firmwareUpdates: z.ZodBoolean;
16390
+ factoryResetReports: z.ZodBoolean;
16391
+ }, z.core.$strip>;
16392
+ membership: z.ZodObject<{
16393
+ accountId: z.ZodString;
16394
+ activeMemberCount: z.ZodInt;
16395
+ }, z.core.$strip>;
16668
16396
  }, z.core.$strip>;
16669
- export declare const inboxContract: {
16670
- list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodPrefault<z.ZodObject<{
16671
- limit: z.ZodDefault<z.ZodInt>;
16672
- after: z.ZodOptional<z.ZodObject<{
16673
- id: z.ZodString;
16674
- at: z.ZodISODateTime;
16675
- source: z.ZodObject<{
16676
- kind: z.ZodEnum<{
16677
- account: "account";
16678
- subscription: "subscription";
16679
- }>;
16680
- id: z.ZodString;
16681
- }, z.core.$strict>;
16682
- }, z.core.$strict>>;
16683
- }, z.core.$strict>>, z.ZodObject<{
16684
- items: z.ZodArray<z.ZodObject<{
16685
- id: z.ZodString;
16686
- source: z.ZodObject<{
16687
- kind: z.ZodEnum<{
16688
- account: "account";
16689
- subscription: "subscription";
16690
- }>;
16691
- id: z.ZodString;
16692
- }, z.core.$strip>;
16693
- type: z.ZodNullable<z.ZodString>;
16694
- title: z.ZodNullable<z.ZodString>;
16695
- body: z.ZodNullable<z.ZodString>;
16696
- trackerId: z.ZodNullable<z.ZodString>;
16697
- subscriptionId: z.ZodNullable<z.ZodString>;
16698
- createdAt: z.ZodISODateTime;
16699
- }, z.core.$strip>>;
16700
- nextAfter: z.ZodNullable<z.ZodObject<{
16701
- source: z.ZodObject<{
16702
- kind: z.ZodEnum<{
16703
- account: "account";
16704
- subscription: "subscription";
16705
- }>;
16706
- id: z.ZodString;
16707
- }, z.core.$strip>;
16708
- id: z.ZodString;
16709
- at: z.ZodISODateTime;
16710
- }, z.core.$strip>>;
16711
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
16712
- readonly inbox_unavailable: {
16713
- readonly status: 503;
16397
+ export type CustomerTrackerDetails = z.infer<typeof customerTrackerDetails>;
16398
+ export type Tracker = z.infer<typeof tracker>;
16399
+ export type TrackerSummary = z.infer<typeof trackerSummary>;
16400
+ export type TrackerPage = z.infer<typeof trackerPage>;
16401
+ export type TrackerInput = z.infer<typeof trackerInput>;
16402
+ export type TrackerPageInput = z.input<typeof pageInput>;
16403
+ export type SubscriptionInput = z.infer<typeof subscriptionInput>;
16404
+ export declare const pushToken: z.ZodString;
16405
+ export declare const pushRegistrationInput: z.ZodObject<{
16406
+ installationId: z.ZodGUID;
16407
+ token: z.ZodNullable<z.ZodString>;
16408
+ platform: z.ZodEnum<{
16409
+ android: "android";
16410
+ ios: "ios";
16411
+ }>;
16412
+ permission: z.ZodEnum<{
16413
+ granted: "granted";
16414
+ provisional: "provisional";
16415
+ denied: "denied";
16416
+ not_determined: "not_determined";
16417
+ }>;
16418
+ replaceTokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
16419
+ }, z.core.$strict>;
16420
+ export declare const pushRemovalInput: z.ZodObject<{
16421
+ installationId: z.ZodGUID;
16422
+ }, z.core.$strict>;
16423
+ export declare const pushContract: {
16424
+ register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
16425
+ installationId: z.ZodGUID;
16426
+ token: z.ZodNullable<z.ZodString>;
16427
+ platform: z.ZodEnum<{
16428
+ android: "android";
16429
+ ios: "ios";
16430
+ }>;
16431
+ permission: z.ZodEnum<{
16432
+ granted: "granted";
16433
+ provisional: "provisional";
16434
+ denied: "denied";
16435
+ not_determined: "not_determined";
16436
+ }>;
16437
+ replaceTokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
16438
+ }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
16439
+ readonly invalid: {
16440
+ readonly status: 400;
16714
16441
  readonly data: z.ZodType<{
16715
16442
  traceId: string;
16716
16443
  recovery: {
@@ -16773,8 +16500,8 @@ export declare const inboxContract: {
16773
16500
  retryAfterSeconds?: number | undefined;
16774
16501
  }, unknown>>;
16775
16502
  };
16776
- readonly invalid: {
16777
- readonly status: 400;
16503
+ readonly unauthenticated: {
16504
+ readonly status: 401;
16778
16505
  readonly data: z.ZodType<{
16779
16506
  traceId: string;
16780
16507
  recovery: {
@@ -16837,8 +16564,8 @@ export declare const inboxContract: {
16837
16564
  retryAfterSeconds?: number | undefined;
16838
16565
  }, unknown>>;
16839
16566
  };
16840
- readonly unauthenticated: {
16841
- readonly status: 401;
16567
+ readonly forbidden: {
16568
+ readonly status: 403;
16842
16569
  readonly data: z.ZodType<{
16843
16570
  traceId: string;
16844
16571
  recovery: {
@@ -16901,8 +16628,8 @@ export declare const inboxContract: {
16901
16628
  retryAfterSeconds?: number | undefined;
16902
16629
  }, unknown>>;
16903
16630
  };
16904
- readonly forbidden: {
16905
- readonly status: 403;
16631
+ readonly not_found: {
16632
+ readonly status: 404;
16906
16633
  readonly data: z.ZodType<{
16907
16634
  traceId: string;
16908
16635
  recovery: {
@@ -16965,8 +16692,8 @@ export declare const inboxContract: {
16965
16692
  retryAfterSeconds?: number | undefined;
16966
16693
  }, unknown>>;
16967
16694
  };
16968
- readonly not_found: {
16969
- readonly status: 404;
16695
+ readonly conflict: {
16696
+ readonly status: 409;
16970
16697
  readonly data: z.ZodType<{
16971
16698
  traceId: string;
16972
16699
  recovery: {
@@ -17029,8 +16756,8 @@ export declare const inboxContract: {
17029
16756
  retryAfterSeconds?: number | undefined;
17030
16757
  }, unknown>>;
17031
16758
  };
17032
- readonly conflict: {
17033
- readonly status: 409;
16759
+ readonly rate_limited: {
16760
+ readonly status: 429;
17034
16761
  readonly data: z.ZodType<{
17035
16762
  traceId: string;
17036
16763
  recovery: {
@@ -17093,8 +16820,8 @@ export declare const inboxContract: {
17093
16820
  retryAfterSeconds?: number | undefined;
17094
16821
  }, unknown>>;
17095
16822
  };
17096
- readonly rate_limited: {
17097
- readonly status: 429;
16823
+ readonly stored_data_invalid: {
16824
+ readonly status: 503;
17098
16825
  readonly data: z.ZodType<{
17099
16826
  traceId: string;
17100
16827
  recovery: {
@@ -17157,7 +16884,7 @@ export declare const inboxContract: {
17157
16884
  retryAfterSeconds?: number | undefined;
17158
16885
  }, unknown>>;
17159
16886
  };
17160
- readonly stored_data_invalid: {
16887
+ readonly service_unavailable: {
17161
16888
  readonly status: 503;
17162
16889
  readonly data: z.ZodType<{
17163
16890
  traceId: string;
@@ -17221,7 +16948,7 @@ export declare const inboxContract: {
17221
16948
  retryAfterSeconds?: number | undefined;
17222
16949
  }, unknown>>;
17223
16950
  };
17224
- readonly service_unavailable: {
16951
+ readonly read_unavailable: {
17225
16952
  readonly status: 503;
17226
16953
  readonly data: z.ZodType<{
17227
16954
  traceId: string;
@@ -17285,7 +17012,7 @@ export declare const inboxContract: {
17285
17012
  retryAfterSeconds?: number | undefined;
17286
17013
  }, unknown>>;
17287
17014
  };
17288
- readonly read_unavailable: {
17015
+ readonly stream_unavailable: {
17289
17016
  readonly status: 503;
17290
17017
  readonly data: z.ZodType<{
17291
17018
  traceId: string;
@@ -17349,8 +17076,8 @@ export declare const inboxContract: {
17349
17076
  retryAfterSeconds?: number | undefined;
17350
17077
  }, unknown>>;
17351
17078
  };
17352
- readonly stream_unavailable: {
17353
- readonly status: 503;
17079
+ readonly payload_too_large: {
17080
+ readonly status: 413;
17354
17081
  readonly data: z.ZodType<{
17355
17082
  traceId: string;
17356
17083
  recovery: {
@@ -17413,8 +17140,8 @@ export declare const inboxContract: {
17413
17140
  retryAfterSeconds?: number | undefined;
17414
17141
  }, unknown>>;
17415
17142
  };
17416
- readonly payload_too_large: {
17417
- readonly status: 413;
17143
+ readonly request_timeout: {
17144
+ readonly status: 503;
17418
17145
  readonly data: z.ZodType<{
17419
17146
  traceId: string;
17420
17147
  recovery: {
@@ -17477,7 +17204,7 @@ export declare const inboxContract: {
17477
17204
  retryAfterSeconds?: number | undefined;
17478
17205
  }, unknown>>;
17479
17206
  };
17480
- readonly request_timeout: {
17207
+ readonly operation_unconfirmed: {
17481
17208
  readonly status: 503;
17482
17209
  readonly data: z.ZodType<{
17483
17210
  traceId: string;
@@ -17541,7 +17268,7 @@ export declare const inboxContract: {
17541
17268
  retryAfterSeconds?: number | undefined;
17542
17269
  }, unknown>>;
17543
17270
  };
17544
- readonly operation_unconfirmed: {
17271
+ readonly directory_unavailable: {
17545
17272
  readonly status: 503;
17546
17273
  readonly data: z.ZodType<{
17547
17274
  traceId: string;
@@ -17605,8 +17332,12 @@ export declare const inboxContract: {
17605
17332
  retryAfterSeconds?: number | undefined;
17606
17333
  }, unknown>>;
17607
17334
  };
17608
- readonly directory_unavailable: {
17609
- readonly status: 503;
17335
+ }>, Record<never, never>>;
17336
+ unregister: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
17337
+ installationId: z.ZodGUID;
17338
+ }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
17339
+ readonly invalid: {
17340
+ readonly status: 400;
17610
17341
  readonly data: z.ZodType<{
17611
17342
  traceId: string;
17612
17343
  recovery: {
@@ -17669,86 +17400,8 @@ export declare const inboxContract: {
17669
17400
  retryAfterSeconds?: number | undefined;
17670
17401
  }, unknown>>;
17671
17402
  };
17672
- }>, Record<never, never>>;
17673
- };
17674
- export type InboxPageInput = z.input<typeof inboxPageInput>;
17675
- export type InboxPage = z.infer<typeof inboxPage>;
17676
- type Notification$1 = z.infer<typeof notification>;
17677
- export declare const photoInput: z.ZodObject<{
17678
- deviceId: z.ZodString;
17679
- photoId: z.ZodString;
17680
- }, z.core.$strict>;
17681
- export declare const photoPageInput: z.ZodObject<{
17682
- limit: z.ZodDefault<z.ZodInt>;
17683
- after: z.ZodOptional<z.ZodString>;
17684
- deviceId: z.ZodString;
17685
- }, z.core.$strict>;
17686
- export declare const photoDownloadInput: z.ZodObject<{
17687
- deviceId: z.ZodString;
17688
- photoId: z.ZodString;
17689
- variant: z.ZodDefault<z.ZodEnum<{
17690
- original: "original";
17691
- thumbnail: "thumbnail";
17692
- }>>;
17693
- }, z.core.$strict>;
17694
- export declare const photo: z.ZodObject<{
17695
- kind: z.ZodNullable<z.ZodString>;
17696
- width: z.ZodNullable<z.ZodInt>;
17697
- height: z.ZodNullable<z.ZodInt>;
17698
- sizeBytes: z.ZodNullable<z.ZodInt>;
17699
- isVertical: z.ZodNullable<z.ZodBoolean>;
17700
- contentType: z.ZodNullable<z.ZodString>;
17701
- capturedAt: z.ZodNullable<z.ZodISODateTime>;
17702
- id: z.ZodString;
17703
- revision: z.ZodString;
17704
- createdAt: z.ZodISODateTime;
17705
- updatedAt: z.ZodISODateTime;
17706
- }, z.core.$strip>;
17707
- export declare const photoPage: z.ZodObject<{
17708
- items: z.ZodArray<z.ZodObject<{
17709
- kind: z.ZodNullable<z.ZodString>;
17710
- width: z.ZodNullable<z.ZodInt>;
17711
- height: z.ZodNullable<z.ZodInt>;
17712
- sizeBytes: z.ZodNullable<z.ZodInt>;
17713
- isVertical: z.ZodNullable<z.ZodBoolean>;
17714
- contentType: z.ZodNullable<z.ZodString>;
17715
- capturedAt: z.ZodNullable<z.ZodISODateTime>;
17716
- id: z.ZodString;
17717
- revision: z.ZodString;
17718
- createdAt: z.ZodISODateTime;
17719
- updatedAt: z.ZodISODateTime;
17720
- }, z.core.$strip>>;
17721
- nextAfter: z.ZodNullable<z.ZodString>;
17722
- }, z.core.$strip>;
17723
- export declare const downloadReference: z.ZodObject<{
17724
- url: z.ZodURL;
17725
- expiresAt: z.ZodISODateTime;
17726
- contentType: z.ZodString;
17727
- name: z.ZodString;
17728
- }, z.core.$strip>;
17729
- export declare const trackerPhotoContract: {
17730
- list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
17731
- limit: z.ZodDefault<z.ZodInt>;
17732
- after: z.ZodOptional<z.ZodString>;
17733
- deviceId: z.ZodString;
17734
- }, z.core.$strict>, z.ZodObject<{
17735
- items: z.ZodArray<z.ZodObject<{
17736
- kind: z.ZodNullable<z.ZodString>;
17737
- width: z.ZodNullable<z.ZodInt>;
17738
- height: z.ZodNullable<z.ZodInt>;
17739
- sizeBytes: z.ZodNullable<z.ZodInt>;
17740
- isVertical: z.ZodNullable<z.ZodBoolean>;
17741
- contentType: z.ZodNullable<z.ZodString>;
17742
- capturedAt: z.ZodNullable<z.ZodISODateTime>;
17743
- id: z.ZodString;
17744
- revision: z.ZodString;
17745
- createdAt: z.ZodISODateTime;
17746
- updatedAt: z.ZodISODateTime;
17747
- }, z.core.$strip>>;
17748
- nextAfter: z.ZodNullable<z.ZodString>;
17749
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
17750
- readonly invalid: {
17751
- readonly status: 400;
17403
+ readonly unauthenticated: {
17404
+ readonly status: 401;
17752
17405
  readonly data: z.ZodType<{
17753
17406
  traceId: string;
17754
17407
  recovery: {
@@ -17811,8 +17464,8 @@ export declare const trackerPhotoContract: {
17811
17464
  retryAfterSeconds?: number | undefined;
17812
17465
  }, unknown>>;
17813
17466
  };
17814
- readonly unauthenticated: {
17815
- readonly status: 401;
17467
+ readonly forbidden: {
17468
+ readonly status: 403;
17816
17469
  readonly data: z.ZodType<{
17817
17470
  traceId: string;
17818
17471
  recovery: {
@@ -17875,8 +17528,8 @@ export declare const trackerPhotoContract: {
17875
17528
  retryAfterSeconds?: number | undefined;
17876
17529
  }, unknown>>;
17877
17530
  };
17878
- readonly forbidden: {
17879
- readonly status: 403;
17531
+ readonly not_found: {
17532
+ readonly status: 404;
17880
17533
  readonly data: z.ZodType<{
17881
17534
  traceId: string;
17882
17535
  recovery: {
@@ -17939,8 +17592,8 @@ export declare const trackerPhotoContract: {
17939
17592
  retryAfterSeconds?: number | undefined;
17940
17593
  }, unknown>>;
17941
17594
  };
17942
- readonly not_found: {
17943
- readonly status: 404;
17595
+ readonly conflict: {
17596
+ readonly status: 409;
17944
17597
  readonly data: z.ZodType<{
17945
17598
  traceId: string;
17946
17599
  recovery: {
@@ -18003,8 +17656,8 @@ export declare const trackerPhotoContract: {
18003
17656
  retryAfterSeconds?: number | undefined;
18004
17657
  }, unknown>>;
18005
17658
  };
18006
- readonly conflict: {
18007
- readonly status: 409;
17659
+ readonly rate_limited: {
17660
+ readonly status: 429;
18008
17661
  readonly data: z.ZodType<{
18009
17662
  traceId: string;
18010
17663
  recovery: {
@@ -18067,8 +17720,8 @@ export declare const trackerPhotoContract: {
18067
17720
  retryAfterSeconds?: number | undefined;
18068
17721
  }, unknown>>;
18069
17722
  };
18070
- readonly rate_limited: {
18071
- readonly status: 429;
17723
+ readonly stored_data_invalid: {
17724
+ readonly status: 503;
18072
17725
  readonly data: z.ZodType<{
18073
17726
  traceId: string;
18074
17727
  recovery: {
@@ -18131,7 +17784,7 @@ export declare const trackerPhotoContract: {
18131
17784
  retryAfterSeconds?: number | undefined;
18132
17785
  }, unknown>>;
18133
17786
  };
18134
- readonly stored_data_invalid: {
17787
+ readonly service_unavailable: {
18135
17788
  readonly status: 503;
18136
17789
  readonly data: z.ZodType<{
18137
17790
  traceId: string;
@@ -18195,7 +17848,7 @@ export declare const trackerPhotoContract: {
18195
17848
  retryAfterSeconds?: number | undefined;
18196
17849
  }, unknown>>;
18197
17850
  };
18198
- readonly service_unavailable: {
17851
+ readonly read_unavailable: {
18199
17852
  readonly status: 503;
18200
17853
  readonly data: z.ZodType<{
18201
17854
  traceId: string;
@@ -18259,7 +17912,7 @@ export declare const trackerPhotoContract: {
18259
17912
  retryAfterSeconds?: number | undefined;
18260
17913
  }, unknown>>;
18261
17914
  };
18262
- readonly read_unavailable: {
17915
+ readonly stream_unavailable: {
18263
17916
  readonly status: 503;
18264
17917
  readonly data: z.ZodType<{
18265
17918
  traceId: string;
@@ -18323,8 +17976,8 @@ export declare const trackerPhotoContract: {
18323
17976
  retryAfterSeconds?: number | undefined;
18324
17977
  }, unknown>>;
18325
17978
  };
18326
- readonly stream_unavailable: {
18327
- readonly status: 503;
17979
+ readonly payload_too_large: {
17980
+ readonly status: 413;
18328
17981
  readonly data: z.ZodType<{
18329
17982
  traceId: string;
18330
17983
  recovery: {
@@ -18387,8 +18040,8 @@ export declare const trackerPhotoContract: {
18387
18040
  retryAfterSeconds?: number | undefined;
18388
18041
  }, unknown>>;
18389
18042
  };
18390
- readonly payload_too_large: {
18391
- readonly status: 413;
18043
+ readonly request_timeout: {
18044
+ readonly status: 503;
18392
18045
  readonly data: z.ZodType<{
18393
18046
  traceId: string;
18394
18047
  recovery: {
@@ -18451,7 +18104,7 @@ export declare const trackerPhotoContract: {
18451
18104
  retryAfterSeconds?: number | undefined;
18452
18105
  }, unknown>>;
18453
18106
  };
18454
- readonly request_timeout: {
18107
+ readonly operation_unconfirmed: {
18455
18108
  readonly status: 503;
18456
18109
  readonly data: z.ZodType<{
18457
18110
  traceId: string;
@@ -18515,7 +18168,7 @@ export declare const trackerPhotoContract: {
18515
18168
  retryAfterSeconds?: number | undefined;
18516
18169
  }, unknown>>;
18517
18170
  };
18518
- readonly operation_unconfirmed: {
18171
+ readonly directory_unavailable: {
18519
18172
  readonly status: 503;
18520
18173
  readonly data: z.ZodType<{
18521
18174
  traceId: string;
@@ -18579,7 +18232,131 @@ export declare const trackerPhotoContract: {
18579
18232
  retryAfterSeconds?: number | undefined;
18580
18233
  }, unknown>>;
18581
18234
  };
18582
- readonly directory_unavailable: {
18235
+ }>, Record<never, never>>;
18236
+ };
18237
+ export type PushRegistrationInput = z.input<typeof pushRegistrationInput>;
18238
+ export type PushRemovalInput = z.infer<typeof pushRemovalInput>;
18239
+ export declare const notificationSource: z.ZodObject<{
18240
+ kind: z.ZodEnum<{
18241
+ account: "account";
18242
+ subscription: "subscription";
18243
+ }>;
18244
+ id: z.ZodString;
18245
+ }, z.core.$strip>;
18246
+ export declare const inboxCursor: z.ZodObject<{
18247
+ source: z.ZodObject<{
18248
+ kind: z.ZodEnum<{
18249
+ account: "account";
18250
+ subscription: "subscription";
18251
+ }>;
18252
+ id: z.ZodString;
18253
+ }, z.core.$strip>;
18254
+ id: z.ZodString;
18255
+ at: z.ZodISODateTime;
18256
+ }, z.core.$strip>;
18257
+ export declare const inboxPageInput: z.ZodPrefault<z.ZodObject<{
18258
+ limit: z.ZodDefault<z.ZodInt>;
18259
+ after: z.ZodOptional<z.ZodObject<{
18260
+ id: z.ZodString;
18261
+ at: z.ZodISODateTime;
18262
+ source: z.ZodObject<{
18263
+ kind: z.ZodEnum<{
18264
+ account: "account";
18265
+ subscription: "subscription";
18266
+ }>;
18267
+ id: z.ZodString;
18268
+ }, z.core.$strict>;
18269
+ }, z.core.$strict>>;
18270
+ }, z.core.$strict>>;
18271
+ export declare const notification: z.ZodObject<{
18272
+ id: z.ZodString;
18273
+ source: z.ZodObject<{
18274
+ kind: z.ZodEnum<{
18275
+ account: "account";
18276
+ subscription: "subscription";
18277
+ }>;
18278
+ id: z.ZodString;
18279
+ }, z.core.$strip>;
18280
+ type: z.ZodNullable<z.ZodString>;
18281
+ title: z.ZodNullable<z.ZodString>;
18282
+ body: z.ZodNullable<z.ZodString>;
18283
+ trackerId: z.ZodNullable<z.ZodString>;
18284
+ subscriptionId: z.ZodNullable<z.ZodString>;
18285
+ createdAt: z.ZodISODateTime;
18286
+ }, z.core.$strip>;
18287
+ export declare const inboxPage: z.ZodObject<{
18288
+ items: z.ZodArray<z.ZodObject<{
18289
+ id: z.ZodString;
18290
+ source: z.ZodObject<{
18291
+ kind: z.ZodEnum<{
18292
+ account: "account";
18293
+ subscription: "subscription";
18294
+ }>;
18295
+ id: z.ZodString;
18296
+ }, z.core.$strip>;
18297
+ type: z.ZodNullable<z.ZodString>;
18298
+ title: z.ZodNullable<z.ZodString>;
18299
+ body: z.ZodNullable<z.ZodString>;
18300
+ trackerId: z.ZodNullable<z.ZodString>;
18301
+ subscriptionId: z.ZodNullable<z.ZodString>;
18302
+ createdAt: z.ZodISODateTime;
18303
+ }, z.core.$strip>>;
18304
+ nextAfter: z.ZodNullable<z.ZodObject<{
18305
+ source: z.ZodObject<{
18306
+ kind: z.ZodEnum<{
18307
+ account: "account";
18308
+ subscription: "subscription";
18309
+ }>;
18310
+ id: z.ZodString;
18311
+ }, z.core.$strip>;
18312
+ id: z.ZodString;
18313
+ at: z.ZodISODateTime;
18314
+ }, z.core.$strip>>;
18315
+ }, z.core.$strip>;
18316
+ export declare const inboxContract: {
18317
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodPrefault<z.ZodObject<{
18318
+ limit: z.ZodDefault<z.ZodInt>;
18319
+ after: z.ZodOptional<z.ZodObject<{
18320
+ id: z.ZodString;
18321
+ at: z.ZodISODateTime;
18322
+ source: z.ZodObject<{
18323
+ kind: z.ZodEnum<{
18324
+ account: "account";
18325
+ subscription: "subscription";
18326
+ }>;
18327
+ id: z.ZodString;
18328
+ }, z.core.$strict>;
18329
+ }, z.core.$strict>>;
18330
+ }, z.core.$strict>>, z.ZodObject<{
18331
+ items: z.ZodArray<z.ZodObject<{
18332
+ id: z.ZodString;
18333
+ source: z.ZodObject<{
18334
+ kind: z.ZodEnum<{
18335
+ account: "account";
18336
+ subscription: "subscription";
18337
+ }>;
18338
+ id: z.ZodString;
18339
+ }, z.core.$strip>;
18340
+ type: z.ZodNullable<z.ZodString>;
18341
+ title: z.ZodNullable<z.ZodString>;
18342
+ body: z.ZodNullable<z.ZodString>;
18343
+ trackerId: z.ZodNullable<z.ZodString>;
18344
+ subscriptionId: z.ZodNullable<z.ZodString>;
18345
+ createdAt: z.ZodISODateTime;
18346
+ }, z.core.$strip>>;
18347
+ nextAfter: z.ZodNullable<z.ZodObject<{
18348
+ source: z.ZodObject<{
18349
+ kind: z.ZodEnum<{
18350
+ account: "account";
18351
+ subscription: "subscription";
18352
+ }>;
18353
+ id: z.ZodString;
18354
+ }, z.core.$strip>;
18355
+ id: z.ZodString;
18356
+ at: z.ZodISODateTime;
18357
+ }, z.core.$strip>>;
18358
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
18359
+ readonly inbox_unavailable: {
18583
18360
  readonly status: 503;
18584
18361
  readonly data: z.ZodType<{
18585
18362
  traceId: string;
@@ -18643,20 +18420,6 @@ export declare const trackerPhotoContract: {
18643
18420
  retryAfterSeconds?: number | undefined;
18644
18421
  }, unknown>>;
18645
18422
  };
18646
- }>, Record<never, never>>;
18647
- download: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
18648
- deviceId: z.ZodString;
18649
- photoId: z.ZodString;
18650
- variant: z.ZodDefault<z.ZodEnum<{
18651
- original: "original";
18652
- thumbnail: "thumbnail";
18653
- }>>;
18654
- }, z.core.$strict>, z.ZodObject<{
18655
- url: z.ZodURL;
18656
- expiresAt: z.ZodISODateTime;
18657
- contentType: z.ZodString;
18658
- name: z.ZodString;
18659
- }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
18660
18423
  readonly invalid: {
18661
18424
  readonly status: 400;
18662
18425
  readonly data: z.ZodType<{
@@ -19554,10 +19317,83 @@ export declare const trackerPhotoContract: {
19554
19317
  }, unknown>>;
19555
19318
  };
19556
19319
  }>, Record<never, never>>;
19557
- delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
19320
+ };
19321
+ export type InboxPageInput = z.input<typeof inboxPageInput>;
19322
+ export type InboxPage = z.infer<typeof inboxPage>;
19323
+ type Notification$1 = z.infer<typeof notification>;
19324
+ export declare const photoInput: z.ZodObject<{
19325
+ deviceId: z.ZodString;
19326
+ photoId: z.ZodString;
19327
+ }, z.core.$strict>;
19328
+ export declare const photoPageInput: z.ZodObject<{
19329
+ limit: z.ZodDefault<z.ZodInt>;
19330
+ after: z.ZodOptional<z.ZodString>;
19331
+ deviceId: z.ZodString;
19332
+ }, z.core.$strict>;
19333
+ export declare const photoDownloadInput: z.ZodObject<{
19334
+ deviceId: z.ZodString;
19335
+ photoId: z.ZodString;
19336
+ variant: z.ZodDefault<z.ZodEnum<{
19337
+ original: "original";
19338
+ thumbnail: "thumbnail";
19339
+ }>>;
19340
+ }, z.core.$strict>;
19341
+ export declare const photo: z.ZodObject<{
19342
+ kind: z.ZodNullable<z.ZodString>;
19343
+ width: z.ZodNullable<z.ZodInt>;
19344
+ height: z.ZodNullable<z.ZodInt>;
19345
+ sizeBytes: z.ZodNullable<z.ZodInt>;
19346
+ isVertical: z.ZodNullable<z.ZodBoolean>;
19347
+ contentType: z.ZodNullable<z.ZodString>;
19348
+ capturedAt: z.ZodNullable<z.ZodISODateTime>;
19349
+ id: z.ZodString;
19350
+ revision: z.ZodString;
19351
+ createdAt: z.ZodISODateTime;
19352
+ updatedAt: z.ZodISODateTime;
19353
+ }, z.core.$strip>;
19354
+ export declare const photoPage: z.ZodObject<{
19355
+ items: z.ZodArray<z.ZodObject<{
19356
+ kind: z.ZodNullable<z.ZodString>;
19357
+ width: z.ZodNullable<z.ZodInt>;
19358
+ height: z.ZodNullable<z.ZodInt>;
19359
+ sizeBytes: z.ZodNullable<z.ZodInt>;
19360
+ isVertical: z.ZodNullable<z.ZodBoolean>;
19361
+ contentType: z.ZodNullable<z.ZodString>;
19362
+ capturedAt: z.ZodNullable<z.ZodISODateTime>;
19363
+ id: z.ZodString;
19364
+ revision: z.ZodString;
19365
+ createdAt: z.ZodISODateTime;
19366
+ updatedAt: z.ZodISODateTime;
19367
+ }, z.core.$strip>>;
19368
+ nextAfter: z.ZodNullable<z.ZodString>;
19369
+ }, z.core.$strip>;
19370
+ export declare const downloadReference: z.ZodObject<{
19371
+ url: z.ZodURL;
19372
+ expiresAt: z.ZodISODateTime;
19373
+ contentType: z.ZodString;
19374
+ name: z.ZodString;
19375
+ }, z.core.$strip>;
19376
+ export declare const trackerPhotoContract: {
19377
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
19378
+ limit: z.ZodDefault<z.ZodInt>;
19379
+ after: z.ZodOptional<z.ZodString>;
19558
19380
  deviceId: z.ZodString;
19559
- photoId: z.ZodString;
19560
- }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
19381
+ }, z.core.$strict>, z.ZodObject<{
19382
+ items: z.ZodArray<z.ZodObject<{
19383
+ kind: z.ZodNullable<z.ZodString>;
19384
+ width: z.ZodNullable<z.ZodInt>;
19385
+ height: z.ZodNullable<z.ZodInt>;
19386
+ sizeBytes: z.ZodNullable<z.ZodInt>;
19387
+ isVertical: z.ZodNullable<z.ZodBoolean>;
19388
+ contentType: z.ZodNullable<z.ZodString>;
19389
+ capturedAt: z.ZodNullable<z.ZodISODateTime>;
19390
+ id: z.ZodString;
19391
+ revision: z.ZodString;
19392
+ createdAt: z.ZodISODateTime;
19393
+ updatedAt: z.ZodISODateTime;
19394
+ }, z.core.$strip>>;
19395
+ nextAfter: z.ZodNullable<z.ZodString>;
19396
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
19561
19397
  readonly invalid: {
19562
19398
  readonly status: 400;
19563
19399
  readonly data: z.ZodType<{
@@ -20455,48 +20291,19 @@ export declare const trackerPhotoContract: {
20455
20291
  }, unknown>>;
20456
20292
  };
20457
20293
  }>, Record<never, never>>;
20458
- };
20459
- export type Photo = z.infer<typeof photo>;
20460
- export type PhotoPage = z.infer<typeof photoPage>;
20461
- export type PhotoInput = z.infer<typeof photoInput>;
20462
- export type PhotoPageInput = z.input<typeof photoPageInput>;
20463
- export type PhotoDownloadInput = z.input<typeof photoDownloadInput>;
20464
- export type DownloadReference = z.infer<typeof downloadReference>;
20465
- export declare const pushToken: z.ZodString;
20466
- export declare const pushRegistrationInput: z.ZodObject<{
20467
- installationId: z.ZodGUID;
20468
- token: z.ZodNullable<z.ZodString>;
20469
- platform: z.ZodEnum<{
20470
- android: "android";
20471
- ios: "ios";
20472
- }>;
20473
- permission: z.ZodEnum<{
20474
- granted: "granted";
20475
- provisional: "provisional";
20476
- denied: "denied";
20477
- not_determined: "not_determined";
20478
- }>;
20479
- replaceTokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
20480
- }, z.core.$strict>;
20481
- export declare const pushRemovalInput: z.ZodObject<{
20482
- installationId: z.ZodGUID;
20483
- }, z.core.$strict>;
20484
- export declare const pushContract: {
20485
- register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
20486
- installationId: z.ZodGUID;
20487
- token: z.ZodNullable<z.ZodString>;
20488
- platform: z.ZodEnum<{
20489
- android: "android";
20490
- ios: "ios";
20491
- }>;
20492
- permission: z.ZodEnum<{
20493
- granted: "granted";
20494
- provisional: "provisional";
20495
- denied: "denied";
20496
- not_determined: "not_determined";
20497
- }>;
20498
- replaceTokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
20499
- }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
20294
+ download: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
20295
+ deviceId: z.ZodString;
20296
+ photoId: z.ZodString;
20297
+ variant: z.ZodDefault<z.ZodEnum<{
20298
+ original: "original";
20299
+ thumbnail: "thumbnail";
20300
+ }>>;
20301
+ }, z.core.$strict>, z.ZodObject<{
20302
+ url: z.ZodURL;
20303
+ expiresAt: z.ZodISODateTime;
20304
+ contentType: z.ZodString;
20305
+ name: z.ZodString;
20306
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
20500
20307
  readonly invalid: {
20501
20308
  readonly status: 400;
20502
20309
  readonly data: z.ZodType<{
@@ -21394,8 +21201,9 @@ export declare const pushContract: {
21394
21201
  }, unknown>>;
21395
21202
  };
21396
21203
  }>, Record<never, never>>;
21397
- unregister: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
21398
- installationId: z.ZodGUID;
21204
+ delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
21205
+ deviceId: z.ZodString;
21206
+ photoId: z.ZodString;
21399
21207
  }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
21400
21208
  readonly invalid: {
21401
21209
  readonly status: 400;
@@ -22292,826 +22100,15 @@ export declare const pushContract: {
22292
22100
  currentRevision?: string | undefined;
22293
22101
  retryAfterSeconds?: number | undefined;
22294
22102
  }, unknown>>;
22295
- };
22296
- }>, Record<never, never>>;
22297
- };
22298
- export type PushRegistrationInput = z.input<typeof pushRegistrationInput>;
22299
- export type PushRemovalInput = z.infer<typeof pushRemovalInput>;
22300
- declare const trackerInput: z.ZodObject<{
22301
- deviceId: z.ZodString;
22302
- }, z.core.$strict>;
22303
- export declare const subscriptionInput: z.ZodObject<{
22304
- subscriptionId: z.ZodString;
22305
- }, z.core.$strict>;
22306
- declare const pageInput: z.ZodPrefault<z.ZodObject<{
22307
- limit: z.ZodDefault<z.ZodInt>;
22308
- after: z.ZodOptional<z.ZodString>;
22309
- }, z.core.$strict>>;
22310
- declare const operationReference: z.ZodDiscriminatedUnion<[
22311
- z.ZodObject<{
22312
- kind: z.ZodLiteral<"command">;
22313
- serialNumber: z.ZodString;
22314
- idempotencyKey: z.ZodGUID;
22315
- }, z.core.$strip>,
22316
- z.ZodObject<{
22317
- kind: z.ZodLiteral<"firmware">;
22318
- serialNumber: z.ZodString;
22319
- updateId: z.ZodGUID;
22320
- }, z.core.$strip>,
22321
- z.ZodObject<{
22322
- kind: z.ZodLiteral<"bluetooth_firmware">;
22323
- deviceId: z.ZodString;
22324
- updateId: z.ZodGUID;
22325
- }, z.core.$strip>,
22326
- z.ZodObject<{
22327
- kind: z.ZodEnum<{
22328
- invitation: "invitation";
22329
- photo_upload: "photo_upload";
22330
- legacy_firmware: "legacy_firmware";
22331
- }>;
22332
- deviceId: z.ZodString;
22333
- requestId: z.ZodGUID;
22334
- }, z.core.$strip>,
22335
- z.ZodObject<{
22336
- kind: z.ZodLiteral<"support">;
22337
- requestId: z.ZodGUID;
22338
- }, z.core.$strip>
22339
- ], "kind">;
22340
- declare const recoverySchema: z.ZodDiscriminatedUnion<[
22341
- z.ZodObject<{
22342
- action: z.ZodEnum<{
22343
- none: "none";
22344
- correct_input: "correct_input";
22345
- sign_in: "sign_in";
22346
- refresh: "refresh";
22347
- retry_read: "retry_read";
22348
- retry_same_request: "retry_same_request";
22349
- verify_outcome: "verify_outcome";
22350
- }>;
22351
- }, z.core.$strip>,
22352
- z.ZodObject<{
22353
- action: z.ZodLiteral<"read_operation">;
22354
- operation: z.ZodDiscriminatedUnion<[
22355
- z.ZodObject<{
22356
- kind: z.ZodLiteral<"command">;
22357
- serialNumber: z.ZodString;
22358
- idempotencyKey: z.ZodGUID;
22359
- }, z.core.$strip>,
22360
- z.ZodObject<{
22361
- kind: z.ZodLiteral<"firmware">;
22362
- serialNumber: z.ZodString;
22363
- updateId: z.ZodGUID;
22364
- }, z.core.$strip>,
22365
- z.ZodObject<{
22366
- kind: z.ZodLiteral<"bluetooth_firmware">;
22367
- deviceId: z.ZodString;
22368
- updateId: z.ZodGUID;
22369
- }, z.core.$strip>,
22370
- z.ZodObject<{
22371
- kind: z.ZodEnum<{
22372
- invitation: "invitation";
22373
- photo_upload: "photo_upload";
22374
- legacy_firmware: "legacy_firmware";
22375
- }>;
22376
- deviceId: z.ZodString;
22377
- requestId: z.ZodGUID;
22378
- }, z.core.$strip>,
22379
- z.ZodObject<{
22380
- kind: z.ZodLiteral<"support">;
22381
- requestId: z.ZodGUID;
22382
- }, z.core.$strip>
22383
- ], "kind">;
22384
- }, z.core.$strip>
22385
- ], "action">;
22386
- export type ErrorRecovery = z.infer<typeof recoverySchema>;
22387
- export declare const errorRecovery: z.ZodType<ErrorRecovery>;
22388
- declare const errorDataSchema: z.ZodObject<{
22389
- traceId: z.ZodString;
22390
- recovery: z.ZodType<{
22391
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
22392
- } | {
22393
- action: "read_operation";
22394
- operation: {
22395
- kind: "command";
22396
- serialNumber: string;
22397
- idempotencyKey: string;
22398
- } | {
22399
- kind: "firmware";
22400
- serialNumber: string;
22401
- updateId: string;
22402
- } | {
22403
- kind: "bluetooth_firmware";
22404
- deviceId: string;
22405
- updateId: string;
22406
- } | {
22407
- kind: "invitation" | "photo_upload" | "legacy_firmware";
22408
- deviceId: string;
22409
- requestId: string;
22410
- } | {
22411
- kind: "support";
22412
- requestId: string;
22413
- };
22414
- }, unknown, z.core.$ZodTypeInternals<{
22415
- action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
22416
- } | {
22417
- action: "read_operation";
22418
- operation: {
22419
- kind: "command";
22420
- serialNumber: string;
22421
- idempotencyKey: string;
22422
- } | {
22423
- kind: "firmware";
22424
- serialNumber: string;
22425
- updateId: string;
22426
- } | {
22427
- kind: "bluetooth_firmware";
22428
- deviceId: string;
22429
- updateId: string;
22430
- } | {
22431
- kind: "invitation" | "photo_upload" | "legacy_firmware";
22432
- deviceId: string;
22433
- requestId: string;
22434
- } | {
22435
- kind: "support";
22436
- requestId: string;
22437
- };
22438
- }, unknown>>;
22439
- reason: z.ZodOptional<z.ZodEnum<{
22440
- revision_changed: "revision_changed";
22441
- selection_changed: "selection_changed";
22442
- subscription_capacity_exhausted: "subscription_capacity_exhausted";
22443
- subscription_unavailable: "subscription_unavailable";
22444
- tracker_restricted: "tracker_restricted";
22445
- idempotency_conflict: "idempotency_conflict";
22446
- already_claimed: "already_claimed";
22447
- membership_limit: "membership_limit";
22448
- identity_changed: "identity_changed";
22449
- }>>;
22450
- currentRevision: z.ZodOptional<z.ZodString>;
22451
- retryAfterSeconds: z.ZodOptional<z.ZodInt>;
22452
- }, z.core.$strip>;
22453
- export type ApiErrorData = z.infer<typeof errorDataSchema>;
22454
- export declare const errorData: z.ZodType<ApiErrorData>;
22455
- export type OperationReference = z.infer<typeof operationReference>;
22456
- export type ApiErrorDetails = Omit<z.infer<typeof errorData>, "traceId" | "recovery"> & {
22457
- recovery?: ErrorRecovery;
22458
- };
22459
- export declare const readIssue: z.ZodObject<{
22460
- path: z.ZodString;
22461
- code: z.ZodLiteral<"invalid_stored_value">;
22462
- }, z.core.$strip>;
22463
- export type ReadIssue = z.infer<typeof readIssue>;
22464
- export declare const trackerBike: z.ZodObject<{
22465
- revision: z.ZodString;
22466
- name: z.ZodNullable<z.ZodString>;
22467
- brand: z.ZodNullable<z.ZodString>;
22468
- type: z.ZodNullable<z.ZodString>;
22469
- model: z.ZodNullable<z.ZodString>;
22470
- frameNumber: z.ZodNullable<z.ZodString>;
22471
- url: z.ZodNullable<z.ZodString>;
22472
- marketPrice: z.ZodNullable<z.ZodString>;
22473
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22474
- }, z.core.$strip>;
22475
- export declare const trackerBattery: z.ZodObject<{
22476
- level: z.ZodNullable<z.ZodNumber>;
22477
- isCharging: z.ZodNullable<z.ZodBoolean>;
22478
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22479
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22480
- observation: z.ZodNullable<z.ZodObject<{
22481
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22482
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22483
- }, z.core.$strip>>;
22484
- source: z.ZodNullable<z.ZodString>;
22485
- }, z.core.$strip>;
22486
- export declare const trackerLocation: z.ZodObject<{
22487
- latitude: z.ZodNumber;
22488
- longitude: z.ZodNumber;
22489
- accuracy: z.ZodNullable<z.ZodNumber>;
22490
- source: z.ZodNullable<z.ZodString>;
22491
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22492
- }, z.core.$strip>;
22493
- export declare const trackerSubscription: z.ZodObject<{
22494
- id: z.ZodString;
22495
- activity: z.ZodEnum<{
22496
- unknown: "unknown";
22497
- active: "active";
22498
- inactive: "inactive";
22499
- }>;
22500
- isDemo: z.ZodBoolean;
22501
- status: z.ZodNullable<z.ZodString>;
22502
- country: z.ZodNullable<z.ZodString>;
22503
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22504
- }, z.core.$strip>;
22505
- export declare const trackerFirmware: z.ZodObject<{
22506
- lte: z.ZodNullable<z.ZodString>;
22507
- bluetooth: z.ZodNullable<z.ZodString>;
22508
- battery: z.ZodNullable<z.ZodString>;
22509
- modem: z.ZodNullable<z.ZodString>;
22510
- mtk: z.ZodNullable<z.ZodString>;
22511
- ti: z.ZodNullable<z.ZodString>;
22512
- buildNumber: z.ZodNullable<z.ZodInt>;
22513
- }, z.core.$strip>;
22514
- export declare const trackerMember: z.ZodObject<{
22515
- active: z.ZodNullable<z.ZodBoolean>;
22516
- displayName: z.ZodNullable<z.ZodString>;
22517
- listOrder: z.ZodNullable<z.ZodInt>;
22518
- joinedAt: z.ZodNullable<z.ZodISODateTime>;
22519
- }, z.core.$strip>;
22520
- export declare const trackerSummaryFields: {
22521
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
22522
- generation: z.ZodNullable<z.ZodInt>;
22523
- bike: z.ZodObject<{
22524
- revision: z.ZodString;
22525
- name: z.ZodNullable<z.ZodString>;
22526
- brand: z.ZodNullable<z.ZodString>;
22527
- type: z.ZodNullable<z.ZodString>;
22528
- model: z.ZodNullable<z.ZodString>;
22529
- frameNumber: z.ZodNullable<z.ZodString>;
22530
- url: z.ZodNullable<z.ZodString>;
22531
- marketPrice: z.ZodNullable<z.ZodString>;
22532
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22533
- }, z.core.$strip>;
22534
- battery: z.ZodDiscriminatedUnion<[
22535
- z.ZodObject<{
22536
- level: z.ZodNullable<z.ZodNumber>;
22537
- isCharging: z.ZodNullable<z.ZodBoolean>;
22538
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22539
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22540
- observation: z.ZodNullable<z.ZodObject<{
22541
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22542
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22543
- }, z.core.$strip>>;
22544
- source: z.ZodNullable<z.ZodString>;
22545
- state: z.ZodLiteral<"available">;
22546
- }, z.core.$strip>,
22547
- z.ZodObject<{
22548
- state: z.ZodLiteral<"unavailable">;
22549
- reason: z.ZodEnum<{
22550
- invalid: "invalid";
22551
- not_observed: "not_observed";
22552
- not_assigned: "not_assigned";
22553
- }>;
22554
- }, z.core.$strip>
22555
- ], "state">;
22556
- location: z.ZodDiscriminatedUnion<[
22557
- z.ZodObject<{
22558
- latitude: z.ZodNumber;
22559
- longitude: z.ZodNumber;
22560
- accuracy: z.ZodNullable<z.ZodNumber>;
22561
- source: z.ZodNullable<z.ZodString>;
22562
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22563
- state: z.ZodLiteral<"available">;
22564
- }, z.core.$strip>,
22565
- z.ZodObject<{
22566
- state: z.ZodLiteral<"unavailable">;
22567
- reason: z.ZodEnum<{
22568
- invalid: "invalid";
22569
- not_observed: "not_observed";
22570
- not_assigned: "not_assigned";
22571
- }>;
22572
- }, z.core.$strip>
22573
- ], "state">;
22574
- subscription: z.ZodDiscriminatedUnion<[
22575
- z.ZodObject<{
22576
- id: z.ZodString;
22577
- activity: z.ZodEnum<{
22578
- unknown: "unknown";
22579
- active: "active";
22580
- inactive: "inactive";
22581
- }>;
22582
- isDemo: z.ZodBoolean;
22583
- status: z.ZodNullable<z.ZodString>;
22584
- country: z.ZodNullable<z.ZodString>;
22585
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22586
- state: z.ZodLiteral<"available">;
22587
- }, z.core.$strip>,
22588
- z.ZodObject<{
22589
- state: z.ZodLiteral<"unavailable">;
22590
- reason: z.ZodEnum<{
22591
- invalid: "invalid";
22592
- not_observed: "not_observed";
22593
- not_assigned: "not_assigned";
22594
- }>;
22595
- }, z.core.$strip>
22596
- ], "state">;
22597
- readIssues: z.ZodArray<z.ZodObject<{
22598
- path: z.ZodString;
22599
- code: z.ZodLiteral<"invalid_stored_value">;
22600
- }, z.core.$strip>>;
22601
- id: z.ZodString;
22602
- revision: z.ZodString;
22603
- createdAt: z.ZodISODateTime;
22604
- updatedAt: z.ZodISODateTime;
22605
- };
22606
- export declare const trackerFields: {
22607
- firmware: z.ZodNullable<z.ZodObject<{
22608
- lte: z.ZodNullable<z.ZodString>;
22609
- bluetooth: z.ZodNullable<z.ZodString>;
22610
- battery: z.ZodNullable<z.ZodString>;
22611
- modem: z.ZodNullable<z.ZodString>;
22612
- mtk: z.ZodNullable<z.ZodString>;
22613
- ti: z.ZodNullable<z.ZodString>;
22614
- buildNumber: z.ZodNullable<z.ZodInt>;
22615
- }, z.core.$strip>>;
22616
- members: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22617
- active: z.ZodNullable<z.ZodBoolean>;
22618
- displayName: z.ZodNullable<z.ZodString>;
22619
- listOrder: z.ZodNullable<z.ZodInt>;
22620
- joinedAt: z.ZodNullable<z.ZodISODateTime>;
22621
- }, z.core.$strip>>>;
22622
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
22623
- generation: z.ZodNullable<z.ZodInt>;
22624
- bike: z.ZodObject<{
22625
- revision: z.ZodString;
22626
- name: z.ZodNullable<z.ZodString>;
22627
- brand: z.ZodNullable<z.ZodString>;
22628
- type: z.ZodNullable<z.ZodString>;
22629
- model: z.ZodNullable<z.ZodString>;
22630
- frameNumber: z.ZodNullable<z.ZodString>;
22631
- url: z.ZodNullable<z.ZodString>;
22632
- marketPrice: z.ZodNullable<z.ZodString>;
22633
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22634
- }, z.core.$strip>;
22635
- battery: z.ZodDiscriminatedUnion<[
22636
- z.ZodObject<{
22637
- level: z.ZodNullable<z.ZodNumber>;
22638
- isCharging: z.ZodNullable<z.ZodBoolean>;
22639
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22640
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22641
- observation: z.ZodNullable<z.ZodObject<{
22642
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22643
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22644
- }, z.core.$strip>>;
22645
- source: z.ZodNullable<z.ZodString>;
22646
- state: z.ZodLiteral<"available">;
22647
- }, z.core.$strip>,
22648
- z.ZodObject<{
22649
- state: z.ZodLiteral<"unavailable">;
22650
- reason: z.ZodEnum<{
22651
- invalid: "invalid";
22652
- not_observed: "not_observed";
22653
- not_assigned: "not_assigned";
22654
- }>;
22655
- }, z.core.$strip>
22656
- ], "state">;
22657
- location: z.ZodDiscriminatedUnion<[
22658
- z.ZodObject<{
22659
- latitude: z.ZodNumber;
22660
- longitude: z.ZodNumber;
22661
- accuracy: z.ZodNullable<z.ZodNumber>;
22662
- source: z.ZodNullable<z.ZodString>;
22663
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22664
- state: z.ZodLiteral<"available">;
22665
- }, z.core.$strip>,
22666
- z.ZodObject<{
22667
- state: z.ZodLiteral<"unavailable">;
22668
- reason: z.ZodEnum<{
22669
- invalid: "invalid";
22670
- not_observed: "not_observed";
22671
- not_assigned: "not_assigned";
22672
- }>;
22673
- }, z.core.$strip>
22674
- ], "state">;
22675
- subscription: z.ZodDiscriminatedUnion<[
22676
- z.ZodObject<{
22677
- id: z.ZodString;
22678
- activity: z.ZodEnum<{
22679
- unknown: "unknown";
22680
- active: "active";
22681
- inactive: "inactive";
22682
- }>;
22683
- isDemo: z.ZodBoolean;
22684
- status: z.ZodNullable<z.ZodString>;
22685
- country: z.ZodNullable<z.ZodString>;
22686
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22687
- state: z.ZodLiteral<"available">;
22688
- }, z.core.$strip>,
22689
- z.ZodObject<{
22690
- state: z.ZodLiteral<"unavailable">;
22691
- reason: z.ZodEnum<{
22692
- invalid: "invalid";
22693
- not_observed: "not_observed";
22694
- not_assigned: "not_assigned";
22695
- }>;
22696
- }, z.core.$strip>
22697
- ], "state">;
22698
- readIssues: z.ZodArray<z.ZodObject<{
22699
- path: z.ZodString;
22700
- code: z.ZodLiteral<"invalid_stored_value">;
22701
- }, z.core.$strip>>;
22702
- id: z.ZodString;
22703
- revision: z.ZodString;
22704
- createdAt: z.ZodISODateTime;
22705
- updatedAt: z.ZodISODateTime;
22103
+ };
22104
+ }>, Record<never, never>>;
22706
22105
  };
22707
- export declare const trackerSummary: z.ZodObject<{
22708
- identity: z.ZodNullable<z.ZodObject<{
22709
- serialNumber: z.ZodNullable<z.ZodString>;
22710
- }, z.core.$strip>>;
22711
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
22712
- generation: z.ZodNullable<z.ZodInt>;
22713
- bike: z.ZodObject<{
22714
- revision: z.ZodString;
22715
- name: z.ZodNullable<z.ZodString>;
22716
- brand: z.ZodNullable<z.ZodString>;
22717
- type: z.ZodNullable<z.ZodString>;
22718
- model: z.ZodNullable<z.ZodString>;
22719
- frameNumber: z.ZodNullable<z.ZodString>;
22720
- url: z.ZodNullable<z.ZodString>;
22721
- marketPrice: z.ZodNullable<z.ZodString>;
22722
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22723
- }, z.core.$strip>;
22724
- battery: z.ZodDiscriminatedUnion<[
22725
- z.ZodObject<{
22726
- level: z.ZodNullable<z.ZodNumber>;
22727
- isCharging: z.ZodNullable<z.ZodBoolean>;
22728
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22729
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22730
- observation: z.ZodNullable<z.ZodObject<{
22731
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22732
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22733
- }, z.core.$strip>>;
22734
- source: z.ZodNullable<z.ZodString>;
22735
- state: z.ZodLiteral<"available">;
22736
- }, z.core.$strip>,
22737
- z.ZodObject<{
22738
- state: z.ZodLiteral<"unavailable">;
22739
- reason: z.ZodEnum<{
22740
- invalid: "invalid";
22741
- not_observed: "not_observed";
22742
- not_assigned: "not_assigned";
22743
- }>;
22744
- }, z.core.$strip>
22745
- ], "state">;
22746
- location: z.ZodDiscriminatedUnion<[
22747
- z.ZodObject<{
22748
- latitude: z.ZodNumber;
22749
- longitude: z.ZodNumber;
22750
- accuracy: z.ZodNullable<z.ZodNumber>;
22751
- source: z.ZodNullable<z.ZodString>;
22752
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22753
- state: z.ZodLiteral<"available">;
22754
- }, z.core.$strip>,
22755
- z.ZodObject<{
22756
- state: z.ZodLiteral<"unavailable">;
22757
- reason: z.ZodEnum<{
22758
- invalid: "invalid";
22759
- not_observed: "not_observed";
22760
- not_assigned: "not_assigned";
22761
- }>;
22762
- }, z.core.$strip>
22763
- ], "state">;
22764
- subscription: z.ZodDiscriminatedUnion<[
22765
- z.ZodObject<{
22766
- id: z.ZodString;
22767
- activity: z.ZodEnum<{
22768
- unknown: "unknown";
22769
- active: "active";
22770
- inactive: "inactive";
22771
- }>;
22772
- isDemo: z.ZodBoolean;
22773
- status: z.ZodNullable<z.ZodString>;
22774
- country: z.ZodNullable<z.ZodString>;
22775
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22776
- state: z.ZodLiteral<"available">;
22777
- }, z.core.$strip>,
22778
- z.ZodObject<{
22779
- state: z.ZodLiteral<"unavailable">;
22780
- reason: z.ZodEnum<{
22781
- invalid: "invalid";
22782
- not_observed: "not_observed";
22783
- not_assigned: "not_assigned";
22784
- }>;
22785
- }, z.core.$strip>
22786
- ], "state">;
22787
- readIssues: z.ZodArray<z.ZodObject<{
22788
- path: z.ZodString;
22789
- code: z.ZodLiteral<"invalid_stored_value">;
22790
- }, z.core.$strip>>;
22791
- id: z.ZodString;
22792
- revision: z.ZodString;
22793
- createdAt: z.ZodISODateTime;
22794
- updatedAt: z.ZodISODateTime;
22795
- }, z.core.$strip>;
22796
- export declare const trackerPage: z.ZodObject<{
22797
- items: z.ZodArray<z.ZodObject<{
22798
- identity: z.ZodNullable<z.ZodObject<{
22799
- serialNumber: z.ZodNullable<z.ZodString>;
22800
- }, z.core.$strip>>;
22801
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
22802
- generation: z.ZodNullable<z.ZodInt>;
22803
- bike: z.ZodObject<{
22804
- revision: z.ZodString;
22805
- name: z.ZodNullable<z.ZodString>;
22806
- brand: z.ZodNullable<z.ZodString>;
22807
- type: z.ZodNullable<z.ZodString>;
22808
- model: z.ZodNullable<z.ZodString>;
22809
- frameNumber: z.ZodNullable<z.ZodString>;
22810
- url: z.ZodNullable<z.ZodString>;
22811
- marketPrice: z.ZodNullable<z.ZodString>;
22812
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22813
- }, z.core.$strip>;
22814
- battery: z.ZodDiscriminatedUnion<[
22815
- z.ZodObject<{
22816
- level: z.ZodNullable<z.ZodNumber>;
22817
- isCharging: z.ZodNullable<z.ZodBoolean>;
22818
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22819
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22820
- observation: z.ZodNullable<z.ZodObject<{
22821
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22822
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22823
- }, z.core.$strip>>;
22824
- source: z.ZodNullable<z.ZodString>;
22825
- state: z.ZodLiteral<"available">;
22826
- }, z.core.$strip>,
22827
- z.ZodObject<{
22828
- state: z.ZodLiteral<"unavailable">;
22829
- reason: z.ZodEnum<{
22830
- invalid: "invalid";
22831
- not_observed: "not_observed";
22832
- not_assigned: "not_assigned";
22833
- }>;
22834
- }, z.core.$strip>
22835
- ], "state">;
22836
- location: z.ZodDiscriminatedUnion<[
22837
- z.ZodObject<{
22838
- latitude: z.ZodNumber;
22839
- longitude: z.ZodNumber;
22840
- accuracy: z.ZodNullable<z.ZodNumber>;
22841
- source: z.ZodNullable<z.ZodString>;
22842
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22843
- state: z.ZodLiteral<"available">;
22844
- }, z.core.$strip>,
22845
- z.ZodObject<{
22846
- state: z.ZodLiteral<"unavailable">;
22847
- reason: z.ZodEnum<{
22848
- invalid: "invalid";
22849
- not_observed: "not_observed";
22850
- not_assigned: "not_assigned";
22851
- }>;
22852
- }, z.core.$strip>
22853
- ], "state">;
22854
- subscription: z.ZodDiscriminatedUnion<[
22855
- z.ZodObject<{
22856
- id: z.ZodString;
22857
- activity: z.ZodEnum<{
22858
- unknown: "unknown";
22859
- active: "active";
22860
- inactive: "inactive";
22861
- }>;
22862
- isDemo: z.ZodBoolean;
22863
- status: z.ZodNullable<z.ZodString>;
22864
- country: z.ZodNullable<z.ZodString>;
22865
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22866
- state: z.ZodLiteral<"available">;
22867
- }, z.core.$strip>,
22868
- z.ZodObject<{
22869
- state: z.ZodLiteral<"unavailable">;
22870
- reason: z.ZodEnum<{
22871
- invalid: "invalid";
22872
- not_observed: "not_observed";
22873
- not_assigned: "not_assigned";
22874
- }>;
22875
- }, z.core.$strip>
22876
- ], "state">;
22877
- readIssues: z.ZodArray<z.ZodObject<{
22878
- path: z.ZodString;
22879
- code: z.ZodLiteral<"invalid_stored_value">;
22880
- }, z.core.$strip>>;
22881
- id: z.ZodString;
22882
- revision: z.ZodString;
22883
- createdAt: z.ZodISODateTime;
22884
- updatedAt: z.ZodISODateTime;
22885
- }, z.core.$strip>>;
22886
- nextAfter: z.ZodNullable<z.ZodString>;
22887
- }, z.core.$strip>;
22888
- export declare const tracker: z.ZodObject<{
22889
- identity: z.ZodNullable<z.ZodObject<{
22890
- serialNumber: z.ZodNullable<z.ZodString>;
22891
- }, z.core.$strip>>;
22892
- preferences: z.ZodObject<{
22893
- movementAlerts: z.ZodBoolean;
22894
- }, z.core.$strip>;
22895
- capabilities: z.ZodObject<{
22896
- firmwareUpdates: z.ZodBoolean;
22897
- factoryResetReports: z.ZodBoolean;
22898
- }, z.core.$strip>;
22899
- firmware: z.ZodNullable<z.ZodObject<{
22900
- lte: z.ZodNullable<z.ZodString>;
22901
- bluetooth: z.ZodNullable<z.ZodString>;
22902
- battery: z.ZodNullable<z.ZodString>;
22903
- modem: z.ZodNullable<z.ZodString>;
22904
- mtk: z.ZodNullable<z.ZodString>;
22905
- ti: z.ZodNullable<z.ZodString>;
22906
- buildNumber: z.ZodNullable<z.ZodInt>;
22907
- }, z.core.$strip>>;
22908
- members: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22909
- active: z.ZodNullable<z.ZodBoolean>;
22910
- displayName: z.ZodNullable<z.ZodString>;
22911
- listOrder: z.ZodNullable<z.ZodInt>;
22912
- joinedAt: z.ZodNullable<z.ZodISODateTime>;
22913
- }, z.core.$strip>>>;
22914
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
22915
- generation: z.ZodNullable<z.ZodInt>;
22916
- bike: z.ZodObject<{
22917
- revision: z.ZodString;
22918
- name: z.ZodNullable<z.ZodString>;
22919
- brand: z.ZodNullable<z.ZodString>;
22920
- type: z.ZodNullable<z.ZodString>;
22921
- model: z.ZodNullable<z.ZodString>;
22922
- frameNumber: z.ZodNullable<z.ZodString>;
22923
- url: z.ZodNullable<z.ZodString>;
22924
- marketPrice: z.ZodNullable<z.ZodString>;
22925
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
22926
- }, z.core.$strip>;
22927
- battery: z.ZodDiscriminatedUnion<[
22928
- z.ZodObject<{
22929
- level: z.ZodNullable<z.ZodNumber>;
22930
- isCharging: z.ZodNullable<z.ZodBoolean>;
22931
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
22932
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
22933
- observation: z.ZodNullable<z.ZodObject<{
22934
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22935
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
22936
- }, z.core.$strip>>;
22937
- source: z.ZodNullable<z.ZodString>;
22938
- state: z.ZodLiteral<"available">;
22939
- }, z.core.$strip>,
22940
- z.ZodObject<{
22941
- state: z.ZodLiteral<"unavailable">;
22942
- reason: z.ZodEnum<{
22943
- invalid: "invalid";
22944
- not_observed: "not_observed";
22945
- not_assigned: "not_assigned";
22946
- }>;
22947
- }, z.core.$strip>
22948
- ], "state">;
22949
- location: z.ZodDiscriminatedUnion<[
22950
- z.ZodObject<{
22951
- latitude: z.ZodNumber;
22952
- longitude: z.ZodNumber;
22953
- accuracy: z.ZodNullable<z.ZodNumber>;
22954
- source: z.ZodNullable<z.ZodString>;
22955
- observedAt: z.ZodNullable<z.ZodISODateTime>;
22956
- state: z.ZodLiteral<"available">;
22957
- }, z.core.$strip>,
22958
- z.ZodObject<{
22959
- state: z.ZodLiteral<"unavailable">;
22960
- reason: z.ZodEnum<{
22961
- invalid: "invalid";
22962
- not_observed: "not_observed";
22963
- not_assigned: "not_assigned";
22964
- }>;
22965
- }, z.core.$strip>
22966
- ], "state">;
22967
- subscription: z.ZodDiscriminatedUnion<[
22968
- z.ZodObject<{
22969
- id: z.ZodString;
22970
- activity: z.ZodEnum<{
22971
- unknown: "unknown";
22972
- active: "active";
22973
- inactive: "inactive";
22974
- }>;
22975
- isDemo: z.ZodBoolean;
22976
- status: z.ZodNullable<z.ZodString>;
22977
- country: z.ZodNullable<z.ZodString>;
22978
- endsAt: z.ZodNullable<z.ZodISODateTime>;
22979
- state: z.ZodLiteral<"available">;
22980
- }, z.core.$strip>,
22981
- z.ZodObject<{
22982
- state: z.ZodLiteral<"unavailable">;
22983
- reason: z.ZodEnum<{
22984
- invalid: "invalid";
22985
- not_observed: "not_observed";
22986
- not_assigned: "not_assigned";
22987
- }>;
22988
- }, z.core.$strip>
22989
- ], "state">;
22990
- readIssues: z.ZodArray<z.ZodObject<{
22991
- path: z.ZodString;
22992
- code: z.ZodLiteral<"invalid_stored_value">;
22993
- }, z.core.$strip>>;
22994
- id: z.ZodString;
22995
- revision: z.ZodString;
22996
- createdAt: z.ZodISODateTime;
22997
- updatedAt: z.ZodISODateTime;
22998
- }, z.core.$strip>;
22999
- export declare const customerTrackerDetails: z.ZodObject<{
23000
- id: z.ZodString;
23001
- firmware: z.ZodNullable<z.ZodObject<{
23002
- lte: z.ZodNullable<z.ZodString>;
23003
- bluetooth: z.ZodNullable<z.ZodString>;
23004
- battery: z.ZodNullable<z.ZodString>;
23005
- modem: z.ZodNullable<z.ZodString>;
23006
- mtk: z.ZodNullable<z.ZodString>;
23007
- ti: z.ZodNullable<z.ZodString>;
23008
- buildNumber: z.ZodNullable<z.ZodInt>;
23009
- }, z.core.$strip>>;
23010
- subscription: z.ZodDiscriminatedUnion<[
23011
- z.ZodObject<{
23012
- id: z.ZodString;
23013
- activity: z.ZodEnum<{
23014
- unknown: "unknown";
23015
- active: "active";
23016
- inactive: "inactive";
23017
- }>;
23018
- isDemo: z.ZodBoolean;
23019
- status: z.ZodNullable<z.ZodString>;
23020
- country: z.ZodNullable<z.ZodString>;
23021
- endsAt: z.ZodNullable<z.ZodISODateTime>;
23022
- state: z.ZodLiteral<"available">;
23023
- }, z.core.$strip>,
23024
- z.ZodObject<{
23025
- state: z.ZodLiteral<"unavailable">;
23026
- reason: z.ZodEnum<{
23027
- invalid: "invalid";
23028
- not_observed: "not_observed";
23029
- not_assigned: "not_assigned";
23030
- }>;
23031
- }, z.core.$strip>
23032
- ], "state">;
23033
- createdAt: z.ZodISODateTime;
23034
- revision: z.ZodString;
23035
- battery: z.ZodDiscriminatedUnion<[
23036
- z.ZodObject<{
23037
- level: z.ZodNullable<z.ZodNumber>;
23038
- isCharging: z.ZodNullable<z.ZodBoolean>;
23039
- levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
23040
- chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
23041
- observation: z.ZodNullable<z.ZodObject<{
23042
- observedAt: z.ZodNullable<z.ZodISODateTime>;
23043
- receivedAt: z.ZodNullable<z.ZodISODateTime>;
23044
- }, z.core.$strip>>;
23045
- source: z.ZodNullable<z.ZodString>;
23046
- state: z.ZodLiteral<"available">;
23047
- }, z.core.$strip>,
23048
- z.ZodObject<{
23049
- state: z.ZodLiteral<"unavailable">;
23050
- reason: z.ZodEnum<{
23051
- invalid: "invalid";
23052
- not_observed: "not_observed";
23053
- not_assigned: "not_assigned";
23054
- }>;
23055
- }, z.core.$strip>
23056
- ], "state">;
23057
- identity: z.ZodNullable<z.ZodObject<{
23058
- serialNumber: z.ZodNullable<z.ZodString>;
23059
- }, z.core.$strip>>;
23060
- lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
23061
- generation: z.ZodNullable<z.ZodInt>;
23062
- bike: z.ZodObject<{
23063
- revision: z.ZodString;
23064
- name: z.ZodNullable<z.ZodString>;
23065
- brand: z.ZodNullable<z.ZodString>;
23066
- type: z.ZodNullable<z.ZodString>;
23067
- model: z.ZodNullable<z.ZodString>;
23068
- frameNumber: z.ZodNullable<z.ZodString>;
23069
- url: z.ZodNullable<z.ZodString>;
23070
- marketPrice: z.ZodNullable<z.ZodString>;
23071
- marketPriceCurrency: z.ZodNullable<z.ZodString>;
23072
- }, z.core.$strip>;
23073
- location: z.ZodDiscriminatedUnion<[
23074
- z.ZodObject<{
23075
- latitude: z.ZodNumber;
23076
- longitude: z.ZodNumber;
23077
- accuracy: z.ZodNullable<z.ZodNumber>;
23078
- source: z.ZodNullable<z.ZodString>;
23079
- observedAt: z.ZodNullable<z.ZodISODateTime>;
23080
- state: z.ZodLiteral<"available">;
23081
- }, z.core.$strip>,
23082
- z.ZodObject<{
23083
- state: z.ZodLiteral<"unavailable">;
23084
- reason: z.ZodEnum<{
23085
- invalid: "invalid";
23086
- not_observed: "not_observed";
23087
- not_assigned: "not_assigned";
23088
- }>;
23089
- }, z.core.$strip>
23090
- ], "state">;
23091
- readIssues: z.ZodArray<z.ZodObject<{
23092
- path: z.ZodString;
23093
- code: z.ZodLiteral<"invalid_stored_value">;
23094
- }, z.core.$strip>>;
23095
- updatedAt: z.ZodISODateTime;
23096
- preferences: z.ZodObject<{
23097
- movementAlerts: z.ZodBoolean;
23098
- }, z.core.$strip>;
23099
- capabilities: z.ZodObject<{
23100
- firmwareUpdates: z.ZodBoolean;
23101
- factoryResetReports: z.ZodBoolean;
23102
- }, z.core.$strip>;
23103
- membership: z.ZodObject<{
23104
- accountId: z.ZodString;
23105
- activeMemberCount: z.ZodInt;
23106
- }, z.core.$strip>;
23107
- }, z.core.$strip>;
23108
- export type CustomerTrackerDetails = z.infer<typeof customerTrackerDetails>;
23109
- export type Tracker = z.infer<typeof tracker>;
23110
- export type TrackerSummary = z.infer<typeof trackerSummary>;
23111
- export type TrackerPage = z.infer<typeof trackerPage>;
23112
- export type TrackerInput = z.infer<typeof trackerInput>;
23113
- export type TrackerPageInput = z.input<typeof pageInput>;
23114
- export type SubscriptionInput = z.infer<typeof subscriptionInput>;
22106
+ export type Photo = z.infer<typeof photo>;
22107
+ export type PhotoPage = z.infer<typeof photoPage>;
22108
+ export type PhotoInput = z.infer<typeof photoInput>;
22109
+ export type PhotoPageInput = z.input<typeof photoPageInput>;
22110
+ export type PhotoDownloadInput = z.input<typeof photoDownloadInput>;
22111
+ export type DownloadReference = z.infer<typeof downloadReference>;
23115
22112
  export declare const bikeChanges: z.ZodObject<{
23116
22113
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23117
22114
  brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25940,6 +24937,67 @@ export type TrackerClaimInput = z.infer<typeof trackerClaimInput>;
25940
24937
  export type TrackerMemberInput = z.infer<typeof trackerMemberInput>;
25941
24938
  export type TrackerMemberAddInput = z.infer<typeof trackerMemberAddInput>;
25942
24939
  export type TrackerMovementAlertsInput = z.infer<typeof trackerMovementAlertsInput>;
24940
+ export declare const positionSources: readonly [
24941
+ "gnss",
24942
+ "wifi",
24943
+ "cellular"
24944
+ ];
24945
+ declare const positionSource: z.ZodEnum<{
24946
+ gnss: "gnss";
24947
+ wifi: "wifi";
24948
+ cellular: "cellular";
24949
+ }>;
24950
+ declare const positionHistoryInput: z.ZodObject<{
24951
+ deviceId: z.ZodString;
24952
+ from: z.ZodISODateTime;
24953
+ until: z.ZodISODateTime;
24954
+ sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24955
+ gnss: "gnss";
24956
+ wifi: "wifi";
24957
+ cellular: "cellular";
24958
+ }>>>;
24959
+ limit: z.ZodDefault<z.ZodInt>;
24960
+ after: z.ZodOptional<z.ZodString>;
24961
+ }, z.core.$strict>;
24962
+ declare const positionHistoryItem: z.ZodObject<{
24963
+ id: z.ZodString;
24964
+ source: z.ZodEnum<{
24965
+ gnss: "gnss";
24966
+ wifi: "wifi";
24967
+ cellular: "cellular";
24968
+ }>;
24969
+ measuredAt: z.ZodISODateTime;
24970
+ receivedAt: z.ZodISODateTime;
24971
+ latitude: z.ZodNumber;
24972
+ longitude: z.ZodNumber;
24973
+ accuracy: z.ZodNullable<z.ZodNumber>;
24974
+ altitude: z.ZodNullable<z.ZodNumber>;
24975
+ speed: z.ZodNullable<z.ZodNumber>;
24976
+ heading: z.ZodNullable<z.ZodNumber>;
24977
+ }, z.core.$strip>;
24978
+ declare const positionHistoryPage: z.ZodObject<{
24979
+ items: z.ZodArray<z.ZodObject<{
24980
+ id: z.ZodString;
24981
+ source: z.ZodEnum<{
24982
+ gnss: "gnss";
24983
+ wifi: "wifi";
24984
+ cellular: "cellular";
24985
+ }>;
24986
+ measuredAt: z.ZodISODateTime;
24987
+ receivedAt: z.ZodISODateTime;
24988
+ latitude: z.ZodNumber;
24989
+ longitude: z.ZodNumber;
24990
+ accuracy: z.ZodNullable<z.ZodNumber>;
24991
+ altitude: z.ZodNullable<z.ZodNumber>;
24992
+ speed: z.ZodNullable<z.ZodNumber>;
24993
+ heading: z.ZodNullable<z.ZodNumber>;
24994
+ }, z.core.$strip>>;
24995
+ nextAfter: z.ZodNullable<z.ZodString>;
24996
+ }, z.core.$strip>;
24997
+ export type PositionSource = z.infer<typeof positionSource>;
24998
+ export type PositionHistoryInput = z.input<typeof positionHistoryInput>;
24999
+ export type PositionHistoryItem = z.infer<typeof positionHistoryItem>;
25000
+ export type PositionHistoryPage = z.infer<typeof positionHistoryPage>;
25943
25001
  export declare const trackerLookupInput: z.ZodObject<{
25944
25002
  deviceId: z.ZodString;
25945
25003
  }, z.core.$strict>;
@@ -42866,8 +41924,8 @@ export declare const theftContract: {
42866
41924
  };
42867
41925
  export type TheftSubmission = z.infer<typeof theftSubmission>;
42868
41926
  export declare const positionMethod: z.ZodEnum<{
42869
- cellular: "cellular";
42870
41927
  wifi: "wifi";
41928
+ cellular: "cellular";
42871
41929
  gps: "gps";
42872
41930
  }>;
42873
41931
  export declare const positionRequestInput: z.ZodObject<{
@@ -42878,16 +41936,16 @@ export declare const submitPositionRequestInput: z.ZodObject<{
42878
41936
  deviceId: z.ZodString;
42879
41937
  requestId: z.ZodGUID;
42880
41938
  method: z.ZodEnum<{
42881
- cellular: "cellular";
42882
41939
  wifi: "wifi";
41940
+ cellular: "cellular";
42883
41941
  gps: "gps";
42884
41942
  }>;
42885
41943
  }, z.core.$strict>;
42886
41944
  export declare const positionRequest: z.ZodObject<{
42887
41945
  requestId: z.ZodGUID;
42888
41946
  method: z.ZodEnum<{
42889
- cellular: "cellular";
42890
41947
  wifi: "wifi";
41948
+ cellular: "cellular";
42891
41949
  gps: "gps";
42892
41950
  }>;
42893
41951
  status: z.ZodEnum<{
@@ -42915,8 +41973,8 @@ export declare const positionRequestsContract: {
42915
41973
  deviceId: z.ZodString;
42916
41974
  }, z.core.$strict>, z.ZodObject<{
42917
41975
  methods: z.ZodArray<z.ZodEnum<{
42918
- cellular: "cellular";
42919
41976
  wifi: "wifi";
41977
+ cellular: "cellular";
42920
41978
  gps: "gps";
42921
41979
  }>>;
42922
41980
  pagingIntervalMs: z.ZodNullable<z.ZodInt>;
@@ -43822,15 +42880,15 @@ export declare const positionRequestsContract: {
43822
42880
  deviceId: z.ZodString;
43823
42881
  requestId: z.ZodGUID;
43824
42882
  method: z.ZodEnum<{
43825
- cellular: "cellular";
43826
42883
  wifi: "wifi";
42884
+ cellular: "cellular";
43827
42885
  gps: "gps";
43828
42886
  }>;
43829
42887
  }, z.core.$strict>, z.ZodObject<{
43830
42888
  requestId: z.ZodGUID;
43831
42889
  method: z.ZodEnum<{
43832
- cellular: "cellular";
43833
42890
  wifi: "wifi";
42891
+ cellular: "cellular";
43834
42892
  gps: "gps";
43835
42893
  }>;
43836
42894
  status: z.ZodEnum<{
@@ -44756,8 +43814,8 @@ export declare const positionRequestsContract: {
44756
43814
  }, z.core.$strict>, z.ZodNullable<z.ZodObject<{
44757
43815
  requestId: z.ZodGUID;
44758
43816
  method: z.ZodEnum<{
44759
- cellular: "cellular";
44760
43817
  wifi: "wifi";
43818
+ cellular: "cellular";
44761
43819
  gps: "gps";
44762
43820
  }>;
44763
43821
  status: z.ZodEnum<{
@@ -57389,43 +56447,35 @@ declare const trackerContract: {
57389
56447
  };
57390
56448
  }>, Record<never, never>>;
57391
56449
  };
57392
- history: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
56450
+ positionHistory: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
57393
56451
  deviceId: z.ZodString;
57394
56452
  from: z.ZodISODateTime;
57395
56453
  until: z.ZodISODateTime;
56454
+ sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
56455
+ gnss: "gnss";
56456
+ wifi: "wifi";
56457
+ cellular: "cellular";
56458
+ }>>>;
57396
56459
  limit: z.ZodDefault<z.ZodInt>;
57397
- after: z.ZodOptional<z.ZodObject<{
57398
- scope: z.ZodString;
57399
- id: z.ZodString;
57400
- at: z.ZodISODateTime;
57401
- }, z.core.$strict>>;
56460
+ after: z.ZodOptional<z.ZodString>;
57402
56461
  }, z.core.$strict>, z.ZodObject<{
57403
56462
  items: z.ZodArray<z.ZodObject<{
57404
- type: z.ZodNullable<z.ZodString>;
57405
- observedAt: z.ZodNullable<z.ZodISODateTime>;
57406
- latitude: z.ZodNullable<z.ZodNumber>;
57407
- longitude: z.ZodNullable<z.ZodNumber>;
56463
+ id: z.ZodString;
56464
+ source: z.ZodEnum<{
56465
+ gnss: "gnss";
56466
+ wifi: "wifi";
56467
+ cellular: "cellular";
56468
+ }>;
56469
+ measuredAt: z.ZodISODateTime;
56470
+ receivedAt: z.ZodISODateTime;
56471
+ latitude: z.ZodNumber;
56472
+ longitude: z.ZodNumber;
57408
56473
  accuracy: z.ZodNullable<z.ZodNumber>;
57409
- speed: z.ZodNullable<z.ZodNumber>;
57410
56474
  altitude: z.ZodNullable<z.ZodNumber>;
56475
+ speed: z.ZodNullable<z.ZodNumber>;
57411
56476
  heading: z.ZodNullable<z.ZodNumber>;
57412
- source: z.ZodNullable<z.ZodString>;
57413
- battery: z.ZodNullable<z.ZodObject<{
57414
- level: z.ZodNullable<z.ZodInt>;
57415
- isCharging: z.ZodNullable<z.ZodBoolean>;
57416
- source: z.ZodNullable<z.ZodString>;
57417
- observedAt: z.ZodNullable<z.ZodISODateTime>;
57418
- }, z.core.$strip>>;
57419
- id: z.ZodString;
57420
- revision: z.ZodString;
57421
- createdAt: z.ZodISODateTime;
57422
- updatedAt: z.ZodISODateTime;
57423
- }, z.core.$strip>>;
57424
- nextAfter: z.ZodNullable<z.ZodObject<{
57425
- scope: z.ZodString;
57426
- id: z.ZodString;
57427
- at: z.ZodISODateTime;
57428
56477
  }, z.core.$strip>>;
56478
+ nextAfter: z.ZodNullable<z.ZodString>;
57429
56479
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
57430
56480
  readonly invalid: {
57431
56481
  readonly status: 400;
@@ -67719,8 +66769,8 @@ declare const trackerContract: {
67719
66769
  deviceId: z.ZodString;
67720
66770
  }, z.core.$strict>, z.ZodObject<{
67721
66771
  methods: z.ZodArray<z.ZodEnum<{
67722
- cellular: "cellular";
67723
66772
  wifi: "wifi";
66773
+ cellular: "cellular";
67724
66774
  gps: "gps";
67725
66775
  }>>;
67726
66776
  pagingIntervalMs: z.ZodNullable<z.ZodInt>;
@@ -68626,15 +67676,15 @@ declare const trackerContract: {
68626
67676
  deviceId: z.ZodString;
68627
67677
  requestId: z.ZodGUID;
68628
67678
  method: z.ZodEnum<{
68629
- cellular: "cellular";
68630
67679
  wifi: "wifi";
67680
+ cellular: "cellular";
68631
67681
  gps: "gps";
68632
67682
  }>;
68633
67683
  }, z.core.$strict>, z.ZodObject<{
68634
67684
  requestId: z.ZodGUID;
68635
67685
  method: z.ZodEnum<{
68636
- cellular: "cellular";
68637
67686
  wifi: "wifi";
67687
+ cellular: "cellular";
68638
67688
  gps: "gps";
68639
67689
  }>;
68640
67690
  status: z.ZodEnum<{
@@ -69560,8 +68610,8 @@ declare const trackerContract: {
69560
68610
  }, z.core.$strict>, z.ZodNullable<z.ZodObject<{
69561
68611
  requestId: z.ZodGUID;
69562
68612
  method: z.ZodEnum<{
69563
- cellular: "cellular";
69564
68613
  wifi: "wifi";
68614
+ cellular: "cellular";
69565
68615
  gps: "gps";
69566
68616
  }>;
69567
68617
  status: z.ZodEnum<{