@bikefinder/sdk 0.27.2 → 0.28.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
@@ -62533,6 +62533,938 @@ declare const trackerContract: {
62533
62533
  };
62534
62534
  }>, Record<never, never>>;
62535
62535
  };
62536
+ watchPage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62537
+ limit: z.ZodDefault<z.ZodInt>;
62538
+ after: z.ZodOptional<z.ZodString>;
62539
+ deviceId: z.ZodString;
62540
+ }, z.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
62541
+ items: {
62542
+ kind: string | null;
62543
+ width: number | null;
62544
+ height: number | null;
62545
+ sizeBytes: number | null;
62546
+ isVertical: boolean | null;
62547
+ contentType: string | null;
62548
+ capturedAt: string | null;
62549
+ id: string;
62550
+ revision: string;
62551
+ createdAt: string;
62552
+ updatedAt: string;
62553
+ }[];
62554
+ nextAfter: string | null;
62555
+ }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
62556
+ items: {
62557
+ kind: string | null;
62558
+ width: number | null;
62559
+ height: number | null;
62560
+ sizeBytes: number | null;
62561
+ isVertical: boolean | null;
62562
+ contentType: string | null;
62563
+ capturedAt: string | null;
62564
+ id: string;
62565
+ revision: string;
62566
+ createdAt: string;
62567
+ updatedAt: string;
62568
+ }[];
62569
+ nextAfter: string | null;
62570
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
62571
+ readonly invalid: {
62572
+ readonly status: 400;
62573
+ readonly data: z.ZodType<{
62574
+ traceId: string;
62575
+ recovery: {
62576
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62577
+ } | {
62578
+ action: "read_operation";
62579
+ operation: {
62580
+ kind: "command";
62581
+ serialNumber: string;
62582
+ idempotencyKey: string;
62583
+ } | {
62584
+ kind: "firmware";
62585
+ serialNumber: string;
62586
+ updateId: string;
62587
+ } | {
62588
+ kind: "bluetooth_firmware";
62589
+ deviceId: string;
62590
+ updateId: string;
62591
+ } | {
62592
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62593
+ deviceId: string;
62594
+ requestId: string;
62595
+ } | {
62596
+ kind: "support";
62597
+ requestId: string;
62598
+ };
62599
+ };
62600
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62601
+ currentRevision?: string | undefined;
62602
+ retryAfterSeconds?: number | undefined;
62603
+ }, unknown, z.core.$ZodTypeInternals<{
62604
+ traceId: string;
62605
+ recovery: {
62606
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62607
+ } | {
62608
+ action: "read_operation";
62609
+ operation: {
62610
+ kind: "command";
62611
+ serialNumber: string;
62612
+ idempotencyKey: string;
62613
+ } | {
62614
+ kind: "firmware";
62615
+ serialNumber: string;
62616
+ updateId: string;
62617
+ } | {
62618
+ kind: "bluetooth_firmware";
62619
+ deviceId: string;
62620
+ updateId: string;
62621
+ } | {
62622
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62623
+ deviceId: string;
62624
+ requestId: string;
62625
+ } | {
62626
+ kind: "support";
62627
+ requestId: string;
62628
+ };
62629
+ };
62630
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62631
+ currentRevision?: string | undefined;
62632
+ retryAfterSeconds?: number | undefined;
62633
+ }, unknown>>;
62634
+ };
62635
+ readonly unauthenticated: {
62636
+ readonly status: 401;
62637
+ readonly data: z.ZodType<{
62638
+ traceId: string;
62639
+ recovery: {
62640
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62641
+ } | {
62642
+ action: "read_operation";
62643
+ operation: {
62644
+ kind: "command";
62645
+ serialNumber: string;
62646
+ idempotencyKey: string;
62647
+ } | {
62648
+ kind: "firmware";
62649
+ serialNumber: string;
62650
+ updateId: string;
62651
+ } | {
62652
+ kind: "bluetooth_firmware";
62653
+ deviceId: string;
62654
+ updateId: string;
62655
+ } | {
62656
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62657
+ deviceId: string;
62658
+ requestId: string;
62659
+ } | {
62660
+ kind: "support";
62661
+ requestId: string;
62662
+ };
62663
+ };
62664
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62665
+ currentRevision?: string | undefined;
62666
+ retryAfterSeconds?: number | undefined;
62667
+ }, unknown, z.core.$ZodTypeInternals<{
62668
+ traceId: string;
62669
+ recovery: {
62670
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62671
+ } | {
62672
+ action: "read_operation";
62673
+ operation: {
62674
+ kind: "command";
62675
+ serialNumber: string;
62676
+ idempotencyKey: string;
62677
+ } | {
62678
+ kind: "firmware";
62679
+ serialNumber: string;
62680
+ updateId: string;
62681
+ } | {
62682
+ kind: "bluetooth_firmware";
62683
+ deviceId: string;
62684
+ updateId: string;
62685
+ } | {
62686
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62687
+ deviceId: string;
62688
+ requestId: string;
62689
+ } | {
62690
+ kind: "support";
62691
+ requestId: string;
62692
+ };
62693
+ };
62694
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62695
+ currentRevision?: string | undefined;
62696
+ retryAfterSeconds?: number | undefined;
62697
+ }, unknown>>;
62698
+ };
62699
+ readonly forbidden: {
62700
+ readonly status: 403;
62701
+ readonly data: z.ZodType<{
62702
+ traceId: string;
62703
+ recovery: {
62704
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62705
+ } | {
62706
+ action: "read_operation";
62707
+ operation: {
62708
+ kind: "command";
62709
+ serialNumber: string;
62710
+ idempotencyKey: string;
62711
+ } | {
62712
+ kind: "firmware";
62713
+ serialNumber: string;
62714
+ updateId: string;
62715
+ } | {
62716
+ kind: "bluetooth_firmware";
62717
+ deviceId: string;
62718
+ updateId: string;
62719
+ } | {
62720
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62721
+ deviceId: string;
62722
+ requestId: string;
62723
+ } | {
62724
+ kind: "support";
62725
+ requestId: string;
62726
+ };
62727
+ };
62728
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62729
+ currentRevision?: string | undefined;
62730
+ retryAfterSeconds?: number | undefined;
62731
+ }, unknown, z.core.$ZodTypeInternals<{
62732
+ traceId: string;
62733
+ recovery: {
62734
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62735
+ } | {
62736
+ action: "read_operation";
62737
+ operation: {
62738
+ kind: "command";
62739
+ serialNumber: string;
62740
+ idempotencyKey: string;
62741
+ } | {
62742
+ kind: "firmware";
62743
+ serialNumber: string;
62744
+ updateId: string;
62745
+ } | {
62746
+ kind: "bluetooth_firmware";
62747
+ deviceId: string;
62748
+ updateId: string;
62749
+ } | {
62750
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62751
+ deviceId: string;
62752
+ requestId: string;
62753
+ } | {
62754
+ kind: "support";
62755
+ requestId: string;
62756
+ };
62757
+ };
62758
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62759
+ currentRevision?: string | undefined;
62760
+ retryAfterSeconds?: number | undefined;
62761
+ }, unknown>>;
62762
+ };
62763
+ readonly not_found: {
62764
+ readonly status: 404;
62765
+ readonly data: z.ZodType<{
62766
+ traceId: string;
62767
+ recovery: {
62768
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62769
+ } | {
62770
+ action: "read_operation";
62771
+ operation: {
62772
+ kind: "command";
62773
+ serialNumber: string;
62774
+ idempotencyKey: string;
62775
+ } | {
62776
+ kind: "firmware";
62777
+ serialNumber: string;
62778
+ updateId: string;
62779
+ } | {
62780
+ kind: "bluetooth_firmware";
62781
+ deviceId: string;
62782
+ updateId: string;
62783
+ } | {
62784
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62785
+ deviceId: string;
62786
+ requestId: string;
62787
+ } | {
62788
+ kind: "support";
62789
+ requestId: string;
62790
+ };
62791
+ };
62792
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62793
+ currentRevision?: string | undefined;
62794
+ retryAfterSeconds?: number | undefined;
62795
+ }, unknown, z.core.$ZodTypeInternals<{
62796
+ traceId: string;
62797
+ recovery: {
62798
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62799
+ } | {
62800
+ action: "read_operation";
62801
+ operation: {
62802
+ kind: "command";
62803
+ serialNumber: string;
62804
+ idempotencyKey: string;
62805
+ } | {
62806
+ kind: "firmware";
62807
+ serialNumber: string;
62808
+ updateId: string;
62809
+ } | {
62810
+ kind: "bluetooth_firmware";
62811
+ deviceId: string;
62812
+ updateId: string;
62813
+ } | {
62814
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62815
+ deviceId: string;
62816
+ requestId: string;
62817
+ } | {
62818
+ kind: "support";
62819
+ requestId: string;
62820
+ };
62821
+ };
62822
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62823
+ currentRevision?: string | undefined;
62824
+ retryAfterSeconds?: number | undefined;
62825
+ }, unknown>>;
62826
+ };
62827
+ readonly conflict: {
62828
+ readonly status: 409;
62829
+ readonly data: z.ZodType<{
62830
+ traceId: string;
62831
+ recovery: {
62832
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62833
+ } | {
62834
+ action: "read_operation";
62835
+ operation: {
62836
+ kind: "command";
62837
+ serialNumber: string;
62838
+ idempotencyKey: string;
62839
+ } | {
62840
+ kind: "firmware";
62841
+ serialNumber: string;
62842
+ updateId: string;
62843
+ } | {
62844
+ kind: "bluetooth_firmware";
62845
+ deviceId: string;
62846
+ updateId: string;
62847
+ } | {
62848
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62849
+ deviceId: string;
62850
+ requestId: string;
62851
+ } | {
62852
+ kind: "support";
62853
+ requestId: string;
62854
+ };
62855
+ };
62856
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62857
+ currentRevision?: string | undefined;
62858
+ retryAfterSeconds?: number | undefined;
62859
+ }, unknown, z.core.$ZodTypeInternals<{
62860
+ traceId: string;
62861
+ recovery: {
62862
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62863
+ } | {
62864
+ action: "read_operation";
62865
+ operation: {
62866
+ kind: "command";
62867
+ serialNumber: string;
62868
+ idempotencyKey: string;
62869
+ } | {
62870
+ kind: "firmware";
62871
+ serialNumber: string;
62872
+ updateId: string;
62873
+ } | {
62874
+ kind: "bluetooth_firmware";
62875
+ deviceId: string;
62876
+ updateId: string;
62877
+ } | {
62878
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62879
+ deviceId: string;
62880
+ requestId: string;
62881
+ } | {
62882
+ kind: "support";
62883
+ requestId: string;
62884
+ };
62885
+ };
62886
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62887
+ currentRevision?: string | undefined;
62888
+ retryAfterSeconds?: number | undefined;
62889
+ }, unknown>>;
62890
+ };
62891
+ readonly rate_limited: {
62892
+ readonly status: 429;
62893
+ readonly data: z.ZodType<{
62894
+ traceId: string;
62895
+ recovery: {
62896
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62897
+ } | {
62898
+ action: "read_operation";
62899
+ operation: {
62900
+ kind: "command";
62901
+ serialNumber: string;
62902
+ idempotencyKey: string;
62903
+ } | {
62904
+ kind: "firmware";
62905
+ serialNumber: string;
62906
+ updateId: string;
62907
+ } | {
62908
+ kind: "bluetooth_firmware";
62909
+ deviceId: string;
62910
+ updateId: string;
62911
+ } | {
62912
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62913
+ deviceId: string;
62914
+ requestId: string;
62915
+ } | {
62916
+ kind: "support";
62917
+ requestId: string;
62918
+ };
62919
+ };
62920
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62921
+ currentRevision?: string | undefined;
62922
+ retryAfterSeconds?: number | undefined;
62923
+ }, unknown, z.core.$ZodTypeInternals<{
62924
+ traceId: string;
62925
+ recovery: {
62926
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62927
+ } | {
62928
+ action: "read_operation";
62929
+ operation: {
62930
+ kind: "command";
62931
+ serialNumber: string;
62932
+ idempotencyKey: string;
62933
+ } | {
62934
+ kind: "firmware";
62935
+ serialNumber: string;
62936
+ updateId: string;
62937
+ } | {
62938
+ kind: "bluetooth_firmware";
62939
+ deviceId: string;
62940
+ updateId: string;
62941
+ } | {
62942
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62943
+ deviceId: string;
62944
+ requestId: string;
62945
+ } | {
62946
+ kind: "support";
62947
+ requestId: string;
62948
+ };
62949
+ };
62950
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62951
+ currentRevision?: string | undefined;
62952
+ retryAfterSeconds?: number | undefined;
62953
+ }, unknown>>;
62954
+ };
62955
+ readonly stored_data_invalid: {
62956
+ readonly status: 503;
62957
+ readonly data: z.ZodType<{
62958
+ traceId: string;
62959
+ recovery: {
62960
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62961
+ } | {
62962
+ action: "read_operation";
62963
+ operation: {
62964
+ kind: "command";
62965
+ serialNumber: string;
62966
+ idempotencyKey: string;
62967
+ } | {
62968
+ kind: "firmware";
62969
+ serialNumber: string;
62970
+ updateId: string;
62971
+ } | {
62972
+ kind: "bluetooth_firmware";
62973
+ deviceId: string;
62974
+ updateId: string;
62975
+ } | {
62976
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62977
+ deviceId: string;
62978
+ requestId: string;
62979
+ } | {
62980
+ kind: "support";
62981
+ requestId: string;
62982
+ };
62983
+ };
62984
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62985
+ currentRevision?: string | undefined;
62986
+ retryAfterSeconds?: number | undefined;
62987
+ }, unknown, z.core.$ZodTypeInternals<{
62988
+ traceId: string;
62989
+ recovery: {
62990
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62991
+ } | {
62992
+ action: "read_operation";
62993
+ operation: {
62994
+ kind: "command";
62995
+ serialNumber: string;
62996
+ idempotencyKey: string;
62997
+ } | {
62998
+ kind: "firmware";
62999
+ serialNumber: string;
63000
+ updateId: string;
63001
+ } | {
63002
+ kind: "bluetooth_firmware";
63003
+ deviceId: string;
63004
+ updateId: string;
63005
+ } | {
63006
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63007
+ deviceId: string;
63008
+ requestId: string;
63009
+ } | {
63010
+ kind: "support";
63011
+ requestId: string;
63012
+ };
63013
+ };
63014
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63015
+ currentRevision?: string | undefined;
63016
+ retryAfterSeconds?: number | undefined;
63017
+ }, unknown>>;
63018
+ };
63019
+ readonly service_unavailable: {
63020
+ readonly status: 503;
63021
+ readonly data: z.ZodType<{
63022
+ traceId: string;
63023
+ recovery: {
63024
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63025
+ } | {
63026
+ action: "read_operation";
63027
+ operation: {
63028
+ kind: "command";
63029
+ serialNumber: string;
63030
+ idempotencyKey: string;
63031
+ } | {
63032
+ kind: "firmware";
63033
+ serialNumber: string;
63034
+ updateId: string;
63035
+ } | {
63036
+ kind: "bluetooth_firmware";
63037
+ deviceId: string;
63038
+ updateId: string;
63039
+ } | {
63040
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63041
+ deviceId: string;
63042
+ requestId: string;
63043
+ } | {
63044
+ kind: "support";
63045
+ requestId: string;
63046
+ };
63047
+ };
63048
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63049
+ currentRevision?: string | undefined;
63050
+ retryAfterSeconds?: number | undefined;
63051
+ }, unknown, z.core.$ZodTypeInternals<{
63052
+ traceId: string;
63053
+ recovery: {
63054
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63055
+ } | {
63056
+ action: "read_operation";
63057
+ operation: {
63058
+ kind: "command";
63059
+ serialNumber: string;
63060
+ idempotencyKey: string;
63061
+ } | {
63062
+ kind: "firmware";
63063
+ serialNumber: string;
63064
+ updateId: string;
63065
+ } | {
63066
+ kind: "bluetooth_firmware";
63067
+ deviceId: string;
63068
+ updateId: string;
63069
+ } | {
63070
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63071
+ deviceId: string;
63072
+ requestId: string;
63073
+ } | {
63074
+ kind: "support";
63075
+ requestId: string;
63076
+ };
63077
+ };
63078
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63079
+ currentRevision?: string | undefined;
63080
+ retryAfterSeconds?: number | undefined;
63081
+ }, unknown>>;
63082
+ };
63083
+ readonly read_unavailable: {
63084
+ readonly status: 503;
63085
+ readonly data: z.ZodType<{
63086
+ traceId: string;
63087
+ recovery: {
63088
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63089
+ } | {
63090
+ action: "read_operation";
63091
+ operation: {
63092
+ kind: "command";
63093
+ serialNumber: string;
63094
+ idempotencyKey: string;
63095
+ } | {
63096
+ kind: "firmware";
63097
+ serialNumber: string;
63098
+ updateId: string;
63099
+ } | {
63100
+ kind: "bluetooth_firmware";
63101
+ deviceId: string;
63102
+ updateId: string;
63103
+ } | {
63104
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63105
+ deviceId: string;
63106
+ requestId: string;
63107
+ } | {
63108
+ kind: "support";
63109
+ requestId: string;
63110
+ };
63111
+ };
63112
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63113
+ currentRevision?: string | undefined;
63114
+ retryAfterSeconds?: number | undefined;
63115
+ }, unknown, z.core.$ZodTypeInternals<{
63116
+ traceId: string;
63117
+ recovery: {
63118
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63119
+ } | {
63120
+ action: "read_operation";
63121
+ operation: {
63122
+ kind: "command";
63123
+ serialNumber: string;
63124
+ idempotencyKey: string;
63125
+ } | {
63126
+ kind: "firmware";
63127
+ serialNumber: string;
63128
+ updateId: string;
63129
+ } | {
63130
+ kind: "bluetooth_firmware";
63131
+ deviceId: string;
63132
+ updateId: string;
63133
+ } | {
63134
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63135
+ deviceId: string;
63136
+ requestId: string;
63137
+ } | {
63138
+ kind: "support";
63139
+ requestId: string;
63140
+ };
63141
+ };
63142
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63143
+ currentRevision?: string | undefined;
63144
+ retryAfterSeconds?: number | undefined;
63145
+ }, unknown>>;
63146
+ };
63147
+ readonly stream_unavailable: {
63148
+ readonly status: 503;
63149
+ readonly data: z.ZodType<{
63150
+ traceId: string;
63151
+ recovery: {
63152
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63153
+ } | {
63154
+ action: "read_operation";
63155
+ operation: {
63156
+ kind: "command";
63157
+ serialNumber: string;
63158
+ idempotencyKey: string;
63159
+ } | {
63160
+ kind: "firmware";
63161
+ serialNumber: string;
63162
+ updateId: string;
63163
+ } | {
63164
+ kind: "bluetooth_firmware";
63165
+ deviceId: string;
63166
+ updateId: string;
63167
+ } | {
63168
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63169
+ deviceId: string;
63170
+ requestId: string;
63171
+ } | {
63172
+ kind: "support";
63173
+ requestId: string;
63174
+ };
63175
+ };
63176
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63177
+ currentRevision?: string | undefined;
63178
+ retryAfterSeconds?: number | undefined;
63179
+ }, unknown, z.core.$ZodTypeInternals<{
63180
+ traceId: string;
63181
+ recovery: {
63182
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63183
+ } | {
63184
+ action: "read_operation";
63185
+ operation: {
63186
+ kind: "command";
63187
+ serialNumber: string;
63188
+ idempotencyKey: string;
63189
+ } | {
63190
+ kind: "firmware";
63191
+ serialNumber: string;
63192
+ updateId: string;
63193
+ } | {
63194
+ kind: "bluetooth_firmware";
63195
+ deviceId: string;
63196
+ updateId: string;
63197
+ } | {
63198
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63199
+ deviceId: string;
63200
+ requestId: string;
63201
+ } | {
63202
+ kind: "support";
63203
+ requestId: string;
63204
+ };
63205
+ };
63206
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63207
+ currentRevision?: string | undefined;
63208
+ retryAfterSeconds?: number | undefined;
63209
+ }, unknown>>;
63210
+ };
63211
+ readonly payload_too_large: {
63212
+ readonly status: 413;
63213
+ readonly data: z.ZodType<{
63214
+ traceId: string;
63215
+ recovery: {
63216
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63217
+ } | {
63218
+ action: "read_operation";
63219
+ operation: {
63220
+ kind: "command";
63221
+ serialNumber: string;
63222
+ idempotencyKey: string;
63223
+ } | {
63224
+ kind: "firmware";
63225
+ serialNumber: string;
63226
+ updateId: string;
63227
+ } | {
63228
+ kind: "bluetooth_firmware";
63229
+ deviceId: string;
63230
+ updateId: string;
63231
+ } | {
63232
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63233
+ deviceId: string;
63234
+ requestId: string;
63235
+ } | {
63236
+ kind: "support";
63237
+ requestId: string;
63238
+ };
63239
+ };
63240
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63241
+ currentRevision?: string | undefined;
63242
+ retryAfterSeconds?: number | undefined;
63243
+ }, unknown, z.core.$ZodTypeInternals<{
63244
+ traceId: string;
63245
+ recovery: {
63246
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63247
+ } | {
63248
+ action: "read_operation";
63249
+ operation: {
63250
+ kind: "command";
63251
+ serialNumber: string;
63252
+ idempotencyKey: string;
63253
+ } | {
63254
+ kind: "firmware";
63255
+ serialNumber: string;
63256
+ updateId: string;
63257
+ } | {
63258
+ kind: "bluetooth_firmware";
63259
+ deviceId: string;
63260
+ updateId: string;
63261
+ } | {
63262
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63263
+ deviceId: string;
63264
+ requestId: string;
63265
+ } | {
63266
+ kind: "support";
63267
+ requestId: string;
63268
+ };
63269
+ };
63270
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63271
+ currentRevision?: string | undefined;
63272
+ retryAfterSeconds?: number | undefined;
63273
+ }, unknown>>;
63274
+ };
63275
+ readonly request_timeout: {
63276
+ readonly status: 503;
63277
+ readonly data: z.ZodType<{
63278
+ traceId: string;
63279
+ recovery: {
63280
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63281
+ } | {
63282
+ action: "read_operation";
63283
+ operation: {
63284
+ kind: "command";
63285
+ serialNumber: string;
63286
+ idempotencyKey: string;
63287
+ } | {
63288
+ kind: "firmware";
63289
+ serialNumber: string;
63290
+ updateId: string;
63291
+ } | {
63292
+ kind: "bluetooth_firmware";
63293
+ deviceId: string;
63294
+ updateId: string;
63295
+ } | {
63296
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63297
+ deviceId: string;
63298
+ requestId: string;
63299
+ } | {
63300
+ kind: "support";
63301
+ requestId: string;
63302
+ };
63303
+ };
63304
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63305
+ currentRevision?: string | undefined;
63306
+ retryAfterSeconds?: number | undefined;
63307
+ }, unknown, z.core.$ZodTypeInternals<{
63308
+ traceId: string;
63309
+ recovery: {
63310
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63311
+ } | {
63312
+ action: "read_operation";
63313
+ operation: {
63314
+ kind: "command";
63315
+ serialNumber: string;
63316
+ idempotencyKey: string;
63317
+ } | {
63318
+ kind: "firmware";
63319
+ serialNumber: string;
63320
+ updateId: string;
63321
+ } | {
63322
+ kind: "bluetooth_firmware";
63323
+ deviceId: string;
63324
+ updateId: string;
63325
+ } | {
63326
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63327
+ deviceId: string;
63328
+ requestId: string;
63329
+ } | {
63330
+ kind: "support";
63331
+ requestId: string;
63332
+ };
63333
+ };
63334
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63335
+ currentRevision?: string | undefined;
63336
+ retryAfterSeconds?: number | undefined;
63337
+ }, unknown>>;
63338
+ };
63339
+ readonly operation_unconfirmed: {
63340
+ readonly status: 503;
63341
+ readonly data: z.ZodType<{
63342
+ traceId: string;
63343
+ recovery: {
63344
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63345
+ } | {
63346
+ action: "read_operation";
63347
+ operation: {
63348
+ kind: "command";
63349
+ serialNumber: string;
63350
+ idempotencyKey: string;
63351
+ } | {
63352
+ kind: "firmware";
63353
+ serialNumber: string;
63354
+ updateId: string;
63355
+ } | {
63356
+ kind: "bluetooth_firmware";
63357
+ deviceId: string;
63358
+ updateId: string;
63359
+ } | {
63360
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63361
+ deviceId: string;
63362
+ requestId: string;
63363
+ } | {
63364
+ kind: "support";
63365
+ requestId: string;
63366
+ };
63367
+ };
63368
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63369
+ currentRevision?: string | undefined;
63370
+ retryAfterSeconds?: number | undefined;
63371
+ }, unknown, z.core.$ZodTypeInternals<{
63372
+ traceId: string;
63373
+ recovery: {
63374
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63375
+ } | {
63376
+ action: "read_operation";
63377
+ operation: {
63378
+ kind: "command";
63379
+ serialNumber: string;
63380
+ idempotencyKey: string;
63381
+ } | {
63382
+ kind: "firmware";
63383
+ serialNumber: string;
63384
+ updateId: string;
63385
+ } | {
63386
+ kind: "bluetooth_firmware";
63387
+ deviceId: string;
63388
+ updateId: string;
63389
+ } | {
63390
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63391
+ deviceId: string;
63392
+ requestId: string;
63393
+ } | {
63394
+ kind: "support";
63395
+ requestId: string;
63396
+ };
63397
+ };
63398
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63399
+ currentRevision?: string | undefined;
63400
+ retryAfterSeconds?: number | undefined;
63401
+ }, unknown>>;
63402
+ };
63403
+ readonly directory_unavailable: {
63404
+ readonly status: 503;
63405
+ readonly data: z.ZodType<{
63406
+ traceId: string;
63407
+ recovery: {
63408
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63409
+ } | {
63410
+ action: "read_operation";
63411
+ operation: {
63412
+ kind: "command";
63413
+ serialNumber: string;
63414
+ idempotencyKey: string;
63415
+ } | {
63416
+ kind: "firmware";
63417
+ serialNumber: string;
63418
+ updateId: string;
63419
+ } | {
63420
+ kind: "bluetooth_firmware";
63421
+ deviceId: string;
63422
+ updateId: string;
63423
+ } | {
63424
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63425
+ deviceId: string;
63426
+ requestId: string;
63427
+ } | {
63428
+ kind: "support";
63429
+ requestId: string;
63430
+ };
63431
+ };
63432
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63433
+ currentRevision?: string | undefined;
63434
+ retryAfterSeconds?: number | undefined;
63435
+ }, unknown, z.core.$ZodTypeInternals<{
63436
+ traceId: string;
63437
+ recovery: {
63438
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63439
+ } | {
63440
+ action: "read_operation";
63441
+ operation: {
63442
+ kind: "command";
63443
+ serialNumber: string;
63444
+ idempotencyKey: string;
63445
+ } | {
63446
+ kind: "firmware";
63447
+ serialNumber: string;
63448
+ updateId: string;
63449
+ } | {
63450
+ kind: "bluetooth_firmware";
63451
+ deviceId: string;
63452
+ updateId: string;
63453
+ } | {
63454
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63455
+ deviceId: string;
63456
+ requestId: string;
63457
+ } | {
63458
+ kind: "support";
63459
+ requestId: string;
63460
+ };
63461
+ };
63462
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63463
+ currentRevision?: string | undefined;
63464
+ retryAfterSeconds?: number | undefined;
63465
+ }, unknown>>;
63466
+ };
63467
+ }>, Record<never, never>>;
62536
63468
  list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62537
63469
  limit: z.ZodDefault<z.ZodInt>;
62538
63470
  after: z.ZodOptional<z.ZodString>;