@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/schemas.d.ts CHANGED
@@ -35475,8 +35475,8 @@ export declare const firmwareCatalogContract: {
35475
35475
  }, z$1.core.$strip>>;
35476
35476
  nextAfter: z$1.ZodNullable<z$1.ZodString>;
35477
35477
  }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
35478
- readonly invalid: {
35479
- readonly status: 400;
35478
+ readonly inventory_changed: {
35479
+ readonly status: 412;
35480
35480
  readonly data: z$1.ZodType<{
35481
35481
  traceId: string;
35482
35482
  recovery: {
@@ -35539,8 +35539,8 @@ export declare const firmwareCatalogContract: {
35539
35539
  retryAfterSeconds?: number | undefined;
35540
35540
  }, unknown>>;
35541
35541
  };
35542
- readonly unauthenticated: {
35543
- readonly status: 401;
35542
+ readonly firmware_catalog_invalid: {
35543
+ readonly status: 503;
35544
35544
  readonly data: z$1.ZodType<{
35545
35545
  traceId: string;
35546
35546
  recovery: {
@@ -35603,8 +35603,8 @@ export declare const firmwareCatalogContract: {
35603
35603
  retryAfterSeconds?: number | undefined;
35604
35604
  }, unknown>>;
35605
35605
  };
35606
- readonly forbidden: {
35607
- readonly status: 403;
35606
+ readonly firmware_catalog_full: {
35607
+ readonly status: 503;
35608
35608
  readonly data: z$1.ZodType<{
35609
35609
  traceId: string;
35610
35610
  recovery: {
@@ -35667,8 +35667,8 @@ export declare const firmwareCatalogContract: {
35667
35667
  retryAfterSeconds?: number | undefined;
35668
35668
  }, unknown>>;
35669
35669
  };
35670
- readonly not_found: {
35671
- readonly status: 404;
35670
+ readonly firmware_execution_invalid: {
35671
+ readonly status: 503;
35672
35672
  readonly data: z$1.ZodType<{
35673
35673
  traceId: string;
35674
35674
  recovery: {
@@ -35731,8 +35731,8 @@ export declare const firmwareCatalogContract: {
35731
35731
  retryAfterSeconds?: number | undefined;
35732
35732
  }, unknown>>;
35733
35733
  };
35734
- readonly conflict: {
35735
- readonly status: 409;
35734
+ readonly firmware_review_changed: {
35735
+ readonly status: 412;
35736
35736
  readonly data: z$1.ZodType<{
35737
35737
  traceId: string;
35738
35738
  recovery: {
@@ -35795,8 +35795,8 @@ export declare const firmwareCatalogContract: {
35795
35795
  retryAfterSeconds?: number | undefined;
35796
35796
  }, unknown>>;
35797
35797
  };
35798
- readonly rate_limited: {
35799
- readonly status: 429;
35798
+ readonly firmware_review_required: {
35799
+ readonly status: 428;
35800
35800
  readonly data: z$1.ZodType<{
35801
35801
  traceId: string;
35802
35802
  recovery: {
@@ -35859,7 +35859,7 @@ export declare const firmwareCatalogContract: {
35859
35859
  retryAfterSeconds?: number | undefined;
35860
35860
  }, unknown>>;
35861
35861
  };
35862
- readonly stored_data_invalid: {
35862
+ readonly firmware_policy_unavailable: {
35863
35863
  readonly status: 503;
35864
35864
  readonly data: z$1.ZodType<{
35865
35865
  traceId: string;
@@ -35923,7 +35923,7 @@ export declare const firmwareCatalogContract: {
35923
35923
  retryAfterSeconds?: number | undefined;
35924
35924
  }, unknown>>;
35925
35925
  };
35926
- readonly service_unavailable: {
35926
+ readonly firmware_release_unavailable: {
35927
35927
  readonly status: 503;
35928
35928
  readonly data: z$1.ZodType<{
35929
35929
  traceId: string;
@@ -35987,8 +35987,8 @@ export declare const firmwareCatalogContract: {
35987
35987
  retryAfterSeconds?: number | undefined;
35988
35988
  }, unknown>>;
35989
35989
  };
35990
- readonly read_unavailable: {
35991
- readonly status: 503;
35990
+ readonly invalid: {
35991
+ readonly status: 400;
35992
35992
  readonly data: z$1.ZodType<{
35993
35993
  traceId: string;
35994
35994
  recovery: {
@@ -36051,8 +36051,8 @@ export declare const firmwareCatalogContract: {
36051
36051
  retryAfterSeconds?: number | undefined;
36052
36052
  }, unknown>>;
36053
36053
  };
36054
- readonly stream_unavailable: {
36055
- readonly status: 503;
36054
+ readonly unauthenticated: {
36055
+ readonly status: 401;
36056
36056
  readonly data: z$1.ZodType<{
36057
36057
  traceId: string;
36058
36058
  recovery: {
@@ -36115,8 +36115,8 @@ export declare const firmwareCatalogContract: {
36115
36115
  retryAfterSeconds?: number | undefined;
36116
36116
  }, unknown>>;
36117
36117
  };
36118
- readonly payload_too_large: {
36119
- readonly status: 413;
36118
+ readonly forbidden: {
36119
+ readonly status: 403;
36120
36120
  readonly data: z$1.ZodType<{
36121
36121
  traceId: string;
36122
36122
  recovery: {
@@ -36179,8 +36179,8 @@ export declare const firmwareCatalogContract: {
36179
36179
  retryAfterSeconds?: number | undefined;
36180
36180
  }, unknown>>;
36181
36181
  };
36182
- readonly request_timeout: {
36183
- readonly status: 503;
36182
+ readonly not_found: {
36183
+ readonly status: 404;
36184
36184
  readonly data: z$1.ZodType<{
36185
36185
  traceId: string;
36186
36186
  recovery: {
@@ -36243,8 +36243,8 @@ export declare const firmwareCatalogContract: {
36243
36243
  retryAfterSeconds?: number | undefined;
36244
36244
  }, unknown>>;
36245
36245
  };
36246
- readonly operation_unconfirmed: {
36247
- readonly status: 503;
36246
+ readonly conflict: {
36247
+ readonly status: 409;
36248
36248
  readonly data: z$1.ZodType<{
36249
36249
  traceId: string;
36250
36250
  recovery: {
@@ -36307,8 +36307,8 @@ export declare const firmwareCatalogContract: {
36307
36307
  retryAfterSeconds?: number | undefined;
36308
36308
  }, unknown>>;
36309
36309
  };
36310
- readonly directory_unavailable: {
36311
- readonly status: 503;
36310
+ readonly rate_limited: {
36311
+ readonly status: 429;
36312
36312
  readonly data: z$1.ZodType<{
36313
36313
  traceId: string;
36314
36314
  recovery: {
@@ -36371,27 +36371,8 @@ export declare const firmwareCatalogContract: {
36371
36371
  retryAfterSeconds?: number | undefined;
36372
36372
  }, unknown>>;
36373
36373
  };
36374
- }>, Record<never, never>>;
36375
- get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
36376
- id: z$1.ZodString;
36377
- }, z$1.core.$strict>, z$1.ZodObject<{
36378
- id: z$1.ZodString;
36379
- family: z$1.ZodEnum<{
36380
- "gen2-lte": "gen2-lte";
36381
- "gen2-battery": "gen2-battery";
36382
- }>;
36383
- version: z$1.ZodString;
36384
- revision: z$1.ZodString;
36385
- size: z$1.ZodInt;
36386
- sha256: z$1.ZodString;
36387
- notes: z$1.ZodString;
36388
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
36389
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
36390
- downloadUrl: z$1.ZodURL;
36391
- availableForUpdates: z$1.ZodBoolean;
36392
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
36393
- readonly invalid: {
36394
- readonly status: 400;
36374
+ readonly stored_data_invalid: {
36375
+ readonly status: 503;
36395
36376
  readonly data: z$1.ZodType<{
36396
36377
  traceId: string;
36397
36378
  recovery: {
@@ -36454,8 +36435,8 @@ export declare const firmwareCatalogContract: {
36454
36435
  retryAfterSeconds?: number | undefined;
36455
36436
  }, unknown>>;
36456
36437
  };
36457
- readonly unauthenticated: {
36458
- readonly status: 401;
36438
+ readonly service_unavailable: {
36439
+ readonly status: 503;
36459
36440
  readonly data: z$1.ZodType<{
36460
36441
  traceId: string;
36461
36442
  recovery: {
@@ -36518,8 +36499,8 @@ export declare const firmwareCatalogContract: {
36518
36499
  retryAfterSeconds?: number | undefined;
36519
36500
  }, unknown>>;
36520
36501
  };
36521
- readonly forbidden: {
36522
- readonly status: 403;
36502
+ readonly read_unavailable: {
36503
+ readonly status: 503;
36523
36504
  readonly data: z$1.ZodType<{
36524
36505
  traceId: string;
36525
36506
  recovery: {
@@ -36582,8 +36563,8 @@ export declare const firmwareCatalogContract: {
36582
36563
  retryAfterSeconds?: number | undefined;
36583
36564
  }, unknown>>;
36584
36565
  };
36585
- readonly not_found: {
36586
- readonly status: 404;
36566
+ readonly stream_unavailable: {
36567
+ readonly status: 503;
36587
36568
  readonly data: z$1.ZodType<{
36588
36569
  traceId: string;
36589
36570
  recovery: {
@@ -36646,8 +36627,8 @@ export declare const firmwareCatalogContract: {
36646
36627
  retryAfterSeconds?: number | undefined;
36647
36628
  }, unknown>>;
36648
36629
  };
36649
- readonly conflict: {
36650
- readonly status: 409;
36630
+ readonly payload_too_large: {
36631
+ readonly status: 413;
36651
36632
  readonly data: z$1.ZodType<{
36652
36633
  traceId: string;
36653
36634
  recovery: {
@@ -36710,8 +36691,8 @@ export declare const firmwareCatalogContract: {
36710
36691
  retryAfterSeconds?: number | undefined;
36711
36692
  }, unknown>>;
36712
36693
  };
36713
- readonly rate_limited: {
36714
- readonly status: 429;
36694
+ readonly request_timeout: {
36695
+ readonly status: 503;
36715
36696
  readonly data: z$1.ZodType<{
36716
36697
  traceId: string;
36717
36698
  recovery: {
@@ -36774,7 +36755,7 @@ export declare const firmwareCatalogContract: {
36774
36755
  retryAfterSeconds?: number | undefined;
36775
36756
  }, unknown>>;
36776
36757
  };
36777
- readonly stored_data_invalid: {
36758
+ readonly operation_unconfirmed: {
36778
36759
  readonly status: 503;
36779
36760
  readonly data: z$1.ZodType<{
36780
36761
  traceId: string;
@@ -36838,7 +36819,7 @@ export declare const firmwareCatalogContract: {
36838
36819
  retryAfterSeconds?: number | undefined;
36839
36820
  }, unknown>>;
36840
36821
  };
36841
- readonly service_unavailable: {
36822
+ readonly directory_unavailable: {
36842
36823
  readonly status: 503;
36843
36824
  readonly data: z$1.ZodType<{
36844
36825
  traceId: string;
@@ -36902,8 +36883,27 @@ export declare const firmwareCatalogContract: {
36902
36883
  retryAfterSeconds?: number | undefined;
36903
36884
  }, unknown>>;
36904
36885
  };
36905
- readonly read_unavailable: {
36906
- readonly status: 503;
36886
+ }>, Record<never, never>>;
36887
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
36888
+ id: z$1.ZodString;
36889
+ }, z$1.core.$strict>, z$1.ZodObject<{
36890
+ id: z$1.ZodString;
36891
+ family: z$1.ZodEnum<{
36892
+ "gen2-lte": "gen2-lte";
36893
+ "gen2-battery": "gen2-battery";
36894
+ }>;
36895
+ version: z$1.ZodString;
36896
+ revision: z$1.ZodString;
36897
+ size: z$1.ZodInt;
36898
+ sha256: z$1.ZodString;
36899
+ notes: z$1.ZodString;
36900
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
36901
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
36902
+ downloadUrl: z$1.ZodURL;
36903
+ availableForUpdates: z$1.ZodBoolean;
36904
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
36905
+ readonly inventory_changed: {
36906
+ readonly status: 412;
36907
36907
  readonly data: z$1.ZodType<{
36908
36908
  traceId: string;
36909
36909
  recovery: {
@@ -36966,7 +36966,7 @@ export declare const firmwareCatalogContract: {
36966
36966
  retryAfterSeconds?: number | undefined;
36967
36967
  }, unknown>>;
36968
36968
  };
36969
- readonly stream_unavailable: {
36969
+ readonly firmware_catalog_invalid: {
36970
36970
  readonly status: 503;
36971
36971
  readonly data: z$1.ZodType<{
36972
36972
  traceId: string;
@@ -37030,8 +37030,8 @@ export declare const firmwareCatalogContract: {
37030
37030
  retryAfterSeconds?: number | undefined;
37031
37031
  }, unknown>>;
37032
37032
  };
37033
- readonly payload_too_large: {
37034
- readonly status: 413;
37033
+ readonly firmware_catalog_full: {
37034
+ readonly status: 503;
37035
37035
  readonly data: z$1.ZodType<{
37036
37036
  traceId: string;
37037
37037
  recovery: {
@@ -37094,7 +37094,7 @@ export declare const firmwareCatalogContract: {
37094
37094
  retryAfterSeconds?: number | undefined;
37095
37095
  }, unknown>>;
37096
37096
  };
37097
- readonly request_timeout: {
37097
+ readonly firmware_execution_invalid: {
37098
37098
  readonly status: 503;
37099
37099
  readonly data: z$1.ZodType<{
37100
37100
  traceId: string;
@@ -37158,8 +37158,8 @@ export declare const firmwareCatalogContract: {
37158
37158
  retryAfterSeconds?: number | undefined;
37159
37159
  }, unknown>>;
37160
37160
  };
37161
- readonly operation_unconfirmed: {
37162
- readonly status: 503;
37161
+ readonly firmware_review_changed: {
37162
+ readonly status: 412;
37163
37163
  readonly data: z$1.ZodType<{
37164
37164
  traceId: string;
37165
37165
  recovery: {
@@ -37222,8 +37222,8 @@ export declare const firmwareCatalogContract: {
37222
37222
  retryAfterSeconds?: number | undefined;
37223
37223
  }, unknown>>;
37224
37224
  };
37225
- readonly directory_unavailable: {
37226
- readonly status: 503;
37225
+ readonly firmware_review_required: {
37226
+ readonly status: 428;
37227
37227
  readonly data: z$1.ZodType<{
37228
37228
  traceId: string;
37229
37229
  recovery: {
@@ -37286,37 +37286,8 @@ export declare const firmwareCatalogContract: {
37286
37286
  retryAfterSeconds?: number | undefined;
37287
37287
  }, unknown>>;
37288
37288
  };
37289
- }>, Record<never, never>>;
37290
- publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
37291
- family: z$1.ZodEnum<{
37292
- "gen2-lte": "gen2-lte";
37293
- "gen2-battery": "gen2-battery";
37294
- }>;
37295
- version: z$1.ZodString;
37296
- notes: z$1.ZodString;
37297
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
37298
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
37299
- size: z$1.ZodInt;
37300
- sha256: z$1.ZodString;
37301
- file: z$1.ZodFile;
37302
- }, z$1.core.$strict>, z$1.ZodObject<{
37303
- id: z$1.ZodString;
37304
- family: z$1.ZodEnum<{
37305
- "gen2-lte": "gen2-lte";
37306
- "gen2-battery": "gen2-battery";
37307
- }>;
37308
- version: z$1.ZodString;
37309
- revision: z$1.ZodString;
37310
- size: z$1.ZodInt;
37311
- sha256: z$1.ZodString;
37312
- notes: z$1.ZodString;
37313
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
37314
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
37315
- downloadUrl: z$1.ZodURL;
37316
- availableForUpdates: z$1.ZodBoolean;
37317
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
37318
- readonly invalid: {
37319
- readonly status: 400;
37289
+ readonly firmware_policy_unavailable: {
37290
+ readonly status: 503;
37320
37291
  readonly data: z$1.ZodType<{
37321
37292
  traceId: string;
37322
37293
  recovery: {
@@ -37379,8 +37350,8 @@ export declare const firmwareCatalogContract: {
37379
37350
  retryAfterSeconds?: number | undefined;
37380
37351
  }, unknown>>;
37381
37352
  };
37382
- readonly unauthenticated: {
37383
- readonly status: 401;
37353
+ readonly firmware_release_unavailable: {
37354
+ readonly status: 503;
37384
37355
  readonly data: z$1.ZodType<{
37385
37356
  traceId: string;
37386
37357
  recovery: {
@@ -37443,8 +37414,8 @@ export declare const firmwareCatalogContract: {
37443
37414
  retryAfterSeconds?: number | undefined;
37444
37415
  }, unknown>>;
37445
37416
  };
37446
- readonly forbidden: {
37447
- readonly status: 403;
37417
+ readonly invalid: {
37418
+ readonly status: 400;
37448
37419
  readonly data: z$1.ZodType<{
37449
37420
  traceId: string;
37450
37421
  recovery: {
@@ -37507,8 +37478,8 @@ export declare const firmwareCatalogContract: {
37507
37478
  retryAfterSeconds?: number | undefined;
37508
37479
  }, unknown>>;
37509
37480
  };
37510
- readonly not_found: {
37511
- readonly status: 404;
37481
+ readonly unauthenticated: {
37482
+ readonly status: 401;
37512
37483
  readonly data: z$1.ZodType<{
37513
37484
  traceId: string;
37514
37485
  recovery: {
@@ -37571,8 +37542,8 @@ export declare const firmwareCatalogContract: {
37571
37542
  retryAfterSeconds?: number | undefined;
37572
37543
  }, unknown>>;
37573
37544
  };
37574
- readonly conflict: {
37575
- readonly status: 409;
37545
+ readonly forbidden: {
37546
+ readonly status: 403;
37576
37547
  readonly data: z$1.ZodType<{
37577
37548
  traceId: string;
37578
37549
  recovery: {
@@ -37635,8 +37606,8 @@ export declare const firmwareCatalogContract: {
37635
37606
  retryAfterSeconds?: number | undefined;
37636
37607
  }, unknown>>;
37637
37608
  };
37638
- readonly rate_limited: {
37639
- readonly status: 429;
37609
+ readonly not_found: {
37610
+ readonly status: 404;
37640
37611
  readonly data: z$1.ZodType<{
37641
37612
  traceId: string;
37642
37613
  recovery: {
@@ -37699,8 +37670,8 @@ export declare const firmwareCatalogContract: {
37699
37670
  retryAfterSeconds?: number | undefined;
37700
37671
  }, unknown>>;
37701
37672
  };
37702
- readonly stored_data_invalid: {
37703
- readonly status: 503;
37673
+ readonly conflict: {
37674
+ readonly status: 409;
37704
37675
  readonly data: z$1.ZodType<{
37705
37676
  traceId: string;
37706
37677
  recovery: {
@@ -37763,8 +37734,8 @@ export declare const firmwareCatalogContract: {
37763
37734
  retryAfterSeconds?: number | undefined;
37764
37735
  }, unknown>>;
37765
37736
  };
37766
- readonly service_unavailable: {
37767
- readonly status: 503;
37737
+ readonly rate_limited: {
37738
+ readonly status: 429;
37768
37739
  readonly data: z$1.ZodType<{
37769
37740
  traceId: string;
37770
37741
  recovery: {
@@ -37827,7 +37798,7 @@ export declare const firmwareCatalogContract: {
37827
37798
  retryAfterSeconds?: number | undefined;
37828
37799
  }, unknown>>;
37829
37800
  };
37830
- readonly read_unavailable: {
37801
+ readonly stored_data_invalid: {
37831
37802
  readonly status: 503;
37832
37803
  readonly data: z$1.ZodType<{
37833
37804
  traceId: string;
@@ -37891,7 +37862,7 @@ export declare const firmwareCatalogContract: {
37891
37862
  retryAfterSeconds?: number | undefined;
37892
37863
  }, unknown>>;
37893
37864
  };
37894
- readonly stream_unavailable: {
37865
+ readonly service_unavailable: {
37895
37866
  readonly status: 503;
37896
37867
  readonly data: z$1.ZodType<{
37897
37868
  traceId: string;
@@ -37955,8 +37926,8 @@ export declare const firmwareCatalogContract: {
37955
37926
  retryAfterSeconds?: number | undefined;
37956
37927
  }, unknown>>;
37957
37928
  };
37958
- readonly payload_too_large: {
37959
- readonly status: 413;
37929
+ readonly read_unavailable: {
37930
+ readonly status: 503;
37960
37931
  readonly data: z$1.ZodType<{
37961
37932
  traceId: string;
37962
37933
  recovery: {
@@ -38019,7 +37990,7 @@ export declare const firmwareCatalogContract: {
38019
37990
  retryAfterSeconds?: number | undefined;
38020
37991
  }, unknown>>;
38021
37992
  };
38022
- readonly request_timeout: {
37993
+ readonly stream_unavailable: {
38023
37994
  readonly status: 503;
38024
37995
  readonly data: z$1.ZodType<{
38025
37996
  traceId: string;
@@ -38083,8 +38054,8 @@ export declare const firmwareCatalogContract: {
38083
38054
  retryAfterSeconds?: number | undefined;
38084
38055
  }, unknown>>;
38085
38056
  };
38086
- readonly operation_unconfirmed: {
38087
- readonly status: 503;
38057
+ readonly payload_too_large: {
38058
+ readonly status: 413;
38088
38059
  readonly data: z$1.ZodType<{
38089
38060
  traceId: string;
38090
38061
  recovery: {
@@ -38147,7 +38118,2104 @@ export declare const firmwareCatalogContract: {
38147
38118
  retryAfterSeconds?: number | undefined;
38148
38119
  }, unknown>>;
38149
38120
  };
38150
- readonly directory_unavailable: {
38121
+ readonly request_timeout: {
38122
+ readonly status: 503;
38123
+ readonly data: z$1.ZodType<{
38124
+ traceId: string;
38125
+ recovery: {
38126
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38127
+ } | {
38128
+ action: "read_operation";
38129
+ operation: {
38130
+ kind: "command";
38131
+ serialNumber: string;
38132
+ idempotencyKey: string;
38133
+ } | {
38134
+ kind: "firmware";
38135
+ serialNumber: string;
38136
+ updateId: string;
38137
+ } | {
38138
+ kind: "bluetooth_firmware";
38139
+ deviceId: string;
38140
+ updateId: string;
38141
+ } | {
38142
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38143
+ deviceId: string;
38144
+ requestId: string;
38145
+ } | {
38146
+ kind: "support";
38147
+ requestId: string;
38148
+ };
38149
+ };
38150
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38151
+ currentRevision?: string | undefined;
38152
+ retryAfterSeconds?: number | undefined;
38153
+ }, unknown, z$1.core.$ZodTypeInternals<{
38154
+ traceId: string;
38155
+ recovery: {
38156
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38157
+ } | {
38158
+ action: "read_operation";
38159
+ operation: {
38160
+ kind: "command";
38161
+ serialNumber: string;
38162
+ idempotencyKey: string;
38163
+ } | {
38164
+ kind: "firmware";
38165
+ serialNumber: string;
38166
+ updateId: string;
38167
+ } | {
38168
+ kind: "bluetooth_firmware";
38169
+ deviceId: string;
38170
+ updateId: string;
38171
+ } | {
38172
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38173
+ deviceId: string;
38174
+ requestId: string;
38175
+ } | {
38176
+ kind: "support";
38177
+ requestId: string;
38178
+ };
38179
+ };
38180
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38181
+ currentRevision?: string | undefined;
38182
+ retryAfterSeconds?: number | undefined;
38183
+ }, unknown>>;
38184
+ };
38185
+ readonly operation_unconfirmed: {
38186
+ readonly status: 503;
38187
+ readonly data: z$1.ZodType<{
38188
+ traceId: string;
38189
+ recovery: {
38190
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38191
+ } | {
38192
+ action: "read_operation";
38193
+ operation: {
38194
+ kind: "command";
38195
+ serialNumber: string;
38196
+ idempotencyKey: string;
38197
+ } | {
38198
+ kind: "firmware";
38199
+ serialNumber: string;
38200
+ updateId: string;
38201
+ } | {
38202
+ kind: "bluetooth_firmware";
38203
+ deviceId: string;
38204
+ updateId: string;
38205
+ } | {
38206
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38207
+ deviceId: string;
38208
+ requestId: string;
38209
+ } | {
38210
+ kind: "support";
38211
+ requestId: string;
38212
+ };
38213
+ };
38214
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38215
+ currentRevision?: string | undefined;
38216
+ retryAfterSeconds?: number | undefined;
38217
+ }, unknown, z$1.core.$ZodTypeInternals<{
38218
+ traceId: string;
38219
+ recovery: {
38220
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38221
+ } | {
38222
+ action: "read_operation";
38223
+ operation: {
38224
+ kind: "command";
38225
+ serialNumber: string;
38226
+ idempotencyKey: string;
38227
+ } | {
38228
+ kind: "firmware";
38229
+ serialNumber: string;
38230
+ updateId: string;
38231
+ } | {
38232
+ kind: "bluetooth_firmware";
38233
+ deviceId: string;
38234
+ updateId: string;
38235
+ } | {
38236
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38237
+ deviceId: string;
38238
+ requestId: string;
38239
+ } | {
38240
+ kind: "support";
38241
+ requestId: string;
38242
+ };
38243
+ };
38244
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38245
+ currentRevision?: string | undefined;
38246
+ retryAfterSeconds?: number | undefined;
38247
+ }, unknown>>;
38248
+ };
38249
+ readonly directory_unavailable: {
38250
+ readonly status: 503;
38251
+ readonly data: z$1.ZodType<{
38252
+ traceId: string;
38253
+ recovery: {
38254
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38255
+ } | {
38256
+ action: "read_operation";
38257
+ operation: {
38258
+ kind: "command";
38259
+ serialNumber: string;
38260
+ idempotencyKey: string;
38261
+ } | {
38262
+ kind: "firmware";
38263
+ serialNumber: string;
38264
+ updateId: string;
38265
+ } | {
38266
+ kind: "bluetooth_firmware";
38267
+ deviceId: string;
38268
+ updateId: string;
38269
+ } | {
38270
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38271
+ deviceId: string;
38272
+ requestId: string;
38273
+ } | {
38274
+ kind: "support";
38275
+ requestId: string;
38276
+ };
38277
+ };
38278
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38279
+ currentRevision?: string | undefined;
38280
+ retryAfterSeconds?: number | undefined;
38281
+ }, unknown, z$1.core.$ZodTypeInternals<{
38282
+ traceId: string;
38283
+ recovery: {
38284
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38285
+ } | {
38286
+ action: "read_operation";
38287
+ operation: {
38288
+ kind: "command";
38289
+ serialNumber: string;
38290
+ idempotencyKey: string;
38291
+ } | {
38292
+ kind: "firmware";
38293
+ serialNumber: string;
38294
+ updateId: string;
38295
+ } | {
38296
+ kind: "bluetooth_firmware";
38297
+ deviceId: string;
38298
+ updateId: string;
38299
+ } | {
38300
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38301
+ deviceId: string;
38302
+ requestId: string;
38303
+ } | {
38304
+ kind: "support";
38305
+ requestId: string;
38306
+ };
38307
+ };
38308
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38309
+ currentRevision?: string | undefined;
38310
+ retryAfterSeconds?: number | undefined;
38311
+ }, unknown>>;
38312
+ };
38313
+ }>, Record<never, never>>;
38314
+ publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
38315
+ family: z$1.ZodEnum<{
38316
+ "gen2-lte": "gen2-lte";
38317
+ "gen2-battery": "gen2-battery";
38318
+ }>;
38319
+ version: z$1.ZodString;
38320
+ notes: z$1.ZodString;
38321
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
38322
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
38323
+ size: z$1.ZodInt;
38324
+ sha256: z$1.ZodString;
38325
+ file: z$1.ZodFile;
38326
+ }, z$1.core.$strict>, z$1.ZodObject<{
38327
+ id: z$1.ZodString;
38328
+ family: z$1.ZodEnum<{
38329
+ "gen2-lte": "gen2-lte";
38330
+ "gen2-battery": "gen2-battery";
38331
+ }>;
38332
+ version: z$1.ZodString;
38333
+ revision: z$1.ZodString;
38334
+ size: z$1.ZodInt;
38335
+ sha256: z$1.ZodString;
38336
+ notes: z$1.ZodString;
38337
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
38338
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
38339
+ downloadUrl: z$1.ZodURL;
38340
+ availableForUpdates: z$1.ZodBoolean;
38341
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
38342
+ readonly inventory_changed: {
38343
+ readonly status: 412;
38344
+ readonly data: z$1.ZodType<{
38345
+ traceId: string;
38346
+ recovery: {
38347
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38348
+ } | {
38349
+ action: "read_operation";
38350
+ operation: {
38351
+ kind: "command";
38352
+ serialNumber: string;
38353
+ idempotencyKey: string;
38354
+ } | {
38355
+ kind: "firmware";
38356
+ serialNumber: string;
38357
+ updateId: string;
38358
+ } | {
38359
+ kind: "bluetooth_firmware";
38360
+ deviceId: string;
38361
+ updateId: string;
38362
+ } | {
38363
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38364
+ deviceId: string;
38365
+ requestId: string;
38366
+ } | {
38367
+ kind: "support";
38368
+ requestId: string;
38369
+ };
38370
+ };
38371
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38372
+ currentRevision?: string | undefined;
38373
+ retryAfterSeconds?: number | undefined;
38374
+ }, unknown, z$1.core.$ZodTypeInternals<{
38375
+ traceId: string;
38376
+ recovery: {
38377
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38378
+ } | {
38379
+ action: "read_operation";
38380
+ operation: {
38381
+ kind: "command";
38382
+ serialNumber: string;
38383
+ idempotencyKey: string;
38384
+ } | {
38385
+ kind: "firmware";
38386
+ serialNumber: string;
38387
+ updateId: string;
38388
+ } | {
38389
+ kind: "bluetooth_firmware";
38390
+ deviceId: string;
38391
+ updateId: string;
38392
+ } | {
38393
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38394
+ deviceId: string;
38395
+ requestId: string;
38396
+ } | {
38397
+ kind: "support";
38398
+ requestId: string;
38399
+ };
38400
+ };
38401
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38402
+ currentRevision?: string | undefined;
38403
+ retryAfterSeconds?: number | undefined;
38404
+ }, unknown>>;
38405
+ };
38406
+ readonly firmware_catalog_invalid: {
38407
+ readonly status: 503;
38408
+ readonly data: z$1.ZodType<{
38409
+ traceId: string;
38410
+ recovery: {
38411
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38412
+ } | {
38413
+ action: "read_operation";
38414
+ operation: {
38415
+ kind: "command";
38416
+ serialNumber: string;
38417
+ idempotencyKey: string;
38418
+ } | {
38419
+ kind: "firmware";
38420
+ serialNumber: string;
38421
+ updateId: string;
38422
+ } | {
38423
+ kind: "bluetooth_firmware";
38424
+ deviceId: string;
38425
+ updateId: string;
38426
+ } | {
38427
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38428
+ deviceId: string;
38429
+ requestId: string;
38430
+ } | {
38431
+ kind: "support";
38432
+ requestId: string;
38433
+ };
38434
+ };
38435
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38436
+ currentRevision?: string | undefined;
38437
+ retryAfterSeconds?: number | undefined;
38438
+ }, unknown, z$1.core.$ZodTypeInternals<{
38439
+ traceId: string;
38440
+ recovery: {
38441
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38442
+ } | {
38443
+ action: "read_operation";
38444
+ operation: {
38445
+ kind: "command";
38446
+ serialNumber: string;
38447
+ idempotencyKey: string;
38448
+ } | {
38449
+ kind: "firmware";
38450
+ serialNumber: string;
38451
+ updateId: string;
38452
+ } | {
38453
+ kind: "bluetooth_firmware";
38454
+ deviceId: string;
38455
+ updateId: string;
38456
+ } | {
38457
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38458
+ deviceId: string;
38459
+ requestId: string;
38460
+ } | {
38461
+ kind: "support";
38462
+ requestId: string;
38463
+ };
38464
+ };
38465
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38466
+ currentRevision?: string | undefined;
38467
+ retryAfterSeconds?: number | undefined;
38468
+ }, unknown>>;
38469
+ };
38470
+ readonly firmware_catalog_full: {
38471
+ readonly status: 503;
38472
+ readonly data: z$1.ZodType<{
38473
+ traceId: string;
38474
+ recovery: {
38475
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38476
+ } | {
38477
+ action: "read_operation";
38478
+ operation: {
38479
+ kind: "command";
38480
+ serialNumber: string;
38481
+ idempotencyKey: string;
38482
+ } | {
38483
+ kind: "firmware";
38484
+ serialNumber: string;
38485
+ updateId: string;
38486
+ } | {
38487
+ kind: "bluetooth_firmware";
38488
+ deviceId: string;
38489
+ updateId: string;
38490
+ } | {
38491
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38492
+ deviceId: string;
38493
+ requestId: string;
38494
+ } | {
38495
+ kind: "support";
38496
+ requestId: string;
38497
+ };
38498
+ };
38499
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38500
+ currentRevision?: string | undefined;
38501
+ retryAfterSeconds?: number | undefined;
38502
+ }, unknown, z$1.core.$ZodTypeInternals<{
38503
+ traceId: string;
38504
+ recovery: {
38505
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38506
+ } | {
38507
+ action: "read_operation";
38508
+ operation: {
38509
+ kind: "command";
38510
+ serialNumber: string;
38511
+ idempotencyKey: string;
38512
+ } | {
38513
+ kind: "firmware";
38514
+ serialNumber: string;
38515
+ updateId: string;
38516
+ } | {
38517
+ kind: "bluetooth_firmware";
38518
+ deviceId: string;
38519
+ updateId: string;
38520
+ } | {
38521
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38522
+ deviceId: string;
38523
+ requestId: string;
38524
+ } | {
38525
+ kind: "support";
38526
+ requestId: string;
38527
+ };
38528
+ };
38529
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38530
+ currentRevision?: string | undefined;
38531
+ retryAfterSeconds?: number | undefined;
38532
+ }, unknown>>;
38533
+ };
38534
+ readonly firmware_execution_invalid: {
38535
+ readonly status: 503;
38536
+ readonly data: z$1.ZodType<{
38537
+ traceId: string;
38538
+ recovery: {
38539
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38540
+ } | {
38541
+ action: "read_operation";
38542
+ operation: {
38543
+ kind: "command";
38544
+ serialNumber: string;
38545
+ idempotencyKey: string;
38546
+ } | {
38547
+ kind: "firmware";
38548
+ serialNumber: string;
38549
+ updateId: string;
38550
+ } | {
38551
+ kind: "bluetooth_firmware";
38552
+ deviceId: string;
38553
+ updateId: string;
38554
+ } | {
38555
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38556
+ deviceId: string;
38557
+ requestId: string;
38558
+ } | {
38559
+ kind: "support";
38560
+ requestId: string;
38561
+ };
38562
+ };
38563
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38564
+ currentRevision?: string | undefined;
38565
+ retryAfterSeconds?: number | undefined;
38566
+ }, unknown, z$1.core.$ZodTypeInternals<{
38567
+ traceId: string;
38568
+ recovery: {
38569
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38570
+ } | {
38571
+ action: "read_operation";
38572
+ operation: {
38573
+ kind: "command";
38574
+ serialNumber: string;
38575
+ idempotencyKey: string;
38576
+ } | {
38577
+ kind: "firmware";
38578
+ serialNumber: string;
38579
+ updateId: string;
38580
+ } | {
38581
+ kind: "bluetooth_firmware";
38582
+ deviceId: string;
38583
+ updateId: string;
38584
+ } | {
38585
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38586
+ deviceId: string;
38587
+ requestId: string;
38588
+ } | {
38589
+ kind: "support";
38590
+ requestId: string;
38591
+ };
38592
+ };
38593
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38594
+ currentRevision?: string | undefined;
38595
+ retryAfterSeconds?: number | undefined;
38596
+ }, unknown>>;
38597
+ };
38598
+ readonly firmware_review_changed: {
38599
+ readonly status: 412;
38600
+ readonly data: z$1.ZodType<{
38601
+ traceId: string;
38602
+ recovery: {
38603
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38604
+ } | {
38605
+ action: "read_operation";
38606
+ operation: {
38607
+ kind: "command";
38608
+ serialNumber: string;
38609
+ idempotencyKey: string;
38610
+ } | {
38611
+ kind: "firmware";
38612
+ serialNumber: string;
38613
+ updateId: string;
38614
+ } | {
38615
+ kind: "bluetooth_firmware";
38616
+ deviceId: string;
38617
+ updateId: string;
38618
+ } | {
38619
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38620
+ deviceId: string;
38621
+ requestId: string;
38622
+ } | {
38623
+ kind: "support";
38624
+ requestId: string;
38625
+ };
38626
+ };
38627
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38628
+ currentRevision?: string | undefined;
38629
+ retryAfterSeconds?: number | undefined;
38630
+ }, unknown, z$1.core.$ZodTypeInternals<{
38631
+ traceId: string;
38632
+ recovery: {
38633
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38634
+ } | {
38635
+ action: "read_operation";
38636
+ operation: {
38637
+ kind: "command";
38638
+ serialNumber: string;
38639
+ idempotencyKey: string;
38640
+ } | {
38641
+ kind: "firmware";
38642
+ serialNumber: string;
38643
+ updateId: string;
38644
+ } | {
38645
+ kind: "bluetooth_firmware";
38646
+ deviceId: string;
38647
+ updateId: string;
38648
+ } | {
38649
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38650
+ deviceId: string;
38651
+ requestId: string;
38652
+ } | {
38653
+ kind: "support";
38654
+ requestId: string;
38655
+ };
38656
+ };
38657
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38658
+ currentRevision?: string | undefined;
38659
+ retryAfterSeconds?: number | undefined;
38660
+ }, unknown>>;
38661
+ };
38662
+ readonly firmware_review_required: {
38663
+ readonly status: 428;
38664
+ readonly data: z$1.ZodType<{
38665
+ traceId: string;
38666
+ recovery: {
38667
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38668
+ } | {
38669
+ action: "read_operation";
38670
+ operation: {
38671
+ kind: "command";
38672
+ serialNumber: string;
38673
+ idempotencyKey: string;
38674
+ } | {
38675
+ kind: "firmware";
38676
+ serialNumber: string;
38677
+ updateId: string;
38678
+ } | {
38679
+ kind: "bluetooth_firmware";
38680
+ deviceId: string;
38681
+ updateId: string;
38682
+ } | {
38683
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38684
+ deviceId: string;
38685
+ requestId: string;
38686
+ } | {
38687
+ kind: "support";
38688
+ requestId: string;
38689
+ };
38690
+ };
38691
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38692
+ currentRevision?: string | undefined;
38693
+ retryAfterSeconds?: number | undefined;
38694
+ }, unknown, z$1.core.$ZodTypeInternals<{
38695
+ traceId: string;
38696
+ recovery: {
38697
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38698
+ } | {
38699
+ action: "read_operation";
38700
+ operation: {
38701
+ kind: "command";
38702
+ serialNumber: string;
38703
+ idempotencyKey: string;
38704
+ } | {
38705
+ kind: "firmware";
38706
+ serialNumber: string;
38707
+ updateId: string;
38708
+ } | {
38709
+ kind: "bluetooth_firmware";
38710
+ deviceId: string;
38711
+ updateId: string;
38712
+ } | {
38713
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38714
+ deviceId: string;
38715
+ requestId: string;
38716
+ } | {
38717
+ kind: "support";
38718
+ requestId: string;
38719
+ };
38720
+ };
38721
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38722
+ currentRevision?: string | undefined;
38723
+ retryAfterSeconds?: number | undefined;
38724
+ }, unknown>>;
38725
+ };
38726
+ readonly firmware_policy_unavailable: {
38727
+ readonly status: 503;
38728
+ readonly data: z$1.ZodType<{
38729
+ traceId: string;
38730
+ recovery: {
38731
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38732
+ } | {
38733
+ action: "read_operation";
38734
+ operation: {
38735
+ kind: "command";
38736
+ serialNumber: string;
38737
+ idempotencyKey: string;
38738
+ } | {
38739
+ kind: "firmware";
38740
+ serialNumber: string;
38741
+ updateId: string;
38742
+ } | {
38743
+ kind: "bluetooth_firmware";
38744
+ deviceId: string;
38745
+ updateId: string;
38746
+ } | {
38747
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38748
+ deviceId: string;
38749
+ requestId: string;
38750
+ } | {
38751
+ kind: "support";
38752
+ requestId: string;
38753
+ };
38754
+ };
38755
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38756
+ currentRevision?: string | undefined;
38757
+ retryAfterSeconds?: number | undefined;
38758
+ }, unknown, z$1.core.$ZodTypeInternals<{
38759
+ traceId: string;
38760
+ recovery: {
38761
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38762
+ } | {
38763
+ action: "read_operation";
38764
+ operation: {
38765
+ kind: "command";
38766
+ serialNumber: string;
38767
+ idempotencyKey: string;
38768
+ } | {
38769
+ kind: "firmware";
38770
+ serialNumber: string;
38771
+ updateId: string;
38772
+ } | {
38773
+ kind: "bluetooth_firmware";
38774
+ deviceId: string;
38775
+ updateId: string;
38776
+ } | {
38777
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38778
+ deviceId: string;
38779
+ requestId: string;
38780
+ } | {
38781
+ kind: "support";
38782
+ requestId: string;
38783
+ };
38784
+ };
38785
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38786
+ currentRevision?: string | undefined;
38787
+ retryAfterSeconds?: number | undefined;
38788
+ }, unknown>>;
38789
+ };
38790
+ readonly firmware_release_unavailable: {
38791
+ readonly status: 503;
38792
+ readonly data: z$1.ZodType<{
38793
+ traceId: string;
38794
+ recovery: {
38795
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38796
+ } | {
38797
+ action: "read_operation";
38798
+ operation: {
38799
+ kind: "command";
38800
+ serialNumber: string;
38801
+ idempotencyKey: string;
38802
+ } | {
38803
+ kind: "firmware";
38804
+ serialNumber: string;
38805
+ updateId: string;
38806
+ } | {
38807
+ kind: "bluetooth_firmware";
38808
+ deviceId: string;
38809
+ updateId: string;
38810
+ } | {
38811
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38812
+ deviceId: string;
38813
+ requestId: string;
38814
+ } | {
38815
+ kind: "support";
38816
+ requestId: string;
38817
+ };
38818
+ };
38819
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38820
+ currentRevision?: string | undefined;
38821
+ retryAfterSeconds?: number | undefined;
38822
+ }, unknown, z$1.core.$ZodTypeInternals<{
38823
+ traceId: string;
38824
+ recovery: {
38825
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38826
+ } | {
38827
+ action: "read_operation";
38828
+ operation: {
38829
+ kind: "command";
38830
+ serialNumber: string;
38831
+ idempotencyKey: string;
38832
+ } | {
38833
+ kind: "firmware";
38834
+ serialNumber: string;
38835
+ updateId: string;
38836
+ } | {
38837
+ kind: "bluetooth_firmware";
38838
+ deviceId: string;
38839
+ updateId: string;
38840
+ } | {
38841
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38842
+ deviceId: string;
38843
+ requestId: string;
38844
+ } | {
38845
+ kind: "support";
38846
+ requestId: string;
38847
+ };
38848
+ };
38849
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38850
+ currentRevision?: string | undefined;
38851
+ retryAfterSeconds?: number | undefined;
38852
+ }, unknown>>;
38853
+ };
38854
+ readonly invalid: {
38855
+ readonly status: 400;
38856
+ readonly data: z$1.ZodType<{
38857
+ traceId: string;
38858
+ recovery: {
38859
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38860
+ } | {
38861
+ action: "read_operation";
38862
+ operation: {
38863
+ kind: "command";
38864
+ serialNumber: string;
38865
+ idempotencyKey: string;
38866
+ } | {
38867
+ kind: "firmware";
38868
+ serialNumber: string;
38869
+ updateId: string;
38870
+ } | {
38871
+ kind: "bluetooth_firmware";
38872
+ deviceId: string;
38873
+ updateId: string;
38874
+ } | {
38875
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38876
+ deviceId: string;
38877
+ requestId: string;
38878
+ } | {
38879
+ kind: "support";
38880
+ requestId: string;
38881
+ };
38882
+ };
38883
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38884
+ currentRevision?: string | undefined;
38885
+ retryAfterSeconds?: number | undefined;
38886
+ }, unknown, z$1.core.$ZodTypeInternals<{
38887
+ traceId: string;
38888
+ recovery: {
38889
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38890
+ } | {
38891
+ action: "read_operation";
38892
+ operation: {
38893
+ kind: "command";
38894
+ serialNumber: string;
38895
+ idempotencyKey: string;
38896
+ } | {
38897
+ kind: "firmware";
38898
+ serialNumber: string;
38899
+ updateId: string;
38900
+ } | {
38901
+ kind: "bluetooth_firmware";
38902
+ deviceId: string;
38903
+ updateId: string;
38904
+ } | {
38905
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38906
+ deviceId: string;
38907
+ requestId: string;
38908
+ } | {
38909
+ kind: "support";
38910
+ requestId: string;
38911
+ };
38912
+ };
38913
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38914
+ currentRevision?: string | undefined;
38915
+ retryAfterSeconds?: number | undefined;
38916
+ }, unknown>>;
38917
+ };
38918
+ readonly unauthenticated: {
38919
+ readonly status: 401;
38920
+ readonly data: z$1.ZodType<{
38921
+ traceId: string;
38922
+ recovery: {
38923
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38924
+ } | {
38925
+ action: "read_operation";
38926
+ operation: {
38927
+ kind: "command";
38928
+ serialNumber: string;
38929
+ idempotencyKey: string;
38930
+ } | {
38931
+ kind: "firmware";
38932
+ serialNumber: string;
38933
+ updateId: string;
38934
+ } | {
38935
+ kind: "bluetooth_firmware";
38936
+ deviceId: string;
38937
+ updateId: string;
38938
+ } | {
38939
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38940
+ deviceId: string;
38941
+ requestId: string;
38942
+ } | {
38943
+ kind: "support";
38944
+ requestId: string;
38945
+ };
38946
+ };
38947
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38948
+ currentRevision?: string | undefined;
38949
+ retryAfterSeconds?: number | undefined;
38950
+ }, unknown, z$1.core.$ZodTypeInternals<{
38951
+ traceId: string;
38952
+ recovery: {
38953
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38954
+ } | {
38955
+ action: "read_operation";
38956
+ operation: {
38957
+ kind: "command";
38958
+ serialNumber: string;
38959
+ idempotencyKey: string;
38960
+ } | {
38961
+ kind: "firmware";
38962
+ serialNumber: string;
38963
+ updateId: string;
38964
+ } | {
38965
+ kind: "bluetooth_firmware";
38966
+ deviceId: string;
38967
+ updateId: string;
38968
+ } | {
38969
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
38970
+ deviceId: string;
38971
+ requestId: string;
38972
+ } | {
38973
+ kind: "support";
38974
+ requestId: string;
38975
+ };
38976
+ };
38977
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
38978
+ currentRevision?: string | undefined;
38979
+ retryAfterSeconds?: number | undefined;
38980
+ }, unknown>>;
38981
+ };
38982
+ readonly forbidden: {
38983
+ readonly status: 403;
38984
+ readonly data: z$1.ZodType<{
38985
+ traceId: string;
38986
+ recovery: {
38987
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
38988
+ } | {
38989
+ action: "read_operation";
38990
+ operation: {
38991
+ kind: "command";
38992
+ serialNumber: string;
38993
+ idempotencyKey: string;
38994
+ } | {
38995
+ kind: "firmware";
38996
+ serialNumber: string;
38997
+ updateId: string;
38998
+ } | {
38999
+ kind: "bluetooth_firmware";
39000
+ deviceId: string;
39001
+ updateId: string;
39002
+ } | {
39003
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39004
+ deviceId: string;
39005
+ requestId: string;
39006
+ } | {
39007
+ kind: "support";
39008
+ requestId: string;
39009
+ };
39010
+ };
39011
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39012
+ currentRevision?: string | undefined;
39013
+ retryAfterSeconds?: number | undefined;
39014
+ }, unknown, z$1.core.$ZodTypeInternals<{
39015
+ traceId: string;
39016
+ recovery: {
39017
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39018
+ } | {
39019
+ action: "read_operation";
39020
+ operation: {
39021
+ kind: "command";
39022
+ serialNumber: string;
39023
+ idempotencyKey: string;
39024
+ } | {
39025
+ kind: "firmware";
39026
+ serialNumber: string;
39027
+ updateId: string;
39028
+ } | {
39029
+ kind: "bluetooth_firmware";
39030
+ deviceId: string;
39031
+ updateId: string;
39032
+ } | {
39033
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39034
+ deviceId: string;
39035
+ requestId: string;
39036
+ } | {
39037
+ kind: "support";
39038
+ requestId: string;
39039
+ };
39040
+ };
39041
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39042
+ currentRevision?: string | undefined;
39043
+ retryAfterSeconds?: number | undefined;
39044
+ }, unknown>>;
39045
+ };
39046
+ readonly not_found: {
39047
+ readonly status: 404;
39048
+ readonly data: z$1.ZodType<{
39049
+ traceId: string;
39050
+ recovery: {
39051
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39052
+ } | {
39053
+ action: "read_operation";
39054
+ operation: {
39055
+ kind: "command";
39056
+ serialNumber: string;
39057
+ idempotencyKey: string;
39058
+ } | {
39059
+ kind: "firmware";
39060
+ serialNumber: string;
39061
+ updateId: string;
39062
+ } | {
39063
+ kind: "bluetooth_firmware";
39064
+ deviceId: string;
39065
+ updateId: string;
39066
+ } | {
39067
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39068
+ deviceId: string;
39069
+ requestId: string;
39070
+ } | {
39071
+ kind: "support";
39072
+ requestId: string;
39073
+ };
39074
+ };
39075
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39076
+ currentRevision?: string | undefined;
39077
+ retryAfterSeconds?: number | undefined;
39078
+ }, unknown, z$1.core.$ZodTypeInternals<{
39079
+ traceId: string;
39080
+ recovery: {
39081
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39082
+ } | {
39083
+ action: "read_operation";
39084
+ operation: {
39085
+ kind: "command";
39086
+ serialNumber: string;
39087
+ idempotencyKey: string;
39088
+ } | {
39089
+ kind: "firmware";
39090
+ serialNumber: string;
39091
+ updateId: string;
39092
+ } | {
39093
+ kind: "bluetooth_firmware";
39094
+ deviceId: string;
39095
+ updateId: string;
39096
+ } | {
39097
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39098
+ deviceId: string;
39099
+ requestId: string;
39100
+ } | {
39101
+ kind: "support";
39102
+ requestId: string;
39103
+ };
39104
+ };
39105
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39106
+ currentRevision?: string | undefined;
39107
+ retryAfterSeconds?: number | undefined;
39108
+ }, unknown>>;
39109
+ };
39110
+ readonly conflict: {
39111
+ readonly status: 409;
39112
+ readonly data: z$1.ZodType<{
39113
+ traceId: string;
39114
+ recovery: {
39115
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39116
+ } | {
39117
+ action: "read_operation";
39118
+ operation: {
39119
+ kind: "command";
39120
+ serialNumber: string;
39121
+ idempotencyKey: string;
39122
+ } | {
39123
+ kind: "firmware";
39124
+ serialNumber: string;
39125
+ updateId: string;
39126
+ } | {
39127
+ kind: "bluetooth_firmware";
39128
+ deviceId: string;
39129
+ updateId: string;
39130
+ } | {
39131
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39132
+ deviceId: string;
39133
+ requestId: string;
39134
+ } | {
39135
+ kind: "support";
39136
+ requestId: string;
39137
+ };
39138
+ };
39139
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39140
+ currentRevision?: string | undefined;
39141
+ retryAfterSeconds?: number | undefined;
39142
+ }, unknown, z$1.core.$ZodTypeInternals<{
39143
+ traceId: string;
39144
+ recovery: {
39145
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39146
+ } | {
39147
+ action: "read_operation";
39148
+ operation: {
39149
+ kind: "command";
39150
+ serialNumber: string;
39151
+ idempotencyKey: string;
39152
+ } | {
39153
+ kind: "firmware";
39154
+ serialNumber: string;
39155
+ updateId: string;
39156
+ } | {
39157
+ kind: "bluetooth_firmware";
39158
+ deviceId: string;
39159
+ updateId: string;
39160
+ } | {
39161
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39162
+ deviceId: string;
39163
+ requestId: string;
39164
+ } | {
39165
+ kind: "support";
39166
+ requestId: string;
39167
+ };
39168
+ };
39169
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39170
+ currentRevision?: string | undefined;
39171
+ retryAfterSeconds?: number | undefined;
39172
+ }, unknown>>;
39173
+ };
39174
+ readonly rate_limited: {
39175
+ readonly status: 429;
39176
+ readonly data: z$1.ZodType<{
39177
+ traceId: string;
39178
+ recovery: {
39179
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39180
+ } | {
39181
+ action: "read_operation";
39182
+ operation: {
39183
+ kind: "command";
39184
+ serialNumber: string;
39185
+ idempotencyKey: string;
39186
+ } | {
39187
+ kind: "firmware";
39188
+ serialNumber: string;
39189
+ updateId: string;
39190
+ } | {
39191
+ kind: "bluetooth_firmware";
39192
+ deviceId: string;
39193
+ updateId: string;
39194
+ } | {
39195
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39196
+ deviceId: string;
39197
+ requestId: string;
39198
+ } | {
39199
+ kind: "support";
39200
+ requestId: string;
39201
+ };
39202
+ };
39203
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39204
+ currentRevision?: string | undefined;
39205
+ retryAfterSeconds?: number | undefined;
39206
+ }, unknown, z$1.core.$ZodTypeInternals<{
39207
+ traceId: string;
39208
+ recovery: {
39209
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39210
+ } | {
39211
+ action: "read_operation";
39212
+ operation: {
39213
+ kind: "command";
39214
+ serialNumber: string;
39215
+ idempotencyKey: string;
39216
+ } | {
39217
+ kind: "firmware";
39218
+ serialNumber: string;
39219
+ updateId: string;
39220
+ } | {
39221
+ kind: "bluetooth_firmware";
39222
+ deviceId: string;
39223
+ updateId: string;
39224
+ } | {
39225
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39226
+ deviceId: string;
39227
+ requestId: string;
39228
+ } | {
39229
+ kind: "support";
39230
+ requestId: string;
39231
+ };
39232
+ };
39233
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39234
+ currentRevision?: string | undefined;
39235
+ retryAfterSeconds?: number | undefined;
39236
+ }, unknown>>;
39237
+ };
39238
+ readonly stored_data_invalid: {
39239
+ readonly status: 503;
39240
+ readonly data: z$1.ZodType<{
39241
+ traceId: string;
39242
+ recovery: {
39243
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39244
+ } | {
39245
+ action: "read_operation";
39246
+ operation: {
39247
+ kind: "command";
39248
+ serialNumber: string;
39249
+ idempotencyKey: string;
39250
+ } | {
39251
+ kind: "firmware";
39252
+ serialNumber: string;
39253
+ updateId: string;
39254
+ } | {
39255
+ kind: "bluetooth_firmware";
39256
+ deviceId: string;
39257
+ updateId: string;
39258
+ } | {
39259
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39260
+ deviceId: string;
39261
+ requestId: string;
39262
+ } | {
39263
+ kind: "support";
39264
+ requestId: string;
39265
+ };
39266
+ };
39267
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39268
+ currentRevision?: string | undefined;
39269
+ retryAfterSeconds?: number | undefined;
39270
+ }, unknown, z$1.core.$ZodTypeInternals<{
39271
+ traceId: string;
39272
+ recovery: {
39273
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39274
+ } | {
39275
+ action: "read_operation";
39276
+ operation: {
39277
+ kind: "command";
39278
+ serialNumber: string;
39279
+ idempotencyKey: string;
39280
+ } | {
39281
+ kind: "firmware";
39282
+ serialNumber: string;
39283
+ updateId: string;
39284
+ } | {
39285
+ kind: "bluetooth_firmware";
39286
+ deviceId: string;
39287
+ updateId: string;
39288
+ } | {
39289
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39290
+ deviceId: string;
39291
+ requestId: string;
39292
+ } | {
39293
+ kind: "support";
39294
+ requestId: string;
39295
+ };
39296
+ };
39297
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39298
+ currentRevision?: string | undefined;
39299
+ retryAfterSeconds?: number | undefined;
39300
+ }, unknown>>;
39301
+ };
39302
+ readonly service_unavailable: {
39303
+ readonly status: 503;
39304
+ readonly data: z$1.ZodType<{
39305
+ traceId: string;
39306
+ recovery: {
39307
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39308
+ } | {
39309
+ action: "read_operation";
39310
+ operation: {
39311
+ kind: "command";
39312
+ serialNumber: string;
39313
+ idempotencyKey: string;
39314
+ } | {
39315
+ kind: "firmware";
39316
+ serialNumber: string;
39317
+ updateId: string;
39318
+ } | {
39319
+ kind: "bluetooth_firmware";
39320
+ deviceId: string;
39321
+ updateId: string;
39322
+ } | {
39323
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39324
+ deviceId: string;
39325
+ requestId: string;
39326
+ } | {
39327
+ kind: "support";
39328
+ requestId: string;
39329
+ };
39330
+ };
39331
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39332
+ currentRevision?: string | undefined;
39333
+ retryAfterSeconds?: number | undefined;
39334
+ }, unknown, z$1.core.$ZodTypeInternals<{
39335
+ traceId: string;
39336
+ recovery: {
39337
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39338
+ } | {
39339
+ action: "read_operation";
39340
+ operation: {
39341
+ kind: "command";
39342
+ serialNumber: string;
39343
+ idempotencyKey: string;
39344
+ } | {
39345
+ kind: "firmware";
39346
+ serialNumber: string;
39347
+ updateId: string;
39348
+ } | {
39349
+ kind: "bluetooth_firmware";
39350
+ deviceId: string;
39351
+ updateId: string;
39352
+ } | {
39353
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39354
+ deviceId: string;
39355
+ requestId: string;
39356
+ } | {
39357
+ kind: "support";
39358
+ requestId: string;
39359
+ };
39360
+ };
39361
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39362
+ currentRevision?: string | undefined;
39363
+ retryAfterSeconds?: number | undefined;
39364
+ }, unknown>>;
39365
+ };
39366
+ readonly read_unavailable: {
39367
+ readonly status: 503;
39368
+ readonly data: z$1.ZodType<{
39369
+ traceId: string;
39370
+ recovery: {
39371
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39372
+ } | {
39373
+ action: "read_operation";
39374
+ operation: {
39375
+ kind: "command";
39376
+ serialNumber: string;
39377
+ idempotencyKey: string;
39378
+ } | {
39379
+ kind: "firmware";
39380
+ serialNumber: string;
39381
+ updateId: string;
39382
+ } | {
39383
+ kind: "bluetooth_firmware";
39384
+ deviceId: string;
39385
+ updateId: string;
39386
+ } | {
39387
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39388
+ deviceId: string;
39389
+ requestId: string;
39390
+ } | {
39391
+ kind: "support";
39392
+ requestId: string;
39393
+ };
39394
+ };
39395
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39396
+ currentRevision?: string | undefined;
39397
+ retryAfterSeconds?: number | undefined;
39398
+ }, unknown, z$1.core.$ZodTypeInternals<{
39399
+ traceId: string;
39400
+ recovery: {
39401
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39402
+ } | {
39403
+ action: "read_operation";
39404
+ operation: {
39405
+ kind: "command";
39406
+ serialNumber: string;
39407
+ idempotencyKey: string;
39408
+ } | {
39409
+ kind: "firmware";
39410
+ serialNumber: string;
39411
+ updateId: string;
39412
+ } | {
39413
+ kind: "bluetooth_firmware";
39414
+ deviceId: string;
39415
+ updateId: string;
39416
+ } | {
39417
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39418
+ deviceId: string;
39419
+ requestId: string;
39420
+ } | {
39421
+ kind: "support";
39422
+ requestId: string;
39423
+ };
39424
+ };
39425
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39426
+ currentRevision?: string | undefined;
39427
+ retryAfterSeconds?: number | undefined;
39428
+ }, unknown>>;
39429
+ };
39430
+ readonly stream_unavailable: {
39431
+ readonly status: 503;
39432
+ readonly data: z$1.ZodType<{
39433
+ traceId: string;
39434
+ recovery: {
39435
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39436
+ } | {
39437
+ action: "read_operation";
39438
+ operation: {
39439
+ kind: "command";
39440
+ serialNumber: string;
39441
+ idempotencyKey: string;
39442
+ } | {
39443
+ kind: "firmware";
39444
+ serialNumber: string;
39445
+ updateId: string;
39446
+ } | {
39447
+ kind: "bluetooth_firmware";
39448
+ deviceId: string;
39449
+ updateId: string;
39450
+ } | {
39451
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39452
+ deviceId: string;
39453
+ requestId: string;
39454
+ } | {
39455
+ kind: "support";
39456
+ requestId: string;
39457
+ };
39458
+ };
39459
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39460
+ currentRevision?: string | undefined;
39461
+ retryAfterSeconds?: number | undefined;
39462
+ }, unknown, z$1.core.$ZodTypeInternals<{
39463
+ traceId: string;
39464
+ recovery: {
39465
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39466
+ } | {
39467
+ action: "read_operation";
39468
+ operation: {
39469
+ kind: "command";
39470
+ serialNumber: string;
39471
+ idempotencyKey: string;
39472
+ } | {
39473
+ kind: "firmware";
39474
+ serialNumber: string;
39475
+ updateId: string;
39476
+ } | {
39477
+ kind: "bluetooth_firmware";
39478
+ deviceId: string;
39479
+ updateId: string;
39480
+ } | {
39481
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39482
+ deviceId: string;
39483
+ requestId: string;
39484
+ } | {
39485
+ kind: "support";
39486
+ requestId: string;
39487
+ };
39488
+ };
39489
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39490
+ currentRevision?: string | undefined;
39491
+ retryAfterSeconds?: number | undefined;
39492
+ }, unknown>>;
39493
+ };
39494
+ readonly payload_too_large: {
39495
+ readonly status: 413;
39496
+ readonly data: z$1.ZodType<{
39497
+ traceId: string;
39498
+ recovery: {
39499
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39500
+ } | {
39501
+ action: "read_operation";
39502
+ operation: {
39503
+ kind: "command";
39504
+ serialNumber: string;
39505
+ idempotencyKey: string;
39506
+ } | {
39507
+ kind: "firmware";
39508
+ serialNumber: string;
39509
+ updateId: string;
39510
+ } | {
39511
+ kind: "bluetooth_firmware";
39512
+ deviceId: string;
39513
+ updateId: string;
39514
+ } | {
39515
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39516
+ deviceId: string;
39517
+ requestId: string;
39518
+ } | {
39519
+ kind: "support";
39520
+ requestId: string;
39521
+ };
39522
+ };
39523
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39524
+ currentRevision?: string | undefined;
39525
+ retryAfterSeconds?: number | undefined;
39526
+ }, unknown, z$1.core.$ZodTypeInternals<{
39527
+ traceId: string;
39528
+ recovery: {
39529
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39530
+ } | {
39531
+ action: "read_operation";
39532
+ operation: {
39533
+ kind: "command";
39534
+ serialNumber: string;
39535
+ idempotencyKey: string;
39536
+ } | {
39537
+ kind: "firmware";
39538
+ serialNumber: string;
39539
+ updateId: string;
39540
+ } | {
39541
+ kind: "bluetooth_firmware";
39542
+ deviceId: string;
39543
+ updateId: string;
39544
+ } | {
39545
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39546
+ deviceId: string;
39547
+ requestId: string;
39548
+ } | {
39549
+ kind: "support";
39550
+ requestId: string;
39551
+ };
39552
+ };
39553
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39554
+ currentRevision?: string | undefined;
39555
+ retryAfterSeconds?: number | undefined;
39556
+ }, unknown>>;
39557
+ };
39558
+ readonly request_timeout: {
39559
+ readonly status: 503;
39560
+ readonly data: z$1.ZodType<{
39561
+ traceId: string;
39562
+ recovery: {
39563
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39564
+ } | {
39565
+ action: "read_operation";
39566
+ operation: {
39567
+ kind: "command";
39568
+ serialNumber: string;
39569
+ idempotencyKey: string;
39570
+ } | {
39571
+ kind: "firmware";
39572
+ serialNumber: string;
39573
+ updateId: string;
39574
+ } | {
39575
+ kind: "bluetooth_firmware";
39576
+ deviceId: string;
39577
+ updateId: string;
39578
+ } | {
39579
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39580
+ deviceId: string;
39581
+ requestId: string;
39582
+ } | {
39583
+ kind: "support";
39584
+ requestId: string;
39585
+ };
39586
+ };
39587
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39588
+ currentRevision?: string | undefined;
39589
+ retryAfterSeconds?: number | undefined;
39590
+ }, unknown, z$1.core.$ZodTypeInternals<{
39591
+ traceId: string;
39592
+ recovery: {
39593
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39594
+ } | {
39595
+ action: "read_operation";
39596
+ operation: {
39597
+ kind: "command";
39598
+ serialNumber: string;
39599
+ idempotencyKey: string;
39600
+ } | {
39601
+ kind: "firmware";
39602
+ serialNumber: string;
39603
+ updateId: string;
39604
+ } | {
39605
+ kind: "bluetooth_firmware";
39606
+ deviceId: string;
39607
+ updateId: string;
39608
+ } | {
39609
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39610
+ deviceId: string;
39611
+ requestId: string;
39612
+ } | {
39613
+ kind: "support";
39614
+ requestId: string;
39615
+ };
39616
+ };
39617
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39618
+ currentRevision?: string | undefined;
39619
+ retryAfterSeconds?: number | undefined;
39620
+ }, unknown>>;
39621
+ };
39622
+ readonly operation_unconfirmed: {
39623
+ readonly status: 503;
39624
+ readonly data: z$1.ZodType<{
39625
+ traceId: string;
39626
+ recovery: {
39627
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39628
+ } | {
39629
+ action: "read_operation";
39630
+ operation: {
39631
+ kind: "command";
39632
+ serialNumber: string;
39633
+ idempotencyKey: string;
39634
+ } | {
39635
+ kind: "firmware";
39636
+ serialNumber: string;
39637
+ updateId: string;
39638
+ } | {
39639
+ kind: "bluetooth_firmware";
39640
+ deviceId: string;
39641
+ updateId: string;
39642
+ } | {
39643
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39644
+ deviceId: string;
39645
+ requestId: string;
39646
+ } | {
39647
+ kind: "support";
39648
+ requestId: string;
39649
+ };
39650
+ };
39651
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39652
+ currentRevision?: string | undefined;
39653
+ retryAfterSeconds?: number | undefined;
39654
+ }, unknown, z$1.core.$ZodTypeInternals<{
39655
+ traceId: string;
39656
+ recovery: {
39657
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39658
+ } | {
39659
+ action: "read_operation";
39660
+ operation: {
39661
+ kind: "command";
39662
+ serialNumber: string;
39663
+ idempotencyKey: string;
39664
+ } | {
39665
+ kind: "firmware";
39666
+ serialNumber: string;
39667
+ updateId: string;
39668
+ } | {
39669
+ kind: "bluetooth_firmware";
39670
+ deviceId: string;
39671
+ updateId: string;
39672
+ } | {
39673
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39674
+ deviceId: string;
39675
+ requestId: string;
39676
+ } | {
39677
+ kind: "support";
39678
+ requestId: string;
39679
+ };
39680
+ };
39681
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39682
+ currentRevision?: string | undefined;
39683
+ retryAfterSeconds?: number | undefined;
39684
+ }, unknown>>;
39685
+ };
39686
+ readonly directory_unavailable: {
39687
+ readonly status: 503;
39688
+ readonly data: z$1.ZodType<{
39689
+ traceId: string;
39690
+ recovery: {
39691
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39692
+ } | {
39693
+ action: "read_operation";
39694
+ operation: {
39695
+ kind: "command";
39696
+ serialNumber: string;
39697
+ idempotencyKey: string;
39698
+ } | {
39699
+ kind: "firmware";
39700
+ serialNumber: string;
39701
+ updateId: string;
39702
+ } | {
39703
+ kind: "bluetooth_firmware";
39704
+ deviceId: string;
39705
+ updateId: string;
39706
+ } | {
39707
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39708
+ deviceId: string;
39709
+ requestId: string;
39710
+ } | {
39711
+ kind: "support";
39712
+ requestId: string;
39713
+ };
39714
+ };
39715
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39716
+ currentRevision?: string | undefined;
39717
+ retryAfterSeconds?: number | undefined;
39718
+ }, unknown, z$1.core.$ZodTypeInternals<{
39719
+ traceId: string;
39720
+ recovery: {
39721
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39722
+ } | {
39723
+ action: "read_operation";
39724
+ operation: {
39725
+ kind: "command";
39726
+ serialNumber: string;
39727
+ idempotencyKey: string;
39728
+ } | {
39729
+ kind: "firmware";
39730
+ serialNumber: string;
39731
+ updateId: string;
39732
+ } | {
39733
+ kind: "bluetooth_firmware";
39734
+ deviceId: string;
39735
+ updateId: string;
39736
+ } | {
39737
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39738
+ deviceId: string;
39739
+ requestId: string;
39740
+ } | {
39741
+ kind: "support";
39742
+ requestId: string;
39743
+ };
39744
+ };
39745
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39746
+ currentRevision?: string | undefined;
39747
+ retryAfterSeconds?: number | undefined;
39748
+ }, unknown>>;
39749
+ };
39750
+ }>, Record<never, never>>;
39751
+ enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
39752
+ id: z$1.ZodString;
39753
+ revision: z$1.ZodString;
39754
+ }, z$1.core.$strict>, z$1.ZodObject<{
39755
+ id: z$1.ZodString;
39756
+ family: z$1.ZodEnum<{
39757
+ "gen2-lte": "gen2-lte";
39758
+ "gen2-battery": "gen2-battery";
39759
+ }>;
39760
+ version: z$1.ZodString;
39761
+ revision: z$1.ZodString;
39762
+ size: z$1.ZodInt;
39763
+ sha256: z$1.ZodString;
39764
+ notes: z$1.ZodString;
39765
+ sourceRevision: z$1.ZodNullable<z$1.ZodString>;
39766
+ buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
39767
+ downloadUrl: z$1.ZodURL;
39768
+ availableForUpdates: z$1.ZodBoolean;
39769
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
39770
+ readonly inventory_changed: {
39771
+ readonly status: 412;
39772
+ readonly data: z$1.ZodType<{
39773
+ traceId: string;
39774
+ recovery: {
39775
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39776
+ } | {
39777
+ action: "read_operation";
39778
+ operation: {
39779
+ kind: "command";
39780
+ serialNumber: string;
39781
+ idempotencyKey: string;
39782
+ } | {
39783
+ kind: "firmware";
39784
+ serialNumber: string;
39785
+ updateId: string;
39786
+ } | {
39787
+ kind: "bluetooth_firmware";
39788
+ deviceId: string;
39789
+ updateId: string;
39790
+ } | {
39791
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39792
+ deviceId: string;
39793
+ requestId: string;
39794
+ } | {
39795
+ kind: "support";
39796
+ requestId: string;
39797
+ };
39798
+ };
39799
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39800
+ currentRevision?: string | undefined;
39801
+ retryAfterSeconds?: number | undefined;
39802
+ }, unknown, z$1.core.$ZodTypeInternals<{
39803
+ traceId: string;
39804
+ recovery: {
39805
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39806
+ } | {
39807
+ action: "read_operation";
39808
+ operation: {
39809
+ kind: "command";
39810
+ serialNumber: string;
39811
+ idempotencyKey: string;
39812
+ } | {
39813
+ kind: "firmware";
39814
+ serialNumber: string;
39815
+ updateId: string;
39816
+ } | {
39817
+ kind: "bluetooth_firmware";
39818
+ deviceId: string;
39819
+ updateId: string;
39820
+ } | {
39821
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39822
+ deviceId: string;
39823
+ requestId: string;
39824
+ } | {
39825
+ kind: "support";
39826
+ requestId: string;
39827
+ };
39828
+ };
39829
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39830
+ currentRevision?: string | undefined;
39831
+ retryAfterSeconds?: number | undefined;
39832
+ }, unknown>>;
39833
+ };
39834
+ readonly firmware_catalog_invalid: {
39835
+ readonly status: 503;
39836
+ readonly data: z$1.ZodType<{
39837
+ traceId: string;
39838
+ recovery: {
39839
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39840
+ } | {
39841
+ action: "read_operation";
39842
+ operation: {
39843
+ kind: "command";
39844
+ serialNumber: string;
39845
+ idempotencyKey: string;
39846
+ } | {
39847
+ kind: "firmware";
39848
+ serialNumber: string;
39849
+ updateId: string;
39850
+ } | {
39851
+ kind: "bluetooth_firmware";
39852
+ deviceId: string;
39853
+ updateId: string;
39854
+ } | {
39855
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39856
+ deviceId: string;
39857
+ requestId: string;
39858
+ } | {
39859
+ kind: "support";
39860
+ requestId: string;
39861
+ };
39862
+ };
39863
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39864
+ currentRevision?: string | undefined;
39865
+ retryAfterSeconds?: number | undefined;
39866
+ }, unknown, z$1.core.$ZodTypeInternals<{
39867
+ traceId: string;
39868
+ recovery: {
39869
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39870
+ } | {
39871
+ action: "read_operation";
39872
+ operation: {
39873
+ kind: "command";
39874
+ serialNumber: string;
39875
+ idempotencyKey: string;
39876
+ } | {
39877
+ kind: "firmware";
39878
+ serialNumber: string;
39879
+ updateId: string;
39880
+ } | {
39881
+ kind: "bluetooth_firmware";
39882
+ deviceId: string;
39883
+ updateId: string;
39884
+ } | {
39885
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39886
+ deviceId: string;
39887
+ requestId: string;
39888
+ } | {
39889
+ kind: "support";
39890
+ requestId: string;
39891
+ };
39892
+ };
39893
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39894
+ currentRevision?: string | undefined;
39895
+ retryAfterSeconds?: number | undefined;
39896
+ }, unknown>>;
39897
+ };
39898
+ readonly firmware_catalog_full: {
39899
+ readonly status: 503;
39900
+ readonly data: z$1.ZodType<{
39901
+ traceId: string;
39902
+ recovery: {
39903
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39904
+ } | {
39905
+ action: "read_operation";
39906
+ operation: {
39907
+ kind: "command";
39908
+ serialNumber: string;
39909
+ idempotencyKey: string;
39910
+ } | {
39911
+ kind: "firmware";
39912
+ serialNumber: string;
39913
+ updateId: string;
39914
+ } | {
39915
+ kind: "bluetooth_firmware";
39916
+ deviceId: string;
39917
+ updateId: string;
39918
+ } | {
39919
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39920
+ deviceId: string;
39921
+ requestId: string;
39922
+ } | {
39923
+ kind: "support";
39924
+ requestId: string;
39925
+ };
39926
+ };
39927
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39928
+ currentRevision?: string | undefined;
39929
+ retryAfterSeconds?: number | undefined;
39930
+ }, unknown, z$1.core.$ZodTypeInternals<{
39931
+ traceId: string;
39932
+ recovery: {
39933
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39934
+ } | {
39935
+ action: "read_operation";
39936
+ operation: {
39937
+ kind: "command";
39938
+ serialNumber: string;
39939
+ idempotencyKey: string;
39940
+ } | {
39941
+ kind: "firmware";
39942
+ serialNumber: string;
39943
+ updateId: string;
39944
+ } | {
39945
+ kind: "bluetooth_firmware";
39946
+ deviceId: string;
39947
+ updateId: string;
39948
+ } | {
39949
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39950
+ deviceId: string;
39951
+ requestId: string;
39952
+ } | {
39953
+ kind: "support";
39954
+ requestId: string;
39955
+ };
39956
+ };
39957
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39958
+ currentRevision?: string | undefined;
39959
+ retryAfterSeconds?: number | undefined;
39960
+ }, unknown>>;
39961
+ };
39962
+ readonly firmware_execution_invalid: {
39963
+ readonly status: 503;
39964
+ readonly data: z$1.ZodType<{
39965
+ traceId: string;
39966
+ recovery: {
39967
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39968
+ } | {
39969
+ action: "read_operation";
39970
+ operation: {
39971
+ kind: "command";
39972
+ serialNumber: string;
39973
+ idempotencyKey: string;
39974
+ } | {
39975
+ kind: "firmware";
39976
+ serialNumber: string;
39977
+ updateId: string;
39978
+ } | {
39979
+ kind: "bluetooth_firmware";
39980
+ deviceId: string;
39981
+ updateId: string;
39982
+ } | {
39983
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
39984
+ deviceId: string;
39985
+ requestId: string;
39986
+ } | {
39987
+ kind: "support";
39988
+ requestId: string;
39989
+ };
39990
+ };
39991
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
39992
+ currentRevision?: string | undefined;
39993
+ retryAfterSeconds?: number | undefined;
39994
+ }, unknown, z$1.core.$ZodTypeInternals<{
39995
+ traceId: string;
39996
+ recovery: {
39997
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
39998
+ } | {
39999
+ action: "read_operation";
40000
+ operation: {
40001
+ kind: "command";
40002
+ serialNumber: string;
40003
+ idempotencyKey: string;
40004
+ } | {
40005
+ kind: "firmware";
40006
+ serialNumber: string;
40007
+ updateId: string;
40008
+ } | {
40009
+ kind: "bluetooth_firmware";
40010
+ deviceId: string;
40011
+ updateId: string;
40012
+ } | {
40013
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40014
+ deviceId: string;
40015
+ requestId: string;
40016
+ } | {
40017
+ kind: "support";
40018
+ requestId: string;
40019
+ };
40020
+ };
40021
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40022
+ currentRevision?: string | undefined;
40023
+ retryAfterSeconds?: number | undefined;
40024
+ }, unknown>>;
40025
+ };
40026
+ readonly firmware_review_changed: {
40027
+ readonly status: 412;
40028
+ readonly data: z$1.ZodType<{
40029
+ traceId: string;
40030
+ recovery: {
40031
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40032
+ } | {
40033
+ action: "read_operation";
40034
+ operation: {
40035
+ kind: "command";
40036
+ serialNumber: string;
40037
+ idempotencyKey: string;
40038
+ } | {
40039
+ kind: "firmware";
40040
+ serialNumber: string;
40041
+ updateId: string;
40042
+ } | {
40043
+ kind: "bluetooth_firmware";
40044
+ deviceId: string;
40045
+ updateId: string;
40046
+ } | {
40047
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40048
+ deviceId: string;
40049
+ requestId: string;
40050
+ } | {
40051
+ kind: "support";
40052
+ requestId: string;
40053
+ };
40054
+ };
40055
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40056
+ currentRevision?: string | undefined;
40057
+ retryAfterSeconds?: number | undefined;
40058
+ }, unknown, z$1.core.$ZodTypeInternals<{
40059
+ traceId: string;
40060
+ recovery: {
40061
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40062
+ } | {
40063
+ action: "read_operation";
40064
+ operation: {
40065
+ kind: "command";
40066
+ serialNumber: string;
40067
+ idempotencyKey: string;
40068
+ } | {
40069
+ kind: "firmware";
40070
+ serialNumber: string;
40071
+ updateId: string;
40072
+ } | {
40073
+ kind: "bluetooth_firmware";
40074
+ deviceId: string;
40075
+ updateId: string;
40076
+ } | {
40077
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40078
+ deviceId: string;
40079
+ requestId: string;
40080
+ } | {
40081
+ kind: "support";
40082
+ requestId: string;
40083
+ };
40084
+ };
40085
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40086
+ currentRevision?: string | undefined;
40087
+ retryAfterSeconds?: number | undefined;
40088
+ }, unknown>>;
40089
+ };
40090
+ readonly firmware_review_required: {
40091
+ readonly status: 428;
40092
+ readonly data: z$1.ZodType<{
40093
+ traceId: string;
40094
+ recovery: {
40095
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40096
+ } | {
40097
+ action: "read_operation";
40098
+ operation: {
40099
+ kind: "command";
40100
+ serialNumber: string;
40101
+ idempotencyKey: string;
40102
+ } | {
40103
+ kind: "firmware";
40104
+ serialNumber: string;
40105
+ updateId: string;
40106
+ } | {
40107
+ kind: "bluetooth_firmware";
40108
+ deviceId: string;
40109
+ updateId: string;
40110
+ } | {
40111
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40112
+ deviceId: string;
40113
+ requestId: string;
40114
+ } | {
40115
+ kind: "support";
40116
+ requestId: string;
40117
+ };
40118
+ };
40119
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40120
+ currentRevision?: string | undefined;
40121
+ retryAfterSeconds?: number | undefined;
40122
+ }, unknown, z$1.core.$ZodTypeInternals<{
40123
+ traceId: string;
40124
+ recovery: {
40125
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40126
+ } | {
40127
+ action: "read_operation";
40128
+ operation: {
40129
+ kind: "command";
40130
+ serialNumber: string;
40131
+ idempotencyKey: string;
40132
+ } | {
40133
+ kind: "firmware";
40134
+ serialNumber: string;
40135
+ updateId: string;
40136
+ } | {
40137
+ kind: "bluetooth_firmware";
40138
+ deviceId: string;
40139
+ updateId: string;
40140
+ } | {
40141
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40142
+ deviceId: string;
40143
+ requestId: string;
40144
+ } | {
40145
+ kind: "support";
40146
+ requestId: string;
40147
+ };
40148
+ };
40149
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40150
+ currentRevision?: string | undefined;
40151
+ retryAfterSeconds?: number | undefined;
40152
+ }, unknown>>;
40153
+ };
40154
+ readonly firmware_policy_unavailable: {
40155
+ readonly status: 503;
40156
+ readonly data: z$1.ZodType<{
40157
+ traceId: string;
40158
+ recovery: {
40159
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40160
+ } | {
40161
+ action: "read_operation";
40162
+ operation: {
40163
+ kind: "command";
40164
+ serialNumber: string;
40165
+ idempotencyKey: string;
40166
+ } | {
40167
+ kind: "firmware";
40168
+ serialNumber: string;
40169
+ updateId: string;
40170
+ } | {
40171
+ kind: "bluetooth_firmware";
40172
+ deviceId: string;
40173
+ updateId: string;
40174
+ } | {
40175
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40176
+ deviceId: string;
40177
+ requestId: string;
40178
+ } | {
40179
+ kind: "support";
40180
+ requestId: string;
40181
+ };
40182
+ };
40183
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40184
+ currentRevision?: string | undefined;
40185
+ retryAfterSeconds?: number | undefined;
40186
+ }, unknown, z$1.core.$ZodTypeInternals<{
40187
+ traceId: string;
40188
+ recovery: {
40189
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
40190
+ } | {
40191
+ action: "read_operation";
40192
+ operation: {
40193
+ kind: "command";
40194
+ serialNumber: string;
40195
+ idempotencyKey: string;
40196
+ } | {
40197
+ kind: "firmware";
40198
+ serialNumber: string;
40199
+ updateId: string;
40200
+ } | {
40201
+ kind: "bluetooth_firmware";
40202
+ deviceId: string;
40203
+ updateId: string;
40204
+ } | {
40205
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
40206
+ deviceId: string;
40207
+ requestId: string;
40208
+ } | {
40209
+ kind: "support";
40210
+ requestId: string;
40211
+ };
40212
+ };
40213
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
40214
+ currentRevision?: string | undefined;
40215
+ retryAfterSeconds?: number | undefined;
40216
+ }, unknown>>;
40217
+ };
40218
+ readonly firmware_release_unavailable: {
38151
40219
  readonly status: 503;
38152
40220
  readonly data: z$1.ZodType<{
38153
40221
  traceId: string;
@@ -38211,26 +40279,6 @@ export declare const firmwareCatalogContract: {
38211
40279
  retryAfterSeconds?: number | undefined;
38212
40280
  }, unknown>>;
38213
40281
  };
38214
- }>, Record<never, never>>;
38215
- enable: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
38216
- id: z$1.ZodString;
38217
- revision: z$1.ZodString;
38218
- }, z$1.core.$strict>, z$1.ZodObject<{
38219
- id: z$1.ZodString;
38220
- family: z$1.ZodEnum<{
38221
- "gen2-lte": "gen2-lte";
38222
- "gen2-battery": "gen2-battery";
38223
- }>;
38224
- version: z$1.ZodString;
38225
- revision: z$1.ZodString;
38226
- size: z$1.ZodInt;
38227
- sha256: z$1.ZodString;
38228
- notes: z$1.ZodString;
38229
- sourceRevision: z$1.ZodNullable<z$1.ZodString>;
38230
- buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
38231
- downloadUrl: z$1.ZodURL;
38232
- availableForUpdates: z$1.ZodBoolean;
38233
- }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
38234
40282
  readonly invalid: {
38235
40283
  readonly status: 400;
38236
40284
  readonly data: z$1.ZodType<{