@bikefinder/sdk 0.27.2 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -62304,6 +62304,938 @@ declare const trackerContract: {
62304
62304
  };
62305
62305
  }>, Record<never, never>>;
62306
62306
  };
62307
+ watchPage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62308
+ limit: z.ZodDefault<z.ZodInt>;
62309
+ after: z.ZodOptional<z.ZodString>;
62310
+ deviceId: z.ZodString;
62311
+ }, z.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
62312
+ items: {
62313
+ kind: string | null;
62314
+ width: number | null;
62315
+ height: number | null;
62316
+ sizeBytes: number | null;
62317
+ isVertical: boolean | null;
62318
+ contentType: string | null;
62319
+ capturedAt: string | null;
62320
+ id: string;
62321
+ revision: string;
62322
+ createdAt: string;
62323
+ updatedAt: string;
62324
+ }[];
62325
+ nextAfter: string | null;
62326
+ }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
62327
+ items: {
62328
+ kind: string | null;
62329
+ width: number | null;
62330
+ height: number | null;
62331
+ sizeBytes: number | null;
62332
+ isVertical: boolean | null;
62333
+ contentType: string | null;
62334
+ capturedAt: string | null;
62335
+ id: string;
62336
+ revision: string;
62337
+ createdAt: string;
62338
+ updatedAt: string;
62339
+ }[];
62340
+ nextAfter: string | null;
62341
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
62342
+ readonly invalid: {
62343
+ readonly status: 400;
62344
+ readonly data: z.ZodType<{
62345
+ traceId: string;
62346
+ recovery: {
62347
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62348
+ } | {
62349
+ action: "read_operation";
62350
+ operation: {
62351
+ kind: "command";
62352
+ serialNumber: string;
62353
+ idempotencyKey: string;
62354
+ } | {
62355
+ kind: "firmware";
62356
+ serialNumber: string;
62357
+ updateId: string;
62358
+ } | {
62359
+ kind: "bluetooth_firmware";
62360
+ deviceId: string;
62361
+ updateId: string;
62362
+ } | {
62363
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62364
+ deviceId: string;
62365
+ requestId: string;
62366
+ } | {
62367
+ kind: "support";
62368
+ requestId: string;
62369
+ };
62370
+ };
62371
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62372
+ currentRevision?: string | undefined;
62373
+ retryAfterSeconds?: number | undefined;
62374
+ }, unknown, z.core.$ZodTypeInternals<{
62375
+ traceId: string;
62376
+ recovery: {
62377
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62378
+ } | {
62379
+ action: "read_operation";
62380
+ operation: {
62381
+ kind: "command";
62382
+ serialNumber: string;
62383
+ idempotencyKey: string;
62384
+ } | {
62385
+ kind: "firmware";
62386
+ serialNumber: string;
62387
+ updateId: string;
62388
+ } | {
62389
+ kind: "bluetooth_firmware";
62390
+ deviceId: string;
62391
+ updateId: string;
62392
+ } | {
62393
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62394
+ deviceId: string;
62395
+ requestId: string;
62396
+ } | {
62397
+ kind: "support";
62398
+ requestId: string;
62399
+ };
62400
+ };
62401
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62402
+ currentRevision?: string | undefined;
62403
+ retryAfterSeconds?: number | undefined;
62404
+ }, unknown>>;
62405
+ };
62406
+ readonly unauthenticated: {
62407
+ readonly status: 401;
62408
+ readonly data: z.ZodType<{
62409
+ traceId: string;
62410
+ recovery: {
62411
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62412
+ } | {
62413
+ action: "read_operation";
62414
+ operation: {
62415
+ kind: "command";
62416
+ serialNumber: string;
62417
+ idempotencyKey: string;
62418
+ } | {
62419
+ kind: "firmware";
62420
+ serialNumber: string;
62421
+ updateId: string;
62422
+ } | {
62423
+ kind: "bluetooth_firmware";
62424
+ deviceId: string;
62425
+ updateId: string;
62426
+ } | {
62427
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62428
+ deviceId: string;
62429
+ requestId: string;
62430
+ } | {
62431
+ kind: "support";
62432
+ requestId: string;
62433
+ };
62434
+ };
62435
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62436
+ currentRevision?: string | undefined;
62437
+ retryAfterSeconds?: number | undefined;
62438
+ }, unknown, z.core.$ZodTypeInternals<{
62439
+ traceId: string;
62440
+ recovery: {
62441
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62442
+ } | {
62443
+ action: "read_operation";
62444
+ operation: {
62445
+ kind: "command";
62446
+ serialNumber: string;
62447
+ idempotencyKey: string;
62448
+ } | {
62449
+ kind: "firmware";
62450
+ serialNumber: string;
62451
+ updateId: string;
62452
+ } | {
62453
+ kind: "bluetooth_firmware";
62454
+ deviceId: string;
62455
+ updateId: string;
62456
+ } | {
62457
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62458
+ deviceId: string;
62459
+ requestId: string;
62460
+ } | {
62461
+ kind: "support";
62462
+ requestId: string;
62463
+ };
62464
+ };
62465
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62466
+ currentRevision?: string | undefined;
62467
+ retryAfterSeconds?: number | undefined;
62468
+ }, unknown>>;
62469
+ };
62470
+ readonly forbidden: {
62471
+ readonly status: 403;
62472
+ readonly data: z.ZodType<{
62473
+ traceId: string;
62474
+ recovery: {
62475
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62476
+ } | {
62477
+ action: "read_operation";
62478
+ operation: {
62479
+ kind: "command";
62480
+ serialNumber: string;
62481
+ idempotencyKey: string;
62482
+ } | {
62483
+ kind: "firmware";
62484
+ serialNumber: string;
62485
+ updateId: string;
62486
+ } | {
62487
+ kind: "bluetooth_firmware";
62488
+ deviceId: string;
62489
+ updateId: string;
62490
+ } | {
62491
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62492
+ deviceId: string;
62493
+ requestId: string;
62494
+ } | {
62495
+ kind: "support";
62496
+ requestId: string;
62497
+ };
62498
+ };
62499
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62500
+ currentRevision?: string | undefined;
62501
+ retryAfterSeconds?: number | undefined;
62502
+ }, unknown, z.core.$ZodTypeInternals<{
62503
+ traceId: string;
62504
+ recovery: {
62505
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62506
+ } | {
62507
+ action: "read_operation";
62508
+ operation: {
62509
+ kind: "command";
62510
+ serialNumber: string;
62511
+ idempotencyKey: string;
62512
+ } | {
62513
+ kind: "firmware";
62514
+ serialNumber: string;
62515
+ updateId: string;
62516
+ } | {
62517
+ kind: "bluetooth_firmware";
62518
+ deviceId: string;
62519
+ updateId: string;
62520
+ } | {
62521
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62522
+ deviceId: string;
62523
+ requestId: string;
62524
+ } | {
62525
+ kind: "support";
62526
+ requestId: string;
62527
+ };
62528
+ };
62529
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62530
+ currentRevision?: string | undefined;
62531
+ retryAfterSeconds?: number | undefined;
62532
+ }, unknown>>;
62533
+ };
62534
+ readonly not_found: {
62535
+ readonly status: 404;
62536
+ readonly data: z.ZodType<{
62537
+ traceId: string;
62538
+ recovery: {
62539
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62540
+ } | {
62541
+ action: "read_operation";
62542
+ operation: {
62543
+ kind: "command";
62544
+ serialNumber: string;
62545
+ idempotencyKey: string;
62546
+ } | {
62547
+ kind: "firmware";
62548
+ serialNumber: string;
62549
+ updateId: string;
62550
+ } | {
62551
+ kind: "bluetooth_firmware";
62552
+ deviceId: string;
62553
+ updateId: string;
62554
+ } | {
62555
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62556
+ deviceId: string;
62557
+ requestId: string;
62558
+ } | {
62559
+ kind: "support";
62560
+ requestId: string;
62561
+ };
62562
+ };
62563
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62564
+ currentRevision?: string | undefined;
62565
+ retryAfterSeconds?: number | undefined;
62566
+ }, unknown, z.core.$ZodTypeInternals<{
62567
+ traceId: string;
62568
+ recovery: {
62569
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62570
+ } | {
62571
+ action: "read_operation";
62572
+ operation: {
62573
+ kind: "command";
62574
+ serialNumber: string;
62575
+ idempotencyKey: string;
62576
+ } | {
62577
+ kind: "firmware";
62578
+ serialNumber: string;
62579
+ updateId: string;
62580
+ } | {
62581
+ kind: "bluetooth_firmware";
62582
+ deviceId: string;
62583
+ updateId: string;
62584
+ } | {
62585
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62586
+ deviceId: string;
62587
+ requestId: string;
62588
+ } | {
62589
+ kind: "support";
62590
+ requestId: string;
62591
+ };
62592
+ };
62593
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62594
+ currentRevision?: string | undefined;
62595
+ retryAfterSeconds?: number | undefined;
62596
+ }, unknown>>;
62597
+ };
62598
+ readonly conflict: {
62599
+ readonly status: 409;
62600
+ readonly data: z.ZodType<{
62601
+ traceId: string;
62602
+ recovery: {
62603
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62604
+ } | {
62605
+ action: "read_operation";
62606
+ operation: {
62607
+ kind: "command";
62608
+ serialNumber: string;
62609
+ idempotencyKey: string;
62610
+ } | {
62611
+ kind: "firmware";
62612
+ serialNumber: string;
62613
+ updateId: string;
62614
+ } | {
62615
+ kind: "bluetooth_firmware";
62616
+ deviceId: string;
62617
+ updateId: string;
62618
+ } | {
62619
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62620
+ deviceId: string;
62621
+ requestId: string;
62622
+ } | {
62623
+ kind: "support";
62624
+ requestId: string;
62625
+ };
62626
+ };
62627
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62628
+ currentRevision?: string | undefined;
62629
+ retryAfterSeconds?: number | undefined;
62630
+ }, unknown, z.core.$ZodTypeInternals<{
62631
+ traceId: string;
62632
+ recovery: {
62633
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62634
+ } | {
62635
+ action: "read_operation";
62636
+ operation: {
62637
+ kind: "command";
62638
+ serialNumber: string;
62639
+ idempotencyKey: string;
62640
+ } | {
62641
+ kind: "firmware";
62642
+ serialNumber: string;
62643
+ updateId: string;
62644
+ } | {
62645
+ kind: "bluetooth_firmware";
62646
+ deviceId: string;
62647
+ updateId: string;
62648
+ } | {
62649
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62650
+ deviceId: string;
62651
+ requestId: string;
62652
+ } | {
62653
+ kind: "support";
62654
+ requestId: string;
62655
+ };
62656
+ };
62657
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62658
+ currentRevision?: string | undefined;
62659
+ retryAfterSeconds?: number | undefined;
62660
+ }, unknown>>;
62661
+ };
62662
+ readonly rate_limited: {
62663
+ readonly status: 429;
62664
+ readonly data: z.ZodType<{
62665
+ traceId: string;
62666
+ recovery: {
62667
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62668
+ } | {
62669
+ action: "read_operation";
62670
+ operation: {
62671
+ kind: "command";
62672
+ serialNumber: string;
62673
+ idempotencyKey: string;
62674
+ } | {
62675
+ kind: "firmware";
62676
+ serialNumber: string;
62677
+ updateId: string;
62678
+ } | {
62679
+ kind: "bluetooth_firmware";
62680
+ deviceId: string;
62681
+ updateId: string;
62682
+ } | {
62683
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62684
+ deviceId: string;
62685
+ requestId: string;
62686
+ } | {
62687
+ kind: "support";
62688
+ requestId: string;
62689
+ };
62690
+ };
62691
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62692
+ currentRevision?: string | undefined;
62693
+ retryAfterSeconds?: number | undefined;
62694
+ }, unknown, z.core.$ZodTypeInternals<{
62695
+ traceId: string;
62696
+ recovery: {
62697
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62698
+ } | {
62699
+ action: "read_operation";
62700
+ operation: {
62701
+ kind: "command";
62702
+ serialNumber: string;
62703
+ idempotencyKey: string;
62704
+ } | {
62705
+ kind: "firmware";
62706
+ serialNumber: string;
62707
+ updateId: string;
62708
+ } | {
62709
+ kind: "bluetooth_firmware";
62710
+ deviceId: string;
62711
+ updateId: string;
62712
+ } | {
62713
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62714
+ deviceId: string;
62715
+ requestId: string;
62716
+ } | {
62717
+ kind: "support";
62718
+ requestId: string;
62719
+ };
62720
+ };
62721
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62722
+ currentRevision?: string | undefined;
62723
+ retryAfterSeconds?: number | undefined;
62724
+ }, unknown>>;
62725
+ };
62726
+ readonly stored_data_invalid: {
62727
+ readonly status: 503;
62728
+ readonly data: z.ZodType<{
62729
+ traceId: string;
62730
+ recovery: {
62731
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62732
+ } | {
62733
+ action: "read_operation";
62734
+ operation: {
62735
+ kind: "command";
62736
+ serialNumber: string;
62737
+ idempotencyKey: string;
62738
+ } | {
62739
+ kind: "firmware";
62740
+ serialNumber: string;
62741
+ updateId: string;
62742
+ } | {
62743
+ kind: "bluetooth_firmware";
62744
+ deviceId: string;
62745
+ updateId: string;
62746
+ } | {
62747
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62748
+ deviceId: string;
62749
+ requestId: string;
62750
+ } | {
62751
+ kind: "support";
62752
+ requestId: string;
62753
+ };
62754
+ };
62755
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62756
+ currentRevision?: string | undefined;
62757
+ retryAfterSeconds?: number | undefined;
62758
+ }, unknown, z.core.$ZodTypeInternals<{
62759
+ traceId: string;
62760
+ recovery: {
62761
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62762
+ } | {
62763
+ action: "read_operation";
62764
+ operation: {
62765
+ kind: "command";
62766
+ serialNumber: string;
62767
+ idempotencyKey: string;
62768
+ } | {
62769
+ kind: "firmware";
62770
+ serialNumber: string;
62771
+ updateId: string;
62772
+ } | {
62773
+ kind: "bluetooth_firmware";
62774
+ deviceId: string;
62775
+ updateId: string;
62776
+ } | {
62777
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62778
+ deviceId: string;
62779
+ requestId: string;
62780
+ } | {
62781
+ kind: "support";
62782
+ requestId: string;
62783
+ };
62784
+ };
62785
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62786
+ currentRevision?: string | undefined;
62787
+ retryAfterSeconds?: number | undefined;
62788
+ }, unknown>>;
62789
+ };
62790
+ readonly service_unavailable: {
62791
+ readonly status: 503;
62792
+ readonly data: z.ZodType<{
62793
+ traceId: string;
62794
+ recovery: {
62795
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62796
+ } | {
62797
+ action: "read_operation";
62798
+ operation: {
62799
+ kind: "command";
62800
+ serialNumber: string;
62801
+ idempotencyKey: string;
62802
+ } | {
62803
+ kind: "firmware";
62804
+ serialNumber: string;
62805
+ updateId: string;
62806
+ } | {
62807
+ kind: "bluetooth_firmware";
62808
+ deviceId: string;
62809
+ updateId: string;
62810
+ } | {
62811
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62812
+ deviceId: string;
62813
+ requestId: string;
62814
+ } | {
62815
+ kind: "support";
62816
+ requestId: string;
62817
+ };
62818
+ };
62819
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62820
+ currentRevision?: string | undefined;
62821
+ retryAfterSeconds?: number | undefined;
62822
+ }, unknown, z.core.$ZodTypeInternals<{
62823
+ traceId: string;
62824
+ recovery: {
62825
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62826
+ } | {
62827
+ action: "read_operation";
62828
+ operation: {
62829
+ kind: "command";
62830
+ serialNumber: string;
62831
+ idempotencyKey: string;
62832
+ } | {
62833
+ kind: "firmware";
62834
+ serialNumber: string;
62835
+ updateId: string;
62836
+ } | {
62837
+ kind: "bluetooth_firmware";
62838
+ deviceId: string;
62839
+ updateId: string;
62840
+ } | {
62841
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62842
+ deviceId: string;
62843
+ requestId: string;
62844
+ } | {
62845
+ kind: "support";
62846
+ requestId: string;
62847
+ };
62848
+ };
62849
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62850
+ currentRevision?: string | undefined;
62851
+ retryAfterSeconds?: number | undefined;
62852
+ }, unknown>>;
62853
+ };
62854
+ readonly read_unavailable: {
62855
+ readonly status: 503;
62856
+ readonly data: z.ZodType<{
62857
+ traceId: string;
62858
+ recovery: {
62859
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62860
+ } | {
62861
+ action: "read_operation";
62862
+ operation: {
62863
+ kind: "command";
62864
+ serialNumber: string;
62865
+ idempotencyKey: string;
62866
+ } | {
62867
+ kind: "firmware";
62868
+ serialNumber: string;
62869
+ updateId: string;
62870
+ } | {
62871
+ kind: "bluetooth_firmware";
62872
+ deviceId: string;
62873
+ updateId: string;
62874
+ } | {
62875
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62876
+ deviceId: string;
62877
+ requestId: string;
62878
+ } | {
62879
+ kind: "support";
62880
+ requestId: string;
62881
+ };
62882
+ };
62883
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62884
+ currentRevision?: string | undefined;
62885
+ retryAfterSeconds?: number | undefined;
62886
+ }, unknown, z.core.$ZodTypeInternals<{
62887
+ traceId: string;
62888
+ recovery: {
62889
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62890
+ } | {
62891
+ action: "read_operation";
62892
+ operation: {
62893
+ kind: "command";
62894
+ serialNumber: string;
62895
+ idempotencyKey: string;
62896
+ } | {
62897
+ kind: "firmware";
62898
+ serialNumber: string;
62899
+ updateId: string;
62900
+ } | {
62901
+ kind: "bluetooth_firmware";
62902
+ deviceId: string;
62903
+ updateId: string;
62904
+ } | {
62905
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62906
+ deviceId: string;
62907
+ requestId: string;
62908
+ } | {
62909
+ kind: "support";
62910
+ requestId: string;
62911
+ };
62912
+ };
62913
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62914
+ currentRevision?: string | undefined;
62915
+ retryAfterSeconds?: number | undefined;
62916
+ }, unknown>>;
62917
+ };
62918
+ readonly stream_unavailable: {
62919
+ readonly status: 503;
62920
+ readonly data: z.ZodType<{
62921
+ traceId: string;
62922
+ recovery: {
62923
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62924
+ } | {
62925
+ action: "read_operation";
62926
+ operation: {
62927
+ kind: "command";
62928
+ serialNumber: string;
62929
+ idempotencyKey: string;
62930
+ } | {
62931
+ kind: "firmware";
62932
+ serialNumber: string;
62933
+ updateId: string;
62934
+ } | {
62935
+ kind: "bluetooth_firmware";
62936
+ deviceId: string;
62937
+ updateId: string;
62938
+ } | {
62939
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62940
+ deviceId: string;
62941
+ requestId: string;
62942
+ } | {
62943
+ kind: "support";
62944
+ requestId: string;
62945
+ };
62946
+ };
62947
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62948
+ currentRevision?: string | undefined;
62949
+ retryAfterSeconds?: number | undefined;
62950
+ }, unknown, z.core.$ZodTypeInternals<{
62951
+ traceId: string;
62952
+ recovery: {
62953
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62954
+ } | {
62955
+ action: "read_operation";
62956
+ operation: {
62957
+ kind: "command";
62958
+ serialNumber: string;
62959
+ idempotencyKey: string;
62960
+ } | {
62961
+ kind: "firmware";
62962
+ serialNumber: string;
62963
+ updateId: string;
62964
+ } | {
62965
+ kind: "bluetooth_firmware";
62966
+ deviceId: string;
62967
+ updateId: string;
62968
+ } | {
62969
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62970
+ deviceId: string;
62971
+ requestId: string;
62972
+ } | {
62973
+ kind: "support";
62974
+ requestId: string;
62975
+ };
62976
+ };
62977
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62978
+ currentRevision?: string | undefined;
62979
+ retryAfterSeconds?: number | undefined;
62980
+ }, unknown>>;
62981
+ };
62982
+ readonly payload_too_large: {
62983
+ readonly status: 413;
62984
+ readonly data: z.ZodType<{
62985
+ traceId: string;
62986
+ recovery: {
62987
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62988
+ } | {
62989
+ action: "read_operation";
62990
+ operation: {
62991
+ kind: "command";
62992
+ serialNumber: string;
62993
+ idempotencyKey: string;
62994
+ } | {
62995
+ kind: "firmware";
62996
+ serialNumber: string;
62997
+ updateId: string;
62998
+ } | {
62999
+ kind: "bluetooth_firmware";
63000
+ deviceId: string;
63001
+ updateId: string;
63002
+ } | {
63003
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63004
+ deviceId: string;
63005
+ requestId: string;
63006
+ } | {
63007
+ kind: "support";
63008
+ requestId: string;
63009
+ };
63010
+ };
63011
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63012
+ currentRevision?: string | undefined;
63013
+ retryAfterSeconds?: number | undefined;
63014
+ }, unknown, z.core.$ZodTypeInternals<{
63015
+ traceId: string;
63016
+ recovery: {
63017
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63018
+ } | {
63019
+ action: "read_operation";
63020
+ operation: {
63021
+ kind: "command";
63022
+ serialNumber: string;
63023
+ idempotencyKey: string;
63024
+ } | {
63025
+ kind: "firmware";
63026
+ serialNumber: string;
63027
+ updateId: string;
63028
+ } | {
63029
+ kind: "bluetooth_firmware";
63030
+ deviceId: string;
63031
+ updateId: string;
63032
+ } | {
63033
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63034
+ deviceId: string;
63035
+ requestId: string;
63036
+ } | {
63037
+ kind: "support";
63038
+ requestId: string;
63039
+ };
63040
+ };
63041
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63042
+ currentRevision?: string | undefined;
63043
+ retryAfterSeconds?: number | undefined;
63044
+ }, unknown>>;
63045
+ };
63046
+ readonly request_timeout: {
63047
+ readonly status: 503;
63048
+ readonly data: z.ZodType<{
63049
+ traceId: string;
63050
+ recovery: {
63051
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63052
+ } | {
63053
+ action: "read_operation";
63054
+ operation: {
63055
+ kind: "command";
63056
+ serialNumber: string;
63057
+ idempotencyKey: string;
63058
+ } | {
63059
+ kind: "firmware";
63060
+ serialNumber: string;
63061
+ updateId: string;
63062
+ } | {
63063
+ kind: "bluetooth_firmware";
63064
+ deviceId: string;
63065
+ updateId: string;
63066
+ } | {
63067
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63068
+ deviceId: string;
63069
+ requestId: string;
63070
+ } | {
63071
+ kind: "support";
63072
+ requestId: string;
63073
+ };
63074
+ };
63075
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63076
+ currentRevision?: string | undefined;
63077
+ retryAfterSeconds?: number | undefined;
63078
+ }, unknown, z.core.$ZodTypeInternals<{
63079
+ traceId: string;
63080
+ recovery: {
63081
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63082
+ } | {
63083
+ action: "read_operation";
63084
+ operation: {
63085
+ kind: "command";
63086
+ serialNumber: string;
63087
+ idempotencyKey: string;
63088
+ } | {
63089
+ kind: "firmware";
63090
+ serialNumber: string;
63091
+ updateId: string;
63092
+ } | {
63093
+ kind: "bluetooth_firmware";
63094
+ deviceId: string;
63095
+ updateId: string;
63096
+ } | {
63097
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63098
+ deviceId: string;
63099
+ requestId: string;
63100
+ } | {
63101
+ kind: "support";
63102
+ requestId: string;
63103
+ };
63104
+ };
63105
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63106
+ currentRevision?: string | undefined;
63107
+ retryAfterSeconds?: number | undefined;
63108
+ }, unknown>>;
63109
+ };
63110
+ readonly operation_unconfirmed: {
63111
+ readonly status: 503;
63112
+ readonly data: z.ZodType<{
63113
+ traceId: string;
63114
+ recovery: {
63115
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63116
+ } | {
63117
+ action: "read_operation";
63118
+ operation: {
63119
+ kind: "command";
63120
+ serialNumber: string;
63121
+ idempotencyKey: string;
63122
+ } | {
63123
+ kind: "firmware";
63124
+ serialNumber: string;
63125
+ updateId: string;
63126
+ } | {
63127
+ kind: "bluetooth_firmware";
63128
+ deviceId: string;
63129
+ updateId: string;
63130
+ } | {
63131
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63132
+ deviceId: string;
63133
+ requestId: string;
63134
+ } | {
63135
+ kind: "support";
63136
+ requestId: string;
63137
+ };
63138
+ };
63139
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63140
+ currentRevision?: string | undefined;
63141
+ retryAfterSeconds?: number | undefined;
63142
+ }, unknown, z.core.$ZodTypeInternals<{
63143
+ traceId: string;
63144
+ recovery: {
63145
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63146
+ } | {
63147
+ action: "read_operation";
63148
+ operation: {
63149
+ kind: "command";
63150
+ serialNumber: string;
63151
+ idempotencyKey: string;
63152
+ } | {
63153
+ kind: "firmware";
63154
+ serialNumber: string;
63155
+ updateId: string;
63156
+ } | {
63157
+ kind: "bluetooth_firmware";
63158
+ deviceId: string;
63159
+ updateId: string;
63160
+ } | {
63161
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63162
+ deviceId: string;
63163
+ requestId: string;
63164
+ } | {
63165
+ kind: "support";
63166
+ requestId: string;
63167
+ };
63168
+ };
63169
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63170
+ currentRevision?: string | undefined;
63171
+ retryAfterSeconds?: number | undefined;
63172
+ }, unknown>>;
63173
+ };
63174
+ readonly directory_unavailable: {
63175
+ readonly status: 503;
63176
+ readonly data: z.ZodType<{
63177
+ traceId: string;
63178
+ recovery: {
63179
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63180
+ } | {
63181
+ action: "read_operation";
63182
+ operation: {
63183
+ kind: "command";
63184
+ serialNumber: string;
63185
+ idempotencyKey: string;
63186
+ } | {
63187
+ kind: "firmware";
63188
+ serialNumber: string;
63189
+ updateId: string;
63190
+ } | {
63191
+ kind: "bluetooth_firmware";
63192
+ deviceId: string;
63193
+ updateId: string;
63194
+ } | {
63195
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63196
+ deviceId: string;
63197
+ requestId: string;
63198
+ } | {
63199
+ kind: "support";
63200
+ requestId: string;
63201
+ };
63202
+ };
63203
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63204
+ currentRevision?: string | undefined;
63205
+ retryAfterSeconds?: number | undefined;
63206
+ }, unknown, z.core.$ZodTypeInternals<{
63207
+ traceId: string;
63208
+ recovery: {
63209
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63210
+ } | {
63211
+ action: "read_operation";
63212
+ operation: {
63213
+ kind: "command";
63214
+ serialNumber: string;
63215
+ idempotencyKey: string;
63216
+ } | {
63217
+ kind: "firmware";
63218
+ serialNumber: string;
63219
+ updateId: string;
63220
+ } | {
63221
+ kind: "bluetooth_firmware";
63222
+ deviceId: string;
63223
+ updateId: string;
63224
+ } | {
63225
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63226
+ deviceId: string;
63227
+ requestId: string;
63228
+ } | {
63229
+ kind: "support";
63230
+ requestId: string;
63231
+ };
63232
+ };
63233
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63234
+ currentRevision?: string | undefined;
63235
+ retryAfterSeconds?: number | undefined;
63236
+ }, unknown>>;
63237
+ };
63238
+ }>, Record<never, never>>;
62307
63239
  list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62308
63240
  limit: z.ZodDefault<z.ZodInt>;
62309
63241
  after: z.ZodOptional<z.ZodString>;