@bikefinder/staff-sdk 0.9.0 → 0.10.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/index.d.ts CHANGED
@@ -63497,7 +63497,7 @@ export declare const firmwareCatalogFamily: z$1.ZodEnum<{
63497
63497
  "gen2-lte": "gen2-lte";
63498
63498
  "gen2-battery": "gen2-battery";
63499
63499
  }>;
63500
- export declare const firmwareCatalogCapability = "firmware-catalog-v1";
63500
+ export declare const firmwareCatalogCapability = "firmware-catalog-v2";
63501
63501
  export declare const maximumFirmwareUploadBytes: number;
63502
63502
  export declare const catalogFirmwareVersion: z$1.ZodString;
63503
63503
  export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
@@ -63507,8 +63507,6 @@ export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
63507
63507
  }>;
63508
63508
  version: z$1.ZodString;
63509
63509
  notes: z$1.ZodString;
63510
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
63511
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
63512
63510
  size: z$1.ZodInt;
63513
63511
  sha256: z$1.ZodString;
63514
63512
  }, z$1.core.$strict>;
@@ -63519,8 +63517,6 @@ export declare const firmwareCatalogPublishInput: z$1.ZodObject<{
63519
63517
  }>;
63520
63518
  version: z$1.ZodString;
63521
63519
  notes: z$1.ZodString;
63522
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
63523
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
63524
63520
  size: z$1.ZodInt;
63525
63521
  sha256: z$1.ZodString;
63526
63522
  file: z$1.ZodFile;
@@ -63536,8 +63532,6 @@ export declare const firmwareCatalogRelease: z$1.ZodObject<{
63536
63532
  size: z$1.ZodInt;
63537
63533
  sha256: z$1.ZodString;
63538
63534
  notes: z$1.ZodString;
63539
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
63540
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
63541
63535
  downloadUrl: z$1.ZodURL;
63542
63536
  availableForUpdates: z$1.ZodBoolean;
63543
63537
  }, z$1.core.$strip>;
@@ -63564,13 +63558,1948 @@ export declare const firmwareCatalogContract: {
63564
63558
  size: z$1.ZodInt;
63565
63559
  sha256: z$1.ZodString;
63566
63560
  notes: z$1.ZodString;
63567
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
63568
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
63569
63561
  downloadUrl: z$1.ZodURL;
63570
63562
  availableForUpdates: z$1.ZodBoolean;
63571
63563
  }, z$1.core.$strip>>;
63572
63564
  nextAfter: z$1.ZodNullable<z$1.ZodString>;
63573
63565
  }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
