@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/schemas.d.ts CHANGED
@@ -35401,7 +35401,7 @@ export declare const firmwareCatalogFamily: z$1.ZodEnum<{
35401
35401
  "gen2-lte": "gen2-lte";
35402
35402
  "gen2-battery": "gen2-battery";
35403
35403
  }>;
35404
- export declare const firmwareCatalogCapability = "firmware-catalog-v1";
35404
+ export declare const firmwareCatalogCapability = "firmware-catalog-v2";
35405
35405
  export declare const maximumFirmwareUploadBytes: number;
35406
35406
  export declare const catalogFirmwareVersion: z$1.ZodString;
35407
35407
  export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
@@ -35411,8 +35411,6 @@ export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
35411
35411
  }>;
35412
35412
  version: z$1.ZodString;
35413
35413
  notes: z$1.ZodString;
35414
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35415
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35416
35414
  size: z$1.ZodInt;
35417
35415
  sha256: z$1.ZodString;
35418
35416
  }, z$1.core.$strict>;
@@ -35423,8 +35421,6 @@ export declare const firmwareCatalogPublishInput: z$1.ZodObject<{
35423
35421
  }>;
35424
35422
  version: z$1.ZodString;
35425
35423
  notes: z$1.ZodString;
35426
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35427
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35428
35424
  size: z$1.ZodInt;
35429
35425
  sha256: z$1.ZodString;
35430
35426
  file: z$1.ZodFile;
@@ -35440,8 +35436,6 @@ export declare const firmwareCatalogRelease: z$1.ZodObject<{
35440
35436
  size: z$1.ZodInt;
35441
35437
  sha256: z$1.ZodString;
35442
35438
  notes: z$1.ZodString;
35443
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35444
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35445
35439
  downloadUrl: z$1.ZodURL;
35446
35440
  availableForUpdates: z$1.ZodBoolean;
35447
35441
  }, z$1.core.$strip>;
@@ -35468,13 +35462,1948 @@ export declare const firmwareCatalogContract: {
35468
35462
  size: z$1.ZodInt;
35469
35463
  sha256: z$1.ZodString;
35470
35464
  notes: z$1.ZodString;
35471
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35472
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35473
35465
  downloadUrl: z$1.ZodURL;
35474
35466
  availableForUpdates: z$1.ZodBoolean;
35475
35467
  }, z$1.core.$strip>>;
35476
35468
  nextAfter: z$1.ZodNullable<z$1.ZodString>;
35477
35469
  }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
