@bikefinder/staff-sdk 0.11.1 → 0.13.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
@@ -7478,6 +7478,115 @@ export declare const tracker: z$1.ZodObject<{
7478
7478
  createdAt: z$1.ZodISODateTime;
7479
7479
  updatedAt: z$1.ZodISODateTime;
7480
7480
  }, z$1.core.$strip>;
7481
+ export declare const customerTrackerDetails: z$1.ZodObject<{
7482
+ id: z$1.ZodString;
7483
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
7484
+ lte: z$1.ZodNullable<z$1.ZodString>;
7485
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
7486
+ battery: z$1.ZodNullable<z$1.ZodString>;
7487
+ modem: z$1.ZodNullable<z$1.ZodString>;
7488
+ mtk: z$1.ZodNullable<z$1.ZodString>;
7489
+ ti: z$1.ZodNullable<z$1.ZodString>;
7490
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
7491
+ }, z$1.core.$strip>>;
7492
+ subscription: z$1.ZodDiscriminatedUnion<[
7493
+ z$1.ZodObject<{
7494
+ id: z$1.ZodString;
7495
+ activity: z$1.ZodEnum<{
7496
+ unknown: "unknown";
7497
+ active: "active";
7498
+ inactive: "inactive";
7499
+ }>;
7500
+ isDemo: z$1.ZodBoolean;
7501
+ status: z$1.ZodNullable<z$1.ZodString>;
7502
+ country: z$1.ZodNullable<z$1.ZodString>;
7503
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7504
+ state: z$1.ZodLiteral<"available">;
7505
+ }, z$1.core.$strip>,
7506
+ z$1.ZodObject<{
7507
+ state: z$1.ZodLiteral<"unavailable">;
7508
+ reason: z$1.ZodEnum<{
7509
+ invalid: "invalid";
7510
+ not_observed: "not_observed";
7511
+ not_assigned: "not_assigned";
7512
+ }>;
7513
+ }, z$1.core.$strip>
7514
+ ], "state">;
7515
+ createdAt: z$1.ZodISODateTime;
7516
+ revision: z$1.ZodString;
7517
+ battery: z$1.ZodDiscriminatedUnion<[
7518
+ z$1.ZodObject<{
7519
+ level: z$1.ZodNullable<z$1.ZodNumber>;
7520
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
7521
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7522
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7523
+ observation: z$1.ZodNullable<z$1.ZodObject<{
7524
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7525
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7526
+ }, z$1.core.$strip>>;
7527
+ source: z$1.ZodNullable<z$1.ZodString>;
7528
+ state: z$1.ZodLiteral<"available">;
7529
+ }, z$1.core.$strip>,
7530
+ z$1.ZodObject<{
7531
+ state: z$1.ZodLiteral<"unavailable">;
7532
+ reason: z$1.ZodEnum<{
7533
+ invalid: "invalid";
7534
+ not_observed: "not_observed";
7535
+ not_assigned: "not_assigned";
7536
+ }>;
7537
+ }, z$1.core.$strip>
7538
+ ], "state">;
7539
+ identity: z$1.ZodNullable<z$1.ZodObject<{
7540
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
7541
+ }, z$1.core.$strip>>;
7542
+ generation: z$1.ZodNullable<z$1.ZodInt>;
7543
+ bike: z$1.ZodObject<{
7544
+ revision: z$1.ZodString;
7545
+ name: z$1.ZodNullable<z$1.ZodString>;
7546
+ brand: z$1.ZodNullable<z$1.ZodString>;
7547
+ type: z$1.ZodNullable<z$1.ZodString>;
7548
+ model: z$1.ZodNullable<z$1.ZodString>;
7549
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
7550
+ url: z$1.ZodNullable<z$1.ZodString>;
7551
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
7552
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
7553
+ }, z$1.core.$strip>;
7554
+ location: z$1.ZodDiscriminatedUnion<[
7555
+ z$1.ZodObject<{
7556
+ latitude: z$1.ZodNumber;
7557
+ longitude: z$1.ZodNumber;
7558
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
7559
+ source: z$1.ZodNullable<z$1.ZodString>;
7560
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
7561
+ state: z$1.ZodLiteral<"available">;
7562
+ }, z$1.core.$strip>,
7563
+ z$1.ZodObject<{
7564
+ state: z$1.ZodLiteral<"unavailable">;
7565
+ reason: z$1.ZodEnum<{
7566
+ invalid: "invalid";
7567
+ not_observed: "not_observed";
7568
+ not_assigned: "not_assigned";
7569
+ }>;
7570
+ }, z$1.core.$strip>
7571
+ ], "state">;
7572
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
7573
+ path: z$1.ZodString;
7574
+ code: z$1.ZodLiteral<"invalid_stored_value">;
7575
+ }, z$1.core.$strip>>;
7576
+ updatedAt: z$1.ZodISODateTime;
7577
+ preferences: z$1.ZodObject<{
7578
+ movementAlerts: z$1.ZodBoolean;
7579
+ }, z$1.core.$strip>;
7580
+ capabilities: z$1.ZodObject<{
7581
+ firmwareUpdates: z$1.ZodBoolean;
7582
+ factoryResetReports: z$1.ZodBoolean;
7583
+ }, z$1.core.$strip>;
7584
+ membership: z$1.ZodObject<{
7585
+ accountId: z$1.ZodString;
7586
+ activeMemberCount: z$1.ZodInt;
7587
+ }, z$1.core.$strip>;
7588
+ }, z$1.core.$strip>;
7589
+ export type CustomerTrackerDetails = z$1.infer<typeof customerTrackerDetails>;
7481
7590
  export type Tracker = z$1.infer<typeof tracker>;
7482
7591
  export type TrackerSummary = z$1.infer<typeof trackerSummary>;
7483
7592
  export type TrackerPage = z$1.infer<typeof trackerPage>;
@@ -25932,7 +26041,17 @@ export declare const bikeChanges: z$1.ZodObject<{
25932
26041
  }, z$1.core.$strict>;
