@bikefinder/sdk 0.27.2 → 0.29.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
@@ -30252,7 +30252,17 @@ export declare const bikeChanges: z.ZodObject<{
30252
30252
  }, z.core.$strict>;
30253
30253
  export declare const bikeEditInput: z.ZodObject<{
30254
30254
  deviceId: z.ZodString;
30255
- expectedRevision: z.ZodString;
30255
+ trackerCreatedAt: z.ZodISODateTime;
30256
+ expected: z.ZodObject<{
30257
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30258
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30259
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30260
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30261
+ frameNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30262
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30263
+ marketPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30264
+ marketPriceCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30265
+ }, z.core.$strict>;
30256
30266
  changes: z.ZodObject<{
30257
30267
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30258
30268
  brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30296,7 +30306,17 @@ export declare const trackerChangeContract: {
30296
30306
  bike: {
30297
30307
  edit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
30298
30308
  deviceId: z.ZodString;
30299
- expectedRevision: z.ZodString;
30309
+ trackerCreatedAt: z.ZodISODateTime;
30310
+ expected: z.ZodObject<{
30311
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30312
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30313
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30314
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30315
+ frameNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30316
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30317
+ marketPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30318
+ marketPriceCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30319
+ }, z.core.$strict>;
30300
30320
  changes: z.ZodObject<{
30301
30321
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30302
30322
  brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30317,7 +30337,17 @@ export declare const trackerChangeContract: {
30317
30337
  USD: "USD";
30318
30338
  }>>>;
30319
30339
  }, z.core.$strict>;
30320
- }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
30340
+ }, z.core.$strict>, z.ZodObject<{
30341
+ revision: z.ZodString;
30342
+ name: z.ZodNullable<z.ZodString>;
30343
+ brand: z.ZodNullable<z.ZodString>;
30344
+ type: z.ZodNullable<z.ZodString>;
30345
+ model: z.ZodNullable<z.ZodString>;
30346
+ frameNumber: z.ZodNullable<z.ZodString>;
30347
+ url: z.ZodNullable<z.ZodString>;
30348
+ marketPrice: z.ZodNullable<z.ZodString>;
30349
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
30350
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
30321
30351
  readonly invalid: {
30322
30352
  readonly status: 400;
30323
30353
  readonly data: z.ZodType<{
@@ -54967,7 +54997,17 @@ declare const trackerContract: {
54967
54997
  bike: {
54968
54998
  edit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
54969
54999
  deviceId: z.ZodString;
54970
- expectedRevision: z.ZodString;
55000
+ trackerCreatedAt: z.ZodISODateTime;
55001
+ expected: z.ZodObject<{
55002
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55003
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55004
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55005
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55006
+ frameNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55007
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55008
+ marketPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55009
+ marketPriceCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55010
+ }, z.core.$strict>;
54971
55011
  changes: z.ZodObject<{
54972
55012
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54973
55013
  brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -54988,7 +55028,17 @@ declare const trackerContract: {
54988
55028
  USD: "USD";
54989
55029
  }>>>;
54990
55030
  }, z.core.$strict>;
54991
- }, z.core.$strict>, z.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
55031
+ }, z.core.$strict>, z.ZodObject<{
55032
+ revision: z.ZodString;
55033
+ name: z.ZodNullable<z.ZodString>;
55034
+ brand: z.ZodNullable<z.ZodString>;
55035
+ type: z.ZodNullable<z.ZodString>;
55036
+ model: z.ZodNullable<z.ZodString>;
55037
+ frameNumber: z.ZodNullable<z.ZodString>;
55038
+ url: z.ZodNullable<z.ZodString>;
55039
+ marketPrice: z.ZodNullable<z.ZodString>;
55040
+ marketPriceCurrency: z.ZodNullable<z.ZodString>;
55041
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
54992
55042
  readonly invalid: {
54993
55043
  readonly status: 400;
54994
55044
  readonly data: z.ZodType<{
@@ -62304,6 +62354,938 @@ declare const trackerContract: {
62304
62354
  };
62305
62355
  }>, Record<never, never>>;
62306
62356
  };
62357
+ watchPage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62358
+ limit: z.ZodDefault<z.ZodInt>;
62359
+ after: z.ZodOptional<z.ZodString>;
62360
+ deviceId: z.ZodString;
62361
+ }, z.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
62362
+ items: {
62363
+ kind: string | null;
62364
+ width: number | null;
62365
+ height: number | null;
62366
+ sizeBytes: number | null;
62367
+ isVertical: boolean | null;
62368
+ contentType: string | null;
62369
+ capturedAt: string | null;
62370
+ id: string;
62371
+ revision: string;
62372
+ createdAt: string;
62373
+ updatedAt: string;
62374
+ }[];
62375
+ nextAfter: string | null;
62376
+ }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
62377
+ items: {
62378
+ kind: string | null;
62379
+ width: number | null;
62380
+ height: number | null;
62381
+ sizeBytes: number | null;
62382
+ isVertical: boolean | null;
62383
+ contentType: string | null;
62384
+ capturedAt: string | null;
62385
+ id: string;
62386
+ revision: string;
62387
+ createdAt: string;
62388
+ updatedAt: string;
62389
+ }[];
62390
+ nextAfter: string | null;
62391
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
62392
+ readonly invalid: {
62393
+ readonly status: 400;
62394
+ readonly data: z.ZodType<{
62395
+ traceId: string;
62396
+ recovery: {
62397
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62398
+ } | {
62399
+ action: "read_operation";
62400
+ operation: {
62401
+ kind: "command";
62402
+ serialNumber: string;
62403
+ idempotencyKey: string;
62404
+ } | {
62405
+ kind: "firmware";
62406
+ serialNumber: string;
62407
+ updateId: string;
62408
+ } | {
62409
+ kind: "bluetooth_firmware";
62410
+ deviceId: string;
62411
+ updateId: string;
62412
+ } | {
62413
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62414
+ deviceId: string;
62415
+ requestId: string;
62416
+ } | {
62417
+ kind: "support";
62418
+ requestId: string;
62419
+ };
62420
+ };
62421
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62422
+ currentRevision?: string | undefined;
62423
+ retryAfterSeconds?: number | undefined;
62424
+ }, unknown, z.core.$ZodTypeInternals<{
62425
+ traceId: string;
62426
+ recovery: {
62427
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62428
+ } | {
62429
+ action: "read_operation";
62430
+ operation: {
62431
+ kind: "command";
62432
+ serialNumber: string;
62433
+ idempotencyKey: string;
62434
+ } | {
62435
+ kind: "firmware";
62436
+ serialNumber: string;
62437
+ updateId: string;
62438
+ } | {
62439
+ kind: "bluetooth_firmware";
62440
+ deviceId: string;
62441
+ updateId: string;
62442
+ } | {
62443
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62444
+ deviceId: string;
62445
+ requestId: string;
62446
+ } | {
62447
+ kind: "support";
62448
+ requestId: string;
62449
+ };
62450
+ };
62451
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62452
+ currentRevision?: string | undefined;
62453
+ retryAfterSeconds?: number | undefined;
62454
+ }, unknown>>;
62455
+ };
62456
+ readonly unauthenticated: {
62457
+ readonly status: 401;
62458
+ readonly data: z.ZodType<{
62459
+ traceId: string;
62460
+ recovery: {
62461
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62462
+ } | {
62463
+ action: "read_operation";
62464
+ operation: {
62465
+ kind: "command";
62466
+ serialNumber: string;
62467
+ idempotencyKey: string;
62468
+ } | {
62469
+ kind: "firmware";
62470
+ serialNumber: string;
62471
+ updateId: string;
62472
+ } | {
62473
+ kind: "bluetooth_firmware";
62474
+ deviceId: string;
62475
+ updateId: string;
62476
+ } | {
62477
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62478
+ deviceId: string;
62479
+ requestId: string;
62480
+ } | {
62481
+ kind: "support";
62482
+ requestId: string;
62483
+ };
62484
+ };
62485
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62486
+ currentRevision?: string | undefined;
62487
+ retryAfterSeconds?: number | undefined;
62488
+ }, unknown, z.core.$ZodTypeInternals<{
62489
+ traceId: string;
62490
+ recovery: {
62491
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62492
+ } | {
62493
+ action: "read_operation";
62494
+ operation: {
62495
+ kind: "command";
62496
+ serialNumber: string;
62497
+ idempotencyKey: string;
62498
+ } | {
62499
+ kind: "firmware";
62500
+ serialNumber: string;
62501
+ updateId: string;
62502
+ } | {
62503
+ kind: "bluetooth_firmware";
62504
+ deviceId: string;
62505
+ updateId: string;
62506
+ } | {
62507
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62508
+ deviceId: string;
62509
+ requestId: string;
62510
+ } | {
62511
+ kind: "support";
62512
+ requestId: string;
62513
+ };
62514
+ };
62515
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62516
+ currentRevision?: string | undefined;
62517
+ retryAfterSeconds?: number | undefined;
62518
+ }, unknown>>;
62519
+ };
62520
+ readonly forbidden: {
62521
+ readonly status: 403;
62522
+ readonly data: z.ZodType<{
62523
+ traceId: string;
62524
+ recovery: {
62525
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62526
+ } | {
62527
+ action: "read_operation";
62528
+ operation: {
62529
+ kind: "command";
62530
+ serialNumber: string;
62531
+ idempotencyKey: string;
62532
+ } | {
62533
+ kind: "firmware";
62534
+ serialNumber: string;
62535
+ updateId: string;
62536
+ } | {
62537
+ kind: "bluetooth_firmware";
62538
+ deviceId: string;
62539
+ updateId: string;
62540
+ } | {
62541
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62542
+ deviceId: string;
62543
+ requestId: string;
62544
+ } | {
62545
+ kind: "support";
62546
+ requestId: string;
62547
+ };
62548
+ };
62549
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62550
+ currentRevision?: string | undefined;
62551
+ retryAfterSeconds?: number | undefined;
62552
+ }, unknown, z.core.$ZodTypeInternals<{
62553
+ traceId: string;
62554
+ recovery: {
62555
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62556
+ } | {
62557
+ action: "read_operation";
62558
+ operation: {
62559
+ kind: "command";
62560
+ serialNumber: string;
62561
+ idempotencyKey: string;
62562
+ } | {
62563
+ kind: "firmware";
62564
+ serialNumber: string;
62565
+ updateId: string;
62566
+ } | {
62567
+ kind: "bluetooth_firmware";
62568
+ deviceId: string;
62569
+ updateId: string;
62570
+ } | {
62571
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62572
+ deviceId: string;
62573
+ requestId: string;
62574
+ } | {
62575
+ kind: "support";
62576
+ requestId: string;
62577
+ };
62578
+ };
62579
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62580
+ currentRevision?: string | undefined;
62581
+ retryAfterSeconds?: number | undefined;
62582
+ }, unknown>>;
62583
+ };
62584
+ readonly not_found: {
62585
+ readonly status: 404;
62586
+ readonly data: z.ZodType<{
62587
+ traceId: string;
62588
+ recovery: {
62589
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62590
+ } | {
62591
+ action: "read_operation";
62592
+ operation: {
62593
+ kind: "command";
62594
+ serialNumber: string;
62595
+ idempotencyKey: string;
62596
+ } | {
62597
+ kind: "firmware";
62598
+ serialNumber: string;
62599
+ updateId: string;
62600
+ } | {
62601
+ kind: "bluetooth_firmware";
62602
+ deviceId: string;
62603
+ updateId: string;
62604
+ } | {
62605
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62606
+ deviceId: string;
62607
+ requestId: string;
62608
+ } | {
62609
+ kind: "support";
62610
+ requestId: string;
62611
+ };
62612
+ };
62613
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62614
+ currentRevision?: string | undefined;
62615
+ retryAfterSeconds?: number | undefined;
62616
+ }, unknown, z.core.$ZodTypeInternals<{
62617
+ traceId: string;
62618
+ recovery: {
62619
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62620
+ } | {
62621
+ action: "read_operation";
62622
+ operation: {
62623
+ kind: "command";
62624
+ serialNumber: string;
62625
+ idempotencyKey: string;
62626
+ } | {
62627
+ kind: "firmware";
62628
+ serialNumber: string;
62629
+ updateId: string;
62630
+ } | {
62631
+ kind: "bluetooth_firmware";
62632
+ deviceId: string;
62633
+ updateId: string;
62634
+ } | {
62635
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62636
+ deviceId: string;
62637
+ requestId: string;
62638
+ } | {
62639
+ kind: "support";
62640
+ requestId: string;
62641
+ };
62642
+ };
62643
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62644
+ currentRevision?: string | undefined;
62645
+ retryAfterSeconds?: number | undefined;
62646
+ }, unknown>>;
62647
+ };
62648
+ readonly conflict: {
62649
+ readonly status: 409;
62650
+ readonly data: z.ZodType<{
62651
+ traceId: string;
62652
+ recovery: {
62653
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62654
+ } | {
62655
+ action: "read_operation";
62656
+ operation: {
62657
+ kind: "command";
62658
+ serialNumber: string;
62659
+ idempotencyKey: string;
62660
+ } | {
62661
+ kind: "firmware";
62662
+ serialNumber: string;
62663
+ updateId: string;
62664
+ } | {
62665
+ kind: "bluetooth_firmware";
62666
+ deviceId: string;
62667
+ updateId: string;
62668
+ } | {
62669
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62670
+ deviceId: string;
62671
+ requestId: string;
62672
+ } | {
62673
+ kind: "support";
62674
+ requestId: string;
62675
+ };
62676
+ };
62677
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62678
+ currentRevision?: string | undefined;
62679
+ retryAfterSeconds?: number | undefined;
62680
+ }, unknown, z.core.$ZodTypeInternals<{
62681
+ traceId: string;
62682
+ recovery: {
62683
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62684
+ } | {
62685
+ action: "read_operation";
62686
+ operation: {
62687
+ kind: "command";
62688
+ serialNumber: string;
62689
+ idempotencyKey: string;
62690
+ } | {
62691
+ kind: "firmware";
62692
+ serialNumber: string;
62693
+ updateId: string;
62694
+ } | {
62695
+ kind: "bluetooth_firmware";
62696
+ deviceId: string;
62697
+ updateId: string;
62698
+ } | {
62699
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62700
+ deviceId: string;
62701
+ requestId: string;
62702
+ } | {
62703
+ kind: "support";
62704
+ requestId: string;
62705
+ };
62706
+ };
62707
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62708
+ currentRevision?: string | undefined;
62709
+ retryAfterSeconds?: number | undefined;
62710
+ }, unknown>>;
62711
+ };
62712
+ readonly rate_limited: {
62713
+ readonly status: 429;
62714
+ readonly data: z.ZodType<{
62715
+ traceId: string;
62716
+ recovery: {
62717
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62718
+ } | {
62719
+ action: "read_operation";
62720
+ operation: {
62721
+ kind: "command";
62722
+ serialNumber: string;
62723
+ idempotencyKey: string;
62724
+ } | {
62725
+ kind: "firmware";
62726
+ serialNumber: string;
62727
+ updateId: string;
62728
+ } | {
62729
+ kind: "bluetooth_firmware";
62730
+ deviceId: string;
62731
+ updateId: string;
62732
+ } | {
62733
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62734
+ deviceId: string;
62735
+ requestId: string;
62736
+ } | {
62737
+ kind: "support";
62738
+ requestId: string;
62739
+ };
62740
+ };
62741
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62742
+ currentRevision?: string | undefined;
62743
+ retryAfterSeconds?: number | undefined;
62744
+ }, unknown, z.core.$ZodTypeInternals<{
62745
+ traceId: string;
62746
+ recovery: {
62747
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62748
+ } | {
62749
+ action: "read_operation";
62750
+ operation: {
62751
+ kind: "command";
62752
+ serialNumber: string;
62753
+ idempotencyKey: string;
62754
+ } | {
62755
+ kind: "firmware";
62756
+ serialNumber: string;
62757
+ updateId: string;
62758
+ } | {
62759
+ kind: "bluetooth_firmware";
62760
+ deviceId: string;
62761
+ updateId: string;
62762
+ } | {
62763
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62764
+ deviceId: string;
62765
+ requestId: string;
62766
+ } | {
62767
+ kind: "support";
62768
+ requestId: string;
62769
+ };
62770
+ };
62771
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62772
+ currentRevision?: string | undefined;
62773
+ retryAfterSeconds?: number | undefined;
62774
+ }, unknown>>;
62775
+ };
62776
+ readonly stored_data_invalid: {
62777
+ readonly status: 503;
62778
+ readonly data: z.ZodType<{
62779
+ traceId: string;
62780
+ recovery: {
62781
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62782
+ } | {
62783
+ action: "read_operation";
62784
+ operation: {
62785
+ kind: "command";
62786
+ serialNumber: string;
62787
+ idempotencyKey: string;
62788
+ } | {
62789
+ kind: "firmware";
62790
+ serialNumber: string;
62791
+ updateId: string;
62792
+ } | {
62793
+ kind: "bluetooth_firmware";
62794
+ deviceId: string;
62795
+ updateId: string;
62796
+ } | {
62797
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62798
+ deviceId: string;
62799
+ requestId: string;
62800
+ } | {
62801
+ kind: "support";
62802
+ requestId: string;
62803
+ };
62804
+ };
62805
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62806
+ currentRevision?: string | undefined;
62807
+ retryAfterSeconds?: number | undefined;
62808
+ }, unknown, z.core.$ZodTypeInternals<{
62809
+ traceId: string;
62810
+ recovery: {
62811
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62812
+ } | {
62813
+ action: "read_operation";
62814
+ operation: {
62815
+ kind: "command";
62816
+ serialNumber: string;
62817
+ idempotencyKey: string;
62818
+ } | {
62819
+ kind: "firmware";
62820
+ serialNumber: string;
62821
+ updateId: string;
62822
+ } | {
62823
+ kind: "bluetooth_firmware";
62824
+ deviceId: string;
62825
+ updateId: string;
62826
+ } | {
62827
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62828
+ deviceId: string;
62829
+ requestId: string;
62830
+ } | {
62831
+ kind: "support";
62832
+ requestId: string;
62833
+ };
62834
+ };
62835
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62836
+ currentRevision?: string | undefined;
62837
+ retryAfterSeconds?: number | undefined;
62838
+ }, unknown>>;
62839
+ };
62840
+ readonly service_unavailable: {
62841
+ readonly status: 503;
62842
+ readonly data: z.ZodType<{
62843
+ traceId: string;
62844
+ recovery: {
62845
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62846
+ } | {
62847
+ action: "read_operation";
62848
+ operation: {
62849
+ kind: "command";
62850
+ serialNumber: string;
62851
+ idempotencyKey: string;
62852
+ } | {
62853
+ kind: "firmware";
62854
+ serialNumber: string;
62855
+ updateId: string;
62856
+ } | {
62857
+ kind: "bluetooth_firmware";
62858
+ deviceId: string;
62859
+ updateId: string;
62860
+ } | {
62861
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62862
+ deviceId: string;
62863
+ requestId: string;
62864
+ } | {
62865
+ kind: "support";
62866
+ requestId: string;
62867
+ };
62868
+ };
62869
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62870
+ currentRevision?: string | undefined;
62871
+ retryAfterSeconds?: number | undefined;
62872
+ }, unknown, z.core.$ZodTypeInternals<{
62873
+ traceId: string;
62874
+ recovery: {
62875
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62876
+ } | {
62877
+ action: "read_operation";
62878
+ operation: {
62879
+ kind: "command";
62880
+ serialNumber: string;
62881
+ idempotencyKey: string;
62882
+ } | {
62883
+ kind: "firmware";
62884
+ serialNumber: string;
62885
+ updateId: string;
62886
+ } | {
62887
+ kind: "bluetooth_firmware";
62888
+ deviceId: string;
62889
+ updateId: string;
62890
+ } | {
62891
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62892
+ deviceId: string;
62893
+ requestId: string;
62894
+ } | {
62895
+ kind: "support";
62896
+ requestId: string;
62897
+ };
62898
+ };
62899
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62900
+ currentRevision?: string | undefined;
62901
+ retryAfterSeconds?: number | undefined;
62902
+ }, unknown>>;
62903
+ };
62904
+ readonly read_unavailable: {
62905
+ readonly status: 503;
62906
+ readonly data: z.ZodType<{
62907
+ traceId: string;
62908
+ recovery: {
62909
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62910
+ } | {
62911
+ action: "read_operation";
62912
+ operation: {
62913
+ kind: "command";
62914
+ serialNumber: string;
62915
+ idempotencyKey: string;
62916
+ } | {
62917
+ kind: "firmware";
62918
+ serialNumber: string;
62919
+ updateId: string;
62920
+ } | {
62921
+ kind: "bluetooth_firmware";
62922
+ deviceId: string;
62923
+ updateId: string;
62924
+ } | {
62925
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62926
+ deviceId: string;
62927
+ requestId: string;
62928
+ } | {
62929
+ kind: "support";
62930
+ requestId: string;
62931
+ };
62932
+ };
62933
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62934
+ currentRevision?: string | undefined;
62935
+ retryAfterSeconds?: number | undefined;
62936
+ }, unknown, z.core.$ZodTypeInternals<{
62937
+ traceId: string;
62938
+ recovery: {
62939
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62940
+ } | {
62941
+ action: "read_operation";
62942
+ operation: {
62943
+ kind: "command";
62944
+ serialNumber: string;
62945
+ idempotencyKey: string;
62946
+ } | {
62947
+ kind: "firmware";
62948
+ serialNumber: string;
62949
+ updateId: string;
62950
+ } | {
62951
+ kind: "bluetooth_firmware";
62952
+ deviceId: string;
62953
+ updateId: string;
62954
+ } | {
62955
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62956
+ deviceId: string;
62957
+ requestId: string;
62958
+ } | {
62959
+ kind: "support";
62960
+ requestId: string;
62961
+ };
62962
+ };
62963
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62964
+ currentRevision?: string | undefined;
62965
+ retryAfterSeconds?: number | undefined;
62966
+ }, unknown>>;
62967
+ };
62968
+ readonly stream_unavailable: {
62969
+ readonly status: 503;
62970
+ readonly data: z.ZodType<{
62971
+ traceId: string;
62972
+ recovery: {
62973
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
62974
+ } | {
62975
+ action: "read_operation";
62976
+ operation: {
62977
+ kind: "command";
62978
+ serialNumber: string;
62979
+ idempotencyKey: string;
62980
+ } | {
62981
+ kind: "firmware";
62982
+ serialNumber: string;
62983
+ updateId: string;
62984
+ } | {
62985
+ kind: "bluetooth_firmware";
62986
+ deviceId: string;
62987
+ updateId: string;
62988
+ } | {
62989
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
62990
+ deviceId: string;
62991
+ requestId: string;
62992
+ } | {
62993
+ kind: "support";
62994
+ requestId: string;
62995
+ };
62996
+ };
62997
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
62998
+ currentRevision?: string | undefined;
62999
+ retryAfterSeconds?: number | undefined;
63000
+ }, unknown, z.core.$ZodTypeInternals<{
63001
+ traceId: string;
63002
+ recovery: {
63003
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63004
+ } | {
63005
+ action: "read_operation";
63006
+ operation: {
63007
+ kind: "command";
63008
+ serialNumber: string;
63009
+ idempotencyKey: string;
63010
+ } | {
63011
+ kind: "firmware";
63012
+ serialNumber: string;
63013
+ updateId: string;
63014
+ } | {
63015
+ kind: "bluetooth_firmware";
63016
+ deviceId: string;
63017
+ updateId: string;
63018
+ } | {
63019
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63020
+ deviceId: string;
63021
+ requestId: string;
63022
+ } | {
63023
+ kind: "support";
63024
+ requestId: string;
63025
+ };
63026
+ };
63027
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63028
+ currentRevision?: string | undefined;
63029
+ retryAfterSeconds?: number | undefined;
63030
+ }, unknown>>;
63031
+ };
63032
+ readonly payload_too_large: {
63033
+ readonly status: 413;
63034
+ readonly data: z.ZodType<{
63035
+ traceId: string;
63036
+ recovery: {
63037
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63038
+ } | {
63039
+ action: "read_operation";
63040
+ operation: {
63041
+ kind: "command";
63042
+ serialNumber: string;
63043
+ idempotencyKey: string;
63044
+ } | {
63045
+ kind: "firmware";
63046
+ serialNumber: string;
63047
+ updateId: string;
63048
+ } | {
63049
+ kind: "bluetooth_firmware";
63050
+ deviceId: string;
63051
+ updateId: string;
63052
+ } | {
63053
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63054
+ deviceId: string;
63055
+ requestId: string;
63056
+ } | {
63057
+ kind: "support";
63058
+ requestId: string;
63059
+ };
63060
+ };
63061
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63062
+ currentRevision?: string | undefined;
63063
+ retryAfterSeconds?: number | undefined;
63064
+ }, unknown, z.core.$ZodTypeInternals<{
63065
+ traceId: string;
63066
+ recovery: {
63067
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63068
+ } | {
63069
+ action: "read_operation";
63070
+ operation: {
63071
+ kind: "command";
63072
+ serialNumber: string;
63073
+ idempotencyKey: string;
63074
+ } | {
63075
+ kind: "firmware";
63076
+ serialNumber: string;
63077
+ updateId: string;
63078
+ } | {
63079
+ kind: "bluetooth_firmware";
63080
+ deviceId: string;
63081
+ updateId: string;
63082
+ } | {
63083
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63084
+ deviceId: string;
63085
+ requestId: string;
63086
+ } | {
63087
+ kind: "support";
63088
+ requestId: string;
63089
+ };
63090
+ };
63091
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63092
+ currentRevision?: string | undefined;
63093
+ retryAfterSeconds?: number | undefined;
63094
+ }, unknown>>;
63095
+ };
63096
+ readonly request_timeout: {
63097
+ readonly status: 503;
63098
+ readonly data: z.ZodType<{
63099
+ traceId: string;
63100
+ recovery: {
63101
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63102
+ } | {
63103
+ action: "read_operation";
63104
+ operation: {
63105
+ kind: "command";
63106
+ serialNumber: string;
63107
+ idempotencyKey: string;
63108
+ } | {
63109
+ kind: "firmware";
63110
+ serialNumber: string;
63111
+ updateId: string;
63112
+ } | {
63113
+ kind: "bluetooth_firmware";
63114
+ deviceId: string;
63115
+ updateId: string;
63116
+ } | {
63117
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63118
+ deviceId: string;
63119
+ requestId: string;
63120
+ } | {
63121
+ kind: "support";
63122
+ requestId: string;
63123
+ };
63124
+ };
63125
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63126
+ currentRevision?: string | undefined;
63127
+ retryAfterSeconds?: number | undefined;
63128
+ }, unknown, z.core.$ZodTypeInternals<{
63129
+ traceId: string;
63130
+ recovery: {
63131
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63132
+ } | {
63133
+ action: "read_operation";
63134
+ operation: {
63135
+ kind: "command";
63136
+ serialNumber: string;
63137
+ idempotencyKey: string;
63138
+ } | {
63139
+ kind: "firmware";
63140
+ serialNumber: string;
63141
+ updateId: string;
63142
+ } | {
63143
+ kind: "bluetooth_firmware";
63144
+ deviceId: string;
63145
+ updateId: string;
63146
+ } | {
63147
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63148
+ deviceId: string;
63149
+ requestId: string;
63150
+ } | {
63151
+ kind: "support";
63152
+ requestId: string;
63153
+ };
63154
+ };
63155
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63156
+ currentRevision?: string | undefined;
63157
+ retryAfterSeconds?: number | undefined;
63158
+ }, unknown>>;
63159
+ };
63160
+ readonly operation_unconfirmed: {
63161
+ readonly status: 503;
63162
+ readonly data: z.ZodType<{
63163
+ traceId: string;
63164
+ recovery: {
63165
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63166
+ } | {
63167
+ action: "read_operation";
63168
+ operation: {
63169
+ kind: "command";
63170
+ serialNumber: string;
63171
+ idempotencyKey: string;
63172
+ } | {
63173
+ kind: "firmware";
63174
+ serialNumber: string;
63175
+ updateId: string;
63176
+ } | {
63177
+ kind: "bluetooth_firmware";
63178
+ deviceId: string;
63179
+ updateId: string;
63180
+ } | {
63181
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63182
+ deviceId: string;
63183
+ requestId: string;
63184
+ } | {
63185
+ kind: "support";
63186
+ requestId: string;
63187
+ };
63188
+ };
63189
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63190
+ currentRevision?: string | undefined;
63191
+ retryAfterSeconds?: number | undefined;
63192
+ }, unknown, z.core.$ZodTypeInternals<{
63193
+ traceId: string;
63194
+ recovery: {
63195
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63196
+ } | {
63197
+ action: "read_operation";
63198
+ operation: {
63199
+ kind: "command";
63200
+ serialNumber: string;
63201
+ idempotencyKey: string;
63202
+ } | {
63203
+ kind: "firmware";
63204
+ serialNumber: string;
63205
+ updateId: string;
63206
+ } | {
63207
+ kind: "bluetooth_firmware";
63208
+ deviceId: string;
63209
+ updateId: string;
63210
+ } | {
63211
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63212
+ deviceId: string;
63213
+ requestId: string;
63214
+ } | {
63215
+ kind: "support";
63216
+ requestId: string;
63217
+ };
63218
+ };
63219
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63220
+ currentRevision?: string | undefined;
63221
+ retryAfterSeconds?: number | undefined;
63222
+ }, unknown>>;
63223
+ };
63224
+ readonly directory_unavailable: {
63225
+ readonly status: 503;
63226
+ readonly data: z.ZodType<{
63227
+ traceId: string;
63228
+ recovery: {
63229
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63230
+ } | {
63231
+ action: "read_operation";
63232
+ operation: {
63233
+ kind: "command";
63234
+ serialNumber: string;
63235
+ idempotencyKey: string;
63236
+ } | {
63237
+ kind: "firmware";
63238
+ serialNumber: string;
63239
+ updateId: string;
63240
+ } | {
63241
+ kind: "bluetooth_firmware";
63242
+ deviceId: string;
63243
+ updateId: string;
63244
+ } | {
63245
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63246
+ deviceId: string;
63247
+ requestId: string;
63248
+ } | {
63249
+ kind: "support";
63250
+ requestId: string;
63251
+ };
63252
+ };
63253
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63254
+ currentRevision?: string | undefined;
63255
+ retryAfterSeconds?: number | undefined;
63256
+ }, unknown, z.core.$ZodTypeInternals<{
63257
+ traceId: string;
63258
+ recovery: {
63259
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
63260
+ } | {
63261
+ action: "read_operation";
63262
+ operation: {
63263
+ kind: "command";
63264
+ serialNumber: string;
63265
+ idempotencyKey: string;
63266
+ } | {
63267
+ kind: "firmware";
63268
+ serialNumber: string;
63269
+ updateId: string;
63270
+ } | {
63271
+ kind: "bluetooth_firmware";
63272
+ deviceId: string;
63273
+ updateId: string;
63274
+ } | {
63275
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
63276
+ deviceId: string;
63277
+ requestId: string;
63278
+ } | {
63279
+ kind: "support";
63280
+ requestId: string;
63281
+ };
63282
+ };
63283
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
63284
+ currentRevision?: string | undefined;
63285
+ retryAfterSeconds?: number | undefined;
63286
+ }, unknown>>;
63287
+ };
63288
+ }>, Record<never, never>>;
62307
63289
  list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
62308
63290
  limit: z.ZodDefault<z.ZodInt>;
62309
63291
  after: z.ZodOptional<z.ZodString>;