@bikefinder/staff-sdk 0.8.2 → 0.9.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
@@ -35397,6 +35397,3742 @@ export type FavoritePage = z$1.infer<typeof favoritePage>;
35397
35397
  export type FavoritePageInput = z$1.input<typeof timePageInput>;
35398
35398
  export type FavoriteWrite = z$1.infer<typeof favoriteWrite>;
35399
35399
  export type FavoriteInput = z$1.infer<typeof favoriteInput>;
35400
+ export declare const firmwareCatalogFamily: z$1.ZodEnum<{
35401
+ "gen2-lte": "gen2-lte";
35402
+ "gen2-battery": "gen2-battery";
35403
+ }>;
35404
+ export declare const firmwareCatalogCapability = "firmware-catalog-v1";
35405
+ export declare const maximumFirmwareUploadBytes: number;
35406
+ export declare const catalogFirmwareVersion: z$1.ZodString;
35407
+ export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
35408
+ family: z$1.ZodEnum<{
35409
+ "gen2-lte": "gen2-lte";
35410
+ "gen2-battery": "gen2-battery";
35411
+ }>;
35412
+ version: z$1.ZodString;
35413
+ notes: z$1.ZodString;
35414
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35415
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35416
+ size: z$1.ZodInt;
35417
+ sha256: z$1.ZodString;
35418
+ }, z$1.core.$strict>;
35419
+ export declare const firmwareCatalogPublishInput: z$1.ZodObject<{
35420
+ family: z$1.ZodEnum<{
35421
+ "gen2-lte": "gen2-lte";
35422
+ "gen2-battery": "gen2-battery";
35423
+ }>;
35424
+ version: z$1.ZodString;
35425
+ notes: z$1.ZodString;
35426
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35427
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35428
+ size: z$1.ZodInt;
35429
+ sha256: z$1.ZodString;
35430
+ file: z$1.ZodFile;
35431
+ }, z$1.core.$strict>;
35432
+ export declare const firmwareCatalogRelease: z$1.ZodObject<{
35433
+ id: z$1.ZodString;
35434
+ family: z$1.ZodEnum<{
35435
+ "gen2-lte": "gen2-lte";
35436
+ "gen2-battery": "gen2-battery";
35437
+ }>;
35438
+ version: z$1.ZodString;
35439
+ revision: z$1.ZodString;
35440
+ size: z$1.ZodInt;
35441
+ sha256: z$1.ZodString;
35442
+ notes: z$1.ZodString;
35443
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35444
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35445
+ downloadUrl: z$1.ZodURL;
35446
+ availableForUpdates: z$1.ZodBoolean;
35447
+ }, z$1.core.$strip>;
35448
+ export declare const firmwareCatalogInput: z$1.ZodObject<{
35449
+ id: z$1.ZodString;
35450
+ }, z$1.core.$strict>;
35451
+ export declare const firmwareCatalogContract: {
35452
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
35453
+ family: z$1.ZodEnum<{
35454
+ "gen2-lte": "gen2-lte";
35455
+ "gen2-battery": "gen2-battery";
35456
+ }>;
35457
+ limit: z$1.ZodDefault<z$1.ZodInt>;
35458
+ after: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
35459
+ }, z$1.core.$strict>, z$1.ZodObject<{
35460
+ items: z$1.ZodArray<z$1.ZodObject<{
35461
+ id: z$1.ZodString;
35462
+ family: z$1.ZodEnum<{
35463
+ "gen2-lte": "gen2-lte";
35464
+ "gen2-battery": "gen2-battery";
35465
+ }>;
35466
+ version: z$1.ZodString;
35467
+ revision: z$1.ZodString;
35468
+ size: z$1.ZodInt;
35469
+ sha256: z$1.ZodString;
35470
+ notes: z$1.ZodString;
35471
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
35472
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
35473
+ downloadUrl: z$1.ZodURL;
35474
+ availableForUpdates: z$1.ZodBoolean;
35475
+ }, z$1.core.$strip>>;
35476
+ nextAfter: z$1.ZodNullable<z$1.ZodString>;
35477
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
35478
+ readonly invalid: {
35479
+ readonly status: 400;
35480
+ readonly data: z$1.ZodType<{
35481
+ traceId: string;
35482
+ recovery: {
35483
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35484
+ } | {
35485
+ action: "read_operation";
35486
+ operation: {
35487
+ kind: "command";
35488
+ serialNumber: string;
35489
+ idempotencyKey: string;
35490
+ } | {
35491
+ kind: "firmware";
35492
+ serialNumber: string;
35493
+ updateId: string;
35494
+ } | {
35495
+ kind: "bluetooth_firmware";
35496
+ deviceId: string;
35497
+ updateId: string;
35498
+ } | {
35499
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35500
+ deviceId: string;
35501
+ requestId: string;
35502
+ } | {
35503
+ kind: "support";
35504
+ requestId: string;
35505
+ };
35506
+ };
35507
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35508
+ currentRevision?: string | undefined;
35509
+ retryAfterSeconds?: number | undefined;
35510
+ }, unknown, z$1.core.$ZodTypeInternals<{
35511
+ traceId: string;
35512
+ recovery: {
35513
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35514
+ } | {
35515
+ action: "read_operation";
35516
+ operation: {
35517
+ kind: "command";
35518
+ serialNumber: string;
35519
+ idempotencyKey: string;
35520
+ } | {
35521
+ kind: "firmware";
35522
+ serialNumber: string;
35523
+ updateId: string;
35524
+ } | {
35525
+ kind: "bluetooth_firmware";
35526
+ deviceId: string;
35527
+ updateId: string;
35528
+ } | {
35529
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35530
+ deviceId: string;
35531
+ requestId: string;
35532
+ } | {
35533
+ kind: "support";
35534
+ requestId: string;
35535
+ };
35536
+ };
35537
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35538
+ currentRevision?: string | undefined;
35539
+ retryAfterSeconds?: number | undefined;
35540
+ }, unknown>>;
35541
+ };
35542
+ readonly unauthenticated: {
35543
+ readonly status: 401;
35544
+ readonly data: z$1.ZodType<{
35545
+ traceId: string;
35546
+ recovery: {
35547
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35548
+ } | {
35549
+ action: "read_operation";
35550
+ operation: {
35551
+ kind: "command";
35552
+ serialNumber: string;
35553
+ idempotencyKey: string;
35554
+ } | {
35555
+ kind: "firmware";
35556
+ serialNumber: string;
35557
+ updateId: string;
35558
+ } | {
35559
+ kind: "bluetooth_firmware";
35560
+ deviceId: string;
35561
+ updateId: string;
35562
+ } | {
35563
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35564
+ deviceId: string;
35565
+ requestId: string;
35566
+ } | {
35567
+ kind: "support";
35568
+ requestId: string;
35569
+ };
35570
+ };
35571
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35572
+ currentRevision?: string | undefined;
35573
+ retryAfterSeconds?: number | undefined;
35574
+ }, unknown, z$1.core.$ZodTypeInternals<{
35575
+ traceId: string;
35576
+ recovery: {
35577
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35578
+ } | {
35579
+ action: "read_operation";
35580
+ operation: {
35581
+ kind: "command";
35582
+ serialNumber: string;
35583
+ idempotencyKey: string;
35584
+ } | {
35585
+ kind: "firmware";
35586
+ serialNumber: string;
35587
+ updateId: string;
35588
+ } | {
35589
+ kind: "bluetooth_firmware";
35590
+ deviceId: string;
35591
+ updateId: string;
35592
+ } | {
35593
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35594
+ deviceId: string;
35595
+ requestId: string;
35596
+ } | {
35597
+ kind: "support";
35598
+ requestId: string;
35599
+ };
35600
+ };
35601
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35602
+ currentRevision?: string | undefined;
35603
+ retryAfterSeconds?: number | undefined;
35604
+ }, unknown>>;
35605
+ };
35606
+ readonly forbidden: {
35607
+ readonly status: 403;
35608
+ readonly data: z$1.ZodType<{
35609
+ traceId: string;
35610
+ recovery: {
35611
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35612
+ } | {
35613
+ action: "read_operation";
35614
+ operation: {
35615
+ kind: "command";
35616
+ serialNumber: string;
35617
+ idempotencyKey: string;
35618
+ } | {
35619
+ kind: "firmware";
35620
+ serialNumber: string;
35621
+ updateId: string;
35622
+ } | {
35623
+ kind: "bluetooth_firmware";
35624
+ deviceId: string;
35625
+ updateId: string;
35626
+ } | {
35627
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35628
+ deviceId: string;
35629
+ requestId: string;
35630
+ } | {
35631
+ kind: "support";
35632
+ requestId: string;
35633
+ };
35634
+ };
35635
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35636
+ currentRevision?: string | undefined;
35637
+ retryAfterSeconds?: number | undefined;
35638
+ }, unknown, z$1.core.$ZodTypeInternals<{
35639
+ traceId: string;
35640
+ recovery: {
35641
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35642
+ } | {
35643
+ action: "read_operation";
35644
+ operation: {
35645
+ kind: "command";
35646
+ serialNumber: string;
35647
+ idempotencyKey: string;
35648
+ } | {
35649
+ kind: "firmware";
35650
+ serialNumber: string;
35651
+ updateId: string;
35652
+ } | {
35653
+ kind: "bluetooth_firmware";
35654
+ deviceId: string;
35655
+ updateId: string;
35656
+ } | {
35657
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35658
+ deviceId: string;
35659
+ requestId: string;
35660
+ } | {
35661
+ kind: "support";
35662
+ requestId: string;
35663
+ };
35664
+ };
35665
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35666
+ currentRevision?: string | undefined;
35667
+ retryAfterSeconds?: number | undefined;
35668
+ }, unknown>>;
35669
+ };
35670
+ readonly not_found: {
35671
+ readonly status: 404;
35672
+ readonly data: z$1.ZodType<{
35673
+ traceId: string;
35674
+ recovery: {
35675
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35676
+ } | {
35677
+ action: "read_operation";
35678
+ operation: {
35679
+ kind: "command";
35680
+ serialNumber: string;
35681
+ idempotencyKey: string;
35682
+ } | {
35683
+ kind: "firmware";
35684
+ serialNumber: string;
35685
+ updateId: string;
35686
+ } | {
35687
+ kind: "bluetooth_firmware";
35688
+ deviceId: string;
35689
+ updateId: string;
35690
+ } | {
35691
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35692
+ deviceId: string;
35693
+ requestId: string;
35694
+ } | {
35695
+ kind: "support";
35696
+ requestId: string;
35697
+ };
35698
+ };
35699
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35700
+ currentRevision?: string | undefined;
35701
+ retryAfterSeconds?: number | undefined;
35702
+ }, unknown, z$1.core.$ZodTypeInternals<{
35703
+ traceId: string;
35704
+ recovery: {
35705
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35706
+ } | {
35707
+ action: "read_operation";
35708
+ operation: {
35709
+ kind: "command";
35710
+ serialNumber: string;
35711
+ idempotencyKey: string;
35712
+ } | {
35713
+ kind: "firmware";
35714
+ serialNumber: string;
35715
+ updateId: string;
35716
+ } | {
35717
+ kind: "bluetooth_firmware";
35718
+ deviceId: string;
35719
+ updateId: string;
35720
+ } | {
35721
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35722
+ deviceId: string;
35723
+ requestId: string;
35724
+ } | {
35725
+ kind: "support";
35726
+ requestId: string;
35727
+ };
35728
+ };
35729
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35730
+ currentRevision?: string | undefined;
35731
+ retryAfterSeconds?: number | undefined;
35732
+ }, unknown>>;
35733
+ };
35734
+ readonly conflict: {
35735
+ readonly status: 409;
35736
+ readonly data: z$1.ZodType<{
35737
+ traceId: string;
35738
+ recovery: {
35739
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35740
+ } | {
35741
+ action: "read_operation";
35742
+ operation: {
35743
+ kind: "command";
35744
+ serialNumber: string;
35745
+ idempotencyKey: string;
35746
+ } | {
35747
+ kind: "firmware";
35748
+ serialNumber: string;
35749
+ updateId: string;
35750
+ } | {
35751
+ kind: "bluetooth_firmware";
35752
+ deviceId: string;
35753
+ updateId: string;
35754
+ } | {
35755
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35756
+ deviceId: string;
35757
+ requestId: string;
35758
+ } | {
35759
+ kind: "support";
35760
+ requestId: string;
35761
+ };
35762
+ };
35763
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35764
+ currentRevision?: string | undefined;
35765
+ retryAfterSeconds?: number | undefined;
35766
+ }, unknown, z$1.core.$ZodTypeInternals<{
35767
+ traceId: string;
35768
+ recovery: {
35769
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35770
+ } | {
35771
+ action: "read_operation";
35772
+ operation: {
35773
+ kind: "command";
35774
+ serialNumber: string;
35775
+ idempotencyKey: string;
35776
+ } | {
35777
+ kind: "firmware";
35778
+ serialNumber: string;
35779
+ updateId: string;
35780
+ } | {
35781
+ kind: "bluetooth_firmware";
35782
+ deviceId: string;
35783
+ updateId: string;
35784
+ } | {
35785
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35786
+ deviceId: string;
35787
+ requestId: string;
35788
+ } | {
35789
+ kind: "support";
35790
+ requestId: string;
35791
+ };
35792
+ };
35793
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35794
+ currentRevision?: string | undefined;
35795
+ retryAfterSeconds?: number | undefined;
35796
+ }, unknown>>;
35797
+ };
35798
+ readonly rate_limited: {
35799
+ readonly status: 429;
35800
+ readonly data: z$1.ZodType<{
35801
+ traceId: string;
35802
+ recovery: {
35803
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35804
+ } | {
35805
+ action: "read_operation";
35806
+ operation: {
35807
+ kind: "command";
35808
+ serialNumber: string;
35809
+ idempotencyKey: string;
35810
+ } | {
35811
+ kind: "firmware";
35812
+ serialNumber: string;
35813
+ updateId: string;
35814
+ } | {
35815
+ kind: "bluetooth_firmware";
35816
+ deviceId: string;
35817
+ updateId: string;
35818
+ } | {
35819
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35820
+ deviceId: string;
35821
+ requestId: string;
35822
+ } | {
35823
+ kind: "support";
35824
+ requestId: string;
35825
+ };
35826
+ };
35827
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35828
+ currentRevision?: string | undefined;
35829
+ retryAfterSeconds?: number | undefined;
35830
+ }, unknown, z$1.core.$ZodTypeInternals<{
35831
+ traceId: string;
35832
+ recovery: {
35833
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35834
+ } | {
35835
+ action: "read_operation";
35836
+ operation: {
35837
+ kind: "command";
35838
+ serialNumber: string;
35839
+ idempotencyKey: string;
35840
+ } | {
35841
+ kind: "firmware";
35842
+ serialNumber: string;
35843
+ updateId: string;
35844
+ } | {
35845
+ kind: "bluetooth_firmware";
35846
+ deviceId: string;
35847
+ updateId: string;
35848
+ } | {
35849
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35850
+ deviceId: string;
35851
+ requestId: string;
35852
+ } | {
35853
+ kind: "support";
35854
+ requestId: string;
35855
+ };
35856
+ };
35857
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35858
+ currentRevision?: string | undefined;
35859
+ retryAfterSeconds?: number | undefined;
35860
+ }, unknown>>;
35861
+ };
35862
+ readonly stored_data_invalid: {
35863
+ readonly status: 503;
35864
+ readonly data: z$1.ZodType<{
35865
+ traceId: string;
35866
+ recovery: {
35867
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35868
+ } | {
35869
+ action: "read_operation";
35870
+ operation: {
35871
+ kind: "command";
35872
+ serialNumber: string;
35873
+ idempotencyKey: string;
35874
+ } | {
35875
+ kind: "firmware";
35876
+ serialNumber: string;
35877
+ updateId: string;
35878
+ } | {
35879
+ kind: "bluetooth_firmware";
35880
+ deviceId: string;
35881
+ updateId: string;
35882
+ } | {
35883
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35884
+ deviceId: string;
35885
+ requestId: string;
35886
+ } | {
35887
+ kind: "support";
35888
+ requestId: string;
35889
+ };
35890
+ };
35891
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35892
+ currentRevision?: string | undefined;
35893
+ retryAfterSeconds?: number | undefined;
35894
+ }, unknown, z$1.core.$ZodTypeInternals<{
35895
+ traceId: string;
35896
+ recovery: {
35897
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35898
+ } | {
35899
+ action: "read_operation";
35900
+ operation: {
35901
+ kind: "command";
35902
+ serialNumber: string;
35903
+ idempotencyKey: string;
35904
+ } | {
35905
+ kind: "firmware";
35906
+ serialNumber: string;
35907
+ updateId: string;
35908
+ } | {
35909
+ kind: "bluetooth_firmware";
35910
+ deviceId: string;
35911
+ updateId: string;
35912
+ } | {
35913
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35914
+ deviceId: string;
35915
+ requestId: string;
35916
+ } | {
35917
+ kind: "support";
35918
+ requestId: string;
35919
+ };
35920
+ };
35921
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35922
+ currentRevision?: string | undefined;
35923
+ retryAfterSeconds?: number | undefined;
35924
+ }, unknown>>;
35925
+ };
35926
+ readonly service_unavailable: {
35927
+ readonly status: 503;
35928
+ readonly data: z$1.ZodType<{
35929
+ traceId: string;
35930
+ recovery: {
35931
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35932
+ } | {
35933
+ action: "read_operation";
35934
+ operation: {
35935
+ kind: "command";
35936
+ serialNumber: string;
35937
+ idempotencyKey: string;
35938
+ } | {
35939
+ kind: "firmware";
35940
+ serialNumber: string;
35941
+ updateId: string;
35942
+ } | {
35943
+ kind: "bluetooth_firmware";
35944
+ deviceId: string;
35945
+ updateId: string;
35946
+ } | {
35947
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35948
+ deviceId: string;
35949
+ requestId: string;
35950
+ } | {
35951
+ kind: "support";
35952
+ requestId: string;
35953
+ };
35954
+ };
35955
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35956
+ currentRevision?: string | undefined;
35957
+ retryAfterSeconds?: number | undefined;
35958
+ }, unknown, z$1.core.$ZodTypeInternals<{
35959
+ traceId: string;
35960
+ recovery: {
35961
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35962
+ } | {
35963
+ action: "read_operation";
35964
+ operation: {
35965
+ kind: "command";
35966
+ serialNumber: string;
35967
+ idempotencyKey: string;
35968
+ } | {
35969
+ kind: "firmware";
35970
+ serialNumber: string;
35971
+ updateId: string;
35972
+ } | {
35973
+ kind: "bluetooth_firmware";
35974
+ deviceId: string;
35975
+ updateId: string;
35976
+ } | {
35977
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
35978
+ deviceId: string;
35979
+ requestId: string;
35980
+ } | {
35981
+ kind: "support";
35982
+ requestId: string;
35983
+ };
35984
+ };
35985
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
35986
+ currentRevision?: string | undefined;
35987
+ retryAfterSeconds?: number | undefined;
35988
+ }, unknown>>;
35989
+ };
35990
+ readonly read_unavailable: {
35991
+ readonly status: 503;
35992
+ readonly data: z$1.ZodType<{
35993
+ traceId: string;
35994
+ recovery: {
35995
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
35996
+ } | {
35997
+ action: "read_operation";
35998
+ operation: {
35999
+ kind: "command";
36000
+ serialNumber: string;
36001
+ idempotencyKey: string;
36002
+ } | {
36003
+ kind: "firmware";
36004
+ serialNumber: string;
36005
+ updateId: string;
36006
+ } | {
36007
+ kind: "bluetooth_firmware";
36008
+ deviceId: string;
36009
+ updateId: string;
36010
+ } | {
36011
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36012
+ deviceId: string;
36013
+ requestId: string;
36014
+ } | {
36015
+ kind: "support";
36016
+ requestId: string;
36017
+ };
36018
+ };
36019
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36020
+ currentRevision?: string | undefined;
36021
+ retryAfterSeconds?: number | undefined;
36022
+ }, unknown, z$1.core.$ZodTypeInternals<{
36023
+ traceId: string;
36024
+ recovery: {
36025
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36026
+ } | {
36027
+ action: "read_operation";
36028
+ operation: {
36029
+ kind: "command";
36030
+ serialNumber: string;
36031
+ idempotencyKey: string;
36032
+ } | {
36033
+ kind: "firmware";
36034
+ serialNumber: string;
36035
+ updateId: string;
36036
+ } | {
36037
+ kind: "bluetooth_firmware";
36038
+ deviceId: string;
36039
+ updateId: string;
36040
+ } | {
36041
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36042
+ deviceId: string;
36043
+ requestId: string;
36044
+ } | {
36045
+ kind: "support";
36046
+ requestId: string;
36047
+ };
36048
+ };
36049
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36050
+ currentRevision?: string | undefined;
36051
+ retryAfterSeconds?: number | undefined;
36052
+ }, unknown>>;
36053
+ };
36054
+ readonly stream_unavailable: {
36055
+ readonly status: 503;
36056
+ readonly data: z$1.ZodType<{
36057
+ traceId: string;
36058
+ recovery: {
36059
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36060
+ } | {
36061
+ action: "read_operation";
36062
+ operation: {
36063
+ kind: "command";
36064
+ serialNumber: string;
36065
+ idempotencyKey: string;
36066
+ } | {
36067
+ kind: "firmware";
36068
+ serialNumber: string;
36069
+ updateId: string;
36070
+ } | {
36071
+ kind: "bluetooth_firmware";
36072
+ deviceId: string;
36073
+ updateId: string;
36074
+ } | {
36075
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36076
+ deviceId: string;
36077
+ requestId: string;
36078
+ } | {
36079
+ kind: "support";
36080
+ requestId: string;
36081
+ };
36082
+ };
36083
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36084
+ currentRevision?: string | undefined;
36085
+ retryAfterSeconds?: number | undefined;
36086
+ }, unknown, z$1.core.$ZodTypeInternals<{
36087
+ traceId: string;
36088
+ recovery: {
36089
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36090
+ } | {
36091
+ action: "read_operation";
36092
+ operation: {
36093
+ kind: "command";
36094
+ serialNumber: string;
36095
+ idempotencyKey: string;
36096
+ } | {
36097
+ kind: "firmware";
36098
+ serialNumber: string;
36099
+ updateId: string;
36100
+ } | {
36101
+ kind: "bluetooth_firmware";
36102
+ deviceId: string;
36103
+ updateId: string;
36104
+ } | {
36105
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36106
+ deviceId: string;
36107
+ requestId: string;
36108
+ } | {
36109
+ kind: "support";
36110
+ requestId: string;
36111
+ };
36112
+ };
36113
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36114
+ currentRevision?: string | undefined;
36115
+ retryAfterSeconds?: number | undefined;
36116
+ }, unknown>>;
36117
+ };
36118
+ readonly payload_too_large: {
36119
+ readonly status: 413;
36120
+ readonly data: z$1.ZodType<{
36121
+ traceId: string;
36122
+ recovery: {
36123
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36124
+ } | {
36125
+ action: "read_operation";
36126
+ operation: {
36127
+ kind: "command";
36128
+ serialNumber: string;
36129
+ idempotencyKey: string;
36130
+ } | {
36131
+ kind: "firmware";
36132
+ serialNumber: string;
36133
+ updateId: string;
36134
+ } | {
36135
+ kind: "bluetooth_firmware";
36136
+ deviceId: string;
36137
+ updateId: string;
36138
+ } | {
36139
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36140
+ deviceId: string;
36141
+ requestId: string;
36142
+ } | {
36143
+ kind: "support";
36144
+ requestId: string;
36145
+ };
36146
+ };
36147
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36148
+ currentRevision?: string | undefined;
36149
+ retryAfterSeconds?: number | undefined;
36150
+ }, unknown, z$1.core.$ZodTypeInternals<{
36151
+ traceId: string;
36152
+ recovery: {
36153
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36154
+ } | {
36155
+ action: "read_operation";
36156
+ operation: {
36157
+ kind: "command";
36158
+ serialNumber: string;
36159
+ idempotencyKey: string;
36160
+ } | {
36161
+ kind: "firmware";
36162
+ serialNumber: string;
36163
+ updateId: string;
36164
+ } | {
36165
+ kind: "bluetooth_firmware";
36166
+ deviceId: string;
36167
+ updateId: string;
36168
+ } | {
36169
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36170
+ deviceId: string;
36171
+ requestId: string;
36172
+ } | {
36173
+ kind: "support";
36174
+ requestId: string;
36175
+ };
36176
+ };
36177
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36178
+ currentRevision?: string | undefined;
36179
+ retryAfterSeconds?: number | undefined;
36180
+ }, unknown>>;
36181
+ };
36182
+ readonly request_timeout: {
36183
+ readonly status: 503;
36184
+ readonly data: z$1.ZodType<{
36185
+ traceId: string;
36186
+ recovery: {
36187
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36188
+ } | {
36189
+ action: "read_operation";
36190
+ operation: {
36191
+ kind: "command";
36192
+ serialNumber: string;
36193
+ idempotencyKey: string;
36194
+ } | {
36195
+ kind: "firmware";
36196
+ serialNumber: string;
36197
+ updateId: string;
36198
+ } | {
36199
+ kind: "bluetooth_firmware";
36200
+ deviceId: string;
36201
+ updateId: string;
36202
+ } | {
36203
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36204
+ deviceId: string;
36205
+ requestId: string;
36206
+ } | {
36207
+ kind: "support";
36208
+ requestId: string;
36209
+ };
36210
+ };
36211
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36212
+ currentRevision?: string | undefined;
36213
+ retryAfterSeconds?: number | undefined;
36214
+ }, unknown, z$1.core.$ZodTypeInternals<{
36215
+ traceId: string;
36216
+ recovery: {
36217
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36218
+ } | {
36219
+ action: "read_operation";
36220
+ operation: {
36221
+ kind: "command";
36222
+ serialNumber: string;
36223
+ idempotencyKey: string;
36224
+ } | {
36225
+ kind: "firmware";
36226
+ serialNumber: string;
36227
+ updateId: string;
36228
+ } | {
36229
+ kind: "bluetooth_firmware";
36230
+ deviceId: string;
36231
+ updateId: string;
36232
+ } | {
36233
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36234
+ deviceId: string;
36235
+ requestId: string;
36236
+ } | {
36237
+ kind: "support";
36238
+ requestId: string;
36239
+ };
36240
+ };
36241
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36242
+ currentRevision?: string | undefined;
36243
+ retryAfterSeconds?: number | undefined;
36244
+ }, unknown>>;
36245
+ };
36246
+ readonly operation_unconfirmed: {
36247
+ readonly status: 503;
36248
+ readonly data: z$1.ZodType<{
36249
+ traceId: string;
36250
+ recovery: {
36251
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36252
+ } | {
36253
+ action: "read_operation";
36254
+ operation: {
36255
+ kind: "command";
36256
+ serialNumber: string;
36257
+ idempotencyKey: string;
36258
+ } | {
36259
+ kind: "firmware";
36260
+ serialNumber: string;
36261
+ updateId: string;
36262
+ } | {
36263
+ kind: "bluetooth_firmware";
36264
+ deviceId: string;
36265
+ updateId: string;
36266
+ } | {
36267
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36268
+ deviceId: string;
36269
+ requestId: string;
36270
+ } | {
36271
+ kind: "support";
36272
+ requestId: string;
36273
+ };
36274
+ };
36275
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36276
+ currentRevision?: string | undefined;
36277
+ retryAfterSeconds?: number | undefined;
36278
+ }, unknown, z$1.core.$ZodTypeInternals<{
36279
+ traceId: string;
36280
+ recovery: {
36281
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36282
+ } | {
36283
+ action: "read_operation";
36284
+ operation: {
36285
+ kind: "command";
36286
+ serialNumber: string;
36287
+ idempotencyKey: string;
36288
+ } | {
36289
+ kind: "firmware";
36290
+ serialNumber: string;
36291
+ updateId: string;
36292
+ } | {
36293
+ kind: "bluetooth_firmware";
36294
+ deviceId: string;
36295
+ updateId: string;
36296
+ } | {
36297
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36298
+ deviceId: string;
36299
+ requestId: string;
36300
+ } | {
36301
+ kind: "support";
36302
+ requestId: string;
36303
+ };
36304
+ };
36305
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36306
+ currentRevision?: string | undefined;
36307
+ retryAfterSeconds?: number | undefined;
36308
+ }, unknown>>;
36309
+ };
36310
+ readonly directory_unavailable: {
36311
+ readonly status: 503;
36312
+ readonly data: z$1.ZodType<{
36313
+ traceId: string;
36314
+ recovery: {
36315
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36316
+ } | {
36317
+ action: "read_operation";
36318
+ operation: {
36319
+ kind: "command";
36320
+ serialNumber: string;
36321
+ idempotencyKey: string;
36322
+ } | {
36323
+ kind: "firmware";
36324
+ serialNumber: string;
36325
+ updateId: string;
36326
+ } | {
36327
+ kind: "bluetooth_firmware";
36328
+ deviceId: string;
36329
+ updateId: string;
36330
+ } | {
36331
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36332
+ deviceId: string;
36333
+ requestId: string;
36334
+ } | {
36335
+ kind: "support";
36336
+ requestId: string;
36337
+ };
36338
+ };
36339
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36340
+ currentRevision?: string | undefined;
36341
+ retryAfterSeconds?: number | undefined;
36342
+ }, unknown, z$1.core.$ZodTypeInternals<{
36343
+ traceId: string;
36344
+ recovery: {
36345
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36346
+ } | {
36347
+ action: "read_operation";
36348
+ operation: {
36349
+ kind: "command";
36350
+ serialNumber: string;
36351
+ idempotencyKey: string;
36352
+ } | {
36353
+ kind: "firmware";
36354
+ serialNumber: string;
36355
+ updateId: string;
36356
+ } | {
36357
+ kind: "bluetooth_firmware";
36358
+ deviceId: string;
36359
+ updateId: string;
36360
+ } | {
36361
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36362
+ deviceId: string;
36363
+ requestId: string;
36364
+ } | {
36365
+ kind: "support";
36366
+ requestId: string;
36367
+ };
36368
+ };
36369
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36370
+ currentRevision?: string | undefined;
36371
+ retryAfterSeconds?: number | undefined;
36372
+ }, unknown>>;
36373
+ };
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;
36395
+ readonly data: z$1.ZodType<{
36396
+ traceId: string;
36397
+ recovery: {
36398
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36399
+ } | {
36400
+ action: "read_operation";
36401
+ operation: {
36402
+ kind: "command";
36403
+ serialNumber: string;
36404
+ idempotencyKey: string;
36405
+ } | {
36406
+ kind: "firmware";
36407
+ serialNumber: string;
36408
+ updateId: string;
36409
+ } | {
36410
+ kind: "bluetooth_firmware";
36411
+ deviceId: string;
36412
+ updateId: string;
36413
+ } | {
36414
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36415
+ deviceId: string;
36416
+ requestId: string;
36417
+ } | {
36418
+ kind: "support";
36419
+ requestId: string;
36420
+ };
36421
+ };
36422
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36423
+ currentRevision?: string | undefined;
36424
+ retryAfterSeconds?: number | undefined;
36425
+ }, unknown, z$1.core.$ZodTypeInternals<{
36426
+ traceId: string;
36427
+ recovery: {
36428
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36429
+ } | {
36430
+ action: "read_operation";
36431
+ operation: {
36432
+ kind: "command";
36433
+ serialNumber: string;
36434
+ idempotencyKey: string;
36435
+ } | {
36436
+ kind: "firmware";
36437
+ serialNumber: string;
36438
+ updateId: string;
36439
+ } | {
36440
+ kind: "bluetooth_firmware";
36441
+ deviceId: string;
36442
+ updateId: string;
36443
+ } | {
36444
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36445
+ deviceId: string;
36446
+ requestId: string;
36447
+ } | {
36448
+ kind: "support";
36449
+ requestId: string;
36450
+ };
36451
+ };
36452
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36453
+ currentRevision?: string | undefined;
36454
+ retryAfterSeconds?: number | undefined;
36455
+ }, unknown>>;
36456
+ };
36457
+ readonly unauthenticated: {
36458
+ readonly status: 401;
36459
+ readonly data: z$1.ZodType<{
36460
+ traceId: string;
36461
+ recovery: {
36462
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36463
+ } | {
36464
+ action: "read_operation";
36465
+ operation: {
36466
+ kind: "command";
36467
+ serialNumber: string;
36468
+ idempotencyKey: string;
36469
+ } | {
36470
+ kind: "firmware";
36471
+ serialNumber: string;
36472
+ updateId: string;
36473
+ } | {
36474
+ kind: "bluetooth_firmware";
36475
+ deviceId: string;
36476
+ updateId: string;
36477
+ } | {
36478
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36479
+ deviceId: string;
36480
+ requestId: string;
36481
+ } | {
36482
+ kind: "support";
36483
+ requestId: string;
36484
+ };
36485
+ };
36486
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36487
+ currentRevision?: string | undefined;
36488
+ retryAfterSeconds?: number | undefined;
36489
+ }, unknown, z$1.core.$ZodTypeInternals<{
36490
+ traceId: string;
36491
+ recovery: {
36492
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36493
+ } | {
36494
+ action: "read_operation";
36495
+ operation: {
36496
+ kind: "command";
36497
+ serialNumber: string;
36498
+ idempotencyKey: string;
36499
+ } | {
36500
+ kind: "firmware";
36501
+ serialNumber: string;
36502
+ updateId: string;
36503
+ } | {
36504
+ kind: "bluetooth_firmware";
36505
+ deviceId: string;
36506
+ updateId: string;
36507
+ } | {
36508
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36509
+ deviceId: string;
36510
+ requestId: string;
36511
+ } | {
36512
+ kind: "support";
36513
+ requestId: string;
36514
+ };
36515
+ };
36516
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36517
+ currentRevision?: string | undefined;
36518
+ retryAfterSeconds?: number | undefined;
36519
+ }, unknown>>;
36520
+ };
36521
+ readonly forbidden: {
36522
+ readonly status: 403;
36523
+ readonly data: z$1.ZodType<{
36524
+ traceId: string;
36525
+ recovery: {
36526
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36527
+ } | {
36528
+ action: "read_operation";
36529
+ operation: {
36530
+ kind: "command";
36531
+ serialNumber: string;
36532
+ idempotencyKey: string;
36533
+ } | {
36534
+ kind: "firmware";
36535
+ serialNumber: string;
36536
+ updateId: string;
36537
+ } | {
36538
+ kind: "bluetooth_firmware";
36539
+ deviceId: string;
36540
+ updateId: string;
36541
+ } | {
36542
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36543
+ deviceId: string;
36544
+ requestId: string;
36545
+ } | {
36546
+ kind: "support";
36547
+ requestId: string;
36548
+ };
36549
+ };
36550
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36551
+ currentRevision?: string | undefined;
36552
+ retryAfterSeconds?: number | undefined;
36553
+ }, unknown, z$1.core.$ZodTypeInternals<{
36554
+ traceId: string;
36555
+ recovery: {
36556
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36557
+ } | {
36558
+ action: "read_operation";
36559
+ operation: {
36560
+ kind: "command";
36561
+ serialNumber: string;
36562
+ idempotencyKey: string;
36563
+ } | {
36564
+ kind: "firmware";
36565
+ serialNumber: string;
36566
+ updateId: string;
36567
+ } | {
36568
+ kind: "bluetooth_firmware";
36569
+ deviceId: string;
36570
+ updateId: string;
36571
+ } | {
36572
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36573
+ deviceId: string;
36574
+ requestId: string;
36575
+ } | {
36576
+ kind: "support";
36577
+ requestId: string;
36578
+ };
36579
+ };
36580
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36581
+ currentRevision?: string | undefined;
36582
+ retryAfterSeconds?: number | undefined;
36583
+ }, unknown>>;
36584
+ };
36585
+ readonly not_found: {
36586
+ readonly status: 404;
36587
+ readonly data: z$1.ZodType<{
36588
+ traceId: string;
36589
+ recovery: {
36590
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36591
+ } | {
36592
+ action: "read_operation";
36593
+ operation: {
36594
+ kind: "command";
36595
+ serialNumber: string;
36596
+ idempotencyKey: string;
36597
+ } | {
36598
+ kind: "firmware";
36599
+ serialNumber: string;
36600
+ updateId: string;
36601
+ } | {
36602
+ kind: "bluetooth_firmware";
36603
+ deviceId: string;
36604
+ updateId: string;
36605
+ } | {
36606
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36607
+ deviceId: string;
36608
+ requestId: string;
36609
+ } | {
36610
+ kind: "support";
36611
+ requestId: string;
36612
+ };
36613
+ };
36614
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36615
+ currentRevision?: string | undefined;
36616
+ retryAfterSeconds?: number | undefined;
36617
+ }, unknown, z$1.core.$ZodTypeInternals<{
36618
+ traceId: string;
36619
+ recovery: {
36620
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36621
+ } | {
36622
+ action: "read_operation";
36623
+ operation: {
36624
+ kind: "command";
36625
+ serialNumber: string;
36626
+ idempotencyKey: string;
36627
+ } | {
36628
+ kind: "firmware";
36629
+ serialNumber: string;
36630
+ updateId: string;
36631
+ } | {
36632
+ kind: "bluetooth_firmware";
36633
+ deviceId: string;
36634
+ updateId: string;
36635
+ } | {
36636
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36637
+ deviceId: string;
36638
+ requestId: string;
36639
+ } | {
36640
+ kind: "support";
36641
+ requestId: string;
36642
+ };
36643
+ };
36644
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36645
+ currentRevision?: string | undefined;
36646
+ retryAfterSeconds?: number | undefined;
36647
+ }, unknown>>;
36648
+ };
36649
+ readonly conflict: {
36650
+ readonly status: 409;
36651
+ readonly data: z$1.ZodType<{
36652
+ traceId: string;
36653
+ recovery: {
36654
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36655
+ } | {
36656
+ action: "read_operation";
36657
+ operation: {
36658
+ kind: "command";
36659
+ serialNumber: string;
36660
+ idempotencyKey: string;
36661
+ } | {
36662
+ kind: "firmware";
36663
+ serialNumber: string;
36664
+ updateId: string;
36665
+ } | {
36666
+ kind: "bluetooth_firmware";
36667
+ deviceId: string;
36668
+ updateId: string;
36669
+ } | {
36670
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36671
+ deviceId: string;
36672
+ requestId: string;
36673
+ } | {
36674
+ kind: "support";
36675
+ requestId: string;
36676
+ };
36677
+ };
36678
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36679
+ currentRevision?: string | undefined;
36680
+ retryAfterSeconds?: number | undefined;
36681
+ }, unknown, z$1.core.$ZodTypeInternals<{
36682
+ traceId: string;
36683
+ recovery: {
36684
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36685
+ } | {
36686
+ action: "read_operation";
36687
+ operation: {
36688
+ kind: "command";
36689
+ serialNumber: string;
36690
+ idempotencyKey: string;
36691
+ } | {
36692
+ kind: "firmware";
36693
+ serialNumber: string;
36694
+ updateId: string;
36695
+ } | {
36696
+ kind: "bluetooth_firmware";
36697
+ deviceId: string;
36698
+ updateId: string;
36699
+ } | {
36700
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36701
+ deviceId: string;
36702
+ requestId: string;
36703
+ } | {
36704
+ kind: "support";
36705
+ requestId: string;
36706
+ };
36707
+ };
36708
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36709
+ currentRevision?: string | undefined;
36710
+ retryAfterSeconds?: number | undefined;
36711
+ }, unknown>>;
36712
+ };
36713
+ readonly rate_limited: {
36714
+ readonly status: 429;
36715
+ readonly data: z$1.ZodType<{
36716
+ traceId: string;
36717
+ recovery: {
36718
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36719
+ } | {
36720
+ action: "read_operation";
36721
+ operation: {
36722
+ kind: "command";
36723
+ serialNumber: string;
36724
+ idempotencyKey: string;
36725
+ } | {
36726
+ kind: "firmware";
36727
+ serialNumber: string;
36728
+ updateId: string;
36729
+ } | {
36730
+ kind: "bluetooth_firmware";
36731
+ deviceId: string;
36732
+ updateId: string;
36733
+ } | {
36734
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36735
+ deviceId: string;
36736
+ requestId: string;
36737
+ } | {
36738
+ kind: "support";
36739
+ requestId: string;
36740
+ };
36741
+ };
36742
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36743
+ currentRevision?: string | undefined;
36744
+ retryAfterSeconds?: number | undefined;
36745
+ }, unknown, z$1.core.$ZodTypeInternals<{
36746
+ traceId: string;
36747
+ recovery: {
36748
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36749
+ } | {
36750
+ action: "read_operation";
36751
+ operation: {
36752
+ kind: "command";
36753
+ serialNumber: string;
36754
+ idempotencyKey: string;
36755
+ } | {
36756
+ kind: "firmware";
36757
+ serialNumber: string;
36758
+ updateId: string;
36759
+ } | {
36760
+ kind: "bluetooth_firmware";
36761
+ deviceId: string;
36762
+ updateId: string;
36763
+ } | {
36764
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36765
+ deviceId: string;
36766
+ requestId: string;
36767
+ } | {
36768
+ kind: "support";
36769
+ requestId: string;
36770
+ };
36771
+ };
36772
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36773
+ currentRevision?: string | undefined;
36774
+ retryAfterSeconds?: number | undefined;
36775
+ }, unknown>>;
36776
+ };
36777
+ readonly stored_data_invalid: {
36778
+ readonly status: 503;
36779
+ readonly data: z$1.ZodType<{
36780
+ traceId: string;
36781
+ recovery: {
36782
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36783
+ } | {
36784
+ action: "read_operation";
36785
+ operation: {
36786
+ kind: "command";
36787
+ serialNumber: string;
36788
+ idempotencyKey: string;
36789
+ } | {
36790
+ kind: "firmware";
36791
+ serialNumber: string;
36792
+ updateId: string;
36793
+ } | {
36794
+ kind: "bluetooth_firmware";
36795
+ deviceId: string;
36796
+ updateId: string;
36797
+ } | {
36798
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36799
+ deviceId: string;
36800
+ requestId: string;
36801
+ } | {
36802
+ kind: "support";
36803
+ requestId: string;
36804
+ };
36805
+ };
36806
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36807
+ currentRevision?: string | undefined;
36808
+ retryAfterSeconds?: number | undefined;
36809
+ }, unknown, z$1.core.$ZodTypeInternals<{
36810
+ traceId: string;
36811
+ recovery: {
36812
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36813
+ } | {
36814
+ action: "read_operation";
36815
+ operation: {
36816
+ kind: "command";
36817
+ serialNumber: string;
36818
+ idempotencyKey: string;
36819
+ } | {
36820
+ kind: "firmware";
36821
+ serialNumber: string;
36822
+ updateId: string;
36823
+ } | {
36824
+ kind: "bluetooth_firmware";
36825
+ deviceId: string;
36826
+ updateId: string;
36827
+ } | {
36828
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36829
+ deviceId: string;
36830
+ requestId: string;
36831
+ } | {
36832
+ kind: "support";
36833
+ requestId: string;
36834
+ };
36835
+ };
36836
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36837
+ currentRevision?: string | undefined;
36838
+ retryAfterSeconds?: number | undefined;
36839
+ }, unknown>>;
36840
+ };
36841
+ readonly service_unavailable: {
36842
+ readonly status: 503;
36843
+ readonly data: z$1.ZodType<{
36844
+ traceId: string;
36845
+ recovery: {
36846
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36847
+ } | {
36848
+ action: "read_operation";
36849
+ operation: {
36850
+ kind: "command";
36851
+ serialNumber: string;
36852
+ idempotencyKey: string;
36853
+ } | {
36854
+ kind: "firmware";
36855
+ serialNumber: string;
36856
+ updateId: string;
36857
+ } | {
36858
+ kind: "bluetooth_firmware";
36859
+ deviceId: string;
36860
+ updateId: string;
36861
+ } | {
36862
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36863
+ deviceId: string;
36864
+ requestId: string;
36865
+ } | {
36866
+ kind: "support";
36867
+ requestId: string;
36868
+ };
36869
+ };
36870
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36871
+ currentRevision?: string | undefined;
36872
+ retryAfterSeconds?: number | undefined;
36873
+ }, unknown, z$1.core.$ZodTypeInternals<{
36874
+ traceId: string;
36875
+ recovery: {
36876
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36877
+ } | {
36878
+ action: "read_operation";
36879
+ operation: {
36880
+ kind: "command";
36881
+ serialNumber: string;
36882
+ idempotencyKey: string;
36883
+ } | {
36884
+ kind: "firmware";
36885
+ serialNumber: string;
36886
+ updateId: string;
36887
+ } | {
36888
+ kind: "bluetooth_firmware";
36889
+ deviceId: string;
36890
+ updateId: string;
36891
+ } | {
36892
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36893
+ deviceId: string;
36894
+ requestId: string;
36895
+ } | {
36896
+ kind: "support";
36897
+ requestId: string;
36898
+ };
36899
+ };
36900
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36901
+ currentRevision?: string | undefined;
36902
+ retryAfterSeconds?: number | undefined;
36903
+ }, unknown>>;
36904
+ };
36905
+ readonly read_unavailable: {
36906
+ readonly status: 503;
36907
+ readonly data: z$1.ZodType<{
36908
+ traceId: string;
36909
+ recovery: {
36910
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36911
+ } | {
36912
+ action: "read_operation";
36913
+ operation: {
36914
+ kind: "command";
36915
+ serialNumber: string;
36916
+ idempotencyKey: string;
36917
+ } | {
36918
+ kind: "firmware";
36919
+ serialNumber: string;
36920
+ updateId: string;
36921
+ } | {
36922
+ kind: "bluetooth_firmware";
36923
+ deviceId: string;
36924
+ updateId: string;
36925
+ } | {
36926
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36927
+ deviceId: string;
36928
+ requestId: string;
36929
+ } | {
36930
+ kind: "support";
36931
+ requestId: string;
36932
+ };
36933
+ };
36934
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36935
+ currentRevision?: string | undefined;
36936
+ retryAfterSeconds?: number | undefined;
36937
+ }, unknown, z$1.core.$ZodTypeInternals<{
36938
+ traceId: string;
36939
+ recovery: {
36940
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36941
+ } | {
36942
+ action: "read_operation";
36943
+ operation: {
36944
+ kind: "command";
36945
+ serialNumber: string;
36946
+ idempotencyKey: string;
36947
+ } | {
36948
+ kind: "firmware";
36949
+ serialNumber: string;
36950
+ updateId: string;
36951
+ } | {
36952
+ kind: "bluetooth_firmware";
36953
+ deviceId: string;
36954
+ updateId: string;
36955
+ } | {
36956
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36957
+ deviceId: string;
36958
+ requestId: string;
36959
+ } | {
36960
+ kind: "support";
36961
+ requestId: string;
36962
+ };
36963
+ };
36964
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36965
+ currentRevision?: string | undefined;
36966
+ retryAfterSeconds?: number | undefined;
36967
+ }, unknown>>;
36968
+ };
36969
+ readonly stream_unavailable: {
36970
+ readonly status: 503;
36971
+ readonly data: z$1.ZodType<{
36972
+ traceId: string;
36973
+ recovery: {
36974
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
36975
+ } | {
36976
+ action: "read_operation";
36977
+ operation: {
36978
+ kind: "command";
36979
+ serialNumber: string;
36980
+ idempotencyKey: string;
36981
+ } | {
36982
+ kind: "firmware";
36983
+ serialNumber: string;
36984
+ updateId: string;
36985
+ } | {
36986
+ kind: "bluetooth_firmware";
36987
+ deviceId: string;
36988
+ updateId: string;
36989
+ } | {
36990
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
36991
+ deviceId: string;
36992
+ requestId: string;
36993
+ } | {
36994
+ kind: "support";
36995
+ requestId: string;
36996
+ };
36997
+ };
36998
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
36999
+ currentRevision?: string | undefined;
37000
+ retryAfterSeconds?: number | undefined;
37001
+ }, unknown, z$1.core.$ZodTypeInternals<{
37002
+ traceId: string;
37003
+ recovery: {
37004
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37005
+ } | {
37006
+ action: "read_operation";
37007
+ operation: {
37008
+ kind: "command";
37009
+ serialNumber: string;
37010
+ idempotencyKey: string;
37011
+ } | {
37012
+ kind: "firmware";
37013
+ serialNumber: string;
37014
+ updateId: string;
37015
+ } | {
37016
+ kind: "bluetooth_firmware";
37017
+ deviceId: string;
37018
+ updateId: string;
37019
+ } | {
37020
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37021
+ deviceId: string;
37022
+ requestId: string;
37023
+ } | {
37024
+ kind: "support";
37025
+ requestId: string;
37026
+ };
37027
+ };
37028
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37029
+ currentRevision?: string | undefined;
37030
+ retryAfterSeconds?: number | undefined;
37031
+ }, unknown>>;
37032
+ };
37033
+ readonly payload_too_large: {
37034
+ readonly status: 413;
37035
+ readonly data: z$1.ZodType<{
37036
+ traceId: string;
37037
+ recovery: {
37038
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37039
+ } | {
37040
+ action: "read_operation";
37041
+ operation: {
37042
+ kind: "command";
37043
+ serialNumber: string;
37044
+ idempotencyKey: string;
37045
+ } | {
37046
+ kind: "firmware";
37047
+ serialNumber: string;
37048
+ updateId: string;
37049
+ } | {
37050
+ kind: "bluetooth_firmware";
37051
+ deviceId: string;
37052
+ updateId: string;
37053
+ } | {
37054
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37055
+ deviceId: string;
37056
+ requestId: string;
37057
+ } | {
37058
+ kind: "support";
37059
+ requestId: string;
37060
+ };
37061
+ };
37062
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37063
+ currentRevision?: string | undefined;
37064
+ retryAfterSeconds?: number | undefined;
37065
+ }, unknown, z$1.core.$ZodTypeInternals<{
37066
+ traceId: string;
37067
+ recovery: {
37068
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37069
+ } | {
37070
+ action: "read_operation";
37071
+ operation: {
37072
+ kind: "command";
37073
+ serialNumber: string;
37074
+ idempotencyKey: string;
37075
+ } | {
37076
+ kind: "firmware";
37077
+ serialNumber: string;
37078
+ updateId: string;
37079
+ } | {
37080
+ kind: "bluetooth_firmware";
37081
+ deviceId: string;
37082
+ updateId: string;
37083
+ } | {
37084
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37085
+ deviceId: string;
37086
+ requestId: string;
37087
+ } | {
37088
+ kind: "support";
37089
+ requestId: string;
37090
+ };
37091
+ };
37092
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37093
+ currentRevision?: string | undefined;
37094
+ retryAfterSeconds?: number | undefined;
37095
+ }, unknown>>;
37096
+ };
37097
+ readonly request_timeout: {
37098
+ readonly status: 503;
37099
+ readonly data: z$1.ZodType<{
37100
+ traceId: string;
37101
+ recovery: {
37102
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37103
+ } | {
37104
+ action: "read_operation";
37105
+ operation: {
37106
+ kind: "command";
37107
+ serialNumber: string;
37108
+ idempotencyKey: string;
37109
+ } | {
37110
+ kind: "firmware";
37111
+ serialNumber: string;
37112
+ updateId: string;
37113
+ } | {
37114
+ kind: "bluetooth_firmware";
37115
+ deviceId: string;
37116
+ updateId: string;
37117
+ } | {
37118
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37119
+ deviceId: string;
37120
+ requestId: string;
37121
+ } | {
37122
+ kind: "support";
37123
+ requestId: string;
37124
+ };
37125
+ };
37126
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37127
+ currentRevision?: string | undefined;
37128
+ retryAfterSeconds?: number | undefined;
37129
+ }, unknown, z$1.core.$ZodTypeInternals<{
37130
+ traceId: string;
37131
+ recovery: {
37132
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37133
+ } | {
37134
+ action: "read_operation";
37135
+ operation: {
37136
+ kind: "command";
37137
+ serialNumber: string;
37138
+ idempotencyKey: string;
37139
+ } | {
37140
+ kind: "firmware";
37141
+ serialNumber: string;
37142
+ updateId: string;
37143
+ } | {
37144
+ kind: "bluetooth_firmware";
37145
+ deviceId: string;
37146
+ updateId: string;
37147
+ } | {
37148
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37149
+ deviceId: string;
37150
+ requestId: string;
37151
+ } | {
37152
+ kind: "support";
37153
+ requestId: string;
37154
+ };
37155
+ };
37156
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37157
+ currentRevision?: string | undefined;
37158
+ retryAfterSeconds?: number | undefined;
37159
+ }, unknown>>;
37160
+ };
37161
+ readonly operation_unconfirmed: {
37162
+ readonly status: 503;
37163
+ readonly data: z$1.ZodType<{
37164
+ traceId: string;
37165
+ recovery: {
37166
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37167
+ } | {
37168
+ action: "read_operation";
37169
+ operation: {
37170
+ kind: "command";
37171
+ serialNumber: string;
37172
+ idempotencyKey: string;
37173
+ } | {
37174
+ kind: "firmware";
37175
+ serialNumber: string;
37176
+ updateId: string;
37177
+ } | {
37178
+ kind: "bluetooth_firmware";
37179
+ deviceId: string;
37180
+ updateId: string;
37181
+ } | {
37182
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37183
+ deviceId: string;
37184
+ requestId: string;
37185
+ } | {
37186
+ kind: "support";
37187
+ requestId: string;
37188
+ };
37189
+ };
37190
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37191
+ currentRevision?: string | undefined;
37192
+ retryAfterSeconds?: number | undefined;
37193
+ }, unknown, z$1.core.$ZodTypeInternals<{
37194
+ traceId: string;
37195
+ recovery: {
37196
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37197
+ } | {
37198
+ action: "read_operation";
37199
+ operation: {
37200
+ kind: "command";
37201
+ serialNumber: string;
37202
+ idempotencyKey: string;
37203
+ } | {
37204
+ kind: "firmware";
37205
+ serialNumber: string;
37206
+ updateId: string;
37207
+ } | {
37208
+ kind: "bluetooth_firmware";
37209
+ deviceId: string;
37210
+ updateId: string;
37211
+ } | {
37212
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37213
+ deviceId: string;
37214
+ requestId: string;
37215
+ } | {
37216
+ kind: "support";
37217
+ requestId: string;
37218
+ };
37219
+ };
37220
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37221
+ currentRevision?: string | undefined;
37222
+ retryAfterSeconds?: number | undefined;
37223
+ }, unknown>>;
37224
+ };
37225
+ readonly directory_unavailable: {
37226
+ readonly status: 503;
37227
+ readonly data: z$1.ZodType<{
37228
+ traceId: string;
37229
+ recovery: {
37230
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37231
+ } | {
37232
+ action: "read_operation";
37233
+ operation: {
37234
+ kind: "command";
37235
+ serialNumber: string;
37236
+ idempotencyKey: string;
37237
+ } | {
37238
+ kind: "firmware";
37239
+ serialNumber: string;
37240
+ updateId: string;
37241
+ } | {
37242
+ kind: "bluetooth_firmware";
37243
+ deviceId: string;
37244
+ updateId: string;
37245
+ } | {
37246
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37247
+ deviceId: string;
37248
+ requestId: string;
37249
+ } | {
37250
+ kind: "support";
37251
+ requestId: string;
37252
+ };
37253
+ };
37254
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37255
+ currentRevision?: string | undefined;
37256
+ retryAfterSeconds?: number | undefined;
37257
+ }, unknown, z$1.core.$ZodTypeInternals<{
37258
+ traceId: string;
37259
+ recovery: {
37260
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37261
+ } | {
37262
+ action: "read_operation";
37263
+ operation: {
37264
+ kind: "command";
37265
+ serialNumber: string;
37266
+ idempotencyKey: string;
37267
+ } | {
37268
+ kind: "firmware";
37269
+ serialNumber: string;
37270
+ updateId: string;
37271
+ } | {
37272
+ kind: "bluetooth_firmware";
37273
+ deviceId: string;
37274
+ updateId: string;
37275
+ } | {
37276
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37277
+ deviceId: string;
37278
+ requestId: string;
37279
+ } | {
37280
+ kind: "support";
37281
+ requestId: string;
37282
+ };
37283
+ };
37284
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37285
+ currentRevision?: string | undefined;
37286
+ retryAfterSeconds?: number | undefined;
37287
+ }, unknown>>;
37288
+ };
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;
37320
+ readonly data: z$1.ZodType<{
37321
+ traceId: string;
37322
+ recovery: {
37323
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37324
+ } | {
37325
+ action: "read_operation";
37326
+ operation: {
37327
+ kind: "command";
37328
+ serialNumber: string;
37329
+ idempotencyKey: string;
37330
+ } | {
37331
+ kind: "firmware";
37332
+ serialNumber: string;
37333
+ updateId: string;
37334
+ } | {
37335
+ kind: "bluetooth_firmware";
37336
+ deviceId: string;
37337
+ updateId: string;
37338
+ } | {
37339
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37340
+ deviceId: string;
37341
+ requestId: string;
37342
+ } | {
37343
+ kind: "support";
37344
+ requestId: string;
37345
+ };
37346
+ };
37347
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37348
+ currentRevision?: string | undefined;
37349
+ retryAfterSeconds?: number | undefined;
37350
+ }, unknown, z$1.core.$ZodTypeInternals<{
37351
+ traceId: string;
37352
+ recovery: {
37353
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37354
+ } | {
37355
+ action: "read_operation";
37356
+ operation: {
37357
+ kind: "command";
37358
+ serialNumber: string;
37359
+ idempotencyKey: string;
37360
+ } | {
37361
+ kind: "firmware";
37362
+ serialNumber: string;
37363
+ updateId: string;
37364
+ } | {
37365
+ kind: "bluetooth_firmware";
37366
+ deviceId: string;
37367
+ updateId: string;
37368
+ } | {
37369
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37370
+ deviceId: string;
37371
+ requestId: string;
37372
+ } | {
37373
+ kind: "support";
37374
+ requestId: string;
37375
+ };
37376
+ };
37377
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37378
+ currentRevision?: string | undefined;
37379
+ retryAfterSeconds?: number | undefined;
37380
+ }, unknown>>;
37381
+ };
37382
+ readonly unauthenticated: {
37383
+ readonly status: 401;
37384
+ readonly data: z$1.ZodType<{
37385
+ traceId: string;
37386
+ recovery: {
37387
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37388
+ } | {
37389
+ action: "read_operation";
37390
+ operation: {
37391
+ kind: "command";
37392
+ serialNumber: string;
37393
+ idempotencyKey: string;
37394
+ } | {
37395
+ kind: "firmware";
37396
+ serialNumber: string;
37397
+ updateId: string;
37398
+ } | {
37399
+ kind: "bluetooth_firmware";
37400
+ deviceId: string;
37401
+ updateId: string;
37402
+ } | {
37403
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37404
+ deviceId: string;
37405
+ requestId: string;
37406
+ } | {
37407
+ kind: "support";
37408
+ requestId: string;
37409
+ };
37410
+ };
37411
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37412
+ currentRevision?: string | undefined;
37413
+ retryAfterSeconds?: number | undefined;
37414
+ }, unknown, z$1.core.$ZodTypeInternals<{
37415
+ traceId: string;
37416
+ recovery: {
37417
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37418
+ } | {
37419
+ action: "read_operation";
37420
+ operation: {
37421
+ kind: "command";
37422
+ serialNumber: string;
37423
+ idempotencyKey: string;
37424
+ } | {
37425
+ kind: "firmware";
37426
+ serialNumber: string;
37427
+ updateId: string;
37428
+ } | {
37429
+ kind: "bluetooth_firmware";
37430
+ deviceId: string;
37431
+ updateId: string;
37432
+ } | {
37433
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37434
+ deviceId: string;
37435
+ requestId: string;
37436
+ } | {
37437
+ kind: "support";
37438
+ requestId: string;
37439
+ };
37440
+ };
37441
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37442
+ currentRevision?: string | undefined;
37443
+ retryAfterSeconds?: number | undefined;
37444
+ }, unknown>>;
37445
+ };
37446
+ readonly forbidden: {
37447
+ readonly status: 403;
37448
+ readonly data: z$1.ZodType<{
37449
+ traceId: string;
37450
+ recovery: {
37451
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37452
+ } | {
37453
+ action: "read_operation";
37454
+ operation: {
37455
+ kind: "command";
37456
+ serialNumber: string;
37457
+ idempotencyKey: string;
37458
+ } | {
37459
+ kind: "firmware";
37460
+ serialNumber: string;
37461
+ updateId: string;
37462
+ } | {
37463
+ kind: "bluetooth_firmware";
37464
+ deviceId: string;
37465
+ updateId: string;
37466
+ } | {
37467
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37468
+ deviceId: string;
37469
+ requestId: string;
37470
+ } | {
37471
+ kind: "support";
37472
+ requestId: string;
37473
+ };
37474
+ };
37475
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37476
+ currentRevision?: string | undefined;
37477
+ retryAfterSeconds?: number | undefined;
37478
+ }, unknown, z$1.core.$ZodTypeInternals<{
37479
+ traceId: string;
37480
+ recovery: {
37481
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37482
+ } | {
37483
+ action: "read_operation";
37484
+ operation: {
37485
+ kind: "command";
37486
+ serialNumber: string;
37487
+ idempotencyKey: string;
37488
+ } | {
37489
+ kind: "firmware";
37490
+ serialNumber: string;
37491
+ updateId: string;
37492
+ } | {
37493
+ kind: "bluetooth_firmware";
37494
+ deviceId: string;
37495
+ updateId: string;
37496
+ } | {
37497
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37498
+ deviceId: string;
37499
+ requestId: string;
37500
+ } | {
37501
+ kind: "support";
37502
+ requestId: string;
37503
+ };
37504
+ };
37505
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37506
+ currentRevision?: string | undefined;
37507
+ retryAfterSeconds?: number | undefined;
37508
+ }, unknown>>;
37509
+ };
37510
+ readonly not_found: {
37511
+ readonly status: 404;
37512
+ readonly data: z$1.ZodType<{
37513
+ traceId: string;
37514
+ recovery: {
37515
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37516
+ } | {
37517
+ action: "read_operation";
37518
+ operation: {
37519
+ kind: "command";
37520
+ serialNumber: string;
37521
+ idempotencyKey: string;
37522
+ } | {
37523
+ kind: "firmware";
37524
+ serialNumber: string;
37525
+ updateId: string;
37526
+ } | {
37527
+ kind: "bluetooth_firmware";
37528
+ deviceId: string;
37529
+ updateId: string;
37530
+ } | {
37531
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37532
+ deviceId: string;
37533
+ requestId: string;
37534
+ } | {
37535
+ kind: "support";
37536
+ requestId: string;
37537
+ };
37538
+ };
37539
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37540
+ currentRevision?: string | undefined;
37541
+ retryAfterSeconds?: number | undefined;
37542
+ }, unknown, z$1.core.$ZodTypeInternals<{
37543
+ traceId: string;
37544
+ recovery: {
37545
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37546
+ } | {
37547
+ action: "read_operation";
37548
+ operation: {
37549
+ kind: "command";
37550
+ serialNumber: string;
37551
+ idempotencyKey: string;
37552
+ } | {
37553
+ kind: "firmware";
37554
+ serialNumber: string;
37555
+ updateId: string;
37556
+ } | {
37557
+ kind: "bluetooth_firmware";
37558
+ deviceId: string;
37559
+ updateId: string;
37560
+ } | {
37561
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37562
+ deviceId: string;
37563
+ requestId: string;
37564
+ } | {
37565
+ kind: "support";
37566
+ requestId: string;
37567
+ };
37568
+ };
37569
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37570
+ currentRevision?: string | undefined;
37571
+ retryAfterSeconds?: number | undefined;
37572
+ }, unknown>>;
37573
+ };
37574
+ readonly conflict: {
37575
+ readonly status: 409;
37576
+ readonly data: z$1.ZodType<{
37577
+ traceId: string;
37578
+ recovery: {
37579
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37580
+ } | {
37581
+ action: "read_operation";
37582
+ operation: {
37583
+ kind: "command";
37584
+ serialNumber: string;
37585
+ idempotencyKey: string;
37586
+ } | {
37587
+ kind: "firmware";
37588
+ serialNumber: string;
37589
+ updateId: string;
37590
+ } | {
37591
+ kind: "bluetooth_firmware";
37592
+ deviceId: string;
37593
+ updateId: string;
37594
+ } | {
37595
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37596
+ deviceId: string;
37597
+ requestId: string;
37598
+ } | {
37599
+ kind: "support";
37600
+ requestId: string;
37601
+ };
37602
+ };
37603
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37604
+ currentRevision?: string | undefined;
37605
+ retryAfterSeconds?: number | undefined;
37606
+ }, unknown, z$1.core.$ZodTypeInternals<{
37607
+ traceId: string;
37608
+ recovery: {
37609
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37610
+ } | {
37611
+ action: "read_operation";
37612
+ operation: {
37613
+ kind: "command";
37614
+ serialNumber: string;
37615
+ idempotencyKey: string;
37616
+ } | {
37617
+ kind: "firmware";
37618
+ serialNumber: string;
37619
+ updateId: string;
37620
+ } | {
37621
+ kind: "bluetooth_firmware";
37622
+ deviceId: string;
37623
+ updateId: string;
37624
+ } | {
37625
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37626
+ deviceId: string;
37627
+ requestId: string;
37628
+ } | {
37629
+ kind: "support";
37630
+ requestId: string;
37631
+ };
37632
+ };
37633
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37634
+ currentRevision?: string | undefined;
37635
+ retryAfterSeconds?: number | undefined;
37636
+ }, unknown>>;
37637
+ };
37638
+ readonly rate_limited: {
37639
+ readonly status: 429;
37640
+ readonly data: z$1.ZodType<{
37641
+ traceId: string;
37642
+ recovery: {
37643
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37644
+ } | {
37645
+ action: "read_operation";
37646
+ operation: {
37647
+ kind: "command";
37648
+ serialNumber: string;
37649
+ idempotencyKey: string;
37650
+ } | {
37651
+ kind: "firmware";
37652
+ serialNumber: string;
37653
+ updateId: string;
37654
+ } | {
37655
+ kind: "bluetooth_firmware";
37656
+ deviceId: string;
37657
+ updateId: string;
37658
+ } | {
37659
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37660
+ deviceId: string;
37661
+ requestId: string;
37662
+ } | {
37663
+ kind: "support";
37664
+ requestId: string;
37665
+ };
37666
+ };
37667
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37668
+ currentRevision?: string | undefined;
37669
+ retryAfterSeconds?: number | undefined;
37670
+ }, unknown, z$1.core.$ZodTypeInternals<{
37671
+ traceId: string;
37672
+ recovery: {
37673
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37674
+ } | {
37675
+ action: "read_operation";
37676
+ operation: {
37677
+ kind: "command";
37678
+ serialNumber: string;
37679
+ idempotencyKey: string;
37680
+ } | {
37681
+ kind: "firmware";
37682
+ serialNumber: string;
37683
+ updateId: string;
37684
+ } | {
37685
+ kind: "bluetooth_firmware";
37686
+ deviceId: string;
37687
+ updateId: string;
37688
+ } | {
37689
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37690
+ deviceId: string;
37691
+ requestId: string;
37692
+ } | {
37693
+ kind: "support";
37694
+ requestId: string;
37695
+ };
37696
+ };
37697
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37698
+ currentRevision?: string | undefined;
37699
+ retryAfterSeconds?: number | undefined;
37700
+ }, unknown>>;
37701
+ };
37702
+ readonly stored_data_invalid: {
37703
+ readonly status: 503;
37704
+ readonly data: z$1.ZodType<{
37705
+ traceId: string;
37706
+ recovery: {
37707
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37708
+ } | {
37709
+ action: "read_operation";
37710
+ operation: {
37711
+ kind: "command";
37712
+ serialNumber: string;
37713
+ idempotencyKey: string;
37714
+ } | {
37715
+ kind: "firmware";
37716
+ serialNumber: string;
37717
+ updateId: string;
37718
+ } | {
37719
+ kind: "bluetooth_firmware";
37720
+ deviceId: string;
37721
+ updateId: string;
37722
+ } | {
37723
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37724
+ deviceId: string;
37725
+ requestId: string;
37726
+ } | {
37727
+ kind: "support";
37728
+ requestId: string;
37729
+ };
37730
+ };
37731
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37732
+ currentRevision?: string | undefined;
37733
+ retryAfterSeconds?: number | undefined;
37734
+ }, unknown, z$1.core.$ZodTypeInternals<{
37735
+ traceId: string;
37736
+ recovery: {
37737
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37738
+ } | {
37739
+ action: "read_operation";
37740
+ operation: {
37741
+ kind: "command";
37742
+ serialNumber: string;
37743
+ idempotencyKey: string;
37744
+ } | {
37745
+ kind: "firmware";
37746
+ serialNumber: string;
37747
+ updateId: string;
37748
+ } | {
37749
+ kind: "bluetooth_firmware";
37750
+ deviceId: string;
37751
+ updateId: string;
37752
+ } | {
37753
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37754
+ deviceId: string;
37755
+ requestId: string;
37756
+ } | {
37757
+ kind: "support";
37758
+ requestId: string;
37759
+ };
37760
+ };
37761
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37762
+ currentRevision?: string | undefined;
37763
+ retryAfterSeconds?: number | undefined;
37764
+ }, unknown>>;
37765
+ };
37766
+ readonly service_unavailable: {
37767
+ readonly status: 503;
37768
+ readonly data: z$1.ZodType<{
37769
+ traceId: string;
37770
+ recovery: {
37771
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37772
+ } | {
37773
+ action: "read_operation";
37774
+ operation: {
37775
+ kind: "command";
37776
+ serialNumber: string;
37777
+ idempotencyKey: string;
37778
+ } | {
37779
+ kind: "firmware";
37780
+ serialNumber: string;
37781
+ updateId: string;
37782
+ } | {
37783
+ kind: "bluetooth_firmware";
37784
+ deviceId: string;
37785
+ updateId: string;
37786
+ } | {
37787
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37788
+ deviceId: string;
37789
+ requestId: string;
37790
+ } | {
37791
+ kind: "support";
37792
+ requestId: string;
37793
+ };
37794
+ };
37795
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37796
+ currentRevision?: string | undefined;
37797
+ retryAfterSeconds?: number | undefined;
37798
+ }, unknown, z$1.core.$ZodTypeInternals<{
37799
+ traceId: string;
37800
+ recovery: {
37801
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37802
+ } | {
37803
+ action: "read_operation";
37804
+ operation: {
37805
+ kind: "command";
37806
+ serialNumber: string;
37807
+ idempotencyKey: string;
37808
+ } | {
37809
+ kind: "firmware";
37810
+ serialNumber: string;
37811
+ updateId: string;
37812
+ } | {
37813
+ kind: "bluetooth_firmware";
37814
+ deviceId: string;
37815
+ updateId: string;
37816
+ } | {
37817
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37818
+ deviceId: string;
37819
+ requestId: string;
37820
+ } | {
37821
+ kind: "support";
37822
+ requestId: string;
37823
+ };
37824
+ };
37825
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37826
+ currentRevision?: string | undefined;
37827
+ retryAfterSeconds?: number | undefined;
37828
+ }, unknown>>;
37829
+ };
37830
+ readonly read_unavailable: {
37831
+ readonly status: 503;
37832
+ readonly data: z$1.ZodType<{
37833
+ traceId: string;
37834
+ recovery: {
37835
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37836
+ } | {
37837
+ action: "read_operation";
37838
+ operation: {
37839
+ kind: "command";
37840
+ serialNumber: string;
37841
+ idempotencyKey: string;
37842
+ } | {
37843
+ kind: "firmware";
37844
+ serialNumber: string;
37845
+ updateId: string;
37846
+ } | {
37847
+ kind: "bluetooth_firmware";
37848
+ deviceId: string;
37849
+ updateId: string;
37850
+ } | {
37851
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37852
+ deviceId: string;
37853
+ requestId: string;
37854
+ } | {
37855
+ kind: "support";
37856
+ requestId: string;
37857
+ };
37858
+ };
37859
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37860
+ currentRevision?: string | undefined;
37861
+ retryAfterSeconds?: number | undefined;
37862
+ }, unknown, z$1.core.$ZodTypeInternals<{
37863
+ traceId: string;
37864
+ recovery: {
37865
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37866
+ } | {
37867
+ action: "read_operation";
37868
+ operation: {
37869
+ kind: "command";
37870
+ serialNumber: string;
37871
+ idempotencyKey: string;
37872
+ } | {
37873
+ kind: "firmware";
37874
+ serialNumber: string;
37875
+ updateId: string;
37876
+ } | {
37877
+ kind: "bluetooth_firmware";
37878
+ deviceId: string;
37879
+ updateId: string;
37880
+ } | {
37881
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37882
+ deviceId: string;
37883
+ requestId: string;
37884
+ } | {
37885
+ kind: "support";
37886
+ requestId: string;
37887
+ };
37888
+ };
37889
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37890
+ currentRevision?: string | undefined;
37891
+ retryAfterSeconds?: number | undefined;
37892
+ }, unknown>>;
37893
+ };
37894
+ readonly stream_unavailable: {
37895
+ readonly status: 503;
37896
+ readonly data: z$1.ZodType<{
37897
+ traceId: string;
37898
+ recovery: {
37899
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37900
+ } | {
37901
+ action: "read_operation";
37902
+ operation: {
37903
+ kind: "command";
37904
+ serialNumber: string;
37905
+ idempotencyKey: string;
37906
+ } | {
37907
+ kind: "firmware";
37908
+ serialNumber: string;
37909
+ updateId: string;
37910
+ } | {
37911
+ kind: "bluetooth_firmware";
37912
+ deviceId: string;
37913
+ updateId: string;
37914
+ } | {
37915
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37916
+ deviceId: string;
37917
+ requestId: string;
37918
+ } | {
37919
+ kind: "support";
37920
+ requestId: string;
37921
+ };
37922
+ };
37923
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37924
+ currentRevision?: string | undefined;
37925
+ retryAfterSeconds?: number | undefined;
37926
+ }, unknown, z$1.core.$ZodTypeInternals<{
37927
+ traceId: string;
37928
+ recovery: {
37929
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37930
+ } | {
37931
+ action: "read_operation";
37932
+ operation: {
37933
+ kind: "command";
37934
+ serialNumber: string;
37935
+ idempotencyKey: string;
37936
+ } | {
37937
+ kind: "firmware";
37938
+ serialNumber: string;
37939
+ updateId: string;
37940
+ } | {
37941
+ kind: "bluetooth_firmware";
37942
+ deviceId: string;
37943
+ updateId: string;
37944
+ } | {
37945
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37946
+ deviceId: string;
37947
+ requestId: string;
37948
+ } | {
37949
+ kind: "support";
37950
+ requestId: string;
37951
+ };
37952
+ };
37953
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37954
+ currentRevision?: string | undefined;
37955
+ retryAfterSeconds?: number | undefined;
37956
+ }, unknown>>;
37957
+ };
37958
+ readonly payload_too_large: {
37959
+ readonly status: 413;
37960
+ readonly data: z$1.ZodType<{
37961
+ traceId: string;
37962
+ recovery: {
37963
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37964
+ } | {
37965
+ action: "read_operation";
37966
+ operation: {
37967
+ kind: "command";
37968
+ serialNumber: string;
37969
+ idempotencyKey: string;
37970
+ } | {
37971
+ kind: "firmware";
37972
+ serialNumber: string;
37973
+ updateId: string;
37974
+ } | {
37975
+ kind: "bluetooth_firmware";
37976
+ deviceId: string;
37977
+ updateId: string;
37978
+ } | {
37979
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
37980
+ deviceId: string;
37981
+ requestId: string;
37982
+ } | {
37983
+ kind: "support";
37984
+ requestId: string;
37985
+ };
37986
+ };
37987
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
37988
+ currentRevision?: string | undefined;
37989
+ retryAfterSeconds?: number | undefined;
37990
+ }, unknown, z$1.core.$ZodTypeInternals<{
37991
+ traceId: string;
37992
+ recovery: {
37993
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
37994
+ } | {
37995
+ action: "read_operation";
37996
+ operation: {
37997
+ kind: "command";
37998
+ serialNumber: string;
37999
+ idempotencyKey: string;
38000
+ } | {
38001
+ kind: "firmware";
38002
+ serialNumber: string;
38003
+ updateId: string;
38004
+ } | {
38005
+ kind: "bluetooth_firmware";
38006
+ deviceId: string;
38007
+ updateId: string;
38008
+ } | {
38009
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38010
+ deviceId: string;
38011
+ requestId: string;
38012
+ } | {
38013
+ kind: "support";
38014
+ requestId: string;
38015
+ };
38016
+ };
38017
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38018
+ currentRevision?: string | undefined;
38019
+ retryAfterSeconds?: number | undefined;
38020
+ }, unknown>>;
38021
+ };
38022
+ readonly request_timeout: {
38023
+ readonly status: 503;
38024
+ readonly data: z$1.ZodType<{
38025
+ traceId: string;
38026
+ recovery: {
38027
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38028
+ } | {
38029
+ action: "read_operation";
38030
+ operation: {
38031
+ kind: "command";
38032
+ serialNumber: string;
38033
+ idempotencyKey: string;
38034
+ } | {
38035
+ kind: "firmware";
38036
+ serialNumber: string;
38037
+ updateId: string;
38038
+ } | {
38039
+ kind: "bluetooth_firmware";
38040
+ deviceId: string;
38041
+ updateId: string;
38042
+ } | {
38043
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38044
+ deviceId: string;
38045
+ requestId: string;
38046
+ } | {
38047
+ kind: "support";
38048
+ requestId: string;
38049
+ };
38050
+ };
38051
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38052
+ currentRevision?: string | undefined;
38053
+ retryAfterSeconds?: number | undefined;
38054
+ }, unknown, z$1.core.$ZodTypeInternals<{
38055
+ traceId: string;
38056
+ recovery: {
38057
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38058
+ } | {
38059
+ action: "read_operation";
38060
+ operation: {
38061
+ kind: "command";
38062
+ serialNumber: string;
38063
+ idempotencyKey: string;
38064
+ } | {
38065
+ kind: "firmware";
38066
+ serialNumber: string;
38067
+ updateId: string;
38068
+ } | {
38069
+ kind: "bluetooth_firmware";
38070
+ deviceId: string;
38071
+ updateId: string;
38072
+ } | {
38073
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38074
+ deviceId: string;
38075
+ requestId: string;
38076
+ } | {
38077
+ kind: "support";
38078
+ requestId: string;
38079
+ };
38080
+ };
38081
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38082
+ currentRevision?: string | undefined;
38083
+ retryAfterSeconds?: number | undefined;
38084
+ }, unknown>>;
38085
+ };
38086
+ readonly operation_unconfirmed: {
38087
+ readonly status: 503;
38088
+ readonly data: z$1.ZodType<{
38089
+ traceId: string;
38090
+ recovery: {
38091
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38092
+ } | {
38093
+ action: "read_operation";
38094
+ operation: {
38095
+ kind: "command";
38096
+ serialNumber: string;
38097
+ idempotencyKey: string;
38098
+ } | {
38099
+ kind: "firmware";
38100
+ serialNumber: string;
38101
+ updateId: string;
38102
+ } | {
38103
+ kind: "bluetooth_firmware";
38104
+ deviceId: string;
38105
+ updateId: string;
38106
+ } | {
38107
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38108
+ deviceId: string;
38109
+ requestId: string;
38110
+ } | {
38111
+ kind: "support";
38112
+ requestId: string;
38113
+ };
38114
+ };
38115
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38116
+ currentRevision?: string | undefined;
38117
+ retryAfterSeconds?: number | undefined;
38118
+ }, unknown, z$1.core.$ZodTypeInternals<{
38119
+ traceId: string;
38120
+ recovery: {
38121
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38122
+ } | {
38123
+ action: "read_operation";
38124
+ operation: {
38125
+ kind: "command";
38126
+ serialNumber: string;
38127
+ idempotencyKey: string;
38128
+ } | {
38129
+ kind: "firmware";
38130
+ serialNumber: string;
38131
+ updateId: string;
38132
+ } | {
38133
+ kind: "bluetooth_firmware";
38134
+ deviceId: string;
38135
+ updateId: string;
38136
+ } | {
38137
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38138
+ deviceId: string;
38139
+ requestId: string;
38140
+ } | {
38141
+ kind: "support";
38142
+ requestId: string;
38143
+ };
38144
+ };
38145
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38146
+ currentRevision?: string | undefined;
38147
+ retryAfterSeconds?: number | undefined;
38148
+ }, unknown>>;
38149
+ };
38150
+ readonly directory_unavailable: {
38151
+ readonly status: 503;
38152
+ readonly data: z$1.ZodType<{
38153
+ traceId: string;
38154
+ recovery: {
38155
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38156
+ } | {
38157
+ action: "read_operation";
38158
+ operation: {
38159
+ kind: "command";
38160
+ serialNumber: string;
38161
+ idempotencyKey: string;
38162
+ } | {
38163
+ kind: "firmware";
38164
+ serialNumber: string;
38165
+ updateId: string;
38166
+ } | {
38167
+ kind: "bluetooth_firmware";
38168
+ deviceId: string;
38169
+ updateId: string;
38170
+ } | {
38171
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38172
+ deviceId: string;
38173
+ requestId: string;
38174
+ } | {
38175
+ kind: "support";
38176
+ requestId: string;
38177
+ };
38178
+ };
38179
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38180
+ currentRevision?: string | undefined;
38181
+ retryAfterSeconds?: number | undefined;
38182
+ }, unknown, z$1.core.$ZodTypeInternals<{
38183
+ traceId: string;
38184
+ recovery: {
38185
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38186
+ } | {
38187
+ action: "read_operation";
38188
+ operation: {
38189
+ kind: "command";
38190
+ serialNumber: string;
38191
+ idempotencyKey: string;
38192
+ } | {
38193
+ kind: "firmware";
38194
+ serialNumber: string;
38195
+ updateId: string;
38196
+ } | {
38197
+ kind: "bluetooth_firmware";
38198
+ deviceId: string;
38199
+ updateId: string;
38200
+ } | {
38201
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38202
+ deviceId: string;
38203
+ requestId: string;
38204
+ } | {
38205
+ kind: "support";
38206
+ requestId: string;
38207
+ };
38208
+ };
38209
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38210
+ currentRevision?: string | undefined;
38211
+ retryAfterSeconds?: number | undefined;
38212
+ }, unknown>>;
38213
+ };
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
+ readonly invalid: {
38235
+ readonly status: 400;
38236
+ readonly data: z$1.ZodType<{
38237
+ traceId: string;
38238
+ recovery: {
38239
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38240
+ } | {
38241
+ action: "read_operation";
38242
+ operation: {
38243
+ kind: "command";
38244
+ serialNumber: string;
38245
+ idempotencyKey: string;
38246
+ } | {
38247
+ kind: "firmware";
38248
+ serialNumber: string;
38249
+ updateId: string;
38250
+ } | {
38251
+ kind: "bluetooth_firmware";
38252
+ deviceId: string;
38253
+ updateId: string;
38254
+ } | {
38255
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38256
+ deviceId: string;
38257
+ requestId: string;
38258
+ } | {
38259
+ kind: "support";
38260
+ requestId: string;
38261
+ };
38262
+ };
38263
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38264
+ currentRevision?: string | undefined;
38265
+ retryAfterSeconds?: number | undefined;
38266
+ }, unknown, z$1.core.$ZodTypeInternals<{
38267
+ traceId: string;
38268
+ recovery: {
38269
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38270
+ } | {
38271
+ action: "read_operation";
38272
+ operation: {
38273
+ kind: "command";
38274
+ serialNumber: string;
38275
+ idempotencyKey: string;
38276
+ } | {
38277
+ kind: "firmware";
38278
+ serialNumber: string;
38279
+ updateId: string;
38280
+ } | {
38281
+ kind: "bluetooth_firmware";
38282
+ deviceId: string;
38283
+ updateId: string;
38284
+ } | {
38285
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38286
+ deviceId: string;
38287
+ requestId: string;
38288
+ } | {
38289
+ kind: "support";
38290
+ requestId: string;
38291
+ };
38292
+ };
38293
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38294
+ currentRevision?: string | undefined;
38295
+ retryAfterSeconds?: number | undefined;
38296
+ }, unknown>>;
38297
+ };
38298
+ readonly unauthenticated: {
38299
+ readonly status: 401;
38300
+ readonly data: z$1.ZodType<{
38301
+ traceId: string;
38302
+ recovery: {
38303
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38304
+ } | {
38305
+ action: "read_operation";
38306
+ operation: {
38307
+ kind: "command";
38308
+ serialNumber: string;
38309
+ idempotencyKey: string;
38310
+ } | {
38311
+ kind: "firmware";
38312
+ serialNumber: string;
38313
+ updateId: string;
38314
+ } | {
38315
+ kind: "bluetooth_firmware";
38316
+ deviceId: string;
38317
+ updateId: string;
38318
+ } | {
38319
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38320
+ deviceId: string;
38321
+ requestId: string;
38322
+ } | {
38323
+ kind: "support";
38324
+ requestId: string;
38325
+ };
38326
+ };
38327
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38328
+ currentRevision?: string | undefined;
38329
+ retryAfterSeconds?: number | undefined;
38330
+ }, unknown, z$1.core.$ZodTypeInternals<{
38331
+ traceId: string;
38332
+ recovery: {
38333
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38334
+ } | {
38335
+ action: "read_operation";
38336
+ operation: {
38337
+ kind: "command";
38338
+ serialNumber: string;
38339
+ idempotencyKey: string;
38340
+ } | {
38341
+ kind: "firmware";
38342
+ serialNumber: string;
38343
+ updateId: string;
38344
+ } | {
38345
+ kind: "bluetooth_firmware";
38346
+ deviceId: string;
38347
+ updateId: string;
38348
+ } | {
38349
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38350
+ deviceId: string;
38351
+ requestId: string;
38352
+ } | {
38353
+ kind: "support";
38354
+ requestId: string;
38355
+ };
38356
+ };
38357
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38358
+ currentRevision?: string | undefined;
38359
+ retryAfterSeconds?: number | undefined;
38360
+ }, unknown>>;
38361
+ };
38362
+ readonly forbidden: {
38363
+ readonly status: 403;
38364
+ readonly data: z$1.ZodType<{
38365
+ traceId: string;
38366
+ recovery: {
38367
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38368
+ } | {
38369
+ action: "read_operation";
38370
+ operation: {
38371
+ kind: "command";
38372
+ serialNumber: string;
38373
+ idempotencyKey: string;
38374
+ } | {
38375
+ kind: "firmware";
38376
+ serialNumber: string;
38377
+ updateId: string;
38378
+ } | {
38379
+ kind: "bluetooth_firmware";
38380
+ deviceId: string;
38381
+ updateId: string;
38382
+ } | {
38383
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38384
+ deviceId: string;
38385
+ requestId: string;
38386
+ } | {
38387
+ kind: "support";
38388
+ requestId: string;
38389
+ };
38390
+ };
38391
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38392
+ currentRevision?: string | undefined;
38393
+ retryAfterSeconds?: number | undefined;
38394
+ }, unknown, z$1.core.$ZodTypeInternals<{
38395
+ traceId: string;
38396
+ recovery: {
38397
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38398
+ } | {
38399
+ action: "read_operation";
38400
+ operation: {
38401
+ kind: "command";
38402
+ serialNumber: string;
38403
+ idempotencyKey: string;
38404
+ } | {
38405
+ kind: "firmware";
38406
+ serialNumber: string;
38407
+ updateId: string;
38408
+ } | {
38409
+ kind: "bluetooth_firmware";
38410
+ deviceId: string;
38411
+ updateId: string;
38412
+ } | {
38413
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38414
+ deviceId: string;
38415
+ requestId: string;
38416
+ } | {
38417
+ kind: "support";
38418
+ requestId: string;
38419
+ };
38420
+ };
38421
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38422
+ currentRevision?: string | undefined;
38423
+ retryAfterSeconds?: number | undefined;
38424
+ }, unknown>>;
38425
+ };
38426
+ readonly not_found: {
38427
+ readonly status: 404;
38428
+ readonly data: z$1.ZodType<{
38429
+ traceId: string;
38430
+ recovery: {
38431
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38432
+ } | {
38433
+ action: "read_operation";
38434
+ operation: {
38435
+ kind: "command";
38436
+ serialNumber: string;
38437
+ idempotencyKey: string;
38438
+ } | {
38439
+ kind: "firmware";
38440
+ serialNumber: string;
38441
+ updateId: string;
38442
+ } | {
38443
+ kind: "bluetooth_firmware";
38444
+ deviceId: string;
38445
+ updateId: string;
38446
+ } | {
38447
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38448
+ deviceId: string;
38449
+ requestId: string;
38450
+ } | {
38451
+ kind: "support";
38452
+ requestId: string;
38453
+ };
38454
+ };
38455
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38456
+ currentRevision?: string | undefined;
38457
+ retryAfterSeconds?: number | undefined;
38458
+ }, unknown, z$1.core.$ZodTypeInternals<{
38459
+ traceId: string;
38460
+ recovery: {
38461
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38462
+ } | {
38463
+ action: "read_operation";
38464
+ operation: {
38465
+ kind: "command";
38466
+ serialNumber: string;
38467
+ idempotencyKey: string;
38468
+ } | {
38469
+ kind: "firmware";
38470
+ serialNumber: string;
38471
+ updateId: string;
38472
+ } | {
38473
+ kind: "bluetooth_firmware";
38474
+ deviceId: string;
38475
+ updateId: string;
38476
+ } | {
38477
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38478
+ deviceId: string;
38479
+ requestId: string;
38480
+ } | {
38481
+ kind: "support";
38482
+ requestId: string;
38483
+ };
38484
+ };
38485
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38486
+ currentRevision?: string | undefined;
38487
+ retryAfterSeconds?: number | undefined;
38488
+ }, unknown>>;
38489
+ };
38490
+ readonly conflict: {
38491
+ readonly status: 409;
38492
+ readonly data: z$1.ZodType<{
38493
+ traceId: string;
38494
+ recovery: {
38495
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38496
+ } | {
38497
+ action: "read_operation";
38498
+ operation: {
38499
+ kind: "command";
38500
+ serialNumber: string;
38501
+ idempotencyKey: string;
38502
+ } | {
38503
+ kind: "firmware";
38504
+ serialNumber: string;
38505
+ updateId: string;
38506
+ } | {
38507
+ kind: "bluetooth_firmware";
38508
+ deviceId: string;
38509
+ updateId: string;
38510
+ } | {
38511
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38512
+ deviceId: string;
38513
+ requestId: string;
38514
+ } | {
38515
+ kind: "support";
38516
+ requestId: string;
38517
+ };
38518
+ };
38519
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38520
+ currentRevision?: string | undefined;
38521
+ retryAfterSeconds?: number | undefined;
38522
+ }, unknown, z$1.core.$ZodTypeInternals<{
38523
+ traceId: string;
38524
+ recovery: {
38525
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38526
+ } | {
38527
+ action: "read_operation";
38528
+ operation: {
38529
+ kind: "command";
38530
+ serialNumber: string;
38531
+ idempotencyKey: string;
38532
+ } | {
38533
+ kind: "firmware";
38534
+ serialNumber: string;
38535
+ updateId: string;
38536
+ } | {
38537
+ kind: "bluetooth_firmware";
38538
+ deviceId: string;
38539
+ updateId: string;
38540
+ } | {
38541
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38542
+ deviceId: string;
38543
+ requestId: string;
38544
+ } | {
38545
+ kind: "support";
38546
+ requestId: string;
38547
+ };
38548
+ };
38549
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38550
+ currentRevision?: string | undefined;
38551
+ retryAfterSeconds?: number | undefined;
38552
+ }, unknown>>;
38553
+ };
38554
+ readonly rate_limited: {
38555
+ readonly status: 429;
38556
+ readonly data: z$1.ZodType<{
38557
+ traceId: string;
38558
+ recovery: {
38559
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38560
+ } | {
38561
+ action: "read_operation";
38562
+ operation: {
38563
+ kind: "command";
38564
+ serialNumber: string;
38565
+ idempotencyKey: string;
38566
+ } | {
38567
+ kind: "firmware";
38568
+ serialNumber: string;
38569
+ updateId: string;
38570
+ } | {
38571
+ kind: "bluetooth_firmware";
38572
+ deviceId: string;
38573
+ updateId: string;
38574
+ } | {
38575
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38576
+ deviceId: string;
38577
+ requestId: string;
38578
+ } | {
38579
+ kind: "support";
38580
+ requestId: string;
38581
+ };
38582
+ };
38583
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38584
+ currentRevision?: string | undefined;
38585
+ retryAfterSeconds?: number | undefined;
38586
+ }, unknown, z$1.core.$ZodTypeInternals<{
38587
+ traceId: string;
38588
+ recovery: {
38589
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38590
+ } | {
38591
+ action: "read_operation";
38592
+ operation: {
38593
+ kind: "command";
38594
+ serialNumber: string;
38595
+ idempotencyKey: string;
38596
+ } | {
38597
+ kind: "firmware";
38598
+ serialNumber: string;
38599
+ updateId: string;
38600
+ } | {
38601
+ kind: "bluetooth_firmware";
38602
+ deviceId: string;
38603
+ updateId: string;
38604
+ } | {
38605
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38606
+ deviceId: string;
38607
+ requestId: string;
38608
+ } | {
38609
+ kind: "support";
38610
+ requestId: string;
38611
+ };
38612
+ };
38613
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38614
+ currentRevision?: string | undefined;
38615
+ retryAfterSeconds?: number | undefined;
38616
+ }, unknown>>;
38617
+ };
38618
+ readonly stored_data_invalid: {
38619
+ readonly status: 503;
38620
+ readonly data: z$1.ZodType<{
38621
+ traceId: string;
38622
+ recovery: {
38623
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38624
+ } | {
38625
+ action: "read_operation";
38626
+ operation: {
38627
+ kind: "command";
38628
+ serialNumber: string;
38629
+ idempotencyKey: string;
38630
+ } | {
38631
+ kind: "firmware";
38632
+ serialNumber: string;
38633
+ updateId: string;
38634
+ } | {
38635
+ kind: "bluetooth_firmware";
38636
+ deviceId: string;
38637
+ updateId: string;
38638
+ } | {
38639
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38640
+ deviceId: string;
38641
+ requestId: string;
38642
+ } | {
38643
+ kind: "support";
38644
+ requestId: string;
38645
+ };
38646
+ };
38647
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38648
+ currentRevision?: string | undefined;
38649
+ retryAfterSeconds?: number | undefined;
38650
+ }, unknown, z$1.core.$ZodTypeInternals<{
38651
+ traceId: string;
38652
+ recovery: {
38653
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38654
+ } | {
38655
+ action: "read_operation";
38656
+ operation: {
38657
+ kind: "command";
38658
+ serialNumber: string;
38659
+ idempotencyKey: string;
38660
+ } | {
38661
+ kind: "firmware";
38662
+ serialNumber: string;
38663
+ updateId: string;
38664
+ } | {
38665
+ kind: "bluetooth_firmware";
38666
+ deviceId: string;
38667
+ updateId: string;
38668
+ } | {
38669
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38670
+ deviceId: string;
38671
+ requestId: string;
38672
+ } | {
38673
+ kind: "support";
38674
+ requestId: string;
38675
+ };
38676
+ };
38677
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38678
+ currentRevision?: string | undefined;
38679
+ retryAfterSeconds?: number | undefined;
38680
+ }, unknown>>;
38681
+ };
38682
+ readonly service_unavailable: {
38683
+ readonly status: 503;
38684
+ readonly data: z$1.ZodType<{
38685
+ traceId: string;
38686
+ recovery: {
38687
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38688
+ } | {
38689
+ action: "read_operation";
38690
+ operation: {
38691
+ kind: "command";
38692
+ serialNumber: string;
38693
+ idempotencyKey: string;
38694
+ } | {
38695
+ kind: "firmware";
38696
+ serialNumber: string;
38697
+ updateId: string;
38698
+ } | {
38699
+ kind: "bluetooth_firmware";
38700
+ deviceId: string;
38701
+ updateId: string;
38702
+ } | {
38703
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38704
+ deviceId: string;
38705
+ requestId: string;
38706
+ } | {
38707
+ kind: "support";
38708
+ requestId: string;
38709
+ };
38710
+ };
38711
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38712
+ currentRevision?: string | undefined;
38713
+ retryAfterSeconds?: number | undefined;
38714
+ }, unknown, z$1.core.$ZodTypeInternals<{
38715
+ traceId: string;
38716
+ recovery: {
38717
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38718
+ } | {
38719
+ action: "read_operation";
38720
+ operation: {
38721
+ kind: "command";
38722
+ serialNumber: string;
38723
+ idempotencyKey: string;
38724
+ } | {
38725
+ kind: "firmware";
38726
+ serialNumber: string;
38727
+ updateId: string;
38728
+ } | {
38729
+ kind: "bluetooth_firmware";
38730
+ deviceId: string;
38731
+ updateId: string;
38732
+ } | {
38733
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38734
+ deviceId: string;
38735
+ requestId: string;
38736
+ } | {
38737
+ kind: "support";
38738
+ requestId: string;
38739
+ };
38740
+ };
38741
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38742
+ currentRevision?: string | undefined;
38743
+ retryAfterSeconds?: number | undefined;
38744
+ }, unknown>>;
38745
+ };
38746
+ readonly read_unavailable: {
38747
+ readonly status: 503;
38748
+ readonly data: z$1.ZodType<{
38749
+ traceId: string;
38750
+ recovery: {
38751
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38752
+ } | {
38753
+ action: "read_operation";
38754
+ operation: {
38755
+ kind: "command";
38756
+ serialNumber: string;
38757
+ idempotencyKey: string;
38758
+ } | {
38759
+ kind: "firmware";
38760
+ serialNumber: string;
38761
+ updateId: string;
38762
+ } | {
38763
+ kind: "bluetooth_firmware";
38764
+ deviceId: string;
38765
+ updateId: string;
38766
+ } | {
38767
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38768
+ deviceId: string;
38769
+ requestId: string;
38770
+ } | {
38771
+ kind: "support";
38772
+ requestId: string;
38773
+ };
38774
+ };
38775
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38776
+ currentRevision?: string | undefined;
38777
+ retryAfterSeconds?: number | undefined;
38778
+ }, unknown, z$1.core.$ZodTypeInternals<{
38779
+ traceId: string;
38780
+ recovery: {
38781
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38782
+ } | {
38783
+ action: "read_operation";
38784
+ operation: {
38785
+ kind: "command";
38786
+ serialNumber: string;
38787
+ idempotencyKey: string;
38788
+ } | {
38789
+ kind: "firmware";
38790
+ serialNumber: string;
38791
+ updateId: string;
38792
+ } | {
38793
+ kind: "bluetooth_firmware";
38794
+ deviceId: string;
38795
+ updateId: string;
38796
+ } | {
38797
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38798
+ deviceId: string;
38799
+ requestId: string;
38800
+ } | {
38801
+ kind: "support";
38802
+ requestId: string;
38803
+ };
38804
+ };
38805
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38806
+ currentRevision?: string | undefined;
38807
+ retryAfterSeconds?: number | undefined;
38808
+ }, unknown>>;
38809
+ };
38810
+ readonly stream_unavailable: {
38811
+ readonly status: 503;
38812
+ readonly data: z$1.ZodType<{
38813
+ traceId: string;
38814
+ recovery: {
38815
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38816
+ } | {
38817
+ action: "read_operation";
38818
+ operation: {
38819
+ kind: "command";
38820
+ serialNumber: string;
38821
+ idempotencyKey: string;
38822
+ } | {
38823
+ kind: "firmware";
38824
+ serialNumber: string;
38825
+ updateId: string;
38826
+ } | {
38827
+ kind: "bluetooth_firmware";
38828
+ deviceId: string;
38829
+ updateId: string;
38830
+ } | {
38831
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38832
+ deviceId: string;
38833
+ requestId: string;
38834
+ } | {
38835
+ kind: "support";
38836
+ requestId: string;
38837
+ };
38838
+ };
38839
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38840
+ currentRevision?: string | undefined;
38841
+ retryAfterSeconds?: number | undefined;
38842
+ }, unknown, z$1.core.$ZodTypeInternals<{
38843
+ traceId: string;
38844
+ recovery: {
38845
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38846
+ } | {
38847
+ action: "read_operation";
38848
+ operation: {
38849
+ kind: "command";
38850
+ serialNumber: string;
38851
+ idempotencyKey: string;
38852
+ } | {
38853
+ kind: "firmware";
38854
+ serialNumber: string;
38855
+ updateId: string;
38856
+ } | {
38857
+ kind: "bluetooth_firmware";
38858
+ deviceId: string;
38859
+ updateId: string;
38860
+ } | {
38861
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38862
+ deviceId: string;
38863
+ requestId: string;
38864
+ } | {
38865
+ kind: "support";
38866
+ requestId: string;
38867
+ };
38868
+ };
38869
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38870
+ currentRevision?: string | undefined;
38871
+ retryAfterSeconds?: number | undefined;
38872
+ }, unknown>>;
38873
+ };
38874
+ readonly payload_too_large: {
38875
+ readonly status: 413;
38876
+ readonly data: z$1.ZodType<{
38877
+ traceId: string;
38878
+ recovery: {
38879
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38880
+ } | {
38881
+ action: "read_operation";
38882
+ operation: {
38883
+ kind: "command";
38884
+ serialNumber: string;
38885
+ idempotencyKey: string;
38886
+ } | {
38887
+ kind: "firmware";
38888
+ serialNumber: string;
38889
+ updateId: string;
38890
+ } | {
38891
+ kind: "bluetooth_firmware";
38892
+ deviceId: string;
38893
+ updateId: string;
38894
+ } | {
38895
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38896
+ deviceId: string;
38897
+ requestId: string;
38898
+ } | {
38899
+ kind: "support";
38900
+ requestId: string;
38901
+ };
38902
+ };
38903
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38904
+ currentRevision?: string | undefined;
38905
+ retryAfterSeconds?: number | undefined;
38906
+ }, unknown, z$1.core.$ZodTypeInternals<{
38907
+ traceId: string;
38908
+ recovery: {
38909
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38910
+ } | {
38911
+ action: "read_operation";
38912
+ operation: {
38913
+ kind: "command";
38914
+ serialNumber: string;
38915
+ idempotencyKey: string;
38916
+ } | {
38917
+ kind: "firmware";
38918
+ serialNumber: string;
38919
+ updateId: string;
38920
+ } | {
38921
+ kind: "bluetooth_firmware";
38922
+ deviceId: string;
38923
+ updateId: string;
38924
+ } | {
38925
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38926
+ deviceId: string;
38927
+ requestId: string;
38928
+ } | {
38929
+ kind: "support";
38930
+ requestId: string;
38931
+ };
38932
+ };
38933
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38934
+ currentRevision?: string | undefined;
38935
+ retryAfterSeconds?: number | undefined;
38936
+ }, unknown>>;
38937
+ };
38938
+ readonly request_timeout: {
38939
+ readonly status: 503;
38940
+ readonly data: z$1.ZodType<{
38941
+ traceId: string;
38942
+ recovery: {
38943
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38944
+ } | {
38945
+ action: "read_operation";
38946
+ operation: {
38947
+ kind: "command";
38948
+ serialNumber: string;
38949
+ idempotencyKey: string;
38950
+ } | {
38951
+ kind: "firmware";
38952
+ serialNumber: string;
38953
+ updateId: string;
38954
+ } | {
38955
+ kind: "bluetooth_firmware";
38956
+ deviceId: string;
38957
+ updateId: string;
38958
+ } | {
38959
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38960
+ deviceId: string;
38961
+ requestId: string;
38962
+ } | {
38963
+ kind: "support";
38964
+ requestId: string;
38965
+ };
38966
+ };
38967
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38968
+ currentRevision?: string | undefined;
38969
+ retryAfterSeconds?: number | undefined;
38970
+ }, unknown, z$1.core.$ZodTypeInternals<{
38971
+ traceId: string;
38972
+ recovery: {
38973
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38974
+ } | {
38975
+ action: "read_operation";
38976
+ operation: {
38977
+ kind: "command";
38978
+ serialNumber: string;
38979
+ idempotencyKey: string;
38980
+ } | {
38981
+ kind: "firmware";
38982
+ serialNumber: string;
38983
+ updateId: string;
38984
+ } | {
38985
+ kind: "bluetooth_firmware";
38986
+ deviceId: string;
38987
+ updateId: string;
38988
+ } | {
38989
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38990
+ deviceId: string;
38991
+ requestId: string;
38992
+ } | {
38993
+ kind: "support";
38994
+ requestId: string;
38995
+ };
38996
+ };
38997
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38998
+ currentRevision?: string | undefined;
38999
+ retryAfterSeconds?: number | undefined;
39000
+ }, unknown>>;
39001
+ };
39002
+ readonly operation_unconfirmed: {
39003
+ readonly status: 503;
39004
+ readonly data: z$1.ZodType<{
39005
+ traceId: string;
39006
+ recovery: {
39007
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39008
+ } | {
39009
+ action: "read_operation";
39010
+ operation: {
39011
+ kind: "command";
39012
+ serialNumber: string;
39013
+ idempotencyKey: string;
39014
+ } | {
39015
+ kind: "firmware";
39016
+ serialNumber: string;
39017
+ updateId: string;
39018
+ } | {
39019
+ kind: "bluetooth_firmware";
39020
+ deviceId: string;
39021
+ updateId: string;
39022
+ } | {
39023
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39024
+ deviceId: string;
39025
+ requestId: string;
39026
+ } | {
39027
+ kind: "support";
39028
+ requestId: string;
39029
+ };
39030
+ };
39031
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39032
+ currentRevision?: string | undefined;
39033
+ retryAfterSeconds?: number | undefined;
39034
+ }, unknown, z$1.core.$ZodTypeInternals<{
39035
+ traceId: string;
39036
+ recovery: {
39037
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39038
+ } | {
39039
+ action: "read_operation";
39040
+ operation: {
39041
+ kind: "command";
39042
+ serialNumber: string;
39043
+ idempotencyKey: string;
39044
+ } | {
39045
+ kind: "firmware";
39046
+ serialNumber: string;
39047
+ updateId: string;
39048
+ } | {
39049
+ kind: "bluetooth_firmware";
39050
+ deviceId: string;
39051
+ updateId: string;
39052
+ } | {
39053
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39054
+ deviceId: string;
39055
+ requestId: string;
39056
+ } | {
39057
+ kind: "support";
39058
+ requestId: string;
39059
+ };
39060
+ };
39061
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39062
+ currentRevision?: string | undefined;
39063
+ retryAfterSeconds?: number | undefined;
39064
+ }, unknown>>;
39065
+ };
39066
+ readonly directory_unavailable: {
39067
+ readonly status: 503;
39068
+ readonly data: z$1.ZodType<{
39069
+ traceId: string;
39070
+ recovery: {
39071
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39072
+ } | {
39073
+ action: "read_operation";
39074
+ operation: {
39075
+ kind: "command";
39076
+ serialNumber: string;
39077
+ idempotencyKey: string;
39078
+ } | {
39079
+ kind: "firmware";
39080
+ serialNumber: string;
39081
+ updateId: string;
39082
+ } | {
39083
+ kind: "bluetooth_firmware";
39084
+ deviceId: string;
39085
+ updateId: string;
39086
+ } | {
39087
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39088
+ deviceId: string;
39089
+ requestId: string;
39090
+ } | {
39091
+ kind: "support";
39092
+ requestId: string;
39093
+ };
39094
+ };
39095
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39096
+ currentRevision?: string | undefined;
39097
+ retryAfterSeconds?: number | undefined;
39098
+ }, unknown, z$1.core.$ZodTypeInternals<{
39099
+ traceId: string;
39100
+ recovery: {
39101
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39102
+ } | {
39103
+ action: "read_operation";
39104
+ operation: {
39105
+ kind: "command";
39106
+ serialNumber: string;
39107
+ idempotencyKey: string;
39108
+ } | {
39109
+ kind: "firmware";
39110
+ serialNumber: string;
39111
+ updateId: string;
39112
+ } | {
39113
+ kind: "bluetooth_firmware";
39114
+ deviceId: string;
39115
+ updateId: string;
39116
+ } | {
39117
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39118
+ deviceId: string;
39119
+ requestId: string;
39120
+ } | {
39121
+ kind: "support";
39122
+ requestId: string;
39123
+ };
39124
+ };
39125
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39126
+ currentRevision?: string | undefined;
39127
+ retryAfterSeconds?: number | undefined;
39128
+ }, unknown>>;
39129
+ };
39130
+ }>, Record<never, never>>;
39131
+ };
39132
+ export type FirmwareCatalogFamily = z$1.infer<typeof firmwareCatalogFamily>;
39133
+ export type FirmwareCatalogRelease = z$1.infer<typeof firmwareCatalogRelease>;
39134
+ export type FirmwareCatalogUploadInput = z$1.infer<typeof firmwareCatalogUploadInput>;
39135
+ export type FirmwareCatalogPublishInput = z$1.infer<typeof firmwareCatalogPublishInput>;
35400
39136
  declare const gcpContract: {
35401
39137
  firmware: {
35402
39138
  options: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -148968,6 +152704,7 @@ declare const trackerContract: {
148968
152704
  };
148969
152705
  };
148970
152706
  export declare const staffContract: {
152707
+ firmware: typeof firmwareCatalogContract;
148971
152708
  realtime: typeof realtimeContract;
148972
152709
  subscriptions: typeof staffSubscriptionContract;
148973
152710
  favorites: typeof favoriteContract;