@bikefinder/sdk 0.29.0 → 0.31.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/README.md +12 -2
- package/dist/{chunk-UVAQKPXY.js → chunk-UDCT3LOC.js} +9 -0
- package/dist/index.d.ts +2180 -0
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +2180 -0
- package/dist/schemas.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30224,6 +30224,115 @@ declare const tracker: z.ZodObject<{
|
|
|
30224
30224
|
createdAt: z.ZodISODateTime;
|
|
30225
30225
|
updatedAt: z.ZodISODateTime;
|
|
30226
30226
|
}, z.core.$strip>;
|
|
30227
|
+
declare const customerTrackerDetails: z.ZodObject<{
|
|
30228
|
+
id: z.ZodString;
|
|
30229
|
+
firmware: z.ZodNullable<z.ZodObject<{
|
|
30230
|
+
lte: z.ZodNullable<z.ZodString>;
|
|
30231
|
+
bluetooth: z.ZodNullable<z.ZodString>;
|
|
30232
|
+
battery: z.ZodNullable<z.ZodString>;
|
|
30233
|
+
modem: z.ZodNullable<z.ZodString>;
|
|
30234
|
+
mtk: z.ZodNullable<z.ZodString>;
|
|
30235
|
+
ti: z.ZodNullable<z.ZodString>;
|
|
30236
|
+
buildNumber: z.ZodNullable<z.ZodInt>;
|
|
30237
|
+
}, z.core.$strip>>;
|
|
30238
|
+
subscription: z.ZodDiscriminatedUnion<[
|
|
30239
|
+
z.ZodObject<{
|
|
30240
|
+
id: z.ZodString;
|
|
30241
|
+
activity: z.ZodEnum<{
|
|
30242
|
+
unknown: "unknown";
|
|
30243
|
+
active: "active";
|
|
30244
|
+
inactive: "inactive";
|
|
30245
|
+
}>;
|
|
30246
|
+
isDemo: z.ZodBoolean;
|
|
30247
|
+
status: z.ZodNullable<z.ZodString>;
|
|
30248
|
+
country: z.ZodNullable<z.ZodString>;
|
|
30249
|
+
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30250
|
+
state: z.ZodLiteral<"available">;
|
|
30251
|
+
}, z.core.$strip>,
|
|
30252
|
+
z.ZodObject<{
|
|
30253
|
+
state: z.ZodLiteral<"unavailable">;
|
|
30254
|
+
reason: z.ZodEnum<{
|
|
30255
|
+
invalid: "invalid";
|
|
30256
|
+
not_observed: "not_observed";
|
|
30257
|
+
not_assigned: "not_assigned";
|
|
30258
|
+
}>;
|
|
30259
|
+
}, z.core.$strip>
|
|
30260
|
+
], "state">;
|
|
30261
|
+
createdAt: z.ZodISODateTime;
|
|
30262
|
+
revision: z.ZodString;
|
|
30263
|
+
battery: z.ZodDiscriminatedUnion<[
|
|
30264
|
+
z.ZodObject<{
|
|
30265
|
+
level: z.ZodNullable<z.ZodNumber>;
|
|
30266
|
+
isCharging: z.ZodNullable<z.ZodBoolean>;
|
|
30267
|
+
levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30268
|
+
chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30269
|
+
observation: z.ZodNullable<z.ZodObject<{
|
|
30270
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30271
|
+
receivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30272
|
+
}, z.core.$strip>>;
|
|
30273
|
+
source: z.ZodNullable<z.ZodString>;
|
|
30274
|
+
state: z.ZodLiteral<"available">;
|
|
30275
|
+
}, z.core.$strip>,
|
|
30276
|
+
z.ZodObject<{
|
|
30277
|
+
state: z.ZodLiteral<"unavailable">;
|
|
30278
|
+
reason: z.ZodEnum<{
|
|
30279
|
+
invalid: "invalid";
|
|
30280
|
+
not_observed: "not_observed";
|
|
30281
|
+
not_assigned: "not_assigned";
|
|
30282
|
+
}>;
|
|
30283
|
+
}, z.core.$strip>
|
|
30284
|
+
], "state">;
|
|
30285
|
+
identity: z.ZodNullable<z.ZodObject<{
|
|
30286
|
+
serialNumber: z.ZodNullable<z.ZodString>;
|
|
30287
|
+
}, z.core.$strip>>;
|
|
30288
|
+
generation: z.ZodNullable<z.ZodInt>;
|
|
30289
|
+
bike: z.ZodObject<{
|
|
30290
|
+
revision: z.ZodString;
|
|
30291
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30292
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
30293
|
+
type: z.ZodNullable<z.ZodString>;
|
|
30294
|
+
model: z.ZodNullable<z.ZodString>;
|
|
30295
|
+
frameNumber: z.ZodNullable<z.ZodString>;
|
|
30296
|
+
url: z.ZodNullable<z.ZodString>;
|
|
30297
|
+
marketPrice: z.ZodNullable<z.ZodString>;
|
|
30298
|
+
marketPriceCurrency: z.ZodNullable<z.ZodString>;
|
|
30299
|
+
}, z.core.$strip>;
|
|
30300
|
+
location: z.ZodDiscriminatedUnion<[
|
|
30301
|
+
z.ZodObject<{
|
|
30302
|
+
latitude: z.ZodNumber;
|
|
30303
|
+
longitude: z.ZodNumber;
|
|
30304
|
+
accuracy: z.ZodNullable<z.ZodNumber>;
|
|
30305
|
+
source: z.ZodNullable<z.ZodString>;
|
|
30306
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
30307
|
+
state: z.ZodLiteral<"available">;
|
|
30308
|
+
}, z.core.$strip>,
|
|
30309
|
+
z.ZodObject<{
|
|
30310
|
+
state: z.ZodLiteral<"unavailable">;
|
|
30311
|
+
reason: z.ZodEnum<{
|
|
30312
|
+
invalid: "invalid";
|
|
30313
|
+
not_observed: "not_observed";
|
|
30314
|
+
not_assigned: "not_assigned";
|
|
30315
|
+
}>;
|
|
30316
|
+
}, z.core.$strip>
|
|
30317
|
+
], "state">;
|
|
30318
|
+
readIssues: z.ZodArray<z.ZodObject<{
|
|
30319
|
+
path: z.ZodString;
|
|
30320
|
+
code: z.ZodLiteral<"invalid_stored_value">;
|
|
30321
|
+
}, z.core.$strip>>;
|
|
30322
|
+
updatedAt: z.ZodISODateTime;
|
|
30323
|
+
preferences: z.ZodObject<{
|
|
30324
|
+
movementAlerts: z.ZodBoolean;
|
|
30325
|
+
}, z.core.$strip>;
|
|
30326
|
+
capabilities: z.ZodObject<{
|
|
30327
|
+
firmwareUpdates: z.ZodBoolean;
|
|
30328
|
+
factoryResetReports: z.ZodBoolean;
|
|
30329
|
+
}, z.core.$strip>;
|
|
30330
|
+
membership: z.ZodObject<{
|
|
30331
|
+
accountId: z.ZodString;
|
|
30332
|
+
activeMemberCount: z.ZodInt;
|
|
30333
|
+
}, z.core.$strip>;
|
|
30334
|
+
}, z.core.$strip>;
|
|
30335
|
+
export type CustomerTrackerDetails = z.infer<typeof customerTrackerDetails>;
|
|
30227
30336
|
export type Tracker = z.infer<typeof tracker>;
|
|
30228
30337
|
export type TrackerSummary = z.infer<typeof trackerSummary>;
|
|
30229
30338
|
export type TrackerPage = z.infer<typeof trackerPage>;
|
|
@@ -52917,6 +53026,2077 @@ declare const trackerContract: {
|
|
|
52917
53026
|
}, unknown>>;
|
|
52918
53027
|
};
|
|
52919
53028
|
}>, Record<never, never>>;
|
|
53029
|
+
getDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
53030
|
+
deviceId: z.ZodString;
|
|
53031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
53032
|
+
id: z.ZodString;
|
|
53033
|
+
firmware: z.ZodNullable<z.ZodObject<{
|
|
53034
|
+
lte: z.ZodNullable<z.ZodString>;
|
|
53035
|
+
bluetooth: z.ZodNullable<z.ZodString>;
|
|
53036
|
+
battery: z.ZodNullable<z.ZodString>;
|
|
53037
|
+
modem: z.ZodNullable<z.ZodString>;
|
|
53038
|
+
mtk: z.ZodNullable<z.ZodString>;
|
|
53039
|
+
ti: z.ZodNullable<z.ZodString>;
|
|
53040
|
+
buildNumber: z.ZodNullable<z.ZodInt>;
|
|
53041
|
+
}, z.core.$strip>>;
|
|
53042
|
+
subscription: z.ZodDiscriminatedUnion<[
|
|
53043
|
+
z.ZodObject<{
|
|
53044
|
+
id: z.ZodString;
|
|
53045
|
+
activity: z.ZodEnum<{
|
|
53046
|
+
unknown: "unknown";
|
|
53047
|
+
active: "active";
|
|
53048
|
+
inactive: "inactive";
|
|
53049
|
+
}>;
|
|
53050
|
+
isDemo: z.ZodBoolean;
|
|
53051
|
+
status: z.ZodNullable<z.ZodString>;
|
|
53052
|
+
country: z.ZodNullable<z.ZodString>;
|
|
53053
|
+
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53054
|
+
state: z.ZodLiteral<"available">;
|
|
53055
|
+
}, z.core.$strip>,
|
|
53056
|
+
z.ZodObject<{
|
|
53057
|
+
state: z.ZodLiteral<"unavailable">;
|
|
53058
|
+
reason: z.ZodEnum<{
|
|
53059
|
+
invalid: "invalid";
|
|
53060
|
+
not_observed: "not_observed";
|
|
53061
|
+
not_assigned: "not_assigned";
|
|
53062
|
+
}>;
|
|
53063
|
+
}, z.core.$strip>
|
|
53064
|
+
], "state">;
|
|
53065
|
+
createdAt: z.ZodISODateTime;
|
|
53066
|
+
revision: z.ZodString;
|
|
53067
|
+
battery: z.ZodDiscriminatedUnion<[
|
|
53068
|
+
z.ZodObject<{
|
|
53069
|
+
level: z.ZodNullable<z.ZodNumber>;
|
|
53070
|
+
isCharging: z.ZodNullable<z.ZodBoolean>;
|
|
53071
|
+
levelUpdatedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53072
|
+
chargingObservedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53073
|
+
observation: z.ZodNullable<z.ZodObject<{
|
|
53074
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53075
|
+
receivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53076
|
+
}, z.core.$strip>>;
|
|
53077
|
+
source: z.ZodNullable<z.ZodString>;
|
|
53078
|
+
state: z.ZodLiteral<"available">;
|
|
53079
|
+
}, z.core.$strip>,
|
|
53080
|
+
z.ZodObject<{
|
|
53081
|
+
state: z.ZodLiteral<"unavailable">;
|
|
53082
|
+
reason: z.ZodEnum<{
|
|
53083
|
+
invalid: "invalid";
|
|
53084
|
+
not_observed: "not_observed";
|
|
53085
|
+
not_assigned: "not_assigned";
|
|
53086
|
+
}>;
|
|
53087
|
+
}, z.core.$strip>
|
|
53088
|
+
], "state">;
|
|
53089
|
+
identity: z.ZodNullable<z.ZodObject<{
|
|
53090
|
+
serialNumber: z.ZodNullable<z.ZodString>;
|
|
53091
|
+
}, z.core.$strip>>;
|
|
53092
|
+
generation: z.ZodNullable<z.ZodInt>;
|
|
53093
|
+
bike: z.ZodObject<{
|
|
53094
|
+
revision: z.ZodString;
|
|
53095
|
+
name: z.ZodNullable<z.ZodString>;
|
|
53096
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
53097
|
+
type: z.ZodNullable<z.ZodString>;
|
|
53098
|
+
model: z.ZodNullable<z.ZodString>;
|
|
53099
|
+
frameNumber: z.ZodNullable<z.ZodString>;
|
|
53100
|
+
url: z.ZodNullable<z.ZodString>;
|
|
53101
|
+
marketPrice: z.ZodNullable<z.ZodString>;
|
|
53102
|
+
marketPriceCurrency: z.ZodNullable<z.ZodString>;
|
|
53103
|
+
}, z.core.$strip>;
|
|
53104
|
+
location: z.ZodDiscriminatedUnion<[
|
|
53105
|
+
z.ZodObject<{
|
|
53106
|
+
latitude: z.ZodNumber;
|
|
53107
|
+
longitude: z.ZodNumber;
|
|
53108
|
+
accuracy: z.ZodNullable<z.ZodNumber>;
|
|
53109
|
+
source: z.ZodNullable<z.ZodString>;
|
|
53110
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53111
|
+
state: z.ZodLiteral<"available">;
|
|
53112
|
+
}, z.core.$strip>,
|
|
53113
|
+
z.ZodObject<{
|
|
53114
|
+
state: z.ZodLiteral<"unavailable">;
|
|
53115
|
+
reason: z.ZodEnum<{
|
|
53116
|
+
invalid: "invalid";
|
|
53117
|
+
not_observed: "not_observed";
|
|
53118
|
+
not_assigned: "not_assigned";
|
|
53119
|
+
}>;
|
|
53120
|
+
}, z.core.$strip>
|
|
53121
|
+
], "state">;
|
|
53122
|
+
readIssues: z.ZodArray<z.ZodObject<{
|
|
53123
|
+
path: z.ZodString;
|
|
53124
|
+
code: z.ZodLiteral<"invalid_stored_value">;
|
|
53125
|
+
}, z.core.$strip>>;
|
|
53126
|
+
updatedAt: z.ZodISODateTime;
|
|
53127
|
+
preferences: z.ZodObject<{
|
|
53128
|
+
movementAlerts: z.ZodBoolean;
|
|
53129
|
+
}, z.core.$strip>;
|
|
53130
|
+
capabilities: z.ZodObject<{
|
|
53131
|
+
firmwareUpdates: z.ZodBoolean;
|
|
53132
|
+
factoryResetReports: z.ZodBoolean;
|
|
53133
|
+
}, z.core.$strip>;
|
|
53134
|
+
membership: z.ZodObject<{
|
|
53135
|
+
accountId: z.ZodString;
|
|
53136
|
+
activeMemberCount: z.ZodInt;
|
|
53137
|
+
}, z.core.$strip>;
|
|
53138
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
53139
|
+
readonly invalid: {
|
|
53140
|
+
readonly status: 400;
|
|
53141
|
+
readonly data: z.ZodType<{
|
|
53142
|
+
traceId: string;
|
|
53143
|
+
recovery: {
|
|
53144
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53145
|
+
} | {
|
|
53146
|
+
action: "read_operation";
|
|
53147
|
+
operation: {
|
|
53148
|
+
kind: "command";
|
|
53149
|
+
serialNumber: string;
|
|
53150
|
+
idempotencyKey: string;
|
|
53151
|
+
} | {
|
|
53152
|
+
kind: "firmware";
|
|
53153
|
+
serialNumber: string;
|
|
53154
|
+
updateId: string;
|
|
53155
|
+
} | {
|
|
53156
|
+
kind: "bluetooth_firmware";
|
|
53157
|
+
deviceId: string;
|
|
53158
|
+
updateId: string;
|
|
53159
|
+
} | {
|
|
53160
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53161
|
+
deviceId: string;
|
|
53162
|
+
requestId: string;
|
|
53163
|
+
} | {
|
|
53164
|
+
kind: "support";
|
|
53165
|
+
requestId: string;
|
|
53166
|
+
};
|
|
53167
|
+
};
|
|
53168
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53169
|
+
currentRevision?: string | undefined;
|
|
53170
|
+
retryAfterSeconds?: number | undefined;
|
|
53171
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53172
|
+
traceId: string;
|
|
53173
|
+
recovery: {
|
|
53174
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53175
|
+
} | {
|
|
53176
|
+
action: "read_operation";
|
|
53177
|
+
operation: {
|
|
53178
|
+
kind: "command";
|
|
53179
|
+
serialNumber: string;
|
|
53180
|
+
idempotencyKey: string;
|
|
53181
|
+
} | {
|
|
53182
|
+
kind: "firmware";
|
|
53183
|
+
serialNumber: string;
|
|
53184
|
+
updateId: string;
|
|
53185
|
+
} | {
|
|
53186
|
+
kind: "bluetooth_firmware";
|
|
53187
|
+
deviceId: string;
|
|
53188
|
+
updateId: string;
|
|
53189
|
+
} | {
|
|
53190
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53191
|
+
deviceId: string;
|
|
53192
|
+
requestId: string;
|
|
53193
|
+
} | {
|
|
53194
|
+
kind: "support";
|
|
53195
|
+
requestId: string;
|
|
53196
|
+
};
|
|
53197
|
+
};
|
|
53198
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53199
|
+
currentRevision?: string | undefined;
|
|
53200
|
+
retryAfterSeconds?: number | undefined;
|
|
53201
|
+
}, unknown>>;
|
|
53202
|
+
};
|
|
53203
|
+
readonly unauthenticated: {
|
|
53204
|
+
readonly status: 401;
|
|
53205
|
+
readonly data: z.ZodType<{
|
|
53206
|
+
traceId: string;
|
|
53207
|
+
recovery: {
|
|
53208
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53209
|
+
} | {
|
|
53210
|
+
action: "read_operation";
|
|
53211
|
+
operation: {
|
|
53212
|
+
kind: "command";
|
|
53213
|
+
serialNumber: string;
|
|
53214
|
+
idempotencyKey: string;
|
|
53215
|
+
} | {
|
|
53216
|
+
kind: "firmware";
|
|
53217
|
+
serialNumber: string;
|
|
53218
|
+
updateId: string;
|
|
53219
|
+
} | {
|
|
53220
|
+
kind: "bluetooth_firmware";
|
|
53221
|
+
deviceId: string;
|
|
53222
|
+
updateId: string;
|
|
53223
|
+
} | {
|
|
53224
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53225
|
+
deviceId: string;
|
|
53226
|
+
requestId: string;
|
|
53227
|
+
} | {
|
|
53228
|
+
kind: "support";
|
|
53229
|
+
requestId: string;
|
|
53230
|
+
};
|
|
53231
|
+
};
|
|
53232
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53233
|
+
currentRevision?: string | undefined;
|
|
53234
|
+
retryAfterSeconds?: number | undefined;
|
|
53235
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53236
|
+
traceId: string;
|
|
53237
|
+
recovery: {
|
|
53238
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53239
|
+
} | {
|
|
53240
|
+
action: "read_operation";
|
|
53241
|
+
operation: {
|
|
53242
|
+
kind: "command";
|
|
53243
|
+
serialNumber: string;
|
|
53244
|
+
idempotencyKey: string;
|
|
53245
|
+
} | {
|
|
53246
|
+
kind: "firmware";
|
|
53247
|
+
serialNumber: string;
|
|
53248
|
+
updateId: string;
|
|
53249
|
+
} | {
|
|
53250
|
+
kind: "bluetooth_firmware";
|
|
53251
|
+
deviceId: string;
|
|
53252
|
+
updateId: string;
|
|
53253
|
+
} | {
|
|
53254
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53255
|
+
deviceId: string;
|
|
53256
|
+
requestId: string;
|
|
53257
|
+
} | {
|
|
53258
|
+
kind: "support";
|
|
53259
|
+
requestId: string;
|
|
53260
|
+
};
|
|
53261
|
+
};
|
|
53262
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53263
|
+
currentRevision?: string | undefined;
|
|
53264
|
+
retryAfterSeconds?: number | undefined;
|
|
53265
|
+
}, unknown>>;
|
|
53266
|
+
};
|
|
53267
|
+
readonly forbidden: {
|
|
53268
|
+
readonly status: 403;
|
|
53269
|
+
readonly data: z.ZodType<{
|
|
53270
|
+
traceId: string;
|
|
53271
|
+
recovery: {
|
|
53272
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53273
|
+
} | {
|
|
53274
|
+
action: "read_operation";
|
|
53275
|
+
operation: {
|
|
53276
|
+
kind: "command";
|
|
53277
|
+
serialNumber: string;
|
|
53278
|
+
idempotencyKey: string;
|
|
53279
|
+
} | {
|
|
53280
|
+
kind: "firmware";
|
|
53281
|
+
serialNumber: string;
|
|
53282
|
+
updateId: string;
|
|
53283
|
+
} | {
|
|
53284
|
+
kind: "bluetooth_firmware";
|
|
53285
|
+
deviceId: string;
|
|
53286
|
+
updateId: string;
|
|
53287
|
+
} | {
|
|
53288
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53289
|
+
deviceId: string;
|
|
53290
|
+
requestId: string;
|
|
53291
|
+
} | {
|
|
53292
|
+
kind: "support";
|
|
53293
|
+
requestId: string;
|
|
53294
|
+
};
|
|
53295
|
+
};
|
|
53296
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53297
|
+
currentRevision?: string | undefined;
|
|
53298
|
+
retryAfterSeconds?: number | undefined;
|
|
53299
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53300
|
+
traceId: string;
|
|
53301
|
+
recovery: {
|
|
53302
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53303
|
+
} | {
|
|
53304
|
+
action: "read_operation";
|
|
53305
|
+
operation: {
|
|
53306
|
+
kind: "command";
|
|
53307
|
+
serialNumber: string;
|
|
53308
|
+
idempotencyKey: string;
|
|
53309
|
+
} | {
|
|
53310
|
+
kind: "firmware";
|
|
53311
|
+
serialNumber: string;
|
|
53312
|
+
updateId: string;
|
|
53313
|
+
} | {
|
|
53314
|
+
kind: "bluetooth_firmware";
|
|
53315
|
+
deviceId: string;
|
|
53316
|
+
updateId: string;
|
|
53317
|
+
} | {
|
|
53318
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53319
|
+
deviceId: string;
|
|
53320
|
+
requestId: string;
|
|
53321
|
+
} | {
|
|
53322
|
+
kind: "support";
|
|
53323
|
+
requestId: string;
|
|
53324
|
+
};
|
|
53325
|
+
};
|
|
53326
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53327
|
+
currentRevision?: string | undefined;
|
|
53328
|
+
retryAfterSeconds?: number | undefined;
|
|
53329
|
+
}, unknown>>;
|
|
53330
|
+
};
|
|
53331
|
+
readonly not_found: {
|
|
53332
|
+
readonly status: 404;
|
|
53333
|
+
readonly data: z.ZodType<{
|
|
53334
|
+
traceId: string;
|
|
53335
|
+
recovery: {
|
|
53336
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53337
|
+
} | {
|
|
53338
|
+
action: "read_operation";
|
|
53339
|
+
operation: {
|
|
53340
|
+
kind: "command";
|
|
53341
|
+
serialNumber: string;
|
|
53342
|
+
idempotencyKey: string;
|
|
53343
|
+
} | {
|
|
53344
|
+
kind: "firmware";
|
|
53345
|
+
serialNumber: string;
|
|
53346
|
+
updateId: string;
|
|
53347
|
+
} | {
|
|
53348
|
+
kind: "bluetooth_firmware";
|
|
53349
|
+
deviceId: string;
|
|
53350
|
+
updateId: string;
|
|
53351
|
+
} | {
|
|
53352
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53353
|
+
deviceId: string;
|
|
53354
|
+
requestId: string;
|
|
53355
|
+
} | {
|
|
53356
|
+
kind: "support";
|
|
53357
|
+
requestId: string;
|
|
53358
|
+
};
|
|
53359
|
+
};
|
|
53360
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53361
|
+
currentRevision?: string | undefined;
|
|
53362
|
+
retryAfterSeconds?: number | undefined;
|
|
53363
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53364
|
+
traceId: string;
|
|
53365
|
+
recovery: {
|
|
53366
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53367
|
+
} | {
|
|
53368
|
+
action: "read_operation";
|
|
53369
|
+
operation: {
|
|
53370
|
+
kind: "command";
|
|
53371
|
+
serialNumber: string;
|
|
53372
|
+
idempotencyKey: string;
|
|
53373
|
+
} | {
|
|
53374
|
+
kind: "firmware";
|
|
53375
|
+
serialNumber: string;
|
|
53376
|
+
updateId: string;
|
|
53377
|
+
} | {
|
|
53378
|
+
kind: "bluetooth_firmware";
|
|
53379
|
+
deviceId: string;
|
|
53380
|
+
updateId: string;
|
|
53381
|
+
} | {
|
|
53382
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53383
|
+
deviceId: string;
|
|
53384
|
+
requestId: string;
|
|
53385
|
+
} | {
|
|
53386
|
+
kind: "support";
|
|
53387
|
+
requestId: string;
|
|
53388
|
+
};
|
|
53389
|
+
};
|
|
53390
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53391
|
+
currentRevision?: string | undefined;
|
|
53392
|
+
retryAfterSeconds?: number | undefined;
|
|
53393
|
+
}, unknown>>;
|
|
53394
|
+
};
|
|
53395
|
+
readonly conflict: {
|
|
53396
|
+
readonly status: 409;
|
|
53397
|
+
readonly data: z.ZodType<{
|
|
53398
|
+
traceId: string;
|
|
53399
|
+
recovery: {
|
|
53400
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53401
|
+
} | {
|
|
53402
|
+
action: "read_operation";
|
|
53403
|
+
operation: {
|
|
53404
|
+
kind: "command";
|
|
53405
|
+
serialNumber: string;
|
|
53406
|
+
idempotencyKey: string;
|
|
53407
|
+
} | {
|
|
53408
|
+
kind: "firmware";
|
|
53409
|
+
serialNumber: string;
|
|
53410
|
+
updateId: string;
|
|
53411
|
+
} | {
|
|
53412
|
+
kind: "bluetooth_firmware";
|
|
53413
|
+
deviceId: string;
|
|
53414
|
+
updateId: string;
|
|
53415
|
+
} | {
|
|
53416
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53417
|
+
deviceId: string;
|
|
53418
|
+
requestId: string;
|
|
53419
|
+
} | {
|
|
53420
|
+
kind: "support";
|
|
53421
|
+
requestId: string;
|
|
53422
|
+
};
|
|
53423
|
+
};
|
|
53424
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53425
|
+
currentRevision?: string | undefined;
|
|
53426
|
+
retryAfterSeconds?: number | undefined;
|
|
53427
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53428
|
+
traceId: string;
|
|
53429
|
+
recovery: {
|
|
53430
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53431
|
+
} | {
|
|
53432
|
+
action: "read_operation";
|
|
53433
|
+
operation: {
|
|
53434
|
+
kind: "command";
|
|
53435
|
+
serialNumber: string;
|
|
53436
|
+
idempotencyKey: string;
|
|
53437
|
+
} | {
|
|
53438
|
+
kind: "firmware";
|
|
53439
|
+
serialNumber: string;
|
|
53440
|
+
updateId: string;
|
|
53441
|
+
} | {
|
|
53442
|
+
kind: "bluetooth_firmware";
|
|
53443
|
+
deviceId: string;
|
|
53444
|
+
updateId: string;
|
|
53445
|
+
} | {
|
|
53446
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53447
|
+
deviceId: string;
|
|
53448
|
+
requestId: string;
|
|
53449
|
+
} | {
|
|
53450
|
+
kind: "support";
|
|
53451
|
+
requestId: string;
|
|
53452
|
+
};
|
|
53453
|
+
};
|
|
53454
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53455
|
+
currentRevision?: string | undefined;
|
|
53456
|
+
retryAfterSeconds?: number | undefined;
|
|
53457
|
+
}, unknown>>;
|
|
53458
|
+
};
|
|
53459
|
+
readonly rate_limited: {
|
|
53460
|
+
readonly status: 429;
|
|
53461
|
+
readonly data: z.ZodType<{
|
|
53462
|
+
traceId: string;
|
|
53463
|
+
recovery: {
|
|
53464
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53465
|
+
} | {
|
|
53466
|
+
action: "read_operation";
|
|
53467
|
+
operation: {
|
|
53468
|
+
kind: "command";
|
|
53469
|
+
serialNumber: string;
|
|
53470
|
+
idempotencyKey: string;
|
|
53471
|
+
} | {
|
|
53472
|
+
kind: "firmware";
|
|
53473
|
+
serialNumber: string;
|
|
53474
|
+
updateId: string;
|
|
53475
|
+
} | {
|
|
53476
|
+
kind: "bluetooth_firmware";
|
|
53477
|
+
deviceId: string;
|
|
53478
|
+
updateId: string;
|
|
53479
|
+
} | {
|
|
53480
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53481
|
+
deviceId: string;
|
|
53482
|
+
requestId: string;
|
|
53483
|
+
} | {
|
|
53484
|
+
kind: "support";
|
|
53485
|
+
requestId: string;
|
|
53486
|
+
};
|
|
53487
|
+
};
|
|
53488
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53489
|
+
currentRevision?: string | undefined;
|
|
53490
|
+
retryAfterSeconds?: number | undefined;
|
|
53491
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53492
|
+
traceId: string;
|
|
53493
|
+
recovery: {
|
|
53494
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53495
|
+
} | {
|
|
53496
|
+
action: "read_operation";
|
|
53497
|
+
operation: {
|
|
53498
|
+
kind: "command";
|
|
53499
|
+
serialNumber: string;
|
|
53500
|
+
idempotencyKey: string;
|
|
53501
|
+
} | {
|
|
53502
|
+
kind: "firmware";
|
|
53503
|
+
serialNumber: string;
|
|
53504
|
+
updateId: string;
|
|
53505
|
+
} | {
|
|
53506
|
+
kind: "bluetooth_firmware";
|
|
53507
|
+
deviceId: string;
|
|
53508
|
+
updateId: string;
|
|
53509
|
+
} | {
|
|
53510
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53511
|
+
deviceId: string;
|
|
53512
|
+
requestId: string;
|
|
53513
|
+
} | {
|
|
53514
|
+
kind: "support";
|
|
53515
|
+
requestId: string;
|
|
53516
|
+
};
|
|
53517
|
+
};
|
|
53518
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53519
|
+
currentRevision?: string | undefined;
|
|
53520
|
+
retryAfterSeconds?: number | undefined;
|
|
53521
|
+
}, unknown>>;
|
|
53522
|
+
};
|
|
53523
|
+
readonly stored_data_invalid: {
|
|
53524
|
+
readonly status: 503;
|
|
53525
|
+
readonly data: z.ZodType<{
|
|
53526
|
+
traceId: string;
|
|
53527
|
+
recovery: {
|
|
53528
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53529
|
+
} | {
|
|
53530
|
+
action: "read_operation";
|
|
53531
|
+
operation: {
|
|
53532
|
+
kind: "command";
|
|
53533
|
+
serialNumber: string;
|
|
53534
|
+
idempotencyKey: string;
|
|
53535
|
+
} | {
|
|
53536
|
+
kind: "firmware";
|
|
53537
|
+
serialNumber: string;
|
|
53538
|
+
updateId: string;
|
|
53539
|
+
} | {
|
|
53540
|
+
kind: "bluetooth_firmware";
|
|
53541
|
+
deviceId: string;
|
|
53542
|
+
updateId: string;
|
|
53543
|
+
} | {
|
|
53544
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53545
|
+
deviceId: string;
|
|
53546
|
+
requestId: string;
|
|
53547
|
+
} | {
|
|
53548
|
+
kind: "support";
|
|
53549
|
+
requestId: string;
|
|
53550
|
+
};
|
|
53551
|
+
};
|
|
53552
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53553
|
+
currentRevision?: string | undefined;
|
|
53554
|
+
retryAfterSeconds?: number | undefined;
|
|
53555
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53556
|
+
traceId: string;
|
|
53557
|
+
recovery: {
|
|
53558
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53559
|
+
} | {
|
|
53560
|
+
action: "read_operation";
|
|
53561
|
+
operation: {
|
|
53562
|
+
kind: "command";
|
|
53563
|
+
serialNumber: string;
|
|
53564
|
+
idempotencyKey: string;
|
|
53565
|
+
} | {
|
|
53566
|
+
kind: "firmware";
|
|
53567
|
+
serialNumber: string;
|
|
53568
|
+
updateId: string;
|
|
53569
|
+
} | {
|
|
53570
|
+
kind: "bluetooth_firmware";
|
|
53571
|
+
deviceId: string;
|
|
53572
|
+
updateId: string;
|
|
53573
|
+
} | {
|
|
53574
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53575
|
+
deviceId: string;
|
|
53576
|
+
requestId: string;
|
|
53577
|
+
} | {
|
|
53578
|
+
kind: "support";
|
|
53579
|
+
requestId: string;
|
|
53580
|
+
};
|
|
53581
|
+
};
|
|
53582
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53583
|
+
currentRevision?: string | undefined;
|
|
53584
|
+
retryAfterSeconds?: number | undefined;
|
|
53585
|
+
}, unknown>>;
|
|
53586
|
+
};
|
|
53587
|
+
readonly service_unavailable: {
|
|
53588
|
+
readonly status: 503;
|
|
53589
|
+
readonly data: z.ZodType<{
|
|
53590
|
+
traceId: string;
|
|
53591
|
+
recovery: {
|
|
53592
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53593
|
+
} | {
|
|
53594
|
+
action: "read_operation";
|
|
53595
|
+
operation: {
|
|
53596
|
+
kind: "command";
|
|
53597
|
+
serialNumber: string;
|
|
53598
|
+
idempotencyKey: string;
|
|
53599
|
+
} | {
|
|
53600
|
+
kind: "firmware";
|
|
53601
|
+
serialNumber: string;
|
|
53602
|
+
updateId: string;
|
|
53603
|
+
} | {
|
|
53604
|
+
kind: "bluetooth_firmware";
|
|
53605
|
+
deviceId: string;
|
|
53606
|
+
updateId: string;
|
|
53607
|
+
} | {
|
|
53608
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53609
|
+
deviceId: string;
|
|
53610
|
+
requestId: string;
|
|
53611
|
+
} | {
|
|
53612
|
+
kind: "support";
|
|
53613
|
+
requestId: string;
|
|
53614
|
+
};
|
|
53615
|
+
};
|
|
53616
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53617
|
+
currentRevision?: string | undefined;
|
|
53618
|
+
retryAfterSeconds?: number | undefined;
|
|
53619
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53620
|
+
traceId: string;
|
|
53621
|
+
recovery: {
|
|
53622
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53623
|
+
} | {
|
|
53624
|
+
action: "read_operation";
|
|
53625
|
+
operation: {
|
|
53626
|
+
kind: "command";
|
|
53627
|
+
serialNumber: string;
|
|
53628
|
+
idempotencyKey: string;
|
|
53629
|
+
} | {
|
|
53630
|
+
kind: "firmware";
|
|
53631
|
+
serialNumber: string;
|
|
53632
|
+
updateId: string;
|
|
53633
|
+
} | {
|
|
53634
|
+
kind: "bluetooth_firmware";
|
|
53635
|
+
deviceId: string;
|
|
53636
|
+
updateId: string;
|
|
53637
|
+
} | {
|
|
53638
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53639
|
+
deviceId: string;
|
|
53640
|
+
requestId: string;
|
|
53641
|
+
} | {
|
|
53642
|
+
kind: "support";
|
|
53643
|
+
requestId: string;
|
|
53644
|
+
};
|
|
53645
|
+
};
|
|
53646
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53647
|
+
currentRevision?: string | undefined;
|
|
53648
|
+
retryAfterSeconds?: number | undefined;
|
|
53649
|
+
}, unknown>>;
|
|
53650
|
+
};
|
|
53651
|
+
readonly read_unavailable: {
|
|
53652
|
+
readonly status: 503;
|
|
53653
|
+
readonly data: z.ZodType<{
|
|
53654
|
+
traceId: string;
|
|
53655
|
+
recovery: {
|
|
53656
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53657
|
+
} | {
|
|
53658
|
+
action: "read_operation";
|
|
53659
|
+
operation: {
|
|
53660
|
+
kind: "command";
|
|
53661
|
+
serialNumber: string;
|
|
53662
|
+
idempotencyKey: string;
|
|
53663
|
+
} | {
|
|
53664
|
+
kind: "firmware";
|
|
53665
|
+
serialNumber: string;
|
|
53666
|
+
updateId: string;
|
|
53667
|
+
} | {
|
|
53668
|
+
kind: "bluetooth_firmware";
|
|
53669
|
+
deviceId: string;
|
|
53670
|
+
updateId: string;
|
|
53671
|
+
} | {
|
|
53672
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53673
|
+
deviceId: string;
|
|
53674
|
+
requestId: string;
|
|
53675
|
+
} | {
|
|
53676
|
+
kind: "support";
|
|
53677
|
+
requestId: string;
|
|
53678
|
+
};
|
|
53679
|
+
};
|
|
53680
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53681
|
+
currentRevision?: string | undefined;
|
|
53682
|
+
retryAfterSeconds?: number | undefined;
|
|
53683
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53684
|
+
traceId: string;
|
|
53685
|
+
recovery: {
|
|
53686
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53687
|
+
} | {
|
|
53688
|
+
action: "read_operation";
|
|
53689
|
+
operation: {
|
|
53690
|
+
kind: "command";
|
|
53691
|
+
serialNumber: string;
|
|
53692
|
+
idempotencyKey: string;
|
|
53693
|
+
} | {
|
|
53694
|
+
kind: "firmware";
|
|
53695
|
+
serialNumber: string;
|
|
53696
|
+
updateId: string;
|
|
53697
|
+
} | {
|
|
53698
|
+
kind: "bluetooth_firmware";
|
|
53699
|
+
deviceId: string;
|
|
53700
|
+
updateId: string;
|
|
53701
|
+
} | {
|
|
53702
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53703
|
+
deviceId: string;
|
|
53704
|
+
requestId: string;
|
|
53705
|
+
} | {
|
|
53706
|
+
kind: "support";
|
|
53707
|
+
requestId: string;
|
|
53708
|
+
};
|
|
53709
|
+
};
|
|
53710
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53711
|
+
currentRevision?: string | undefined;
|
|
53712
|
+
retryAfterSeconds?: number | undefined;
|
|
53713
|
+
}, unknown>>;
|
|
53714
|
+
};
|
|
53715
|
+
readonly stream_unavailable: {
|
|
53716
|
+
readonly status: 503;
|
|
53717
|
+
readonly data: z.ZodType<{
|
|
53718
|
+
traceId: string;
|
|
53719
|
+
recovery: {
|
|
53720
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53721
|
+
} | {
|
|
53722
|
+
action: "read_operation";
|
|
53723
|
+
operation: {
|
|
53724
|
+
kind: "command";
|
|
53725
|
+
serialNumber: string;
|
|
53726
|
+
idempotencyKey: string;
|
|
53727
|
+
} | {
|
|
53728
|
+
kind: "firmware";
|
|
53729
|
+
serialNumber: string;
|
|
53730
|
+
updateId: string;
|
|
53731
|
+
} | {
|
|
53732
|
+
kind: "bluetooth_firmware";
|
|
53733
|
+
deviceId: string;
|
|
53734
|
+
updateId: string;
|
|
53735
|
+
} | {
|
|
53736
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53737
|
+
deviceId: string;
|
|
53738
|
+
requestId: string;
|
|
53739
|
+
} | {
|
|
53740
|
+
kind: "support";
|
|
53741
|
+
requestId: string;
|
|
53742
|
+
};
|
|
53743
|
+
};
|
|
53744
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53745
|
+
currentRevision?: string | undefined;
|
|
53746
|
+
retryAfterSeconds?: number | undefined;
|
|
53747
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53748
|
+
traceId: string;
|
|
53749
|
+
recovery: {
|
|
53750
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53751
|
+
} | {
|
|
53752
|
+
action: "read_operation";
|
|
53753
|
+
operation: {
|
|
53754
|
+
kind: "command";
|
|
53755
|
+
serialNumber: string;
|
|
53756
|
+
idempotencyKey: string;
|
|
53757
|
+
} | {
|
|
53758
|
+
kind: "firmware";
|
|
53759
|
+
serialNumber: string;
|
|
53760
|
+
updateId: string;
|
|
53761
|
+
} | {
|
|
53762
|
+
kind: "bluetooth_firmware";
|
|
53763
|
+
deviceId: string;
|
|
53764
|
+
updateId: string;
|
|
53765
|
+
} | {
|
|
53766
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53767
|
+
deviceId: string;
|
|
53768
|
+
requestId: string;
|
|
53769
|
+
} | {
|
|
53770
|
+
kind: "support";
|
|
53771
|
+
requestId: string;
|
|
53772
|
+
};
|
|
53773
|
+
};
|
|
53774
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53775
|
+
currentRevision?: string | undefined;
|
|
53776
|
+
retryAfterSeconds?: number | undefined;
|
|
53777
|
+
}, unknown>>;
|
|
53778
|
+
};
|
|
53779
|
+
readonly payload_too_large: {
|
|
53780
|
+
readonly status: 413;
|
|
53781
|
+
readonly data: z.ZodType<{
|
|
53782
|
+
traceId: string;
|
|
53783
|
+
recovery: {
|
|
53784
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53785
|
+
} | {
|
|
53786
|
+
action: "read_operation";
|
|
53787
|
+
operation: {
|
|
53788
|
+
kind: "command";
|
|
53789
|
+
serialNumber: string;
|
|
53790
|
+
idempotencyKey: string;
|
|
53791
|
+
} | {
|
|
53792
|
+
kind: "firmware";
|
|
53793
|
+
serialNumber: string;
|
|
53794
|
+
updateId: string;
|
|
53795
|
+
} | {
|
|
53796
|
+
kind: "bluetooth_firmware";
|
|
53797
|
+
deviceId: string;
|
|
53798
|
+
updateId: string;
|
|
53799
|
+
} | {
|
|
53800
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53801
|
+
deviceId: string;
|
|
53802
|
+
requestId: string;
|
|
53803
|
+
} | {
|
|
53804
|
+
kind: "support";
|
|
53805
|
+
requestId: string;
|
|
53806
|
+
};
|
|
53807
|
+
};
|
|
53808
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53809
|
+
currentRevision?: string | undefined;
|
|
53810
|
+
retryAfterSeconds?: number | undefined;
|
|
53811
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53812
|
+
traceId: string;
|
|
53813
|
+
recovery: {
|
|
53814
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53815
|
+
} | {
|
|
53816
|
+
action: "read_operation";
|
|
53817
|
+
operation: {
|
|
53818
|
+
kind: "command";
|
|
53819
|
+
serialNumber: string;
|
|
53820
|
+
idempotencyKey: string;
|
|
53821
|
+
} | {
|
|
53822
|
+
kind: "firmware";
|
|
53823
|
+
serialNumber: string;
|
|
53824
|
+
updateId: string;
|
|
53825
|
+
} | {
|
|
53826
|
+
kind: "bluetooth_firmware";
|
|
53827
|
+
deviceId: string;
|
|
53828
|
+
updateId: string;
|
|
53829
|
+
} | {
|
|
53830
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53831
|
+
deviceId: string;
|
|
53832
|
+
requestId: string;
|
|
53833
|
+
} | {
|
|
53834
|
+
kind: "support";
|
|
53835
|
+
requestId: string;
|
|
53836
|
+
};
|
|
53837
|
+
};
|
|
53838
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53839
|
+
currentRevision?: string | undefined;
|
|
53840
|
+
retryAfterSeconds?: number | undefined;
|
|
53841
|
+
}, unknown>>;
|
|
53842
|
+
};
|
|
53843
|
+
readonly request_timeout: {
|
|
53844
|
+
readonly status: 503;
|
|
53845
|
+
readonly data: z.ZodType<{
|
|
53846
|
+
traceId: string;
|
|
53847
|
+
recovery: {
|
|
53848
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53849
|
+
} | {
|
|
53850
|
+
action: "read_operation";
|
|
53851
|
+
operation: {
|
|
53852
|
+
kind: "command";
|
|
53853
|
+
serialNumber: string;
|
|
53854
|
+
idempotencyKey: string;
|
|
53855
|
+
} | {
|
|
53856
|
+
kind: "firmware";
|
|
53857
|
+
serialNumber: string;
|
|
53858
|
+
updateId: string;
|
|
53859
|
+
} | {
|
|
53860
|
+
kind: "bluetooth_firmware";
|
|
53861
|
+
deviceId: string;
|
|
53862
|
+
updateId: string;
|
|
53863
|
+
} | {
|
|
53864
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53865
|
+
deviceId: string;
|
|
53866
|
+
requestId: string;
|
|
53867
|
+
} | {
|
|
53868
|
+
kind: "support";
|
|
53869
|
+
requestId: string;
|
|
53870
|
+
};
|
|
53871
|
+
};
|
|
53872
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53873
|
+
currentRevision?: string | undefined;
|
|
53874
|
+
retryAfterSeconds?: number | undefined;
|
|
53875
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53876
|
+
traceId: string;
|
|
53877
|
+
recovery: {
|
|
53878
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53879
|
+
} | {
|
|
53880
|
+
action: "read_operation";
|
|
53881
|
+
operation: {
|
|
53882
|
+
kind: "command";
|
|
53883
|
+
serialNumber: string;
|
|
53884
|
+
idempotencyKey: string;
|
|
53885
|
+
} | {
|
|
53886
|
+
kind: "firmware";
|
|
53887
|
+
serialNumber: string;
|
|
53888
|
+
updateId: string;
|
|
53889
|
+
} | {
|
|
53890
|
+
kind: "bluetooth_firmware";
|
|
53891
|
+
deviceId: string;
|
|
53892
|
+
updateId: string;
|
|
53893
|
+
} | {
|
|
53894
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53895
|
+
deviceId: string;
|
|
53896
|
+
requestId: string;
|
|
53897
|
+
} | {
|
|
53898
|
+
kind: "support";
|
|
53899
|
+
requestId: string;
|
|
53900
|
+
};
|
|
53901
|
+
};
|
|
53902
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53903
|
+
currentRevision?: string | undefined;
|
|
53904
|
+
retryAfterSeconds?: number | undefined;
|
|
53905
|
+
}, unknown>>;
|
|
53906
|
+
};
|
|
53907
|
+
readonly operation_unconfirmed: {
|
|
53908
|
+
readonly status: 503;
|
|
53909
|
+
readonly data: z.ZodType<{
|
|
53910
|
+
traceId: string;
|
|
53911
|
+
recovery: {
|
|
53912
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53913
|
+
} | {
|
|
53914
|
+
action: "read_operation";
|
|
53915
|
+
operation: {
|
|
53916
|
+
kind: "command";
|
|
53917
|
+
serialNumber: string;
|
|
53918
|
+
idempotencyKey: string;
|
|
53919
|
+
} | {
|
|
53920
|
+
kind: "firmware";
|
|
53921
|
+
serialNumber: string;
|
|
53922
|
+
updateId: string;
|
|
53923
|
+
} | {
|
|
53924
|
+
kind: "bluetooth_firmware";
|
|
53925
|
+
deviceId: string;
|
|
53926
|
+
updateId: string;
|
|
53927
|
+
} | {
|
|
53928
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53929
|
+
deviceId: string;
|
|
53930
|
+
requestId: string;
|
|
53931
|
+
} | {
|
|
53932
|
+
kind: "support";
|
|
53933
|
+
requestId: string;
|
|
53934
|
+
};
|
|
53935
|
+
};
|
|
53936
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53937
|
+
currentRevision?: string | undefined;
|
|
53938
|
+
retryAfterSeconds?: number | undefined;
|
|
53939
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53940
|
+
traceId: string;
|
|
53941
|
+
recovery: {
|
|
53942
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53943
|
+
} | {
|
|
53944
|
+
action: "read_operation";
|
|
53945
|
+
operation: {
|
|
53946
|
+
kind: "command";
|
|
53947
|
+
serialNumber: string;
|
|
53948
|
+
idempotencyKey: string;
|
|
53949
|
+
} | {
|
|
53950
|
+
kind: "firmware";
|
|
53951
|
+
serialNumber: string;
|
|
53952
|
+
updateId: string;
|
|
53953
|
+
} | {
|
|
53954
|
+
kind: "bluetooth_firmware";
|
|
53955
|
+
deviceId: string;
|
|
53956
|
+
updateId: string;
|
|
53957
|
+
} | {
|
|
53958
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53959
|
+
deviceId: string;
|
|
53960
|
+
requestId: string;
|
|
53961
|
+
} | {
|
|
53962
|
+
kind: "support";
|
|
53963
|
+
requestId: string;
|
|
53964
|
+
};
|
|
53965
|
+
};
|
|
53966
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
53967
|
+
currentRevision?: string | undefined;
|
|
53968
|
+
retryAfterSeconds?: number | undefined;
|
|
53969
|
+
}, unknown>>;
|
|
53970
|
+
};
|
|
53971
|
+
readonly directory_unavailable: {
|
|
53972
|
+
readonly status: 503;
|
|
53973
|
+
readonly data: z.ZodType<{
|
|
53974
|
+
traceId: string;
|
|
53975
|
+
recovery: {
|
|
53976
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
53977
|
+
} | {
|
|
53978
|
+
action: "read_operation";
|
|
53979
|
+
operation: {
|
|
53980
|
+
kind: "command";
|
|
53981
|
+
serialNumber: string;
|
|
53982
|
+
idempotencyKey: string;
|
|
53983
|
+
} | {
|
|
53984
|
+
kind: "firmware";
|
|
53985
|
+
serialNumber: string;
|
|
53986
|
+
updateId: string;
|
|
53987
|
+
} | {
|
|
53988
|
+
kind: "bluetooth_firmware";
|
|
53989
|
+
deviceId: string;
|
|
53990
|
+
updateId: string;
|
|
53991
|
+
} | {
|
|
53992
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
53993
|
+
deviceId: string;
|
|
53994
|
+
requestId: string;
|
|
53995
|
+
} | {
|
|
53996
|
+
kind: "support";
|
|
53997
|
+
requestId: string;
|
|
53998
|
+
};
|
|
53999
|
+
};
|
|
54000
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54001
|
+
currentRevision?: string | undefined;
|
|
54002
|
+
retryAfterSeconds?: number | undefined;
|
|
54003
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54004
|
+
traceId: string;
|
|
54005
|
+
recovery: {
|
|
54006
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54007
|
+
} | {
|
|
54008
|
+
action: "read_operation";
|
|
54009
|
+
operation: {
|
|
54010
|
+
kind: "command";
|
|
54011
|
+
serialNumber: string;
|
|
54012
|
+
idempotencyKey: string;
|
|
54013
|
+
} | {
|
|
54014
|
+
kind: "firmware";
|
|
54015
|
+
serialNumber: string;
|
|
54016
|
+
updateId: string;
|
|
54017
|
+
} | {
|
|
54018
|
+
kind: "bluetooth_firmware";
|
|
54019
|
+
deviceId: string;
|
|
54020
|
+
updateId: string;
|
|
54021
|
+
} | {
|
|
54022
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54023
|
+
deviceId: string;
|
|
54024
|
+
requestId: string;
|
|
54025
|
+
} | {
|
|
54026
|
+
kind: "support";
|
|
54027
|
+
requestId: string;
|
|
54028
|
+
};
|
|
54029
|
+
};
|
|
54030
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54031
|
+
currentRevision?: string | undefined;
|
|
54032
|
+
retryAfterSeconds?: number | undefined;
|
|
54033
|
+
}, unknown>>;
|
|
54034
|
+
};
|
|
54035
|
+
}>, Record<never, never>>;
|
|
54036
|
+
watchDetails: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
54037
|
+
deviceId: z.ZodString;
|
|
54038
|
+
}, z.core.$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
54039
|
+
id: string;
|
|
54040
|
+
firmware: {
|
|
54041
|
+
lte: string | null;
|
|
54042
|
+
bluetooth: string | null;
|
|
54043
|
+
battery: string | null;
|
|
54044
|
+
modem: string | null;
|
|
54045
|
+
mtk: string | null;
|
|
54046
|
+
ti: string | null;
|
|
54047
|
+
buildNumber: number | null;
|
|
54048
|
+
} | null;
|
|
54049
|
+
subscription: {
|
|
54050
|
+
state: "unavailable";
|
|
54051
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54052
|
+
} | {
|
|
54053
|
+
id: string;
|
|
54054
|
+
activity: "unknown" | "active" | "inactive";
|
|
54055
|
+
isDemo: boolean;
|
|
54056
|
+
status: string | null;
|
|
54057
|
+
country: string | null;
|
|
54058
|
+
endsAt: string | null;
|
|
54059
|
+
state: "available";
|
|
54060
|
+
};
|
|
54061
|
+
createdAt: string;
|
|
54062
|
+
revision: string;
|
|
54063
|
+
battery: {
|
|
54064
|
+
state: "unavailable";
|
|
54065
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54066
|
+
} | {
|
|
54067
|
+
level: number | null;
|
|
54068
|
+
isCharging: boolean | null;
|
|
54069
|
+
levelUpdatedAt: string | null;
|
|
54070
|
+
chargingObservedAt: string | null;
|
|
54071
|
+
observation: {
|
|
54072
|
+
observedAt: string | null;
|
|
54073
|
+
receivedAt: string | null;
|
|
54074
|
+
} | null;
|
|
54075
|
+
source: string | null;
|
|
54076
|
+
state: "available";
|
|
54077
|
+
};
|
|
54078
|
+
identity: {
|
|
54079
|
+
serialNumber: string | null;
|
|
54080
|
+
} | null;
|
|
54081
|
+
generation: number | null;
|
|
54082
|
+
bike: {
|
|
54083
|
+
revision: string;
|
|
54084
|
+
name: string | null;
|
|
54085
|
+
brand: string | null;
|
|
54086
|
+
type: string | null;
|
|
54087
|
+
model: string | null;
|
|
54088
|
+
frameNumber: string | null;
|
|
54089
|
+
url: string | null;
|
|
54090
|
+
marketPrice: string | null;
|
|
54091
|
+
marketPriceCurrency: string | null;
|
|
54092
|
+
};
|
|
54093
|
+
location: {
|
|
54094
|
+
state: "unavailable";
|
|
54095
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54096
|
+
} | {
|
|
54097
|
+
latitude: number;
|
|
54098
|
+
longitude: number;
|
|
54099
|
+
accuracy: number | null;
|
|
54100
|
+
source: string | null;
|
|
54101
|
+
observedAt: string | null;
|
|
54102
|
+
state: "available";
|
|
54103
|
+
};
|
|
54104
|
+
readIssues: {
|
|
54105
|
+
path: string;
|
|
54106
|
+
code: "invalid_stored_value";
|
|
54107
|
+
}[];
|
|
54108
|
+
updatedAt: string;
|
|
54109
|
+
preferences: {
|
|
54110
|
+
movementAlerts: boolean;
|
|
54111
|
+
};
|
|
54112
|
+
capabilities: {
|
|
54113
|
+
firmwareUpdates: boolean;
|
|
54114
|
+
factoryResetReports: boolean;
|
|
54115
|
+
};
|
|
54116
|
+
membership: {
|
|
54117
|
+
accountId: string;
|
|
54118
|
+
activeMemberCount: number;
|
|
54119
|
+
};
|
|
54120
|
+
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
54121
|
+
id: string;
|
|
54122
|
+
firmware: {
|
|
54123
|
+
lte: string | null;
|
|
54124
|
+
bluetooth: string | null;
|
|
54125
|
+
battery: string | null;
|
|
54126
|
+
modem: string | null;
|
|
54127
|
+
mtk: string | null;
|
|
54128
|
+
ti: string | null;
|
|
54129
|
+
buildNumber: number | null;
|
|
54130
|
+
} | null;
|
|
54131
|
+
subscription: {
|
|
54132
|
+
state: "unavailable";
|
|
54133
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54134
|
+
} | {
|
|
54135
|
+
id: string;
|
|
54136
|
+
activity: "unknown" | "active" | "inactive";
|
|
54137
|
+
isDemo: boolean;
|
|
54138
|
+
status: string | null;
|
|
54139
|
+
country: string | null;
|
|
54140
|
+
endsAt: string | null;
|
|
54141
|
+
state: "available";
|
|
54142
|
+
};
|
|
54143
|
+
createdAt: string;
|
|
54144
|
+
revision: string;
|
|
54145
|
+
battery: {
|
|
54146
|
+
state: "unavailable";
|
|
54147
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54148
|
+
} | {
|
|
54149
|
+
level: number | null;
|
|
54150
|
+
isCharging: boolean | null;
|
|
54151
|
+
levelUpdatedAt: string | null;
|
|
54152
|
+
chargingObservedAt: string | null;
|
|
54153
|
+
observation: {
|
|
54154
|
+
observedAt: string | null;
|
|
54155
|
+
receivedAt: string | null;
|
|
54156
|
+
} | null;
|
|
54157
|
+
source: string | null;
|
|
54158
|
+
state: "available";
|
|
54159
|
+
};
|
|
54160
|
+
identity: {
|
|
54161
|
+
serialNumber: string | null;
|
|
54162
|
+
} | null;
|
|
54163
|
+
generation: number | null;
|
|
54164
|
+
bike: {
|
|
54165
|
+
revision: string;
|
|
54166
|
+
name: string | null;
|
|
54167
|
+
brand: string | null;
|
|
54168
|
+
type: string | null;
|
|
54169
|
+
model: string | null;
|
|
54170
|
+
frameNumber: string | null;
|
|
54171
|
+
url: string | null;
|
|
54172
|
+
marketPrice: string | null;
|
|
54173
|
+
marketPriceCurrency: string | null;
|
|
54174
|
+
};
|
|
54175
|
+
location: {
|
|
54176
|
+
state: "unavailable";
|
|
54177
|
+
reason: "invalid" | "not_observed" | "not_assigned";
|
|
54178
|
+
} | {
|
|
54179
|
+
latitude: number;
|
|
54180
|
+
longitude: number;
|
|
54181
|
+
accuracy: number | null;
|
|
54182
|
+
source: string | null;
|
|
54183
|
+
observedAt: string | null;
|
|
54184
|
+
state: "available";
|
|
54185
|
+
};
|
|
54186
|
+
readIssues: {
|
|
54187
|
+
path: string;
|
|
54188
|
+
code: "invalid_stored_value";
|
|
54189
|
+
}[];
|
|
54190
|
+
updatedAt: string;
|
|
54191
|
+
preferences: {
|
|
54192
|
+
movementAlerts: boolean;
|
|
54193
|
+
};
|
|
54194
|
+
capabilities: {
|
|
54195
|
+
firmwareUpdates: boolean;
|
|
54196
|
+
factoryResetReports: boolean;
|
|
54197
|
+
};
|
|
54198
|
+
membership: {
|
|
54199
|
+
accountId: string;
|
|
54200
|
+
activeMemberCount: number;
|
|
54201
|
+
};
|
|
54202
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
54203
|
+
readonly invalid: {
|
|
54204
|
+
readonly status: 400;
|
|
54205
|
+
readonly data: z.ZodType<{
|
|
54206
|
+
traceId: string;
|
|
54207
|
+
recovery: {
|
|
54208
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54209
|
+
} | {
|
|
54210
|
+
action: "read_operation";
|
|
54211
|
+
operation: {
|
|
54212
|
+
kind: "command";
|
|
54213
|
+
serialNumber: string;
|
|
54214
|
+
idempotencyKey: string;
|
|
54215
|
+
} | {
|
|
54216
|
+
kind: "firmware";
|
|
54217
|
+
serialNumber: string;
|
|
54218
|
+
updateId: string;
|
|
54219
|
+
} | {
|
|
54220
|
+
kind: "bluetooth_firmware";
|
|
54221
|
+
deviceId: string;
|
|
54222
|
+
updateId: string;
|
|
54223
|
+
} | {
|
|
54224
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54225
|
+
deviceId: string;
|
|
54226
|
+
requestId: string;
|
|
54227
|
+
} | {
|
|
54228
|
+
kind: "support";
|
|
54229
|
+
requestId: string;
|
|
54230
|
+
};
|
|
54231
|
+
};
|
|
54232
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54233
|
+
currentRevision?: string | undefined;
|
|
54234
|
+
retryAfterSeconds?: number | undefined;
|
|
54235
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54236
|
+
traceId: string;
|
|
54237
|
+
recovery: {
|
|
54238
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54239
|
+
} | {
|
|
54240
|
+
action: "read_operation";
|
|
54241
|
+
operation: {
|
|
54242
|
+
kind: "command";
|
|
54243
|
+
serialNumber: string;
|
|
54244
|
+
idempotencyKey: string;
|
|
54245
|
+
} | {
|
|
54246
|
+
kind: "firmware";
|
|
54247
|
+
serialNumber: string;
|
|
54248
|
+
updateId: string;
|
|
54249
|
+
} | {
|
|
54250
|
+
kind: "bluetooth_firmware";
|
|
54251
|
+
deviceId: string;
|
|
54252
|
+
updateId: string;
|
|
54253
|
+
} | {
|
|
54254
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54255
|
+
deviceId: string;
|
|
54256
|
+
requestId: string;
|
|
54257
|
+
} | {
|
|
54258
|
+
kind: "support";
|
|
54259
|
+
requestId: string;
|
|
54260
|
+
};
|
|
54261
|
+
};
|
|
54262
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54263
|
+
currentRevision?: string | undefined;
|
|
54264
|
+
retryAfterSeconds?: number | undefined;
|
|
54265
|
+
}, unknown>>;
|
|
54266
|
+
};
|
|
54267
|
+
readonly unauthenticated: {
|
|
54268
|
+
readonly status: 401;
|
|
54269
|
+
readonly data: z.ZodType<{
|
|
54270
|
+
traceId: string;
|
|
54271
|
+
recovery: {
|
|
54272
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54273
|
+
} | {
|
|
54274
|
+
action: "read_operation";
|
|
54275
|
+
operation: {
|
|
54276
|
+
kind: "command";
|
|
54277
|
+
serialNumber: string;
|
|
54278
|
+
idempotencyKey: string;
|
|
54279
|
+
} | {
|
|
54280
|
+
kind: "firmware";
|
|
54281
|
+
serialNumber: string;
|
|
54282
|
+
updateId: string;
|
|
54283
|
+
} | {
|
|
54284
|
+
kind: "bluetooth_firmware";
|
|
54285
|
+
deviceId: string;
|
|
54286
|
+
updateId: string;
|
|
54287
|
+
} | {
|
|
54288
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54289
|
+
deviceId: string;
|
|
54290
|
+
requestId: string;
|
|
54291
|
+
} | {
|
|
54292
|
+
kind: "support";
|
|
54293
|
+
requestId: string;
|
|
54294
|
+
};
|
|
54295
|
+
};
|
|
54296
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54297
|
+
currentRevision?: string | undefined;
|
|
54298
|
+
retryAfterSeconds?: number | undefined;
|
|
54299
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54300
|
+
traceId: string;
|
|
54301
|
+
recovery: {
|
|
54302
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54303
|
+
} | {
|
|
54304
|
+
action: "read_operation";
|
|
54305
|
+
operation: {
|
|
54306
|
+
kind: "command";
|
|
54307
|
+
serialNumber: string;
|
|
54308
|
+
idempotencyKey: string;
|
|
54309
|
+
} | {
|
|
54310
|
+
kind: "firmware";
|
|
54311
|
+
serialNumber: string;
|
|
54312
|
+
updateId: string;
|
|
54313
|
+
} | {
|
|
54314
|
+
kind: "bluetooth_firmware";
|
|
54315
|
+
deviceId: string;
|
|
54316
|
+
updateId: string;
|
|
54317
|
+
} | {
|
|
54318
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54319
|
+
deviceId: string;
|
|
54320
|
+
requestId: string;
|
|
54321
|
+
} | {
|
|
54322
|
+
kind: "support";
|
|
54323
|
+
requestId: string;
|
|
54324
|
+
};
|
|
54325
|
+
};
|
|
54326
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54327
|
+
currentRevision?: string | undefined;
|
|
54328
|
+
retryAfterSeconds?: number | undefined;
|
|
54329
|
+
}, unknown>>;
|
|
54330
|
+
};
|
|
54331
|
+
readonly forbidden: {
|
|
54332
|
+
readonly status: 403;
|
|
54333
|
+
readonly data: z.ZodType<{
|
|
54334
|
+
traceId: string;
|
|
54335
|
+
recovery: {
|
|
54336
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54337
|
+
} | {
|
|
54338
|
+
action: "read_operation";
|
|
54339
|
+
operation: {
|
|
54340
|
+
kind: "command";
|
|
54341
|
+
serialNumber: string;
|
|
54342
|
+
idempotencyKey: string;
|
|
54343
|
+
} | {
|
|
54344
|
+
kind: "firmware";
|
|
54345
|
+
serialNumber: string;
|
|
54346
|
+
updateId: string;
|
|
54347
|
+
} | {
|
|
54348
|
+
kind: "bluetooth_firmware";
|
|
54349
|
+
deviceId: string;
|
|
54350
|
+
updateId: string;
|
|
54351
|
+
} | {
|
|
54352
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54353
|
+
deviceId: string;
|
|
54354
|
+
requestId: string;
|
|
54355
|
+
} | {
|
|
54356
|
+
kind: "support";
|
|
54357
|
+
requestId: string;
|
|
54358
|
+
};
|
|
54359
|
+
};
|
|
54360
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54361
|
+
currentRevision?: string | undefined;
|
|
54362
|
+
retryAfterSeconds?: number | undefined;
|
|
54363
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54364
|
+
traceId: string;
|
|
54365
|
+
recovery: {
|
|
54366
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54367
|
+
} | {
|
|
54368
|
+
action: "read_operation";
|
|
54369
|
+
operation: {
|
|
54370
|
+
kind: "command";
|
|
54371
|
+
serialNumber: string;
|
|
54372
|
+
idempotencyKey: string;
|
|
54373
|
+
} | {
|
|
54374
|
+
kind: "firmware";
|
|
54375
|
+
serialNumber: string;
|
|
54376
|
+
updateId: string;
|
|
54377
|
+
} | {
|
|
54378
|
+
kind: "bluetooth_firmware";
|
|
54379
|
+
deviceId: string;
|
|
54380
|
+
updateId: string;
|
|
54381
|
+
} | {
|
|
54382
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54383
|
+
deviceId: string;
|
|
54384
|
+
requestId: string;
|
|
54385
|
+
} | {
|
|
54386
|
+
kind: "support";
|
|
54387
|
+
requestId: string;
|
|
54388
|
+
};
|
|
54389
|
+
};
|
|
54390
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54391
|
+
currentRevision?: string | undefined;
|
|
54392
|
+
retryAfterSeconds?: number | undefined;
|
|
54393
|
+
}, unknown>>;
|
|
54394
|
+
};
|
|
54395
|
+
readonly not_found: {
|
|
54396
|
+
readonly status: 404;
|
|
54397
|
+
readonly data: z.ZodType<{
|
|
54398
|
+
traceId: string;
|
|
54399
|
+
recovery: {
|
|
54400
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54401
|
+
} | {
|
|
54402
|
+
action: "read_operation";
|
|
54403
|
+
operation: {
|
|
54404
|
+
kind: "command";
|
|
54405
|
+
serialNumber: string;
|
|
54406
|
+
idempotencyKey: string;
|
|
54407
|
+
} | {
|
|
54408
|
+
kind: "firmware";
|
|
54409
|
+
serialNumber: string;
|
|
54410
|
+
updateId: string;
|
|
54411
|
+
} | {
|
|
54412
|
+
kind: "bluetooth_firmware";
|
|
54413
|
+
deviceId: string;
|
|
54414
|
+
updateId: string;
|
|
54415
|
+
} | {
|
|
54416
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54417
|
+
deviceId: string;
|
|
54418
|
+
requestId: string;
|
|
54419
|
+
} | {
|
|
54420
|
+
kind: "support";
|
|
54421
|
+
requestId: string;
|
|
54422
|
+
};
|
|
54423
|
+
};
|
|
54424
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54425
|
+
currentRevision?: string | undefined;
|
|
54426
|
+
retryAfterSeconds?: number | undefined;
|
|
54427
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54428
|
+
traceId: string;
|
|
54429
|
+
recovery: {
|
|
54430
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54431
|
+
} | {
|
|
54432
|
+
action: "read_operation";
|
|
54433
|
+
operation: {
|
|
54434
|
+
kind: "command";
|
|
54435
|
+
serialNumber: string;
|
|
54436
|
+
idempotencyKey: string;
|
|
54437
|
+
} | {
|
|
54438
|
+
kind: "firmware";
|
|
54439
|
+
serialNumber: string;
|
|
54440
|
+
updateId: string;
|
|
54441
|
+
} | {
|
|
54442
|
+
kind: "bluetooth_firmware";
|
|
54443
|
+
deviceId: string;
|
|
54444
|
+
updateId: string;
|
|
54445
|
+
} | {
|
|
54446
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54447
|
+
deviceId: string;
|
|
54448
|
+
requestId: string;
|
|
54449
|
+
} | {
|
|
54450
|
+
kind: "support";
|
|
54451
|
+
requestId: string;
|
|
54452
|
+
};
|
|
54453
|
+
};
|
|
54454
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54455
|
+
currentRevision?: string | undefined;
|
|
54456
|
+
retryAfterSeconds?: number | undefined;
|
|
54457
|
+
}, unknown>>;
|
|
54458
|
+
};
|
|
54459
|
+
readonly conflict: {
|
|
54460
|
+
readonly status: 409;
|
|
54461
|
+
readonly data: z.ZodType<{
|
|
54462
|
+
traceId: string;
|
|
54463
|
+
recovery: {
|
|
54464
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54465
|
+
} | {
|
|
54466
|
+
action: "read_operation";
|
|
54467
|
+
operation: {
|
|
54468
|
+
kind: "command";
|
|
54469
|
+
serialNumber: string;
|
|
54470
|
+
idempotencyKey: string;
|
|
54471
|
+
} | {
|
|
54472
|
+
kind: "firmware";
|
|
54473
|
+
serialNumber: string;
|
|
54474
|
+
updateId: string;
|
|
54475
|
+
} | {
|
|
54476
|
+
kind: "bluetooth_firmware";
|
|
54477
|
+
deviceId: string;
|
|
54478
|
+
updateId: string;
|
|
54479
|
+
} | {
|
|
54480
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54481
|
+
deviceId: string;
|
|
54482
|
+
requestId: string;
|
|
54483
|
+
} | {
|
|
54484
|
+
kind: "support";
|
|
54485
|
+
requestId: string;
|
|
54486
|
+
};
|
|
54487
|
+
};
|
|
54488
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54489
|
+
currentRevision?: string | undefined;
|
|
54490
|
+
retryAfterSeconds?: number | undefined;
|
|
54491
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54492
|
+
traceId: string;
|
|
54493
|
+
recovery: {
|
|
54494
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54495
|
+
} | {
|
|
54496
|
+
action: "read_operation";
|
|
54497
|
+
operation: {
|
|
54498
|
+
kind: "command";
|
|
54499
|
+
serialNumber: string;
|
|
54500
|
+
idempotencyKey: string;
|
|
54501
|
+
} | {
|
|
54502
|
+
kind: "firmware";
|
|
54503
|
+
serialNumber: string;
|
|
54504
|
+
updateId: string;
|
|
54505
|
+
} | {
|
|
54506
|
+
kind: "bluetooth_firmware";
|
|
54507
|
+
deviceId: string;
|
|
54508
|
+
updateId: string;
|
|
54509
|
+
} | {
|
|
54510
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54511
|
+
deviceId: string;
|
|
54512
|
+
requestId: string;
|
|
54513
|
+
} | {
|
|
54514
|
+
kind: "support";
|
|
54515
|
+
requestId: string;
|
|
54516
|
+
};
|
|
54517
|
+
};
|
|
54518
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54519
|
+
currentRevision?: string | undefined;
|
|
54520
|
+
retryAfterSeconds?: number | undefined;
|
|
54521
|
+
}, unknown>>;
|
|
54522
|
+
};
|
|
54523
|
+
readonly rate_limited: {
|
|
54524
|
+
readonly status: 429;
|
|
54525
|
+
readonly data: z.ZodType<{
|
|
54526
|
+
traceId: string;
|
|
54527
|
+
recovery: {
|
|
54528
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54529
|
+
} | {
|
|
54530
|
+
action: "read_operation";
|
|
54531
|
+
operation: {
|
|
54532
|
+
kind: "command";
|
|
54533
|
+
serialNumber: string;
|
|
54534
|
+
idempotencyKey: string;
|
|
54535
|
+
} | {
|
|
54536
|
+
kind: "firmware";
|
|
54537
|
+
serialNumber: string;
|
|
54538
|
+
updateId: string;
|
|
54539
|
+
} | {
|
|
54540
|
+
kind: "bluetooth_firmware";
|
|
54541
|
+
deviceId: string;
|
|
54542
|
+
updateId: string;
|
|
54543
|
+
} | {
|
|
54544
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54545
|
+
deviceId: string;
|
|
54546
|
+
requestId: string;
|
|
54547
|
+
} | {
|
|
54548
|
+
kind: "support";
|
|
54549
|
+
requestId: string;
|
|
54550
|
+
};
|
|
54551
|
+
};
|
|
54552
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54553
|
+
currentRevision?: string | undefined;
|
|
54554
|
+
retryAfterSeconds?: number | undefined;
|
|
54555
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54556
|
+
traceId: string;
|
|
54557
|
+
recovery: {
|
|
54558
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54559
|
+
} | {
|
|
54560
|
+
action: "read_operation";
|
|
54561
|
+
operation: {
|
|
54562
|
+
kind: "command";
|
|
54563
|
+
serialNumber: string;
|
|
54564
|
+
idempotencyKey: string;
|
|
54565
|
+
} | {
|
|
54566
|
+
kind: "firmware";
|
|
54567
|
+
serialNumber: string;
|
|
54568
|
+
updateId: string;
|
|
54569
|
+
} | {
|
|
54570
|
+
kind: "bluetooth_firmware";
|
|
54571
|
+
deviceId: string;
|
|
54572
|
+
updateId: string;
|
|
54573
|
+
} | {
|
|
54574
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54575
|
+
deviceId: string;
|
|
54576
|
+
requestId: string;
|
|
54577
|
+
} | {
|
|
54578
|
+
kind: "support";
|
|
54579
|
+
requestId: string;
|
|
54580
|
+
};
|
|
54581
|
+
};
|
|
54582
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54583
|
+
currentRevision?: string | undefined;
|
|
54584
|
+
retryAfterSeconds?: number | undefined;
|
|
54585
|
+
}, unknown>>;
|
|
54586
|
+
};
|
|
54587
|
+
readonly stored_data_invalid: {
|
|
54588
|
+
readonly status: 503;
|
|
54589
|
+
readonly data: z.ZodType<{
|
|
54590
|
+
traceId: string;
|
|
54591
|
+
recovery: {
|
|
54592
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54593
|
+
} | {
|
|
54594
|
+
action: "read_operation";
|
|
54595
|
+
operation: {
|
|
54596
|
+
kind: "command";
|
|
54597
|
+
serialNumber: string;
|
|
54598
|
+
idempotencyKey: string;
|
|
54599
|
+
} | {
|
|
54600
|
+
kind: "firmware";
|
|
54601
|
+
serialNumber: string;
|
|
54602
|
+
updateId: string;
|
|
54603
|
+
} | {
|
|
54604
|
+
kind: "bluetooth_firmware";
|
|
54605
|
+
deviceId: string;
|
|
54606
|
+
updateId: string;
|
|
54607
|
+
} | {
|
|
54608
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54609
|
+
deviceId: string;
|
|
54610
|
+
requestId: string;
|
|
54611
|
+
} | {
|
|
54612
|
+
kind: "support";
|
|
54613
|
+
requestId: string;
|
|
54614
|
+
};
|
|
54615
|
+
};
|
|
54616
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54617
|
+
currentRevision?: string | undefined;
|
|
54618
|
+
retryAfterSeconds?: number | undefined;
|
|
54619
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54620
|
+
traceId: string;
|
|
54621
|
+
recovery: {
|
|
54622
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54623
|
+
} | {
|
|
54624
|
+
action: "read_operation";
|
|
54625
|
+
operation: {
|
|
54626
|
+
kind: "command";
|
|
54627
|
+
serialNumber: string;
|
|
54628
|
+
idempotencyKey: string;
|
|
54629
|
+
} | {
|
|
54630
|
+
kind: "firmware";
|
|
54631
|
+
serialNumber: string;
|
|
54632
|
+
updateId: string;
|
|
54633
|
+
} | {
|
|
54634
|
+
kind: "bluetooth_firmware";
|
|
54635
|
+
deviceId: string;
|
|
54636
|
+
updateId: string;
|
|
54637
|
+
} | {
|
|
54638
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54639
|
+
deviceId: string;
|
|
54640
|
+
requestId: string;
|
|
54641
|
+
} | {
|
|
54642
|
+
kind: "support";
|
|
54643
|
+
requestId: string;
|
|
54644
|
+
};
|
|
54645
|
+
};
|
|
54646
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54647
|
+
currentRevision?: string | undefined;
|
|
54648
|
+
retryAfterSeconds?: number | undefined;
|
|
54649
|
+
}, unknown>>;
|
|
54650
|
+
};
|
|
54651
|
+
readonly service_unavailable: {
|
|
54652
|
+
readonly status: 503;
|
|
54653
|
+
readonly data: z.ZodType<{
|
|
54654
|
+
traceId: string;
|
|
54655
|
+
recovery: {
|
|
54656
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54657
|
+
} | {
|
|
54658
|
+
action: "read_operation";
|
|
54659
|
+
operation: {
|
|
54660
|
+
kind: "command";
|
|
54661
|
+
serialNumber: string;
|
|
54662
|
+
idempotencyKey: string;
|
|
54663
|
+
} | {
|
|
54664
|
+
kind: "firmware";
|
|
54665
|
+
serialNumber: string;
|
|
54666
|
+
updateId: string;
|
|
54667
|
+
} | {
|
|
54668
|
+
kind: "bluetooth_firmware";
|
|
54669
|
+
deviceId: string;
|
|
54670
|
+
updateId: string;
|
|
54671
|
+
} | {
|
|
54672
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54673
|
+
deviceId: string;
|
|
54674
|
+
requestId: string;
|
|
54675
|
+
} | {
|
|
54676
|
+
kind: "support";
|
|
54677
|
+
requestId: string;
|
|
54678
|
+
};
|
|
54679
|
+
};
|
|
54680
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54681
|
+
currentRevision?: string | undefined;
|
|
54682
|
+
retryAfterSeconds?: number | undefined;
|
|
54683
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54684
|
+
traceId: string;
|
|
54685
|
+
recovery: {
|
|
54686
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54687
|
+
} | {
|
|
54688
|
+
action: "read_operation";
|
|
54689
|
+
operation: {
|
|
54690
|
+
kind: "command";
|
|
54691
|
+
serialNumber: string;
|
|
54692
|
+
idempotencyKey: string;
|
|
54693
|
+
} | {
|
|
54694
|
+
kind: "firmware";
|
|
54695
|
+
serialNumber: string;
|
|
54696
|
+
updateId: string;
|
|
54697
|
+
} | {
|
|
54698
|
+
kind: "bluetooth_firmware";
|
|
54699
|
+
deviceId: string;
|
|
54700
|
+
updateId: string;
|
|
54701
|
+
} | {
|
|
54702
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54703
|
+
deviceId: string;
|
|
54704
|
+
requestId: string;
|
|
54705
|
+
} | {
|
|
54706
|
+
kind: "support";
|
|
54707
|
+
requestId: string;
|
|
54708
|
+
};
|
|
54709
|
+
};
|
|
54710
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54711
|
+
currentRevision?: string | undefined;
|
|
54712
|
+
retryAfterSeconds?: number | undefined;
|
|
54713
|
+
}, unknown>>;
|
|
54714
|
+
};
|
|
54715
|
+
readonly read_unavailable: {
|
|
54716
|
+
readonly status: 503;
|
|
54717
|
+
readonly data: z.ZodType<{
|
|
54718
|
+
traceId: string;
|
|
54719
|
+
recovery: {
|
|
54720
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54721
|
+
} | {
|
|
54722
|
+
action: "read_operation";
|
|
54723
|
+
operation: {
|
|
54724
|
+
kind: "command";
|
|
54725
|
+
serialNumber: string;
|
|
54726
|
+
idempotencyKey: string;
|
|
54727
|
+
} | {
|
|
54728
|
+
kind: "firmware";
|
|
54729
|
+
serialNumber: string;
|
|
54730
|
+
updateId: string;
|
|
54731
|
+
} | {
|
|
54732
|
+
kind: "bluetooth_firmware";
|
|
54733
|
+
deviceId: string;
|
|
54734
|
+
updateId: string;
|
|
54735
|
+
} | {
|
|
54736
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54737
|
+
deviceId: string;
|
|
54738
|
+
requestId: string;
|
|
54739
|
+
} | {
|
|
54740
|
+
kind: "support";
|
|
54741
|
+
requestId: string;
|
|
54742
|
+
};
|
|
54743
|
+
};
|
|
54744
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54745
|
+
currentRevision?: string | undefined;
|
|
54746
|
+
retryAfterSeconds?: number | undefined;
|
|
54747
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54748
|
+
traceId: string;
|
|
54749
|
+
recovery: {
|
|
54750
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54751
|
+
} | {
|
|
54752
|
+
action: "read_operation";
|
|
54753
|
+
operation: {
|
|
54754
|
+
kind: "command";
|
|
54755
|
+
serialNumber: string;
|
|
54756
|
+
idempotencyKey: string;
|
|
54757
|
+
} | {
|
|
54758
|
+
kind: "firmware";
|
|
54759
|
+
serialNumber: string;
|
|
54760
|
+
updateId: string;
|
|
54761
|
+
} | {
|
|
54762
|
+
kind: "bluetooth_firmware";
|
|
54763
|
+
deviceId: string;
|
|
54764
|
+
updateId: string;
|
|
54765
|
+
} | {
|
|
54766
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54767
|
+
deviceId: string;
|
|
54768
|
+
requestId: string;
|
|
54769
|
+
} | {
|
|
54770
|
+
kind: "support";
|
|
54771
|
+
requestId: string;
|
|
54772
|
+
};
|
|
54773
|
+
};
|
|
54774
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54775
|
+
currentRevision?: string | undefined;
|
|
54776
|
+
retryAfterSeconds?: number | undefined;
|
|
54777
|
+
}, unknown>>;
|
|
54778
|
+
};
|
|
54779
|
+
readonly stream_unavailable: {
|
|
54780
|
+
readonly status: 503;
|
|
54781
|
+
readonly data: z.ZodType<{
|
|
54782
|
+
traceId: string;
|
|
54783
|
+
recovery: {
|
|
54784
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54785
|
+
} | {
|
|
54786
|
+
action: "read_operation";
|
|
54787
|
+
operation: {
|
|
54788
|
+
kind: "command";
|
|
54789
|
+
serialNumber: string;
|
|
54790
|
+
idempotencyKey: string;
|
|
54791
|
+
} | {
|
|
54792
|
+
kind: "firmware";
|
|
54793
|
+
serialNumber: string;
|
|
54794
|
+
updateId: string;
|
|
54795
|
+
} | {
|
|
54796
|
+
kind: "bluetooth_firmware";
|
|
54797
|
+
deviceId: string;
|
|
54798
|
+
updateId: string;
|
|
54799
|
+
} | {
|
|
54800
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54801
|
+
deviceId: string;
|
|
54802
|
+
requestId: string;
|
|
54803
|
+
} | {
|
|
54804
|
+
kind: "support";
|
|
54805
|
+
requestId: string;
|
|
54806
|
+
};
|
|
54807
|
+
};
|
|
54808
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54809
|
+
currentRevision?: string | undefined;
|
|
54810
|
+
retryAfterSeconds?: number | undefined;
|
|
54811
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54812
|
+
traceId: string;
|
|
54813
|
+
recovery: {
|
|
54814
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54815
|
+
} | {
|
|
54816
|
+
action: "read_operation";
|
|
54817
|
+
operation: {
|
|
54818
|
+
kind: "command";
|
|
54819
|
+
serialNumber: string;
|
|
54820
|
+
idempotencyKey: string;
|
|
54821
|
+
} | {
|
|
54822
|
+
kind: "firmware";
|
|
54823
|
+
serialNumber: string;
|
|
54824
|
+
updateId: string;
|
|
54825
|
+
} | {
|
|
54826
|
+
kind: "bluetooth_firmware";
|
|
54827
|
+
deviceId: string;
|
|
54828
|
+
updateId: string;
|
|
54829
|
+
} | {
|
|
54830
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54831
|
+
deviceId: string;
|
|
54832
|
+
requestId: string;
|
|
54833
|
+
} | {
|
|
54834
|
+
kind: "support";
|
|
54835
|
+
requestId: string;
|
|
54836
|
+
};
|
|
54837
|
+
};
|
|
54838
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54839
|
+
currentRevision?: string | undefined;
|
|
54840
|
+
retryAfterSeconds?: number | undefined;
|
|
54841
|
+
}, unknown>>;
|
|
54842
|
+
};
|
|
54843
|
+
readonly payload_too_large: {
|
|
54844
|
+
readonly status: 413;
|
|
54845
|
+
readonly data: z.ZodType<{
|
|
54846
|
+
traceId: string;
|
|
54847
|
+
recovery: {
|
|
54848
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54849
|
+
} | {
|
|
54850
|
+
action: "read_operation";
|
|
54851
|
+
operation: {
|
|
54852
|
+
kind: "command";
|
|
54853
|
+
serialNumber: string;
|
|
54854
|
+
idempotencyKey: string;
|
|
54855
|
+
} | {
|
|
54856
|
+
kind: "firmware";
|
|
54857
|
+
serialNumber: string;
|
|
54858
|
+
updateId: string;
|
|
54859
|
+
} | {
|
|
54860
|
+
kind: "bluetooth_firmware";
|
|
54861
|
+
deviceId: string;
|
|
54862
|
+
updateId: string;
|
|
54863
|
+
} | {
|
|
54864
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54865
|
+
deviceId: string;
|
|
54866
|
+
requestId: string;
|
|
54867
|
+
} | {
|
|
54868
|
+
kind: "support";
|
|
54869
|
+
requestId: string;
|
|
54870
|
+
};
|
|
54871
|
+
};
|
|
54872
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54873
|
+
currentRevision?: string | undefined;
|
|
54874
|
+
retryAfterSeconds?: number | undefined;
|
|
54875
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54876
|
+
traceId: string;
|
|
54877
|
+
recovery: {
|
|
54878
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54879
|
+
} | {
|
|
54880
|
+
action: "read_operation";
|
|
54881
|
+
operation: {
|
|
54882
|
+
kind: "command";
|
|
54883
|
+
serialNumber: string;
|
|
54884
|
+
idempotencyKey: string;
|
|
54885
|
+
} | {
|
|
54886
|
+
kind: "firmware";
|
|
54887
|
+
serialNumber: string;
|
|
54888
|
+
updateId: string;
|
|
54889
|
+
} | {
|
|
54890
|
+
kind: "bluetooth_firmware";
|
|
54891
|
+
deviceId: string;
|
|
54892
|
+
updateId: string;
|
|
54893
|
+
} | {
|
|
54894
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54895
|
+
deviceId: string;
|
|
54896
|
+
requestId: string;
|
|
54897
|
+
} | {
|
|
54898
|
+
kind: "support";
|
|
54899
|
+
requestId: string;
|
|
54900
|
+
};
|
|
54901
|
+
};
|
|
54902
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54903
|
+
currentRevision?: string | undefined;
|
|
54904
|
+
retryAfterSeconds?: number | undefined;
|
|
54905
|
+
}, unknown>>;
|
|
54906
|
+
};
|
|
54907
|
+
readonly request_timeout: {
|
|
54908
|
+
readonly status: 503;
|
|
54909
|
+
readonly data: z.ZodType<{
|
|
54910
|
+
traceId: string;
|
|
54911
|
+
recovery: {
|
|
54912
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54913
|
+
} | {
|
|
54914
|
+
action: "read_operation";
|
|
54915
|
+
operation: {
|
|
54916
|
+
kind: "command";
|
|
54917
|
+
serialNumber: string;
|
|
54918
|
+
idempotencyKey: string;
|
|
54919
|
+
} | {
|
|
54920
|
+
kind: "firmware";
|
|
54921
|
+
serialNumber: string;
|
|
54922
|
+
updateId: string;
|
|
54923
|
+
} | {
|
|
54924
|
+
kind: "bluetooth_firmware";
|
|
54925
|
+
deviceId: string;
|
|
54926
|
+
updateId: string;
|
|
54927
|
+
} | {
|
|
54928
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54929
|
+
deviceId: string;
|
|
54930
|
+
requestId: string;
|
|
54931
|
+
} | {
|
|
54932
|
+
kind: "support";
|
|
54933
|
+
requestId: string;
|
|
54934
|
+
};
|
|
54935
|
+
};
|
|
54936
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54937
|
+
currentRevision?: string | undefined;
|
|
54938
|
+
retryAfterSeconds?: number | undefined;
|
|
54939
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
54940
|
+
traceId: string;
|
|
54941
|
+
recovery: {
|
|
54942
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54943
|
+
} | {
|
|
54944
|
+
action: "read_operation";
|
|
54945
|
+
operation: {
|
|
54946
|
+
kind: "command";
|
|
54947
|
+
serialNumber: string;
|
|
54948
|
+
idempotencyKey: string;
|
|
54949
|
+
} | {
|
|
54950
|
+
kind: "firmware";
|
|
54951
|
+
serialNumber: string;
|
|
54952
|
+
updateId: string;
|
|
54953
|
+
} | {
|
|
54954
|
+
kind: "bluetooth_firmware";
|
|
54955
|
+
deviceId: string;
|
|
54956
|
+
updateId: string;
|
|
54957
|
+
} | {
|
|
54958
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54959
|
+
deviceId: string;
|
|
54960
|
+
requestId: string;
|
|
54961
|
+
} | {
|
|
54962
|
+
kind: "support";
|
|
54963
|
+
requestId: string;
|
|
54964
|
+
};
|
|
54965
|
+
};
|
|
54966
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
54967
|
+
currentRevision?: string | undefined;
|
|
54968
|
+
retryAfterSeconds?: number | undefined;
|
|
54969
|
+
}, unknown>>;
|
|
54970
|
+
};
|
|
54971
|
+
readonly operation_unconfirmed: {
|
|
54972
|
+
readonly status: 503;
|
|
54973
|
+
readonly data: z.ZodType<{
|
|
54974
|
+
traceId: string;
|
|
54975
|
+
recovery: {
|
|
54976
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
54977
|
+
} | {
|
|
54978
|
+
action: "read_operation";
|
|
54979
|
+
operation: {
|
|
54980
|
+
kind: "command";
|
|
54981
|
+
serialNumber: string;
|
|
54982
|
+
idempotencyKey: string;
|
|
54983
|
+
} | {
|
|
54984
|
+
kind: "firmware";
|
|
54985
|
+
serialNumber: string;
|
|
54986
|
+
updateId: string;
|
|
54987
|
+
} | {
|
|
54988
|
+
kind: "bluetooth_firmware";
|
|
54989
|
+
deviceId: string;
|
|
54990
|
+
updateId: string;
|
|
54991
|
+
} | {
|
|
54992
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
54993
|
+
deviceId: string;
|
|
54994
|
+
requestId: string;
|
|
54995
|
+
} | {
|
|
54996
|
+
kind: "support";
|
|
54997
|
+
requestId: string;
|
|
54998
|
+
};
|
|
54999
|
+
};
|
|
55000
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
55001
|
+
currentRevision?: string | undefined;
|
|
55002
|
+
retryAfterSeconds?: number | undefined;
|
|
55003
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
55004
|
+
traceId: string;
|
|
55005
|
+
recovery: {
|
|
55006
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
55007
|
+
} | {
|
|
55008
|
+
action: "read_operation";
|
|
55009
|
+
operation: {
|
|
55010
|
+
kind: "command";
|
|
55011
|
+
serialNumber: string;
|
|
55012
|
+
idempotencyKey: string;
|
|
55013
|
+
} | {
|
|
55014
|
+
kind: "firmware";
|
|
55015
|
+
serialNumber: string;
|
|
55016
|
+
updateId: string;
|
|
55017
|
+
} | {
|
|
55018
|
+
kind: "bluetooth_firmware";
|
|
55019
|
+
deviceId: string;
|
|
55020
|
+
updateId: string;
|
|
55021
|
+
} | {
|
|
55022
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
55023
|
+
deviceId: string;
|
|
55024
|
+
requestId: string;
|
|
55025
|
+
} | {
|
|
55026
|
+
kind: "support";
|
|
55027
|
+
requestId: string;
|
|
55028
|
+
};
|
|
55029
|
+
};
|
|
55030
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
55031
|
+
currentRevision?: string | undefined;
|
|
55032
|
+
retryAfterSeconds?: number | undefined;
|
|
55033
|
+
}, unknown>>;
|
|
55034
|
+
};
|
|
55035
|
+
readonly directory_unavailable: {
|
|
55036
|
+
readonly status: 503;
|
|
55037
|
+
readonly data: z.ZodType<{
|
|
55038
|
+
traceId: string;
|
|
55039
|
+
recovery: {
|
|
55040
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
55041
|
+
} | {
|
|
55042
|
+
action: "read_operation";
|
|
55043
|
+
operation: {
|
|
55044
|
+
kind: "command";
|
|
55045
|
+
serialNumber: string;
|
|
55046
|
+
idempotencyKey: string;
|
|
55047
|
+
} | {
|
|
55048
|
+
kind: "firmware";
|
|
55049
|
+
serialNumber: string;
|
|
55050
|
+
updateId: string;
|
|
55051
|
+
} | {
|
|
55052
|
+
kind: "bluetooth_firmware";
|
|
55053
|
+
deviceId: string;
|
|
55054
|
+
updateId: string;
|
|
55055
|
+
} | {
|
|
55056
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
55057
|
+
deviceId: string;
|
|
55058
|
+
requestId: string;
|
|
55059
|
+
} | {
|
|
55060
|
+
kind: "support";
|
|
55061
|
+
requestId: string;
|
|
55062
|
+
};
|
|
55063
|
+
};
|
|
55064
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
55065
|
+
currentRevision?: string | undefined;
|
|
55066
|
+
retryAfterSeconds?: number | undefined;
|
|
55067
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
55068
|
+
traceId: string;
|
|
55069
|
+
recovery: {
|
|
55070
|
+
action: "none" | "correct_input" | "sign_in" | "refresh" | "retry_read" | "retry_same_request" | "verify_outcome";
|
|
55071
|
+
} | {
|
|
55072
|
+
action: "read_operation";
|
|
55073
|
+
operation: {
|
|
55074
|
+
kind: "command";
|
|
55075
|
+
serialNumber: string;
|
|
55076
|
+
idempotencyKey: string;
|
|
55077
|
+
} | {
|
|
55078
|
+
kind: "firmware";
|
|
55079
|
+
serialNumber: string;
|
|
55080
|
+
updateId: string;
|
|
55081
|
+
} | {
|
|
55082
|
+
kind: "bluetooth_firmware";
|
|
55083
|
+
deviceId: string;
|
|
55084
|
+
updateId: string;
|
|
55085
|
+
} | {
|
|
55086
|
+
kind: "invitation" | "photo_upload" | "legacy_firmware";
|
|
55087
|
+
deviceId: string;
|
|
55088
|
+
requestId: string;
|
|
55089
|
+
} | {
|
|
55090
|
+
kind: "support";
|
|
55091
|
+
requestId: string;
|
|
55092
|
+
};
|
|
55093
|
+
};
|
|
55094
|
+
reason?: "revision_changed" | "selection_changed" | "subscription_capacity_exhausted" | "subscription_unavailable" | "tracker_restricted" | "idempotency_conflict" | "already_claimed" | "membership_limit" | "identity_changed" | undefined;
|
|
55095
|
+
currentRevision?: string | undefined;
|
|
55096
|
+
retryAfterSeconds?: number | undefined;
|
|
55097
|
+
}, unknown>>;
|
|
55098
|
+
};
|
|
55099
|
+
}>, Record<never, never>>;
|
|
52920
55100
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
52921
55101
|
deviceId: z.ZodString;
|
|
52922
55102
|
}, z.core.$strict>, z.ZodObject<{
|