63566
+ readonly inventory_changed: {
63567
+ readonly status: 412;
63568
+ readonly data: z$1.ZodType<{
63569
+ traceId: string;
63570
+ recovery: {
63571
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63572
+ } | {
63573
+ action: "read_operation";
63574
+ operation: {
63575
+ kind: "command";
63576
+ serialNumber: string;
63577
+ idempotencyKey: string;
63578
+ } | {
63579
+ kind: "firmware";
63580
+ serialNumber: string;
63581
+ updateId: string;
63582
+ } | {
63583
+ kind: "bluetooth_firmware";
63584
+ deviceId: string;
63585
+ updateId: string;
63586
+ } | {
63587
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63588
+ deviceId: string;
63589
+ requestId: string;
63590
+ } | {
63591
+ kind: "support";
63592
+ requestId: string;
63593
+ };
63594
+ };
63595
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63596
+ currentRevision?: string | undefined;
63597
+ retryAfterSeconds?: number | undefined;
63598
+ }, unknown, z$1.core.$ZodTypeInternals<{
63599
+ traceId: string;
63600
+ recovery: {
63601
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63602
+ } | {
63603
+ action: "read_operation";
63604
+ operation: {
63605
+ kind: "command";
63606
+ serialNumber: string;
63607
+ idempotencyKey: string;
63608
+ } | {
63609
+ kind: "firmware";
63610
+ serialNumber: string;
63611
+ updateId: string;
63612
+ } | {
63613
+ kind: "bluetooth_firmware";
63614
+ deviceId: string;
63615
+ updateId: string;
63616
+ } | {
63617
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63618
+ deviceId: string;
63619
+ requestId: string;
63620
+ } | {
63621
+ kind: "support";
63622
+ requestId: string;
63623
+ };
63624
+ };
63625
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63626
+ currentRevision?: string | undefined;
63627
+ retryAfterSeconds?: number | undefined;
63628
+ }, unknown>>;
63629
+ };
63630
+ readonly firmware_catalog_invalid: {
63631
+ readonly status: 503;
63632
+ readonly data: z$1.ZodType<{
63633
+ traceId: string;
63634
+ recovery: {
63635
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63636
+ } | {
63637
+ action: "read_operation";
63638
+ operation: {
63639
+ kind: "command";
63640
+ serialNumber: string;
63641
+ idempotencyKey: string;
63642
+ } | {
63643
+ kind: "firmware";
63644
+ serialNumber: string;
63645
+ updateId: string;
63646
+ } | {
63647
+ kind: "bluetooth_firmware";
63648
+ deviceId: string;
63649
+ updateId: string;
63650
+ } | {
63651
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63652
+ deviceId: string;
63653
+ requestId: string;
63654
+ } | {
63655
+ kind: "support";
63656
+ requestId: string;
63657
+ };
63658
+ };
63659
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63660
+ currentRevision?: string | undefined;
63661
+ retryAfterSeconds?: number | undefined;
63662
+ }, unknown, z$1.core.$ZodTypeInternals<{
63663
+ traceId: string;
63664
+ recovery: {
63665
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63666
+ } | {
63667
+ action: "read_operation";
63668
+ operation: {
63669
+ kind: "command";
63670
+ serialNumber: string;
63671
+ idempotencyKey: string;
63672
+ } | {
63673
+ kind: "firmware";
63674
+ serialNumber: string;
63675
+ updateId: string;
63676
+ } | {
63677
+ kind: "bluetooth_firmware";
63678
+ deviceId: string;
63679
+ updateId: string;
63680
+ } | {
63681
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63682
+ deviceId: string;
63683
+ requestId: string;
63684
+ } | {
63685
+ kind: "support";
63686
+ requestId: string;
63687
+ };
63688
+ };
63689
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63690
+ currentRevision?: string | undefined;
63691
+ retryAfterSeconds?: number | undefined;
63692
+ }, unknown>>;
63693
+ };
63694
+ readonly firmware_catalog_full: {
63695
+ readonly status: 503;
63696
+ readonly data: z$1.ZodType<{
63697
+ traceId: string;
63698
+ recovery: {
63699
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63700
+ } | {
63701
+ action: "read_operation";
63702
+ operation: {
63703
+ kind: "command";
63704
+ serialNumber: string;
63705
+ idempotencyKey: string;
63706
+ } | {
63707
+ kind: "firmware";
63708
+ serialNumber: string;
63709
+ updateId: string;
63710
+ } | {
63711
+ kind: "bluetooth_firmware";
63712
+ deviceId: string;
63713
+ updateId: string;
63714
+ } | {
63715
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63716
+ deviceId: string;
63717
+ requestId: string;
63718
+ } | {
63719
+ kind: "support";
63720
+ requestId: string;
63721
+ };
63722
+ };
63723
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63724
+ currentRevision?: string | undefined;
63725
+ retryAfterSeconds?: number | undefined;
63726
+ }, unknown, z$1.core.$ZodTypeInternals<{
63727
+ traceId: string;
63728
+ recovery: {
63729
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63730
+ } | {
63731
+ action: "read_operation";
63732
+ operation: {
63733
+ kind: "command";
63734
+ serialNumber: string;
63735
+ idempotencyKey: string;
63736
+ } | {
63737
+ kind: "firmware";
63738
+ serialNumber: string;
63739
+ updateId: string;
63740
+ } | {
63741
+ kind: "bluetooth_firmware";
63742
+ deviceId: string;
63743
+ updateId: string;
63744
+ } | {
63745
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63746
+ deviceId: string;
63747
+ requestId: string;
63748
+ } | {
63749
+ kind: "support";
63750
+ requestId: string;
63751
+ };
63752
+ };
63753
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63754
+ currentRevision?: string | undefined;
63755
+ retryAfterSeconds?: number | undefined;
63756
+ }, unknown>>;
63757
+ };
63758
+ readonly firmware_execution_invalid: {
63759
+ readonly status: 503;
63760
+ readonly data: z$1.ZodType<{
63761
+ traceId: string;
63762
+ recovery: {
63763
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63764
+ } | {
63765
+ action: "read_operation";
63766
+ operation: {
63767
+ kind: "command";
63768
+ serialNumber: string;
63769
+ idempotencyKey: string;
63770
+ } | {
63771
+ kind: "firmware";
63772
+ serialNumber: string;
63773
+ updateId: string;
63774
+ } | {
63775
+ kind: "bluetooth_firmware";
63776
+ deviceId: string;
63777
+ updateId: string;
63778
+ } | {
63779
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63780
+ deviceId: string;
63781
+ requestId: string;
63782
+ } | {
63783
+ kind: "support";
63784
+ requestId: string;
63785
+ };
63786
+ };
63787
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63788
+ currentRevision?: string | undefined;
63789
+ retryAfterSeconds?: number | undefined;
63790
+ }, unknown, z$1.core.$ZodTypeInternals<{
63791
+ traceId: string;
63792
+ recovery: {
63793
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63794
+ } | {
63795
+ action: "read_operation";
63796
+ operation: {
63797
+ kind: "command";
63798
+ serialNumber: string;
63799
+ idempotencyKey: string;
63800
+ } | {
63801
+ kind: "firmware";
63802
+ serialNumber: string;
63803
+ updateId: string;
63804
+ } | {
63805
+ kind: "bluetooth_firmware";
63806
+ deviceId: string;
63807
+ updateId: string;
63808
+ } | {
63809
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63810
+ deviceId: string;
63811
+ requestId: string;
63812
+ } | {
63813
+ kind: "support";
63814
+ requestId: string;
63815
+ };
63816
+ };
63817
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63818
+ currentRevision?: string | undefined;
63819
+ retryAfterSeconds?: number | undefined;
63820
+ }, unknown>>;
63821
+ };
63822
+ readonly firmware_review_changed: {
63823
+ readonly status: 412;
63824
+ readonly data: z$1.ZodType<{
63825
+ traceId: string;
63826
+ recovery: {
63827
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63828
+ } | {
63829
+ action: "read_operation";
63830
+ operation: {
63831
+ kind: "command";
63832
+ serialNumber: string;
63833
+ idempotencyKey: string;
63834
+ } | {
63835
+ kind: "firmware";
63836
+ serialNumber: string;
63837
+ updateId: string;
63838
+ } | {
63839
+ kind: "bluetooth_firmware";
63840
+ deviceId: string;
63841
+ updateId: string;
63842
+ } | {
63843
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63844
+ deviceId: string;
63845
+ requestId: string;
63846
+ } | {
63847
+ kind: "support";
63848
+ requestId: string;
63849
+ };
63850
+ };
63851
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63852
+ currentRevision?: string | undefined;
63853
+ retryAfterSeconds?: number | undefined;
63854
+ }, unknown, z$1.core.$ZodTypeInternals<{
63855
+ traceId: string;
63856
+ recovery: {
63857
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63858
+ } | {
63859
+ action: "read_operation";
63860
+ operation: {
63861
+ kind: "command";
63862
+ serialNumber: string;
63863
+ idempotencyKey: string;
63864
+ } | {
63865
+ kind: "firmware";
63866
+ serialNumber: string;
63867
+ updateId: string;
63868
+ } | {
63869
+ kind: "bluetooth_firmware";
63870
+ deviceId: string;
63871
+ updateId: string;
63872
+ } | {
63873
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63874
+ deviceId: string;
63875
+ requestId: string;
63876
+ } | {
63877
+ kind: "support";
63878
+ requestId: string;
63879
+ };
63880
+ };
63881
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63882
+ currentRevision?: string | undefined;
63883
+ retryAfterSeconds?: number | undefined;
63884
+ }, unknown>>;
63885
+ };
63886
+ readonly firmware_review_required: {
63887
+ readonly status: 428;
63888
+ readonly data: z$1.ZodType<{
63889
+ traceId: string;
63890
+ recovery: {
63891
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63892
+ } | {
63893
+ action: "read_operation";
63894
+ operation: {
63895
+ kind: "command";
63896
+ serialNumber: string;
63897
+ idempotencyKey: string;
63898
+ } | {
63899
+ kind: "firmware";
63900
+ serialNumber: string;
63901
+ updateId: string;
63902
+ } | {
63903
+ kind: "bluetooth_firmware";
63904
+ deviceId: string;
63905
+ updateId: string;
63906
+ } | {
63907
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63908
+ deviceId: string;
63909
+ requestId: string;
63910
+ } | {
63911
+ kind: "support";
63912
+ requestId: string;
63913
+ };
63914
+ };
63915
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63916
+ currentRevision?: string | undefined;
63917
+ retryAfterSeconds?: number | undefined;
63918
+ }, unknown, z$1.core.$ZodTypeInternals<{
63919
+ traceId: string;
63920
+ recovery: {
63921
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63922
+ } | {
63923
+ action: "read_operation";
63924
+ operation: {
63925
+ kind: "command";
63926
+ serialNumber: string;
63927
+ idempotencyKey: string;
63928
+ } | {
63929
+ kind: "firmware";
63930
+ serialNumber: string;
63931
+ updateId: string;
63932
+ } | {
63933
+ kind: "bluetooth_firmware";
63934
+ deviceId: string;
63935
+ updateId: string;
63936
+ } | {
63937
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63938
+ deviceId: string;
63939
+ requestId: string;
63940
+ } | {
63941
+ kind: "support";
63942
+ requestId: string;
63943
+ };
63944
+ };
63945
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63946
+ currentRevision?: string | undefined;
63947
+ retryAfterSeconds?: number | undefined;
63948
+ }, unknown>>;
63949
+ };
63950
+ readonly firmware_policy_unavailable: {
63951
+ readonly status: 503;
63952
+ readonly data: z$1.ZodType<{
63953
+ traceId: string;
63954
+ recovery: {
63955
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63956
+ } | {
63957
+ action: "read_operation";
63958
+ operation: {
63959
+ kind: "command";
63960
+ serialNumber: string;
63961
+ idempotencyKey: string;
63962
+ } | {
63963
+ kind: "firmware";
63964
+ serialNumber: string;
63965
+ updateId: string;
63966
+ } | {
63967
+ kind: "bluetooth_firmware";
63968
+ deviceId: string;
63969
+ updateId: string;
63970
+ } | {
63971
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63972
+ deviceId: string;
63973
+ requestId: string;
63974
+ } | {
63975
+ kind: "support";
63976
+ requestId: string;
63977
+ };
63978
+ };
63979
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63980
+ currentRevision?: string | undefined;
63981
+ retryAfterSeconds?: number | undefined;
63982
+ }, unknown, z$1.core.$ZodTypeInternals<{
63983
+ traceId: string;
63984
+ recovery: {
63985
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63986
+ } | {
63987
+ action: "read_operation";
63988
+ operation: {
63989
+ kind: "command";
63990
+ serialNumber: string;
63991
+ idempotencyKey: string;
63992
+ } | {
63993
+ kind: "firmware";
63994
+ serialNumber: string;
63995
+ updateId: string;
63996
+ } | {
63997
+ kind: "bluetooth_firmware";
63998
+ deviceId: string;
63999
+ updateId: string;
64000
+ } | {
64001
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64002
+ deviceId: string;
64003
+ requestId: string;
64004
+ } | {
64005
+ kind: "support";
64006
+ requestId: string;
64007
+ };
64008
+ };
64009
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64010
+ currentRevision?: string | undefined;
64011
+ retryAfterSeconds?: number | undefined;
64012
+ }, unknown>>;
64013
+ };
64014
+ readonly firmware_release_unavailable: {
64015
+ readonly status: 503;
64016
+ readonly data: z$1.ZodType<{
64017
+ traceId: string;
64018
+ recovery: {
64019
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64020
+ } | {
64021
+ action: "read_operation";
64022
+ operation: {
64023
+ kind: "command";
64024
+ serialNumber: string;
64025
+ idempotencyKey: string;
64026
+ } | {
64027
+ kind: "firmware";
64028
+ serialNumber: string;
64029
+ updateId: string;
64030
+ } | {
64031
+ kind: "bluetooth_firmware";
64032
+ deviceId: string;
64033
+ updateId: string;
64034
+ } | {
64035
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64036
+ deviceId: string;
64037
+ requestId: string;
64038
+ } | {
64039
+ kind: "support";
64040
+ requestId: string;
64041
+ };
64042
+ };
64043
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64044
+ currentRevision?: string | undefined;
64045
+ retryAfterSeconds?: number | undefined;
64046
+ }, unknown, z$1.core.$ZodTypeInternals<{
64047
+ traceId: string;
64048
+ recovery: {
64049
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64050
+ } | {
64051
+ action: "read_operation";
64052
+ operation: {
64053
+ kind: "command";
64054
+ serialNumber: string;
64055
+ idempotencyKey: string;
64056
+ } | {
64057
+ kind: "firmware";
64058
+ serialNumber: string;
64059
+ updateId: string;
64060
+ } | {
64061
+ kind: "bluetooth_firmware";
64062
+ deviceId: string;
64063
+ updateId: string;
64064
+ } | {
64065
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64066
+ deviceId: string;
64067
+ requestId: string;
64068
+ } | {
64069
+ kind: "support";
64070
+ requestId: string;
64071
+ };
64072
+ };
64073
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64074
+ currentRevision?: string | undefined;
64075
+ retryAfterSeconds?: number | undefined;
64076
+ }, unknown>>;
64077
+ };
64078
+ readonly invalid: {
64079
+ readonly status: 400;
64080
+ readonly data: z$1.ZodType<{
64081
+ traceId: string;
64082
+ recovery: {
64083
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64084
+ } | {
64085
+ action: "read_operation";
64086
+ operation: {
64087
+ kind: "command";
64088
+ serialNumber: string;
64089
+ idempotencyKey: string;
64090
+ } | {
64091
+ kind: "firmware";
64092
+ serialNumber: string;
64093
+ updateId: string;
64094
+ } | {
64095
+ kind: "bluetooth_firmware";
64096
+ deviceId: string;
64097
+ updateId: string;
64098
+ } | {
64099
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64100
+ deviceId: string;
64101
+ requestId: string;
64102
+ } | {
64103
+ kind: "support";
64104
+ requestId: string;
64105
+ };
64106
+ };
64107
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64108
+ currentRevision?: string | undefined;
64109
+ retryAfterSeconds?: number | undefined;
64110
+ }, unknown, z$1.core.$ZodTypeInternals<{
64111
+ traceId: string;
64112
+ recovery: {
64113
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64114
+ } | {
64115
+ action: "read_operation";
64116
+ operation: {
64117
+ kind: "command";
64118
+ serialNumber: string;
64119
+ idempotencyKey: string;
64120
+ } | {
64121
+ kind: "firmware";
64122
+ serialNumber: string;
64123
+ updateId: string;
64124
+ } | {
64125
+ kind: "bluetooth_firmware";
64126
+ deviceId: string;
64127
+ updateId: string;
64128
+ } | {
64129
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64130
+ deviceId: string;
64131
+ requestId: string;
64132
+ } | {
64133
+ kind: "support";
64134
+ requestId: string;
64135
+ };
64136
+ };
64137
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64138
+ currentRevision?: string | undefined;
64139
+ retryAfterSeconds?: number | undefined;
64140
+ }, unknown>>;
64141
+ };
64142
+ readonly unauthenticated: {
64143
+ readonly status: 401;
64144
+ readonly data: z$1.ZodType<{
64145
+ traceId: string;
64146
+ recovery: {
64147
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64148
+ } | {
64149
+ action: "read_operation";
64150
+ operation: {
64151
+ kind: "command";
64152
+ serialNumber: string;
64153
+ idempotencyKey: string;
64154
+ } | {
64155
+ kind: "firmware";
64156
+ serialNumber: string;
64157
+ updateId: string;
64158
+ } | {
64159
+ kind: "bluetooth_firmware";
64160
+ deviceId: string;
64161
+ updateId: string;
64162
+ } | {
64163
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64164
+ deviceId: string;
64165
+ requestId: string;
64166
+ } | {
64167
+ kind: "support";
64168
+ requestId: string;
64169
+ };
64170
+ };
64171
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64172
+ currentRevision?: string | undefined;
64173
+ retryAfterSeconds?: number | undefined;
64174
+ }, unknown, z$1.core.$ZodTypeInternals<{
64175
+ traceId: string;
64176
+ recovery: {
64177
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64178
+ } | {
64179
+ action: "read_operation";
64180
+ operation: {
64181
+ kind: "command";
64182
+ serialNumber: string;
64183
+ idempotencyKey: string;
64184
+ } | {
64185
+ kind: "firmware";
64186
+ serialNumber: string;
64187
+ updateId: string;
64188
+ } | {
64189
+ kind: "bluetooth_firmware";
64190
+ deviceId: string;
64191
+ updateId: string;
64192
+ } | {
64193
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64194
+ deviceId: string;
64195
+ requestId: string;
64196
+ } | {
64197
+ kind: "support";
64198
+ requestId: string;
64199
+ };
64200
+ };
64201
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64202
+ currentRevision?: string | undefined;
64203
+ retryAfterSeconds?: number | undefined;
64204
+ }, unknown>>;
64205
+ };
64206
+ readonly forbidden: {
64207
+ readonly status: 403;
64208
+ readonly data: z$1.ZodType<{
64209
+ traceId: string;
64210
+ recovery: {
64211
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64212
+ } | {
64213
+ action: "read_operation";
64214
+ operation: {
64215
+ kind: "command";
64216
+ serialNumber: string;
64217
+ idempotencyKey: string;
64218
+ } | {
64219
+ kind: "firmware";
64220
+ serialNumber: string;
64221
+ updateId: string;
64222
+ } | {
64223
+ kind: "bluetooth_firmware";
64224
+ deviceId: string;
64225
+ updateId: string;
64226
+ } | {
64227
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64228
+ deviceId: string;
64229
+ requestId: string;
64230
+ } | {
64231
+ kind: "support";
64232
+ requestId: string;
64233
+ };
64234
+ };
64235
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64236
+ currentRevision?: string | undefined;
64237
+ retryAfterSeconds?: number | undefined;
64238
+ }, unknown, z$1.core.$ZodTypeInternals<{
64239
+ traceId: string;
64240
+ recovery: {
64241
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64242
+ } | {
64243
+ action: "read_operation";
64244
+ operation: {
64245
+ kind: "command";
64246
+ serialNumber: string;
64247
+ idempotencyKey: string;
64248
+ } | {
64249
+ kind: "firmware";
64250
+ serialNumber: string;
64251
+ updateId: string;
64252
+ } | {
64253
+ kind: "bluetooth_firmware";
64254
+ deviceId: string;
64255
+ updateId: string;
64256
+ } | {
64257
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64258
+ deviceId: string;
64259
+ requestId: string;
64260
+ } | {
64261
+ kind: "support";
64262
+ requestId: string;
64263
+ };
64264
+ };
64265
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64266
+ currentRevision?: string | undefined;
64267
+ retryAfterSeconds?: number | undefined;
64268
+ }, unknown>>;
64269
+ };
64270
+ readonly not_found: {
64271
+ readonly status: 404;
64272
+ readonly data: z$1.ZodType<{
64273
+ traceId: string;
64274
+ recovery: {
64275
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64276
+ } | {
64277
+ action: "read_operation";
64278
+ operation: {
64279
+ kind: "command";
64280
+ serialNumber: string;
64281
+ idempotencyKey: string;
64282
+ } | {
64283
+ kind: "firmware";
64284
+ serialNumber: string;
64285
+ updateId: string;
64286
+ } | {
64287
+ kind: "bluetooth_firmware";
64288
+ deviceId: string;
64289
+ updateId: string;
64290
+ } | {
64291
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64292
+ deviceId: string;
64293
+ requestId: string;
64294
+ } | {
64295
+ kind: "support";
64296
+ requestId: string;
64297
+ };
64298
+ };
64299
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64300
+ currentRevision?: string | undefined;
64301
+ retryAfterSeconds?: number | undefined;
64302
+ }, unknown, z$1.core.$ZodTypeInternals<{
64303
+ traceId: string;
64304
+ recovery: {
64305
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64306
+ } | {
64307
+ action: "read_operation";
64308
+ operation: {
64309
+ kind: "command";
64310
+ serialNumber: string;
64311
+ idempotencyKey: string;
64312
+ } | {
64313
+ kind: "firmware";
64314
+ serialNumber: string;
64315
+ updateId: string;
64316
+ } | {
64317
+ kind: "bluetooth_firmware";
64318
+ deviceId: string;
64319
+ updateId: string;
64320
+ } | {
64321
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64322
+ deviceId: string;
64323
+ requestId: string;
64324
+ } | {
64325
+ kind: "support";
64326
+ requestId: string;
64327
+ };
64328
+ };
64329
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64330
+ currentRevision?: string | undefined;
64331
+ retryAfterSeconds?: number | undefined;
64332
+ }, unknown>>;
64333
+ };
64334
+ readonly conflict: {
64335
+ readonly status: 409;
64336
+ readonly data: z$1.ZodType<{
64337
+ traceId: string;
64338
+ recovery: {
64339
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64340
+ } | {
64341
+ action: "read_operation";
64342
+ operation: {
64343
+ kind: "command";
64344
+ serialNumber: string;
64345
+ idempotencyKey: string;
64346
+ } | {
64347
+ kind: "firmware";
64348
+ serialNumber: string;
64349
+ updateId: string;
64350
+ } | {
64351
+ kind: "bluetooth_firmware";
64352
+ deviceId: string;
64353
+ updateId: string;
64354
+ } | {
64355
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64356
+ deviceId: string;
64357
+ requestId: string;
64358
+ } | {
64359
+ kind: "support";
64360
+ requestId: string;
64361
+ };
64362
+ };
64363
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64364
+ currentRevision?: string | undefined;
64365
+ retryAfterSeconds?: number | undefined;
64366
+ }, unknown, z$1.core.$ZodTypeInternals<{
64367
+ traceId: string;
64368
+ recovery: {
64369
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64370
+ } | {
64371
+ action: "read_operation";
64372
+ operation: {
64373
+ kind: "command";
64374
+ serialNumber: string;
64375
+ idempotencyKey: string;
64376
+ } | {
64377
+ kind: "firmware";
64378
+ serialNumber: string;
64379
+ updateId: string;
64380
+ } | {
64381
+ kind: "bluetooth_firmware";
64382
+ deviceId: string;
64383
+ updateId: string;
64384
+ } | {
64385
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64386
+ deviceId: string;
64387
+ requestId: string;
64388
+ } | {
64389
+ kind: "support";
64390
+ requestId: string;
64391
+ };
64392
+ };
64393
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64394
+ currentRevision?: string | undefined;
64395
+ retryAfterSeconds?: number | undefined;
64396
+ }, unknown>>;
64397
+ };
64398
+ readonly rate_limited: {
64399
+ readonly status: 429;
64400
+ readonly data: z$1.ZodType<{
64401
+ traceId: string;
64402
+ recovery: {
64403
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64404
+ } | {
64405
+ action: "read_operation";
64406
+ operation: {
64407
+ kind: "command";
64408
+ serialNumber: string;
64409
+ idempotencyKey: string;
64410
+ } | {
64411
+ kind: "firmware";
64412
+ serialNumber: string;
64413
+ updateId: string;
64414
+ } | {
64415
+ kind: "bluetooth_firmware";
64416
+ deviceId: string;
64417
+ updateId: string;
64418
+ } | {
64419
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64420
+ deviceId: string;
64421
+ requestId: string;
64422
+ } | {
64423
+ kind: "support";
64424
+ requestId: string;
64425
+ };
64426
+ };
64427
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64428
+ currentRevision?: string | undefined;
64429
+ retryAfterSeconds?: number | undefined;
64430
+ }, unknown, z$1.core.$ZodTypeInternals<{
64431
+ traceId: string;
64432
+ recovery: {
64433
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64434
+ } | {
64435
+ action: "read_operation";
64436
+ operation: {
64437
+ kind: "command";
64438
+ serialNumber: string;
64439
+ idempotencyKey: string;
64440
+ } | {
64441
+ kind: "firmware";
64442
+ serialNumber: string;
64443
+ updateId: string;
64444
+ } | {
64445
+ kind: "bluetooth_firmware";
64446
+ deviceId: string;
64447
+ updateId: string;
64448
+ } | {
64449
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64450
+ deviceId: string;
64451
+ requestId: string;
64452
+ } | {
64453
+ kind: "support";
64454
+ requestId: string;
64455
+ };
64456
+ };
64457
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64458
+ currentRevision?: string | undefined;
64459
+ retryAfterSeconds?: number | undefined;
64460
+ }, unknown>>;
64461
+ };
64462
+ readonly stored_data_invalid: {
64463
+ readonly status: 503;
64464
+ readonly data: z$1.ZodType<{
64465
+ traceId: string;
64466
+ recovery: {
64467
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64468
+ } | {
64469
+ action: "read_operation";
64470
+ operation: {
64471
+ kind: "command";
64472
+ serialNumber: string;
64473
+ idempotencyKey: string;
64474
+ } | {
64475
+ kind: "firmware";
64476
+ serialNumber: string;
64477
+ updateId: string;
64478
+ } | {
64479
+ kind: "bluetooth_firmware";
64480
+ deviceId: string;
64481
+ updateId: string;
64482
+ } | {
64483
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64484
+ deviceId: string;
64485
+ requestId: string;
64486
+ } | {
64487
+ kind: "support";
64488
+ requestId: string;
64489
+ };
64490
+ };
64491
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64492
+ currentRevision?: string | undefined;
64493
+ retryAfterSeconds?: number | undefined;
64494
+ }, unknown, z$1.core.$ZodTypeInternals<{
64495
+ traceId: string;
64496
+ recovery: {
64497
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64498
+ } | {
64499
+ action: "read_operation";
64500
+ operation: {
64501
+ kind: "command";
64502
+ serialNumber: string;
64503
+ idempotencyKey: string;
64504
+ } | {
64505
+ kind: "firmware";
64506
+ serialNumber: string;
64507
+ updateId: string;
64508
+ } | {
64509
+ kind: "bluetooth_firmware";
64510
+ deviceId: string;
64511
+ updateId: string;
64512
+ } | {
64513
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64514
+ deviceId: string;
64515
+ requestId: string;
64516
+ } | {
64517
+ kind: "support";
64518
+ requestId: string;
64519
+ };
64520
+ };
64521
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64522
+ currentRevision?: string | undefined;
64523
+ retryAfterSeconds?: number | undefined;
64524
+ }, unknown>>;
64525
+ };
64526
+ readonly service_unavailable: {
64527
+ readonly status: 503;
64528
+ readonly data: z$1.ZodType<{
64529
+ traceId: string;
64530
+ recovery: {
64531
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64532
+ } | {
64533
+ action: "read_operation";
64534
+ operation: {
64535
+ kind: "command";
64536
+ serialNumber: string;
64537
+ idempotencyKey: string;
64538
+ } | {
64539
+ kind: "firmware";
64540
+ serialNumber: string;
64541
+ updateId: string;
64542
+ } | {
64543
+ kind: "bluetooth_firmware";
64544
+ deviceId: string;
64545
+ updateId: string;
64546
+ } | {
64547
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64548
+ deviceId: string;
64549
+ requestId: string;
64550
+ } | {
64551
+ kind: "support";
64552
+ requestId: string;
64553
+ };
64554
+ };
64555
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64556
+ currentRevision?: string | undefined;
64557
+ retryAfterSeconds?: number | undefined;
64558
+ }, unknown, z$1.core.$ZodTypeInternals<{
64559
+ traceId: string;
64560
+ recovery: {
64561
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64562
+ } | {
64563
+ action: "read_operation";
64564
+ operation: {
64565
+ kind: "command";
64566
+ serialNumber: string;
64567
+ idempotencyKey: string;
64568
+ } | {
64569
+ kind: "firmware";
64570
+ serialNumber: string;
64571
+ updateId: string;
64572
+ } | {
64573
+ kind: "bluetooth_firmware";
64574
+ deviceId: string;
64575
+ updateId: string;
64576
+ } | {
64577
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64578
+ deviceId: string;
64579
+ requestId: string;
64580
+ } | {
64581
+ kind: "support";
64582
+ requestId: string;
64583
+ };
64584
+ };
64585
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64586
+ currentRevision?: string | undefined;
64587
+ retryAfterSeconds?: number | undefined;
64588
+ }, unknown>>;
64589
+ };
64590
+ readonly read_unavailable: {
64591
+ readonly status: 503;
64592
+ readonly data: z$1.ZodType<{
64593
+ traceId: string;
64594
+ recovery: {
64595
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64596
+ } | {
64597
+ action: "read_operation";
64598
+ operation: {
64599
+ kind: "command";
64600
+ serialNumber: string;
64601
+ idempotencyKey: string;
64602
+ } | {
64603
+ kind: "firmware";
64604
+ serialNumber: string;
64605
+ updateId: string;
64606
+ } | {
64607
+ kind: "bluetooth_firmware";
64608
+ deviceId: string;
64609
+ updateId: string;
64610
+ } | {
64611
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64612
+ deviceId: string;
64613
+ requestId: string;
64614
+ } | {
64615
+ kind: "support";
64616
+ requestId: string;
64617
+ };
64618
+ };
64619
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64620
+ currentRevision?: string | undefined;
64621
+ retryAfterSeconds?: number | undefined;
64622
+ }, unknown, z$1.core.$ZodTypeInternals<{
64623
+ traceId: string;
64624
+ recovery: {
64625
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64626
+ } | {
64627
+ action: "read_operation";
64628
+ operation: {
64629
+ kind: "command";
64630
+ serialNumber: string;
64631
+ idempotencyKey: string;
64632
+ } | {
64633
+ kind: "firmware";
64634
+ serialNumber: string;
64635
+ updateId: string;
64636
+ } | {
64637
+ kind: "bluetooth_firmware";
64638
+ deviceId: string;
64639
+ updateId: string;
64640
+ } | {
64641
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64642
+ deviceId: string;
64643
+ requestId: string;
64644
+ } | {
64645
+ kind: "support";
64646
+ requestId: string;
64647
+ };
64648
+ };
64649
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64650
+ currentRevision?: string | undefined;
64651
+ retryAfterSeconds?: number | undefined;
64652
+ }, unknown>>;
64653
+ };
64654
+ readonly stream_unavailable: {
64655
+ readonly status: 503;
64656
+ readonly data: z$1.ZodType<{
64657
+ traceId: string;
64658
+ recovery: {
64659
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64660
+ } | {
64661
+ action: "read_operation";
64662
+ operation: {
64663
+ kind: "command";
64664
+ serialNumber: string;
64665
+ idempotencyKey: string;
64666
+ } | {
64667
+ kind: "firmware";
64668
+ serialNumber: string;
64669
+ updateId: string;
64670
+ } | {
64671
+ kind: "bluetooth_firmware";
64672
+ deviceId: string;
64673
+ updateId: string;
64674
+ } | {
64675
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64676
+ deviceId: string;
64677
+ requestId: string;
64678
+ } | {
64679
+ kind: "support";
64680
+ requestId: string;
64681
+ };
64682
+ };
64683
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64684
+ currentRevision?: string | undefined;
64685
+ retryAfterSeconds?: number | undefined;
64686
+ }, unknown, z$1.core.$ZodTypeInternals<{
64687
+ traceId: string;
64688
+ recovery: {
64689
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64690
+ } | {
64691
+ action: "read_operation";
64692
+ operation: {
64693
+ kind: "command";
64694
+ serialNumber: string;
64695
+ idempotencyKey: string;
64696
+ } | {
64697
+ kind: "firmware";
64698
+ serialNumber: string;
64699
+ updateId: string;
64700
+ } | {
64701
+ kind: "bluetooth_firmware";
64702
+ deviceId: string;
64703
+ updateId: string;
64704
+ } | {
64705
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64706
+ deviceId: string;
64707
+ requestId: string;
64708
+ } | {
64709
+ kind: "support";
64710
+ requestId: string;
64711
+ };
64712
+ };
64713
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64714
+ currentRevision?: string | undefined;
64715
+ retryAfterSeconds?: number | undefined;
64716
+ }, unknown>>;
64717
+ };
64718
+ readonly payload_too_large: {
64719
+ readonly status: 413;
64720
+ readonly data: z$1.ZodType<{
64721
+ traceId: string;
64722
+ recovery: {
64723
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64724
+ } | {
64725
+ action: "read_operation";
64726
+ operation: {
64727
+ kind: "command";
64728
+ serialNumber: string;
64729
+ idempotencyKey: string;
64730
+ } | {
64731
+ kind: "firmware";
64732
+ serialNumber: string;
64733
+ updateId: string;
64734
+ } | {
64735
+ kind: "bluetooth_firmware";
64736
+ deviceId: string;
64737
+ updateId: string;
64738
+ } | {
64739
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64740
+ deviceId: string;
64741
+ requestId: string;
64742
+ } | {
64743
+ kind: "support";
64744
+ requestId: string;
64745
+ };
64746
+ };
64747
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64748
+ currentRevision?: string | undefined;
64749
+ retryAfterSeconds?: number | undefined;
64750
+ }, unknown, z$1.core.$ZodTypeInternals<{
64751
+ traceId: string;
64752
+ recovery: {
64753
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64754
+ } | {
64755
+ action: "read_operation";
64756
+ operation: {
64757
+ kind: "command";
64758
+ serialNumber: string;
64759
+ idempotencyKey: string;
64760
+ } | {
64761
+ kind: "firmware";
64762
+ serialNumber: string;
64763
+ updateId: string;
64764
+ } | {
64765
+ kind: "bluetooth_firmware";
64766
+ deviceId: string;
64767
+ updateId: string;
64768
+ } | {
64769
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64770
+ deviceId: string;
64771
+ requestId: string;
64772
+ } | {
64773
+ kind: "support";
64774
+ requestId: string;
64775
+ };
64776
+ };
64777
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64778
+ currentRevision?: string | undefined;
64779
+ retryAfterSeconds?: number | undefined;
64780
+ }, unknown>>;
64781
+ };
64782
+ readonly request_timeout: {
64783
+ readonly status: 503;
64784
+ readonly data: z$1.ZodType<{
64785
+ traceId: string;
64786
+ recovery: {
64787
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64788
+ } | {
64789
+ action: "read_operation";
64790
+ operation: {
64791
+ kind: "command";
64792
+ serialNumber: string;
64793
+ idempotencyKey: string;
64794
+ } | {
64795
+ kind: "firmware";
64796
+ serialNumber: string;
64797
+ updateId: string;
64798
+ } | {
64799
+ kind: "bluetooth_firmware";
64800
+ deviceId: string;
64801
+ updateId: string;
64802
+ } | {
64803
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64804
+ deviceId: string;
64805
+ requestId: string;
64806
+ } | {
64807
+ kind: "support";
64808
+ requestId: string;
64809
+ };
64810
+ };
64811
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64812
+ currentRevision?: string | undefined;
64813
+ retryAfterSeconds?: number | undefined;
64814
+ }, unknown, z$1.core.$ZodTypeInternals<{
64815
+ traceId: string;
64816
+ recovery: {
64817
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64818
+ } | {
64819
+ action: "read_operation";
64820
+ operation: {
64821
+ kind: "command";
64822
+ serialNumber: string;
64823
+ idempotencyKey: string;
64824
+ } | {
64825
+ kind: "firmware";
64826
+ serialNumber: string;
64827
+ updateId: string;
64828
+ } | {
64829
+ kind: "bluetooth_firmware";
64830
+ deviceId: string;
64831
+ updateId: string;
64832
+ } | {
64833
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64834
+ deviceId: string;
64835
+ requestId: string;
64836
+ } | {
64837
+ kind: "support";
64838
+ requestId: string;
64839
+ };
64840
+ };
64841
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64842
+ currentRevision?: string | undefined;
64843
+ retryAfterSeconds?: number | undefined;
64844
+ }, unknown>>;
64845
+ };
64846
+ readonly operation_unconfirmed: {
64847
+ readonly status: 503;
64848
+ readonly data: z$1.ZodType<{
64849
+ traceId: string;
64850
+ recovery: {
64851
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64852
+ } | {
64853
+ action: "read_operation";
64854
+ operation: {
64855
+ kind: "command";
64856
+ serialNumber: string;
64857
+ idempotencyKey: string;
64858
+ } | {
64859
+ kind: "firmware";
64860
+ serialNumber: string;
64861
+ updateId: string;
64862
+ } | {
64863
+ kind: "bluetooth_firmware";
64864
+ deviceId: string;
64865
+ updateId: string;
64866
+ } | {
64867
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64868
+ deviceId: string;
64869
+ requestId: string;
64870
+ } | {
64871
+ kind: "support";
64872
+ requestId: string;
64873
+ };
64874
+ };
64875
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64876
+ currentRevision?: string | undefined;
64877
+ retryAfterSeconds?: number | undefined;
64878
+ }, unknown, z$1.core.$ZodTypeInternals<{
64879
+ traceId: string;
64880
+ recovery: {
64881
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64882
+ } | {
64883
+ action: "read_operation";
64884
+ operation: {
64885
+ kind: "command";
64886
+ serialNumber: string;
64887
+ idempotencyKey: string;
64888
+ } | {
64889
+ kind: "firmware";
64890
+ serialNumber: string;
64891
+ updateId: string;
64892
+ } | {
64893
+ kind: "bluetooth_firmware";
64894
+ deviceId: string;
64895
+ updateId: string;
64896
+ } | {
64897
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64898
+ deviceId: string;
64899
+ requestId: string;
64900
+ } | {
64901
+ kind: "support";
64902
+ requestId: string;
64903
+ };
64904
+ };
64905
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64906
+ currentRevision?: string | undefined;
64907
+ retryAfterSeconds?: number | undefined;
64908
+ }, unknown>>;
64909
+ };
64910
+ readonly directory_unavailable: {
64911
+ readonly status: 503;
64912
+ readonly data: z$1.ZodType<{
64913
+ traceId: string;
64914
+ recovery: {
64915
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64916
+ } | {
64917
+ action: "read_operation";
64918
+ operation: {
64919
+ kind: "command";
64920
+ serialNumber: string;
64921
+ idempotencyKey: string;
64922
+ } | {
64923
+ kind: "firmware";
64924
+ serialNumber: string;
64925
+ updateId: string;
64926
+ } | {
64927
+ kind: "bluetooth_firmware";
64928
+ deviceId: string;
64929
+ updateId: string;
64930
+ } | {
64931
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64932
+ deviceId: string;
64933
+ requestId: string;
64934
+ } | {
64935
+ kind: "support";
64936
+ requestId: string;
64937
+ };
64938
+ };
64939
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64940
+ currentRevision?: string | undefined;
64941
+ retryAfterSeconds?: number | undefined;
64942
+ }, unknown, z$1.core.$ZodTypeInternals<{
64943
+ traceId: string;
64944
+ recovery: {
64945
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64946
+ } | {
64947
+ action: "read_operation";
64948
+ operation: {
64949
+ kind: "command";
64950
+ serialNumber: string;
64951
+ idempotencyKey: string;
64952
+ } | {
64953
+ kind: "firmware";
64954
+ serialNumber: string;
64955
+ updateId: string;
64956
+ } | {
64957
+ kind: "bluetooth_firmware";
64958
+ deviceId: string;
64959
+ updateId: string;
64960
+ } | {
64961
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
64962
+ deviceId: string;
64963
+ requestId: string;
64964
+ } | {
64965
+ kind: "support";
64966
+ requestId: string;
64967
+ };
64968
+ };
64969
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
64970
+ currentRevision?: string | undefined;
64971
+ retryAfterSeconds?: number | undefined;
64972
+ }, unknown>>;
64973
+ };
64974
+ }>, Record<never, never>>;
64975
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
64976
+ id: z$1.ZodString;
64977
+ }, z$1.core.$strict>, z$1.ZodObject<{
64978
+ id: z$1.ZodString;
64979
+ family: z$1.ZodEnum<{
64980
+ "gen2-lte": "gen2-lte";
64981
+ "gen2-battery": "gen2-battery";
64982
+ }>;
64983
+ version: z$1.ZodString;
64984
+ revision: z$1.ZodString;
64985
+ size: z$1.ZodInt;
64986
+ sha256: z$1.ZodString;
64987
+ notes: z$1.ZodString;
64988
+ downloadUrl: z$1.ZodURL;
64989
+ availableForUpdates: z$1.ZodBoolean;
64990
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
64991
+ readonly inventory_changed: {
64992
+ readonly status: 412;
64993
+ readonly data: z$1.ZodType<{
64994
+ traceId: string;
64995
+ recovery: {
64996
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
64997
+ } | {
64998
+ action: "read_operation";
64999
+ operation: {
65000
+ kind: "command";
65001
+ serialNumber: string;
65002
+ idempotencyKey: string;
65003
+ } | {
65004
+ kind: "firmware";
65005
+ serialNumber: string;
65006
+ updateId: string;
65007
+ } | {
65008
+ kind: "bluetooth_firmware";
65009
+ deviceId: string;
65010
+ updateId: string;
65011
+ } | {
65012
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65013
+ deviceId: string;
65014
+ requestId: string;
65015
+ } | {
65016
+ kind: "support";
65017
+ requestId: string;
65018
+ };
65019
+ };
65020
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65021
+ currentRevision?: string | undefined;
65022
+ retryAfterSeconds?: number | undefined;
65023
+ }, unknown, z$1.core.$ZodTypeInternals<{
65024
+ traceId: string;
65025
+ recovery: {
65026
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65027
+ } | {
65028
+ action: "read_operation";
65029
+ operation: {
65030
+ kind: "command";
65031
+ serialNumber: string;
65032
+ idempotencyKey: string;
65033
+ } | {
65034
+ kind: "firmware";
65035
+ serialNumber: string;
65036
+ updateId: string;
65037
+ } | {
65038
+ kind: "bluetooth_firmware";
65039
+ deviceId: string;
65040
+ updateId: string;
65041
+ } | {
65042
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65043
+ deviceId: string;
65044
+ requestId: string;
65045
+ } | {
65046
+ kind: "support";
65047
+ requestId: string;
65048
+ };
65049
+ };
65050
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65051
+ currentRevision?: string | undefined;
65052
+ retryAfterSeconds?: number | undefined;
65053
+ }, unknown>>;
65054
+ };
65055
+ readonly firmware_catalog_invalid: {
65056
+ readonly status: 503;
65057
+ readonly data: z$1.ZodType<{
65058
+ traceId: string;
65059
+ recovery: {
65060
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65061
+ } | {
65062
+ action: "read_operation";
65063
+ operation: {
65064
+ kind: "command";
65065
+ serialNumber: string;
65066
+ idempotencyKey: string;
65067
+ } | {
65068
+ kind: "firmware";
65069
+ serialNumber: string;
65070
+ updateId: string;
65071
+ } | {
65072
+ kind: "bluetooth_firmware";
65073
+ deviceId: string;
65074
+ updateId: string;
65075
+ } | {
65076
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65077
+ deviceId: string;
65078
+ requestId: string;
65079
+ } | {
65080
+ kind: "support";
65081
+ requestId: string;
65082
+ };
65083
+ };
65084
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65085
+ currentRevision?: string | undefined;
65086
+ retryAfterSeconds?: number | undefined;
65087
+ }, unknown, z$1.core.$ZodTypeInternals<{
65088
+ traceId: string;
65089
+ recovery: {
65090
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65091
+ } | {
65092
+ action: "read_operation";
65093
+ operation: {
65094
+ kind: "command";
65095
+ serialNumber: string;
65096
+ idempotencyKey: string;
65097
+ } | {
65098
+ kind: "firmware";
65099
+ serialNumber: string;
65100
+ updateId: string;
65101
+ } | {
65102
+ kind: "bluetooth_firmware";
65103
+ deviceId: string;
65104
+ updateId: string;
65105
+ } | {
65106
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65107
+ deviceId: string;
65108
+ requestId: string;
65109
+ } | {
65110
+ kind: "support";
65111
+ requestId: string;
65112
+ };
65113
+ };
65114
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65115
+ currentRevision?: string | undefined;
65116
+ retryAfterSeconds?: number | undefined;
65117
+ }, unknown>>;
65118
+ };
65119
+ readonly firmware_catalog_full: {
65120
+ readonly status: 503;
65121
+ readonly data: z$1.ZodType<{
65122
+ traceId: string;
65123
+ recovery: {
65124
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65125
+ } | {
65126
+ action: "read_operation";
65127
+ operation: {
65128
+ kind: "command";
65129
+ serialNumber: string;
65130
+ idempotencyKey: string;
65131
+ } | {
65132
+ kind: "firmware";
65133
+ serialNumber: string;
65134
+ updateId: string;
65135
+ } | {
65136
+ kind: "bluetooth_firmware";
65137
+ deviceId: string;
65138
+ updateId: string;
65139
+ } | {
65140
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65141
+ deviceId: string;
65142
+ requestId: string;
65143
+ } | {
65144
+ kind: "support";
65145
+ requestId: string;
65146
+ };
65147
+ };
65148
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65149
+ currentRevision?: string | undefined;
65150
+ retryAfterSeconds?: number | undefined;
65151
+ }, unknown, z$1.core.$ZodTypeInternals<{
65152
+ traceId: string;
65153
+ recovery: {
65154
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65155
+ } | {
65156
+ action: "read_operation";
65157
+ operation: {
65158
+ kind: "command";
65159
+ serialNumber: string;
65160
+ idempotencyKey: string;
65161
+ } | {
65162
+ kind: "firmware";
65163
+ serialNumber: string;
65164
+ updateId: string;
65165
+ } | {
65166
+ kind: "bluetooth_firmware";
65167
+ deviceId: string;
65168
+ updateId: string;
65169
+ } | {
65170
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65171
+ deviceId: string;
65172
+ requestId: string;
65173
+ } | {
65174
+ kind: "support";
65175
+ requestId: string;
65176
+ };
65177
+ };
65178
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65179
+ currentRevision?: string | undefined;
65180
+ retryAfterSeconds?: number | undefined;
65181
+ }, unknown>>;
65182
+ };
65183
+ readonly firmware_execution_invalid: {
65184
+ readonly status: 503;
65185
+ readonly data: z$1.ZodType<{
65186
+ traceId: string;
65187
+ recovery: {
65188
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65189
+ } | {
65190
+ action: "read_operation";
65191
+ operation: {
65192
+ kind: "command";
65193
+ serialNumber: string;
65194
+ idempotencyKey: string;
65195
+ } | {
65196
+ kind: "firmware";
65197
+ serialNumber: string;
65198
+ updateId: string;
65199
+ } | {
65200
+ kind: "bluetooth_firmware";
65201
+ deviceId: string;
65202
+ updateId: string;
65203
+ } | {
65204
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65205
+ deviceId: string;
65206
+ requestId: string;
65207
+ } | {
65208
+ kind: "support";
65209
+ requestId: string;
65210
+ };
65211
+ };
65212
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65213
+ currentRevision?: string | undefined;
65214
+ retryAfterSeconds?: number | undefined;
65215
+ }, unknown, z$1.core.$ZodTypeInternals<{
65216
+ traceId: string;
65217
+ recovery: {
65218
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65219
+ } | {
65220
+ action: "read_operation";
65221
+ operation: {
65222
+ kind: "command";
65223
+ serialNumber: string;
65224
+ idempotencyKey: string;
65225
+ } | {
65226
+ kind: "firmware";
65227
+ serialNumber: string;
65228
+ updateId: string;
65229
+ } | {
65230
+ kind: "bluetooth_firmware";
65231
+ deviceId: string;
65232
+ updateId: string;
65233
+ } | {
65234
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65235
+ deviceId: string;
65236
+ requestId: string;
65237
+ } | {
65238
+ kind: "support";
65239
+ requestId: string;
65240
+ };
65241
+ };
65242
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65243
+ currentRevision?: string | undefined;
65244
+ retryAfterSeconds?: number | undefined;
65245
+ }, unknown>>;
65246
+ };
65247
+ readonly firmware_review_changed: {
65248
+ readonly status: 412;
65249
+ readonly data: z$1.ZodType<{
65250
+ traceId: string;
65251
+ recovery: {
65252
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65253
+ } | {
65254
+ action: "read_operation";
65255
+ operation: {
65256
+ kind: "command";
65257
+ serialNumber: string;
65258
+ idempotencyKey: string;
65259
+ } | {
65260
+ kind: "firmware";
65261
+ serialNumber: string;
65262
+ updateId: string;
65263
+ } | {
65264
+ kind: "bluetooth_firmware";
65265
+ deviceId: string;
65266
+ updateId: string;
65267
+ } | {
65268
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65269
+ deviceId: string;
65270
+ requestId: string;
65271
+ } | {
65272
+ kind: "support";
65273
+ requestId: string;
65274
+ };
65275
+ };
65276
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65277
+ currentRevision?: string | undefined;
65278
+ retryAfterSeconds?: number | undefined;
65279
+ }, unknown, z$1.core.$ZodTypeInternals<{
65280
+ traceId: string;
65281
+ recovery: {
65282
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65283
+ } | {
65284
+ action: "read_operation";
65285
+ operation: {
65286
+ kind: "command";
65287
+ serialNumber: string;
65288
+ idempotencyKey: string;
65289
+ } | {
65290
+ kind: "firmware";
65291
+ serialNumber: string;
65292
+ updateId: string;
65293
+ } | {
65294
+ kind: "bluetooth_firmware";
65295
+ deviceId: string;
65296
+ updateId: string;
65297
+ } | {
65298
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65299
+ deviceId: string;
65300
+ requestId: string;
65301
+ } | {
65302
+ kind: "support";
65303
+ requestId: string;
65304
+ };
65305
+ };
65306
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65307
+ currentRevision?: string | undefined;
65308
+ retryAfterSeconds?: number | undefined;
65309
+ }, unknown>>;
65310
+ };
65311
+ readonly firmware_review_required: {
65312
+ readonly status: 428;
65313
+ readonly data: z$1.ZodType<{
65314
+ traceId: string;
65315
+ recovery: {
65316
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65317
+ } | {
65318
+ action: "read_operation";
65319
+ operation: {
65320
+ kind: "command";
65321
+ serialNumber: string;
65322
+ idempotencyKey: string;
65323
+ } | {
65324
+ kind: "firmware";
65325
+ serialNumber: string;
65326
+ updateId: string;
65327
+ } | {
65328
+ kind: "bluetooth_firmware";
65329
+ deviceId: string;
65330
+ updateId: string;
65331
+ } | {
65332
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65333
+ deviceId: string;
65334
+ requestId: string;
65335
+ } | {
65336
+ kind: "support";
65337
+ requestId: string;
65338
+ };
65339
+ };
65340
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65341
+ currentRevision?: string | undefined;
65342
+ retryAfterSeconds?: number | undefined;
65343
+ }, unknown, z$1.core.$ZodTypeInternals<{
65344
+ traceId: string;
65345
+ recovery: {
65346
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65347
+ } | {
65348
+ action: "read_operation";
65349
+ operation: {
65350
+ kind: "command";
65351
+ serialNumber: string;
65352
+ idempotencyKey: string;
65353
+ } | {
65354
+ kind: "firmware";
65355
+ serialNumber: string;
65356
+ updateId: string;
65357
+ } | {
65358
+ kind: "bluetooth_firmware";
65359
+ deviceId: string;
65360
+ updateId: string;
65361
+ } | {
65362
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65363
+ deviceId: string;
65364
+ requestId: string;
65365
+ } | {
65366
+ kind: "support";
65367
+ requestId: string;
65368
+ };
65369
+ };
65370
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65371
+ currentRevision?: string | undefined;
65372
+ retryAfterSeconds?: number | undefined;
65373
+ }, unknown>>;
65374
+ };
65375
+ readonly firmware_policy_unavailable: {
65376
+ readonly status: 503;
65377
+ readonly data: z$1.ZodType<{
65378
+ traceId: string;
65379
+ recovery: {
65380
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65381
+ } | {
65382
+ action: "read_operation";
65383
+ operation: {
65384
+ kind: "command";
65385
+ serialNumber: string;
65386
+ idempotencyKey: string;
65387
+ } | {
65388
+ kind: "firmware";
65389
+ serialNumber: string;
65390
+ updateId: string;
65391
+ } | {
65392
+ kind: "bluetooth_firmware";
65393
+ deviceId: string;
65394
+ updateId: string;
65395
+ } | {
65396
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65397
+ deviceId: string;
65398
+ requestId: string;
65399
+ } | {
65400
+ kind: "support";
65401
+ requestId: string;
65402
+ };
65403
+ };
65404
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65405
+ currentRevision?: string | undefined;
65406
+ retryAfterSeconds?: number | undefined;
65407
+ }, unknown, z$1.core.$ZodTypeInternals<{
65408
+ traceId: string;
65409
+ recovery: {
65410
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65411
+ } | {
65412
+ action: "read_operation";
65413
+ operation: {
65414
+ kind: "command";
65415
+ serialNumber: string;
65416
+ idempotencyKey: string;
65417
+ } | {
65418
+ kind: "firmware";
65419
+ serialNumber: string;
65420
+ updateId: string;
65421
+ } | {
65422
+ kind: "bluetooth_firmware";
65423
+ deviceId: string;
65424
+ updateId: string;
65425
+ } | {
65426
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65427
+ deviceId: string;
65428
+ requestId: string;
65429
+ } | {
65430
+ kind: "support";
65431
+ requestId: string;
65432
+ };
65433
+ };
65434
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65435
+ currentRevision?: string | undefined;
65436
+ retryAfterSeconds?: number | undefined;
65437
+ }, unknown>>;
65438
+ };
65439
+ readonly firmware_release_unavailable: {
65440
+ readonly status: 503;
65441
+ readonly data: z$1.ZodType<{
65442
+ traceId: string;
65443
+ recovery: {
65444
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65445
+ } | {
65446
+ action: "read_operation";
65447
+ operation: {
65448
+ kind: "command";
65449
+ serialNumber: string;
65450
+ idempotencyKey: string;
65451
+ } | {
65452
+ kind: "firmware";
65453
+ serialNumber: string;
65454
+ updateId: string;
65455
+ } | {
65456
+ kind: "bluetooth_firmware";
65457
+ deviceId: string;
65458
+ updateId: string;
65459
+ } | {
65460
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65461
+ deviceId: string;
65462
+ requestId: string;
65463
+ } | {
65464
+ kind: "support";
65465
+ requestId: string;
65466
+ };
65467
+ };
65468
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65469
+ currentRevision?: string | undefined;
65470
+ retryAfterSeconds?: number | undefined;
65471
+ }, unknown, z$1.core.$ZodTypeInternals<{
65472
+ traceId: string;
65473
+ recovery: {
65474
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65475
+ } | {
65476
+ action: "read_operation";
65477
+ operation: {
65478
+ kind: "command";
65479
+ serialNumber: string;
65480
+ idempotencyKey: string;
65481
+ } | {
65482
+ kind: "firmware";
65483
+ serialNumber: string;
65484
+ updateId: string;
65485
+ } | {
65486
+ kind: "bluetooth_firmware";
65487
+ deviceId: string;
65488
+ updateId: string;
65489
+ } | {
65490
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65491
+ deviceId: string;
65492
+ requestId: string;
65493
+ } | {
65494
+ kind: "support";
65495
+ requestId: string;
65496
+ };
65497
+ };
65498
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65499
+ currentRevision?: string | undefined;
65500
+ retryAfterSeconds?: number | undefined;
65501
+ }, unknown>>;
65502
+ };
63574
65503
  readonly invalid: {
63575
65504
  readonly status: 400;
63576
65505
  readonly data: z$1.ZodType<{
@@ -63635,8 +65564,136 @@ export declare const firmwareCatalogContract: {
63635
65564
  retryAfterSeconds?: number | undefined;
63636
65565
  }, unknown>>;
63637
65566
  };
63638
- readonly unauthenticated: {
63639
- readonly status: 401;
65567
+ readonly unauthenticated: {
65568
+ readonly status: 401;
65569
+ readonly data: z$1.ZodType<{
65570
+ traceId: string;
65571
+ recovery: {
65572
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65573
+ } | {
65574
+ action: "read_operation";
65575
+ operation: {
65576
+ kind: "command";
65577
+ serialNumber: string;
65578
+ idempotencyKey: string;
65579
+ } | {
65580
+ kind: "firmware";
65581
+ serialNumber: string;
65582
+ updateId: string;
65583
+ } | {
65584
+ kind: "bluetooth_firmware";
65585
+ deviceId: string;
65586
+ updateId: string;
65587
+ } | {
65588
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65589
+ deviceId: string;
65590
+ requestId: string;
65591
+ } | {
65592
+ kind: "support";
65593
+ requestId: string;
65594
+ };
65595
+ };
65596
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65597
+ currentRevision?: string | undefined;
65598
+ retryAfterSeconds?: number | undefined;
65599
+ }, unknown, z$1.core.$ZodTypeInternals<{
65600
+ traceId: string;
65601
+ recovery: {
65602
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65603
+ } | {
65604
+ action: "read_operation";
65605
+ operation: {
65606
+ kind: "command";
65607
+ serialNumber: string;
65608
+ idempotencyKey: string;
65609
+ } | {
65610
+ kind: "firmware";
65611
+ serialNumber: string;
65612
+ updateId: string;
65613
+ } | {
65614
+ kind: "bluetooth_firmware";
65615
+ deviceId: string;
65616
+ updateId: string;
65617
+ } | {
65618
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65619
+ deviceId: string;
65620
+ requestId: string;
65621
+ } | {
65622
+ kind: "support";
65623
+ requestId: string;
65624
+ };
65625
+ };
65626
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65627
+ currentRevision?: string | undefined;
65628
+ retryAfterSeconds?: number | undefined;
65629
+ }, unknown>>;
65630
+ };
65631
+ readonly forbidden: {
65632
+ readonly status: 403;
65633
+ readonly data: z$1.ZodType<{
65634
+ traceId: string;
65635
+ recovery: {
65636
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65637
+ } | {
65638
+ action: "read_operation";
65639
+ operation: {
65640
+ kind: "command";
65641
+ serialNumber: string;
65642
+ idempotencyKey: string;
65643
+ } | {
65644
+ kind: "firmware";
65645
+ serialNumber: string;
65646
+ updateId: string;
65647
+ } | {
65648
+ kind: "bluetooth_firmware";
65649
+ deviceId: string;
65650
+ updateId: string;
65651
+ } | {
65652
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65653
+ deviceId: string;
65654
+ requestId: string;
65655
+ } | {
65656
+ kind: "support";
65657
+ requestId: string;
65658
+ };
65659
+ };
65660
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65661
+ currentRevision?: string | undefined;
65662
+ retryAfterSeconds?: number | undefined;
65663
+ }, unknown, z$1.core.$ZodTypeInternals<{
65664
+ traceId: string;
65665
+ recovery: {
65666
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
65667
+ } | {
65668
+ action: "read_operation";
65669
+ operation: {
65670
+ kind: "command";
65671
+ serialNumber: string;
65672
+ idempotencyKey: string;
65673
+ } | {
65674
+ kind: "firmware";
65675
+ serialNumber: string;
65676
+ updateId: string;
65677
+ } | {
65678
+ kind: "bluetooth_firmware";
65679
+ deviceId: string;
65680
+ updateId: string;
65681
+ } | {
65682
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
65683
+ deviceId: string;
65684
+ requestId: string;
65685
+ } | {
65686
+ kind: "support";
65687
+ requestId: string;
65688
+ };
65689
+ };
65690
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
65691
+ currentRevision?: string | undefined;
65692
+ retryAfterSeconds?: number | undefined;
65693
+ }, unknown>>;
65694
+ };
65695
+ readonly not_found: {
65696
+ readonly status: 404;
63640
65697
  readonly data: z$1.ZodType<{
63641
65698
  traceId: string;
63642
65699
  recovery: {
@@ -63699,8 +65756,8 @@ export declare const firmwareCatalogContract: {
63699
65756
  retryAfterSeconds?: number | undefined;
63700
65757
  }, unknown>>;
63701
65758
  };
63702
- readonly forbidden: {
63703
- readonly status: 403;
65759
+ readonly conflict: {
65760
+ readonly status: 409;
63704
65761
  readonly data: z$1.ZodType<{
63705
65762
  traceId: string;
63706
65763
  recovery: {
@@ -63763,8 +65820,8 @@ export declare const firmwareCatalogContract: {
63763
65820
  retryAfterSeconds?: number | undefined;
63764
65821
  }, unknown>>;
63765
65822
  };
63766
- readonly not_found: {
63767
- readonly status: 404;
65823
+ readonly rate_limited: {
65824
+ readonly status: 429;
63768
65825
  readonly data: z$1.ZodType<{
63769
65826
  traceId: string;
63770
65827
  recovery: {
@@ -63827,8 +65884,8 @@ export declare const firmwareCatalogContract: {
63827
65884
  retryAfterSeconds?: number | undefined;
63828
65885
  }, unknown>>;
63829
65886
  };
63830
- readonly conflict: {
63831
- readonly status: 409;
65887
+ readonly stored_data_invalid: {
65888
+ readonly status: 503;
63832
65889
  readonly data: z$1.ZodType<{
63833
65890
  traceId: string;
63834
65891
  recovery: {
@@ -63891,8 +65948,8 @@ export declare const firmwareCatalogContract: {
63891
65948
  retryAfterSeconds?: number | undefined;
63892
65949
  }, unknown>>;
63893
65950
  };
63894
- readonly rate_limited: {
63895
- readonly status: 429;
65951
+ readonly service_unavailable: {
65952
+ readonly status: 503;
63896
65953
  readonly data: z$1.ZodType<{
63897
65954
  traceId: string;
63898
65955
  recovery: {
@@ -63955,7 +66012,7 @@ export declare const firmwareCatalogContract: {
63955
66012
  retryAfterSeconds?: number | undefined;
63956
66013
  }, unknown>>;
63957
66014
  };
63958
- readonly stored_data_invalid: {
66015
+ readonly read_unavailable: {
63959
66016
  readonly status: 503;
63960
66017
  readonly data: z$1.ZodType<{
63961
66018
  traceId: string;
@@ -64019,7 +66076,7 @@ export declare const firmwareCatalogContract: {
64019
66076
  retryAfterSeconds?: number | undefined;
64020
66077
  }, unknown>>;
64021
66078
  };
64022
- readonly service_unavailable: {
66079
+ readonly stream_unavailable: {
64023
66080
  readonly status: 503;
64024
66081
  readonly data: z$1.ZodType<{
64025
66082
  traceId: string;
@@ -64083,8 +66140,8 @@ export declare const firmwareCatalogContract: {
64083
66140
  retryAfterSeconds?: number | undefined;
64084
66141
  }, unknown>>;
64085
66142
  };
64086
- readonly read_unavailable: {
64087
- readonly status: 503;
66143
+ readonly payload_too_large: {
66144
+ readonly status: 413;
64088
66145
  readonly data: z$1.ZodType<{
64089
66146
  traceId: string;
64090
66147
  recovery: {
@@ -64147,7 +66204,7 @@ export declare const firmwareCatalogContract: {
64147
66204
  retryAfterSeconds?: number | undefined;
64148
66205
  }, unknown>>;
64149
66206
  };
64150
- readonly stream_unavailable: {
66207
+ readonly request_timeout: {
64151
66208
  readonly status: 503;
64152
66209
  readonly data: z$1.ZodType<{
64153
66210
  traceId: string;
@@ -64211,8 +66268,8 @@ export declare const firmwareCatalogContract: {
64211
66268
  retryAfterSeconds?: number | undefined;
64212
66269
  }, unknown>>;
64213
66270
  };
64214
- readonly payload_too_large: {
64215
- readonly status: 413;
66271
+ readonly operation_unconfirmed: {
66272
+ readonly status: 503;
64216
66273
  readonly data: z$1.ZodType<{
64217
66274
  traceId: string;
64218
66275
  recovery: {
@@ -64275,7 +66332,7 @@ export declare const firmwareCatalogContract: {
64275
66332
  retryAfterSeconds?: number | undefined;
64276
66333
  }, unknown>>;
64277
66334
  };
64278
- readonly request_timeout: {
66335
+ readonly directory_unavailable: {
64279
66336
  readonly status: 503;
64280
66337
  readonly data: z$1.ZodType<{
64281
66338
  traceId: string;
@@ -64339,8 +66396,33 @@ export declare const firmwareCatalogContract: {
64339
66396
  retryAfterSeconds?: number | undefined;
64340
66397
  }, unknown>>;
64341
66398
  };
64342
- readonly operation_unconfirmed: {
64343
- readonly status: 503;
66399
+ }>, Record<never, never>>;
66400
+ publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
66401
+ family: z$1.ZodEnum<{
66402
+ "gen2-lte": "gen2-lte";
66403
+ "gen2-battery": "gen2-battery";
66404
+ }>;
66405
+ version: z$1.ZodString;
66406
+ notes: z$1.ZodString;
66407
+ size: z$1.ZodInt;
66408
+ sha256: z$1.ZodString;
66409
+ file: z$1.ZodFile;
66410
+ }, z$1.core.$strict>, z$1.ZodObject<{
66411
+ id: z$1.ZodString;
66412
+ family: z$1.ZodEnum<{
66413
+ "gen2-lte": "gen2-lte";
66414
+ "gen2-battery": "gen2-battery";
66415
+ }>;
66416
+ version: z$1.ZodString;
66417
+ revision: z$1.ZodString;
66418
+ size: z$1.ZodInt;
66419
+ sha256: z$1.ZodString;
66420
+ notes: z$1.ZodString;
66421
+ downloadUrl: z$1.ZodURL;
66422
+ availableForUpdates: z$1.ZodBoolean;
66423
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
66424
+ readonly inventory_changed: {
66425
+ readonly status: 412;
64344
66426
  readonly data: z$1.ZodType<{
64345
66427
  traceId: string;
64346
66428
  recovery: {
@@ -64403,7 +66485,7 @@ export declare const firmwareCatalogContract: {
64403
66485
  retryAfterSeconds?: number | undefined;
64404
66486
  }, unknown>>;
64405
66487
  };
64406
- readonly directory_unavailable: {
66488
+ readonly firmware_catalog_invalid: {
64407
66489
  readonly status: 503;
64408
66490
  readonly data: z$1.ZodType<{
64409
66491
  traceId: string;
@@ -64467,27 +66549,8 @@ export declare const firmwareCatalogContract: {
64467
66549
  retryAfterSeconds?: number | undefined;
64468
66550
  }, unknown>>;
64469
66551
  };
64470
- }>, Record<never, never>>;
64471
- get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
64472
- id: z$1.ZodString;
64473
- }, z$1.core.$strict>, z$1.ZodObject<{
64474
- id: z$1.ZodString;
64475
- family: z$1.ZodEnum<{
64476
- "gen2-lte": "gen2-lte";
64477
- "gen2-battery": "gen2-battery";
64478
- }>;
64479
- version: z$1.ZodString;
64480
- revision: z$1.ZodString;
64481
- size: z$1.ZodInt;
64482
- sha256: z$1.ZodString;
64483
- notes: z$1.ZodString;
64484
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
64485
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
64486
- downloadUrl: z$1.ZodURL;
64487
- availableForUpdates: z$1.ZodBoolean;
64488
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
64489
- readonly invalid: {
64490
- readonly status: 400;
66552
+ readonly firmware_catalog_full: {
66553
+ readonly status: 503;
64491
66554
  readonly data: z$1.ZodType<{
64492
66555
  traceId: string;
64493
66556
  recovery: {
@@ -64550,8 +66613,8 @@ export declare const firmwareCatalogContract: {
64550
66613
  retryAfterSeconds?: number | undefined;
64551
66614
  }, unknown>>;
64552
66615
  };
64553
- readonly unauthenticated: {
64554
- readonly status: 401;
66616
+ readonly firmware_execution_invalid: {
66617
+ readonly status: 503;
64555
66618
  readonly data: z$1.ZodType<{
64556
66619
  traceId: string;
64557
66620
  recovery: {
@@ -64614,8 +66677,8 @@ export declare const firmwareCatalogContract: {
64614
66677
  retryAfterSeconds?: number | undefined;
64615
66678
  }, unknown>>;
64616
66679
  };
64617
- readonly forbidden: {
64618
- readonly status: 403;
66680
+ readonly firmware_review_changed: {
66681
+ readonly status: 412;
64619
66682
  readonly data: z$1.ZodType<{
64620
66683
  traceId: string;
64621
66684
  recovery: {
@@ -64678,8 +66741,8 @@ export declare const firmwareCatalogContract: {
64678
66741
  retryAfterSeconds?: number | undefined;
64679
66742
  }, unknown>>;
64680
66743
  };
64681
- readonly not_found: {
64682
- readonly status: 404;
66744
+ readonly firmware_review_required: {
66745
+ readonly status: 428;
64683
66746
  readonly data: z$1.ZodType<{
64684
66747
  traceId: string;
64685
66748
  recovery: {
@@ -64742,8 +66805,8 @@ export declare const firmwareCatalogContract: {
64742
66805
  retryAfterSeconds?: number | undefined;
64743
66806
  }, unknown>>;
64744
66807
  };
64745
- readonly conflict: {
64746
- readonly status: 409;
66808
+ readonly firmware_policy_unavailable: {
66809
+ readonly status: 503;
64747
66810
  readonly data: z$1.ZodType<{
64748
66811
  traceId: string;
64749
66812
  recovery: {
@@ -64806,8 +66869,8 @@ export declare const firmwareCatalogContract: {
64806
66869
  retryAfterSeconds?: number | undefined;
64807
66870
  }, unknown>>;
64808
66871
  };
64809
- readonly rate_limited: {
64810
- readonly status: 429;
66872
+ readonly firmware_release_unavailable: {
66873
+ readonly status: 503;
64811
66874
  readonly data: z$1.ZodType<{
64812
66875
  traceId: string;
64813
66876
  recovery: {
@@ -64870,8 +66933,8 @@ export declare const firmwareCatalogContract: {
64870
66933
  retryAfterSeconds?: number | undefined;
64871
66934
  }, unknown>>;
64872
66935
  };
64873
- readonly stored_data_invalid: {
64874
- readonly status: 503;
66936
+ readonly invalid: {
66937
+ readonly status: 400;
64875
66938
  readonly data: z$1.ZodType<{
64876
66939
  traceId: string;
64877
66940
  recovery: {
@@ -64934,8 +66997,8 @@ export declare const firmwareCatalogContract: {
64934
66997
  retryAfterSeconds?: number | undefined;
64935
66998
  }, unknown>>;
64936
66999
  };
64937
- readonly service_unavailable: {
64938
- readonly status: 503;
67000
+ readonly unauthenticated: {
67001
+ readonly status: 401;
64939
67002
  readonly data: z$1.ZodType<{
64940
67003
  traceId: string;
64941
67004
  recovery: {
@@ -64998,8 +67061,8 @@ export declare const firmwareCatalogContract: {
64998
67061
  retryAfterSeconds?: number | undefined;
64999
67062
  }, unknown>>;
65000
67063
  };
65001
- readonly read_unavailable: {
65002
- readonly status: 503;
67064
+ readonly forbidden: {
67065
+ readonly status: 403;
65003
67066
  readonly data: z$1.ZodType<{
65004
67067
  traceId: string;
65005
67068
  recovery: {
@@ -65062,8 +67125,8 @@ export declare const firmwareCatalogContract: {
65062
67125
  retryAfterSeconds?: number | undefined;
65063
67126
  }, unknown>>;
65064
67127
  };
65065
- readonly stream_unavailable: {
65066
- readonly status: 503;
67128
+ readonly not_found: {
67129
+ readonly status: 404;
65067
67130
  readonly data: z$1.ZodType<{
65068
67131
  traceId: string;
65069
67132
  recovery: {
@@ -65126,8 +67189,8 @@ export declare const firmwareCatalogContract: {
65126
67189
  retryAfterSeconds?: number | undefined;
65127
67190
  }, unknown>>;
65128
67191
  };
65129
- readonly payload_too_large: {
65130
- readonly status: 413;
67192
+ readonly conflict: {
67193
+ readonly status: 409;
65131
67194
  readonly data: z$1.ZodType<{
65132
67195
  traceId: string;
65133
67196
  recovery: {
@@ -65190,8 +67253,8 @@ export declare const firmwareCatalogContract: {
65190
67253
  retryAfterSeconds?: number | undefined;
65191
67254
  }, unknown>>;
65192
67255
  };
65193
- readonly request_timeout: {
65194
- readonly status: 503;
67256
+ readonly rate_limited: {
67257
+ readonly status: 429;
65195
67258
  readonly data: z$1.ZodType<{
65196
67259
  traceId: string;
65197
67260
  recovery: {
@@ -65254,7 +67317,7 @@ export declare const firmwareCatalogContract: {
65254
67317
  retryAfterSeconds?: number | undefined;
65255
67318
  }, unknown>>;
65256
67319
  };
65257
- readonly operation_unconfirmed: {
67320
+ readonly stored_data_invalid: {
65258
67321
  readonly status: 503;
65259
67322
  readonly data: z$1.ZodType<{
65260
67323
  traceId: string;
@@ -65318,7 +67381,7 @@ export declare const firmwareCatalogContract: {
65318
67381
  retryAfterSeconds?: number | undefined;
65319
67382
  }, unknown>>;
65320
67383
  };
65321
- readonly directory_unavailable: {
67384
+ readonly service_unavailable: {
65322
67385
  readonly status: 503;
65323
67386
  readonly data: z$1.ZodType<{
65324
67387
  traceId: string;
@@ -65382,37 +67445,8 @@ export declare const firmwareCatalogContract: {
65382
67445
  retryAfterSeconds?: number | undefined;
65383
67446
  }, unknown>>;
65384
67447
  };
65385
- }>, Record<never, never>>;
65386
- publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
65387
- family: z$1.ZodEnum<{
65388
- "gen2-lte": "gen2-lte";
65389
- "gen2-battery": "gen2-battery";
65390
- }>;
65391
- version: z$1.ZodString;
65392
- notes: z$1.ZodString;
65393
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
65394
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
65395
- size: z$1.ZodInt;
65396
- sha256: z$1.ZodString;
65397
- file: z$1.ZodFile;
65398
- }, z$1.core.$strict>, z$1.ZodObject<{
65399
- id: z$1.ZodString;
65400
- family: z$1.ZodEnum<{
65401
- "gen2-lte": "gen2-lte";
65402
- "gen2-battery": "gen2-battery";
65403
- }>;
65404
- version: z$1.ZodString;
65405
- revision: z$1.ZodString;
65406
- size: z$1.ZodInt;
65407
- sha256: z$1.ZodString;
65408
- notes: z$1.ZodString;
65409
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
65410
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
65411
- downloadUrl: z$1.ZodURL;
65412
- availableForUpdates: z$1.ZodBoolean;
65413
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
65414
- readonly invalid: {
65415
- readonly status: 400;
67448
+ readonly read_unavailable: {
67449
+ readonly status: 503;
65416
67450
  readonly data: z$1.ZodType<{
65417
67451
  traceId: string;
65418
67452
  recovery: {
@@ -65475,8 +67509,8 @@ export declare const firmwareCatalogContract: {
65475
67509
  retryAfterSeconds?: number | undefined;
65476
67510
  }, unknown>>;
65477
67511
  };
65478
- readonly unauthenticated: {
65479
- readonly status: 401;
67512
+ readonly stream_unavailable: {
67513
+ readonly status: 503;
65480
67514
  readonly data: z$1.ZodType<{
65481
67515
  traceId: string;
65482
67516
  recovery: {
@@ -65539,8 +67573,8 @@ export declare const firmwareCatalogContract: {
65539
67573
  retryAfterSeconds?: number | undefined;
65540
67574
  }, unknown>>;
65541
67575
  };
65542
- readonly forbidden: {
65543
- readonly status: 403;
67576
+ readonly payload_too_large: {
67577
+ readonly status: 413;
65544
67578
  readonly data: z$1.ZodType<{
65545
67579
  traceId: string;
65546
67580
  recovery: {
@@ -65603,8 +67637,8 @@ export declare const firmwareCatalogContract: {
65603
67637
  retryAfterSeconds?: number | undefined;
65604
67638
  }, unknown>>;
65605
67639
  };
65606
- readonly not_found: {
65607
- readonly status: 404;
67640
+ readonly request_timeout: {
67641
+ readonly status: 503;
65608
67642
  readonly data: z$1.ZodType<{
65609
67643
  traceId: string;
65610
67644
  recovery: {
@@ -65667,8 +67701,8 @@ export declare const firmwareCatalogContract: {
65667
67701
  retryAfterSeconds?: number | undefined;
65668
67702
  }, unknown>>;
65669
67703
  };
65670
- readonly conflict: {
65671
- readonly status: 409;
67704
+ readonly operation_unconfirmed: {
67705
+ readonly status: 503;
65672
67706
  readonly data: z$1.ZodType<{
65673
67707
  traceId: string;
65674
67708
  recovery: {
@@ -65731,8 +67765,8 @@ export declare const firmwareCatalogContract: {
65731
67765
  retryAfterSeconds?: number | undefined;
65732
67766
  }, unknown>>;
65733
67767
  };
65734
- readonly rate_limited: {
65735
- readonly status: 429;
67768
+ readonly directory_unavailable: {
67769
+ readonly status: 503;
65736
67770
  readonly data: z$1.ZodType<{
65737
67771
  traceId: string;
65738
67772
  recovery: {
@@ -65795,8 +67829,26 @@ export declare const firmwareCatalogContract: {
65795
67829
  retryAfterSeconds?: number | undefined;
65796
67830
  }, unknown>>;
65797
67831
  };
65798
- readonly stored_data_invalid: {
65799
- readonly status: 503;
67832
+ }>, Record<never, never>>;
67833
+ enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
67834
+ id: z$1.ZodString;
67835
+ revision: z$1.ZodString;
67836
+ }, z$1.core.$strict>, z$1.ZodObject<{
67837
+ id: z$1.ZodString;
67838
+ family: z$1.ZodEnum<{
67839
+ "gen2-lte": "gen2-lte";
67840
+ "gen2-battery": "gen2-battery";
67841
+ }>;
67842
+ version: z$1.ZodString;
67843
+ revision: z$1.ZodString;
67844
+ size: z$1.ZodInt;
67845
+ sha256: z$1.ZodString;
67846
+ notes: z$1.ZodString;
67847
+ downloadUrl: z$1.ZodURL;
67848
+ availableForUpdates: z$1.ZodBoolean;
67849
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
67850
+ readonly inventory_changed: {
67851
+ readonly status: 412;
65800
67852
  readonly data: z$1.ZodType<{
65801
67853
  traceId: string;
65802
67854
  recovery: {
@@ -65859,7 +67911,7 @@ export declare const firmwareCatalogContract: {
65859
67911
  retryAfterSeconds?: number | undefined;
65860
67912
  }, unknown>>;
65861
67913
  };
65862
- readonly service_unavailable: {
67914
+ readonly firmware_catalog_invalid: {
65863
67915
  readonly status: 503;
65864
67916
  readonly data: z$1.ZodType<{
65865
67917
  traceId: string;
@@ -65923,7 +67975,7 @@ export declare const firmwareCatalogContract: {
65923
67975
  retryAfterSeconds?: number | undefined;
65924
67976
  }, unknown>>;
65925
67977
  };
65926
- readonly read_unavailable: {
67978
+ readonly firmware_catalog_full: {
65927
67979
  readonly status: 503;
65928
67980
  readonly data: z$1.ZodType<{
65929
67981
  traceId: string;
@@ -65987,7 +68039,7 @@ export declare const firmwareCatalogContract: {
65987
68039
  retryAfterSeconds?: number | undefined;
65988
68040
  }, unknown>>;
65989
68041
  };
65990
- readonly stream_unavailable: {
68042
+ readonly firmware_execution_invalid: {
65991
68043
  readonly status: 503;
65992
68044
  readonly data: z$1.ZodType<{
65993
68045
  traceId: string;
@@ -66051,8 +68103,8 @@ export declare const firmwareCatalogContract: {
66051
68103
  retryAfterSeconds?: number | undefined;
66052
68104
  }, unknown>>;
66053
68105
  };
66054
- readonly payload_too_large: {
66055
- readonly status: 413;
68106
+ readonly firmware_review_changed: {
68107
+ readonly status: 412;
66056
68108
  readonly data: z$1.ZodType<{
66057
68109
  traceId: string;
66058
68110
  recovery: {
@@ -66115,8 +68167,8 @@ export declare const firmwareCatalogContract: {
66115
68167
  retryAfterSeconds?: number | undefined;
66116
68168
  }, unknown>>;
66117
68169
  };
66118
- readonly request_timeout: {
66119
- readonly status: 503;
68170
+ readonly firmware_review_required: {
68171
+ readonly status: 428;
66120
68172
  readonly data: z$1.ZodType<{
66121
68173
  traceId: string;
66122
68174
  recovery: {
@@ -66179,7 +68231,7 @@ export declare const firmwareCatalogContract: {
66179
68231
  retryAfterSeconds?: number | undefined;
66180
68232
  }, unknown>>;
66181
68233
  };
66182
- readonly operation_unconfirmed: {
68234
+ readonly firmware_policy_unavailable: {
66183
68235
  readonly status: 503;
66184
68236
  readonly data: z$1.ZodType<{
66185
68237
  traceId: string;
@@ -66243,7 +68295,7 @@ export declare const firmwareCatalogContract: {
66243
68295
  retryAfterSeconds?: number | undefined;
66244
68296
  }, unknown>>;
66245
68297
  };
66246
- readonly directory_unavailable: {
68298
+ readonly firmware_release_unavailable: {
66247
68299
  readonly status: 503;
66248
68300
  readonly data: z$1.ZodType<{
66249
68301
  traceId: string;
@@ -66307,26 +68359,6 @@ export declare const firmwareCatalogContract: {
66307
68359
  retryAfterSeconds?: number | undefined;
66308
68360
  }, unknown>>;
66309
68361
  };
66310
- }>, Record<never, never>>;
66311
- enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
66312
- id: z$1.ZodString;
66313
- revision: z$1.ZodString;
66314
- }, z$1.core.$strict>, z$1.ZodObject<{
66315
- id: z$1.ZodString;
66316
- family: z$1.ZodEnum<{
66317
- "gen2-lte": "gen2-lte";
66318
- "gen2-battery": "gen2-battery";
66319
- }>;
66320
- version: z$1.ZodString;
66321
- revision: z$1.ZodString;
66322
- size: z$1.ZodInt;
66323
- sha256: z$1.ZodString;
66324
- notes: z$1.ZodString;
66325
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
66326
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
66327
- downloadUrl: z$1.ZodURL;
66328
- availableForUpdates: z$1.ZodBoolean;
66329
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
66330
68362
  readonly invalid: {
66331
68363
  readonly status: 400;
66332
68364
  readonly data: z$1.ZodType<{