25933
26042
  export declare const bikeEditInput: z$1.ZodObject<{
25934
26043
  deviceId: z$1.ZodString;
25935
- expectedRevision: z$1.ZodString;
26044
+ trackerCreatedAt: z$1.ZodISODateTime;
26045
+ expected: z$1.ZodObject<{
26046
+ type: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26047
+ name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26048
+ brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26049
+ model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26050
+ frameNumber: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26051
+ url: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26052
+ marketPrice: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26053
+ marketPriceCurrency: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26054
+ }, z$1.core.$strict>;
25936
26055
  changes: z$1.ZodObject<{
25937
26056
  name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
25938
26057
  brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
@@ -25976,7 +26095,17 @@ export declare const trackerChangeContract: {
25976
26095
  bike: {
25977
26096
  edit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
25978
26097
  deviceId: z$1.ZodString;
25979
- expectedRevision: z$1.ZodString;
26098
+ trackerCreatedAt: z$1.ZodISODateTime;
26099
+ expected: z$1.ZodObject<{
26100
+ type: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26101
+ name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26102
+ brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26103
+ model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26104
+ frameNumber: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26105
+ url: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26106
+ marketPrice: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26107
+ marketPriceCurrency: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
26108
+ }, z$1.core.$strict>;
25980
26109
  changes: z$1.ZodObject<{
25981
26110
  name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
25982
26111
  brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
@@ -25997,7 +26126,17 @@ export declare const trackerChangeContract: {
25997
26126
  USD: "USD";
25998
26127
  }>>>;
25999
26128
  }, z$1.core.$strict>;
26000
- }, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
26129
+ }, z$1.core.$strict>, z$1.ZodObject<{
26130
+ revision: z$1.ZodString;
26131
+ name: z$1.ZodNullable<z$1.ZodString>;
26132
+ brand: z$1.ZodNullable<z$1.ZodString>;
26133
+ type: z$1.ZodNullable<z$1.ZodString>;
26134
+ model: z$1.ZodNullable<z$1.ZodString>;
26135
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
26136
+ url: z$1.ZodNullable<z$1.ZodString>;
26137
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
26138
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
26139
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
26001
26140
  readonly invalid: {
26002
26141
  readonly status: 400;
26003
26142
  readonly data: z$1.ZodType<{
@@ -87384,6 +87523,131 @@ declare const staffTracker: z$1.ZodObject<{
87384
87523
  createdAt: z$1.ZodISODateTime;
87385
87524
  updatedAt: z$1.ZodISODateTime;
87386
87525
  }, z$1.core.$strip>;
87526
+ declare const staffTrackerDetails: z$1.ZodObject<{
87527
+ id: z$1.ZodString;
87528
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
87529
+ lte: z$1.ZodNullable<z$1.ZodString>;
87530
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
87531
+ battery: z$1.ZodNullable<z$1.ZodString>;
87532
+ modem: z$1.ZodNullable<z$1.ZodString>;
87533
+ mtk: z$1.ZodNullable<z$1.ZodString>;
87534
+ ti: z$1.ZodNullable<z$1.ZodString>;
87535
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
87536
+ }, z$1.core.$strip>>;
87537
+ subscription: z$1.ZodDiscriminatedUnion<[
87538
+ z$1.ZodObject<{
87539
+ id: z$1.ZodString;
87540
+ activity: z$1.ZodEnum<{
87541
+ unknown: "unknown";
87542
+ active: "active";
87543
+ inactive: "inactive";
87544
+ }>;
87545
+ isDemo: z$1.ZodBoolean;
87546
+ status: z$1.ZodNullable<z$1.ZodString>;
87547
+ country: z$1.ZodNullable<z$1.ZodString>;
87548
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87549
+ state: z$1.ZodLiteral<"available">;
87550
+ }, z$1.core.$strip>,
87551
+ z$1.ZodObject<{
87552
+ state: z$1.ZodLiteral<"unavailable">;
87553
+ reason: z$1.ZodEnum<{
87554
+ invalid: "invalid";
87555
+ not_observed: "not_observed";
87556
+ not_assigned: "not_assigned";
87557
+ }>;
87558
+ }, z$1.core.$strip>
87559
+ ], "state">;
87560
+ createdAt: z$1.ZodISODateTime;
87561
+ revision: z$1.ZodString;
87562
+ battery: z$1.ZodDiscriminatedUnion<[
87563
+ z$1.ZodObject<{
87564
+ level: z$1.ZodNullable<z$1.ZodNumber>;
87565
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
87566
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87567
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87568
+ observation: z$1.ZodNullable<z$1.ZodObject<{
87569
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87570
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87571
+ }, z$1.core.$strip>>;
87572
+ source: z$1.ZodNullable<z$1.ZodString>;
87573
+ state: z$1.ZodLiteral<"available">;
87574
+ }, z$1.core.$strip>,
87575
+ z$1.ZodObject<{
87576
+ state: z$1.ZodLiteral<"unavailable">;
87577
+ reason: z$1.ZodEnum<{
87578
+ invalid: "invalid";
87579
+ not_observed: "not_observed";
87580
+ not_assigned: "not_assigned";
87581
+ }>;
87582
+ }, z$1.core.$strip>
87583
+ ], "state">;
87584
+ generation: z$1.ZodNullable<z$1.ZodInt>;
87585
+ bike: z$1.ZodObject<{
87586
+ revision: z$1.ZodString;
87587
+ name: z$1.ZodNullable<z$1.ZodString>;
87588
+ brand: z$1.ZodNullable<z$1.ZodString>;
87589
+ type: z$1.ZodNullable<z$1.ZodString>;
87590
+ model: z$1.ZodNullable<z$1.ZodString>;
87591
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
87592
+ url: z$1.ZodNullable<z$1.ZodString>;
87593
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
87594
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
87595
+ }, z$1.core.$strip>;
87596
+ location: z$1.ZodDiscriminatedUnion<[
87597
+ z$1.ZodObject<{
87598
+ latitude: z$1.ZodNumber;
87599
+ longitude: z$1.ZodNumber;
87600
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
87601
+ source: z$1.ZodNullable<z$1.ZodString>;
87602
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87603
+ state: z$1.ZodLiteral<"available">;
87604
+ }, z$1.core.$strip>,
87605
+ z$1.ZodObject<{
87606
+ state: z$1.ZodLiteral<"unavailable">;
87607
+ reason: z$1.ZodEnum<{
87608
+ invalid: "invalid";
87609
+ not_observed: "not_observed";
87610
+ not_assigned: "not_assigned";
87611
+ }>;
87612
+ }, z$1.core.$strip>
87613
+ ], "state">;
87614
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
87615
+ path: z$1.ZodString;
87616
+ code: z$1.ZodLiteral<"invalid_stored_value">;
87617
+ }, z$1.core.$strip>>;
87618
+ updatedAt: z$1.ZodISODateTime;
87619
+ hardware: z$1.ZodNullable<z$1.ZodObject<{
87620
+ imei: z$1.ZodNullable<z$1.ZodString>;
87621
+ iccid: z$1.ZodNullable<z$1.ZodString>;
87622
+ imsi: z$1.ZodNullable<z$1.ZodString>;
87623
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
87624
+ }, z$1.core.$strip>>;
87625
+ backend: z$1.ZodNullable<z$1.ZodString>;
87626
+ configuration: z$1.ZodNullable<z$1.ZodObject<{
87627
+ movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
87628
+ isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
87629
+ }, z$1.core.$strip>>;
87630
+ membership: z$1.ZodObject<{
87631
+ revision: z$1.ZodString;
87632
+ memberCount: z$1.ZodInt;
87633
+ }, z$1.core.$strip>;
87634
+ }, z$1.core.$strip>;
87635
+ declare const staffTrackerMemberPageInput: z$1.ZodObject<{
87636
+ deviceId: z$1.ZodString;
87637
+ revision: z$1.ZodString;
87638
+ after: z$1.ZodOptional<z$1.ZodString>;
87639
+ limit: z$1.ZodDefault<z$1.ZodInt>;
87640
+ }, z$1.core.$strict>;
87641
+ declare const staffTrackerMemberPage: z$1.ZodObject<{
87642
+ items: z$1.ZodArray<z$1.ZodObject<{
87643
+ active: z$1.ZodNullable<z$1.ZodBoolean>;
87644
+ displayName: z$1.ZodNullable<z$1.ZodString>;
87645
+ listOrder: z$1.ZodNullable<z$1.ZodInt>;
87646
+ joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
87647
+ accountId: z$1.ZodString;
87648
+ }, z$1.core.$strip>>;
87649
+ nextAfter: z$1.ZodNullable<z$1.ZodString>;
87650
+ }, z$1.core.$strip>;
87387
87651
  export declare const staffSubscription: z$1.ZodObject<{
87388
87652
  accountId: z$1.ZodNullable<z$1.ZodString>;
87389
87653
  name: z$1.ZodNullable<z$1.ZodString>;
@@ -89906,22 +90170,25 @@ export declare const erasureOperation: z$1.ZodObject<{
89906
90170
  updatedAt: z$1.ZodISODateTime;
89907
90171
  cleanupAfter: z$1.ZodNullable<z$1.ZodISODateTime>;
89908
90172
  }, z$1.core.$strict>;
90173
+ export type ErasureReview = z$1.infer<typeof erasureReview>;
90174
+ export type ErasureSubmission = z$1.infer<typeof erasureSubmission>;
90175
+ export type ErasureOperation = z$1.infer<typeof erasureOperation>;
89909
90176
  export declare const erasureContract: {
89910
- review: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
89911
- accountId: z$1.ZodString;
89912
- }, z$1.core.$strict>, z$1.ZodObject<{
89913
- accountId: z$1.ZodString;
89914
- email: z$1.ZodEmail;
89915
- emails: z$1.ZodArray<z$1.ZodEmail>;
89916
- accountIds: z$1.ZodArray<z$1.ZodString>;
89917
- exclusiveTrackers: z$1.ZodArray<z$1.ZodString>;
89918
- sharedTrackers: z$1.ZodArray<z$1.ZodString>;
89919
- policy: z$1.ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
89920
- version: z$1.ZodString;
89921
- }, z$1.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
90177
+ review: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
90178
+ accountId: import("zod").ZodString;
90179
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
90180
+ accountId: import("zod").ZodString;
90181
+ email: import("zod").ZodEmail;
90182
+ emails: import("zod").ZodArray<import("zod").ZodEmail>;
90183
+ accountIds: import("zod").ZodArray<import("zod").ZodString>;
90184
+ exclusiveTrackers: import("zod").ZodArray<import("zod").ZodString>;
90185
+ sharedTrackers: import("zod").ZodArray<import("zod").ZodString>;
90186
+ policy: import("zod").ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
90187
+ version: import("zod").ZodString;
90188
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
89922
90189
  readonly invalid: {
89923
90190
  readonly status: 400;
89924
- readonly data: z$1.ZodType<{
90191
+ readonly data: import("zod").ZodType<{
89925
90192
  traceId: string;
89926
90193
  recovery: {
89927
90194
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -89951,7 +90218,7 @@ export declare const erasureContract: {
89951
90218
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
89952
90219
  currentRevision?: string | undefined;
89953
90220
  retryAfterSeconds?: number | undefined;
89954
- }, unknown, z$1.core.$ZodTypeInternals<{
90221
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
89955
90222
  traceId: string;
89956
90223
  recovery: {
89957
90224
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -89985,7 +90252,7 @@ export declare const erasureContract: {
89985
90252
  };
89986
90253
  readonly unauthenticated: {
89987
90254
  readonly status: 401;
89988
- readonly data: z$1.ZodType<{
90255
+ readonly data: import("zod").ZodType<{
89989
90256
  traceId: string;
89990
90257
  recovery: {
89991
90258
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90015,7 +90282,7 @@ export declare const erasureContract: {
90015
90282
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90016
90283
  currentRevision?: string | undefined;
90017
90284
  retryAfterSeconds?: number | undefined;
90018
- }, unknown, z$1.core.$ZodTypeInternals<{
90285
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90019
90286
  traceId: string;
90020
90287
  recovery: {
90021
90288
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90049,7 +90316,7 @@ export declare const erasureContract: {
90049
90316
  };
90050
90317
  readonly forbidden: {
90051
90318
  readonly status: 403;
90052
- readonly data: z$1.ZodType<{
90319
+ readonly data: import("zod").ZodType<{
90053
90320
  traceId: string;
90054
90321
  recovery: {
90055
90322
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90079,7 +90346,7 @@ export declare const erasureContract: {
90079
90346
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90080
90347
  currentRevision?: string | undefined;
90081
90348
  retryAfterSeconds?: number | undefined;
90082
- }, unknown, z$1.core.$ZodTypeInternals<{
90349
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90083
90350
  traceId: string;
90084
90351
  recovery: {
90085
90352
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90113,7 +90380,7 @@ export declare const erasureContract: {
90113
90380
  };
90114
90381
  readonly not_found: {
90115
90382
  readonly status: 404;
90116
- readonly data: z$1.ZodType<{
90383
+ readonly data: import("zod").ZodType<{
90117
90384
  traceId: string;
90118
90385
  recovery: {
90119
90386
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90143,7 +90410,7 @@ export declare const erasureContract: {
90143
90410
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90144
90411
  currentRevision?: string | undefined;
90145
90412
  retryAfterSeconds?: number | undefined;
90146
- }, unknown, z$1.core.$ZodTypeInternals<{
90413
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90147
90414
  traceId: string;
90148
90415
  recovery: {
90149
90416
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90177,7 +90444,7 @@ export declare const erasureContract: {
90177
90444
  };
90178
90445
  readonly conflict: {
90179
90446
  readonly status: 409;
90180
- readonly data: z$1.ZodType<{
90447
+ readonly data: import("zod").ZodType<{
90181
90448
  traceId: string;
90182
90449
  recovery: {
90183
90450
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90207,7 +90474,7 @@ export declare const erasureContract: {
90207
90474
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90208
90475
  currentRevision?: string | undefined;
90209
90476
  retryAfterSeconds?: number | undefined;
90210
- }, unknown, z$1.core.$ZodTypeInternals<{
90477
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90211
90478
  traceId: string;
90212
90479
  recovery: {
90213
90480
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90241,7 +90508,7 @@ export declare const erasureContract: {
90241
90508
  };
90242
90509
  readonly rate_limited: {
90243
90510
  readonly status: 429;
90244
- readonly data: z$1.ZodType<{
90511
+ readonly data: import("zod").ZodType<{
90245
90512
  traceId: string;
90246
90513
  recovery: {
90247
90514
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90271,7 +90538,7 @@ export declare const erasureContract: {
90271
90538
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90272
90539
  currentRevision?: string | undefined;
90273
90540
  retryAfterSeconds?: number | undefined;
90274
- }, unknown, z$1.core.$ZodTypeInternals<{
90541
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90275
90542
  traceId: string;
90276
90543
  recovery: {
90277
90544
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90305,7 +90572,7 @@ export declare const erasureContract: {
90305
90572
  };
90306
90573
  readonly stored_data_invalid: {
90307
90574
  readonly status: 503;
90308
- readonly data: z$1.ZodType<{
90575
+ readonly data: import("zod").ZodType<{
90309
90576
  traceId: string;
90310
90577
  recovery: {
90311
90578
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90335,7 +90602,7 @@ export declare const erasureContract: {
90335
90602
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90336
90603
  currentRevision?: string | undefined;
90337
90604
  retryAfterSeconds?: number | undefined;
90338
- }, unknown, z$1.core.$ZodTypeInternals<{
90605
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90339
90606
  traceId: string;
90340
90607
  recovery: {
90341
90608
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90369,7 +90636,7 @@ export declare const erasureContract: {
90369
90636
  };
90370
90637
  readonly service_unavailable: {
90371
90638
  readonly status: 503;
90372
- readonly data: z$1.ZodType<{
90639
+ readonly data: import("zod").ZodType<{
90373
90640
  traceId: string;
90374
90641
  recovery: {
90375
90642
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90399,7 +90666,7 @@ export declare const erasureContract: {
90399
90666
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90400
90667
  currentRevision?: string | undefined;
90401
90668
  retryAfterSeconds?: number | undefined;
90402
- }, unknown, z$1.core.$ZodTypeInternals<{
90669
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90403
90670
  traceId: string;
90404
90671
  recovery: {
90405
90672
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90433,7 +90700,7 @@ export declare const erasureContract: {
90433
90700
  };
90434
90701
  readonly read_unavailable: {
90435
90702
  readonly status: 503;
90436
- readonly data: z$1.ZodType<{
90703
+ readonly data: import("zod").ZodType<{
90437
90704
  traceId: string;
90438
90705
  recovery: {
90439
90706
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90463,7 +90730,7 @@ export declare const erasureContract: {
90463
90730
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90464
90731
  currentRevision?: string | undefined;
90465
90732
  retryAfterSeconds?: number | undefined;
90466
- }, unknown, z$1.core.$ZodTypeInternals<{
90733
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90467
90734
  traceId: string;
90468
90735
  recovery: {
90469
90736
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90497,7 +90764,7 @@ export declare const erasureContract: {
90497
90764
  };
90498
90765
  readonly stream_unavailable: {
90499
90766
  readonly status: 503;
90500
- readonly data: z$1.ZodType<{
90767
+ readonly data: import("zod").ZodType<{
90501
90768
  traceId: string;
90502
90769
  recovery: {
90503
90770
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90527,7 +90794,7 @@ export declare const erasureContract: {
90527
90794
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90528
90795
  currentRevision?: string | undefined;
90529
90796
  retryAfterSeconds?: number | undefined;
90530
- }, unknown, z$1.core.$ZodTypeInternals<{
90797
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90531
90798
  traceId: string;
90532
90799
  recovery: {
90533
90800
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90561,7 +90828,7 @@ export declare const erasureContract: {
90561
90828
  };
90562
90829
  readonly payload_too_large: {
90563
90830
  readonly status: 413;
90564
- readonly data: z$1.ZodType<{
90831
+ readonly data: import("zod").ZodType<{
90565
90832
  traceId: string;
90566
90833
  recovery: {
90567
90834
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90591,7 +90858,7 @@ export declare const erasureContract: {
90591
90858
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90592
90859
  currentRevision?: string | undefined;
90593
90860
  retryAfterSeconds?: number | undefined;
90594
- }, unknown, z$1.core.$ZodTypeInternals<{
90861
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90595
90862
  traceId: string;
90596
90863
  recovery: {
90597
90864
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90625,7 +90892,7 @@ export declare const erasureContract: {
90625
90892
  };
90626
90893
  readonly request_timeout: {
90627
90894
  readonly status: 503;
90628
- readonly data: z$1.ZodType<{
90895
+ readonly data: import("zod").ZodType<{
90629
90896
  traceId: string;
90630
90897
  recovery: {
90631
90898
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90655,7 +90922,7 @@ export declare const erasureContract: {
90655
90922
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90656
90923
  currentRevision?: string | undefined;
90657
90924
  retryAfterSeconds?: number | undefined;
90658
- }, unknown, z$1.core.$ZodTypeInternals<{
90925
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90659
90926
  traceId: string;
90660
90927
  recovery: {
90661
90928
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90689,7 +90956,7 @@ export declare const erasureContract: {
90689
90956
  };
90690
90957
  readonly operation_unconfirmed: {
90691
90958
  readonly status: 503;
90692
- readonly data: z$1.ZodType<{
90959
+ readonly data: import("zod").ZodType<{
90693
90960
  traceId: string;
90694
90961
  recovery: {
90695
90962
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90719,7 +90986,7 @@ export declare const erasureContract: {
90719
90986
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90720
90987
  currentRevision?: string | undefined;
90721
90988
  retryAfterSeconds?: number | undefined;
90722
- }, unknown, z$1.core.$ZodTypeInternals<{
90989
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90723
90990
  traceId: string;
90724
90991
  recovery: {
90725
90992
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90753,7 +91020,7 @@ export declare const erasureContract: {
90753
91020
  };
90754
91021
  readonly directory_unavailable: {
90755
91022
  readonly status: 503;
90756
- readonly data: z$1.ZodType<{
91023
+ readonly data: import("zod").ZodType<{
90757
91024
  traceId: string;
90758
91025
  recovery: {
90759
91026
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90783,7 +91050,7 @@ export declare const erasureContract: {
90783
91050
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90784
91051
  currentRevision?: string | undefined;
90785
91052
  retryAfterSeconds?: number | undefined;
90786
- }, unknown, z$1.core.$ZodTypeInternals<{
91053
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90787
91054
  traceId: string;
90788
91055
  recovery: {
90789
91056
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90816,21 +91083,21 @@ export declare const erasureContract: {
90816
91083
  }, unknown>>;
90817
91084
  };
90818
91085
  }>, Record<never, never>>;
90819
- submit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
90820
- requestId: z$1.ZodGUID;
90821
- accountId: z$1.ZodString;
90822
- reviewVersion: z$1.ZodString;
90823
- confirmation: z$1.ZodLiteral<"ERASE CUSTOMER">;
90824
- }, z$1.core.$strict>, z$1.ZodObject<{
90825
- requestId: z$1.ZodGUID;
90826
- state: z$1.ZodEnum<{
91086
+ submit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
91087
+ requestId: import("zod").ZodGUID;
91088
+ accountId: import("zod").ZodString;
91089
+ reviewVersion: import("zod").ZodString;
91090
+ confirmation: import("zod").ZodLiteral<"ERASE CUSTOMER">;
91091
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
91092
+ requestId: import("zod").ZodGUID;
91093
+ state: import("zod").ZodEnum<{
90827
91094
  blocked: "blocked";
90828
91095
  running: "running";
90829
91096
  completed: "completed";
90830
91097
  }>;
90831
- policy: z$1.ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
90832
- systems: z$1.ZodArray<z$1.ZodObject<{
90833
- system: z$1.ZodEnum<{
91098
+ policy: import("zod").ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
91099
+ systems: import("zod").ZodArray<import("zod").ZodObject<{
91100
+ system: import("zod").ZodEnum<{
90834
91101
  support: "support";
90835
91102
  access: "access";
90836
91103
  commerce: "commerce";
@@ -90838,20 +91105,20 @@ export declare const erasureContract: {
90838
91105
  aws: "aws";
90839
91106
  auth0: "auth0";
90840
91107
  }>;
90841
- state: z$1.ZodEnum<{
91108
+ state: import("zod").ZodEnum<{
90842
91109
  blocked: "blocked";
90843
91110
  completed: "completed";
90844
91111
  pending: "pending";
90845
91112
  }>;
90846
- code: z$1.ZodNullable<z$1.ZodString>;
90847
- }, z$1.core.$strict>>;
90848
- createdAt: z$1.ZodISODateTime;
90849
- updatedAt: z$1.ZodISODateTime;
90850
- cleanupAfter: z$1.ZodNullable<z$1.ZodISODateTime>;
90851
- }, z$1.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
91113
+ code: import("zod").ZodNullable<import("zod").ZodString>;
91114
+ }, import("zod/v4/core").$strict>>;
91115
+ createdAt: import("zod").ZodISODateTime;
91116
+ updatedAt: import("zod").ZodISODateTime;
91117
+ cleanupAfter: import("zod").ZodNullable<import("zod").ZodISODateTime>;
91118
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
90852
91119
  readonly invalid: {
90853
91120
  readonly status: 400;
90854
- readonly data: z$1.ZodType<{
91121
+ readonly data: import("zod").ZodType<{
90855
91122
  traceId: string;
90856
91123
  recovery: {
90857
91124
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90881,7 +91148,7 @@ export declare const erasureContract: {
90881
91148
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90882
91149
  currentRevision?: string | undefined;
90883
91150
  retryAfterSeconds?: number | undefined;
90884
- }, unknown, z$1.core.$ZodTypeInternals<{
91151
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90885
91152
  traceId: string;
90886
91153
  recovery: {
90887
91154
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90915,7 +91182,7 @@ export declare const erasureContract: {
90915
91182
  };
90916
91183
  readonly unauthenticated: {
90917
91184
  readonly status: 401;
90918
- readonly data: z$1.ZodType<{
91185
+ readonly data: import("zod").ZodType<{
90919
91186
  traceId: string;
90920
91187
  recovery: {
90921
91188
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90945,7 +91212,7 @@ export declare const erasureContract: {
90945
91212
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
90946
91213
  currentRevision?: string | undefined;
90947
91214
  retryAfterSeconds?: number | undefined;
90948
- }, unknown, z$1.core.$ZodTypeInternals<{
91215
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
90949
91216
  traceId: string;
90950
91217
  recovery: {
90951
91218
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -90979,7 +91246,7 @@ export declare const erasureContract: {
90979
91246
  };
90980
91247
  readonly forbidden: {
90981
91248
  readonly status: 403;
90982
- readonly data: z$1.ZodType<{
91249
+ readonly data: import("zod").ZodType<{
90983
91250
  traceId: string;
90984
91251
  recovery: {
90985
91252
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91009,7 +91276,7 @@ export declare const erasureContract: {
91009
91276
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91010
91277
  currentRevision?: string | undefined;
91011
91278
  retryAfterSeconds?: number | undefined;
91012
- }, unknown, z$1.core.$ZodTypeInternals<{
91279
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91013
91280
  traceId: string;
91014
91281
  recovery: {
91015
91282
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91043,7 +91310,7 @@ export declare const erasureContract: {
91043
91310
  };
91044
91311
  readonly not_found: {
91045
91312
  readonly status: 404;
91046
- readonly data: z$1.ZodType<{
91313
+ readonly data: import("zod").ZodType<{
91047
91314
  traceId: string;
91048
91315
  recovery: {
91049
91316
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91073,7 +91340,7 @@ export declare const erasureContract: {
91073
91340
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91074
91341
  currentRevision?: string | undefined;
91075
91342
  retryAfterSeconds?: number | undefined;
91076
- }, unknown, z$1.core.$ZodTypeInternals<{
91343
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91077
91344
  traceId: string;
91078
91345
  recovery: {
91079
91346
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91107,7 +91374,7 @@ export declare const erasureContract: {
91107
91374
  };
91108
91375
  readonly conflict: {
91109
91376
  readonly status: 409;
91110
- readonly data: z$1.ZodType<{
91377
+ readonly data: import("zod").ZodType<{
91111
91378
  traceId: string;
91112
91379
  recovery: {
91113
91380
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91137,7 +91404,7 @@ export declare const erasureContract: {
91137
91404
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91138
91405
  currentRevision?: string | undefined;
91139
91406
  retryAfterSeconds?: number | undefined;
91140
- }, unknown, z$1.core.$ZodTypeInternals<{
91407
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91141
91408
  traceId: string;
91142
91409
  recovery: {
91143
91410
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91171,7 +91438,7 @@ export declare const erasureContract: {
91171
91438
  };
91172
91439
  readonly rate_limited: {
91173
91440
  readonly status: 429;
91174
- readonly data: z$1.ZodType<{
91441
+ readonly data: import("zod").ZodType<{
91175
91442
  traceId: string;
91176
91443
  recovery: {
91177
91444
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91201,7 +91468,7 @@ export declare const erasureContract: {
91201
91468
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91202
91469
  currentRevision?: string | undefined;
91203
91470
  retryAfterSeconds?: number | undefined;
91204
- }, unknown, z$1.core.$ZodTypeInternals<{
91471
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91205
91472
  traceId: string;
91206
91473
  recovery: {
91207
91474
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91235,7 +91502,7 @@ export declare const erasureContract: {
91235
91502
  };
91236
91503
  readonly stored_data_invalid: {
91237
91504
  readonly status: 503;
91238
- readonly data: z$1.ZodType<{
91505
+ readonly data: import("zod").ZodType<{
91239
91506
  traceId: string;
91240
91507
  recovery: {
91241
91508
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91265,7 +91532,7 @@ export declare const erasureContract: {
91265
91532
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91266
91533
  currentRevision?: string | undefined;
91267
91534
  retryAfterSeconds?: number | undefined;
91268
- }, unknown, z$1.core.$ZodTypeInternals<{
91535
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91269
91536
  traceId: string;
91270
91537
  recovery: {
91271
91538
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91299,7 +91566,7 @@ export declare const erasureContract: {
91299
91566
  };
91300
91567
  readonly service_unavailable: {
91301
91568
  readonly status: 503;
91302
- readonly data: z$1.ZodType<{
91569
+ readonly data: import("zod").ZodType<{
91303
91570
  traceId: string;
91304
91571
  recovery: {
91305
91572
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91329,7 +91596,7 @@ export declare const erasureContract: {
91329
91596
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91330
91597
  currentRevision?: string | undefined;
91331
91598
  retryAfterSeconds?: number | undefined;
91332
- }, unknown, z$1.core.$ZodTypeInternals<{
91599
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91333
91600
  traceId: string;
91334
91601
  recovery: {
91335
91602
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91363,7 +91630,7 @@ export declare const erasureContract: {
91363
91630
  };
91364
91631
  readonly read_unavailable: {
91365
91632
  readonly status: 503;
91366
- readonly data: z$1.ZodType<{
91633
+ readonly data: import("zod").ZodType<{
91367
91634
  traceId: string;
91368
91635
  recovery: {
91369
91636
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91393,7 +91660,7 @@ export declare const erasureContract: {
91393
91660
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91394
91661
  currentRevision?: string | undefined;
91395
91662
  retryAfterSeconds?: number | undefined;
91396
- }, unknown, z$1.core.$ZodTypeInternals<{
91663
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91397
91664
  traceId: string;
91398
91665
  recovery: {
91399
91666
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91427,7 +91694,7 @@ export declare const erasureContract: {
91427
91694
  };
91428
91695
  readonly stream_unavailable: {
91429
91696
  readonly status: 503;
91430
- readonly data: z$1.ZodType<{
91697
+ readonly data: import("zod").ZodType<{
91431
91698
  traceId: string;
91432
91699
  recovery: {
91433
91700
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91457,7 +91724,7 @@ export declare const erasureContract: {
91457
91724
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91458
91725
  currentRevision?: string | undefined;
91459
91726
  retryAfterSeconds?: number | undefined;
91460
- }, unknown, z$1.core.$ZodTypeInternals<{
91727
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91461
91728
  traceId: string;
91462
91729
  recovery: {
91463
91730
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91491,7 +91758,7 @@ export declare const erasureContract: {
91491
91758
  };
91492
91759
  readonly payload_too_large: {
91493
91760
  readonly status: 413;
91494
- readonly data: z$1.ZodType<{
91761
+ readonly data: import("zod").ZodType<{
91495
91762
  traceId: string;
91496
91763
  recovery: {
91497
91764
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91521,7 +91788,7 @@ export declare const erasureContract: {
91521
91788
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91522
91789
  currentRevision?: string | undefined;
91523
91790
  retryAfterSeconds?: number | undefined;
91524
- }, unknown, z$1.core.$ZodTypeInternals<{
91791
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91525
91792
  traceId: string;
91526
91793
  recovery: {
91527
91794
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91555,7 +91822,7 @@ export declare const erasureContract: {
91555
91822
  };
91556
91823
  readonly request_timeout: {
91557
91824
  readonly status: 503;
91558
- readonly data: z$1.ZodType<{
91825
+ readonly data: import("zod").ZodType<{
91559
91826
  traceId: string;
91560
91827
  recovery: {
91561
91828
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91585,7 +91852,7 @@ export declare const erasureContract: {
91585
91852
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91586
91853
  currentRevision?: string | undefined;
91587
91854
  retryAfterSeconds?: number | undefined;
91588
- }, unknown, z$1.core.$ZodTypeInternals<{
91855
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91589
91856
  traceId: string;
91590
91857
  recovery: {
91591
91858
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91619,7 +91886,7 @@ export declare const erasureContract: {
91619
91886
  };
91620
91887
  readonly operation_unconfirmed: {
91621
91888
  readonly status: 503;
91622
- readonly data: z$1.ZodType<{
91889
+ readonly data: import("zod").ZodType<{
91623
91890
  traceId: string;
91624
91891
  recovery: {
91625
91892
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91649,7 +91916,7 @@ export declare const erasureContract: {
91649
91916
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91650
91917
  currentRevision?: string | undefined;
91651
91918
  retryAfterSeconds?: number | undefined;
91652
- }, unknown, z$1.core.$ZodTypeInternals<{
91919
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91653
91920
  traceId: string;
91654
91921
  recovery: {
91655
91922
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91683,7 +91950,7 @@ export declare const erasureContract: {
91683
91950
  };
91684
91951
  readonly directory_unavailable: {
91685
91952
  readonly status: 503;
91686
- readonly data: z$1.ZodType<{
91953
+ readonly data: import("zod").ZodType<{
91687
91954
  traceId: string;
91688
91955
  recovery: {
91689
91956
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91713,7 +91980,7 @@ export declare const erasureContract: {
91713
91980
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91714
91981
  currentRevision?: string | undefined;
91715
91982
  retryAfterSeconds?: number | undefined;
91716
- }, unknown, z$1.core.$ZodTypeInternals<{
91983
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91717
91984
  traceId: string;
91718
91985
  recovery: {
91719
91986
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91746,18 +92013,18 @@ export declare const erasureContract: {
91746
92013
  }, unknown>>;
91747
92014
  };
91748
92015
  }>, Record<never, never>>;
91749
- get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
91750
- requestId: z$1.ZodGUID;
91751
- }, z$1.core.$strict>, z$1.ZodObject<{
91752
- requestId: z$1.ZodGUID;
91753
- state: z$1.ZodEnum<{
92016
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
92017
+ requestId: import("zod").ZodGUID;
92018
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
92019
+ requestId: import("zod").ZodGUID;
92020
+ state: import("zod").ZodEnum<{
91754
92021
  blocked: "blocked";
91755
92022
  running: "running";
91756
92023
  completed: "completed";
91757
92024
  }>;
91758
- policy: z$1.ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
91759
- systems: z$1.ZodArray<z$1.ZodObject<{
91760
- system: z$1.ZodEnum<{
92025
+ policy: import("zod").ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
92026
+ systems: import("zod").ZodArray<import("zod").ZodObject<{
92027
+ system: import("zod").ZodEnum<{
91761
92028
  support: "support";
91762
92029
  access: "access";
91763
92030
  commerce: "commerce";
@@ -91765,20 +92032,20 @@ export declare const erasureContract: {
91765
92032
  aws: "aws";
91766
92033
  auth0: "auth0";
91767
92034
  }>;
91768
- state: z$1.ZodEnum<{
92035
+ state: import("zod").ZodEnum<{
91769
92036
  blocked: "blocked";
91770
92037
  completed: "completed";
91771
92038
  pending: "pending";
91772
92039
  }>;
91773
- code: z$1.ZodNullable<z$1.ZodString>;
91774
- }, z$1.core.$strict>>;
91775
- createdAt: z$1.ZodISODateTime;
91776
- updatedAt: z$1.ZodISODateTime;
91777
- cleanupAfter: z$1.ZodNullable<z$1.ZodISODateTime>;
91778
- }, z$1.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
92040
+ code: import("zod").ZodNullable<import("zod").ZodString>;
92041
+ }, import("zod/v4/core").$strict>>;
92042
+ createdAt: import("zod").ZodISODateTime;
92043
+ updatedAt: import("zod").ZodISODateTime;
92044
+ cleanupAfter: import("zod").ZodNullable<import("zod").ZodISODateTime>;
92045
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
91779
92046
  readonly invalid: {
91780
92047
  readonly status: 400;
91781
- readonly data: z$1.ZodType<{
92048
+ readonly data: import("zod").ZodType<{
91782
92049
  traceId: string;
91783
92050
  recovery: {
91784
92051
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91808,7 +92075,7 @@ export declare const erasureContract: {
91808
92075
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91809
92076
  currentRevision?: string | undefined;
91810
92077
  retryAfterSeconds?: number | undefined;
91811
- }, unknown, z$1.core.$ZodTypeInternals<{
92078
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91812
92079
  traceId: string;
91813
92080
  recovery: {
91814
92081
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91842,7 +92109,7 @@ export declare const erasureContract: {
91842
92109
  };
91843
92110
  readonly unauthenticated: {
91844
92111
  readonly status: 401;
91845
- readonly data: z$1.ZodType<{
92112
+ readonly data: import("zod").ZodType<{
91846
92113
  traceId: string;
91847
92114
  recovery: {
91848
92115
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91872,7 +92139,7 @@ export declare const erasureContract: {
91872
92139
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91873
92140
  currentRevision?: string | undefined;
91874
92141
  retryAfterSeconds?: number | undefined;
91875
- }, unknown, z$1.core.$ZodTypeInternals<{
92142
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91876
92143
  traceId: string;
91877
92144
  recovery: {
91878
92145
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91906,7 +92173,7 @@ export declare const erasureContract: {
91906
92173
  };
91907
92174
  readonly forbidden: {
91908
92175
  readonly status: 403;
91909
- readonly data: z$1.ZodType<{
92176
+ readonly data: import("zod").ZodType<{
91910
92177
  traceId: string;
91911
92178
  recovery: {
91912
92179
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91936,7 +92203,7 @@ export declare const erasureContract: {
91936
92203
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
91937
92204
  currentRevision?: string | undefined;
91938
92205
  retryAfterSeconds?: number | undefined;
91939
- }, unknown, z$1.core.$ZodTypeInternals<{
92206
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
91940
92207
  traceId: string;
91941
92208
  recovery: {
91942
92209
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -91970,7 +92237,7 @@ export declare const erasureContract: {
91970
92237
  };
91971
92238
  readonly not_found: {
91972
92239
  readonly status: 404;
91973
- readonly data: z$1.ZodType<{
92240
+ readonly data: import("zod").ZodType<{
91974
92241
  traceId: string;
91975
92242
  recovery: {
91976
92243
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92000,7 +92267,7 @@ export declare const erasureContract: {
92000
92267
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92001
92268
  currentRevision?: string | undefined;
92002
92269
  retryAfterSeconds?: number | undefined;
92003
- }, unknown, z$1.core.$ZodTypeInternals<{
92270
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92004
92271
  traceId: string;
92005
92272
  recovery: {
92006
92273
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92034,7 +92301,7 @@ export declare const erasureContract: {
92034
92301
  };
92035
92302
  readonly conflict: {
92036
92303
  readonly status: 409;
92037
- readonly data: z$1.ZodType<{
92304
+ readonly data: import("zod").ZodType<{
92038
92305
  traceId: string;
92039
92306
  recovery: {
92040
92307
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92064,7 +92331,7 @@ export declare const erasureContract: {
92064
92331
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92065
92332
  currentRevision?: string | undefined;
92066
92333
  retryAfterSeconds?: number | undefined;
92067
- }, unknown, z$1.core.$ZodTypeInternals<{
92334
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92068
92335
  traceId: string;
92069
92336
  recovery: {
92070
92337
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92098,7 +92365,7 @@ export declare const erasureContract: {
92098
92365
  };
92099
92366
  readonly rate_limited: {
92100
92367
  readonly status: 429;
92101
- readonly data: z$1.ZodType<{
92368
+ readonly data: import("zod").ZodType<{
92102
92369
  traceId: string;
92103
92370
  recovery: {
92104
92371
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92128,7 +92395,7 @@ export declare const erasureContract: {
92128
92395
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92129
92396
  currentRevision?: string | undefined;
92130
92397
  retryAfterSeconds?: number | undefined;
92131
- }, unknown, z$1.core.$ZodTypeInternals<{
92398
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92132
92399
  traceId: string;
92133
92400
  recovery: {
92134
92401
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92162,7 +92429,7 @@ export declare const erasureContract: {
92162
92429
  };
92163
92430
  readonly stored_data_invalid: {
92164
92431
  readonly status: 503;
92165
- readonly data: z$1.ZodType<{
92432
+ readonly data: import("zod").ZodType<{
92166
92433
  traceId: string;
92167
92434
  recovery: {
92168
92435
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92192,7 +92459,7 @@ export declare const erasureContract: {
92192
92459
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92193
92460
  currentRevision?: string | undefined;
92194
92461
  retryAfterSeconds?: number | undefined;
92195
- }, unknown, z$1.core.$ZodTypeInternals<{
92462
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92196
92463
  traceId: string;
92197
92464
  recovery: {
92198
92465
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92226,7 +92493,7 @@ export declare const erasureContract: {
92226
92493
  };
92227
92494
  readonly service_unavailable: {
92228
92495
  readonly status: 503;
92229
- readonly data: z$1.ZodType<{
92496
+ readonly data: import("zod").ZodType<{
92230
92497
  traceId: string;
92231
92498
  recovery: {
92232
92499
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92256,7 +92523,7 @@ export declare const erasureContract: {
92256
92523
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92257
92524
  currentRevision?: string | undefined;
92258
92525
  retryAfterSeconds?: number | undefined;
92259
- }, unknown, z$1.core.$ZodTypeInternals<{
92526
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92260
92527
  traceId: string;
92261
92528
  recovery: {
92262
92529
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92290,7 +92557,7 @@ export declare const erasureContract: {
92290
92557
  };
92291
92558
  readonly read_unavailable: {
92292
92559
  readonly status: 503;
92293
- readonly data: z$1.ZodType<{
92560
+ readonly data: import("zod").ZodType<{
92294
92561
  traceId: string;
92295
92562
  recovery: {
92296
92563
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92320,7 +92587,7 @@ export declare const erasureContract: {
92320
92587
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92321
92588
  currentRevision?: string | undefined;
92322
92589
  retryAfterSeconds?: number | undefined;
92323
- }, unknown, z$1.core.$ZodTypeInternals<{
92590
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92324
92591
  traceId: string;
92325
92592
  recovery: {
92326
92593
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92354,7 +92621,7 @@ export declare const erasureContract: {
92354
92621
  };
92355
92622
  readonly stream_unavailable: {
92356
92623
  readonly status: 503;
92357
- readonly data: z$1.ZodType<{
92624
+ readonly data: import("zod").ZodType<{
92358
92625
  traceId: string;
92359
92626
  recovery: {
92360
92627
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92384,7 +92651,7 @@ export declare const erasureContract: {
92384
92651
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92385
92652
  currentRevision?: string | undefined;
92386
92653
  retryAfterSeconds?: number | undefined;
92387
- }, unknown, z$1.core.$ZodTypeInternals<{
92654
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92388
92655
  traceId: string;
92389
92656
  recovery: {
92390
92657
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92418,7 +92685,7 @@ export declare const erasureContract: {
92418
92685
  };
92419
92686
  readonly payload_too_large: {
92420
92687
  readonly status: 413;
92421
- readonly data: z$1.ZodType<{
92688
+ readonly data: import("zod").ZodType<{
92422
92689
  traceId: string;
92423
92690
  recovery: {
92424
92691
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92448,7 +92715,7 @@ export declare const erasureContract: {
92448
92715
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92449
92716
  currentRevision?: string | undefined;
92450
92717
  retryAfterSeconds?: number | undefined;
92451
- }, unknown, z$1.core.$ZodTypeInternals<{
92718
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92452
92719
  traceId: string;
92453
92720
  recovery: {
92454
92721
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92482,7 +92749,7 @@ export declare const erasureContract: {
92482
92749
  };
92483
92750
  readonly request_timeout: {
92484
92751
  readonly status: 503;
92485
- readonly data: z$1.ZodType<{
92752
+ readonly data: import("zod").ZodType<{
92486
92753
  traceId: string;
92487
92754
  recovery: {
92488
92755
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92512,7 +92779,7 @@ export declare const erasureContract: {
92512
92779
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92513
92780
  currentRevision?: string | undefined;
92514
92781
  retryAfterSeconds?: number | undefined;
92515
- }, unknown, z$1.core.$ZodTypeInternals<{
92782
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92516
92783
  traceId: string;
92517
92784
  recovery: {
92518
92785
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92546,7 +92813,7 @@ export declare const erasureContract: {
92546
92813
  };
92547
92814
  readonly operation_unconfirmed: {
92548
92815
  readonly status: 503;
92549
- readonly data: z$1.ZodType<{
92816
+ readonly data: import("zod").ZodType<{
92550
92817
  traceId: string;
92551
92818
  recovery: {
92552
92819
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92576,7 +92843,7 @@ export declare const erasureContract: {
92576
92843
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92577
92844
  currentRevision?: string | undefined;
92578
92845
  retryAfterSeconds?: number | undefined;
92579
- }, unknown, z$1.core.$ZodTypeInternals<{
92846
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92580
92847
  traceId: string;
92581
92848
  recovery: {
92582
92849
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92610,7 +92877,7 @@ export declare const erasureContract: {
92610
92877
  };
92611
92878
  readonly directory_unavailable: {
92612
92879
  readonly status: 503;
92613
- readonly data: z$1.ZodType<{
92880
+ readonly data: import("zod").ZodType<{
92614
92881
  traceId: string;
92615
92882
  recovery: {
92616
92883
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92640,7 +92907,7 @@ export declare const erasureContract: {
92640
92907
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92641
92908
  currentRevision?: string | undefined;
92642
92909
  retryAfterSeconds?: number | undefined;
92643
- }, unknown, z$1.core.$ZodTypeInternals<{
92910
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92644
92911
  traceId: string;
92645
92912
  recovery: {
92646
92913
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92673,18 +92940,18 @@ export declare const erasureContract: {
92673
92940
  }, unknown>>;
92674
92941
  };
92675
92942
  }>, Record<never, never>>;
92676
- retry: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
92677
- requestId: z$1.ZodGUID;
92678
- }, z$1.core.$strict>, z$1.ZodObject<{
92679
- requestId: z$1.ZodGUID;
92680
- state: z$1.ZodEnum<{
92943
+ retry: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
92944
+ requestId: import("zod").ZodGUID;
92945
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
92946
+ requestId: import("zod").ZodGUID;
92947
+ state: import("zod").ZodEnum<{
92681
92948
  blocked: "blocked";
92682
92949
  running: "running";
92683
92950
  completed: "completed";
92684
92951
  }>;
92685
- policy: z$1.ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
92686
- systems: z$1.ZodArray<z$1.ZodObject<{
92687
- system: z$1.ZodEnum<{
92952
+ policy: import("zod").ZodLiteral<"anonymize-financial-records-cancel-subscriptions-preserve-shared-trackers-v1">;
92953
+ systems: import("zod").ZodArray<import("zod").ZodObject<{
92954
+ system: import("zod").ZodEnum<{
92688
92955
  support: "support";
92689
92956
  access: "access";
92690
92957
  commerce: "commerce";
@@ -92692,20 +92959,20 @@ export declare const erasureContract: {
92692
92959
  aws: "aws";
92693
92960
  auth0: "auth0";
92694
92961
  }>;
92695
- state: z$1.ZodEnum<{
92962
+ state: import("zod").ZodEnum<{
92696
92963
  blocked: "blocked";
92697
92964
  completed: "completed";
92698
92965
  pending: "pending";
92699
92966
  }>;
92700
- code: z$1.ZodNullable<z$1.ZodString>;
92701
- }, z$1.core.$strict>>;
92702
- createdAt: z$1.ZodISODateTime;
92703
- updatedAt: z$1.ZodISODateTime;
92704
- cleanupAfter: z$1.ZodNullable<z$1.ZodISODateTime>;
92705
- }, z$1.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
92967
+ code: import("zod").ZodNullable<import("zod").ZodString>;
92968
+ }, import("zod/v4/core").$strict>>;
92969
+ createdAt: import("zod").ZodISODateTime;
92970
+ updatedAt: import("zod").ZodISODateTime;
92971
+ cleanupAfter: import("zod").ZodNullable<import("zod").ZodISODateTime>;
92972
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
92706
92973
  readonly invalid: {
92707
92974
  readonly status: 400;
92708
- readonly data: z$1.ZodType<{
92975
+ readonly data: import("zod").ZodType<{
92709
92976
  traceId: string;
92710
92977
  recovery: {
92711
92978
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92735,7 +93002,7 @@ export declare const erasureContract: {
92735
93002
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92736
93003
  currentRevision?: string | undefined;
92737
93004
  retryAfterSeconds?: number | undefined;
92738
- }, unknown, z$1.core.$ZodTypeInternals<{
93005
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92739
93006
  traceId: string;
92740
93007
  recovery: {
92741
93008
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92769,7 +93036,7 @@ export declare const erasureContract: {
92769
93036
  };
92770
93037
  readonly unauthenticated: {
92771
93038
  readonly status: 401;
92772
- readonly data: z$1.ZodType<{
93039
+ readonly data: import("zod").ZodType<{
92773
93040
  traceId: string;
92774
93041
  recovery: {
92775
93042
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92799,7 +93066,7 @@ export declare const erasureContract: {
92799
93066
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92800
93067
  currentRevision?: string | undefined;
92801
93068
  retryAfterSeconds?: number | undefined;
92802
- }, unknown, z$1.core.$ZodTypeInternals<{
93069
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92803
93070
  traceId: string;
92804
93071
  recovery: {
92805
93072
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92833,7 +93100,7 @@ export declare const erasureContract: {
92833
93100
  };
92834
93101
  readonly forbidden: {
92835
93102
  readonly status: 403;
92836
- readonly data: z$1.ZodType<{
93103
+ readonly data: import("zod").ZodType<{
92837
93104
  traceId: string;
92838
93105
  recovery: {
92839
93106
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92863,7 +93130,7 @@ export declare const erasureContract: {
92863
93130
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92864
93131
  currentRevision?: string | undefined;
92865
93132
  retryAfterSeconds?: number | undefined;
92866
- }, unknown, z$1.core.$ZodTypeInternals<{
93133
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92867
93134
  traceId: string;
92868
93135
  recovery: {
92869
93136
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92897,7 +93164,7 @@ export declare const erasureContract: {
92897
93164
  };
92898
93165
  readonly not_found: {
92899
93166
  readonly status: 404;
92900
- readonly data: z$1.ZodType<{
93167
+ readonly data: import("zod").ZodType<{
92901
93168
  traceId: string;
92902
93169
  recovery: {
92903
93170
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92927,7 +93194,7 @@ export declare const erasureContract: {
92927
93194
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92928
93195
  currentRevision?: string | undefined;
92929
93196
  retryAfterSeconds?: number | undefined;
92930
- }, unknown, z$1.core.$ZodTypeInternals<{
93197
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92931
93198
  traceId: string;
92932
93199
  recovery: {
92933
93200
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92961,7 +93228,7 @@ export declare const erasureContract: {
92961
93228
  };
92962
93229
  readonly conflict: {
92963
93230
  readonly status: 409;
92964
- readonly data: z$1.ZodType<{
93231
+ readonly data: import("zod").ZodType<{
92965
93232
  traceId: string;
92966
93233
  recovery: {
92967
93234
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -92991,7 +93258,7 @@ export declare const erasureContract: {
92991
93258
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
92992
93259
  currentRevision?: string | undefined;
92993
93260
  retryAfterSeconds?: number | undefined;
92994
- }, unknown, z$1.core.$ZodTypeInternals<{
93261
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
92995
93262
  traceId: string;
92996
93263
  recovery: {
92997
93264
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93025,7 +93292,7 @@ export declare const erasureContract: {
93025
93292
  };
93026
93293
  readonly rate_limited: {
93027
93294
  readonly status: 429;
93028
- readonly data: z$1.ZodType<{
93295
+ readonly data: import("zod").ZodType<{
93029
93296
  traceId: string;
93030
93297
  recovery: {
93031
93298
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93055,7 +93322,7 @@ export declare const erasureContract: {
93055
93322
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93056
93323
  currentRevision?: string | undefined;
93057
93324
  retryAfterSeconds?: number | undefined;
93058
- }, unknown, z$1.core.$ZodTypeInternals<{
93325
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93059
93326
  traceId: string;
93060
93327
  recovery: {
93061
93328
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93089,7 +93356,7 @@ export declare const erasureContract: {
93089
93356
  };
93090
93357
  readonly stored_data_invalid: {
93091
93358
  readonly status: 503;
93092
- readonly data: z$1.ZodType<{
93359
+ readonly data: import("zod").ZodType<{
93093
93360
  traceId: string;
93094
93361
  recovery: {
93095
93362
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93119,7 +93386,7 @@ export declare const erasureContract: {
93119
93386
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93120
93387
  currentRevision?: string | undefined;
93121
93388
  retryAfterSeconds?: number | undefined;
93122
- }, unknown, z$1.core.$ZodTypeInternals<{
93389
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93123
93390
  traceId: string;
93124
93391
  recovery: {
93125
93392
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93153,7 +93420,7 @@ export declare const erasureContract: {
93153
93420
  };
93154
93421
  readonly service_unavailable: {
93155
93422
  readonly status: 503;
93156
- readonly data: z$1.ZodType<{
93423
+ readonly data: import("zod").ZodType<{
93157
93424
  traceId: string;
93158
93425
  recovery: {
93159
93426
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93183,7 +93450,7 @@ export declare const erasureContract: {
93183
93450
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93184
93451
  currentRevision?: string | undefined;
93185
93452
  retryAfterSeconds?: number | undefined;
93186
- }, unknown, z$1.core.$ZodTypeInternals<{
93453
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93187
93454
  traceId: string;
93188
93455
  recovery: {
93189
93456
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93217,7 +93484,7 @@ export declare const erasureContract: {
93217
93484
  };
93218
93485
  readonly read_unavailable: {
93219
93486
  readonly status: 503;
93220
- readonly data: z$1.ZodType<{
93487
+ readonly data: import("zod").ZodType<{
93221
93488
  traceId: string;
93222
93489
  recovery: {
93223
93490
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93247,7 +93514,7 @@ export declare const erasureContract: {
93247
93514
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93248
93515
  currentRevision?: string | undefined;
93249
93516
  retryAfterSeconds?: number | undefined;
93250
- }, unknown, z$1.core.$ZodTypeInternals<{
93517
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93251
93518
  traceId: string;
93252
93519
  recovery: {
93253
93520
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93281,7 +93548,7 @@ export declare const erasureContract: {
93281
93548
  };
93282
93549
  readonly stream_unavailable: {
93283
93550
  readonly status: 503;
93284
- readonly data: z$1.ZodType<{
93551
+ readonly data: import("zod").ZodType<{
93285
93552
  traceId: string;
93286
93553
  recovery: {
93287
93554
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93311,7 +93578,7 @@ export declare const erasureContract: {
93311
93578
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93312
93579
  currentRevision?: string | undefined;
93313
93580
  retryAfterSeconds?: number | undefined;
93314
- }, unknown, z$1.core.$ZodTypeInternals<{
93581
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93315
93582
  traceId: string;
93316
93583
  recovery: {
93317
93584
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93345,7 +93612,7 @@ export declare const erasureContract: {
93345
93612
  };
93346
93613
  readonly payload_too_large: {
93347
93614
  readonly status: 413;
93348
- readonly data: z$1.ZodType<{
93615
+ readonly data: import("zod").ZodType<{
93349
93616
  traceId: string;
93350
93617
  recovery: {
93351
93618
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93375,7 +93642,7 @@ export declare const erasureContract: {
93375
93642
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93376
93643
  currentRevision?: string | undefined;
93377
93644
  retryAfterSeconds?: number | undefined;
93378
- }, unknown, z$1.core.$ZodTypeInternals<{
93645
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93379
93646
  traceId: string;
93380
93647
  recovery: {
93381
93648
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93409,7 +93676,7 @@ export declare const erasureContract: {
93409
93676
  };
93410
93677
  readonly request_timeout: {
93411
93678
  readonly status: 503;
93412
- readonly data: z$1.ZodType<{
93679
+ readonly data: import("zod").ZodType<{
93413
93680
  traceId: string;
93414
93681
  recovery: {
93415
93682
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93439,7 +93706,7 @@ export declare const erasureContract: {
93439
93706
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93440
93707
  currentRevision?: string | undefined;
93441
93708
  retryAfterSeconds?: number | undefined;
93442
- }, unknown, z$1.core.$ZodTypeInternals<{
93709
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93443
93710
  traceId: string;
93444
93711
  recovery: {
93445
93712
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93473,7 +93740,7 @@ export declare const erasureContract: {
93473
93740
  };
93474
93741
  readonly operation_unconfirmed: {
93475
93742
  readonly status: 503;
93476
- readonly data: z$1.ZodType<{
93743
+ readonly data: import("zod").ZodType<{
93477
93744
  traceId: string;
93478
93745
  recovery: {
93479
93746
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93503,7 +93770,7 @@ export declare const erasureContract: {
93503
93770
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93504
93771
  currentRevision?: string | undefined;
93505
93772
  retryAfterSeconds?: number | undefined;
93506
- }, unknown, z$1.core.$ZodTypeInternals<{
93773
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93507
93774
  traceId: string;
93508
93775
  recovery: {
93509
93776
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93537,7 +93804,7 @@ export declare const erasureContract: {
93537
93804
  };
93538
93805
  readonly directory_unavailable: {
93539
93806
  readonly status: 503;
93540
- readonly data: z$1.ZodType<{
93807
+ readonly data: import("zod").ZodType<{
93541
93808
  traceId: string;
93542
93809
  recovery: {
93543
93810
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93567,7 +93834,7 @@ export declare const erasureContract: {
93567
93834
  reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
93568
93835
  currentRevision?: string | undefined;
93569
93836
  retryAfterSeconds?: number | undefined;
93570
- }, unknown, z$1.core.$ZodTypeInternals<{
93837
+ }, unknown, import("zod/v4/core").$ZodTypeInternals<{
93571
93838
  traceId: string;
93572
93839
  recovery: {
93573
93840
  action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
@@ -93601,9 +93868,6 @@ export declare const erasureContract: {
93601
93868
  };
93602
93869
  }>, Record<never, never>>;
93603
93870
  };
93604
- export type ErasureReview = z$1.infer<typeof erasureReview>;
93605
- export type ErasureSubmission = z$1.infer<typeof erasureSubmission>;
93606
- export type ErasureOperation = z$1.infer<typeof erasureOperation>;
93607
93871
  export declare const batteryFirmwareInput: z$1.ZodObject<{
93608
93872
  serialNumber: z$1.ZodString;
93609
93873
  idempotencyKey: z$1.ZodGUID;
@@ -179857,6 +180121,918 @@ export type DeviceInput = z$1.infer<typeof deviceInput>;
179857
180121
  export type DeviceLookupInput = z$1.infer<typeof deviceLookupInput>;
179858
180122
  declare const trackerContract: {
179859
180123
  members: {
180124
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
180125
+ deviceId: z$1.ZodString;
180126
+ revision: z$1.ZodString;
180127
+ after: z$1.ZodOptional<z$1.ZodString>;
180128
+ limit: z$1.ZodDefault<z$1.ZodInt>;
180129
+ }, z$1.core.$strict>, z$1.ZodObject<{
180130
+ items: z$1.ZodArray<z$1.ZodObject<{
180131
+ active: z$1.ZodNullable<z$1.ZodBoolean>;
180132
+ displayName: z$1.ZodNullable<z$1.ZodString>;
180133
+ listOrder: z$1.ZodNullable<z$1.ZodInt>;
180134
+ joinedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
180135
+ accountId: z$1.ZodString;
180136
+ }, z$1.core.$strip>>;
180137
+ nextAfter: z$1.ZodNullable<z$1.ZodString>;
180138
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
180139
+ readonly invalid: {
180140
+ readonly status: 400;
180141
+ readonly data: z$1.ZodType<{
180142
+ traceId: string;
180143
+ recovery: {
180144
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180145
+ } | {
180146
+ action: "read_operation";
180147
+ operation: {
180148
+ kind: "command";
180149
+ serialNumber: string;
180150
+ idempotencyKey: string;
180151
+ } | {
180152
+ kind: "firmware";
180153
+ serialNumber: string;
180154
+ updateId: string;
180155
+ } | {
180156
+ kind: "bluetooth_firmware";
180157
+ deviceId: string;
180158
+ updateId: string;
180159
+ } | {
180160
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180161
+ deviceId: string;
180162
+ requestId: string;
180163
+ } | {
180164
+ kind: "support";
180165
+ requestId: string;
180166
+ };
180167
+ };
180168
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180169
+ currentRevision?: string | undefined;
180170
+ retryAfterSeconds?: number | undefined;
180171
+ }, unknown, z$1.core.$ZodTypeInternals<{
180172
+ traceId: string;
180173
+ recovery: {
180174
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180175
+ } | {
180176
+ action: "read_operation";
180177
+ operation: {
180178
+ kind: "command";
180179
+ serialNumber: string;
180180
+ idempotencyKey: string;
180181
+ } | {
180182
+ kind: "firmware";
180183
+ serialNumber: string;
180184
+ updateId: string;
180185
+ } | {
180186
+ kind: "bluetooth_firmware";
180187
+ deviceId: string;
180188
+ updateId: string;
180189
+ } | {
180190
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180191
+ deviceId: string;
180192
+ requestId: string;
180193
+ } | {
180194
+ kind: "support";
180195
+ requestId: string;
180196
+ };
180197
+ };
180198
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180199
+ currentRevision?: string | undefined;
180200
+ retryAfterSeconds?: number | undefined;
180201
+ }, unknown>>;
180202
+ };
180203
+ readonly unauthenticated: {
180204
+ readonly status: 401;
180205
+ readonly data: z$1.ZodType<{
180206
+ traceId: string;
180207
+ recovery: {
180208
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180209
+ } | {
180210
+ action: "read_operation";
180211
+ operation: {
180212
+ kind: "command";
180213
+ serialNumber: string;
180214
+ idempotencyKey: string;
180215
+ } | {
180216
+ kind: "firmware";
180217
+ serialNumber: string;
180218
+ updateId: string;
180219
+ } | {
180220
+ kind: "bluetooth_firmware";
180221
+ deviceId: string;
180222
+ updateId: string;
180223
+ } | {
180224
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180225
+ deviceId: string;
180226
+ requestId: string;
180227
+ } | {
180228
+ kind: "support";
180229
+ requestId: string;
180230
+ };
180231
+ };
180232
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180233
+ currentRevision?: string | undefined;
180234
+ retryAfterSeconds?: number | undefined;
180235
+ }, unknown, z$1.core.$ZodTypeInternals<{
180236
+ traceId: string;
180237
+ recovery: {
180238
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180239
+ } | {
180240
+ action: "read_operation";
180241
+ operation: {
180242
+ kind: "command";
180243
+ serialNumber: string;
180244
+ idempotencyKey: string;
180245
+ } | {
180246
+ kind: "firmware";
180247
+ serialNumber: string;
180248
+ updateId: string;
180249
+ } | {
180250
+ kind: "bluetooth_firmware";
180251
+ deviceId: string;
180252
+ updateId: string;
180253
+ } | {
180254
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180255
+ deviceId: string;
180256
+ requestId: string;
180257
+ } | {
180258
+ kind: "support";
180259
+ requestId: string;
180260
+ };
180261
+ };
180262
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180263
+ currentRevision?: string | undefined;
180264
+ retryAfterSeconds?: number | undefined;
180265
+ }, unknown>>;
180266
+ };
180267
+ readonly forbidden: {
180268
+ readonly status: 403;
180269
+ readonly data: z$1.ZodType<{
180270
+ traceId: string;
180271
+ recovery: {
180272
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180273
+ } | {
180274
+ action: "read_operation";
180275
+ operation: {
180276
+ kind: "command";
180277
+ serialNumber: string;
180278
+ idempotencyKey: string;
180279
+ } | {
180280
+ kind: "firmware";
180281
+ serialNumber: string;
180282
+ updateId: string;
180283
+ } | {
180284
+ kind: "bluetooth_firmware";
180285
+ deviceId: string;
180286
+ updateId: string;
180287
+ } | {
180288
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180289
+ deviceId: string;
180290
+ requestId: string;
180291
+ } | {
180292
+ kind: "support";
180293
+ requestId: string;
180294
+ };
180295
+ };
180296
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180297
+ currentRevision?: string | undefined;
180298
+ retryAfterSeconds?: number | undefined;
180299
+ }, unknown, z$1.core.$ZodTypeInternals<{
180300
+ traceId: string;
180301
+ recovery: {
180302
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180303
+ } | {
180304
+ action: "read_operation";
180305
+ operation: {
180306
+ kind: "command";
180307
+ serialNumber: string;
180308
+ idempotencyKey: string;
180309
+ } | {
180310
+ kind: "firmware";
180311
+ serialNumber: string;
180312
+ updateId: string;
180313
+ } | {
180314
+ kind: "bluetooth_firmware";
180315
+ deviceId: string;
180316
+ updateId: string;
180317
+ } | {
180318
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180319
+ deviceId: string;
180320
+ requestId: string;
180321
+ } | {
180322
+ kind: "support";
180323
+ requestId: string;
180324
+ };
180325
+ };
180326
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180327
+ currentRevision?: string | undefined;
180328
+ retryAfterSeconds?: number | undefined;
180329
+ }, unknown>>;
180330
+ };
180331
+ readonly not_found: {
180332
+ readonly status: 404;
180333
+ readonly data: z$1.ZodType<{
180334
+ traceId: string;
180335
+ recovery: {
180336
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180337
+ } | {
180338
+ action: "read_operation";
180339
+ operation: {
180340
+ kind: "command";
180341
+ serialNumber: string;
180342
+ idempotencyKey: string;
180343
+ } | {
180344
+ kind: "firmware";
180345
+ serialNumber: string;
180346
+ updateId: string;
180347
+ } | {
180348
+ kind: "bluetooth_firmware";
180349
+ deviceId: string;
180350
+ updateId: string;
180351
+ } | {
180352
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180353
+ deviceId: string;
180354
+ requestId: string;
180355
+ } | {
180356
+ kind: "support";
180357
+ requestId: string;
180358
+ };
180359
+ };
180360
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180361
+ currentRevision?: string | undefined;
180362
+ retryAfterSeconds?: number | undefined;
180363
+ }, unknown, z$1.core.$ZodTypeInternals<{
180364
+ traceId: string;
180365
+ recovery: {
180366
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180367
+ } | {
180368
+ action: "read_operation";
180369
+ operation: {
180370
+ kind: "command";
180371
+ serialNumber: string;
180372
+ idempotencyKey: string;
180373
+ } | {
180374
+ kind: "firmware";
180375
+ serialNumber: string;
180376
+ updateId: string;
180377
+ } | {
180378
+ kind: "bluetooth_firmware";
180379
+ deviceId: string;
180380
+ updateId: string;
180381
+ } | {
180382
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180383
+ deviceId: string;
180384
+ requestId: string;
180385
+ } | {
180386
+ kind: "support";
180387
+ requestId: string;
180388
+ };
180389
+ };
180390
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180391
+ currentRevision?: string | undefined;
180392
+ retryAfterSeconds?: number | undefined;
180393
+ }, unknown>>;
180394
+ };
180395
+ readonly conflict: {
180396
+ readonly status: 409;
180397
+ readonly data: z$1.ZodType<{
180398
+ traceId: string;
180399
+ recovery: {
180400
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180401
+ } | {
180402
+ action: "read_operation";
180403
+ operation: {
180404
+ kind: "command";
180405
+ serialNumber: string;
180406
+ idempotencyKey: string;
180407
+ } | {
180408
+ kind: "firmware";
180409
+ serialNumber: string;
180410
+ updateId: string;
180411
+ } | {
180412
+ kind: "bluetooth_firmware";
180413
+ deviceId: string;
180414
+ updateId: string;
180415
+ } | {
180416
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180417
+ deviceId: string;
180418
+ requestId: string;
180419
+ } | {
180420
+ kind: "support";
180421
+ requestId: string;
180422
+ };
180423
+ };
180424
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180425
+ currentRevision?: string | undefined;
180426
+ retryAfterSeconds?: number | undefined;
180427
+ }, unknown, z$1.core.$ZodTypeInternals<{
180428
+ traceId: string;
180429
+ recovery: {
180430
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180431
+ } | {
180432
+ action: "read_operation";
180433
+ operation: {
180434
+ kind: "command";
180435
+ serialNumber: string;
180436
+ idempotencyKey: string;
180437
+ } | {
180438
+ kind: "firmware";
180439
+ serialNumber: string;
180440
+ updateId: string;
180441
+ } | {
180442
+ kind: "bluetooth_firmware";
180443
+ deviceId: string;
180444
+ updateId: string;
180445
+ } | {
180446
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180447
+ deviceId: string;
180448
+ requestId: string;
180449
+ } | {
180450
+ kind: "support";
180451
+ requestId: string;
180452
+ };
180453
+ };
180454
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180455
+ currentRevision?: string | undefined;
180456
+ retryAfterSeconds?: number | undefined;
180457
+ }, unknown>>;
180458
+ };
180459
+ readonly rate_limited: {
180460
+ readonly status: 429;
180461
+ readonly data: z$1.ZodType<{
180462
+ traceId: string;
180463
+ recovery: {
180464
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180465
+ } | {
180466
+ action: "read_operation";
180467
+ operation: {
180468
+ kind: "command";
180469
+ serialNumber: string;
180470
+ idempotencyKey: string;
180471
+ } | {
180472
+ kind: "firmware";
180473
+ serialNumber: string;
180474
+ updateId: string;
180475
+ } | {
180476
+ kind: "bluetooth_firmware";
180477
+ deviceId: string;
180478
+ updateId: string;
180479
+ } | {
180480
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180481
+ deviceId: string;
180482
+ requestId: string;
180483
+ } | {
180484
+ kind: "support";
180485
+ requestId: string;
180486
+ };
180487
+ };
180488
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180489
+ currentRevision?: string | undefined;
180490
+ retryAfterSeconds?: number | undefined;
180491
+ }, unknown, z$1.core.$ZodTypeInternals<{
180492
+ traceId: string;
180493
+ recovery: {
180494
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180495
+ } | {
180496
+ action: "read_operation";
180497
+ operation: {
180498
+ kind: "command";
180499
+ serialNumber: string;
180500
+ idempotencyKey: string;
180501
+ } | {
180502
+ kind: "firmware";
180503
+ serialNumber: string;
180504
+ updateId: string;
180505
+ } | {
180506
+ kind: "bluetooth_firmware";
180507
+ deviceId: string;
180508
+ updateId: string;
180509
+ } | {
180510
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180511
+ deviceId: string;
180512
+ requestId: string;
180513
+ } | {
180514
+ kind: "support";
180515
+ requestId: string;
180516
+ };
180517
+ };
180518
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180519
+ currentRevision?: string | undefined;
180520
+ retryAfterSeconds?: number | undefined;
180521
+ }, unknown>>;
180522
+ };
180523
+ readonly stored_data_invalid: {
180524
+ readonly status: 503;
180525
+ readonly data: z$1.ZodType<{
180526
+ traceId: string;
180527
+ recovery: {
180528
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180529
+ } | {
180530
+ action: "read_operation";
180531
+ operation: {
180532
+ kind: "command";
180533
+ serialNumber: string;
180534
+ idempotencyKey: string;
180535
+ } | {
180536
+ kind: "firmware";
180537
+ serialNumber: string;
180538
+ updateId: string;
180539
+ } | {
180540
+ kind: "bluetooth_firmware";
180541
+ deviceId: string;
180542
+ updateId: string;
180543
+ } | {
180544
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180545
+ deviceId: string;
180546
+ requestId: string;
180547
+ } | {
180548
+ kind: "support";
180549
+ requestId: string;
180550
+ };
180551
+ };
180552
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180553
+ currentRevision?: string | undefined;
180554
+ retryAfterSeconds?: number | undefined;
180555
+ }, unknown, z$1.core.$ZodTypeInternals<{
180556
+ traceId: string;
180557
+ recovery: {
180558
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180559
+ } | {
180560
+ action: "read_operation";
180561
+ operation: {
180562
+ kind: "command";
180563
+ serialNumber: string;
180564
+ idempotencyKey: string;
180565
+ } | {
180566
+ kind: "firmware";
180567
+ serialNumber: string;
180568
+ updateId: string;
180569
+ } | {
180570
+ kind: "bluetooth_firmware";
180571
+ deviceId: string;
180572
+ updateId: string;
180573
+ } | {
180574
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180575
+ deviceId: string;
180576
+ requestId: string;
180577
+ } | {
180578
+ kind: "support";
180579
+ requestId: string;
180580
+ };
180581
+ };
180582
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180583
+ currentRevision?: string | undefined;
180584
+ retryAfterSeconds?: number | undefined;
180585
+ }, unknown>>;
180586
+ };
180587
+ readonly service_unavailable: {
180588
+ readonly status: 503;
180589
+ readonly data: z$1.ZodType<{
180590
+ traceId: string;
180591
+ recovery: {
180592
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180593
+ } | {
180594
+ action: "read_operation";
180595
+ operation: {
180596
+ kind: "command";
180597
+ serialNumber: string;
180598
+ idempotencyKey: string;
180599
+ } | {
180600
+ kind: "firmware";
180601
+ serialNumber: string;
180602
+ updateId: string;
180603
+ } | {
180604
+ kind: "bluetooth_firmware";
180605
+ deviceId: string;
180606
+ updateId: string;
180607
+ } | {
180608
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180609
+ deviceId: string;
180610
+ requestId: string;
180611
+ } | {
180612
+ kind: "support";
180613
+ requestId: string;
180614
+ };
180615
+ };
180616
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180617
+ currentRevision?: string | undefined;
180618
+ retryAfterSeconds?: number | undefined;
180619
+ }, unknown, z$1.core.$ZodTypeInternals<{
180620
+ traceId: string;
180621
+ recovery: {
180622
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180623
+ } | {
180624
+ action: "read_operation";
180625
+ operation: {
180626
+ kind: "command";
180627
+ serialNumber: string;
180628
+ idempotencyKey: string;
180629
+ } | {
180630
+ kind: "firmware";
180631
+ serialNumber: string;
180632
+ updateId: string;
180633
+ } | {
180634
+ kind: "bluetooth_firmware";
180635
+ deviceId: string;
180636
+ updateId: string;
180637
+ } | {
180638
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180639
+ deviceId: string;
180640
+ requestId: string;
180641
+ } | {
180642
+ kind: "support";
180643
+ requestId: string;
180644
+ };
180645
+ };
180646
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180647
+ currentRevision?: string | undefined;
180648
+ retryAfterSeconds?: number | undefined;
180649
+ }, unknown>>;
180650
+ };
180651
+ readonly read_unavailable: {
180652
+ readonly status: 503;
180653
+ readonly data: z$1.ZodType<{
180654
+ traceId: string;
180655
+ recovery: {
180656
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180657
+ } | {
180658
+ action: "read_operation";
180659
+ operation: {
180660
+ kind: "command";
180661
+ serialNumber: string;
180662
+ idempotencyKey: string;
180663
+ } | {
180664
+ kind: "firmware";
180665
+ serialNumber: string;
180666
+ updateId: string;
180667
+ } | {
180668
+ kind: "bluetooth_firmware";
180669
+ deviceId: string;
180670
+ updateId: string;
180671
+ } | {
180672
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180673
+ deviceId: string;
180674
+ requestId: string;
180675
+ } | {
180676
+ kind: "support";
180677
+ requestId: string;
180678
+ };
180679
+ };
180680
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180681
+ currentRevision?: string | undefined;
180682
+ retryAfterSeconds?: number | undefined;
180683
+ }, unknown, z$1.core.$ZodTypeInternals<{
180684
+ traceId: string;
180685
+ recovery: {
180686
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180687
+ } | {
180688
+ action: "read_operation";
180689
+ operation: {
180690
+ kind: "command";
180691
+ serialNumber: string;
180692
+ idempotencyKey: string;
180693
+ } | {
180694
+ kind: "firmware";
180695
+ serialNumber: string;
180696
+ updateId: string;
180697
+ } | {
180698
+ kind: "bluetooth_firmware";
180699
+ deviceId: string;
180700
+ updateId: string;
180701
+ } | {
180702
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180703
+ deviceId: string;
180704
+ requestId: string;
180705
+ } | {
180706
+ kind: "support";
180707
+ requestId: string;
180708
+ };
180709
+ };
180710
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180711
+ currentRevision?: string | undefined;
180712
+ retryAfterSeconds?: number | undefined;
180713
+ }, unknown>>;
180714
+ };
180715
+ readonly stream_unavailable: {
180716
+ readonly status: 503;
180717
+ readonly data: z$1.ZodType<{
180718
+ traceId: string;
180719
+ recovery: {
180720
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180721
+ } | {
180722
+ action: "read_operation";
180723
+ operation: {
180724
+ kind: "command";
180725
+ serialNumber: string;
180726
+ idempotencyKey: string;
180727
+ } | {
180728
+ kind: "firmware";
180729
+ serialNumber: string;
180730
+ updateId: string;
180731
+ } | {
180732
+ kind: "bluetooth_firmware";
180733
+ deviceId: string;
180734
+ updateId: string;
180735
+ } | {
180736
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180737
+ deviceId: string;
180738
+ requestId: string;
180739
+ } | {
180740
+ kind: "support";
180741
+ requestId: string;
180742
+ };
180743
+ };
180744
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180745
+ currentRevision?: string | undefined;
180746
+ retryAfterSeconds?: number | undefined;
180747
+ }, unknown, z$1.core.$ZodTypeInternals<{
180748
+ traceId: string;
180749
+ recovery: {
180750
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180751
+ } | {
180752
+ action: "read_operation";
180753
+ operation: {
180754
+ kind: "command";
180755
+ serialNumber: string;
180756
+ idempotencyKey: string;
180757
+ } | {
180758
+ kind: "firmware";
180759
+ serialNumber: string;
180760
+ updateId: string;
180761
+ } | {
180762
+ kind: "bluetooth_firmware";
180763
+ deviceId: string;
180764
+ updateId: string;
180765
+ } | {
180766
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180767
+ deviceId: string;
180768
+ requestId: string;
180769
+ } | {
180770
+ kind: "support";
180771
+ requestId: string;
180772
+ };
180773
+ };
180774
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180775
+ currentRevision?: string | undefined;
180776
+ retryAfterSeconds?: number | undefined;
180777
+ }, unknown>>;
180778
+ };
180779
+ readonly payload_too_large: {
180780
+ readonly status: 413;
180781
+ readonly data: z$1.ZodType<{
180782
+ traceId: string;
180783
+ recovery: {
180784
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180785
+ } | {
180786
+ action: "read_operation";
180787
+ operation: {
180788
+ kind: "command";
180789
+ serialNumber: string;
180790
+ idempotencyKey: string;
180791
+ } | {
180792
+ kind: "firmware";
180793
+ serialNumber: string;
180794
+ updateId: string;
180795
+ } | {
180796
+ kind: "bluetooth_firmware";
180797
+ deviceId: string;
180798
+ updateId: string;
180799
+ } | {
180800
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180801
+ deviceId: string;
180802
+ requestId: string;
180803
+ } | {
180804
+ kind: "support";
180805
+ requestId: string;
180806
+ };
180807
+ };
180808
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180809
+ currentRevision?: string | undefined;
180810
+ retryAfterSeconds?: number | undefined;
180811
+ }, unknown, z$1.core.$ZodTypeInternals<{
180812
+ traceId: string;
180813
+ recovery: {
180814
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180815
+ } | {
180816
+ action: "read_operation";
180817
+ operation: {
180818
+ kind: "command";
180819
+ serialNumber: string;
180820
+ idempotencyKey: string;
180821
+ } | {
180822
+ kind: "firmware";
180823
+ serialNumber: string;
180824
+ updateId: string;
180825
+ } | {
180826
+ kind: "bluetooth_firmware";
180827
+ deviceId: string;
180828
+ updateId: string;
180829
+ } | {
180830
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180831
+ deviceId: string;
180832
+ requestId: string;
180833
+ } | {
180834
+ kind: "support";
180835
+ requestId: string;
180836
+ };
180837
+ };
180838
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180839
+ currentRevision?: string | undefined;
180840
+ retryAfterSeconds?: number | undefined;
180841
+ }, unknown>>;
180842
+ };
180843
+ readonly request_timeout: {
180844
+ readonly status: 503;
180845
+ readonly data: z$1.ZodType<{
180846
+ traceId: string;
180847
+ recovery: {
180848
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180849
+ } | {
180850
+ action: "read_operation";
180851
+ operation: {
180852
+ kind: "command";
180853
+ serialNumber: string;
180854
+ idempotencyKey: string;
180855
+ } | {
180856
+ kind: "firmware";
180857
+ serialNumber: string;
180858
+ updateId: string;
180859
+ } | {
180860
+ kind: "bluetooth_firmware";
180861
+ deviceId: string;
180862
+ updateId: string;
180863
+ } | {
180864
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180865
+ deviceId: string;
180866
+ requestId: string;
180867
+ } | {
180868
+ kind: "support";
180869
+ requestId: string;
180870
+ };
180871
+ };
180872
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180873
+ currentRevision?: string | undefined;
180874
+ retryAfterSeconds?: number | undefined;
180875
+ }, unknown, z$1.core.$ZodTypeInternals<{
180876
+ traceId: string;
180877
+ recovery: {
180878
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180879
+ } | {
180880
+ action: "read_operation";
180881
+ operation: {
180882
+ kind: "command";
180883
+ serialNumber: string;
180884
+ idempotencyKey: string;
180885
+ } | {
180886
+ kind: "firmware";
180887
+ serialNumber: string;
180888
+ updateId: string;
180889
+ } | {
180890
+ kind: "bluetooth_firmware";
180891
+ deviceId: string;
180892
+ updateId: string;
180893
+ } | {
180894
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180895
+ deviceId: string;
180896
+ requestId: string;
180897
+ } | {
180898
+ kind: "support";
180899
+ requestId: string;
180900
+ };
180901
+ };
180902
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180903
+ currentRevision?: string | undefined;
180904
+ retryAfterSeconds?: number | undefined;
180905
+ }, unknown>>;
180906
+ };
180907
+ readonly operation_unconfirmed: {
180908
+ readonly status: 503;
180909
+ readonly data: z$1.ZodType<{
180910
+ traceId: string;
180911
+ recovery: {
180912
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180913
+ } | {
180914
+ action: "read_operation";
180915
+ operation: {
180916
+ kind: "command";
180917
+ serialNumber: string;
180918
+ idempotencyKey: string;
180919
+ } | {
180920
+ kind: "firmware";
180921
+ serialNumber: string;
180922
+ updateId: string;
180923
+ } | {
180924
+ kind: "bluetooth_firmware";
180925
+ deviceId: string;
180926
+ updateId: string;
180927
+ } | {
180928
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180929
+ deviceId: string;
180930
+ requestId: string;
180931
+ } | {
180932
+ kind: "support";
180933
+ requestId: string;
180934
+ };
180935
+ };
180936
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180937
+ currentRevision?: string | undefined;
180938
+ retryAfterSeconds?: number | undefined;
180939
+ }, unknown, z$1.core.$ZodTypeInternals<{
180940
+ traceId: string;
180941
+ recovery: {
180942
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180943
+ } | {
180944
+ action: "read_operation";
180945
+ operation: {
180946
+ kind: "command";
180947
+ serialNumber: string;
180948
+ idempotencyKey: string;
180949
+ } | {
180950
+ kind: "firmware";
180951
+ serialNumber: string;
180952
+ updateId: string;
180953
+ } | {
180954
+ kind: "bluetooth_firmware";
180955
+ deviceId: string;
180956
+ updateId: string;
180957
+ } | {
180958
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180959
+ deviceId: string;
180960
+ requestId: string;
180961
+ } | {
180962
+ kind: "support";
180963
+ requestId: string;
180964
+ };
180965
+ };
180966
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
180967
+ currentRevision?: string | undefined;
180968
+ retryAfterSeconds?: number | undefined;
180969
+ }, unknown>>;
180970
+ };
180971
+ readonly directory_unavailable: {
180972
+ readonly status: 503;
180973
+ readonly data: z$1.ZodType<{
180974
+ traceId: string;
180975
+ recovery: {
180976
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
180977
+ } | {
180978
+ action: "read_operation";
180979
+ operation: {
180980
+ kind: "command";
180981
+ serialNumber: string;
180982
+ idempotencyKey: string;
180983
+ } | {
180984
+ kind: "firmware";
180985
+ serialNumber: string;
180986
+ updateId: string;
180987
+ } | {
180988
+ kind: "bluetooth_firmware";
180989
+ deviceId: string;
180990
+ updateId: string;
180991
+ } | {
180992
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
180993
+ deviceId: string;
180994
+ requestId: string;
180995
+ } | {
180996
+ kind: "support";
180997
+ requestId: string;
180998
+ };
180999
+ };
181000
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181001
+ currentRevision?: string | undefined;
181002
+ retryAfterSeconds?: number | undefined;
181003
+ }, unknown, z$1.core.$ZodTypeInternals<{
181004
+ traceId: string;
181005
+ recovery: {
181006
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
181007
+ } | {
181008
+ action: "read_operation";
181009
+ operation: {
181010
+ kind: "command";
181011
+ serialNumber: string;
181012
+ idempotencyKey: string;
181013
+ } | {
181014
+ kind: "firmware";
181015
+ serialNumber: string;
181016
+ updateId: string;
181017
+ } | {
181018
+ kind: "bluetooth_firmware";
181019
+ deviceId: string;
181020
+ updateId: string;
181021
+ } | {
181022
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
181023
+ deviceId: string;
181024
+ requestId: string;
181025
+ } | {
181026
+ kind: "support";
181027
+ requestId: string;
181028
+ };
181029
+ };
181030
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
181031
+ currentRevision?: string | undefined;
181032
+ retryAfterSeconds?: number | undefined;
181033
+ }, unknown>>;
181034
+ };
181035
+ }>, Record<never, never>>;
179860
181036
  add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
179861
181037
  deviceId: z$1.ZodString;
179862
181038
  memberId: z$1.ZodString;
@@ -182678,6 +183854,2080 @@ declare const trackerContract: {
182678
183854
  }, unknown>>;
182679
183855
  };
182680
183856
  }>, Record<never, never>>;
183857
+ getDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
183858
+ deviceId: z$1.ZodString;
183859
+ }, z$1.core.$strict>, z$1.ZodObject<{
183860
+ id: z$1.ZodString;
183861
+ firmware: z$1.ZodNullable<z$1.ZodObject<{
183862
+ lte: z$1.ZodNullable<z$1.ZodString>;
183863
+ bluetooth: z$1.ZodNullable<z$1.ZodString>;
183864
+ battery: z$1.ZodNullable<z$1.ZodString>;
183865
+ modem: z$1.ZodNullable<z$1.ZodString>;
183866
+ mtk: z$1.ZodNullable<z$1.ZodString>;
183867
+ ti: z$1.ZodNullable<z$1.ZodString>;
183868
+ buildNumber: z$1.ZodNullable<z$1.ZodInt>;
183869
+ }, z$1.core.$strip>>;
183870
+ subscription: z$1.ZodDiscriminatedUnion<[
183871
+ z$1.ZodObject<{
183872
+ id: z$1.ZodString;
183873
+ activity: z$1.ZodEnum<{
183874
+ unknown: "unknown";
183875
+ active: "active";
183876
+ inactive: "inactive";
183877
+ }>;
183878
+ isDemo: z$1.ZodBoolean;
183879
+ status: z$1.ZodNullable<z$1.ZodString>;
183880
+ country: z$1.ZodNullable<z$1.ZodString>;
183881
+ endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183882
+ state: z$1.ZodLiteral<"available">;
183883
+ }, z$1.core.$strip>,
183884
+ z$1.ZodObject<{
183885
+ state: z$1.ZodLiteral<"unavailable">;
183886
+ reason: z$1.ZodEnum<{
183887
+ invalid: "invalid";
183888
+ not_observed: "not_observed";
183889
+ not_assigned: "not_assigned";
183890
+ }>;
183891
+ }, z$1.core.$strip>
183892
+ ], "state">;
183893
+ createdAt: z$1.ZodISODateTime;
183894
+ revision: z$1.ZodString;
183895
+ battery: z$1.ZodDiscriminatedUnion<[
183896
+ z$1.ZodObject<{
183897
+ level: z$1.ZodNullable<z$1.ZodNumber>;
183898
+ isCharging: z$1.ZodNullable<z$1.ZodBoolean>;
183899
+ levelUpdatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183900
+ chargingObservedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183901
+ observation: z$1.ZodNullable<z$1.ZodObject<{
183902
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183903
+ receivedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183904
+ }, z$1.core.$strip>>;
183905
+ source: z$1.ZodNullable<z$1.ZodString>;
183906
+ state: z$1.ZodLiteral<"available">;
183907
+ }, z$1.core.$strip>,
183908
+ z$1.ZodObject<{
183909
+ state: z$1.ZodLiteral<"unavailable">;
183910
+ reason: z$1.ZodEnum<{
183911
+ invalid: "invalid";
183912
+ not_observed: "not_observed";
183913
+ not_assigned: "not_assigned";
183914
+ }>;
183915
+ }, z$1.core.$strip>
183916
+ ], "state">;
183917
+ generation: z$1.ZodNullable<z$1.ZodInt>;
183918
+ bike: z$1.ZodObject<{
183919
+ revision: z$1.ZodString;
183920
+ name: z$1.ZodNullable<z$1.ZodString>;
183921
+ brand: z$1.ZodNullable<z$1.ZodString>;
183922
+ type: z$1.ZodNullable<z$1.ZodString>;
183923
+ model: z$1.ZodNullable<z$1.ZodString>;
183924
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
183925
+ url: z$1.ZodNullable<z$1.ZodString>;
183926
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
183927
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
183928
+ }, z$1.core.$strip>;
183929
+ location: z$1.ZodDiscriminatedUnion<[
183930
+ z$1.ZodObject<{
183931
+ latitude: z$1.ZodNumber;
183932
+ longitude: z$1.ZodNumber;
183933
+ accuracy: z$1.ZodNullable<z$1.ZodNumber>;
183934
+ source: z$1.ZodNullable<z$1.ZodString>;
183935
+ observedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
183936
+ state: z$1.ZodLiteral<"available">;
183937
+ }, z$1.core.$strip>,
183938
+ z$1.ZodObject<{
183939
+ state: z$1.ZodLiteral<"unavailable">;
183940
+ reason: z$1.ZodEnum<{
183941
+ invalid: "invalid";
183942
+ not_observed: "not_observed";
183943
+ not_assigned: "not_assigned";
183944
+ }>;
183945
+ }, z$1.core.$strip>
183946
+ ], "state">;
183947
+ readIssues: z$1.ZodArray<z$1.ZodObject<{
183948
+ path: z$1.ZodString;
183949
+ code: z$1.ZodLiteral<"invalid_stored_value">;
183950
+ }, z$1.core.$strip>>;
183951
+ updatedAt: z$1.ZodISODateTime;
183952
+ hardware: z$1.ZodNullable<z$1.ZodObject<{
183953
+ imei: z$1.ZodNullable<z$1.ZodString>;
183954
+ iccid: z$1.ZodNullable<z$1.ZodString>;
183955
+ imsi: z$1.ZodNullable<z$1.ZodString>;
183956
+ serialNumber: z$1.ZodNullable<z$1.ZodString>;
183957
+ }, z$1.core.$strip>>;
183958
+ backend: z$1.ZodNullable<z$1.ZodString>;
183959
+ configuration: z$1.ZodNullable<z$1.ZodObject<{
183960
+ movementAlerts: z$1.ZodNullable<z$1.ZodBoolean>;
183961
+ isBlacklisted: z$1.ZodNullable<z$1.ZodBoolean>;
183962
+ }, z$1.core.$strip>>;
183963
+ membership: z$1.ZodObject<{
183964
+ revision: z$1.ZodString;
183965
+ memberCount: z$1.ZodInt;
183966
+ }, z$1.core.$strip>;
183967
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
183968
+ readonly invalid: {
183969
+ readonly status: 400;
183970
+ readonly data: z$1.ZodType<{
183971
+ traceId: string;
183972
+ recovery: {
183973
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
183974
+ } | {
183975
+ action: "read_operation";
183976
+ operation: {
183977
+ kind: "command";
183978
+ serialNumber: string;
183979
+ idempotencyKey: string;
183980
+ } | {
183981
+ kind: "firmware";
183982
+ serialNumber: string;
183983
+ updateId: string;
183984
+ } | {
183985
+ kind: "bluetooth_firmware";
183986
+ deviceId: string;
183987
+ updateId: string;
183988
+ } | {
183989
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
183990
+ deviceId: string;
183991
+ requestId: string;
183992
+ } | {
183993
+ kind: "support";
183994
+ requestId: string;
183995
+ };
183996
+ };
183997
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
183998
+ currentRevision?: string | undefined;
183999
+ retryAfterSeconds?: number | undefined;
184000
+ }, unknown, z$1.core.$ZodTypeInternals<{
184001
+ traceId: string;
184002
+ recovery: {
184003
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184004
+ } | {
184005
+ action: "read_operation";
184006
+ operation: {
184007
+ kind: "command";
184008
+ serialNumber: string;
184009
+ idempotencyKey: string;
184010
+ } | {
184011
+ kind: "firmware";
184012
+ serialNumber: string;
184013
+ updateId: string;
184014
+ } | {
184015
+ kind: "bluetooth_firmware";
184016
+ deviceId: string;
184017
+ updateId: string;
184018
+ } | {
184019
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184020
+ deviceId: string;
184021
+ requestId: string;
184022
+ } | {
184023
+ kind: "support";
184024
+ requestId: string;
184025
+ };
184026
+ };
184027
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184028
+ currentRevision?: string | undefined;
184029
+ retryAfterSeconds?: number | undefined;
184030
+ }, unknown>>;
184031
+ };
184032
+ readonly unauthenticated: {
184033
+ readonly status: 401;
184034
+ readonly data: z$1.ZodType<{
184035
+ traceId: string;
184036
+ recovery: {
184037
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184038
+ } | {
184039
+ action: "read_operation";
184040
+ operation: {
184041
+ kind: "command";
184042
+ serialNumber: string;
184043
+ idempotencyKey: string;
184044
+ } | {
184045
+ kind: "firmware";
184046
+ serialNumber: string;
184047
+ updateId: string;
184048
+ } | {
184049
+ kind: "bluetooth_firmware";
184050
+ deviceId: string;
184051
+ updateId: string;
184052
+ } | {
184053
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184054
+ deviceId: string;
184055
+ requestId: string;
184056
+ } | {
184057
+ kind: "support";
184058
+ requestId: string;
184059
+ };
184060
+ };
184061
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184062
+ currentRevision?: string | undefined;
184063
+ retryAfterSeconds?: number | undefined;
184064
+ }, unknown, z$1.core.$ZodTypeInternals<{
184065
+ traceId: string;
184066
+ recovery: {
184067
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184068
+ } | {
184069
+ action: "read_operation";
184070
+ operation: {
184071
+ kind: "command";
184072
+ serialNumber: string;
184073
+ idempotencyKey: string;
184074
+ } | {
184075
+ kind: "firmware";
184076
+ serialNumber: string;
184077
+ updateId: string;
184078
+ } | {
184079
+ kind: "bluetooth_firmware";
184080
+ deviceId: string;
184081
+ updateId: string;
184082
+ } | {
184083
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184084
+ deviceId: string;
184085
+ requestId: string;
184086
+ } | {
184087
+ kind: "support";
184088
+ requestId: string;
184089
+ };
184090
+ };
184091
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184092
+ currentRevision?: string | undefined;
184093
+ retryAfterSeconds?: number | undefined;
184094
+ }, unknown>>;
184095
+ };
184096
+ readonly forbidden: {
184097
+ readonly status: 403;
184098
+ readonly data: z$1.ZodType<{
184099
+ traceId: string;
184100
+ recovery: {
184101
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184102
+ } | {
184103
+ action: "read_operation";
184104
+ operation: {
184105
+ kind: "command";
184106
+ serialNumber: string;
184107
+ idempotencyKey: string;
184108
+ } | {
184109
+ kind: "firmware";
184110
+ serialNumber: string;
184111
+ updateId: string;
184112
+ } | {
184113
+ kind: "bluetooth_firmware";
184114
+ deviceId: string;
184115
+ updateId: string;
184116
+ } | {
184117
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184118
+ deviceId: string;
184119
+ requestId: string;
184120
+ } | {
184121
+ kind: "support";
184122
+ requestId: string;
184123
+ };
184124
+ };
184125
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184126
+ currentRevision?: string | undefined;
184127
+ retryAfterSeconds?: number | undefined;
184128
+ }, unknown, z$1.core.$ZodTypeInternals<{
184129
+ traceId: string;
184130
+ recovery: {
184131
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184132
+ } | {
184133
+ action: "read_operation";
184134
+ operation: {
184135
+ kind: "command";
184136
+ serialNumber: string;
184137
+ idempotencyKey: string;
184138
+ } | {
184139
+ kind: "firmware";
184140
+ serialNumber: string;
184141
+ updateId: string;
184142
+ } | {
184143
+ kind: "bluetooth_firmware";
184144
+ deviceId: string;
184145
+ updateId: string;
184146
+ } | {
184147
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184148
+ deviceId: string;
184149
+ requestId: string;
184150
+ } | {
184151
+ kind: "support";
184152
+ requestId: string;
184153
+ };
184154
+ };
184155
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184156
+ currentRevision?: string | undefined;
184157
+ retryAfterSeconds?: number | undefined;
184158
+ }, unknown>>;
184159
+ };
184160
+ readonly not_found: {
184161
+ readonly status: 404;
184162
+ readonly data: z$1.ZodType<{
184163
+ traceId: string;
184164
+ recovery: {
184165
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184166
+ } | {
184167
+ action: "read_operation";
184168
+ operation: {
184169
+ kind: "command";
184170
+ serialNumber: string;
184171
+ idempotencyKey: string;
184172
+ } | {
184173
+ kind: "firmware";
184174
+ serialNumber: string;
184175
+ updateId: string;
184176
+ } | {
184177
+ kind: "bluetooth_firmware";
184178
+ deviceId: string;
184179
+ updateId: string;
184180
+ } | {
184181
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184182
+ deviceId: string;
184183
+ requestId: string;
184184
+ } | {
184185
+ kind: "support";
184186
+ requestId: string;
184187
+ };
184188
+ };
184189
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184190
+ currentRevision?: string | undefined;
184191
+ retryAfterSeconds?: number | undefined;
184192
+ }, unknown, z$1.core.$ZodTypeInternals<{
184193
+ traceId: string;
184194
+ recovery: {
184195
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184196
+ } | {
184197
+ action: "read_operation";
184198
+ operation: {
184199
+ kind: "command";
184200
+ serialNumber: string;
184201
+ idempotencyKey: string;
184202
+ } | {
184203
+ kind: "firmware";
184204
+ serialNumber: string;
184205
+ updateId: string;
184206
+ } | {
184207
+ kind: "bluetooth_firmware";
184208
+ deviceId: string;
184209
+ updateId: string;
184210
+ } | {
184211
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184212
+ deviceId: string;
184213
+ requestId: string;
184214
+ } | {
184215
+ kind: "support";
184216
+ requestId: string;
184217
+ };
184218
+ };
184219
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184220
+ currentRevision?: string | undefined;
184221
+ retryAfterSeconds?: number | undefined;
184222
+ }, unknown>>;
184223
+ };
184224
+ readonly conflict: {
184225
+ readonly status: 409;
184226
+ readonly data: z$1.ZodType<{
184227
+ traceId: string;
184228
+ recovery: {
184229
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184230
+ } | {
184231
+ action: "read_operation";
184232
+ operation: {
184233
+ kind: "command";
184234
+ serialNumber: string;
184235
+ idempotencyKey: string;
184236
+ } | {
184237
+ kind: "firmware";
184238
+ serialNumber: string;
184239
+ updateId: string;
184240
+ } | {
184241
+ kind: "bluetooth_firmware";
184242
+ deviceId: string;
184243
+ updateId: string;
184244
+ } | {
184245
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184246
+ deviceId: string;
184247
+ requestId: string;
184248
+ } | {
184249
+ kind: "support";
184250
+ requestId: string;
184251
+ };
184252
+ };
184253
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184254
+ currentRevision?: string | undefined;
184255
+ retryAfterSeconds?: number | undefined;
184256
+ }, unknown, z$1.core.$ZodTypeInternals<{
184257
+ traceId: string;
184258
+ recovery: {
184259
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184260
+ } | {
184261
+ action: "read_operation";
184262
+ operation: {
184263
+ kind: "command";
184264
+ serialNumber: string;
184265
+ idempotencyKey: string;
184266
+ } | {
184267
+ kind: "firmware";
184268
+ serialNumber: string;
184269
+ updateId: string;
184270
+ } | {
184271
+ kind: "bluetooth_firmware";
184272
+ deviceId: string;
184273
+ updateId: string;
184274
+ } | {
184275
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184276
+ deviceId: string;
184277
+ requestId: string;
184278
+ } | {
184279
+ kind: "support";
184280
+ requestId: string;
184281
+ };
184282
+ };
184283
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184284
+ currentRevision?: string | undefined;
184285
+ retryAfterSeconds?: number | undefined;
184286
+ }, unknown>>;
184287
+ };
184288
+ readonly rate_limited: {
184289
+ readonly status: 429;
184290
+ readonly data: z$1.ZodType<{
184291
+ traceId: string;
184292
+ recovery: {
184293
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184294
+ } | {
184295
+ action: "read_operation";
184296
+ operation: {
184297
+ kind: "command";
184298
+ serialNumber: string;
184299
+ idempotencyKey: string;
184300
+ } | {
184301
+ kind: "firmware";
184302
+ serialNumber: string;
184303
+ updateId: string;
184304
+ } | {
184305
+ kind: "bluetooth_firmware";
184306
+ deviceId: string;
184307
+ updateId: string;
184308
+ } | {
184309
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184310
+ deviceId: string;
184311
+ requestId: string;
184312
+ } | {
184313
+ kind: "support";
184314
+ requestId: string;
184315
+ };
184316
+ };
184317
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184318
+ currentRevision?: string | undefined;
184319
+ retryAfterSeconds?: number | undefined;
184320
+ }, unknown, z$1.core.$ZodTypeInternals<{
184321
+ traceId: string;
184322
+ recovery: {
184323
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184324
+ } | {
184325
+ action: "read_operation";
184326
+ operation: {
184327
+ kind: "command";
184328
+ serialNumber: string;
184329
+ idempotencyKey: string;
184330
+ } | {
184331
+ kind: "firmware";
184332
+ serialNumber: string;
184333
+ updateId: string;
184334
+ } | {
184335
+ kind: "bluetooth_firmware";
184336
+ deviceId: string;
184337
+ updateId: string;
184338
+ } | {
184339
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184340
+ deviceId: string;
184341
+ requestId: string;
184342
+ } | {
184343
+ kind: "support";
184344
+ requestId: string;
184345
+ };
184346
+ };
184347
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184348
+ currentRevision?: string | undefined;
184349
+ retryAfterSeconds?: number | undefined;
184350
+ }, unknown>>;
184351
+ };
184352
+ readonly stored_data_invalid: {
184353
+ readonly status: 503;
184354
+ readonly data: z$1.ZodType<{
184355
+ traceId: string;
184356
+ recovery: {
184357
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184358
+ } | {
184359
+ action: "read_operation";
184360
+ operation: {
184361
+ kind: "command";
184362
+ serialNumber: string;
184363
+ idempotencyKey: string;
184364
+ } | {
184365
+ kind: "firmware";
184366
+ serialNumber: string;
184367
+ updateId: string;
184368
+ } | {
184369
+ kind: "bluetooth_firmware";
184370
+ deviceId: string;
184371
+ updateId: string;
184372
+ } | {
184373
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184374
+ deviceId: string;
184375
+ requestId: string;
184376
+ } | {
184377
+ kind: "support";
184378
+ requestId: string;
184379
+ };
184380
+ };
184381
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184382
+ currentRevision?: string | undefined;
184383
+ retryAfterSeconds?: number | undefined;
184384
+ }, unknown, z$1.core.$ZodTypeInternals<{
184385
+ traceId: string;
184386
+ recovery: {
184387
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184388
+ } | {
184389
+ action: "read_operation";
184390
+ operation: {
184391
+ kind: "command";
184392
+ serialNumber: string;
184393
+ idempotencyKey: string;
184394
+ } | {
184395
+ kind: "firmware";
184396
+ serialNumber: string;
184397
+ updateId: string;
184398
+ } | {
184399
+ kind: "bluetooth_firmware";
184400
+ deviceId: string;
184401
+ updateId: string;
184402
+ } | {
184403
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184404
+ deviceId: string;
184405
+ requestId: string;
184406
+ } | {
184407
+ kind: "support";
184408
+ requestId: string;
184409
+ };
184410
+ };
184411
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184412
+ currentRevision?: string | undefined;
184413
+ retryAfterSeconds?: number | undefined;
184414
+ }, unknown>>;
184415
+ };
184416
+ readonly service_unavailable: {
184417
+ readonly status: 503;
184418
+ readonly data: z$1.ZodType<{
184419
+ traceId: string;
184420
+ recovery: {
184421
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184422
+ } | {
184423
+ action: "read_operation";
184424
+ operation: {
184425
+ kind: "command";
184426
+ serialNumber: string;
184427
+ idempotencyKey: string;
184428
+ } | {
184429
+ kind: "firmware";
184430
+ serialNumber: string;
184431
+ updateId: string;
184432
+ } | {
184433
+ kind: "bluetooth_firmware";
184434
+ deviceId: string;
184435
+ updateId: string;
184436
+ } | {
184437
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184438
+ deviceId: string;
184439
+ requestId: string;
184440
+ } | {
184441
+ kind: "support";
184442
+ requestId: string;
184443
+ };
184444
+ };
184445
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184446
+ currentRevision?: string | undefined;
184447
+ retryAfterSeconds?: number | undefined;
184448
+ }, unknown, z$1.core.$ZodTypeInternals<{
184449
+ traceId: string;
184450
+ recovery: {
184451
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184452
+ } | {
184453
+ action: "read_operation";
184454
+ operation: {
184455
+ kind: "command";
184456
+ serialNumber: string;
184457
+ idempotencyKey: string;
184458
+ } | {
184459
+ kind: "firmware";
184460
+ serialNumber: string;
184461
+ updateId: string;
184462
+ } | {
184463
+ kind: "bluetooth_firmware";
184464
+ deviceId: string;
184465
+ updateId: string;
184466
+ } | {
184467
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184468
+ deviceId: string;
184469
+ requestId: string;
184470
+ } | {
184471
+ kind: "support";
184472
+ requestId: string;
184473
+ };
184474
+ };
184475
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184476
+ currentRevision?: string | undefined;
184477
+ retryAfterSeconds?: number | undefined;
184478
+ }, unknown>>;
184479
+ };
184480
+ readonly read_unavailable: {
184481
+ readonly status: 503;
184482
+ readonly data: z$1.ZodType<{
184483
+ traceId: string;
184484
+ recovery: {
184485
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184486
+ } | {
184487
+ action: "read_operation";
184488
+ operation: {
184489
+ kind: "command";
184490
+ serialNumber: string;
184491
+ idempotencyKey: string;
184492
+ } | {
184493
+ kind: "firmware";
184494
+ serialNumber: string;
184495
+ updateId: string;
184496
+ } | {
184497
+ kind: "bluetooth_firmware";
184498
+ deviceId: string;
184499
+ updateId: string;
184500
+ } | {
184501
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184502
+ deviceId: string;
184503
+ requestId: string;
184504
+ } | {
184505
+ kind: "support";
184506
+ requestId: string;
184507
+ };
184508
+ };
184509
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184510
+ currentRevision?: string | undefined;
184511
+ retryAfterSeconds?: number | undefined;
184512
+ }, unknown, z$1.core.$ZodTypeInternals<{
184513
+ traceId: string;
184514
+ recovery: {
184515
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184516
+ } | {
184517
+ action: "read_operation";
184518
+ operation: {
184519
+ kind: "command";
184520
+ serialNumber: string;
184521
+ idempotencyKey: string;
184522
+ } | {
184523
+ kind: "firmware";
184524
+ serialNumber: string;
184525
+ updateId: string;
184526
+ } | {
184527
+ kind: "bluetooth_firmware";
184528
+ deviceId: string;
184529
+ updateId: string;
184530
+ } | {
184531
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184532
+ deviceId: string;
184533
+ requestId: string;
184534
+ } | {
184535
+ kind: "support";
184536
+ requestId: string;
184537
+ };
184538
+ };
184539
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184540
+ currentRevision?: string | undefined;
184541
+ retryAfterSeconds?: number | undefined;
184542
+ }, unknown>>;
184543
+ };
184544
+ readonly stream_unavailable: {
184545
+ readonly status: 503;
184546
+ readonly data: z$1.ZodType<{
184547
+ traceId: string;
184548
+ recovery: {
184549
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184550
+ } | {
184551
+ action: "read_operation";
184552
+ operation: {
184553
+ kind: "command";
184554
+ serialNumber: string;
184555
+ idempotencyKey: string;
184556
+ } | {
184557
+ kind: "firmware";
184558
+ serialNumber: string;
184559
+ updateId: string;
184560
+ } | {
184561
+ kind: "bluetooth_firmware";
184562
+ deviceId: string;
184563
+ updateId: string;
184564
+ } | {
184565
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184566
+ deviceId: string;
184567
+ requestId: string;
184568
+ } | {
184569
+ kind: "support";
184570
+ requestId: string;
184571
+ };
184572
+ };
184573
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184574
+ currentRevision?: string | undefined;
184575
+ retryAfterSeconds?: number | undefined;
184576
+ }, unknown, z$1.core.$ZodTypeInternals<{
184577
+ traceId: string;
184578
+ recovery: {
184579
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184580
+ } | {
184581
+ action: "read_operation";
184582
+ operation: {
184583
+ kind: "command";
184584
+ serialNumber: string;
184585
+ idempotencyKey: string;
184586
+ } | {
184587
+ kind: "firmware";
184588
+ serialNumber: string;
184589
+ updateId: string;
184590
+ } | {
184591
+ kind: "bluetooth_firmware";
184592
+ deviceId: string;
184593
+ updateId: string;
184594
+ } | {
184595
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184596
+ deviceId: string;
184597
+ requestId: string;
184598
+ } | {
184599
+ kind: "support";
184600
+ requestId: string;
184601
+ };
184602
+ };
184603
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184604
+ currentRevision?: string | undefined;
184605
+ retryAfterSeconds?: number | undefined;
184606
+ }, unknown>>;
184607
+ };
184608
+ readonly payload_too_large: {
184609
+ readonly status: 413;
184610
+ readonly data: z$1.ZodType<{
184611
+ traceId: string;
184612
+ recovery: {
184613
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184614
+ } | {
184615
+ action: "read_operation";
184616
+ operation: {
184617
+ kind: "command";
184618
+ serialNumber: string;
184619
+ idempotencyKey: string;
184620
+ } | {
184621
+ kind: "firmware";
184622
+ serialNumber: string;
184623
+ updateId: string;
184624
+ } | {
184625
+ kind: "bluetooth_firmware";
184626
+ deviceId: string;
184627
+ updateId: string;
184628
+ } | {
184629
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184630
+ deviceId: string;
184631
+ requestId: string;
184632
+ } | {
184633
+ kind: "support";
184634
+ requestId: string;
184635
+ };
184636
+ };
184637
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184638
+ currentRevision?: string | undefined;
184639
+ retryAfterSeconds?: number | undefined;
184640
+ }, unknown, z$1.core.$ZodTypeInternals<{
184641
+ traceId: string;
184642
+ recovery: {
184643
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184644
+ } | {
184645
+ action: "read_operation";
184646
+ operation: {
184647
+ kind: "command";
184648
+ serialNumber: string;
184649
+ idempotencyKey: string;
184650
+ } | {
184651
+ kind: "firmware";
184652
+ serialNumber: string;
184653
+ updateId: string;
184654
+ } | {
184655
+ kind: "bluetooth_firmware";
184656
+ deviceId: string;
184657
+ updateId: string;
184658
+ } | {
184659
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184660
+ deviceId: string;
184661
+ requestId: string;
184662
+ } | {
184663
+ kind: "support";
184664
+ requestId: string;
184665
+ };
184666
+ };
184667
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184668
+ currentRevision?: string | undefined;
184669
+ retryAfterSeconds?: number | undefined;
184670
+ }, unknown>>;
184671
+ };
184672
+ readonly request_timeout: {
184673
+ readonly status: 503;
184674
+ readonly data: z$1.ZodType<{
184675
+ traceId: string;
184676
+ recovery: {
184677
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184678
+ } | {
184679
+ action: "read_operation";
184680
+ operation: {
184681
+ kind: "command";
184682
+ serialNumber: string;
184683
+ idempotencyKey: string;
184684
+ } | {
184685
+ kind: "firmware";
184686
+ serialNumber: string;
184687
+ updateId: string;
184688
+ } | {
184689
+ kind: "bluetooth_firmware";
184690
+ deviceId: string;
184691
+ updateId: string;
184692
+ } | {
184693
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184694
+ deviceId: string;
184695
+ requestId: string;
184696
+ } | {
184697
+ kind: "support";
184698
+ requestId: string;
184699
+ };
184700
+ };
184701
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184702
+ currentRevision?: string | undefined;
184703
+ retryAfterSeconds?: number | undefined;
184704
+ }, unknown, z$1.core.$ZodTypeInternals<{
184705
+ traceId: string;
184706
+ recovery: {
184707
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184708
+ } | {
184709
+ action: "read_operation";
184710
+ operation: {
184711
+ kind: "command";
184712
+ serialNumber: string;
184713
+ idempotencyKey: string;
184714
+ } | {
184715
+ kind: "firmware";
184716
+ serialNumber: string;
184717
+ updateId: string;
184718
+ } | {
184719
+ kind: "bluetooth_firmware";
184720
+ deviceId: string;
184721
+ updateId: string;
184722
+ } | {
184723
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184724
+ deviceId: string;
184725
+ requestId: string;
184726
+ } | {
184727
+ kind: "support";
184728
+ requestId: string;
184729
+ };
184730
+ };
184731
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184732
+ currentRevision?: string | undefined;
184733
+ retryAfterSeconds?: number | undefined;
184734
+ }, unknown>>;
184735
+ };
184736
+ readonly operation_unconfirmed: {
184737
+ readonly status: 503;
184738
+ readonly data: z$1.ZodType<{
184739
+ traceId: string;
184740
+ recovery: {
184741
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184742
+ } | {
184743
+ action: "read_operation";
184744
+ operation: {
184745
+ kind: "command";
184746
+ serialNumber: string;
184747
+ idempotencyKey: string;
184748
+ } | {
184749
+ kind: "firmware";
184750
+ serialNumber: string;
184751
+ updateId: string;
184752
+ } | {
184753
+ kind: "bluetooth_firmware";
184754
+ deviceId: string;
184755
+ updateId: string;
184756
+ } | {
184757
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184758
+ deviceId: string;
184759
+ requestId: string;
184760
+ } | {
184761
+ kind: "support";
184762
+ requestId: string;
184763
+ };
184764
+ };
184765
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184766
+ currentRevision?: string | undefined;
184767
+ retryAfterSeconds?: number | undefined;
184768
+ }, unknown, z$1.core.$ZodTypeInternals<{
184769
+ traceId: string;
184770
+ recovery: {
184771
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184772
+ } | {
184773
+ action: "read_operation";
184774
+ operation: {
184775
+ kind: "command";
184776
+ serialNumber: string;
184777
+ idempotencyKey: string;
184778
+ } | {
184779
+ kind: "firmware";
184780
+ serialNumber: string;
184781
+ updateId: string;
184782
+ } | {
184783
+ kind: "bluetooth_firmware";
184784
+ deviceId: string;
184785
+ updateId: string;
184786
+ } | {
184787
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184788
+ deviceId: string;
184789
+ requestId: string;
184790
+ } | {
184791
+ kind: "support";
184792
+ requestId: string;
184793
+ };
184794
+ };
184795
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184796
+ currentRevision?: string | undefined;
184797
+ retryAfterSeconds?: number | undefined;
184798
+ }, unknown>>;
184799
+ };
184800
+ readonly directory_unavailable: {
184801
+ readonly status: 503;
184802
+ readonly data: z$1.ZodType<{
184803
+ traceId: string;
184804
+ recovery: {
184805
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184806
+ } | {
184807
+ action: "read_operation";
184808
+ operation: {
184809
+ kind: "command";
184810
+ serialNumber: string;
184811
+ idempotencyKey: string;
184812
+ } | {
184813
+ kind: "firmware";
184814
+ serialNumber: string;
184815
+ updateId: string;
184816
+ } | {
184817
+ kind: "bluetooth_firmware";
184818
+ deviceId: string;
184819
+ updateId: string;
184820
+ } | {
184821
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184822
+ deviceId: string;
184823
+ requestId: string;
184824
+ } | {
184825
+ kind: "support";
184826
+ requestId: string;
184827
+ };
184828
+ };
184829
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184830
+ currentRevision?: string | undefined;
184831
+ retryAfterSeconds?: number | undefined;
184832
+ }, unknown, z$1.core.$ZodTypeInternals<{
184833
+ traceId: string;
184834
+ recovery: {
184835
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
184836
+ } | {
184837
+ action: "read_operation";
184838
+ operation: {
184839
+ kind: "command";
184840
+ serialNumber: string;
184841
+ idempotencyKey: string;
184842
+ } | {
184843
+ kind: "firmware";
184844
+ serialNumber: string;
184845
+ updateId: string;
184846
+ } | {
184847
+ kind: "bluetooth_firmware";
184848
+ deviceId: string;
184849
+ updateId: string;
184850
+ } | {
184851
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
184852
+ deviceId: string;
184853
+ requestId: string;
184854
+ } | {
184855
+ kind: "support";
184856
+ requestId: string;
184857
+ };
184858
+ };
184859
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
184860
+ currentRevision?: string | undefined;
184861
+ retryAfterSeconds?: number | undefined;
184862
+ }, unknown>>;
184863
+ };
184864
+ }>, Record<never, never>>;
184865
+ watchDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
184866
+ deviceId: z$1.ZodString;
184867
+ }, z$1.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
184868
+ id: string;
184869
+ firmware: {
184870
+ lte: string | null;
184871
+ bluetooth: string | null;
184872
+ battery: string | null;
184873
+ modem: string | null;
184874
+ mtk: string | null;
184875
+ ti: string | null;
184876
+ buildNumber: number | null;
184877
+ } | null;
184878
+ subscription: {
184879
+ state: "unavailable";
184880
+ reason: "invalid" | "not_observed" | "not_assigned";
184881
+ } | {
184882
+ id: string;
184883
+ activity: "unknown" | "active" | "inactive";
184884
+ isDemo: boolean;
184885
+ status: string | null;
184886
+ country: string | null;
184887
+ endsAt: string | null;
184888
+ state: "available";
184889
+ };
184890
+ createdAt: string;
184891
+ revision: string;
184892
+ battery: {
184893
+ state: "unavailable";
184894
+ reason: "invalid" | "not_observed" | "not_assigned";
184895
+ } | {
184896
+ level: number | null;
184897
+ isCharging: boolean | null;
184898
+ levelUpdatedAt: string | null;
184899
+ chargingObservedAt: string | null;
184900
+ observation: {
184901
+ observedAt: string | null;
184902
+ receivedAt: string | null;
184903
+ } | null;
184904
+ source: string | null;
184905
+ state: "available";
184906
+ };
184907
+ generation: number | null;
184908
+ bike: {
184909
+ revision: string;
184910
+ name: string | null;
184911
+ brand: string | null;
184912
+ type: string | null;
184913
+ model: string | null;
184914
+ frameNumber: string | null;
184915
+ url: string | null;
184916
+ marketPrice: string | null;
184917
+ marketPriceCurrency: string | null;
184918
+ };
184919
+ location: {
184920
+ state: "unavailable";
184921
+ reason: "invalid" | "not_observed" | "not_assigned";
184922
+ } | {
184923
+ latitude: number;
184924
+ longitude: number;
184925
+ accuracy: number | null;
184926
+ source: string | null;
184927
+ observedAt: string | null;
184928
+ state: "available";
184929
+ };
184930
+ readIssues: {
184931
+ path: string;
184932
+ code: "invalid_stored_value";
184933
+ }[];
184934
+ updatedAt: string;
184935
+ hardware: {
184936
+ imei: string | null;
184937
+ iccid: string | null;
184938
+ imsi: string | null;
184939
+ serialNumber: string | null;
184940
+ } | null;
184941
+ backend: string | null;
184942
+ configuration: {
184943
+ movementAlerts: boolean | null;
184944
+ isBlacklisted: boolean | null;
184945
+ } | null;
184946
+ membership: {
184947
+ revision: string;
184948
+ memberCount: number;
184949
+ };
184950
+ }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
184951
+ id: string;
184952
+ firmware: {
184953
+ lte: string | null;
184954
+ bluetooth: string | null;
184955
+ battery: string | null;
184956
+ modem: string | null;
184957
+ mtk: string | null;
184958
+ ti: string | null;
184959
+ buildNumber: number | null;
184960
+ } | null;
184961
+ subscription: {
184962
+ state: "unavailable";
184963
+ reason: "invalid" | "not_observed" | "not_assigned";
184964
+ } | {
184965
+ id: string;
184966
+ activity: "unknown" | "active" | "inactive";
184967
+ isDemo: boolean;
184968
+ status: string | null;
184969
+ country: string | null;
184970
+ endsAt: string | null;
184971
+ state: "available";
184972
+ };
184973
+ createdAt: string;
184974
+ revision: string;
184975
+ battery: {
184976
+ state: "unavailable";
184977
+ reason: "invalid" | "not_observed" | "not_assigned";
184978
+ } | {
184979
+ level: number | null;
184980
+ isCharging: boolean | null;
184981
+ levelUpdatedAt: string | null;
184982
+ chargingObservedAt: string | null;
184983
+ observation: {
184984
+ observedAt: string | null;
184985
+ receivedAt: string | null;
184986
+ } | null;
184987
+ source: string | null;
184988
+ state: "available";
184989
+ };
184990
+ generation: number | null;
184991
+ bike: {
184992
+ revision: string;
184993
+ name: string | null;
184994
+ brand: string | null;
184995
+ type: string | null;
184996
+ model: string | null;
184997
+ frameNumber: string | null;
184998
+ url: string | null;
184999
+ marketPrice: string | null;
185000
+ marketPriceCurrency: string | null;
185001
+ };
185002
+ location: {
185003
+ state: "unavailable";
185004
+ reason: "invalid" | "not_observed" | "not_assigned";
185005
+ } | {
185006
+ latitude: number;
185007
+ longitude: number;
185008
+ accuracy: number | null;
185009
+ source: string | null;
185010
+ observedAt: string | null;
185011
+ state: "available";
185012
+ };
185013
+ readIssues: {
185014
+ path: string;
185015
+ code: "invalid_stored_value";
185016
+ }[];
185017
+ updatedAt: string;
185018
+ hardware: {
185019
+ imei: string | null;
185020
+ iccid: string | null;
185021
+ imsi: string | null;
185022
+ serialNumber: string | null;
185023
+ } | null;
185024
+ backend: string | null;
185025
+ configuration: {
185026
+ movementAlerts: boolean | null;
185027
+ isBlacklisted: boolean | null;
185028
+ } | null;
185029
+ membership: {
185030
+ revision: string;
185031
+ memberCount: number;
185032
+ };
185033
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
185034
+ readonly invalid: {
185035
+ readonly status: 400;
185036
+ readonly data: z$1.ZodType<{
185037
+ traceId: string;
185038
+ recovery: {
185039
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185040
+ } | {
185041
+ action: "read_operation";
185042
+ operation: {
185043
+ kind: "command";
185044
+ serialNumber: string;
185045
+ idempotencyKey: string;
185046
+ } | {
185047
+ kind: "firmware";
185048
+ serialNumber: string;
185049
+ updateId: string;
185050
+ } | {
185051
+ kind: "bluetooth_firmware";
185052
+ deviceId: string;
185053
+ updateId: string;
185054
+ } | {
185055
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185056
+ deviceId: string;
185057
+ requestId: string;
185058
+ } | {
185059
+ kind: "support";
185060
+ requestId: string;
185061
+ };
185062
+ };
185063
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185064
+ currentRevision?: string | undefined;
185065
+ retryAfterSeconds?: number | undefined;
185066
+ }, unknown, z$1.core.$ZodTypeInternals<{
185067
+ traceId: string;
185068
+ recovery: {
185069
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185070
+ } | {
185071
+ action: "read_operation";
185072
+ operation: {
185073
+ kind: "command";
185074
+ serialNumber: string;
185075
+ idempotencyKey: string;
185076
+ } | {
185077
+ kind: "firmware";
185078
+ serialNumber: string;
185079
+ updateId: string;
185080
+ } | {
185081
+ kind: "bluetooth_firmware";
185082
+ deviceId: string;
185083
+ updateId: string;
185084
+ } | {
185085
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185086
+ deviceId: string;
185087
+ requestId: string;
185088
+ } | {
185089
+ kind: "support";
185090
+ requestId: string;
185091
+ };
185092
+ };
185093
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185094
+ currentRevision?: string | undefined;
185095
+ retryAfterSeconds?: number | undefined;
185096
+ }, unknown>>;
185097
+ };
185098
+ readonly unauthenticated: {
185099
+ readonly status: 401;
185100
+ readonly data: z$1.ZodType<{
185101
+ traceId: string;
185102
+ recovery: {
185103
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185104
+ } | {
185105
+ action: "read_operation";
185106
+ operation: {
185107
+ kind: "command";
185108
+ serialNumber: string;
185109
+ idempotencyKey: string;
185110
+ } | {
185111
+ kind: "firmware";
185112
+ serialNumber: string;
185113
+ updateId: string;
185114
+ } | {
185115
+ kind: "bluetooth_firmware";
185116
+ deviceId: string;
185117
+ updateId: string;
185118
+ } | {
185119
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185120
+ deviceId: string;
185121
+ requestId: string;
185122
+ } | {
185123
+ kind: "support";
185124
+ requestId: string;
185125
+ };
185126
+ };
185127
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185128
+ currentRevision?: string | undefined;
185129
+ retryAfterSeconds?: number | undefined;
185130
+ }, unknown, z$1.core.$ZodTypeInternals<{
185131
+ traceId: string;
185132
+ recovery: {
185133
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185134
+ } | {
185135
+ action: "read_operation";
185136
+ operation: {
185137
+ kind: "command";
185138
+ serialNumber: string;
185139
+ idempotencyKey: string;
185140
+ } | {
185141
+ kind: "firmware";
185142
+ serialNumber: string;
185143
+ updateId: string;
185144
+ } | {
185145
+ kind: "bluetooth_firmware";
185146
+ deviceId: string;
185147
+ updateId: string;
185148
+ } | {
185149
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185150
+ deviceId: string;
185151
+ requestId: string;
185152
+ } | {
185153
+ kind: "support";
185154
+ requestId: string;
185155
+ };
185156
+ };
185157
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185158
+ currentRevision?: string | undefined;
185159
+ retryAfterSeconds?: number | undefined;
185160
+ }, unknown>>;
185161
+ };
185162
+ readonly forbidden: {
185163
+ readonly status: 403;
185164
+ readonly data: z$1.ZodType<{
185165
+ traceId: string;
185166
+ recovery: {
185167
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185168
+ } | {
185169
+ action: "read_operation";
185170
+ operation: {
185171
+ kind: "command";
185172
+ serialNumber: string;
185173
+ idempotencyKey: string;
185174
+ } | {
185175
+ kind: "firmware";
185176
+ serialNumber: string;
185177
+ updateId: string;
185178
+ } | {
185179
+ kind: "bluetooth_firmware";
185180
+ deviceId: string;
185181
+ updateId: string;
185182
+ } | {
185183
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185184
+ deviceId: string;
185185
+ requestId: string;
185186
+ } | {
185187
+ kind: "support";
185188
+ requestId: string;
185189
+ };
185190
+ };
185191
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185192
+ currentRevision?: string | undefined;
185193
+ retryAfterSeconds?: number | undefined;
185194
+ }, unknown, z$1.core.$ZodTypeInternals<{
185195
+ traceId: string;
185196
+ recovery: {
185197
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185198
+ } | {
185199
+ action: "read_operation";
185200
+ operation: {
185201
+ kind: "command";
185202
+ serialNumber: string;
185203
+ idempotencyKey: string;
185204
+ } | {
185205
+ kind: "firmware";
185206
+ serialNumber: string;
185207
+ updateId: string;
185208
+ } | {
185209
+ kind: "bluetooth_firmware";
185210
+ deviceId: string;
185211
+ updateId: string;
185212
+ } | {
185213
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185214
+ deviceId: string;
185215
+ requestId: string;
185216
+ } | {
185217
+ kind: "support";
185218
+ requestId: string;
185219
+ };
185220
+ };
185221
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185222
+ currentRevision?: string | undefined;
185223
+ retryAfterSeconds?: number | undefined;
185224
+ }, unknown>>;
185225
+ };
185226
+ readonly not_found: {
185227
+ readonly status: 404;
185228
+ readonly data: z$1.ZodType<{
185229
+ traceId: string;
185230
+ recovery: {
185231
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185232
+ } | {
185233
+ action: "read_operation";
185234
+ operation: {
185235
+ kind: "command";
185236
+ serialNumber: string;
185237
+ idempotencyKey: string;
185238
+ } | {
185239
+ kind: "firmware";
185240
+ serialNumber: string;
185241
+ updateId: string;
185242
+ } | {
185243
+ kind: "bluetooth_firmware";
185244
+ deviceId: string;
185245
+ updateId: string;
185246
+ } | {
185247
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185248
+ deviceId: string;
185249
+ requestId: string;
185250
+ } | {
185251
+ kind: "support";
185252
+ requestId: string;
185253
+ };
185254
+ };
185255
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185256
+ currentRevision?: string | undefined;
185257
+ retryAfterSeconds?: number | undefined;
185258
+ }, unknown, z$1.core.$ZodTypeInternals<{
185259
+ traceId: string;
185260
+ recovery: {
185261
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185262
+ } | {
185263
+ action: "read_operation";
185264
+ operation: {
185265
+ kind: "command";
185266
+ serialNumber: string;
185267
+ idempotencyKey: string;
185268
+ } | {
185269
+ kind: "firmware";
185270
+ serialNumber: string;
185271
+ updateId: string;
185272
+ } | {
185273
+ kind: "bluetooth_firmware";
185274
+ deviceId: string;
185275
+ updateId: string;
185276
+ } | {
185277
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185278
+ deviceId: string;
185279
+ requestId: string;
185280
+ } | {
185281
+ kind: "support";
185282
+ requestId: string;
185283
+ };
185284
+ };
185285
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185286
+ currentRevision?: string | undefined;
185287
+ retryAfterSeconds?: number | undefined;
185288
+ }, unknown>>;
185289
+ };
185290
+ readonly conflict: {
185291
+ readonly status: 409;
185292
+ readonly data: z$1.ZodType<{
185293
+ traceId: string;
185294
+ recovery: {
185295
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185296
+ } | {
185297
+ action: "read_operation";
185298
+ operation: {
185299
+ kind: "command";
185300
+ serialNumber: string;
185301
+ idempotencyKey: string;
185302
+ } | {
185303
+ kind: "firmware";
185304
+ serialNumber: string;
185305
+ updateId: string;
185306
+ } | {
185307
+ kind: "bluetooth_firmware";
185308
+ deviceId: string;
185309
+ updateId: string;
185310
+ } | {
185311
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185312
+ deviceId: string;
185313
+ requestId: string;
185314
+ } | {
185315
+ kind: "support";
185316
+ requestId: string;
185317
+ };
185318
+ };
185319
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185320
+ currentRevision?: string | undefined;
185321
+ retryAfterSeconds?: number | undefined;
185322
+ }, unknown, z$1.core.$ZodTypeInternals<{
185323
+ traceId: string;
185324
+ recovery: {
185325
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185326
+ } | {
185327
+ action: "read_operation";
185328
+ operation: {
185329
+ kind: "command";
185330
+ serialNumber: string;
185331
+ idempotencyKey: string;
185332
+ } | {
185333
+ kind: "firmware";
185334
+ serialNumber: string;
185335
+ updateId: string;
185336
+ } | {
185337
+ kind: "bluetooth_firmware";
185338
+ deviceId: string;
185339
+ updateId: string;
185340
+ } | {
185341
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185342
+ deviceId: string;
185343
+ requestId: string;
185344
+ } | {
185345
+ kind: "support";
185346
+ requestId: string;
185347
+ };
185348
+ };
185349
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185350
+ currentRevision?: string | undefined;
185351
+ retryAfterSeconds?: number | undefined;
185352
+ }, unknown>>;
185353
+ };
185354
+ readonly rate_limited: {
185355
+ readonly status: 429;
185356
+ readonly data: z$1.ZodType<{
185357
+ traceId: string;
185358
+ recovery: {
185359
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185360
+ } | {
185361
+ action: "read_operation";
185362
+ operation: {
185363
+ kind: "command";
185364
+ serialNumber: string;
185365
+ idempotencyKey: string;
185366
+ } | {
185367
+ kind: "firmware";
185368
+ serialNumber: string;
185369
+ updateId: string;
185370
+ } | {
185371
+ kind: "bluetooth_firmware";
185372
+ deviceId: string;
185373
+ updateId: string;
185374
+ } | {
185375
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185376
+ deviceId: string;
185377
+ requestId: string;
185378
+ } | {
185379
+ kind: "support";
185380
+ requestId: string;
185381
+ };
185382
+ };
185383
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185384
+ currentRevision?: string | undefined;
185385
+ retryAfterSeconds?: number | undefined;
185386
+ }, unknown, z$1.core.$ZodTypeInternals<{
185387
+ traceId: string;
185388
+ recovery: {
185389
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185390
+ } | {
185391
+ action: "read_operation";
185392
+ operation: {
185393
+ kind: "command";
185394
+ serialNumber: string;
185395
+ idempotencyKey: string;
185396
+ } | {
185397
+ kind: "firmware";
185398
+ serialNumber: string;
185399
+ updateId: string;
185400
+ } | {
185401
+ kind: "bluetooth_firmware";
185402
+ deviceId: string;
185403
+ updateId: string;
185404
+ } | {
185405
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185406
+ deviceId: string;
185407
+ requestId: string;
185408
+ } | {
185409
+ kind: "support";
185410
+ requestId: string;
185411
+ };
185412
+ };
185413
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185414
+ currentRevision?: string | undefined;
185415
+ retryAfterSeconds?: number | undefined;
185416
+ }, unknown>>;
185417
+ };
185418
+ readonly stored_data_invalid: {
185419
+ readonly status: 503;
185420
+ readonly data: z$1.ZodType<{
185421
+ traceId: string;
185422
+ recovery: {
185423
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185424
+ } | {
185425
+ action: "read_operation";
185426
+ operation: {
185427
+ kind: "command";
185428
+ serialNumber: string;
185429
+ idempotencyKey: string;
185430
+ } | {
185431
+ kind: "firmware";
185432
+ serialNumber: string;
185433
+ updateId: string;
185434
+ } | {
185435
+ kind: "bluetooth_firmware";
185436
+ deviceId: string;
185437
+ updateId: string;
185438
+ } | {
185439
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185440
+ deviceId: string;
185441
+ requestId: string;
185442
+ } | {
185443
+ kind: "support";
185444
+ requestId: string;
185445
+ };
185446
+ };
185447
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185448
+ currentRevision?: string | undefined;
185449
+ retryAfterSeconds?: number | undefined;
185450
+ }, unknown, z$1.core.$ZodTypeInternals<{
185451
+ traceId: string;
185452
+ recovery: {
185453
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185454
+ } | {
185455
+ action: "read_operation";
185456
+ operation: {
185457
+ kind: "command";
185458
+ serialNumber: string;
185459
+ idempotencyKey: string;
185460
+ } | {
185461
+ kind: "firmware";
185462
+ serialNumber: string;
185463
+ updateId: string;
185464
+ } | {
185465
+ kind: "bluetooth_firmware";
185466
+ deviceId: string;
185467
+ updateId: string;
185468
+ } | {
185469
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185470
+ deviceId: string;
185471
+ requestId: string;
185472
+ } | {
185473
+ kind: "support";
185474
+ requestId: string;
185475
+ };
185476
+ };
185477
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185478
+ currentRevision?: string | undefined;
185479
+ retryAfterSeconds?: number | undefined;
185480
+ }, unknown>>;
185481
+ };
185482
+ readonly service_unavailable: {
185483
+ readonly status: 503;
185484
+ readonly data: z$1.ZodType<{
185485
+ traceId: string;
185486
+ recovery: {
185487
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185488
+ } | {
185489
+ action: "read_operation";
185490
+ operation: {
185491
+ kind: "command";
185492
+ serialNumber: string;
185493
+ idempotencyKey: string;
185494
+ } | {
185495
+ kind: "firmware";
185496
+ serialNumber: string;
185497
+ updateId: string;
185498
+ } | {
185499
+ kind: "bluetooth_firmware";
185500
+ deviceId: string;
185501
+ updateId: string;
185502
+ } | {
185503
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185504
+ deviceId: string;
185505
+ requestId: string;
185506
+ } | {
185507
+ kind: "support";
185508
+ requestId: string;
185509
+ };
185510
+ };
185511
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185512
+ currentRevision?: string | undefined;
185513
+ retryAfterSeconds?: number | undefined;
185514
+ }, unknown, z$1.core.$ZodTypeInternals<{
185515
+ traceId: string;
185516
+ recovery: {
185517
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185518
+ } | {
185519
+ action: "read_operation";
185520
+ operation: {
185521
+ kind: "command";
185522
+ serialNumber: string;
185523
+ idempotencyKey: string;
185524
+ } | {
185525
+ kind: "firmware";
185526
+ serialNumber: string;
185527
+ updateId: string;
185528
+ } | {
185529
+ kind: "bluetooth_firmware";
185530
+ deviceId: string;
185531
+ updateId: string;
185532
+ } | {
185533
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185534
+ deviceId: string;
185535
+ requestId: string;
185536
+ } | {
185537
+ kind: "support";
185538
+ requestId: string;
185539
+ };
185540
+ };
185541
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185542
+ currentRevision?: string | undefined;
185543
+ retryAfterSeconds?: number | undefined;
185544
+ }, unknown>>;
185545
+ };
185546
+ readonly read_unavailable: {
185547
+ readonly status: 503;
185548
+ readonly data: z$1.ZodType<{
185549
+ traceId: string;
185550
+ recovery: {
185551
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185552
+ } | {
185553
+ action: "read_operation";
185554
+ operation: {
185555
+ kind: "command";
185556
+ serialNumber: string;
185557
+ idempotencyKey: string;
185558
+ } | {
185559
+ kind: "firmware";
185560
+ serialNumber: string;
185561
+ updateId: string;
185562
+ } | {
185563
+ kind: "bluetooth_firmware";
185564
+ deviceId: string;
185565
+ updateId: string;
185566
+ } | {
185567
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185568
+ deviceId: string;
185569
+ requestId: string;
185570
+ } | {
185571
+ kind: "support";
185572
+ requestId: string;
185573
+ };
185574
+ };
185575
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185576
+ currentRevision?: string | undefined;
185577
+ retryAfterSeconds?: number | undefined;
185578
+ }, unknown, z$1.core.$ZodTypeInternals<{
185579
+ traceId: string;
185580
+ recovery: {
185581
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185582
+ } | {
185583
+ action: "read_operation";
185584
+ operation: {
185585
+ kind: "command";
185586
+ serialNumber: string;
185587
+ idempotencyKey: string;
185588
+ } | {
185589
+ kind: "firmware";
185590
+ serialNumber: string;
185591
+ updateId: string;
185592
+ } | {
185593
+ kind: "bluetooth_firmware";
185594
+ deviceId: string;
185595
+ updateId: string;
185596
+ } | {
185597
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185598
+ deviceId: string;
185599
+ requestId: string;
185600
+ } | {
185601
+ kind: "support";
185602
+ requestId: string;
185603
+ };
185604
+ };
185605
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185606
+ currentRevision?: string | undefined;
185607
+ retryAfterSeconds?: number | undefined;
185608
+ }, unknown>>;
185609
+ };
185610
+ readonly stream_unavailable: {
185611
+ readonly status: 503;
185612
+ readonly data: z$1.ZodType<{
185613
+ traceId: string;
185614
+ recovery: {
185615
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185616
+ } | {
185617
+ action: "read_operation";
185618
+ operation: {
185619
+ kind: "command";
185620
+ serialNumber: string;
185621
+ idempotencyKey: string;
185622
+ } | {
185623
+ kind: "firmware";
185624
+ serialNumber: string;
185625
+ updateId: string;
185626
+ } | {
185627
+ kind: "bluetooth_firmware";
185628
+ deviceId: string;
185629
+ updateId: string;
185630
+ } | {
185631
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185632
+ deviceId: string;
185633
+ requestId: string;
185634
+ } | {
185635
+ kind: "support";
185636
+ requestId: string;
185637
+ };
185638
+ };
185639
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185640
+ currentRevision?: string | undefined;
185641
+ retryAfterSeconds?: number | undefined;
185642
+ }, unknown, z$1.core.$ZodTypeInternals<{
185643
+ traceId: string;
185644
+ recovery: {
185645
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185646
+ } | {
185647
+ action: "read_operation";
185648
+ operation: {
185649
+ kind: "command";
185650
+ serialNumber: string;
185651
+ idempotencyKey: string;
185652
+ } | {
185653
+ kind: "firmware";
185654
+ serialNumber: string;
185655
+ updateId: string;
185656
+ } | {
185657
+ kind: "bluetooth_firmware";
185658
+ deviceId: string;
185659
+ updateId: string;
185660
+ } | {
185661
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185662
+ deviceId: string;
185663
+ requestId: string;
185664
+ } | {
185665
+ kind: "support";
185666
+ requestId: string;
185667
+ };
185668
+ };
185669
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185670
+ currentRevision?: string | undefined;
185671
+ retryAfterSeconds?: number | undefined;
185672
+ }, unknown>>;
185673
+ };
185674
+ readonly payload_too_large: {
185675
+ readonly status: 413;
185676
+ readonly data: z$1.ZodType<{
185677
+ traceId: string;
185678
+ recovery: {
185679
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185680
+ } | {
185681
+ action: "read_operation";
185682
+ operation: {
185683
+ kind: "command";
185684
+ serialNumber: string;
185685
+ idempotencyKey: string;
185686
+ } | {
185687
+ kind: "firmware";
185688
+ serialNumber: string;
185689
+ updateId: string;
185690
+ } | {
185691
+ kind: "bluetooth_firmware";
185692
+ deviceId: string;
185693
+ updateId: string;
185694
+ } | {
185695
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185696
+ deviceId: string;
185697
+ requestId: string;
185698
+ } | {
185699
+ kind: "support";
185700
+ requestId: string;
185701
+ };
185702
+ };
185703
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185704
+ currentRevision?: string | undefined;
185705
+ retryAfterSeconds?: number | undefined;
185706
+ }, unknown, z$1.core.$ZodTypeInternals<{
185707
+ traceId: string;
185708
+ recovery: {
185709
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185710
+ } | {
185711
+ action: "read_operation";
185712
+ operation: {
185713
+ kind: "command";
185714
+ serialNumber: string;
185715
+ idempotencyKey: string;
185716
+ } | {
185717
+ kind: "firmware";
185718
+ serialNumber: string;
185719
+ updateId: string;
185720
+ } | {
185721
+ kind: "bluetooth_firmware";
185722
+ deviceId: string;
185723
+ updateId: string;
185724
+ } | {
185725
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185726
+ deviceId: string;
185727
+ requestId: string;
185728
+ } | {
185729
+ kind: "support";
185730
+ requestId: string;
185731
+ };
185732
+ };
185733
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185734
+ currentRevision?: string | undefined;
185735
+ retryAfterSeconds?: number | undefined;
185736
+ }, unknown>>;
185737
+ };
185738
+ readonly request_timeout: {
185739
+ readonly status: 503;
185740
+ readonly data: z$1.ZodType<{
185741
+ traceId: string;
185742
+ recovery: {
185743
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185744
+ } | {
185745
+ action: "read_operation";
185746
+ operation: {
185747
+ kind: "command";
185748
+ serialNumber: string;
185749
+ idempotencyKey: string;
185750
+ } | {
185751
+ kind: "firmware";
185752
+ serialNumber: string;
185753
+ updateId: string;
185754
+ } | {
185755
+ kind: "bluetooth_firmware";
185756
+ deviceId: string;
185757
+ updateId: string;
185758
+ } | {
185759
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185760
+ deviceId: string;
185761
+ requestId: string;
185762
+ } | {
185763
+ kind: "support";
185764
+ requestId: string;
185765
+ };
185766
+ };
185767
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185768
+ currentRevision?: string | undefined;
185769
+ retryAfterSeconds?: number | undefined;
185770
+ }, unknown, z$1.core.$ZodTypeInternals<{
185771
+ traceId: string;
185772
+ recovery: {
185773
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185774
+ } | {
185775
+ action: "read_operation";
185776
+ operation: {
185777
+ kind: "command";
185778
+ serialNumber: string;
185779
+ idempotencyKey: string;
185780
+ } | {
185781
+ kind: "firmware";
185782
+ serialNumber: string;
185783
+ updateId: string;
185784
+ } | {
185785
+ kind: "bluetooth_firmware";
185786
+ deviceId: string;
185787
+ updateId: string;
185788
+ } | {
185789
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185790
+ deviceId: string;
185791
+ requestId: string;
185792
+ } | {
185793
+ kind: "support";
185794
+ requestId: string;
185795
+ };
185796
+ };
185797
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185798
+ currentRevision?: string | undefined;
185799
+ retryAfterSeconds?: number | undefined;
185800
+ }, unknown>>;
185801
+ };
185802
+ readonly operation_unconfirmed: {
185803
+ readonly status: 503;
185804
+ readonly data: z$1.ZodType<{
185805
+ traceId: string;
185806
+ recovery: {
185807
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185808
+ } | {
185809
+ action: "read_operation";
185810
+ operation: {
185811
+ kind: "command";
185812
+ serialNumber: string;
185813
+ idempotencyKey: string;
185814
+ } | {
185815
+ kind: "firmware";
185816
+ serialNumber: string;
185817
+ updateId: string;
185818
+ } | {
185819
+ kind: "bluetooth_firmware";
185820
+ deviceId: string;
185821
+ updateId: string;
185822
+ } | {
185823
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185824
+ deviceId: string;
185825
+ requestId: string;
185826
+ } | {
185827
+ kind: "support";
185828
+ requestId: string;
185829
+ };
185830
+ };
185831
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185832
+ currentRevision?: string | undefined;
185833
+ retryAfterSeconds?: number | undefined;
185834
+ }, unknown, z$1.core.$ZodTypeInternals<{
185835
+ traceId: string;
185836
+ recovery: {
185837
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185838
+ } | {
185839
+ action: "read_operation";
185840
+ operation: {
185841
+ kind: "command";
185842
+ serialNumber: string;
185843
+ idempotencyKey: string;
185844
+ } | {
185845
+ kind: "firmware";
185846
+ serialNumber: string;
185847
+ updateId: string;
185848
+ } | {
185849
+ kind: "bluetooth_firmware";
185850
+ deviceId: string;
185851
+ updateId: string;
185852
+ } | {
185853
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185854
+ deviceId: string;
185855
+ requestId: string;
185856
+ } | {
185857
+ kind: "support";
185858
+ requestId: string;
185859
+ };
185860
+ };
185861
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185862
+ currentRevision?: string | undefined;
185863
+ retryAfterSeconds?: number | undefined;
185864
+ }, unknown>>;
185865
+ };
185866
+ readonly directory_unavailable: {
185867
+ readonly status: 503;
185868
+ readonly data: z$1.ZodType<{
185869
+ traceId: string;
185870
+ recovery: {
185871
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185872
+ } | {
185873
+ action: "read_operation";
185874
+ operation: {
185875
+ kind: "command";
185876
+ serialNumber: string;
185877
+ idempotencyKey: string;
185878
+ } | {
185879
+ kind: "firmware";
185880
+ serialNumber: string;
185881
+ updateId: string;
185882
+ } | {
185883
+ kind: "bluetooth_firmware";
185884
+ deviceId: string;
185885
+ updateId: string;
185886
+ } | {
185887
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185888
+ deviceId: string;
185889
+ requestId: string;
185890
+ } | {
185891
+ kind: "support";
185892
+ requestId: string;
185893
+ };
185894
+ };
185895
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185896
+ currentRevision?: string | undefined;
185897
+ retryAfterSeconds?: number | undefined;
185898
+ }, unknown, z$1.core.$ZodTypeInternals<{
185899
+ traceId: string;
185900
+ recovery: {
185901
+ action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
185902
+ } | {
185903
+ action: "read_operation";
185904
+ operation: {
185905
+ kind: "command";
185906
+ serialNumber: string;
185907
+ idempotencyKey: string;
185908
+ } | {
185909
+ kind: "firmware";
185910
+ serialNumber: string;
185911
+ updateId: string;
185912
+ } | {
185913
+ kind: "bluetooth_firmware";
185914
+ deviceId: string;
185915
+ updateId: string;
185916
+ } | {
185917
+ kind: "invitation" | "photo_upload" | "legacy_firmware";
185918
+ deviceId: string;
185919
+ requestId: string;
185920
+ } | {
185921
+ kind: "support";
185922
+ requestId: string;
185923
+ };
185924
+ };
185925
+ reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
185926
+ currentRevision?: string | undefined;
185927
+ retryAfterSeconds?: number | undefined;
185928
+ }, unknown>>;
185929
+ };
185930
+ }>, Record<never, never>>;
182681
185931
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
182682
185932
  deviceId: z$1.ZodString;
182683
185933
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -184761,7 +188011,17 @@ declare const trackerContract: {
184761
188011
  bike: {
184762
188012
  edit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z$1.ZodObject<{
184763
188013
  deviceId: z$1.ZodString;
184764
- expectedRevision: z$1.ZodString;
188014
+ trackerCreatedAt: z$1.ZodISODateTime;
188015
+ expected: z$1.ZodObject<{
188016
+ type: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188017
+ name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188018
+ brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188019
+ model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188020
+ frameNumber: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188021
+ url: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188022
+ marketPrice: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188023
+ marketPriceCurrency: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
188024
+ }, z$1.core.$strict>;
184765
188025
  changes: z$1.ZodObject<{
184766
188026
  name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
184767
188027
  brand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
@@ -184782,7 +188042,17 @@ declare const trackerContract: {
184782
188042
  USD: "USD";
184783
188043
  }>>>;
184784
188044
  }, z$1.core.$strict>;
184785
- }, z$1.core.$strict>, z$1.ZodVoid, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
188045
+ }, z$1.core.$strict>, z$1.ZodObject<{
188046
+ revision: z$1.ZodString;
188047
+ name: z$1.ZodNullable<z$1.ZodString>;
188048
+ brand: z$1.ZodNullable<z$1.ZodString>;
188049
+ type: z$1.ZodNullable<z$1.ZodString>;
188050
+ model: z$1.ZodNullable<z$1.ZodString>;
188051
+ frameNumber: z$1.ZodNullable<z$1.ZodString>;
188052
+ url: z$1.ZodNullable<z$1.ZodString>;
188053
+ marketPrice: z$1.ZodNullable<z$1.ZodString>;
188054
+ marketPriceCurrency: z$1.ZodNullable<z$1.ZodString>;
188055
+ }, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
184786
188056
  readonly invalid: {
184787
188057
  readonly status: 400;
184788
188058
  readonly data: z$1.ZodType<{
@@ -190294,6 +193564,9 @@ export declare const staffContract: {
190294
193564
  aws: typeof awsContract;
190295
193565
  };
190296
193566
  export type StaffClient = ContractRouterClient<typeof staffContract>;
193567
+ export type StaffTrackerDetails = z$1.infer<typeof staffTrackerDetails>;
193568
+ export type StaffTrackerMemberPageInput = z$1.output<typeof staffTrackerMemberPageInput>;
193569
+ export type StaffTrackerMemberPage = z$1.infer<typeof staffTrackerMemberPage>;
190297
193570
  export type StaffTracker = z$1.infer<typeof staffTracker>;
190298
193571
  export type StaffTrackerSummary = z$1.infer<typeof staffTrackerSummary>;
190299
193572
  export type StaffTrackerPage = z$1.infer<typeof staffTrackerPage>;