@bikefinder/staff-sdk 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -63571,8 +63571,8 @@ export declare const firmwareCatalogContract: {
63571
63571
  }, z$1.core.$strip>>;
63572
63572
  nextAfter: z$1.ZodNullable<z$1.ZodString>;
63573
63573
  }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
63574
- readonly invalid: {
63575
- readonly status: 400;
63574
+ readonly inventory_changed: {
63575
+ readonly status: 412;
63576
63576
  readonly data: z$1.ZodType<{
63577
63577
  traceId: string;
63578
63578
  recovery: {
@@ -63635,8 +63635,8 @@ export declare const firmwareCatalogContract: {
63635
63635
  retryAfterSeconds?: number | undefined;
63636
63636
  }, unknown>>;
63637
63637
  };
63638
- readonly unauthenticated: {
63639
- readonly status: 401;
63638
+ readonly firmware_catalog_invalid: {
63639
+ readonly status: 503;
63640
63640
  readonly data: z$1.ZodType<{
63641
63641
  traceId: string;
63642
63642
  recovery: {
@@ -63699,8 +63699,8 @@ export declare const firmwareCatalogContract: {
63699
63699
  retryAfterSeconds?: number | undefined;
63700
63700
  }, unknown>>;
63701
63701
  };
63702
- readonly forbidden: {
63703
- readonly status: 403;
63702
+ readonly firmware_catalog_full: {
63703
+ readonly status: 503;
63704
63704
  readonly data: z$1.ZodType<{
63705
63705
  traceId: string;
63706
63706
  recovery: {
@@ -63763,8 +63763,8 @@ export declare const firmwareCatalogContract: {
63763
63763
  retryAfterSeconds?: number | undefined;
63764
63764
  }, unknown>>;
63765
63765
  };
63766
- readonly not_found: {
63767
- readonly status: 404;
63766
+ readonly firmware_execution_invalid: {
63767
+ readonly status: 503;
63768
63768
  readonly data: z$1.ZodType<{
63769
63769
  traceId: string;
63770
63770
  recovery: {
@@ -63827,8 +63827,8 @@ export declare const firmwareCatalogContract: {
63827
63827
  retryAfterSeconds?: number | undefined;
63828
63828
  }, unknown>>;
63829
63829
  };
63830
- readonly conflict: {
63831
- readonly status: 409;
63830
+ readonly firmware_review_changed: {
63831
+ readonly status: 412;
63832
63832
  readonly data: z$1.ZodType<{
63833
63833
  traceId: string;
63834
63834
  recovery: {
@@ -63891,8 +63891,8 @@ export declare const firmwareCatalogContract: {
63891
63891
  retryAfterSeconds?: number | undefined;
63892
63892
  }, unknown>>;
63893
63893
  };
63894
- readonly rate_limited: {
63895
- readonly status: 429;
63894
+ readonly firmware_review_required: {
63895
+ readonly status: 428;
63896
63896
  readonly data: z$1.ZodType<{
63897
63897
  traceId: string;
63898
63898
  recovery: {
@@ -63955,7 +63955,7 @@ export declare const firmwareCatalogContract: {
63955
63955
  retryAfterSeconds?: number | undefined;
63956
63956
  }, unknown>>;
63957
63957
  };
63958
- readonly stored_data_invalid: {
63958
+ readonly firmware_policy_unavailable: {
63959
63959
  readonly status: 503;
63960
63960
  readonly data: z$1.ZodType<{
63961
63961
  traceId: string;
@@ -64019,7 +64019,7 @@ export declare const firmwareCatalogContract: {
64019
64019
  retryAfterSeconds?: number | undefined;
64020
64020
  }, unknown>>;
64021
64021
  };
64022
- readonly service_unavailable: {
64022
+ readonly firmware_release_unavailable: {
64023
64023
  readonly status: 503;
64024
64024
  readonly data: z$1.ZodType<{
64025
64025
  traceId: string;
@@ -64083,8 +64083,8 @@ export declare const firmwareCatalogContract: {
64083
64083
  retryAfterSeconds?: number | undefined;
64084
64084
  }, unknown>>;
64085
64085
  };
64086
- readonly read_unavailable: {
64087
- readonly status: 503;
64086
+ readonly invalid: {
64087
+ readonly status: 400;
64088
64088
  readonly data: z$1.ZodType<{
64089
64089
  traceId: string;
64090
64090
  recovery: {
@@ -64147,8 +64147,8 @@ export declare const firmwareCatalogContract: {
64147
64147
  retryAfterSeconds?: number | undefined;
64148
64148
  }, unknown>>;
64149
64149
  };
64150
- readonly stream_unavailable: {
64151
- readonly status: 503;
64150
+ readonly unauthenticated: {
64151
+ readonly status: 401;
64152
64152
  readonly data: z$1.ZodType<{
64153
64153
  traceId: string;
64154
64154
  recovery: {
@@ -64211,8 +64211,8 @@ export declare const firmwareCatalogContract: {
64211
64211
  retryAfterSeconds?: number | undefined;
64212
64212
  }, unknown>>;
64213
64213
  };
64214
- readonly payload_too_large: {
64215
- readonly status: 413;
64214
+ readonly forbidden: {
64215
+ readonly status: 403;
64216
64216
  readonly data: z$1.ZodType<{
64217
64217
  traceId: string;
64218
64218
  recovery: {
@@ -64275,8 +64275,8 @@ export declare const firmwareCatalogContract: {
64275
64275
  retryAfterSeconds?: number | undefined;
64276
64276
  }, unknown>>;
64277
64277
  };
64278
- readonly request_timeout: {
64279
- readonly status: 503;
64278
+ readonly not_found: {
64279
+ readonly status: 404;
64280
64280
  readonly data: z$1.ZodType<{
64281
64281
  traceId: string;
64282
64282
  recovery: {
@@ -64339,8 +64339,8 @@ export declare const firmwareCatalogContract: {
64339
64339
  retryAfterSeconds?: number | undefined;
64340
64340
  }, unknown>>;
64341
64341
  };
64342
- readonly operation_unconfirmed: {
64343
- readonly status: 503;
64342
+ readonly conflict: {
64343
+ readonly status: 409;
64344
64344
  readonly data: z$1.ZodType<{
64345
64345
  traceId: string;
64346
64346
  recovery: {
@@ -64403,8 +64403,8 @@ export declare const firmwareCatalogContract: {
64403
64403
  retryAfterSeconds?: number | undefined;
64404
64404
  }, unknown>>;
64405
64405
  };
64406
- readonly directory_unavailable: {
64407
- readonly status: 503;
64406
+ readonly rate_limited: {
64407
+ readonly status: 429;
64408
64408
  readonly data: z$1.ZodType<{
64409
64409
  traceId: string;
64410
64410
  recovery: {
@@ -64467,27 +64467,8 @@ export declare const firmwareCatalogContract: {
64467
64467
  retryAfterSeconds?: number | undefined;
64468
64468
  }, unknown>>;
64469
64469
  };
64470
- }>, Record<never, never>>;
64471
- get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
64472
- id: z$1.ZodString;
64473
- }, z$1.core.$strict>, z$1.ZodObject<{
64474
- id: z$1.ZodString;
64475
- family: z$1.ZodEnum<{
64476
- "gen2-lte": "gen2-lte";
64477
- "gen2-battery": "gen2-battery";
64478
- }>;
64479
- version: z$1.ZodString;
64480
- revision: z$1.ZodString;
64481
- size: z$1.ZodInt;
64482
- sha256: z$1.ZodString;
64483
- notes: z$1.ZodString;
64484
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
64485
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
64486
- downloadUrl: z$1.ZodURL;
64487
- availableForUpdates: z$1.ZodBoolean;
64488
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
64489
- readonly invalid: {
64490
- readonly status: 400;
64470
+ readonly stored_data_invalid: {
64471
+ readonly status: 503;
64491
64472
  readonly data: z$1.ZodType<{
64492
64473
  traceId: string;
64493
64474
  recovery: {
@@ -64550,8 +64531,8 @@ export declare const firmwareCatalogContract: {
64550
64531
  retryAfterSeconds?: number | undefined;
64551
64532
  }, unknown>>;
64552
64533
  };
64553
- readonly unauthenticated: {
64554
- readonly status: 401;
64534
+ readonly service_unavailable: {
64535
+ readonly status: 503;
64555
64536
  readonly data: z$1.ZodType<{
64556
64537
  traceId: string;
64557
64538
  recovery: {
@@ -64614,8 +64595,8 @@ export declare const firmwareCatalogContract: {
64614
64595
  retryAfterSeconds?: number | undefined;
64615
64596
  }, unknown>>;
64616
64597
  };
64617
- readonly forbidden: {
64618
- readonly status: 403;
64598
+ readonly read_unavailable: {
64599
+ readonly status: 503;
64619
64600
  readonly data: z$1.ZodType<{
64620
64601
  traceId: string;
64621
64602
  recovery: {
@@ -64678,8 +64659,8 @@ export declare const firmwareCatalogContract: {
64678
64659
  retryAfterSeconds?: number | undefined;
64679
64660
  }, unknown>>;
64680
64661
  };
64681
- readonly not_found: {
64682
- readonly status: 404;
64662
+ readonly stream_unavailable: {
64663
+ readonly status: 503;
64683
64664
  readonly data: z$1.ZodType<{
64684
64665
  traceId: string;
64685
64666
  recovery: {
@@ -64742,8 +64723,8 @@ export declare const firmwareCatalogContract: {
64742
64723
  retryAfterSeconds?: number | undefined;
64743
64724
  }, unknown>>;
64744
64725
  };
64745
- readonly conflict: {
64746
- readonly status: 409;
64726
+ readonly payload_too_large: {
64727
+ readonly status: 413;
64747
64728
  readonly data: z$1.ZodType<{
64748
64729
  traceId: string;
64749
64730
  recovery: {
@@ -64806,8 +64787,8 @@ export declare const firmwareCatalogContract: {
64806
64787
  retryAfterSeconds?: number | undefined;
64807
64788
  }, unknown>>;
64808
64789
  };
64809
- readonly rate_limited: {
64810
- readonly status: 429;
64790
+ readonly request_timeout: {
64791
+ readonly status: 503;
64811
64792
  readonly data: z$1.ZodType<{
64812
64793
  traceId: string;
64813
64794
  recovery: {
@@ -64870,7 +64851,7 @@ export declare const firmwareCatalogContract: {
64870
64851
  retryAfterSeconds?: number | undefined;
64871
64852
  }, unknown>>;
64872
64853
  };
64873
- readonly stored_data_invalid: {
64854
+ readonly operation_unconfirmed: {
64874
64855
  readonly status: 503;
64875
64856
  readonly data: z$1.ZodType<{
64876
64857
  traceId: string;
@@ -64934,7 +64915,7 @@ export declare const firmwareCatalogContract: {
64934
64915
  retryAfterSeconds?: number | undefined;
64935
64916
  }, unknown>>;
64936
64917
  };
64937
- readonly service_unavailable: {
64918
+ readonly directory_unavailable: {
64938
64919
  readonly status: 503;
64939
64920
  readonly data: z$1.ZodType<{
64940
64921
  traceId: string;
@@ -64998,8 +64979,27 @@ export declare const firmwareCatalogContract: {
64998
64979
  retryAfterSeconds?: number | undefined;
64999
64980
  }, unknown>>;
65000
64981
  };
65001
- readonly read_unavailable: {
65002
- readonly status: 503;
64982
+ }>, Record<never, never>>;
64983
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
64984
+ id: z$1.ZodString;
64985
+ }, z$1.core.$strict>, z$1.ZodObject<{
64986
+ id: z$1.ZodString;
64987
+ family: z$1.ZodEnum<{
64988
+ "gen2-lte": "gen2-lte";
64989
+ "gen2-battery": "gen2-battery";
64990
+ }>;
64991
+ version: z$1.ZodString;
64992
+ revision: z$1.ZodString;
64993
+ size: z$1.ZodInt;
64994
+ sha256: z$1.ZodString;
64995
+ notes: z$1.ZodString;
64996
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
64997
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
64998
+ downloadUrl: z$1.ZodURL;
64999
+ availableForUpdates: z$1.ZodBoolean;
65000
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
65001
+ readonly inventory_changed: {
65002
+ readonly status: 412;
65003
65003
  readonly data: z$1.ZodType<{
65004
65004
  traceId: string;
65005
65005
  recovery: {
@@ -65062,7 +65062,7 @@ export declare const firmwareCatalogContract: {
65062
65062
  retryAfterSeconds?: number | undefined;
65063
65063
  }, unknown>>;
65064
65064
  };
65065
- readonly stream_unavailable: {
65065
+ readonly firmware_catalog_invalid: {
65066
65066
  readonly status: 503;
65067
65067
  readonly data: z$1.ZodType<{
65068
65068
  traceId: string;
@@ -65126,8 +65126,8 @@ export declare const firmwareCatalogContract: {
65126
65126
  retryAfterSeconds?: number | undefined;
65127
65127
  }, unknown>>;
65128
65128
  };
65129
- readonly payload_too_large: {
65130
- readonly status: 413;
65129
+ readonly firmware_catalog_full: {
65130
+ readonly status: 503;
65131
65131
  readonly data: z$1.ZodType<{
65132
65132
  traceId: string;
65133
65133
  recovery: {
@@ -65190,7 +65190,7 @@ export declare const firmwareCatalogContract: {
65190
65190
  retryAfterSeconds?: number | undefined;
65191
65191
  }, unknown>>;
65192
65192
  };
65193
- readonly request_timeout: {
65193
+ readonly firmware_execution_invalid: {
65194
65194
  readonly status: 503;
65195
65195
  readonly data: z$1.ZodType<{
65196
65196
  traceId: string;
@@ -65254,8 +65254,8 @@ export declare const firmwareCatalogContract: {
65254
65254
  retryAfterSeconds?: number | undefined;
65255
65255
  }, unknown>>;
65256
65256
  };
65257
- readonly operation_unconfirmed: {
65258
- readonly status: 503;
65257
+ readonly firmware_review_changed: {
65258
+ readonly status: 412;
65259
65259
  readonly data: z$1.ZodType<{
65260
65260
  traceId: string;
65261
65261
  recovery: {
@@ -65318,8 +65318,8 @@ export declare const firmwareCatalogContract: {
65318
65318
  retryAfterSeconds?: number | undefined;
65319
65319
  }, unknown>>;
65320
65320
  };
65321
- readonly directory_unavailable: {
65322
- readonly status: 503;
65321
+ readonly firmware_review_required: {
65322
+ readonly status: 428;
65323
65323
  readonly data: z$1.ZodType<{
65324
65324
  traceId: string;
65325
65325
  recovery: {
@@ -65382,37 +65382,8 @@ export declare const firmwareCatalogContract: {
65382
65382
  retryAfterSeconds?: number | undefined;
65383
65383
  }, unknown>>;
65384
65384
  };
65385
- }>, Record<never, never>>;
65386
- publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
65387
- family: z$1.ZodEnum<{
65388
- "gen2-lte": "gen2-lte";
65389
- "gen2-battery": "gen2-battery";
65390
- }>;
65391
- version: z$1.ZodString;
65392
- notes: z$1.ZodString;
65393
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
65394
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
65395
- size: z$1.ZodInt;
65396
- sha256: z$1.ZodString;
65397
- file: z$1.ZodFile;
65398
- }, z$1.core.$strict>, z$1.ZodObject<{
65399
- id: z$1.ZodString;
65400
- family: z$1.ZodEnum<{
65401
- "gen2-lte": "gen2-lte";
65402
- "gen2-battery": "gen2-battery";
65403
- }>;
65404
- version: z$1.ZodString;
65405
- revision: z$1.ZodString;
65406
- size: z$1.ZodInt;
65407
- sha256: z$1.ZodString;
65408
- notes: z$1.ZodString;
65409
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
65410
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
65411
- downloadUrl: z$1.ZodURL;
65412
- availableForUpdates: z$1.ZodBoolean;
65413
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
65414
- readonly invalid: {
65415
- readonly status: 400;
65385
+ readonly firmware_policy_unavailable: {
65386
+ readonly status: 503;
65416
65387
  readonly data: z$1.ZodType<{
65417
65388
  traceId: string;
65418
65389
  recovery: {
@@ -65475,8 +65446,8 @@ export declare const firmwareCatalogContract: {
65475
65446
  retryAfterSeconds?: number | undefined;
65476
65447
  }, unknown>>;
65477
65448
  };
65478
- readonly unauthenticated: {
65479
- readonly status: 401;
65449
+ readonly firmware_release_unavailable: {
65450
+ readonly status: 503;
65480
65451
  readonly data: z$1.ZodType<{
65481
65452
  traceId: string;
65482
65453
  recovery: {
@@ -65539,8 +65510,8 @@ export declare const firmwareCatalogContract: {
65539
65510
  retryAfterSeconds?: number | undefined;
65540
65511
  }, unknown>>;
65541
65512
  };
65542
- readonly forbidden: {
65543
- readonly status: 403;
65513
+ readonly invalid: {
65514
+ readonly status: 400;
65544
65515
  readonly data: z$1.ZodType<{
65545
65516
  traceId: string;
65546
65517
  recovery: {
@@ -65603,8 +65574,8 @@ export declare const firmwareCatalogContract: {
65603
65574
  retryAfterSeconds?: number | undefined;
65604
65575
  }, unknown>>;
65605
65576
  };
65606
- readonly not_found: {
65607
- readonly status: 404;
65577
+ readonly unauthenticated: {
65578
+ readonly status: 401;
65608
65579
  readonly data: z$1.ZodType<{
65609
65580
  traceId: string;
65610
65581
  recovery: {
@@ -65667,8 +65638,8 @@ export declare const firmwareCatalogContract: {
65667
65638
  retryAfterSeconds?: number | undefined;
65668
65639
  }, unknown>>;
65669
65640
  };
65670
- readonly conflict: {
65671
- readonly status: 409;
65641
+ readonly forbidden: {
65642
+ readonly status: 403;
65672
65643
  readonly data: z$1.ZodType<{
65673
65644
  traceId: string;
65674
65645
  recovery: {
@@ -65731,8 +65702,8 @@ export declare const firmwareCatalogContract: {
65731
65702
  retryAfterSeconds?: number | undefined;
65732
65703
  }, unknown>>;
65733
65704
  };
65734
- readonly rate_limited: {
65735
- readonly status: 429;
65705
+ readonly not_found: {
65706
+ readonly status: 404;
65736
65707
  readonly data: z$1.ZodType<{
65737
65708
  traceId: string;
65738
65709
  recovery: {
@@ -65795,8 +65766,8 @@ export declare const firmwareCatalogContract: {
65795
65766
  retryAfterSeconds?: number | undefined;
65796
65767
  }, unknown>>;
65797
65768
  };
65798
- readonly stored_data_invalid: {
65799
- readonly status: 503;
65769
+ readonly conflict: {
65770
+ readonly status: 409;
65800
65771
  readonly data: z$1.ZodType<{
65801
65772
  traceId: string;
65802
65773
  recovery: {
@@ -65859,8 +65830,8 @@ export declare const firmwareCatalogContract: {
65859
65830
  retryAfterSeconds?: number | undefined;
65860
65831
  }, unknown>>;
65861
65832
  };
65862
- readonly service_unavailable: {
65863
- readonly status: 503;
65833
+ readonly rate_limited: {
65834
+ readonly status: 429;
65864
65835
  readonly data: z$1.ZodType<{
65865
65836
  traceId: string;
65866
65837
  recovery: {
@@ -65923,7 +65894,7 @@ export declare const firmwareCatalogContract: {
65923
65894
  retryAfterSeconds?: number | undefined;
65924
65895
  }, unknown>>;
65925
65896
  };
65926
- readonly read_unavailable: {
65897
+ readonly stored_data_invalid: {
65927
65898
  readonly status: 503;
65928
65899
  readonly data: z$1.ZodType<{
65929
65900
  traceId: string;
@@ -65987,7 +65958,7 @@ export declare const firmwareCatalogContract: {
65987
65958
  retryAfterSeconds?: number | undefined;
65988
65959
  }, unknown>>;
65989
65960
  };
65990
- readonly stream_unavailable: {
65961
+ readonly service_unavailable: {
65991
65962
  readonly status: 503;
65992
65963
  readonly data: z$1.ZodType<{
65993
65964
  traceId: string;
@@ -66051,8 +66022,8 @@ export declare const firmwareCatalogContract: {
66051
66022
  retryAfterSeconds?: number | undefined;
66052
66023
  }, unknown>>;
66053
66024
  };
66054
- readonly payload_too_large: {
66055
- readonly status: 413;
66025
+ readonly read_unavailable: {
66026
+ readonly status: 503;
66056
66027
  readonly data: z$1.ZodType<{
66057
66028
  traceId: string;
66058
66029
  recovery: {
@@ -66115,7 +66086,7 @@ export declare const firmwareCatalogContract: {
66115
66086
  retryAfterSeconds?: number | undefined;
66116
66087
  }, unknown>>;
66117
66088
  };
66118
- readonly request_timeout: {
66089
+ readonly stream_unavailable: {
66119
66090
  readonly status: 503;
66120
66091
  readonly data: z$1.ZodType<{
66121
66092
  traceId: string;
@@ -66179,8 +66150,8 @@ export declare const firmwareCatalogContract: {
66179
66150
  retryAfterSeconds?: number | undefined;
66180
66151
  }, unknown>>;
66181
66152
  };
66182
- readonly operation_unconfirmed: {
66183
- readonly status: 503;
66153
+ readonly payload_too_large: {
66154
+ readonly status: 413;
66184
66155
  readonly data: z$1.ZodType<{
66185
66156
  traceId: string;
66186
66157
  recovery: {
@@ -66243,7 +66214,2104 @@ export declare const firmwareCatalogContract: {
66243
66214
  retryAfterSeconds?: number | undefined;
66244
66215
  }, unknown>>;
66245
66216
  };
66246
- readonly directory_unavailable: {
66217
+ readonly request_timeout: {
66218
+ readonly status: 503;
66219
+ readonly data: z$1.ZodType<{
66220
+ traceId: string;
66221
+ recovery: {
66222
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66223
+ } | {
66224
+ action: "read_operation";
66225
+ operation: {
66226
+ kind: "command";
66227
+ serialNumber: string;
66228
+ idempotencyKey: string;
66229
+ } | {
66230
+ kind: "firmware";
66231
+ serialNumber: string;
66232
+ updateId: string;
66233
+ } | {
66234
+ kind: "bluetooth_firmware";
66235
+ deviceId: string;
66236
+ updateId: string;
66237
+ } | {
66238
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66239
+ deviceId: string;
66240
+ requestId: string;
66241
+ } | {
66242
+ kind: "support";
66243
+ requestId: string;
66244
+ };
66245
+ };
66246
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66247
+ currentRevision?: string | undefined;
66248
+ retryAfterSeconds?: number | undefined;
66249
+ }, unknown, z$1.core.$ZodTypeInternals<{
66250
+ traceId: string;
66251
+ recovery: {
66252
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66253
+ } | {
66254
+ action: "read_operation";
66255
+ operation: {
66256
+ kind: "command";
66257
+ serialNumber: string;
66258
+ idempotencyKey: string;
66259
+ } | {
66260
+ kind: "firmware";
66261
+ serialNumber: string;
66262
+ updateId: string;
66263
+ } | {
66264
+ kind: "bluetooth_firmware";
66265
+ deviceId: string;
66266
+ updateId: string;
66267
+ } | {
66268
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66269
+ deviceId: string;
66270
+ requestId: string;
66271
+ } | {
66272
+ kind: "support";
66273
+ requestId: string;
66274
+ };
66275
+ };
66276
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66277
+ currentRevision?: string | undefined;
66278
+ retryAfterSeconds?: number | undefined;
66279
+ }, unknown>>;
66280
+ };
66281
+ readonly operation_unconfirmed: {
66282
+ readonly status: 503;
66283
+ readonly data: z$1.ZodType<{
66284
+ traceId: string;
66285
+ recovery: {
66286
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66287
+ } | {
66288
+ action: "read_operation";
66289
+ operation: {
66290
+ kind: "command";
66291
+ serialNumber: string;
66292
+ idempotencyKey: string;
66293
+ } | {
66294
+ kind: "firmware";
66295
+ serialNumber: string;
66296
+ updateId: string;
66297
+ } | {
66298
+ kind: "bluetooth_firmware";
66299
+ deviceId: string;
66300
+ updateId: string;
66301
+ } | {
66302
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66303
+ deviceId: string;
66304
+ requestId: string;
66305
+ } | {
66306
+ kind: "support";
66307
+ requestId: string;
66308
+ };
66309
+ };
66310
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66311
+ currentRevision?: string | undefined;
66312
+ retryAfterSeconds?: number | undefined;
66313
+ }, unknown, z$1.core.$ZodTypeInternals<{
66314
+ traceId: string;
66315
+ recovery: {
66316
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66317
+ } | {
66318
+ action: "read_operation";
66319
+ operation: {
66320
+ kind: "command";
66321
+ serialNumber: string;
66322
+ idempotencyKey: string;
66323
+ } | {
66324
+ kind: "firmware";
66325
+ serialNumber: string;
66326
+ updateId: string;
66327
+ } | {
66328
+ kind: "bluetooth_firmware";
66329
+ deviceId: string;
66330
+ updateId: string;
66331
+ } | {
66332
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66333
+ deviceId: string;
66334
+ requestId: string;
66335
+ } | {
66336
+ kind: "support";
66337
+ requestId: string;
66338
+ };
66339
+ };
66340
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66341
+ currentRevision?: string | undefined;
66342
+ retryAfterSeconds?: number | undefined;
66343
+ }, unknown>>;
66344
+ };
66345
+ readonly directory_unavailable: {
66346
+ readonly status: 503;
66347
+ readonly data: z$1.ZodType<{
66348
+ traceId: string;
66349
+ recovery: {
66350
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66351
+ } | {
66352
+ action: "read_operation";
66353
+ operation: {
66354
+ kind: "command";
66355
+ serialNumber: string;
66356
+ idempotencyKey: string;
66357
+ } | {
66358
+ kind: "firmware";
66359
+ serialNumber: string;
66360
+ updateId: string;
66361
+ } | {
66362
+ kind: "bluetooth_firmware";
66363
+ deviceId: string;
66364
+ updateId: string;
66365
+ } | {
66366
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66367
+ deviceId: string;
66368
+ requestId: string;
66369
+ } | {
66370
+ kind: "support";
66371
+ requestId: string;
66372
+ };
66373
+ };
66374
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66375
+ currentRevision?: string | undefined;
66376
+ retryAfterSeconds?: number | undefined;
66377
+ }, unknown, z$1.core.$ZodTypeInternals<{
66378
+ traceId: string;
66379
+ recovery: {
66380
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66381
+ } | {
66382
+ action: "read_operation";
66383
+ operation: {
66384
+ kind: "command";
66385
+ serialNumber: string;
66386
+ idempotencyKey: string;
66387
+ } | {
66388
+ kind: "firmware";
66389
+ serialNumber: string;
66390
+ updateId: string;
66391
+ } | {
66392
+ kind: "bluetooth_firmware";
66393
+ deviceId: string;
66394
+ updateId: string;
66395
+ } | {
66396
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66397
+ deviceId: string;
66398
+ requestId: string;
66399
+ } | {
66400
+ kind: "support";
66401
+ requestId: string;
66402
+ };
66403
+ };
66404
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66405
+ currentRevision?: string | undefined;
66406
+ retryAfterSeconds?: number | undefined;
66407
+ }, unknown>>;
66408
+ };
66409
+ }>, Record<never, never>>;
66410
+ publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
66411
+ family: z$1.ZodEnum<{
66412
+ "gen2-lte": "gen2-lte";
66413
+ "gen2-battery": "gen2-battery";
66414
+ }>;
66415
+ version: z$1.ZodString;
66416
+ notes: z$1.ZodString;
66417
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
66418
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
66419
+ size: z$1.ZodInt;
66420
+ sha256: z$1.ZodString;
66421
+ file: z$1.ZodFile;
66422
+ }, z$1.core.$strict>, z$1.ZodObject<{
66423
+ id: z$1.ZodString;
66424
+ family: z$1.ZodEnum<{
66425
+ "gen2-lte": "gen2-lte";
66426
+ "gen2-battery": "gen2-battery";
66427
+ }>;
66428
+ version: z$1.ZodString;
66429
+ revision: z$1.ZodString;
66430
+ size: z$1.ZodInt;
66431
+ sha256: z$1.ZodString;
66432
+ notes: z$1.ZodString;
66433
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
66434
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
66435
+ downloadUrl: z$1.ZodURL;
66436
+ availableForUpdates: z$1.ZodBoolean;
66437
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
66438
+ readonly inventory_changed: {
66439
+ readonly status: 412;
66440
+ readonly data: z$1.ZodType<{
66441
+ traceId: string;
66442
+ recovery: {
66443
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66444
+ } | {
66445
+ action: "read_operation";
66446
+ operation: {
66447
+ kind: "command";
66448
+ serialNumber: string;
66449
+ idempotencyKey: string;
66450
+ } | {
66451
+ kind: "firmware";
66452
+ serialNumber: string;
66453
+ updateId: string;
66454
+ } | {
66455
+ kind: "bluetooth_firmware";
66456
+ deviceId: string;
66457
+ updateId: string;
66458
+ } | {
66459
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66460
+ deviceId: string;
66461
+ requestId: string;
66462
+ } | {
66463
+ kind: "support";
66464
+ requestId: string;
66465
+ };
66466
+ };
66467
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66468
+ currentRevision?: string | undefined;
66469
+ retryAfterSeconds?: number | undefined;
66470
+ }, unknown, z$1.core.$ZodTypeInternals<{
66471
+ traceId: string;
66472
+ recovery: {
66473
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66474
+ } | {
66475
+ action: "read_operation";
66476
+ operation: {
66477
+ kind: "command";
66478
+ serialNumber: string;
66479
+ idempotencyKey: string;
66480
+ } | {
66481
+ kind: "firmware";
66482
+ serialNumber: string;
66483
+ updateId: string;
66484
+ } | {
66485
+ kind: "bluetooth_firmware";
66486
+ deviceId: string;
66487
+ updateId: string;
66488
+ } | {
66489
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66490
+ deviceId: string;
66491
+ requestId: string;
66492
+ } | {
66493
+ kind: "support";
66494
+ requestId: string;
66495
+ };
66496
+ };
66497
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66498
+ currentRevision?: string | undefined;
66499
+ retryAfterSeconds?: number | undefined;
66500
+ }, unknown>>;
66501
+ };
66502
+ readonly firmware_catalog_invalid: {
66503
+ readonly status: 503;
66504
+ readonly data: z$1.ZodType<{
66505
+ traceId: string;
66506
+ recovery: {
66507
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66508
+ } | {
66509
+ action: "read_operation";
66510
+ operation: {
66511
+ kind: "command";
66512
+ serialNumber: string;
66513
+ idempotencyKey: string;
66514
+ } | {
66515
+ kind: "firmware";
66516
+ serialNumber: string;
66517
+ updateId: string;
66518
+ } | {
66519
+ kind: "bluetooth_firmware";
66520
+ deviceId: string;
66521
+ updateId: string;
66522
+ } | {
66523
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66524
+ deviceId: string;
66525
+ requestId: string;
66526
+ } | {
66527
+ kind: "support";
66528
+ requestId: string;
66529
+ };
66530
+ };
66531
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66532
+ currentRevision?: string | undefined;
66533
+ retryAfterSeconds?: number | undefined;
66534
+ }, unknown, z$1.core.$ZodTypeInternals<{
66535
+ traceId: string;
66536
+ recovery: {
66537
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66538
+ } | {
66539
+ action: "read_operation";
66540
+ operation: {
66541
+ kind: "command";
66542
+ serialNumber: string;
66543
+ idempotencyKey: string;
66544
+ } | {
66545
+ kind: "firmware";
66546
+ serialNumber: string;
66547
+ updateId: string;
66548
+ } | {
66549
+ kind: "bluetooth_firmware";
66550
+ deviceId: string;
66551
+ updateId: string;
66552
+ } | {
66553
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66554
+ deviceId: string;
66555
+ requestId: string;
66556
+ } | {
66557
+ kind: "support";
66558
+ requestId: string;
66559
+ };
66560
+ };
66561
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66562
+ currentRevision?: string | undefined;
66563
+ retryAfterSeconds?: number | undefined;
66564
+ }, unknown>>;
66565
+ };
66566
+ readonly firmware_catalog_full: {
66567
+ readonly status: 503;
66568
+ readonly data: z$1.ZodType<{
66569
+ traceId: string;
66570
+ recovery: {
66571
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66572
+ } | {
66573
+ action: "read_operation";
66574
+ operation: {
66575
+ kind: "command";
66576
+ serialNumber: string;
66577
+ idempotencyKey: string;
66578
+ } | {
66579
+ kind: "firmware";
66580
+ serialNumber: string;
66581
+ updateId: string;
66582
+ } | {
66583
+ kind: "bluetooth_firmware";
66584
+ deviceId: string;
66585
+ updateId: string;
66586
+ } | {
66587
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66588
+ deviceId: string;
66589
+ requestId: string;
66590
+ } | {
66591
+ kind: "support";
66592
+ requestId: string;
66593
+ };
66594
+ };
66595
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66596
+ currentRevision?: string | undefined;
66597
+ retryAfterSeconds?: number | undefined;
66598
+ }, unknown, z$1.core.$ZodTypeInternals<{
66599
+ traceId: string;
66600
+ recovery: {
66601
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66602
+ } | {
66603
+ action: "read_operation";
66604
+ operation: {
66605
+ kind: "command";
66606
+ serialNumber: string;
66607
+ idempotencyKey: string;
66608
+ } | {
66609
+ kind: "firmware";
66610
+ serialNumber: string;
66611
+ updateId: string;
66612
+ } | {
66613
+ kind: "bluetooth_firmware";
66614
+ deviceId: string;
66615
+ updateId: string;
66616
+ } | {
66617
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66618
+ deviceId: string;
66619
+ requestId: string;
66620
+ } | {
66621
+ kind: "support";
66622
+ requestId: string;
66623
+ };
66624
+ };
66625
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66626
+ currentRevision?: string | undefined;
66627
+ retryAfterSeconds?: number | undefined;
66628
+ }, unknown>>;
66629
+ };
66630
+ readonly firmware_execution_invalid: {
66631
+ readonly status: 503;
66632
+ readonly data: z$1.ZodType<{
66633
+ traceId: string;
66634
+ recovery: {
66635
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66636
+ } | {
66637
+ action: "read_operation";
66638
+ operation: {
66639
+ kind: "command";
66640
+ serialNumber: string;
66641
+ idempotencyKey: string;
66642
+ } | {
66643
+ kind: "firmware";
66644
+ serialNumber: string;
66645
+ updateId: string;
66646
+ } | {
66647
+ kind: "bluetooth_firmware";
66648
+ deviceId: string;
66649
+ updateId: string;
66650
+ } | {
66651
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66652
+ deviceId: string;
66653
+ requestId: string;
66654
+ } | {
66655
+ kind: "support";
66656
+ requestId: string;
66657
+ };
66658
+ };
66659
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66660
+ currentRevision?: string | undefined;
66661
+ retryAfterSeconds?: number | undefined;
66662
+ }, unknown, z$1.core.$ZodTypeInternals<{
66663
+ traceId: string;
66664
+ recovery: {
66665
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66666
+ } | {
66667
+ action: "read_operation";
66668
+ operation: {
66669
+ kind: "command";
66670
+ serialNumber: string;
66671
+ idempotencyKey: string;
66672
+ } | {
66673
+ kind: "firmware";
66674
+ serialNumber: string;
66675
+ updateId: string;
66676
+ } | {
66677
+ kind: "bluetooth_firmware";
66678
+ deviceId: string;
66679
+ updateId: string;
66680
+ } | {
66681
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66682
+ deviceId: string;
66683
+ requestId: string;
66684
+ } | {
66685
+ kind: "support";
66686
+ requestId: string;
66687
+ };
66688
+ };
66689
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66690
+ currentRevision?: string | undefined;
66691
+ retryAfterSeconds?: number | undefined;
66692
+ }, unknown>>;
66693
+ };
66694
+ readonly firmware_review_changed: {
66695
+ readonly status: 412;
66696
+ readonly data: z$1.ZodType<{
66697
+ traceId: string;
66698
+ recovery: {
66699
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66700
+ } | {
66701
+ action: "read_operation";
66702
+ operation: {
66703
+ kind: "command";
66704
+ serialNumber: string;
66705
+ idempotencyKey: string;
66706
+ } | {
66707
+ kind: "firmware";
66708
+ serialNumber: string;
66709
+ updateId: string;
66710
+ } | {
66711
+ kind: "bluetooth_firmware";
66712
+ deviceId: string;
66713
+ updateId: string;
66714
+ } | {
66715
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66716
+ deviceId: string;
66717
+ requestId: string;
66718
+ } | {
66719
+ kind: "support";
66720
+ requestId: string;
66721
+ };
66722
+ };
66723
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66724
+ currentRevision?: string | undefined;
66725
+ retryAfterSeconds?: number | undefined;
66726
+ }, unknown, z$1.core.$ZodTypeInternals<{
66727
+ traceId: string;
66728
+ recovery: {
66729
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66730
+ } | {
66731
+ action: "read_operation";
66732
+ operation: {
66733
+ kind: "command";
66734
+ serialNumber: string;
66735
+ idempotencyKey: string;
66736
+ } | {
66737
+ kind: "firmware";
66738
+ serialNumber: string;
66739
+ updateId: string;
66740
+ } | {
66741
+ kind: "bluetooth_firmware";
66742
+ deviceId: string;
66743
+ updateId: string;
66744
+ } | {
66745
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66746
+ deviceId: string;
66747
+ requestId: string;
66748
+ } | {
66749
+ kind: "support";
66750
+ requestId: string;
66751
+ };
66752
+ };
66753
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66754
+ currentRevision?: string | undefined;
66755
+ retryAfterSeconds?: number | undefined;
66756
+ }, unknown>>;
66757
+ };
66758
+ readonly firmware_review_required: {
66759
+ readonly status: 428;
66760
+ readonly data: z$1.ZodType<{
66761
+ traceId: string;
66762
+ recovery: {
66763
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66764
+ } | {
66765
+ action: "read_operation";
66766
+ operation: {
66767
+ kind: "command";
66768
+ serialNumber: string;
66769
+ idempotencyKey: string;
66770
+ } | {
66771
+ kind: "firmware";
66772
+ serialNumber: string;
66773
+ updateId: string;
66774
+ } | {
66775
+ kind: "bluetooth_firmware";
66776
+ deviceId: string;
66777
+ updateId: string;
66778
+ } | {
66779
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66780
+ deviceId: string;
66781
+ requestId: string;
66782
+ } | {
66783
+ kind: "support";
66784
+ requestId: string;
66785
+ };
66786
+ };
66787
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66788
+ currentRevision?: string | undefined;
66789
+ retryAfterSeconds?: number | undefined;
66790
+ }, unknown, z$1.core.$ZodTypeInternals<{
66791
+ traceId: string;
66792
+ recovery: {
66793
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66794
+ } | {
66795
+ action: "read_operation";
66796
+ operation: {
66797
+ kind: "command";
66798
+ serialNumber: string;
66799
+ idempotencyKey: string;
66800
+ } | {
66801
+ kind: "firmware";
66802
+ serialNumber: string;
66803
+ updateId: string;
66804
+ } | {
66805
+ kind: "bluetooth_firmware";
66806
+ deviceId: string;
66807
+ updateId: string;
66808
+ } | {
66809
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66810
+ deviceId: string;
66811
+ requestId: string;
66812
+ } | {
66813
+ kind: "support";
66814
+ requestId: string;
66815
+ };
66816
+ };
66817
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66818
+ currentRevision?: string | undefined;
66819
+ retryAfterSeconds?: number | undefined;
66820
+ }, unknown>>;
66821
+ };
66822
+ readonly firmware_policy_unavailable: {
66823
+ readonly status: 503;
66824
+ readonly data: z$1.ZodType<{
66825
+ traceId: string;
66826
+ recovery: {
66827
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66828
+ } | {
66829
+ action: "read_operation";
66830
+ operation: {
66831
+ kind: "command";
66832
+ serialNumber: string;
66833
+ idempotencyKey: string;
66834
+ } | {
66835
+ kind: "firmware";
66836
+ serialNumber: string;
66837
+ updateId: string;
66838
+ } | {
66839
+ kind: "bluetooth_firmware";
66840
+ deviceId: string;
66841
+ updateId: string;
66842
+ } | {
66843
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66844
+ deviceId: string;
66845
+ requestId: string;
66846
+ } | {
66847
+ kind: "support";
66848
+ requestId: string;
66849
+ };
66850
+ };
66851
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66852
+ currentRevision?: string | undefined;
66853
+ retryAfterSeconds?: number | undefined;
66854
+ }, unknown, z$1.core.$ZodTypeInternals<{
66855
+ traceId: string;
66856
+ recovery: {
66857
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66858
+ } | {
66859
+ action: "read_operation";
66860
+ operation: {
66861
+ kind: "command";
66862
+ serialNumber: string;
66863
+ idempotencyKey: string;
66864
+ } | {
66865
+ kind: "firmware";
66866
+ serialNumber: string;
66867
+ updateId: string;
66868
+ } | {
66869
+ kind: "bluetooth_firmware";
66870
+ deviceId: string;
66871
+ updateId: string;
66872
+ } | {
66873
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66874
+ deviceId: string;
66875
+ requestId: string;
66876
+ } | {
66877
+ kind: "support";
66878
+ requestId: string;
66879
+ };
66880
+ };
66881
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66882
+ currentRevision?: string | undefined;
66883
+ retryAfterSeconds?: number | undefined;
66884
+ }, unknown>>;
66885
+ };
66886
+ readonly firmware_release_unavailable: {
66887
+ readonly status: 503;
66888
+ readonly data: z$1.ZodType<{
66889
+ traceId: string;
66890
+ recovery: {
66891
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66892
+ } | {
66893
+ action: "read_operation";
66894
+ operation: {
66895
+ kind: "command";
66896
+ serialNumber: string;
66897
+ idempotencyKey: string;
66898
+ } | {
66899
+ kind: "firmware";
66900
+ serialNumber: string;
66901
+ updateId: string;
66902
+ } | {
66903
+ kind: "bluetooth_firmware";
66904
+ deviceId: string;
66905
+ updateId: string;
66906
+ } | {
66907
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66908
+ deviceId: string;
66909
+ requestId: string;
66910
+ } | {
66911
+ kind: "support";
66912
+ requestId: string;
66913
+ };
66914
+ };
66915
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66916
+ currentRevision?: string | undefined;
66917
+ retryAfterSeconds?: number | undefined;
66918
+ }, unknown, z$1.core.$ZodTypeInternals<{
66919
+ traceId: string;
66920
+ recovery: {
66921
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66922
+ } | {
66923
+ action: "read_operation";
66924
+ operation: {
66925
+ kind: "command";
66926
+ serialNumber: string;
66927
+ idempotencyKey: string;
66928
+ } | {
66929
+ kind: "firmware";
66930
+ serialNumber: string;
66931
+ updateId: string;
66932
+ } | {
66933
+ kind: "bluetooth_firmware";
66934
+ deviceId: string;
66935
+ updateId: string;
66936
+ } | {
66937
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66938
+ deviceId: string;
66939
+ requestId: string;
66940
+ } | {
66941
+ kind: "support";
66942
+ requestId: string;
66943
+ };
66944
+ };
66945
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66946
+ currentRevision?: string | undefined;
66947
+ retryAfterSeconds?: number | undefined;
66948
+ }, unknown>>;
66949
+ };
66950
+ readonly invalid: {
66951
+ readonly status: 400;
66952
+ readonly data: z$1.ZodType<{
66953
+ traceId: string;
66954
+ recovery: {
66955
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66956
+ } | {
66957
+ action: "read_operation";
66958
+ operation: {
66959
+ kind: "command";
66960
+ serialNumber: string;
66961
+ idempotencyKey: string;
66962
+ } | {
66963
+ kind: "firmware";
66964
+ serialNumber: string;
66965
+ updateId: string;
66966
+ } | {
66967
+ kind: "bluetooth_firmware";
66968
+ deviceId: string;
66969
+ updateId: string;
66970
+ } | {
66971
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
66972
+ deviceId: string;
66973
+ requestId: string;
66974
+ } | {
66975
+ kind: "support";
66976
+ requestId: string;
66977
+ };
66978
+ };
66979
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
66980
+ currentRevision?: string | undefined;
66981
+ retryAfterSeconds?: number | undefined;
66982
+ }, unknown, z$1.core.$ZodTypeInternals<{
66983
+ traceId: string;
66984
+ recovery: {
66985
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
66986
+ } | {
66987
+ action: "read_operation";
66988
+ operation: {
66989
+ kind: "command";
66990
+ serialNumber: string;
66991
+ idempotencyKey: string;
66992
+ } | {
66993
+ kind: "firmware";
66994
+ serialNumber: string;
66995
+ updateId: string;
66996
+ } | {
66997
+ kind: "bluetooth_firmware";
66998
+ deviceId: string;
66999
+ updateId: string;
67000
+ } | {
67001
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67002
+ deviceId: string;
67003
+ requestId: string;
67004
+ } | {
67005
+ kind: "support";
67006
+ requestId: string;
67007
+ };
67008
+ };
67009
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67010
+ currentRevision?: string | undefined;
67011
+ retryAfterSeconds?: number | undefined;
67012
+ }, unknown>>;
67013
+ };
67014
+ readonly unauthenticated: {
67015
+ readonly status: 401;
67016
+ readonly data: z$1.ZodType<{
67017
+ traceId: string;
67018
+ recovery: {
67019
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67020
+ } | {
67021
+ action: "read_operation";
67022
+ operation: {
67023
+ kind: "command";
67024
+ serialNumber: string;
67025
+ idempotencyKey: string;
67026
+ } | {
67027
+ kind: "firmware";
67028
+ serialNumber: string;
67029
+ updateId: string;
67030
+ } | {
67031
+ kind: "bluetooth_firmware";
67032
+ deviceId: string;
67033
+ updateId: string;
67034
+ } | {
67035
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67036
+ deviceId: string;
67037
+ requestId: string;
67038
+ } | {
67039
+ kind: "support";
67040
+ requestId: string;
67041
+ };
67042
+ };
67043
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67044
+ currentRevision?: string | undefined;
67045
+ retryAfterSeconds?: number | undefined;
67046
+ }, unknown, z$1.core.$ZodTypeInternals<{
67047
+ traceId: string;
67048
+ recovery: {
67049
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67050
+ } | {
67051
+ action: "read_operation";
67052
+ operation: {
67053
+ kind: "command";
67054
+ serialNumber: string;
67055
+ idempotencyKey: string;
67056
+ } | {
67057
+ kind: "firmware";
67058
+ serialNumber: string;
67059
+ updateId: string;
67060
+ } | {
67061
+ kind: "bluetooth_firmware";
67062
+ deviceId: string;
67063
+ updateId: string;
67064
+ } | {
67065
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67066
+ deviceId: string;
67067
+ requestId: string;
67068
+ } | {
67069
+ kind: "support";
67070
+ requestId: string;
67071
+ };
67072
+ };
67073
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67074
+ currentRevision?: string | undefined;
67075
+ retryAfterSeconds?: number | undefined;
67076
+ }, unknown>>;
67077
+ };
67078
+ readonly forbidden: {
67079
+ readonly status: 403;
67080
+ readonly data: z$1.ZodType<{
67081
+ traceId: string;
67082
+ recovery: {
67083
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67084
+ } | {
67085
+ action: "read_operation";
67086
+ operation: {
67087
+ kind: "command";
67088
+ serialNumber: string;
67089
+ idempotencyKey: string;
67090
+ } | {
67091
+ kind: "firmware";
67092
+ serialNumber: string;
67093
+ updateId: string;
67094
+ } | {
67095
+ kind: "bluetooth_firmware";
67096
+ deviceId: string;
67097
+ updateId: string;
67098
+ } | {
67099
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67100
+ deviceId: string;
67101
+ requestId: string;
67102
+ } | {
67103
+ kind: "support";
67104
+ requestId: string;
67105
+ };
67106
+ };
67107
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67108
+ currentRevision?: string | undefined;
67109
+ retryAfterSeconds?: number | undefined;
67110
+ }, unknown, z$1.core.$ZodTypeInternals<{
67111
+ traceId: string;
67112
+ recovery: {
67113
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67114
+ } | {
67115
+ action: "read_operation";
67116
+ operation: {
67117
+ kind: "command";
67118
+ serialNumber: string;
67119
+ idempotencyKey: string;
67120
+ } | {
67121
+ kind: "firmware";
67122
+ serialNumber: string;
67123
+ updateId: string;
67124
+ } | {
67125
+ kind: "bluetooth_firmware";
67126
+ deviceId: string;
67127
+ updateId: string;
67128
+ } | {
67129
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67130
+ deviceId: string;
67131
+ requestId: string;
67132
+ } | {
67133
+ kind: "support";
67134
+ requestId: string;
67135
+ };
67136
+ };
67137
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67138
+ currentRevision?: string | undefined;
67139
+ retryAfterSeconds?: number | undefined;
67140
+ }, unknown>>;
67141
+ };
67142
+ readonly not_found: {
67143
+ readonly status: 404;
67144
+ readonly data: z$1.ZodType<{
67145
+ traceId: string;
67146
+ recovery: {
67147
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67148
+ } | {
67149
+ action: "read_operation";
67150
+ operation: {
67151
+ kind: "command";
67152
+ serialNumber: string;
67153
+ idempotencyKey: string;
67154
+ } | {
67155
+ kind: "firmware";
67156
+ serialNumber: string;
67157
+ updateId: string;
67158
+ } | {
67159
+ kind: "bluetooth_firmware";
67160
+ deviceId: string;
67161
+ updateId: string;
67162
+ } | {
67163
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67164
+ deviceId: string;
67165
+ requestId: string;
67166
+ } | {
67167
+ kind: "support";
67168
+ requestId: string;
67169
+ };
67170
+ };
67171
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67172
+ currentRevision?: string | undefined;
67173
+ retryAfterSeconds?: number | undefined;
67174
+ }, unknown, z$1.core.$ZodTypeInternals<{
67175
+ traceId: string;
67176
+ recovery: {
67177
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67178
+ } | {
67179
+ action: "read_operation";
67180
+ operation: {
67181
+ kind: "command";
67182
+ serialNumber: string;
67183
+ idempotencyKey: string;
67184
+ } | {
67185
+ kind: "firmware";
67186
+ serialNumber: string;
67187
+ updateId: string;
67188
+ } | {
67189
+ kind: "bluetooth_firmware";
67190
+ deviceId: string;
67191
+ updateId: string;
67192
+ } | {
67193
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67194
+ deviceId: string;
67195
+ requestId: string;
67196
+ } | {
67197
+ kind: "support";
67198
+ requestId: string;
67199
+ };
67200
+ };
67201
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67202
+ currentRevision?: string | undefined;
67203
+ retryAfterSeconds?: number | undefined;
67204
+ }, unknown>>;
67205
+ };
67206
+ readonly conflict: {
67207
+ readonly status: 409;
67208
+ readonly data: z$1.ZodType<{
67209
+ traceId: string;
67210
+ recovery: {
67211
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67212
+ } | {
67213
+ action: "read_operation";
67214
+ operation: {
67215
+ kind: "command";
67216
+ serialNumber: string;
67217
+ idempotencyKey: string;
67218
+ } | {
67219
+ kind: "firmware";
67220
+ serialNumber: string;
67221
+ updateId: string;
67222
+ } | {
67223
+ kind: "bluetooth_firmware";
67224
+ deviceId: string;
67225
+ updateId: string;
67226
+ } | {
67227
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67228
+ deviceId: string;
67229
+ requestId: string;
67230
+ } | {
67231
+ kind: "support";
67232
+ requestId: string;
67233
+ };
67234
+ };
67235
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67236
+ currentRevision?: string | undefined;
67237
+ retryAfterSeconds?: number | undefined;
67238
+ }, unknown, z$1.core.$ZodTypeInternals<{
67239
+ traceId: string;
67240
+ recovery: {
67241
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67242
+ } | {
67243
+ action: "read_operation";
67244
+ operation: {
67245
+ kind: "command";
67246
+ serialNumber: string;
67247
+ idempotencyKey: string;
67248
+ } | {
67249
+ kind: "firmware";
67250
+ serialNumber: string;
67251
+ updateId: string;
67252
+ } | {
67253
+ kind: "bluetooth_firmware";
67254
+ deviceId: string;
67255
+ updateId: string;
67256
+ } | {
67257
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67258
+ deviceId: string;
67259
+ requestId: string;
67260
+ } | {
67261
+ kind: "support";
67262
+ requestId: string;
67263
+ };
67264
+ };
67265
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67266
+ currentRevision?: string | undefined;
67267
+ retryAfterSeconds?: number | undefined;
67268
+ }, unknown>>;
67269
+ };
67270
+ readonly rate_limited: {
67271
+ readonly status: 429;
67272
+ readonly data: z$1.ZodType<{
67273
+ traceId: string;
67274
+ recovery: {
67275
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67276
+ } | {
67277
+ action: "read_operation";
67278
+ operation: {
67279
+ kind: "command";
67280
+ serialNumber: string;
67281
+ idempotencyKey: string;
67282
+ } | {
67283
+ kind: "firmware";
67284
+ serialNumber: string;
67285
+ updateId: string;
67286
+ } | {
67287
+ kind: "bluetooth_firmware";
67288
+ deviceId: string;
67289
+ updateId: string;
67290
+ } | {
67291
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67292
+ deviceId: string;
67293
+ requestId: string;
67294
+ } | {
67295
+ kind: "support";
67296
+ requestId: string;
67297
+ };
67298
+ };
67299
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67300
+ currentRevision?: string | undefined;
67301
+ retryAfterSeconds?: number | undefined;
67302
+ }, unknown, z$1.core.$ZodTypeInternals<{
67303
+ traceId: string;
67304
+ recovery: {
67305
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67306
+ } | {
67307
+ action: "read_operation";
67308
+ operation: {
67309
+ kind: "command";
67310
+ serialNumber: string;
67311
+ idempotencyKey: string;
67312
+ } | {
67313
+ kind: "firmware";
67314
+ serialNumber: string;
67315
+ updateId: string;
67316
+ } | {
67317
+ kind: "bluetooth_firmware";
67318
+ deviceId: string;
67319
+ updateId: string;
67320
+ } | {
67321
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67322
+ deviceId: string;
67323
+ requestId: string;
67324
+ } | {
67325
+ kind: "support";
67326
+ requestId: string;
67327
+ };
67328
+ };
67329
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67330
+ currentRevision?: string | undefined;
67331
+ retryAfterSeconds?: number | undefined;
67332
+ }, unknown>>;
67333
+ };
67334
+ readonly stored_data_invalid: {
67335
+ readonly status: 503;
67336
+ readonly data: z$1.ZodType<{
67337
+ traceId: string;
67338
+ recovery: {
67339
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67340
+ } | {
67341
+ action: "read_operation";
67342
+ operation: {
67343
+ kind: "command";
67344
+ serialNumber: string;
67345
+ idempotencyKey: string;
67346
+ } | {
67347
+ kind: "firmware";
67348
+ serialNumber: string;
67349
+ updateId: string;
67350
+ } | {
67351
+ kind: "bluetooth_firmware";
67352
+ deviceId: string;
67353
+ updateId: string;
67354
+ } | {
67355
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67356
+ deviceId: string;
67357
+ requestId: string;
67358
+ } | {
67359
+ kind: "support";
67360
+ requestId: string;
67361
+ };
67362
+ };
67363
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67364
+ currentRevision?: string | undefined;
67365
+ retryAfterSeconds?: number | undefined;
67366
+ }, unknown, z$1.core.$ZodTypeInternals<{
67367
+ traceId: string;
67368
+ recovery: {
67369
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67370
+ } | {
67371
+ action: "read_operation";
67372
+ operation: {
67373
+ kind: "command";
67374
+ serialNumber: string;
67375
+ idempotencyKey: string;
67376
+ } | {
67377
+ kind: "firmware";
67378
+ serialNumber: string;
67379
+ updateId: string;
67380
+ } | {
67381
+ kind: "bluetooth_firmware";
67382
+ deviceId: string;
67383
+ updateId: string;
67384
+ } | {
67385
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67386
+ deviceId: string;
67387
+ requestId: string;
67388
+ } | {
67389
+ kind: "support";
67390
+ requestId: string;
67391
+ };
67392
+ };
67393
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67394
+ currentRevision?: string | undefined;
67395
+ retryAfterSeconds?: number | undefined;
67396
+ }, unknown>>;
67397
+ };
67398
+ readonly service_unavailable: {
67399
+ readonly status: 503;
67400
+ readonly data: z$1.ZodType<{
67401
+ traceId: string;
67402
+ recovery: {
67403
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67404
+ } | {
67405
+ action: "read_operation";
67406
+ operation: {
67407
+ kind: "command";
67408
+ serialNumber: string;
67409
+ idempotencyKey: string;
67410
+ } | {
67411
+ kind: "firmware";
67412
+ serialNumber: string;
67413
+ updateId: string;
67414
+ } | {
67415
+ kind: "bluetooth_firmware";
67416
+ deviceId: string;
67417
+ updateId: string;
67418
+ } | {
67419
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67420
+ deviceId: string;
67421
+ requestId: string;
67422
+ } | {
67423
+ kind: "support";
67424
+ requestId: string;
67425
+ };
67426
+ };
67427
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67428
+ currentRevision?: string | undefined;
67429
+ retryAfterSeconds?: number | undefined;
67430
+ }, unknown, z$1.core.$ZodTypeInternals<{
67431
+ traceId: string;
67432
+ recovery: {
67433
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67434
+ } | {
67435
+ action: "read_operation";
67436
+ operation: {
67437
+ kind: "command";
67438
+ serialNumber: string;
67439
+ idempotencyKey: string;
67440
+ } | {
67441
+ kind: "firmware";
67442
+ serialNumber: string;
67443
+ updateId: string;
67444
+ } | {
67445
+ kind: "bluetooth_firmware";
67446
+ deviceId: string;
67447
+ updateId: string;
67448
+ } | {
67449
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67450
+ deviceId: string;
67451
+ requestId: string;
67452
+ } | {
67453
+ kind: "support";
67454
+ requestId: string;
67455
+ };
67456
+ };
67457
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67458
+ currentRevision?: string | undefined;
67459
+ retryAfterSeconds?: number | undefined;
67460
+ }, unknown>>;
67461
+ };
67462
+ readonly read_unavailable: {
67463
+ readonly status: 503;
67464
+ readonly data: z$1.ZodType<{
67465
+ traceId: string;
67466
+ recovery: {
67467
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67468
+ } | {
67469
+ action: "read_operation";
67470
+ operation: {
67471
+ kind: "command";
67472
+ serialNumber: string;
67473
+ idempotencyKey: string;
67474
+ } | {
67475
+ kind: "firmware";
67476
+ serialNumber: string;
67477
+ updateId: string;
67478
+ } | {
67479
+ kind: "bluetooth_firmware";
67480
+ deviceId: string;
67481
+ updateId: string;
67482
+ } | {
67483
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67484
+ deviceId: string;
67485
+ requestId: string;
67486
+ } | {
67487
+ kind: "support";
67488
+ requestId: string;
67489
+ };
67490
+ };
67491
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67492
+ currentRevision?: string | undefined;
67493
+ retryAfterSeconds?: number | undefined;
67494
+ }, unknown, z$1.core.$ZodTypeInternals<{
67495
+ traceId: string;
67496
+ recovery: {
67497
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67498
+ } | {
67499
+ action: "read_operation";
67500
+ operation: {
67501
+ kind: "command";
67502
+ serialNumber: string;
67503
+ idempotencyKey: string;
67504
+ } | {
67505
+ kind: "firmware";
67506
+ serialNumber: string;
67507
+ updateId: string;
67508
+ } | {
67509
+ kind: "bluetooth_firmware";
67510
+ deviceId: string;
67511
+ updateId: string;
67512
+ } | {
67513
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67514
+ deviceId: string;
67515
+ requestId: string;
67516
+ } | {
67517
+ kind: "support";
67518
+ requestId: string;
67519
+ };
67520
+ };
67521
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67522
+ currentRevision?: string | undefined;
67523
+ retryAfterSeconds?: number | undefined;
67524
+ }, unknown>>;
67525
+ };
67526
+ readonly stream_unavailable: {
67527
+ readonly status: 503;
67528
+ readonly data: z$1.ZodType<{
67529
+ traceId: string;
67530
+ recovery: {
67531
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67532
+ } | {
67533
+ action: "read_operation";
67534
+ operation: {
67535
+ kind: "command";
67536
+ serialNumber: string;
67537
+ idempotencyKey: string;
67538
+ } | {
67539
+ kind: "firmware";
67540
+ serialNumber: string;
67541
+ updateId: string;
67542
+ } | {
67543
+ kind: "bluetooth_firmware";
67544
+ deviceId: string;
67545
+ updateId: string;
67546
+ } | {
67547
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67548
+ deviceId: string;
67549
+ requestId: string;
67550
+ } | {
67551
+ kind: "support";
67552
+ requestId: string;
67553
+ };
67554
+ };
67555
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67556
+ currentRevision?: string | undefined;
67557
+ retryAfterSeconds?: number | undefined;
67558
+ }, unknown, z$1.core.$ZodTypeInternals<{
67559
+ traceId: string;
67560
+ recovery: {
67561
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67562
+ } | {
67563
+ action: "read_operation";
67564
+ operation: {
67565
+ kind: "command";
67566
+ serialNumber: string;
67567
+ idempotencyKey: string;
67568
+ } | {
67569
+ kind: "firmware";
67570
+ serialNumber: string;
67571
+ updateId: string;
67572
+ } | {
67573
+ kind: "bluetooth_firmware";
67574
+ deviceId: string;
67575
+ updateId: string;
67576
+ } | {
67577
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67578
+ deviceId: string;
67579
+ requestId: string;
67580
+ } | {
67581
+ kind: "support";
67582
+ requestId: string;
67583
+ };
67584
+ };
67585
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67586
+ currentRevision?: string | undefined;
67587
+ retryAfterSeconds?: number | undefined;
67588
+ }, unknown>>;
67589
+ };
67590
+ readonly payload_too_large: {
67591
+ readonly status: 413;
67592
+ readonly data: z$1.ZodType<{
67593
+ traceId: string;
67594
+ recovery: {
67595
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67596
+ } | {
67597
+ action: "read_operation";
67598
+ operation: {
67599
+ kind: "command";
67600
+ serialNumber: string;
67601
+ idempotencyKey: string;
67602
+ } | {
67603
+ kind: "firmware";
67604
+ serialNumber: string;
67605
+ updateId: string;
67606
+ } | {
67607
+ kind: "bluetooth_firmware";
67608
+ deviceId: string;
67609
+ updateId: string;
67610
+ } | {
67611
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67612
+ deviceId: string;
67613
+ requestId: string;
67614
+ } | {
67615
+ kind: "support";
67616
+ requestId: string;
67617
+ };
67618
+ };
67619
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67620
+ currentRevision?: string | undefined;
67621
+ retryAfterSeconds?: number | undefined;
67622
+ }, unknown, z$1.core.$ZodTypeInternals<{
67623
+ traceId: string;
67624
+ recovery: {
67625
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67626
+ } | {
67627
+ action: "read_operation";
67628
+ operation: {
67629
+ kind: "command";
67630
+ serialNumber: string;
67631
+ idempotencyKey: string;
67632
+ } | {
67633
+ kind: "firmware";
67634
+ serialNumber: string;
67635
+ updateId: string;
67636
+ } | {
67637
+ kind: "bluetooth_firmware";
67638
+ deviceId: string;
67639
+ updateId: string;
67640
+ } | {
67641
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67642
+ deviceId: string;
67643
+ requestId: string;
67644
+ } | {
67645
+ kind: "support";
67646
+ requestId: string;
67647
+ };
67648
+ };
67649
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67650
+ currentRevision?: string | undefined;
67651
+ retryAfterSeconds?: number | undefined;
67652
+ }, unknown>>;
67653
+ };
67654
+ readonly request_timeout: {
67655
+ readonly status: 503;
67656
+ readonly data: z$1.ZodType<{
67657
+ traceId: string;
67658
+ recovery: {
67659
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67660
+ } | {
67661
+ action: "read_operation";
67662
+ operation: {
67663
+ kind: "command";
67664
+ serialNumber: string;
67665
+ idempotencyKey: string;
67666
+ } | {
67667
+ kind: "firmware";
67668
+ serialNumber: string;
67669
+ updateId: string;
67670
+ } | {
67671
+ kind: "bluetooth_firmware";
67672
+ deviceId: string;
67673
+ updateId: string;
67674
+ } | {
67675
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67676
+ deviceId: string;
67677
+ requestId: string;
67678
+ } | {
67679
+ kind: "support";
67680
+ requestId: string;
67681
+ };
67682
+ };
67683
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67684
+ currentRevision?: string | undefined;
67685
+ retryAfterSeconds?: number | undefined;
67686
+ }, unknown, z$1.core.$ZodTypeInternals<{
67687
+ traceId: string;
67688
+ recovery: {
67689
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67690
+ } | {
67691
+ action: "read_operation";
67692
+ operation: {
67693
+ kind: "command";
67694
+ serialNumber: string;
67695
+ idempotencyKey: string;
67696
+ } | {
67697
+ kind: "firmware";
67698
+ serialNumber: string;
67699
+ updateId: string;
67700
+ } | {
67701
+ kind: "bluetooth_firmware";
67702
+ deviceId: string;
67703
+ updateId: string;
67704
+ } | {
67705
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67706
+ deviceId: string;
67707
+ requestId: string;
67708
+ } | {
67709
+ kind: "support";
67710
+ requestId: string;
67711
+ };
67712
+ };
67713
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67714
+ currentRevision?: string | undefined;
67715
+ retryAfterSeconds?: number | undefined;
67716
+ }, unknown>>;
67717
+ };
67718
+ readonly operation_unconfirmed: {
67719
+ readonly status: 503;
67720
+ readonly data: z$1.ZodType<{
67721
+ traceId: string;
67722
+ recovery: {
67723
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67724
+ } | {
67725
+ action: "read_operation";
67726
+ operation: {
67727
+ kind: "command";
67728
+ serialNumber: string;
67729
+ idempotencyKey: string;
67730
+ } | {
67731
+ kind: "firmware";
67732
+ serialNumber: string;
67733
+ updateId: string;
67734
+ } | {
67735
+ kind: "bluetooth_firmware";
67736
+ deviceId: string;
67737
+ updateId: string;
67738
+ } | {
67739
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67740
+ deviceId: string;
67741
+ requestId: string;
67742
+ } | {
67743
+ kind: "support";
67744
+ requestId: string;
67745
+ };
67746
+ };
67747
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67748
+ currentRevision?: string | undefined;
67749
+ retryAfterSeconds?: number | undefined;
67750
+ }, unknown, z$1.core.$ZodTypeInternals<{
67751
+ traceId: string;
67752
+ recovery: {
67753
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67754
+ } | {
67755
+ action: "read_operation";
67756
+ operation: {
67757
+ kind: "command";
67758
+ serialNumber: string;
67759
+ idempotencyKey: string;
67760
+ } | {
67761
+ kind: "firmware";
67762
+ serialNumber: string;
67763
+ updateId: string;
67764
+ } | {
67765
+ kind: "bluetooth_firmware";
67766
+ deviceId: string;
67767
+ updateId: string;
67768
+ } | {
67769
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67770
+ deviceId: string;
67771
+ requestId: string;
67772
+ } | {
67773
+ kind: "support";
67774
+ requestId: string;
67775
+ };
67776
+ };
67777
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67778
+ currentRevision?: string | undefined;
67779
+ retryAfterSeconds?: number | undefined;
67780
+ }, unknown>>;
67781
+ };
67782
+ readonly directory_unavailable: {
67783
+ readonly status: 503;
67784
+ readonly data: z$1.ZodType<{
67785
+ traceId: string;
67786
+ recovery: {
67787
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67788
+ } | {
67789
+ action: "read_operation";
67790
+ operation: {
67791
+ kind: "command";
67792
+ serialNumber: string;
67793
+ idempotencyKey: string;
67794
+ } | {
67795
+ kind: "firmware";
67796
+ serialNumber: string;
67797
+ updateId: string;
67798
+ } | {
67799
+ kind: "bluetooth_firmware";
67800
+ deviceId: string;
67801
+ updateId: string;
67802
+ } | {
67803
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67804
+ deviceId: string;
67805
+ requestId: string;
67806
+ } | {
67807
+ kind: "support";
67808
+ requestId: string;
67809
+ };
67810
+ };
67811
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67812
+ currentRevision?: string | undefined;
67813
+ retryAfterSeconds?: number | undefined;
67814
+ }, unknown, z$1.core.$ZodTypeInternals<{
67815
+ traceId: string;
67816
+ recovery: {
67817
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67818
+ } | {
67819
+ action: "read_operation";
67820
+ operation: {
67821
+ kind: "command";
67822
+ serialNumber: string;
67823
+ idempotencyKey: string;
67824
+ } | {
67825
+ kind: "firmware";
67826
+ serialNumber: string;
67827
+ updateId: string;
67828
+ } | {
67829
+ kind: "bluetooth_firmware";
67830
+ deviceId: string;
67831
+ updateId: string;
67832
+ } | {
67833
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67834
+ deviceId: string;
67835
+ requestId: string;
67836
+ } | {
67837
+ kind: "support";
67838
+ requestId: string;
67839
+ };
67840
+ };
67841
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67842
+ currentRevision?: string | undefined;
67843
+ retryAfterSeconds?: number | undefined;
67844
+ }, unknown>>;
67845
+ };
67846
+ }>, Record<never, never>>;
67847
+ enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
67848
+ id: z$1.ZodString;
67849
+ revision: z$1.ZodString;
67850
+ }, z$1.core.$strict>, z$1.ZodObject<{
67851
+ id: z$1.ZodString;
67852
+ family: z$1.ZodEnum<{
67853
+ "gen2-lte": "gen2-lte";
67854
+ "gen2-battery": "gen2-battery";
67855
+ }>;
67856
+ version: z$1.ZodString;
67857
+ revision: z$1.ZodString;
67858
+ size: z$1.ZodInt;
67859
+ sha256: z$1.ZodString;
67860
+ notes: z$1.ZodString;
67861
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
67862
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
67863
+ downloadUrl: z$1.ZodURL;
67864
+ availableForUpdates: z$1.ZodBoolean;
67865
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
67866
+ readonly inventory_changed: {
67867
+ readonly status: 412;
67868
+ readonly data: z$1.ZodType<{
67869
+ traceId: string;
67870
+ recovery: {
67871
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67872
+ } | {
67873
+ action: "read_operation";
67874
+ operation: {
67875
+ kind: "command";
67876
+ serialNumber: string;
67877
+ idempotencyKey: string;
67878
+ } | {
67879
+ kind: "firmware";
67880
+ serialNumber: string;
67881
+ updateId: string;
67882
+ } | {
67883
+ kind: "bluetooth_firmware";
67884
+ deviceId: string;
67885
+ updateId: string;
67886
+ } | {
67887
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67888
+ deviceId: string;
67889
+ requestId: string;
67890
+ } | {
67891
+ kind: "support";
67892
+ requestId: string;
67893
+ };
67894
+ };
67895
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67896
+ currentRevision?: string | undefined;
67897
+ retryAfterSeconds?: number | undefined;
67898
+ }, unknown, z$1.core.$ZodTypeInternals<{
67899
+ traceId: string;
67900
+ recovery: {
67901
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67902
+ } | {
67903
+ action: "read_operation";
67904
+ operation: {
67905
+ kind: "command";
67906
+ serialNumber: string;
67907
+ idempotencyKey: string;
67908
+ } | {
67909
+ kind: "firmware";
67910
+ serialNumber: string;
67911
+ updateId: string;
67912
+ } | {
67913
+ kind: "bluetooth_firmware";
67914
+ deviceId: string;
67915
+ updateId: string;
67916
+ } | {
67917
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67918
+ deviceId: string;
67919
+ requestId: string;
67920
+ } | {
67921
+ kind: "support";
67922
+ requestId: string;
67923
+ };
67924
+ };
67925
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67926
+ currentRevision?: string | undefined;
67927
+ retryAfterSeconds?: number | undefined;
67928
+ }, unknown>>;
67929
+ };
67930
+ readonly firmware_catalog_invalid: {
67931
+ readonly status: 503;
67932
+ readonly data: z$1.ZodType<{
67933
+ traceId: string;
67934
+ recovery: {
67935
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67936
+ } | {
67937
+ action: "read_operation";
67938
+ operation: {
67939
+ kind: "command";
67940
+ serialNumber: string;
67941
+ idempotencyKey: string;
67942
+ } | {
67943
+ kind: "firmware";
67944
+ serialNumber: string;
67945
+ updateId: string;
67946
+ } | {
67947
+ kind: "bluetooth_firmware";
67948
+ deviceId: string;
67949
+ updateId: string;
67950
+ } | {
67951
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67952
+ deviceId: string;
67953
+ requestId: string;
67954
+ } | {
67955
+ kind: "support";
67956
+ requestId: string;
67957
+ };
67958
+ };
67959
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67960
+ currentRevision?: string | undefined;
67961
+ retryAfterSeconds?: number | undefined;
67962
+ }, unknown, z$1.core.$ZodTypeInternals<{
67963
+ traceId: string;
67964
+ recovery: {
67965
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
67966
+ } | {
67967
+ action: "read_operation";
67968
+ operation: {
67969
+ kind: "command";
67970
+ serialNumber: string;
67971
+ idempotencyKey: string;
67972
+ } | {
67973
+ kind: "firmware";
67974
+ serialNumber: string;
67975
+ updateId: string;
67976
+ } | {
67977
+ kind: "bluetooth_firmware";
67978
+ deviceId: string;
67979
+ updateId: string;
67980
+ } | {
67981
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
67982
+ deviceId: string;
67983
+ requestId: string;
67984
+ } | {
67985
+ kind: "support";
67986
+ requestId: string;
67987
+ };
67988
+ };
67989
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
67990
+ currentRevision?: string | undefined;
67991
+ retryAfterSeconds?: number | undefined;
67992
+ }, unknown>>;
67993
+ };
67994
+ readonly firmware_catalog_full: {
67995
+ readonly status: 503;
67996
+ readonly data: z$1.ZodType<{
67997
+ traceId: string;
67998
+ recovery: {
67999
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68000
+ } | {
68001
+ action: "read_operation";
68002
+ operation: {
68003
+ kind: "command";
68004
+ serialNumber: string;
68005
+ idempotencyKey: string;
68006
+ } | {
68007
+ kind: "firmware";
68008
+ serialNumber: string;
68009
+ updateId: string;
68010
+ } | {
68011
+ kind: "bluetooth_firmware";
68012
+ deviceId: string;
68013
+ updateId: string;
68014
+ } | {
68015
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68016
+ deviceId: string;
68017
+ requestId: string;
68018
+ } | {
68019
+ kind: "support";
68020
+ requestId: string;
68021
+ };
68022
+ };
68023
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68024
+ currentRevision?: string | undefined;
68025
+ retryAfterSeconds?: number | undefined;
68026
+ }, unknown, z$1.core.$ZodTypeInternals<{
68027
+ traceId: string;
68028
+ recovery: {
68029
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68030
+ } | {
68031
+ action: "read_operation";
68032
+ operation: {
68033
+ kind: "command";
68034
+ serialNumber: string;
68035
+ idempotencyKey: string;
68036
+ } | {
68037
+ kind: "firmware";
68038
+ serialNumber: string;
68039
+ updateId: string;
68040
+ } | {
68041
+ kind: "bluetooth_firmware";
68042
+ deviceId: string;
68043
+ updateId: string;
68044
+ } | {
68045
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68046
+ deviceId: string;
68047
+ requestId: string;
68048
+ } | {
68049
+ kind: "support";
68050
+ requestId: string;
68051
+ };
68052
+ };
68053
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68054
+ currentRevision?: string | undefined;
68055
+ retryAfterSeconds?: number | undefined;
68056
+ }, unknown>>;
68057
+ };
68058
+ readonly firmware_execution_invalid: {
68059
+ readonly status: 503;
68060
+ readonly data: z$1.ZodType<{
68061
+ traceId: string;
68062
+ recovery: {
68063
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68064
+ } | {
68065
+ action: "read_operation";
68066
+ operation: {
68067
+ kind: "command";
68068
+ serialNumber: string;
68069
+ idempotencyKey: string;
68070
+ } | {
68071
+ kind: "firmware";
68072
+ serialNumber: string;
68073
+ updateId: string;
68074
+ } | {
68075
+ kind: "bluetooth_firmware";
68076
+ deviceId: string;
68077
+ updateId: string;
68078
+ } | {
68079
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68080
+ deviceId: string;
68081
+ requestId: string;
68082
+ } | {
68083
+ kind: "support";
68084
+ requestId: string;
68085
+ };
68086
+ };
68087
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68088
+ currentRevision?: string | undefined;
68089
+ retryAfterSeconds?: number | undefined;
68090
+ }, unknown, z$1.core.$ZodTypeInternals<{
68091
+ traceId: string;
68092
+ recovery: {
68093
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68094
+ } | {
68095
+ action: "read_operation";
68096
+ operation: {
68097
+ kind: "command";
68098
+ serialNumber: string;
68099
+ idempotencyKey: string;
68100
+ } | {
68101
+ kind: "firmware";
68102
+ serialNumber: string;
68103
+ updateId: string;
68104
+ } | {
68105
+ kind: "bluetooth_firmware";
68106
+ deviceId: string;
68107
+ updateId: string;
68108
+ } | {
68109
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68110
+ deviceId: string;
68111
+ requestId: string;
68112
+ } | {
68113
+ kind: "support";
68114
+ requestId: string;
68115
+ };
68116
+ };
68117
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68118
+ currentRevision?: string | undefined;
68119
+ retryAfterSeconds?: number | undefined;
68120
+ }, unknown>>;
68121
+ };
68122
+ readonly firmware_review_changed: {
68123
+ readonly status: 412;
68124
+ readonly data: z$1.ZodType<{
68125
+ traceId: string;
68126
+ recovery: {
68127
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68128
+ } | {
68129
+ action: "read_operation";
68130
+ operation: {
68131
+ kind: "command";
68132
+ serialNumber: string;
68133
+ idempotencyKey: string;
68134
+ } | {
68135
+ kind: "firmware";
68136
+ serialNumber: string;
68137
+ updateId: string;
68138
+ } | {
68139
+ kind: "bluetooth_firmware";
68140
+ deviceId: string;
68141
+ updateId: string;
68142
+ } | {
68143
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68144
+ deviceId: string;
68145
+ requestId: string;
68146
+ } | {
68147
+ kind: "support";
68148
+ requestId: string;
68149
+ };
68150
+ };
68151
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68152
+ currentRevision?: string | undefined;
68153
+ retryAfterSeconds?: number | undefined;
68154
+ }, unknown, z$1.core.$ZodTypeInternals<{
68155
+ traceId: string;
68156
+ recovery: {
68157
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68158
+ } | {
68159
+ action: "read_operation";
68160
+ operation: {
68161
+ kind: "command";
68162
+ serialNumber: string;
68163
+ idempotencyKey: string;
68164
+ } | {
68165
+ kind: "firmware";
68166
+ serialNumber: string;
68167
+ updateId: string;
68168
+ } | {
68169
+ kind: "bluetooth_firmware";
68170
+ deviceId: string;
68171
+ updateId: string;
68172
+ } | {
68173
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68174
+ deviceId: string;
68175
+ requestId: string;
68176
+ } | {
68177
+ kind: "support";
68178
+ requestId: string;
68179
+ };
68180
+ };
68181
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68182
+ currentRevision?: string | undefined;
68183
+ retryAfterSeconds?: number | undefined;
68184
+ }, unknown>>;
68185
+ };
68186
+ readonly firmware_review_required: {
68187
+ readonly status: 428;
68188
+ readonly data: z$1.ZodType<{
68189
+ traceId: string;
68190
+ recovery: {
68191
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68192
+ } | {
68193
+ action: "read_operation";
68194
+ operation: {
68195
+ kind: "command";
68196
+ serialNumber: string;
68197
+ idempotencyKey: string;
68198
+ } | {
68199
+ kind: "firmware";
68200
+ serialNumber: string;
68201
+ updateId: string;
68202
+ } | {
68203
+ kind: "bluetooth_firmware";
68204
+ deviceId: string;
68205
+ updateId: string;
68206
+ } | {
68207
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68208
+ deviceId: string;
68209
+ requestId: string;
68210
+ } | {
68211
+ kind: "support";
68212
+ requestId: string;
68213
+ };
68214
+ };
68215
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68216
+ currentRevision?: string | undefined;
68217
+ retryAfterSeconds?: number | undefined;
68218
+ }, unknown, z$1.core.$ZodTypeInternals<{
68219
+ traceId: string;
68220
+ recovery: {
68221
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68222
+ } | {
68223
+ action: "read_operation";
68224
+ operation: {
68225
+ kind: "command";
68226
+ serialNumber: string;
68227
+ idempotencyKey: string;
68228
+ } | {
68229
+ kind: "firmware";
68230
+ serialNumber: string;
68231
+ updateId: string;
68232
+ } | {
68233
+ kind: "bluetooth_firmware";
68234
+ deviceId: string;
68235
+ updateId: string;
68236
+ } | {
68237
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68238
+ deviceId: string;
68239
+ requestId: string;
68240
+ } | {
68241
+ kind: "support";
68242
+ requestId: string;
68243
+ };
68244
+ };
68245
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68246
+ currentRevision?: string | undefined;
68247
+ retryAfterSeconds?: number | undefined;
68248
+ }, unknown>>;
68249
+ };
68250
+ readonly firmware_policy_unavailable: {
68251
+ readonly status: 503;
68252
+ readonly data: z$1.ZodType<{
68253
+ traceId: string;
68254
+ recovery: {
68255
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68256
+ } | {
68257
+ action: "read_operation";
68258
+ operation: {
68259
+ kind: "command";
68260
+ serialNumber: string;
68261
+ idempotencyKey: string;
68262
+ } | {
68263
+ kind: "firmware";
68264
+ serialNumber: string;
68265
+ updateId: string;
68266
+ } | {
68267
+ kind: "bluetooth_firmware";
68268
+ deviceId: string;
68269
+ updateId: string;
68270
+ } | {
68271
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68272
+ deviceId: string;
68273
+ requestId: string;
68274
+ } | {
68275
+ kind: "support";
68276
+ requestId: string;
68277
+ };
68278
+ };
68279
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68280
+ currentRevision?: string | undefined;
68281
+ retryAfterSeconds?: number | undefined;
68282
+ }, unknown, z$1.core.$ZodTypeInternals<{
68283
+ traceId: string;
68284
+ recovery: {
68285
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
68286
+ } | {
68287
+ action: "read_operation";
68288
+ operation: {
68289
+ kind: "command";
68290
+ serialNumber: string;
68291
+ idempotencyKey: string;
68292
+ } | {
68293
+ kind: "firmware";
68294
+ serialNumber: string;
68295
+ updateId: string;
68296
+ } | {
68297
+ kind: "bluetooth_firmware";
68298
+ deviceId: string;
68299
+ updateId: string;
68300
+ } | {
68301
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
68302
+ deviceId: string;
68303
+ requestId: string;
68304
+ } | {
68305
+ kind: "support";
68306
+ requestId: string;
68307
+ };
68308
+ };
68309
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
68310
+ currentRevision?: string | undefined;
68311
+ retryAfterSeconds?: number | undefined;
68312
+ }, unknown>>;
68313
+ };
68314
+ readonly firmware_release_unavailable: {
66247
68315
  readonly status: 503;
66248
68316
  readonly data: z$1.ZodType<{
66249
68317
  traceId: string;
@@ -66307,26 +68375,6 @@ export declare const firmwareCatalogContract: {
66307
68375
  retryAfterSeconds?: number | undefined;
66308
68376
  }, unknown>>;
66309
68377
  };
66310
- }>, Record<never, never>>;
66311
- enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
66312
- id: z$1.ZodString;
66313
- revision: z$1.ZodString;
66314
- }, z$1.core.$strict>, z$1.ZodObject<{
66315
- id: z$1.ZodString;
66316
- family: z$1.ZodEnum<{
66317
- "gen2-lte": "gen2-lte";
66318
- "gen2-battery": "gen2-battery";
66319
- }>;
66320
- version: z$1.ZodString;
66321
- revision: z$1.ZodString;
66322
- size: z$1.ZodInt;
66323
- sha256: z$1.ZodString;
66324
- notes: z$1.ZodString;
66325
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
66326
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
66327
- downloadUrl: z$1.ZodURL;
66328
- availableForUpdates: z$1.ZodBoolean;
66329
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
66330
68378
  readonly invalid: {
66331
68379
  readonly status: 400;
66332
68380
  readonly data: z$1.ZodType<{