35470
+ readonly inventory_changed: {
35471
+ readonly status: 412;
35472
+ readonly data: z$1.ZodType<{
35473
+ traceId: string;
35474
+ recovery: {
35475
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35476
+ } | {
35477
+ action: "read_operation";
35478
+ operation: {
35479
+ kind: "command";
35480
+ serialNumber: string;
35481
+ idempotencyKey: string;
35482
+ } | {
35483
+ kind: "firmware";
35484
+ serialNumber: string;
35485
+ updateId: string;
35486
+ } | {
35487
+ kind: "bluetooth_firmware";
35488
+ deviceId: string;
35489
+ updateId: string;
35490
+ } | {
35491
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35492
+ deviceId: string;
35493
+ requestId: string;
35494
+ } | {
35495
+ kind: "support";
35496
+ requestId: string;
35497
+ };
35498
+ };
35499
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35500
+ currentRevision?: string | undefined;
35501
+ retryAfterSeconds?: number | undefined;
35502
+ }, unknown, z$1.core.$ZodTypeInternals<{
35503
+ traceId: string;
35504
+ recovery: {
35505
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35506
+ } | {
35507
+ action: "read_operation";
35508
+ operation: {
35509
+ kind: "command";
35510
+ serialNumber: string;
35511
+ idempotencyKey: string;
35512
+ } | {
35513
+ kind: "firmware";
35514
+ serialNumber: string;
35515
+ updateId: string;
35516
+ } | {
35517
+ kind: "bluetooth_firmware";
35518
+ deviceId: string;
35519
+ updateId: string;
35520
+ } | {
35521
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35522
+ deviceId: string;
35523
+ requestId: string;
35524
+ } | {
35525
+ kind: "support";
35526
+ requestId: string;
35527
+ };
35528
+ };
35529
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35530
+ currentRevision?: string | undefined;
35531
+ retryAfterSeconds?: number | undefined;
35532
+ }, unknown>>;
35533
+ };
35534
+ readonly firmware_catalog_invalid: {
35535
+ readonly status: 503;
35536
+ readonly data: z$1.ZodType<{
35537
+ traceId: string;
35538
+ recovery: {
35539
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35540
+ } | {
35541
+ action: "read_operation";
35542
+ operation: {
35543
+ kind: "command";
35544
+ serialNumber: string;
35545
+ idempotencyKey: string;
35546
+ } | {
35547
+ kind: "firmware";
35548
+ serialNumber: string;
35549
+ updateId: string;
35550
+ } | {
35551
+ kind: "bluetooth_firmware";
35552
+ deviceId: string;
35553
+ updateId: string;
35554
+ } | {
35555
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35556
+ deviceId: string;
35557
+ requestId: string;
35558
+ } | {
35559
+ kind: "support";
35560
+ requestId: string;
35561
+ };
35562
+ };
35563
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35564
+ currentRevision?: string | undefined;
35565
+ retryAfterSeconds?: number | undefined;
35566
+ }, unknown, z$1.core.$ZodTypeInternals<{
35567
+ traceId: string;
35568
+ recovery: {
35569
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35570
+ } | {
35571
+ action: "read_operation";
35572
+ operation: {
35573
+ kind: "command";
35574
+ serialNumber: string;
35575
+ idempotencyKey: string;
35576
+ } | {
35577
+ kind: "firmware";
35578
+ serialNumber: string;
35579
+ updateId: string;
35580
+ } | {
35581
+ kind: "bluetooth_firmware";
35582
+ deviceId: string;
35583
+ updateId: string;
35584
+ } | {
35585
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35586
+ deviceId: string;
35587
+ requestId: string;
35588
+ } | {
35589
+ kind: "support";
35590
+ requestId: string;
35591
+ };
35592
+ };
35593
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35594
+ currentRevision?: string | undefined;
35595
+ retryAfterSeconds?: number | undefined;
35596
+ }, unknown>>;
35597
+ };
35598
+ readonly firmware_catalog_full: {
35599
+ readonly status: 503;
35600
+ readonly data: z$1.ZodType<{
35601
+ traceId: string;
35602
+ recovery: {
35603
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35604
+ } | {
35605
+ action: "read_operation";
35606
+ operation: {
35607
+ kind: "command";
35608
+ serialNumber: string;
35609
+ idempotencyKey: string;
35610
+ } | {
35611
+ kind: "firmware";
35612
+ serialNumber: string;
35613
+ updateId: string;
35614
+ } | {
35615
+ kind: "bluetooth_firmware";
35616
+ deviceId: string;
35617
+ updateId: string;
35618
+ } | {
35619
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35620
+ deviceId: string;
35621
+ requestId: string;
35622
+ } | {
35623
+ kind: "support";
35624
+ requestId: string;
35625
+ };
35626
+ };
35627
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35628
+ currentRevision?: string | undefined;
35629
+ retryAfterSeconds?: number | undefined;
35630
+ }, unknown, z$1.core.$ZodTypeInternals<{
35631
+ traceId: string;
35632
+ recovery: {
35633
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35634
+ } | {
35635
+ action: "read_operation";
35636
+ operation: {
35637
+ kind: "command";
35638
+ serialNumber: string;
35639
+ idempotencyKey: string;
35640
+ } | {
35641
+ kind: "firmware";
35642
+ serialNumber: string;
35643
+ updateId: string;
35644
+ } | {
35645
+ kind: "bluetooth_firmware";
35646
+ deviceId: string;
35647
+ updateId: string;
35648
+ } | {
35649
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35650
+ deviceId: string;
35651
+ requestId: string;
35652
+ } | {
35653
+ kind: "support";
35654
+ requestId: string;
35655
+ };
35656
+ };
35657
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35658
+ currentRevision?: string | undefined;
35659
+ retryAfterSeconds?: number | undefined;
35660
+ }, unknown>>;
35661
+ };
35662
+ readonly firmware_execution_invalid: {
35663
+ readonly status: 503;
35664
+ readonly data: z$1.ZodType<{
35665
+ traceId: string;
35666
+ recovery: {
35667
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35668
+ } | {
35669
+ action: "read_operation";
35670
+ operation: {
35671
+ kind: "command";
35672
+ serialNumber: string;
35673
+ idempotencyKey: string;
35674
+ } | {
35675
+ kind: "firmware";
35676
+ serialNumber: string;
35677
+ updateId: string;
35678
+ } | {
35679
+ kind: "bluetooth_firmware";
35680
+ deviceId: string;
35681
+ updateId: string;
35682
+ } | {
35683
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35684
+ deviceId: string;
35685
+ requestId: string;
35686
+ } | {
35687
+ kind: "support";
35688
+ requestId: string;
35689
+ };
35690
+ };
35691
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35692
+ currentRevision?: string | undefined;
35693
+ retryAfterSeconds?: number | undefined;
35694
+ }, unknown, z$1.core.$ZodTypeInternals<{
35695
+ traceId: string;
35696
+ recovery: {
35697
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35698
+ } | {
35699
+ action: "read_operation";
35700
+ operation: {
35701
+ kind: "command";
35702
+ serialNumber: string;
35703
+ idempotencyKey: string;
35704
+ } | {
35705
+ kind: "firmware";
35706
+ serialNumber: string;
35707
+ updateId: string;
35708
+ } | {
35709
+ kind: "bluetooth_firmware";
35710
+ deviceId: string;
35711
+ updateId: string;
35712
+ } | {
35713
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35714
+ deviceId: string;
35715
+ requestId: string;
35716
+ } | {
35717
+ kind: "support";
35718
+ requestId: string;
35719
+ };
35720
+ };
35721
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35722
+ currentRevision?: string | undefined;
35723
+ retryAfterSeconds?: number | undefined;
35724
+ }, unknown>>;
35725
+ };
35726
+ readonly firmware_review_changed: {
35727
+ readonly status: 412;
35728
+ readonly data: z$1.ZodType<{
35729
+ traceId: string;
35730
+ recovery: {
35731
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35732
+ } | {
35733
+ action: "read_operation";
35734
+ operation: {
35735
+ kind: "command";
35736
+ serialNumber: string;
35737
+ idempotencyKey: string;
35738
+ } | {
35739
+ kind: "firmware";
35740
+ serialNumber: string;
35741
+ updateId: string;
35742
+ } | {
35743
+ kind: "bluetooth_firmware";
35744
+ deviceId: string;
35745
+ updateId: string;
35746
+ } | {
35747
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35748
+ deviceId: string;
35749
+ requestId: string;
35750
+ } | {
35751
+ kind: "support";
35752
+ requestId: string;
35753
+ };
35754
+ };
35755
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35756
+ currentRevision?: string | undefined;
35757
+ retryAfterSeconds?: number | undefined;
35758
+ }, unknown, z$1.core.$ZodTypeInternals<{
35759
+ traceId: string;
35760
+ recovery: {
35761
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35762
+ } | {
35763
+ action: "read_operation";
35764
+ operation: {
35765
+ kind: "command";
35766
+ serialNumber: string;
35767
+ idempotencyKey: string;
35768
+ } | {
35769
+ kind: "firmware";
35770
+ serialNumber: string;
35771
+ updateId: string;
35772
+ } | {
35773
+ kind: "bluetooth_firmware";
35774
+ deviceId: string;
35775
+ updateId: string;
35776
+ } | {
35777
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35778
+ deviceId: string;
35779
+ requestId: string;
35780
+ } | {
35781
+ kind: "support";
35782
+ requestId: string;
35783
+ };
35784
+ };
35785
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35786
+ currentRevision?: string | undefined;
35787
+ retryAfterSeconds?: number | undefined;
35788
+ }, unknown>>;
35789
+ };
35790
+ readonly firmware_review_required: {
35791
+ readonly status: 428;
35792
+ readonly data: z$1.ZodType<{
35793
+ traceId: string;
35794
+ recovery: {
35795
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35796
+ } | {
35797
+ action: "read_operation";
35798
+ operation: {
35799
+ kind: "command";
35800
+ serialNumber: string;
35801
+ idempotencyKey: string;
35802
+ } | {
35803
+ kind: "firmware";
35804
+ serialNumber: string;
35805
+ updateId: string;
35806
+ } | {
35807
+ kind: "bluetooth_firmware";
35808
+ deviceId: string;
35809
+ updateId: string;
35810
+ } | {
35811
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35812
+ deviceId: string;
35813
+ requestId: string;
35814
+ } | {
35815
+ kind: "support";
35816
+ requestId: string;
35817
+ };
35818
+ };
35819
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35820
+ currentRevision?: string | undefined;
35821
+ retryAfterSeconds?: number | undefined;
35822
+ }, unknown, z$1.core.$ZodTypeInternals<{
35823
+ traceId: string;
35824
+ recovery: {
35825
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35826
+ } | {
35827
+ action: "read_operation";
35828
+ operation: {
35829
+ kind: "command";
35830
+ serialNumber: string;
35831
+ idempotencyKey: string;
35832
+ } | {
35833
+ kind: "firmware";
35834
+ serialNumber: string;
35835
+ updateId: string;
35836
+ } | {
35837
+ kind: "bluetooth_firmware";
35838
+ deviceId: string;
35839
+ updateId: string;
35840
+ } | {
35841
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35842
+ deviceId: string;
35843
+ requestId: string;
35844
+ } | {
35845
+ kind: "support";
35846
+ requestId: string;
35847
+ };
35848
+ };
35849
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35850
+ currentRevision?: string | undefined;
35851
+ retryAfterSeconds?: number | undefined;
35852
+ }, unknown>>;
35853
+ };
35854
+ readonly firmware_policy_unavailable: {
35855
+ readonly status: 503;
35856
+ readonly data: z$1.ZodType<{
35857
+ traceId: string;
35858
+ recovery: {
35859
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35860
+ } | {
35861
+ action: "read_operation";
35862
+ operation: {
35863
+ kind: "command";
35864
+ serialNumber: string;
35865
+ idempotencyKey: string;
35866
+ } | {
35867
+ kind: "firmware";
35868
+ serialNumber: string;
35869
+ updateId: string;
35870
+ } | {
35871
+ kind: "bluetooth_firmware";
35872
+ deviceId: string;
35873
+ updateId: string;
35874
+ } | {
35875
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35876
+ deviceId: string;
35877
+ requestId: string;
35878
+ } | {
35879
+ kind: "support";
35880
+ requestId: string;
35881
+ };
35882
+ };
35883
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35884
+ currentRevision?: string | undefined;
35885
+ retryAfterSeconds?: number | undefined;
35886
+ }, unknown, z$1.core.$ZodTypeInternals<{
35887
+ traceId: string;
35888
+ recovery: {
35889
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35890
+ } | {
35891
+ action: "read_operation";
35892
+ operation: {
35893
+ kind: "command";
35894
+ serialNumber: string;
35895
+ idempotencyKey: string;
35896
+ } | {
35897
+ kind: "firmware";
35898
+ serialNumber: string;
35899
+ updateId: string;
35900
+ } | {
35901
+ kind: "bluetooth_firmware";
35902
+ deviceId: string;
35903
+ updateId: string;
35904
+ } | {
35905
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35906
+ deviceId: string;
35907
+ requestId: string;
35908
+ } | {
35909
+ kind: "support";
35910
+ requestId: string;
35911
+ };
35912
+ };
35913
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35914
+ currentRevision?: string | undefined;
35915
+ retryAfterSeconds?: number | undefined;
35916
+ }, unknown>>;
35917
+ };
35918
+ readonly firmware_release_unavailable: {
35919
+ readonly status: 503;
35920
+ readonly data: z$1.ZodType<{
35921
+ traceId: string;
35922
+ recovery: {
35923
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35924
+ } | {
35925
+ action: "read_operation";
35926
+ operation: {
35927
+ kind: "command";
35928
+ serialNumber: string;
35929
+ idempotencyKey: string;
35930
+ } | {
35931
+ kind: "firmware";
35932
+ serialNumber: string;
35933
+ updateId: string;
35934
+ } | {
35935
+ kind: "bluetooth_firmware";
35936
+ deviceId: string;
35937
+ updateId: string;
35938
+ } | {
35939
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35940
+ deviceId: string;
35941
+ requestId: string;
35942
+ } | {
35943
+ kind: "support";
35944
+ requestId: string;
35945
+ };
35946
+ };
35947
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35948
+ currentRevision?: string | undefined;
35949
+ retryAfterSeconds?: number | undefined;
35950
+ }, unknown, z$1.core.$ZodTypeInternals<{
35951
+ traceId: string;
35952
+ recovery: {
35953
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35954
+ } | {
35955
+ action: "read_operation";
35956
+ operation: {
35957
+ kind: "command";
35958
+ serialNumber: string;
35959
+ idempotencyKey: string;
35960
+ } | {
35961
+ kind: "firmware";
35962
+ serialNumber: string;
35963
+ updateId: string;
35964
+ } | {
35965
+ kind: "bluetooth_firmware";
35966
+ deviceId: string;
35967
+ updateId: string;
35968
+ } | {
35969
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35970
+ deviceId: string;
35971
+ requestId: string;
35972
+ } | {
35973
+ kind: "support";
35974
+ requestId: string;
35975
+ };
35976
+ };
35977
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35978
+ currentRevision?: string | undefined;
35979
+ retryAfterSeconds?: number | undefined;
35980
+ }, unknown>>;
35981
+ };
35982
+ readonly invalid: {
35983
+ readonly status: 400;
35984
+ readonly data: z$1.ZodType<{
35985
+ traceId: string;
35986
+ recovery: {
35987
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35988
+ } | {
35989
+ action: "read_operation";
35990
+ operation: {
35991
+ kind: "command";
35992
+ serialNumber: string;
35993
+ idempotencyKey: string;
35994
+ } | {
35995
+ kind: "firmware";
35996
+ serialNumber: string;
35997
+ updateId: string;
35998
+ } | {
35999
+ kind: "bluetooth_firmware";
36000
+ deviceId: string;
36001
+ updateId: string;
36002
+ } | {
36003
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36004
+ deviceId: string;
36005
+ requestId: string;
36006
+ } | {
36007
+ kind: "support";
36008
+ requestId: string;
36009
+ };
36010
+ };
36011
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36012
+ currentRevision?: string | undefined;
36013
+ retryAfterSeconds?: number | undefined;
36014
+ }, unknown, z$1.core.$ZodTypeInternals<{
36015
+ traceId: string;
36016
+ recovery: {
36017
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36018
+ } | {
36019
+ action: "read_operation";
36020
+ operation: {
36021
+ kind: "command";
36022
+ serialNumber: string;
36023
+ idempotencyKey: string;
36024
+ } | {
36025
+ kind: "firmware";
36026
+ serialNumber: string;
36027
+ updateId: string;
36028
+ } | {
36029
+ kind: "bluetooth_firmware";
36030
+ deviceId: string;
36031
+ updateId: string;
36032
+ } | {
36033
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36034
+ deviceId: string;
36035
+ requestId: string;
36036
+ } | {
36037
+ kind: "support";
36038
+ requestId: string;
36039
+ };
36040
+ };
36041
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36042
+ currentRevision?: string | undefined;
36043
+ retryAfterSeconds?: number | undefined;
36044
+ }, unknown>>;
36045
+ };
36046
+ readonly unauthenticated: {
36047
+ readonly status: 401;
36048
+ readonly data: z$1.ZodType<{
36049
+ traceId: string;
36050
+ recovery: {
36051
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36052
+ } | {
36053
+ action: "read_operation";
36054
+ operation: {
36055
+ kind: "command";
36056
+ serialNumber: string;
36057
+ idempotencyKey: string;
36058
+ } | {
36059
+ kind: "firmware";
36060
+ serialNumber: string;
36061
+ updateId: string;
36062
+ } | {
36063
+ kind: "bluetooth_firmware";
36064
+ deviceId: string;
36065
+ updateId: string;
36066
+ } | {
36067
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36068
+ deviceId: string;
36069
+ requestId: string;
36070
+ } | {
36071
+ kind: "support";
36072
+ requestId: string;
36073
+ };
36074
+ };
36075
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36076
+ currentRevision?: string | undefined;
36077
+ retryAfterSeconds?: number | undefined;
36078
+ }, unknown, z$1.core.$ZodTypeInternals<{
36079
+ traceId: string;
36080
+ recovery: {
36081
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36082
+ } | {
36083
+ action: "read_operation";
36084
+ operation: {
36085
+ kind: "command";
36086
+ serialNumber: string;
36087
+ idempotencyKey: string;
36088
+ } | {
36089
+ kind: "firmware";
36090
+ serialNumber: string;
36091
+ updateId: string;
36092
+ } | {
36093
+ kind: "bluetooth_firmware";
36094
+ deviceId: string;
36095
+ updateId: string;
36096
+ } | {
36097
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36098
+ deviceId: string;
36099
+ requestId: string;
36100
+ } | {
36101
+ kind: "support";
36102
+ requestId: string;
36103
+ };
36104
+ };
36105
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36106
+ currentRevision?: string | undefined;
36107
+ retryAfterSeconds?: number | undefined;
36108
+ }, unknown>>;
36109
+ };
36110
+ readonly forbidden: {
36111
+ readonly status: 403;
36112
+ readonly data: z$1.ZodType<{
36113
+ traceId: string;
36114
+ recovery: {
36115
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36116
+ } | {
36117
+ action: "read_operation";
36118
+ operation: {
36119
+ kind: "command";
36120
+ serialNumber: string;
36121
+ idempotencyKey: string;
36122
+ } | {
36123
+ kind: "firmware";
36124
+ serialNumber: string;
36125
+ updateId: string;
36126
+ } | {
36127
+ kind: "bluetooth_firmware";
36128
+ deviceId: string;
36129
+ updateId: string;
36130
+ } | {
36131
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36132
+ deviceId: string;
36133
+ requestId: string;
36134
+ } | {
36135
+ kind: "support";
36136
+ requestId: string;
36137
+ };
36138
+ };
36139
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36140
+ currentRevision?: string | undefined;
36141
+ retryAfterSeconds?: number | undefined;
36142
+ }, unknown, z$1.core.$ZodTypeInternals<{
36143
+ traceId: string;
36144
+ recovery: {
36145
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36146
+ } | {
36147
+ action: "read_operation";
36148
+ operation: {
36149
+ kind: "command";
36150
+ serialNumber: string;
36151
+ idempotencyKey: string;
36152
+ } | {
36153
+ kind: "firmware";
36154
+ serialNumber: string;
36155
+ updateId: string;
36156
+ } | {
36157
+ kind: "bluetooth_firmware";
36158
+ deviceId: string;
36159
+ updateId: string;
36160
+ } | {
36161
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36162
+ deviceId: string;
36163
+ requestId: string;
36164
+ } | {
36165
+ kind: "support";
36166
+ requestId: string;
36167
+ };
36168
+ };
36169
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36170
+ currentRevision?: string | undefined;
36171
+ retryAfterSeconds?: number | undefined;
36172
+ }, unknown>>;
36173
+ };
36174
+ readonly not_found: {
36175
+ readonly status: 404;
36176
+ readonly data: z$1.ZodType<{
36177
+ traceId: string;
36178
+ recovery: {
36179
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36180
+ } | {
36181
+ action: "read_operation";
36182
+ operation: {
36183
+ kind: "command";
36184
+ serialNumber: string;
36185
+ idempotencyKey: string;
36186
+ } | {
36187
+ kind: "firmware";
36188
+ serialNumber: string;
36189
+ updateId: string;
36190
+ } | {
36191
+ kind: "bluetooth_firmware";
36192
+ deviceId: string;
36193
+ updateId: string;
36194
+ } | {
36195
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36196
+ deviceId: string;
36197
+ requestId: string;
36198
+ } | {
36199
+ kind: "support";
36200
+ requestId: string;
36201
+ };
36202
+ };
36203
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36204
+ currentRevision?: string | undefined;
36205
+ retryAfterSeconds?: number | undefined;
36206
+ }, unknown, z$1.core.$ZodTypeInternals<{
36207
+ traceId: string;
36208
+ recovery: {
36209
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36210
+ } | {
36211
+ action: "read_operation";
36212
+ operation: {
36213
+ kind: "command";
36214
+ serialNumber: string;
36215
+ idempotencyKey: string;
36216
+ } | {
36217
+ kind: "firmware";
36218
+ serialNumber: string;
36219
+ updateId: string;
36220
+ } | {
36221
+ kind: "bluetooth_firmware";
36222
+ deviceId: string;
36223
+ updateId: string;
36224
+ } | {
36225
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36226
+ deviceId: string;
36227
+ requestId: string;
36228
+ } | {
36229
+ kind: "support";
36230
+ requestId: string;
36231
+ };
36232
+ };
36233
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36234
+ currentRevision?: string | undefined;
36235
+ retryAfterSeconds?: number | undefined;
36236
+ }, unknown>>;
36237
+ };
36238
+ readonly conflict: {
36239
+ readonly status: 409;
36240
+ readonly data: z$1.ZodType<{
36241
+ traceId: string;
36242
+ recovery: {
36243
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36244
+ } | {
36245
+ action: "read_operation";
36246
+ operation: {
36247
+ kind: "command";
36248
+ serialNumber: string;
36249
+ idempotencyKey: string;
36250
+ } | {
36251
+ kind: "firmware";
36252
+ serialNumber: string;
36253
+ updateId: string;
36254
+ } | {
36255
+ kind: "bluetooth_firmware";
36256
+ deviceId: string;
36257
+ updateId: string;
36258
+ } | {
36259
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36260
+ deviceId: string;
36261
+ requestId: string;
36262
+ } | {
36263
+ kind: "support";
36264
+ requestId: string;
36265
+ };
36266
+ };
36267
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36268
+ currentRevision?: string | undefined;
36269
+ retryAfterSeconds?: number | undefined;
36270
+ }, unknown, z$1.core.$ZodTypeInternals<{
36271
+ traceId: string;
36272
+ recovery: {
36273
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36274
+ } | {
36275
+ action: "read_operation";
36276
+ operation: {
36277
+ kind: "command";
36278
+ serialNumber: string;
36279
+ idempotencyKey: string;
36280
+ } | {
36281
+ kind: "firmware";
36282
+ serialNumber: string;
36283
+ updateId: string;
36284
+ } | {
36285
+ kind: "bluetooth_firmware";
36286
+ deviceId: string;
36287
+ updateId: string;
36288
+ } | {
36289
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36290
+ deviceId: string;
36291
+ requestId: string;
36292
+ } | {
36293
+ kind: "support";
36294
+ requestId: string;
36295
+ };
36296
+ };
36297
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36298
+ currentRevision?: string | undefined;
36299
+ retryAfterSeconds?: number | undefined;
36300
+ }, unknown>>;
36301
+ };
36302
+ readonly rate_limited: {
36303
+ readonly status: 429;
36304
+ readonly data: z$1.ZodType<{
36305
+ traceId: string;
36306
+ recovery: {
36307
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36308
+ } | {
36309
+ action: "read_operation";
36310
+ operation: {
36311
+ kind: "command";
36312
+ serialNumber: string;
36313
+ idempotencyKey: string;
36314
+ } | {
36315
+ kind: "firmware";
36316
+ serialNumber: string;
36317
+ updateId: string;
36318
+ } | {
36319
+ kind: "bluetooth_firmware";
36320
+ deviceId: string;
36321
+ updateId: string;
36322
+ } | {
36323
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36324
+ deviceId: string;
36325
+ requestId: string;
36326
+ } | {
36327
+ kind: "support";
36328
+ requestId: string;
36329
+ };
36330
+ };
36331
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36332
+ currentRevision?: string | undefined;
36333
+ retryAfterSeconds?: number | undefined;
36334
+ }, unknown, z$1.core.$ZodTypeInternals<{
36335
+ traceId: string;
36336
+ recovery: {
36337
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36338
+ } | {
36339
+ action: "read_operation";
36340
+ operation: {
36341
+ kind: "command";
36342
+ serialNumber: string;
36343
+ idempotencyKey: string;
36344
+ } | {
36345
+ kind: "firmware";
36346
+ serialNumber: string;
36347
+ updateId: string;
36348
+ } | {
36349
+ kind: "bluetooth_firmware";
36350
+ deviceId: string;
36351
+ updateId: string;
36352
+ } | {
36353
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36354
+ deviceId: string;
36355
+ requestId: string;
36356
+ } | {
36357
+ kind: "support";
36358
+ requestId: string;
36359
+ };
36360
+ };
36361
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36362
+ currentRevision?: string | undefined;
36363
+ retryAfterSeconds?: number | undefined;
36364
+ }, unknown>>;
36365
+ };
36366
+ readonly stored_data_invalid: {
36367
+ readonly status: 503;
36368
+ readonly data: z$1.ZodType<{
36369
+ traceId: string;
36370
+ recovery: {
36371
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36372
+ } | {
36373
+ action: "read_operation";
36374
+ operation: {
36375
+ kind: "command";
36376
+ serialNumber: string;
36377
+ idempotencyKey: string;
36378
+ } | {
36379
+ kind: "firmware";
36380
+ serialNumber: string;
36381
+ updateId: string;
36382
+ } | {
36383
+ kind: "bluetooth_firmware";
36384
+ deviceId: string;
36385
+ updateId: string;
36386
+ } | {
36387
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36388
+ deviceId: string;
36389
+ requestId: string;
36390
+ } | {
36391
+ kind: "support";
36392
+ requestId: string;
36393
+ };
36394
+ };
36395
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36396
+ currentRevision?: string | undefined;
36397
+ retryAfterSeconds?: number | undefined;
36398
+ }, unknown, z$1.core.$ZodTypeInternals<{
36399
+ traceId: string;
36400
+ recovery: {
36401
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36402
+ } | {
36403
+ action: "read_operation";
36404
+ operation: {
36405
+ kind: "command";
36406
+ serialNumber: string;
36407
+ idempotencyKey: string;
36408
+ } | {
36409
+ kind: "firmware";
36410
+ serialNumber: string;
36411
+ updateId: string;
36412
+ } | {
36413
+ kind: "bluetooth_firmware";
36414
+ deviceId: string;
36415
+ updateId: string;
36416
+ } | {
36417
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36418
+ deviceId: string;
36419
+ requestId: string;
36420
+ } | {
36421
+ kind: "support";
36422
+ requestId: string;
36423
+ };
36424
+ };
36425
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36426
+ currentRevision?: string | undefined;
36427
+ retryAfterSeconds?: number | undefined;
36428
+ }, unknown>>;
36429
+ };
36430
+ readonly service_unavailable: {
36431
+ readonly status: 503;
36432
+ readonly data: z$1.ZodType<{
36433
+ traceId: string;
36434
+ recovery: {
36435
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36436
+ } | {
36437
+ action: "read_operation";
36438
+ operation: {
36439
+ kind: "command";
36440
+ serialNumber: string;
36441
+ idempotencyKey: string;
36442
+ } | {
36443
+ kind: "firmware";
36444
+ serialNumber: string;
36445
+ updateId: string;
36446
+ } | {
36447
+ kind: "bluetooth_firmware";
36448
+ deviceId: string;
36449
+ updateId: string;
36450
+ } | {
36451
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36452
+ deviceId: string;
36453
+ requestId: string;
36454
+ } | {
36455
+ kind: "support";
36456
+ requestId: string;
36457
+ };
36458
+ };
36459
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36460
+ currentRevision?: string | undefined;
36461
+ retryAfterSeconds?: number | undefined;
36462
+ }, unknown, z$1.core.$ZodTypeInternals<{
36463
+ traceId: string;
36464
+ recovery: {
36465
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36466
+ } | {
36467
+ action: "read_operation";
36468
+ operation: {
36469
+ kind: "command";
36470
+ serialNumber: string;
36471
+ idempotencyKey: string;
36472
+ } | {
36473
+ kind: "firmware";
36474
+ serialNumber: string;
36475
+ updateId: string;
36476
+ } | {
36477
+ kind: "bluetooth_firmware";
36478
+ deviceId: string;
36479
+ updateId: string;
36480
+ } | {
36481
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36482
+ deviceId: string;
36483
+ requestId: string;
36484
+ } | {
36485
+ kind: "support";
36486
+ requestId: string;
36487
+ };
36488
+ };
36489
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36490
+ currentRevision?: string | undefined;
36491
+ retryAfterSeconds?: number | undefined;
36492
+ }, unknown>>;
36493
+ };
36494
+ readonly read_unavailable: {
36495
+ readonly status: 503;
36496
+ readonly data: z$1.ZodType<{
36497
+ traceId: string;
36498
+ recovery: {
36499
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36500
+ } | {
36501
+ action: "read_operation";
36502
+ operation: {
36503
+ kind: "command";
36504
+ serialNumber: string;
36505
+ idempotencyKey: string;
36506
+ } | {
36507
+ kind: "firmware";
36508
+ serialNumber: string;
36509
+ updateId: string;
36510
+ } | {
36511
+ kind: "bluetooth_firmware";
36512
+ deviceId: string;
36513
+ updateId: string;
36514
+ } | {
36515
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36516
+ deviceId: string;
36517
+ requestId: string;
36518
+ } | {
36519
+ kind: "support";
36520
+ requestId: string;
36521
+ };
36522
+ };
36523
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36524
+ currentRevision?: string | undefined;
36525
+ retryAfterSeconds?: number | undefined;
36526
+ }, unknown, z$1.core.$ZodTypeInternals<{
36527
+ traceId: string;
36528
+ recovery: {
36529
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36530
+ } | {
36531
+ action: "read_operation";
36532
+ operation: {
36533
+ kind: "command";
36534
+ serialNumber: string;
36535
+ idempotencyKey: string;
36536
+ } | {
36537
+ kind: "firmware";
36538
+ serialNumber: string;
36539
+ updateId: string;
36540
+ } | {
36541
+ kind: "bluetooth_firmware";
36542
+ deviceId: string;
36543
+ updateId: string;
36544
+ } | {
36545
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36546
+ deviceId: string;
36547
+ requestId: string;
36548
+ } | {
36549
+ kind: "support";
36550
+ requestId: string;
36551
+ };
36552
+ };
36553
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36554
+ currentRevision?: string | undefined;
36555
+ retryAfterSeconds?: number | undefined;
36556
+ }, unknown>>;
36557
+ };
36558
+ readonly stream_unavailable: {
36559
+ readonly status: 503;
36560
+ readonly data: z$1.ZodType<{
36561
+ traceId: string;
36562
+ recovery: {
36563
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36564
+ } | {
36565
+ action: "read_operation";
36566
+ operation: {
36567
+ kind: "command";
36568
+ serialNumber: string;
36569
+ idempotencyKey: string;
36570
+ } | {
36571
+ kind: "firmware";
36572
+ serialNumber: string;
36573
+ updateId: string;
36574
+ } | {
36575
+ kind: "bluetooth_firmware";
36576
+ deviceId: string;
36577
+ updateId: string;
36578
+ } | {
36579
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36580
+ deviceId: string;
36581
+ requestId: string;
36582
+ } | {
36583
+ kind: "support";
36584
+ requestId: string;
36585
+ };
36586
+ };
36587
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36588
+ currentRevision?: string | undefined;
36589
+ retryAfterSeconds?: number | undefined;
36590
+ }, unknown, z$1.core.$ZodTypeInternals<{
36591
+ traceId: string;
36592
+ recovery: {
36593
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36594
+ } | {
36595
+ action: "read_operation";
36596
+ operation: {
36597
+ kind: "command";
36598
+ serialNumber: string;
36599
+ idempotencyKey: string;
36600
+ } | {
36601
+ kind: "firmware";
36602
+ serialNumber: string;
36603
+ updateId: string;
36604
+ } | {
36605
+ kind: "bluetooth_firmware";
36606
+ deviceId: string;
36607
+ updateId: string;
36608
+ } | {
36609
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36610
+ deviceId: string;
36611
+ requestId: string;
36612
+ } | {
36613
+ kind: "support";
36614
+ requestId: string;
36615
+ };
36616
+ };
36617
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36618
+ currentRevision?: string | undefined;
36619
+ retryAfterSeconds?: number | undefined;
36620
+ }, unknown>>;
36621
+ };
36622
+ readonly payload_too_large: {
36623
+ readonly status: 413;
36624
+ readonly data: z$1.ZodType<{
36625
+ traceId: string;
36626
+ recovery: {
36627
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36628
+ } | {
36629
+ action: "read_operation";
36630
+ operation: {
36631
+ kind: "command";
36632
+ serialNumber: string;
36633
+ idempotencyKey: string;
36634
+ } | {
36635
+ kind: "firmware";
36636
+ serialNumber: string;
36637
+ updateId: string;
36638
+ } | {
36639
+ kind: "bluetooth_firmware";
36640
+ deviceId: string;
36641
+ updateId: string;
36642
+ } | {
36643
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36644
+ deviceId: string;
36645
+ requestId: string;
36646
+ } | {
36647
+ kind: "support";
36648
+ requestId: string;
36649
+ };
36650
+ };
36651
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36652
+ currentRevision?: string | undefined;
36653
+ retryAfterSeconds?: number | undefined;
36654
+ }, unknown, z$1.core.$ZodTypeInternals<{
36655
+ traceId: string;
36656
+ recovery: {
36657
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36658
+ } | {
36659
+ action: "read_operation";
36660
+ operation: {
36661
+ kind: "command";
36662
+ serialNumber: string;
36663
+ idempotencyKey: string;
36664
+ } | {
36665
+ kind: "firmware";
36666
+ serialNumber: string;
36667
+ updateId: string;
36668
+ } | {
36669
+ kind: "bluetooth_firmware";
36670
+ deviceId: string;
36671
+ updateId: string;
36672
+ } | {
36673
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36674
+ deviceId: string;
36675
+ requestId: string;
36676
+ } | {
36677
+ kind: "support";
36678
+ requestId: string;
36679
+ };
36680
+ };
36681
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36682
+ currentRevision?: string | undefined;
36683
+ retryAfterSeconds?: number | undefined;
36684
+ }, unknown>>;
36685
+ };
36686
+ readonly request_timeout: {
36687
+ readonly status: 503;
36688
+ readonly data: z$1.ZodType<{
36689
+ traceId: string;
36690
+ recovery: {
36691
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36692
+ } | {
36693
+ action: "read_operation";
36694
+ operation: {
36695
+ kind: "command";
36696
+ serialNumber: string;
36697
+ idempotencyKey: string;
36698
+ } | {
36699
+ kind: "firmware";
36700
+ serialNumber: string;
36701
+ updateId: string;
36702
+ } | {
36703
+ kind: "bluetooth_firmware";
36704
+ deviceId: string;
36705
+ updateId: string;
36706
+ } | {
36707
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36708
+ deviceId: string;
36709
+ requestId: string;
36710
+ } | {
36711
+ kind: "support";
36712
+ requestId: string;
36713
+ };
36714
+ };
36715
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36716
+ currentRevision?: string | undefined;
36717
+ retryAfterSeconds?: number | undefined;
36718
+ }, unknown, z$1.core.$ZodTypeInternals<{
36719
+ traceId: string;
36720
+ recovery: {
36721
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36722
+ } | {
36723
+ action: "read_operation";
36724
+ operation: {
36725
+ kind: "command";
36726
+ serialNumber: string;
36727
+ idempotencyKey: string;
36728
+ } | {
36729
+ kind: "firmware";
36730
+ serialNumber: string;
36731
+ updateId: string;
36732
+ } | {
36733
+ kind: "bluetooth_firmware";
36734
+ deviceId: string;
36735
+ updateId: string;
36736
+ } | {
36737
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36738
+ deviceId: string;
36739
+ requestId: string;
36740
+ } | {
36741
+ kind: "support";
36742
+ requestId: string;
36743
+ };
36744
+ };
36745
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36746
+ currentRevision?: string | undefined;
36747
+ retryAfterSeconds?: number | undefined;
36748
+ }, unknown>>;
36749
+ };
36750
+ readonly operation_unconfirmed: {
36751
+ readonly status: 503;
36752
+ readonly data: z$1.ZodType<{
36753
+ traceId: string;
36754
+ recovery: {
36755
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36756
+ } | {
36757
+ action: "read_operation";
36758
+ operation: {
36759
+ kind: "command";
36760
+ serialNumber: string;
36761
+ idempotencyKey: string;
36762
+ } | {
36763
+ kind: "firmware";
36764
+ serialNumber: string;
36765
+ updateId: string;
36766
+ } | {
36767
+ kind: "bluetooth_firmware";
36768
+ deviceId: string;
36769
+ updateId: string;
36770
+ } | {
36771
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36772
+ deviceId: string;
36773
+ requestId: string;
36774
+ } | {
36775
+ kind: "support";
36776
+ requestId: string;
36777
+ };
36778
+ };
36779
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36780
+ currentRevision?: string | undefined;
36781
+ retryAfterSeconds?: number | undefined;
36782
+ }, unknown, z$1.core.$ZodTypeInternals<{
36783
+ traceId: string;
36784
+ recovery: {
36785
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36786
+ } | {
36787
+ action: "read_operation";
36788
+ operation: {
36789
+ kind: "command";
36790
+ serialNumber: string;
36791
+ idempotencyKey: string;
36792
+ } | {
36793
+ kind: "firmware";
36794
+ serialNumber: string;
36795
+ updateId: string;
36796
+ } | {
36797
+ kind: "bluetooth_firmware";
36798
+ deviceId: string;
36799
+ updateId: string;
36800
+ } | {
36801
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36802
+ deviceId: string;
36803
+ requestId: string;
36804
+ } | {
36805
+ kind: "support";
36806
+ requestId: string;
36807
+ };
36808
+ };
36809
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36810
+ currentRevision?: string | undefined;
36811
+ retryAfterSeconds?: number | undefined;
36812
+ }, unknown>>;
36813
+ };
36814
+ readonly directory_unavailable: {
36815
+ readonly status: 503;
36816
+ readonly data: z$1.ZodType<{
36817
+ traceId: string;
36818
+ recovery: {
36819
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36820
+ } | {
36821
+ action: "read_operation";
36822
+ operation: {
36823
+ kind: "command";
36824
+ serialNumber: string;
36825
+ idempotencyKey: string;
36826
+ } | {
36827
+ kind: "firmware";
36828
+ serialNumber: string;
36829
+ updateId: string;
36830
+ } | {
36831
+ kind: "bluetooth_firmware";
36832
+ deviceId: string;
36833
+ updateId: string;
36834
+ } | {
36835
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36836
+ deviceId: string;
36837
+ requestId: string;
36838
+ } | {
36839
+ kind: "support";
36840
+ requestId: string;
36841
+ };
36842
+ };
36843
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36844
+ currentRevision?: string | undefined;
36845
+ retryAfterSeconds?: number | undefined;
36846
+ }, unknown, z$1.core.$ZodTypeInternals<{
36847
+ traceId: string;
36848
+ recovery: {
36849
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36850
+ } | {
36851
+ action: "read_operation";
36852
+ operation: {
36853
+ kind: "command";
36854
+ serialNumber: string;
36855
+ idempotencyKey: string;
36856
+ } | {
36857
+ kind: "firmware";
36858
+ serialNumber: string;
36859
+ updateId: string;
36860
+ } | {
36861
+ kind: "bluetooth_firmware";
36862
+ deviceId: string;
36863
+ updateId: string;
36864
+ } | {
36865
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36866
+ deviceId: string;
36867
+ requestId: string;
36868
+ } | {
36869
+ kind: "support";
36870
+ requestId: string;
36871
+ };
36872
+ };
36873
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36874
+ currentRevision?: string | undefined;
36875
+ retryAfterSeconds?: number | undefined;
36876
+ }, unknown>>;
36877
+ };
36878
+ }>, Record<never, never>>;
36879
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
36880
+ id: z$1.ZodString;
36881
+ }, z$1.core.$strict>, z$1.ZodObject<{
36882
+ id: z$1.ZodString;
36883
+ family: z$1.ZodEnum<{
36884
+ "gen2-lte": "gen2-lte";
36885
+ "gen2-battery": "gen2-battery";
36886
+ }>;
36887
+ version: z$1.ZodString;
36888
+ revision: z$1.ZodString;
36889
+ size: z$1.ZodInt;
36890
+ sha256: z$1.ZodString;
36891
+ notes: z$1.ZodString;
36892
+ downloadUrl: z$1.ZodURL;
36893
+ availableForUpdates: z$1.ZodBoolean;
36894
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
36895
+ readonly inventory_changed: {
36896
+ readonly status: 412;
36897
+ readonly data: z$1.ZodType<{
36898
+ traceId: string;
36899
+ recovery: {
36900
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36901
+ } | {
36902
+ action: "read_operation";
36903
+ operation: {
36904
+ kind: "command";
36905
+ serialNumber: string;
36906
+ idempotencyKey: string;
36907
+ } | {
36908
+ kind: "firmware";
36909
+ serialNumber: string;
36910
+ updateId: string;
36911
+ } | {
36912
+ kind: "bluetooth_firmware";
36913
+ deviceId: string;
36914
+ updateId: string;
36915
+ } | {
36916
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36917
+ deviceId: string;
36918
+ requestId: string;
36919
+ } | {
36920
+ kind: "support";
36921
+ requestId: string;
36922
+ };
36923
+ };
36924
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36925
+ currentRevision?: string | undefined;
36926
+ retryAfterSeconds?: number | undefined;
36927
+ }, unknown, z$1.core.$ZodTypeInternals<{
36928
+ traceId: string;
36929
+ recovery: {
36930
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36931
+ } | {
36932
+ action: "read_operation";
36933
+ operation: {
36934
+ kind: "command";
36935
+ serialNumber: string;
36936
+ idempotencyKey: string;
36937
+ } | {
36938
+ kind: "firmware";
36939
+ serialNumber: string;
36940
+ updateId: string;
36941
+ } | {
36942
+ kind: "bluetooth_firmware";
36943
+ deviceId: string;
36944
+ updateId: string;
36945
+ } | {
36946
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36947
+ deviceId: string;
36948
+ requestId: string;
36949
+ } | {
36950
+ kind: "support";
36951
+ requestId: string;
36952
+ };
36953
+ };
36954
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36955
+ currentRevision?: string | undefined;
36956
+ retryAfterSeconds?: number | undefined;
36957
+ }, unknown>>;
36958
+ };
36959
+ readonly firmware_catalog_invalid: {
36960
+ readonly status: 503;
36961
+ readonly data: z$1.ZodType<{
36962
+ traceId: string;
36963
+ recovery: {
36964
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36965
+ } | {
36966
+ action: "read_operation";
36967
+ operation: {
36968
+ kind: "command";
36969
+ serialNumber: string;
36970
+ idempotencyKey: string;
36971
+ } | {
36972
+ kind: "firmware";
36973
+ serialNumber: string;
36974
+ updateId: string;
36975
+ } | {
36976
+ kind: "bluetooth_firmware";
36977
+ deviceId: string;
36978
+ updateId: string;
36979
+ } | {
36980
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36981
+ deviceId: string;
36982
+ requestId: string;
36983
+ } | {
36984
+ kind: "support";
36985
+ requestId: string;
36986
+ };
36987
+ };
36988
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36989
+ currentRevision?: string | undefined;
36990
+ retryAfterSeconds?: number | undefined;
36991
+ }, unknown, z$1.core.$ZodTypeInternals<{
36992
+ traceId: string;
36993
+ recovery: {
36994
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36995
+ } | {
36996
+ action: "read_operation";
36997
+ operation: {
36998
+ kind: "command";
36999
+ serialNumber: string;
37000
+ idempotencyKey: string;
37001
+ } | {
37002
+ kind: "firmware";
37003
+ serialNumber: string;
37004
+ updateId: string;
37005
+ } | {
37006
+ kind: "bluetooth_firmware";
37007
+ deviceId: string;
37008
+ updateId: string;
37009
+ } | {
37010
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37011
+ deviceId: string;
37012
+ requestId: string;
37013
+ } | {
37014
+ kind: "support";
37015
+ requestId: string;
37016
+ };
37017
+ };
37018
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37019
+ currentRevision?: string | undefined;
37020
+ retryAfterSeconds?: number | undefined;
37021
+ }, unknown>>;
37022
+ };
37023
+ readonly firmware_catalog_full: {
37024
+ readonly status: 503;
37025
+ readonly data: z$1.ZodType<{
37026
+ traceId: string;
37027
+ recovery: {
37028
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37029
+ } | {
37030
+ action: "read_operation";
37031
+ operation: {
37032
+ kind: "command";
37033
+ serialNumber: string;
37034
+ idempotencyKey: string;
37035
+ } | {
37036
+ kind: "firmware";
37037
+ serialNumber: string;
37038
+ updateId: string;
37039
+ } | {
37040
+ kind: "bluetooth_firmware";
37041
+ deviceId: string;
37042
+ updateId: string;
37043
+ } | {
37044
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37045
+ deviceId: string;
37046
+ requestId: string;
37047
+ } | {
37048
+ kind: "support";
37049
+ requestId: string;
37050
+ };
37051
+ };
37052
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37053
+ currentRevision?: string | undefined;
37054
+ retryAfterSeconds?: number | undefined;
37055
+ }, unknown, z$1.core.$ZodTypeInternals<{
37056
+ traceId: string;
37057
+ recovery: {
37058
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37059
+ } | {
37060
+ action: "read_operation";
37061
+ operation: {
37062
+ kind: "command";
37063
+ serialNumber: string;
37064
+ idempotencyKey: string;
37065
+ } | {
37066
+ kind: "firmware";
37067
+ serialNumber: string;
37068
+ updateId: string;
37069
+ } | {
37070
+ kind: "bluetooth_firmware";
37071
+ deviceId: string;
37072
+ updateId: string;
37073
+ } | {
37074
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37075
+ deviceId: string;
37076
+ requestId: string;
37077
+ } | {
37078
+ kind: "support";
37079
+ requestId: string;
37080
+ };
37081
+ };
37082
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37083
+ currentRevision?: string | undefined;
37084
+ retryAfterSeconds?: number | undefined;
37085
+ }, unknown>>;
37086
+ };
37087
+ readonly firmware_execution_invalid: {
37088
+ readonly status: 503;
37089
+ readonly data: z$1.ZodType<{
37090
+ traceId: string;
37091
+ recovery: {
37092
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37093
+ } | {
37094
+ action: "read_operation";
37095
+ operation: {
37096
+ kind: "command";
37097
+ serialNumber: string;
37098
+ idempotencyKey: string;
37099
+ } | {
37100
+ kind: "firmware";
37101
+ serialNumber: string;
37102
+ updateId: string;
37103
+ } | {
37104
+ kind: "bluetooth_firmware";
37105
+ deviceId: string;
37106
+ updateId: string;
37107
+ } | {
37108
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37109
+ deviceId: string;
37110
+ requestId: string;
37111
+ } | {
37112
+ kind: "support";
37113
+ requestId: string;
37114
+ };
37115
+ };
37116
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37117
+ currentRevision?: string | undefined;
37118
+ retryAfterSeconds?: number | undefined;
37119
+ }, unknown, z$1.core.$ZodTypeInternals<{
37120
+ traceId: string;
37121
+ recovery: {
37122
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37123
+ } | {
37124
+ action: "read_operation";
37125
+ operation: {
37126
+ kind: "command";
37127
+ serialNumber: string;
37128
+ idempotencyKey: string;
37129
+ } | {
37130
+ kind: "firmware";
37131
+ serialNumber: string;
37132
+ updateId: string;
37133
+ } | {
37134
+ kind: "bluetooth_firmware";
37135
+ deviceId: string;
37136
+ updateId: string;
37137
+ } | {
37138
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37139
+ deviceId: string;
37140
+ requestId: string;
37141
+ } | {
37142
+ kind: "support";
37143
+ requestId: string;
37144
+ };
37145
+ };
37146
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37147
+ currentRevision?: string | undefined;
37148
+ retryAfterSeconds?: number | undefined;
37149
+ }, unknown>>;
37150
+ };
37151
+ readonly firmware_review_changed: {
37152
+ readonly status: 412;
37153
+ readonly data: z$1.ZodType<{
37154
+ traceId: string;
37155
+ recovery: {
37156
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37157
+ } | {
37158
+ action: "read_operation";
37159
+ operation: {
37160
+ kind: "command";
37161
+ serialNumber: string;
37162
+ idempotencyKey: string;
37163
+ } | {
37164
+ kind: "firmware";
37165
+ serialNumber: string;
37166
+ updateId: string;
37167
+ } | {
37168
+ kind: "bluetooth_firmware";
37169
+ deviceId: string;
37170
+ updateId: string;
37171
+ } | {
37172
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37173
+ deviceId: string;
37174
+ requestId: string;
37175
+ } | {
37176
+ kind: "support";
37177
+ requestId: string;
37178
+ };
37179
+ };
37180
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37181
+ currentRevision?: string | undefined;
37182
+ retryAfterSeconds?: number | undefined;
37183
+ }, unknown, z$1.core.$ZodTypeInternals<{
37184
+ traceId: string;
37185
+ recovery: {
37186
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37187
+ } | {
37188
+ action: "read_operation";
37189
+ operation: {
37190
+ kind: "command";
37191
+ serialNumber: string;
37192
+ idempotencyKey: string;
37193
+ } | {
37194
+ kind: "firmware";
37195
+ serialNumber: string;
37196
+ updateId: string;
37197
+ } | {
37198
+ kind: "bluetooth_firmware";
37199
+ deviceId: string;
37200
+ updateId: string;
37201
+ } | {
37202
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37203
+ deviceId: string;
37204
+ requestId: string;
37205
+ } | {
37206
+ kind: "support";
37207
+ requestId: string;
37208
+ };
37209
+ };
37210
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37211
+ currentRevision?: string | undefined;
37212
+ retryAfterSeconds?: number | undefined;
37213
+ }, unknown>>;
37214
+ };
37215
+ readonly firmware_review_required: {
37216
+ readonly status: 428;
37217
+ readonly data: z$1.ZodType<{
37218
+ traceId: string;
37219
+ recovery: {
37220
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37221
+ } | {
37222
+ action: "read_operation";
37223
+ operation: {
37224
+ kind: "command";
37225
+ serialNumber: string;
37226
+ idempotencyKey: string;
37227
+ } | {
37228
+ kind: "firmware";
37229
+ serialNumber: string;
37230
+ updateId: string;
37231
+ } | {
37232
+ kind: "bluetooth_firmware";
37233
+ deviceId: string;
37234
+ updateId: string;
37235
+ } | {
37236
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37237
+ deviceId: string;
37238
+ requestId: string;
37239
+ } | {
37240
+ kind: "support";
37241
+ requestId: string;
37242
+ };
37243
+ };
37244
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37245
+ currentRevision?: string | undefined;
37246
+ retryAfterSeconds?: number | undefined;
37247
+ }, unknown, z$1.core.$ZodTypeInternals<{
37248
+ traceId: string;
37249
+ recovery: {
37250
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37251
+ } | {
37252
+ action: "read_operation";
37253
+ operation: {
37254
+ kind: "command";
37255
+ serialNumber: string;
37256
+ idempotencyKey: string;
37257
+ } | {
37258
+ kind: "firmware";
37259
+ serialNumber: string;
37260
+ updateId: string;
37261
+ } | {
37262
+ kind: "bluetooth_firmware";
37263
+ deviceId: string;
37264
+ updateId: string;
37265
+ } | {
37266
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37267
+ deviceId: string;
37268
+ requestId: string;
37269
+ } | {
37270
+ kind: "support";
37271
+ requestId: string;
37272
+ };
37273
+ };
37274
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37275
+ currentRevision?: string | undefined;
37276
+ retryAfterSeconds?: number | undefined;
37277
+ }, unknown>>;
37278
+ };
37279
+ readonly firmware_policy_unavailable: {
37280
+ readonly status: 503;
37281
+ readonly data: z$1.ZodType<{
37282
+ traceId: string;
37283
+ recovery: {
37284
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37285
+ } | {
37286
+ action: "read_operation";
37287
+ operation: {
37288
+ kind: "command";
37289
+ serialNumber: string;
37290
+ idempotencyKey: string;
37291
+ } | {
37292
+ kind: "firmware";
37293
+ serialNumber: string;
37294
+ updateId: string;
37295
+ } | {
37296
+ kind: "bluetooth_firmware";
37297
+ deviceId: string;
37298
+ updateId: string;
37299
+ } | {
37300
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37301
+ deviceId: string;
37302
+ requestId: string;
37303
+ } | {
37304
+ kind: "support";
37305
+ requestId: string;
37306
+ };
37307
+ };
37308
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37309
+ currentRevision?: string | undefined;
37310
+ retryAfterSeconds?: number | undefined;
37311
+ }, unknown, z$1.core.$ZodTypeInternals<{
37312
+ traceId: string;
37313
+ recovery: {
37314
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37315
+ } | {
37316
+ action: "read_operation";
37317
+ operation: {
37318
+ kind: "command";
37319
+ serialNumber: string;
37320
+ idempotencyKey: string;
37321
+ } | {
37322
+ kind: "firmware";
37323
+ serialNumber: string;
37324
+ updateId: string;
37325
+ } | {
37326
+ kind: "bluetooth_firmware";
37327
+ deviceId: string;
37328
+ updateId: string;
37329
+ } | {
37330
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37331
+ deviceId: string;
37332
+ requestId: string;
37333
+ } | {
37334
+ kind: "support";
37335
+ requestId: string;
37336
+ };
37337
+ };
37338
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37339
+ currentRevision?: string | undefined;
37340
+ retryAfterSeconds?: number | undefined;
37341
+ }, unknown>>;
37342
+ };
37343
+ readonly firmware_release_unavailable: {
37344
+ readonly status: 503;
37345
+ readonly data: z$1.ZodType<{
37346
+ traceId: string;
37347
+ recovery: {
37348
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37349
+ } | {
37350
+ action: "read_operation";
37351
+ operation: {
37352
+ kind: "command";
37353
+ serialNumber: string;
37354
+ idempotencyKey: string;
37355
+ } | {
37356
+ kind: "firmware";
37357
+ serialNumber: string;
37358
+ updateId: string;
37359
+ } | {
37360
+ kind: "bluetooth_firmware";
37361
+ deviceId: string;
37362
+ updateId: string;
37363
+ } | {
37364
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37365
+ deviceId: string;
37366
+ requestId: string;
37367
+ } | {
37368
+ kind: "support";
37369
+ requestId: string;
37370
+ };
37371
+ };
37372
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37373
+ currentRevision?: string | undefined;
37374
+ retryAfterSeconds?: number | undefined;
37375
+ }, unknown, z$1.core.$ZodTypeInternals<{
37376
+ traceId: string;
37377
+ recovery: {
37378
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37379
+ } | {
37380
+ action: "read_operation";
37381
+ operation: {
37382
+ kind: "command";
37383
+ serialNumber: string;
37384
+ idempotencyKey: string;
37385
+ } | {
37386
+ kind: "firmware";
37387
+ serialNumber: string;
37388
+ updateId: string;
37389
+ } | {
37390
+ kind: "bluetooth_firmware";
37391
+ deviceId: string;
37392
+ updateId: string;
37393
+ } | {
37394
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37395
+ deviceId: string;
37396
+ requestId: string;
37397
+ } | {
37398
+ kind: "support";
37399
+ requestId: string;
37400
+ };
37401
+ };
37402
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37403
+ currentRevision?: string | undefined;
37404
+ retryAfterSeconds?: number | undefined;
37405
+ }, unknown>>;
37406
+ };
35478
37407
  readonly invalid: {
35479
37408
  readonly status: 400;
35480
37409
  readonly data: z$1.ZodType<{
@@ -35539,8 +37468,136 @@ export declare const firmwareCatalogContract: {
35539
37468
  retryAfterSeconds?: number | undefined;
35540
37469
  }, unknown>>;
35541
37470
  };
35542
- readonly unauthenticated: {
35543
- readonly status: 401;
37471
+ readonly unauthenticated: {
37472
+ readonly status: 401;
37473
+ readonly data: z$1.ZodType<{
37474
+ traceId: string;
37475
+ recovery: {
37476
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37477
+ } | {
37478
+ action: "read_operation";
37479
+ operation: {
37480
+ kind: "command";
37481
+ serialNumber: string;
37482
+ idempotencyKey: string;
37483
+ } | {
37484
+ kind: "firmware";
37485
+ serialNumber: string;
37486
+ updateId: string;
37487
+ } | {
37488
+ kind: "bluetooth_firmware";
37489
+ deviceId: string;
37490
+ updateId: string;
37491
+ } | {
37492
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37493
+ deviceId: string;
37494
+ requestId: string;
37495
+ } | {
37496
+ kind: "support";
37497
+ requestId: string;
37498
+ };
37499
+ };
37500
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37501
+ currentRevision?: string | undefined;
37502
+ retryAfterSeconds?: number | undefined;
37503
+ }, unknown, z$1.core.$ZodTypeInternals<{
37504
+ traceId: string;
37505
+ recovery: {
37506
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37507
+ } | {
37508
+ action: "read_operation";
37509
+ operation: {
37510
+ kind: "command";
37511
+ serialNumber: string;
37512
+ idempotencyKey: string;
37513
+ } | {
37514
+ kind: "firmware";
37515
+ serialNumber: string;
37516
+ updateId: string;
37517
+ } | {
37518
+ kind: "bluetooth_firmware";
37519
+ deviceId: string;
37520
+ updateId: string;
37521
+ } | {
37522
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37523
+ deviceId: string;
37524
+ requestId: string;
37525
+ } | {
37526
+ kind: "support";
37527
+ requestId: string;
37528
+ };
37529
+ };
37530
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37531
+ currentRevision?: string | undefined;
37532
+ retryAfterSeconds?: number | undefined;
37533
+ }, unknown>>;
37534
+ };
37535
+ readonly forbidden: {
37536
+ readonly status: 403;
37537
+ readonly data: z$1.ZodType<{
37538
+ traceId: string;
37539
+ recovery: {
37540
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37541
+ } | {
37542
+ action: "read_operation";
37543
+ operation: {
37544
+ kind: "command";
37545
+ serialNumber: string;
37546
+ idempotencyKey: string;
37547
+ } | {
37548
+ kind: "firmware";
37549
+ serialNumber: string;
37550
+ updateId: string;
37551
+ } | {
37552
+ kind: "bluetooth_firmware";
37553
+ deviceId: string;
37554
+ updateId: string;
37555
+ } | {
37556
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37557
+ deviceId: string;
37558
+ requestId: string;
37559
+ } | {
37560
+ kind: "support";
37561
+ requestId: string;
37562
+ };
37563
+ };
37564
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37565
+ currentRevision?: string | undefined;
37566
+ retryAfterSeconds?: number | undefined;
37567
+ }, unknown, z$1.core.$ZodTypeInternals<{
37568
+ traceId: string;
37569
+ recovery: {
37570
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37571
+ } | {
37572
+ action: "read_operation";
37573
+ operation: {
37574
+ kind: "command";
37575
+ serialNumber: string;
37576
+ idempotencyKey: string;
37577
+ } | {
37578
+ kind: "firmware";
37579
+ serialNumber: string;
37580
+ updateId: string;
37581
+ } | {
37582
+ kind: "bluetooth_firmware";
37583
+ deviceId: string;
37584
+ updateId: string;
37585
+ } | {
37586
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37587
+ deviceId: string;
37588
+ requestId: string;
37589
+ } | {
37590
+ kind: "support";
37591
+ requestId: string;
37592
+ };
37593
+ };
37594
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37595
+ currentRevision?: string | undefined;
37596
+ retryAfterSeconds?: number | undefined;
37597
+ }, unknown>>;
37598
+ };
37599
+ readonly not_found: {
37600
+ readonly status: 404;
35544
37601
  readonly data: z$1.ZodType<{
35545
37602
  traceId: string;
35546
37603
  recovery: {
@@ -35603,8 +37660,8 @@ export declare const firmwareCatalogContract: {
35603
37660
  retryAfterSeconds?: number | undefined;
35604
37661
  }, unknown>>;
35605
37662
  };
35606
- readonly forbidden: {
35607
- readonly status: 403;
37663
+ readonly conflict: {
37664
+ readonly status: 409;
35608
37665
  readonly data: z$1.ZodType<{
35609
37666
  traceId: string;
35610
37667
  recovery: {
@@ -35667,8 +37724,8 @@ export declare const firmwareCatalogContract: {
35667
37724
  retryAfterSeconds?: number | undefined;
35668
37725
  }, unknown>>;
35669
37726
  };
35670
- readonly not_found: {
35671
- readonly status: 404;
37727
+ readonly rate_limited: {
37728
+ readonly status: 429;
35672
37729
  readonly data: z$1.ZodType<{
35673
37730
  traceId: string;
35674
37731
  recovery: {
@@ -35731,8 +37788,8 @@ export declare const firmwareCatalogContract: {
35731
37788
  retryAfterSeconds?: number | undefined;
35732
37789
  }, unknown>>;
35733
37790
  };
35734
- readonly conflict: {
35735
- readonly status: 409;
37791
+ readonly stored_data_invalid: {
37792
+ readonly status: 503;
35736
37793
  readonly data: z$1.ZodType<{
35737
37794
  traceId: string;
35738
37795
  recovery: {
@@ -35795,8 +37852,8 @@ export declare const firmwareCatalogContract: {
35795
37852
  retryAfterSeconds?: number | undefined;
35796
37853
  }, unknown>>;
35797
37854
  };
35798
- readonly rate_limited: {
35799
- readonly status: 429;
37855
+ readonly service_unavailable: {
37856
+ readonly status: 503;
35800
37857
  readonly data: z$1.ZodType<{
35801
37858
  traceId: string;
35802
37859
  recovery: {
@@ -35859,7 +37916,7 @@ export declare const firmwareCatalogContract: {
35859
37916
  retryAfterSeconds?: number | undefined;
35860
37917
  }, unknown>>;
35861
37918
  };
35862
- readonly stored_data_invalid: {
37919
+ readonly read_unavailable: {
35863
37920
  readonly status: 503;
35864
37921
  readonly data: z$1.ZodType<{
35865
37922
  traceId: string;
@@ -35923,7 +37980,7 @@ export declare const firmwareCatalogContract: {
35923
37980
  retryAfterSeconds?: number | undefined;
35924
37981
  }, unknown>>;
35925
37982
  };
35926
- readonly service_unavailable: {
37983
+ readonly stream_unavailable: {
35927
37984
  readonly status: 503;
35928
37985
  readonly data: z$1.ZodType<{
35929
37986
  traceId: string;
@@ -35987,8 +38044,8 @@ export declare const firmwareCatalogContract: {
35987
38044
  retryAfterSeconds?: number | undefined;
35988
38045
  }, unknown>>;
35989
38046
  };
35990
- readonly read_unavailable: {
35991
- readonly status: 503;
38047
+ readonly payload_too_large: {
38048
+ readonly status: 413;
35992
38049
  readonly data: z$1.ZodType<{
35993
38050
  traceId: string;
35994
38051
  recovery: {
@@ -36051,7 +38108,7 @@ export declare const firmwareCatalogContract: {
36051
38108
  retryAfterSeconds?: number | undefined;
36052
38109
  }, unknown>>;
36053
38110
  };
36054
- readonly stream_unavailable: {
38111
+ readonly request_timeout: {
36055
38112
  readonly status: 503;
36056
38113
  readonly data: z$1.ZodType<{
36057
38114
  traceId: string;
@@ -36115,8 +38172,8 @@ export declare const firmwareCatalogContract: {
36115
38172
  retryAfterSeconds?: number | undefined;
36116
38173
  }, unknown>>;
36117
38174
  };
36118
- readonly payload_too_large: {
36119
- readonly status: 413;
38175
+ readonly operation_unconfirmed: {
38176
+ readonly status: 503;
36120
38177
  readonly data: z$1.ZodType<{
36121
38178
  traceId: string;
36122
38179
  recovery: {
@@ -36179,7 +38236,7 @@ export declare const firmwareCatalogContract: {
36179
38236
  retryAfterSeconds?: number | undefined;
36180
38237
  }, unknown>>;
36181
38238
  };
36182
- readonly request_timeout: {
38239
+ readonly directory_unavailable: {
36183
38240
  readonly status: 503;
36184
38241
  readonly data: z$1.ZodType<{
36185
38242
  traceId: string;
@@ -36243,8 +38300,33 @@ export declare const firmwareCatalogContract: {
36243
38300
  retryAfterSeconds?: number | undefined;
36244
38301
  }, unknown>>;
36245
38302
  };
36246
- readonly operation_unconfirmed: {
36247
- readonly status: 503;
38303
+ }>, Record<never, never>>;
38304
+ publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
38305
+ family: z$1.ZodEnum<{
38306
+ "gen2-lte": "gen2-lte";
38307
+ "gen2-battery": "gen2-battery";
38308
+ }>;
38309
+ version: z$1.ZodString;
38310
+ notes: z$1.ZodString;
38311
+ size: z$1.ZodInt;
38312
+ sha256: z$1.ZodString;
38313
+ file: z$1.ZodFile;
38314
+ }, z$1.core.$strict>, z$1.ZodObject<{
38315
+ id: z$1.ZodString;
38316
+ family: z$1.ZodEnum<{
38317
+ "gen2-lte": "gen2-lte";
38318
+ "gen2-battery": "gen2-battery";
38319
+ }>;
38320
+ version: z$1.ZodString;
38321
+ revision: z$1.ZodString;
38322
+ size: z$1.ZodInt;
38323
+ sha256: z$1.ZodString;
38324
+ notes: z$1.ZodString;
38325
+ downloadUrl: z$1.ZodURL;
38326
+ availableForUpdates: z$1.ZodBoolean;
38327
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
38328
+ readonly inventory_changed: {
38329
+ readonly status: 412;
36248
38330
  readonly data: z$1.ZodType<{
36249
38331
  traceId: string;
36250
38332
  recovery: {
@@ -36307,7 +38389,7 @@ export declare const firmwareCatalogContract: {
36307
38389
  retryAfterSeconds?: number | undefined;
36308
38390
  }, unknown>>;
36309
38391
  };
36310
- readonly directory_unavailable: {
38392
+ readonly firmware_catalog_invalid: {
36311
38393
  readonly status: 503;
36312
38394
  readonly data: z$1.ZodType<{
36313
38395
  traceId: string;
@@ -36371,27 +38453,8 @@ export declare const firmwareCatalogContract: {
36371
38453
  retryAfterSeconds?: number | undefined;
36372
38454
  }, unknown>>;
36373
38455
  };
36374
- }>, Record<never, never>>;
36375
- get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
36376
- id: z$1.ZodString;
36377
- }, z$1.core.$strict>, z$1.ZodObject<{
36378
- id: z$1.ZodString;
36379
- family: z$1.ZodEnum<{
36380
- "gen2-lte": "gen2-lte";
36381
- "gen2-battery": "gen2-battery";
36382
- }>;
36383
- version: z$1.ZodString;
36384
- revision: z$1.ZodString;
36385
- size: z$1.ZodInt;
36386
- sha256: z$1.ZodString;
36387
- notes: z$1.ZodString;
36388
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
36389
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
36390
- downloadUrl: z$1.ZodURL;
36391
- availableForUpdates: z$1.ZodBoolean;
36392
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
36393
- readonly invalid: {
36394
- readonly status: 400;
38456
+ readonly firmware_catalog_full: {
38457
+ readonly status: 503;
36395
38458
  readonly data: z$1.ZodType<{
36396
38459
  traceId: string;
36397
38460
  recovery: {
@@ -36454,8 +38517,8 @@ export declare const firmwareCatalogContract: {
36454
38517
  retryAfterSeconds?: number | undefined;
36455
38518
  }, unknown>>;
36456
38519
  };
36457
- readonly unauthenticated: {
36458
- readonly status: 401;
38520
+ readonly firmware_execution_invalid: {
38521
+ readonly status: 503;
36459
38522
  readonly data: z$1.ZodType<{
36460
38523
  traceId: string;
36461
38524
  recovery: {
@@ -36518,8 +38581,8 @@ export declare const firmwareCatalogContract: {
36518
38581
  retryAfterSeconds?: number | undefined;
36519
38582
  }, unknown>>;
36520
38583
  };
36521
- readonly forbidden: {
36522
- readonly status: 403;
38584
+ readonly firmware_review_changed: {
38585
+ readonly status: 412;
36523
38586
  readonly data: z$1.ZodType<{
36524
38587
  traceId: string;
36525
38588
  recovery: {
@@ -36582,8 +38645,8 @@ export declare const firmwareCatalogContract: {
36582
38645
  retryAfterSeconds?: number | undefined;
36583
38646
  }, unknown>>;
36584
38647
  };
36585
- readonly not_found: {
36586
- readonly status: 404;
38648
+ readonly firmware_review_required: {
38649
+ readonly status: 428;
36587
38650
  readonly data: z$1.ZodType<{
36588
38651
  traceId: string;
36589
38652
  recovery: {
@@ -36646,8 +38709,8 @@ export declare const firmwareCatalogContract: {
36646
38709
  retryAfterSeconds?: number | undefined;
36647
38710
  }, unknown>>;
36648
38711
  };
36649
- readonly conflict: {
36650
- readonly status: 409;
38712
+ readonly firmware_policy_unavailable: {
38713
+ readonly status: 503;
36651
38714
  readonly data: z$1.ZodType<{
36652
38715
  traceId: string;
36653
38716
  recovery: {
@@ -36710,8 +38773,8 @@ export declare const firmwareCatalogContract: {
36710
38773
  retryAfterSeconds?: number | undefined;
36711
38774
  }, unknown>>;
36712
38775
  };
36713
- readonly rate_limited: {
36714
- readonly status: 429;
38776
+ readonly firmware_release_unavailable: {
38777
+ readonly status: 503;
36715
38778
  readonly data: z$1.ZodType<{
36716
38779
  traceId: string;
36717
38780
  recovery: {
@@ -36774,8 +38837,8 @@ export declare const firmwareCatalogContract: {
36774
38837
  retryAfterSeconds?: number | undefined;
36775
38838
  }, unknown>>;
36776
38839
  };
36777
- readonly stored_data_invalid: {
36778
- readonly status: 503;
38840
+ readonly invalid: {
38841
+ readonly status: 400;
36779
38842
  readonly data: z$1.ZodType<{
36780
38843
  traceId: string;
36781
38844
  recovery: {
@@ -36838,8 +38901,8 @@ export declare const firmwareCatalogContract: {
36838
38901
  retryAfterSeconds?: number | undefined;
36839
38902
  }, unknown>>;
36840
38903
  };
36841
- readonly service_unavailable: {
36842
- readonly status: 503;
38904
+ readonly unauthenticated: {
38905
+ readonly status: 401;
36843
38906
  readonly data: z$1.ZodType<{
36844
38907
  traceId: string;
36845
38908
  recovery: {
@@ -36902,8 +38965,8 @@ export declare const firmwareCatalogContract: {
36902
38965
  retryAfterSeconds?: number | undefined;
36903
38966
  }, unknown>>;
36904
38967
  };
36905
- readonly read_unavailable: {
36906
- readonly status: 503;
38968
+ readonly forbidden: {
38969
+ readonly status: 403;
36907
38970
  readonly data: z$1.ZodType<{
36908
38971
  traceId: string;
36909
38972
  recovery: {
@@ -36966,8 +39029,8 @@ export declare const firmwareCatalogContract: {
36966
39029
  retryAfterSeconds?: number | undefined;
36967
39030
  }, unknown>>;
36968
39031
  };
36969
- readonly stream_unavailable: {
36970
- readonly status: 503;
39032
+ readonly not_found: {
39033
+ readonly status: 404;
36971
39034
  readonly data: z$1.ZodType<{
36972
39035
  traceId: string;
36973
39036
  recovery: {
@@ -37030,8 +39093,8 @@ export declare const firmwareCatalogContract: {
37030
39093
  retryAfterSeconds?: number | undefined;
37031
39094
  }, unknown>>;
37032
39095
  };
37033
- readonly payload_too_large: {
37034
- readonly status: 413;
39096
+ readonly conflict: {
39097
+ readonly status: 409;
37035
39098
  readonly data: z$1.ZodType<{
37036
39099
  traceId: string;
37037
39100
  recovery: {
@@ -37094,8 +39157,8 @@ export declare const firmwareCatalogContract: {
37094
39157
  retryAfterSeconds?: number | undefined;
37095
39158
  }, unknown>>;
37096
39159
  };
37097
- readonly request_timeout: {
37098
- readonly status: 503;
39160
+ readonly rate_limited: {
39161
+ readonly status: 429;
37099
39162
  readonly data: z$1.ZodType<{
37100
39163
  traceId: string;
37101
39164
  recovery: {
@@ -37158,7 +39221,7 @@ export declare const firmwareCatalogContract: {
37158
39221
  retryAfterSeconds?: number | undefined;
37159
39222
  }, unknown>>;
37160
39223
  };
37161
- readonly operation_unconfirmed: {
39224
+ readonly stored_data_invalid: {
37162
39225
  readonly status: 503;
37163
39226
  readonly data: z$1.ZodType<{
37164
39227
  traceId: string;
@@ -37222,7 +39285,7 @@ export declare const firmwareCatalogContract: {
37222
39285
  retryAfterSeconds?: number | undefined;
37223
39286
  }, unknown>>;
37224
39287
  };
37225
- readonly directory_unavailable: {
39288
+ readonly service_unavailable: {
37226
39289
  readonly status: 503;
37227
39290
  readonly data: z$1.ZodType<{
37228
39291
  traceId: string;
@@ -37286,37 +39349,8 @@ export declare const firmwareCatalogContract: {
37286
39349
  retryAfterSeconds?: number | undefined;
37287
39350
  }, unknown>>;
37288
39351
  };
37289
- }>, Record<never, never>>;
37290
- publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
37291
- family: z$1.ZodEnum<{
37292
- "gen2-lte": "gen2-lte";
37293
- "gen2-battery": "gen2-battery";
37294
- }>;
37295
- version: z$1.ZodString;
37296
- notes: z$1.ZodString;
37297
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
37298
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
37299
- size: z$1.ZodInt;
37300
- sha256: z$1.ZodString;
37301
- file: z$1.ZodFile;
37302
- }, z$1.core.$strict>, z$1.ZodObject<{
37303
- id: z$1.ZodString;
37304
- family: z$1.ZodEnum<{
37305
- "gen2-lte": "gen2-lte";
37306
- "gen2-battery": "gen2-battery";
37307
- }>;
37308
- version: z$1.ZodString;
37309
- revision: z$1.ZodString;
37310
- size: z$1.ZodInt;
37311
- sha256: z$1.ZodString;
37312
- notes: z$1.ZodString;
37313
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
37314
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
37315
- downloadUrl: z$1.ZodURL;
37316
- availableForUpdates: z$1.ZodBoolean;
37317
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
37318
- readonly invalid: {
37319
- readonly status: 400;
39352
+ readonly read_unavailable: {
39353
+ readonly status: 503;
37320
39354
  readonly data: z$1.ZodType<{
37321
39355
  traceId: string;
37322
39356
  recovery: {
@@ -37379,8 +39413,8 @@ export declare const firmwareCatalogContract: {
37379
39413
  retryAfterSeconds?: number | undefined;
37380
39414
  }, unknown>>;
37381
39415
  };
37382
- readonly unauthenticated: {
37383
- readonly status: 401;
39416
+ readonly stream_unavailable: {
39417
+ readonly status: 503;
37384
39418
  readonly data: z$1.ZodType<{
37385
39419
  traceId: string;
37386
39420
  recovery: {
@@ -37443,8 +39477,8 @@ export declare const firmwareCatalogContract: {
37443
39477
  retryAfterSeconds?: number | undefined;
37444
39478
  }, unknown>>;
37445
39479
  };
37446
- readonly forbidden: {
37447
- readonly status: 403;
39480
+ readonly payload_too_large: {
39481
+ readonly status: 413;
37448
39482
  readonly data: z$1.ZodType<{
37449
39483
  traceId: string;
37450
39484
  recovery: {
@@ -37507,8 +39541,8 @@ export declare const firmwareCatalogContract: {
37507
39541
  retryAfterSeconds?: number | undefined;
37508
39542
  }, unknown>>;
37509
39543
  };
37510
- readonly not_found: {
37511
- readonly status: 404;
39544
+ readonly request_timeout: {
39545
+ readonly status: 503;
37512
39546
  readonly data: z$1.ZodType<{
37513
39547
  traceId: string;
37514
39548
  recovery: {
@@ -37571,8 +39605,8 @@ export declare const firmwareCatalogContract: {
37571
39605
  retryAfterSeconds?: number | undefined;
37572
39606
  }, unknown>>;
37573
39607
  };
37574
- readonly conflict: {
37575
- readonly status: 409;
39608
+ readonly operation_unconfirmed: {
39609
+ readonly status: 503;
37576
39610
  readonly data: z$1.ZodType<{
37577
39611
  traceId: string;
37578
39612
  recovery: {
@@ -37635,8 +39669,8 @@ export declare const firmwareCatalogContract: {
37635
39669
  retryAfterSeconds?: number | undefined;
37636
39670
  }, unknown>>;
37637
39671
  };
37638
- readonly rate_limited: {
37639
- readonly status: 429;
39672
+ readonly directory_unavailable: {
39673
+ readonly status: 503;
37640
39674
  readonly data: z$1.ZodType<{
37641
39675
  traceId: string;
37642
39676
  recovery: {
@@ -37699,8 +39733,26 @@ export declare const firmwareCatalogContract: {
37699
39733
  retryAfterSeconds?: number | undefined;
37700
39734
  }, unknown>>;
37701
39735
  };
37702
- readonly stored_data_invalid: {
37703
- readonly status: 503;
39736
+ }>, Record<never, never>>;
39737
+ enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
39738
+ id: z$1.ZodString;
39739
+ revision: z$1.ZodString;
39740
+ }, z$1.core.$strict>, z$1.ZodObject<{
39741
+ id: z$1.ZodString;
39742
+ family: z$1.ZodEnum<{
39743
+ "gen2-lte": "gen2-lte";
39744
+ "gen2-battery": "gen2-battery";
39745
+ }>;
39746
+ version: z$1.ZodString;
39747
+ revision: z$1.ZodString;
39748
+ size: z$1.ZodInt;
39749
+ sha256: z$1.ZodString;
39750
+ notes: z$1.ZodString;
39751
+ downloadUrl: z$1.ZodURL;
39752
+ availableForUpdates: z$1.ZodBoolean;
39753
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
39754
+ readonly inventory_changed: {
39755
+ readonly status: 412;
37704
39756
  readonly data: z$1.ZodType<{
37705
39757
  traceId: string;
37706
39758
  recovery: {
@@ -37763,7 +39815,7 @@ export declare const firmwareCatalogContract: {
37763
39815
  retryAfterSeconds?: number | undefined;
37764
39816
  }, unknown>>;
37765
39817
  };
37766
- readonly service_unavailable: {
39818
+ readonly firmware_catalog_invalid: {
37767
39819
  readonly status: 503;
37768
39820
  readonly data: z$1.ZodType<{
37769
39821
  traceId: string;
@@ -37827,7 +39879,7 @@ export declare const firmwareCatalogContract: {
37827
39879
  retryAfterSeconds?: number | undefined;
37828
39880
  }, unknown>>;
37829
39881
  };
37830
- readonly read_unavailable: {
39882
+ readonly firmware_catalog_full: {
37831
39883
  readonly status: 503;
37832
39884
  readonly data: z$1.ZodType<{
37833
39885
  traceId: string;
@@ -37891,7 +39943,7 @@ export declare const firmwareCatalogContract: {
37891
39943
  retryAfterSeconds?: number | undefined;
37892
39944
  }, unknown>>;
37893
39945
  };
37894
- readonly stream_unavailable: {
39946
+ readonly firmware_execution_invalid: {
37895
39947
  readonly status: 503;
37896
39948
  readonly data: z$1.ZodType<{
37897
39949
  traceId: string;
@@ -37955,8 +40007,8 @@ export declare const firmwareCatalogContract: {
37955
40007
  retryAfterSeconds?: number | undefined;
37956
40008
  }, unknown>>;
37957
40009
  };
37958
- readonly payload_too_large: {
37959
- readonly status: 413;
40010
+ readonly firmware_review_changed: {
40011
+ readonly status: 412;
37960
40012
  readonly data: z$1.ZodType<{
37961
40013
  traceId: string;
37962
40014
  recovery: {
@@ -38019,8 +40071,8 @@ export declare const firmwareCatalogContract: {
38019
40071
  retryAfterSeconds?: number | undefined;
38020
40072
  }, unknown>>;
38021
40073
  };
38022
- readonly request_timeout: {
38023
- readonly status: 503;
40074
+ readonly firmware_review_required: {
40075
+ readonly status: 428;
38024
40076
  readonly data: z$1.ZodType<{
38025
40077
  traceId: string;
38026
40078
  recovery: {
@@ -38083,7 +40135,7 @@ export declare const firmwareCatalogContract: {
38083
40135
  retryAfterSeconds?: number | undefined;
38084
40136
  }, unknown>>;
38085
40137
  };
38086
- readonly operation_unconfirmed: {
40138
+ readonly firmware_policy_unavailable: {
38087
40139
  readonly status: 503;
38088
40140
  readonly data: z$1.ZodType<{
38089
40141
  traceId: string;
@@ -38147,7 +40199,7 @@ export declare const firmwareCatalogContract: {
38147
40199
  retryAfterSeconds?: number | undefined;
38148
40200
  }, unknown>>;
38149
40201
  };
38150
- readonly directory_unavailable: {
40202
+ readonly firmware_release_unavailable: {
38151
40203
  readonly status: 503;
38152
40204
  readonly data: z$1.ZodType<{
38153
40205
  traceId: string;
@@ -38211,26 +40263,6 @@ export declare const firmwareCatalogContract: {
38211
40263
  retryAfterSeconds?: number | undefined;
38212
40264
  }, unknown>>;
38213
40265
  };
38214
- }>, Record<never, never>>;
38215
- enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
38216
- id: z$1.ZodString;
38217
- revision: z$1.ZodString;
38218
- }, z$1.core.$strict>, z$1.ZodObject<{
38219
- id: z$1.ZodString;
38220
- family: z$1.ZodEnum<{
38221
- "gen2-lte": "gen2-lte";
38222
- "gen2-battery": "gen2-battery";
38223
- }>;
38224
- version: z$1.ZodString;
38225
- revision: z$1.ZodString;
38226
- size: z$1.ZodInt;
38227
- sha256: z$1.ZodString;
38228
- notes: z$1.ZodString;
38229
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
38230
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
38231
- downloadUrl: z$1.ZodURL;
38232
- availableForUpdates: z$1.ZodBoolean;
38233
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
38234
40266
  readonly invalid: {
38235
40267
  readonly status: 400;
38236
40268
  readonly data: z$1.ZodType<{