@bikefinder/api-client 0.3.0 → 0.5.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.
Files changed (46) hide show
  1. package/README.md +3 -1
  2. package/dist/admin/generated/index.d.ts +1 -1
  3. package/dist/admin/generated/index.d.ts.map +1 -1
  4. package/dist/admin/generated/sdk.gen.d.ts +173 -19
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +377 -125
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +1468 -431
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +2726 -1638
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +410 -270
  13. package/dist/admin/generated/zod.gen.js.map +1 -1
  14. package/dist/generated/index.d.ts +1 -1
  15. package/dist/generated/index.d.ts.map +1 -1
  16. package/dist/generated/sdk.gen.d.ts +80 -45
  17. package/dist/generated/sdk.gen.d.ts.map +1 -1
  18. package/dist/generated/sdk.gen.js +192 -157
  19. package/dist/generated/sdk.gen.js.map +1 -1
  20. package/dist/generated/types.gen.d.ts +887 -453
  21. package/dist/generated/types.gen.d.ts.map +1 -1
  22. package/dist/generated/zod.gen.d.ts +468 -286
  23. package/dist/generated/zod.gen.d.ts.map +1 -1
  24. package/dist/generated/zod.gen.js +188 -201
  25. package/dist/generated/zod.gen.js.map +1 -1
  26. package/dist/realtime/api-stream-error.d.ts +2 -1
  27. package/dist/realtime/api-stream-error.d.ts.map +1 -1
  28. package/dist/realtime/api-stream-error.js +8 -1
  29. package/dist/realtime/api-stream-error.js.map +1 -1
  30. package/dist/realtime/watch.d.ts.map +1 -1
  31. package/dist/realtime/watch.js +1 -1
  32. package/dist/realtime/watch.js.map +1 -1
  33. package/dist/transport.js +10 -1
  34. package/dist/transport.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/admin/generated/index.ts +65 -7
  37. package/src/admin/generated/sdk.gen.ts +720 -300
  38. package/src/admin/generated/types.gen.ts +1646 -513
  39. package/src/admin/generated/zod.gen.ts +474 -286
  40. package/src/generated/index.ts +6 -2
  41. package/src/generated/sdk.gen.ts +408 -373
  42. package/src/generated/types.gen.ts +956 -516
  43. package/src/generated/zod.gen.ts +217 -231
  44. package/src/realtime/api-stream-error.ts +12 -1
  45. package/src/realtime/watch.ts +6 -1
  46. package/src/transport.ts +10 -1
@@ -7,26 +7,48 @@ export declare const zAccountNotification: z.ZodObject<{
7
7
  title: z.ZodString;
8
8
  body: z.ZodString;
9
9
  trackerId: z.ZodNullable<z.ZodString>;
10
- timestampMs: z.ZodInt;
10
+ createdAt: z.ZodISODateTime;
11
11
  subscriptionId: z.ZodNullable<z.ZodString>;
12
12
  }, z.core.$strip>;
13
13
  export declare const zBluetoothBatteryRequest: z.ZodObject<{
14
- seenAt: z.ZodInt;
14
+ observedAt: z.ZodISODateTime;
15
15
  level: z.ZodNullable<z.ZodInt>;
16
16
  isCharging: z.ZodBoolean;
17
17
  }, z.core.$strip>;
18
+ export declare const zBluetoothCommandType: z.ZodEnum<{
19
+ wakeUp: "wakeUp";
20
+ reset: "reset";
21
+ factoryReset: "factoryReset";
22
+ powerDown: "powerDown";
23
+ }>;
18
24
  export declare const zBluetoothCommandReport: z.ZodObject<{
19
- type: z.ZodString;
25
+ type: z.ZodEnum<{
26
+ wakeUp: "wakeUp";
27
+ reset: "reset";
28
+ factoryReset: "factoryReset";
29
+ powerDown: "powerDown";
30
+ }>;
20
31
  success: z.ZodBoolean;
21
32
  }, z.core.$strip>;
22
33
  export declare const zBluetoothObservationBattery: z.ZodObject<{
23
34
  level: z.ZodNullable<z.ZodNumber>;
24
35
  isCharging: z.ZodBoolean;
25
36
  }, z.core.$strip>;
37
+ export declare const zBluetoothObservationResult: z.ZodObject<{
38
+ success: z.ZodBoolean;
39
+ observationId: z.ZodString;
40
+ }, z.core.$strip>;
41
+ export declare const zBluetoothObservationType: z.ZodEnum<{
42
+ BLE: "BLE";
43
+ CBT: "CBT";
44
+ }>;
26
45
  export declare const zBluetoothObservationRequest: z.ZodObject<{
27
46
  requestId: z.ZodString;
28
- type: z.ZodString;
29
- timestampMs: z.ZodInt;
47
+ type: z.ZodEnum<{
48
+ BLE: "BLE";
49
+ CBT: "CBT";
50
+ }>;
51
+ observedAt: z.ZodISODateTime;
30
52
  latitude: z.ZodNumber;
31
53
  longitude: z.ZodNumber;
32
54
  accuracy: z.ZodNumber;
@@ -42,10 +64,6 @@ export declare const zBluetoothObservationRequest: z.ZodObject<{
42
64
  isCharging: z.ZodBoolean;
43
65
  }, z.core.$strip>;
44
66
  }, z.core.$strip>;
45
- export declare const zBluetoothObservationResult: z.ZodObject<{
46
- success: z.ZodBoolean;
47
- observationId: z.ZodString;
48
- }, z.core.$strip>;
49
67
  export declare const zBluetoothReportingPolicy: z.ZodObject<{
50
68
  pauseMs: z.ZodInt;
51
69
  accuracy: z.ZodInt;
@@ -64,14 +82,7 @@ export declare const zCompleteFirmwareRequest: z.ZodObject<{
64
82
  from: z.ZodString;
65
83
  version: z.ZodString;
66
84
  }, z.core.$strip>;
67
- export declare const zFactoryResetResult: z.ZodObject<{
68
- error: z.ZodBoolean;
69
- }, z.core.$strip>;
70
- export declare const zHealthStatus: z.ZodObject<{
71
- status: z.ZodString;
72
- }, z.core.$strip>;
73
- export declare const zIFormFile: z.ZodString;
74
- export declare const zLegacyDevicePreferences: z.ZodObject<{
85
+ export declare const zDevicePreferences: z.ZodObject<{
75
86
  unit: z.ZodString;
76
87
  liquidGlass: z.ZodBoolean;
77
88
  mapStyle: z.ZodString;
@@ -87,17 +98,35 @@ export declare const zAccountPreferences: z.ZodObject<{
87
98
  mapStyle: z.ZodString;
88
99
  }, z.core.$strip>;
89
100
  }, z.core.$strip>;
101
+ export declare const zHealthStatus: z.ZodObject<{
102
+ status: z.ZodString;
103
+ }, z.core.$strip>;
104
+ export declare const zIFormFile: z.ZodString;
105
+ export declare const zMobilePlatform: z.ZodEnum<{
106
+ ios: "ios";
107
+ android: "android";
108
+ }>;
90
109
  export declare const zNotificationPage: z.ZodObject<{
91
110
  items: z.ZodArray<z.ZodObject<{
92
111
  id: z.ZodString;
93
112
  title: z.ZodString;
94
113
  body: z.ZodString;
95
114
  trackerId: z.ZodNullable<z.ZodString>;
96
- timestampMs: z.ZodInt;
115
+ createdAt: z.ZodISODateTime;
97
116
  subscriptionId: z.ZodNullable<z.ZodString>;
98
117
  }, z.core.$strip>>;
99
118
  nextCursor: z.ZodNullable<z.ZodString>;
100
119
  }, z.core.$strip>;
120
+ export declare const zObservationSource: z.ZodEnum<{
121
+ BLE: "BLE";
122
+ CBT: "CBT";
123
+ INI: "INI";
124
+ GPS: "GPS";
125
+ GSM: "GSM";
126
+ LTE: "LTE";
127
+ WIFI: "WIFI";
128
+ GNSS: "GNSS";
129
+ }>;
101
130
  export declare const zPhotoUploadResult: z.ZodObject<{
102
131
  id: z.ZodString;
103
132
  }, z.core.$strip>;
@@ -114,6 +143,9 @@ export declare const zProblemDetails: z.ZodObject<{
114
143
  status: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
115
144
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
145
  instance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
+ code: z.ZodString;
147
+ traceId: z.ZodString;
148
+ errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
117
149
  }, z.core.$strip>;
118
150
  export declare const zRecordFirmwareAttemptRequest: z.ZodObject<{
119
151
  attemptId: z.ZodString;
@@ -125,8 +157,11 @@ export declare const zRecordFirmwareAttemptResult: z.ZodObject<{
125
157
  }, z.core.$strip>;
126
158
  export declare const zRegisterPushRegistrationRequest: z.ZodObject<{
127
159
  token: z.ZodString;
160
+ platform: z.ZodEnum<{
161
+ ios: "ios";
162
+ android: "android";
163
+ }>;
128
164
  previousTokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
129
- platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
165
  }, z.core.$strip>;
131
166
  export declare const zRemovePushRegistrationRequest: z.ZodObject<{
132
167
  tokens: z.ZodArray<z.ZodString>;
@@ -134,6 +169,9 @@ export declare const zRemovePushRegistrationRequest: z.ZodObject<{
134
169
  export declare const zRemoveTrackerMembershipRequest: z.ZodObject<{
135
170
  expectedLastMember: z.ZodBoolean;
136
171
  }, z.core.$strip>;
172
+ export declare const zRevokeTrackerInvitationRequest: z.ZodObject<{
173
+ accessCode: z.ZodString;
174
+ }, z.core.$strip>;
137
175
  export declare const zSubmitTrackerTheftReportRequest: z.ZodObject<{
138
176
  requestId: z.ZodString;
139
177
  phoneNumber: z.ZodString;
@@ -158,8 +196,8 @@ export declare const zSubscriptionPlan: z.ZodObject<{
158
196
  available: z.ZodInt;
159
197
  trackerIds: z.ZodArray<z.ZodString>;
160
198
  managementUrl: z.ZodNullable<z.ZodString>;
161
- nextRenewalMs: z.ZodNullable<z.ZodInt>;
162
- endMs: z.ZodNullable<z.ZodInt>;
199
+ nextRenewalAt: z.ZodNullable<z.ZodISODateTime>;
200
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
163
201
  }, z.core.$strip>;
164
202
  export declare const zSubscriptionList: z.ZodObject<{
165
203
  items: z.ZodArray<z.ZodObject<{
@@ -179,14 +217,14 @@ export declare const zSubscriptionList: z.ZodObject<{
179
217
  available: z.ZodInt;
180
218
  trackerIds: z.ZodArray<z.ZodString>;
181
219
  managementUrl: z.ZodNullable<z.ZodString>;
182
- nextRenewalMs: z.ZodNullable<z.ZodInt>;
183
- endMs: z.ZodNullable<z.ZodInt>;
220
+ nextRenewalAt: z.ZodNullable<z.ZodISODateTime>;
221
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
184
222
  }, z.core.$strip>>;
185
223
  }, z.core.$strip>;
186
224
  export declare const zTrackerBattery: z.ZodObject<{
187
225
  level: z.ZodNullable<z.ZodInt>;
188
226
  isCharging: z.ZodBoolean;
189
- timestampMs: z.ZodNullable<z.ZodInt>;
227
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
190
228
  }, z.core.$strip>;
191
229
  export declare const zTrackerBikeDetails: z.ZodObject<{
192
230
  nickname: z.ZodString;
@@ -206,7 +244,7 @@ export declare const zTrackerBluetoothCredentials: z.ZodObject<{
206
244
  rotatePin: z.ZodBoolean;
207
245
  }, z.core.$strip>;
208
246
  export declare const zTrackerClaimabilityRequest: z.ZodObject<{
209
- deviceIds: z.ZodArray<z.ZodString>;
247
+ trackerIds: z.ZodArray<z.ZodString>;
210
248
  }, z.core.$strip>;
211
249
  export declare const zTrackerFirmwarePlan: z.ZodObject<{
212
250
  trackerId: z.ZodString;
@@ -228,16 +266,12 @@ export declare const zTrackerFirmwareVersions: z.ZodObject<{
228
266
  export declare const zTrackerInvitation: z.ZodObject<{
229
267
  accessCode: z.ZodString;
230
268
  }, z.core.$strip>;
231
- export declare const zTrackerModeResult: z.ZodObject<{
232
- success: z.ZodBoolean;
233
- requestedMode: z.ZodString;
234
- }, z.core.$strip>;
235
269
  export declare const zTrackerPhoto: z.ZodObject<{
236
270
  id: z.ZodString;
237
271
  kind: z.ZodString;
238
272
  url: z.ZodString;
239
273
  thumbnailUrl: z.ZodString;
240
- timestampMs: z.ZodNullable<z.ZodInt>;
274
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
241
275
  }, z.core.$strip>;
242
276
  export declare const zTrackerPhotoList: z.ZodObject<{
243
277
  items: z.ZodArray<z.ZodObject<{
@@ -245,15 +279,24 @@ export declare const zTrackerPhotoList: z.ZodObject<{
245
279
  kind: z.ZodString;
246
280
  url: z.ZodString;
247
281
  thumbnailUrl: z.ZodString;
248
- timestampMs: z.ZodNullable<z.ZodInt>;
282
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
249
283
  }, z.core.$strip>>;
250
284
  }, z.core.$strip>;
251
285
  export declare const zTrackerPosition: z.ZodObject<{
252
286
  id: z.ZodString;
253
287
  latitude: z.ZodNumber;
254
288
  longitude: z.ZodNumber;
255
- timestampMs: z.ZodInt;
256
- source: z.ZodString;
289
+ observedAt: z.ZodISODateTime;
290
+ source: z.ZodEnum<{
291
+ BLE: "BLE";
292
+ CBT: "CBT";
293
+ INI: "INI";
294
+ GPS: "GPS";
295
+ GSM: "GSM";
296
+ LTE: "LTE";
297
+ WIFI: "WIFI";
298
+ GNSS: "GNSS";
299
+ }>;
257
300
  accuracy: z.ZodNullable<z.ZodNumber>;
258
301
  }, z.core.$strip>;
259
302
  export declare const zHistoryPage: z.ZodObject<{
@@ -261,8 +304,17 @@ export declare const zHistoryPage: z.ZodObject<{
261
304
  id: z.ZodString;
262
305
  latitude: z.ZodNumber;
263
306
  longitude: z.ZodNumber;
264
- timestampMs: z.ZodInt;
265
- source: z.ZodString;
307
+ observedAt: z.ZodISODateTime;
308
+ source: z.ZodEnum<{
309
+ BLE: "BLE";
310
+ CBT: "CBT";
311
+ INI: "INI";
312
+ GPS: "GPS";
313
+ GSM: "GSM";
314
+ LTE: "LTE";
315
+ WIFI: "WIFI";
316
+ GNSS: "GNSS";
317
+ }>;
266
318
  accuracy: z.ZodNullable<z.ZodNumber>;
267
319
  }, z.core.$strip>>;
268
320
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -272,23 +324,47 @@ export declare const zTrackerPositionState: z.ZodObject<{
272
324
  id: z.ZodString;
273
325
  latitude: z.ZodNumber;
274
326
  longitude: z.ZodNumber;
275
- timestampMs: z.ZodInt;
276
- source: z.ZodString;
327
+ observedAt: z.ZodISODateTime;
328
+ source: z.ZodEnum<{
329
+ BLE: "BLE";
330
+ CBT: "CBT";
331
+ INI: "INI";
332
+ GPS: "GPS";
333
+ GSM: "GSM";
334
+ LTE: "LTE";
335
+ WIFI: "WIFI";
336
+ GNSS: "GNSS";
337
+ }>;
277
338
  accuracy: z.ZodNullable<z.ZodNumber>;
278
339
  }, z.core.$strip>>;
279
340
  lastPrecise: z.ZodNullable<z.ZodObject<{
280
341
  id: z.ZodString;
281
342
  latitude: z.ZodNumber;
282
343
  longitude: z.ZodNumber;
283
- timestampMs: z.ZodInt;
284
- source: z.ZodString;
344
+ observedAt: z.ZodISODateTime;
345
+ source: z.ZodEnum<{
346
+ BLE: "BLE";
347
+ CBT: "CBT";
348
+ INI: "INI";
349
+ GPS: "GPS";
350
+ GSM: "GSM";
351
+ LTE: "LTE";
352
+ WIFI: "WIFI";
353
+ GNSS: "GNSS";
354
+ }>;
285
355
  accuracy: z.ZodNullable<z.ZodNumber>;
286
356
  }, z.core.$strip>>;
287
357
  }, z.core.$strip>;
288
358
  export declare const zTrackerSubscription: z.ZodObject<{
289
359
  id: z.ZodNullable<z.ZodString>;
290
- status: z.ZodString;
291
- endTimestampMs: z.ZodNullable<z.ZodInt>;
360
+ status: z.ZodEnum<{
361
+ active: "active";
362
+ ending: "ending";
363
+ hold: "hold";
364
+ inactive: "inactive";
365
+ unknown: "unknown";
366
+ }>;
367
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
292
368
  tier: z.ZodNullable<z.ZodInt>;
293
369
  }, z.core.$strip>;
294
370
  export declare const zTrackerTheftReportResult: z.ZodObject<{
@@ -308,6 +384,14 @@ export declare const zTrackerModeRequest: z.ZodObject<{
308
384
  tracking: "tracking";
309
385
  }>;
310
386
  }, z.core.$strip>;
387
+ export declare const zTrackerModeResult: z.ZodObject<{
388
+ success: z.ZodBoolean;
389
+ requestedMode: z.ZodEnum<{
390
+ security: "security";
391
+ standard: "standard";
392
+ tracking: "tracking";
393
+ }>;
394
+ }, z.core.$strip>;
311
395
  export declare const zTrackerSummary: z.ZodObject<{
312
396
  id: z.ZodString;
313
397
  nickname: z.ZodNullable<z.ZodString>;
@@ -330,12 +414,18 @@ export declare const zTrackerSummary: z.ZodObject<{
330
414
  battery: z.ZodNullable<z.ZodObject<{
331
415
  level: z.ZodNullable<z.ZodInt>;
332
416
  isCharging: z.ZodBoolean;
333
- timestampMs: z.ZodNullable<z.ZodInt>;
417
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
334
418
  }, z.core.$strip>>;
335
419
  subscription: z.ZodNullable<z.ZodObject<{
336
420
  id: z.ZodNullable<z.ZodString>;
337
- status: z.ZodString;
338
- endTimestampMs: z.ZodNullable<z.ZodInt>;
421
+ status: z.ZodEnum<{
422
+ active: "active";
423
+ ending: "ending";
424
+ hold: "hold";
425
+ inactive: "inactive";
426
+ unknown: "unknown";
427
+ }>;
428
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
339
429
  tier: z.ZodNullable<z.ZodInt>;
340
430
  }, z.core.$strip>>;
341
431
  membershipCount: z.ZodInt;
@@ -375,12 +465,18 @@ export declare const zTrackerPage: z.ZodObject<{
375
465
  battery: z.ZodNullable<z.ZodObject<{
376
466
  level: z.ZodNullable<z.ZodInt>;
377
467
  isCharging: z.ZodBoolean;
378
- timestampMs: z.ZodNullable<z.ZodInt>;
468
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
379
469
  }, z.core.$strip>>;
380
470
  subscription: z.ZodNullable<z.ZodObject<{
381
471
  id: z.ZodNullable<z.ZodString>;
382
- status: z.ZodString;
383
- endTimestampMs: z.ZodNullable<z.ZodInt>;
472
+ status: z.ZodEnum<{
473
+ active: "active";
474
+ ending: "ending";
475
+ hold: "hold";
476
+ inactive: "inactive";
477
+ unknown: "unknown";
478
+ }>;
479
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
384
480
  tier: z.ZodNullable<z.ZodInt>;
385
481
  }, z.core.$strip>>;
386
482
  membershipCount: z.ZodInt;
@@ -403,6 +499,7 @@ export declare const zUpdateAccountPreferencesRequest: z.ZodObject<{
403
499
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
500
  alarm: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
405
501
  timeSensitive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
502
+ pushEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
406
503
  }, z.core.$strip>;
407
504
  export declare const zUpdateBluetoothPinRequest: z.ZodObject<{
408
505
  pin: z.ZodArray<z.ZodInt>;
@@ -437,80 +534,6 @@ export declare const zUpdateTrackerBikeRequest: z.ZodObject<{
437
534
  export declare const zGetHealthResponse: z.ZodObject<{
438
535
  status: z.ZodString;
439
536
  }, z.core.$strip>;
440
- /**
441
- * OK
442
- */
443
- export declare const zGetBluetoothReportingPolicyResponse: z.ZodObject<{
444
- pauseMs: z.ZodInt;
445
- accuracy: z.ZodInt;
446
- }, z.core.$strip>;
447
- export declare const zUnlinkTrackerSubscriptionBody: z.ZodObject<{
448
- subscriptionId: z.ZodString;
449
- }, z.core.$strip>;
450
- export declare const zUnlinkTrackerSubscriptionPath: z.ZodObject<{
451
- trackerId: z.ZodString;
452
- }, z.core.$strip>;
453
- /**
454
- * OK
455
- */
456
- export declare const zUnlinkTrackerSubscriptionResponse: z.ZodObject<{
457
- success: z.ZodBoolean;
458
- }, z.core.$strip>;
459
- export declare const zLinkTrackerSubscriptionBody: z.ZodObject<{
460
- subscriptionId: z.ZodString;
461
- }, z.core.$strip>;
462
- export declare const zLinkTrackerSubscriptionPath: z.ZodObject<{
463
- trackerId: z.ZodString;
464
- }, z.core.$strip>;
465
- /**
466
- * OK
467
- */
468
- export declare const zLinkTrackerSubscriptionResponse: z.ZodObject<{
469
- success: z.ZodBoolean;
470
- }, z.core.$strip>;
471
- export declare const zListTrackerPhotosPath: z.ZodObject<{
472
- trackerId: z.ZodString;
473
- }, z.core.$strip>;
474
- /**
475
- * OK
476
- */
477
- export declare const zListTrackerPhotosResponse: z.ZodObject<{
478
- items: z.ZodArray<z.ZodObject<{
479
- id: z.ZodString;
480
- kind: z.ZodString;
481
- url: z.ZodString;
482
- thumbnailUrl: z.ZodString;
483
- timestampMs: z.ZodNullable<z.ZodInt>;
484
- }, z.core.$strip>>;
485
- }, z.core.$strip>;
486
- export declare const zUploadTrackerPhotoBody: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
487
- file: z.ZodString;
488
- }, z.core.$strip>, z.ZodObject<{
489
- kind: z.ZodString;
490
- }, z.core.$strip>>, z.ZodObject<{
491
- width: z.ZodInt;
492
- }, z.core.$strip>>, z.ZodObject<{
493
- height: z.ZodInt;
494
- }, z.core.$strip>>;
495
- export declare const zUploadTrackerPhotoPath: z.ZodObject<{
496
- trackerId: z.ZodString;
497
- }, z.core.$strip>;
498
- /**
499
- * OK
500
- */
501
- export declare const zUploadTrackerPhotoResponse: z.ZodObject<{
502
- id: z.ZodString;
503
- }, z.core.$strip>;
504
- export declare const zDeleteTrackerPhotoPath: z.ZodObject<{
505
- trackerId: z.ZodString;
506
- photoId: z.ZodString;
507
- }, z.core.$strip>;
508
- /**
509
- * OK
510
- */
511
- export declare const zDeleteTrackerPhotoResponse: z.ZodObject<{
512
- success: z.ZodBoolean;
513
- }, z.core.$strip>;
514
537
  export declare const zListTrackersQuery: z.ZodObject<{
515
538
  cursor: z.ZodOptional<z.ZodString>;
516
539
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -541,12 +564,18 @@ export declare const zListTrackersResponse: z.ZodObject<{
541
564
  battery: z.ZodNullable<z.ZodObject<{
542
565
  level: z.ZodNullable<z.ZodInt>;
543
566
  isCharging: z.ZodBoolean;
544
- timestampMs: z.ZodNullable<z.ZodInt>;
567
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
545
568
  }, z.core.$strip>>;
546
569
  subscription: z.ZodNullable<z.ZodObject<{
547
570
  id: z.ZodNullable<z.ZodString>;
548
- status: z.ZodString;
549
- endTimestampMs: z.ZodNullable<z.ZodInt>;
571
+ status: z.ZodEnum<{
572
+ active: "active";
573
+ ending: "ending";
574
+ hold: "hold";
575
+ inactive: "inactive";
576
+ unknown: "unknown";
577
+ }>;
578
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
550
579
  tier: z.ZodNullable<z.ZodInt>;
551
580
  }, z.core.$strip>>;
552
581
  membershipCount: z.ZodInt;
@@ -595,12 +624,18 @@ export declare const zSubscribeTrackersResponse: z.ZodNullable<z.ZodObject<{
595
624
  battery: z.ZodNullable<z.ZodObject<{
596
625
  level: z.ZodNullable<z.ZodInt>;
597
626
  isCharging: z.ZodBoolean;
598
- timestampMs: z.ZodNullable<z.ZodInt>;
627
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
599
628
  }, z.core.$strip>>;
600
629
  subscription: z.ZodNullable<z.ZodObject<{
601
630
  id: z.ZodNullable<z.ZodString>;
602
- status: z.ZodString;
603
- endTimestampMs: z.ZodNullable<z.ZodInt>;
631
+ status: z.ZodEnum<{
632
+ active: "active";
633
+ ending: "ending";
634
+ hold: "hold";
635
+ inactive: "inactive";
636
+ unknown: "unknown";
637
+ }>;
638
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
604
639
  tier: z.ZodNullable<z.ZodInt>;
605
640
  }, z.core.$strip>>;
606
641
  membershipCount: z.ZodInt;
@@ -647,12 +682,18 @@ export declare const zGetTrackerResponse: z.ZodObject<{
647
682
  battery: z.ZodNullable<z.ZodObject<{
648
683
  level: z.ZodNullable<z.ZodInt>;
649
684
  isCharging: z.ZodBoolean;
650
- timestampMs: z.ZodNullable<z.ZodInt>;
685
+ observedAt: z.ZodNullable<z.ZodISODateTime>;
651
686
  }, z.core.$strip>>;
652
687
  subscription: z.ZodNullable<z.ZodObject<{
653
688
  id: z.ZodNullable<z.ZodString>;
654
- status: z.ZodString;
655
- endTimestampMs: z.ZodNullable<z.ZodInt>;
689
+ status: z.ZodEnum<{
690
+ active: "active";
691
+ ending: "ending";
692
+ hold: "hold";
693
+ inactive: "inactive";
694
+ unknown: "unknown";
695
+ }>;
696
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
656
697
  tier: z.ZodNullable<z.ZodInt>;
657
698
  }, z.core.$strip>>;
658
699
  membershipCount: z.ZodInt;
@@ -669,88 +710,82 @@ export declare const zGetTrackerResponse: z.ZodObject<{
669
710
  }, z.core.$strip>>;
670
711
  lastCommunicationMode: z.ZodNullable<z.ZodString>;
671
712
  }, z.core.$strip>;
672
- export declare const zGetTrackerPositionsPath: z.ZodObject<{
713
+ export declare const zRequestTrackerModeBody: z.ZodObject<{
714
+ mode: z.ZodEnum<{
715
+ security: "security";
716
+ standard: "standard";
717
+ tracking: "tracking";
718
+ }>;
719
+ }, z.core.$strip>;
720
+ export declare const zRequestTrackerModePath: z.ZodObject<{
673
721
  trackerId: z.ZodString;
674
722
  }, z.core.$strip>;
675
723
  /**
676
724
  * OK
677
725
  */
678
- export declare const zGetTrackerPositionsResponse: z.ZodObject<{
679
- latest: z.ZodNullable<z.ZodObject<{
680
- id: z.ZodString;
681
- latitude: z.ZodNumber;
682
- longitude: z.ZodNumber;
683
- timestampMs: z.ZodInt;
684
- source: z.ZodString;
685
- accuracy: z.ZodNullable<z.ZodNumber>;
686
- }, z.core.$strip>>;
687
- lastPrecise: z.ZodNullable<z.ZodObject<{
688
- id: z.ZodString;
689
- latitude: z.ZodNumber;
690
- longitude: z.ZodNumber;
691
- timestampMs: z.ZodInt;
692
- source: z.ZodString;
693
- accuracy: z.ZodNullable<z.ZodNumber>;
694
- }, z.core.$strip>>;
726
+ export declare const zRequestTrackerModeResponse: z.ZodObject<{
727
+ success: z.ZodBoolean;
728
+ requestedMode: z.ZodEnum<{
729
+ security: "security";
730
+ standard: "standard";
731
+ tracking: "tracking";
732
+ }>;
695
733
  }, z.core.$strip>;
696
- export declare const zSubscribeTrackerPositionsPath: z.ZodObject<{
697
- trackerId: z.ZodString;
734
+ export declare const zUpdateTrackerBikeBody: z.ZodObject<{
735
+ before: z.ZodObject<{
736
+ nickname: z.ZodString;
737
+ brand: z.ZodString;
738
+ type: z.ZodString;
739
+ model: z.ZodString;
740
+ frameNumber: z.ZodString;
741
+ marketPrice: z.ZodString;
742
+ marketPriceCurrency: z.ZodString;
743
+ url: z.ZodString;
744
+ }, z.core.$strip>;
745
+ draft: z.ZodObject<{
746
+ nickname: z.ZodString;
747
+ brand: z.ZodString;
748
+ type: z.ZodString;
749
+ model: z.ZodString;
750
+ frameNumber: z.ZodString;
751
+ marketPrice: z.ZodString;
752
+ marketPriceCurrency: z.ZodString;
753
+ url: z.ZodString;
754
+ }, z.core.$strip>;
698
755
  }, z.core.$strip>;
699
- /**
700
- * OK
701
- */
702
- export declare const zSubscribeTrackerPositionsResponse: z.ZodNullable<z.ZodObject<{
703
- latest: z.ZodNullable<z.ZodObject<{
704
- id: z.ZodString;
705
- latitude: z.ZodNumber;
706
- longitude: z.ZodNumber;
707
- timestampMs: z.ZodInt;
708
- source: z.ZodString;
709
- accuracy: z.ZodNullable<z.ZodNumber>;
710
- }, z.core.$strip>>;
711
- lastPrecise: z.ZodNullable<z.ZodObject<{
712
- id: z.ZodString;
713
- latitude: z.ZodNumber;
714
- longitude: z.ZodNumber;
715
- timestampMs: z.ZodInt;
716
- source: z.ZodString;
717
- accuracy: z.ZodNullable<z.ZodNumber>;
718
- }, z.core.$strip>>;
719
- }, z.core.$strip>>;
720
- export declare const zSubscribeTrackerPhotosPath: z.ZodObject<{
756
+ export declare const zUpdateTrackerBikePath: z.ZodObject<{
721
757
  trackerId: z.ZodString;
722
758
  }, z.core.$strip>;
723
759
  /**
724
760
  * OK
725
761
  */
726
- export declare const zSubscribeTrackerPhotosResponse: z.ZodNullable<z.ZodObject<{
727
- items: z.ZodArray<z.ZodObject<{
728
- id: z.ZodString;
729
- kind: z.ZodString;
730
- url: z.ZodString;
731
- thumbnailUrl: z.ZodString;
732
- timestampMs: z.ZodNullable<z.ZodInt>;
733
- }, z.core.$strip>>;
734
- }, z.core.$strip>>;
735
- export declare const zRequestTrackerModeBody: z.ZodObject<{
736
- mode: z.ZodEnum<{
737
- security: "security";
738
- standard: "standard";
739
- tracking: "tracking";
740
- }>;
762
+ export declare const zUpdateTrackerBikeResponse: z.ZodObject<{
763
+ nickname: z.ZodString;
764
+ brand: z.ZodString;
765
+ type: z.ZodString;
766
+ model: z.ZodString;
767
+ frameNumber: z.ZodString;
768
+ marketPrice: z.ZodString;
769
+ marketPriceCurrency: z.ZodString;
770
+ url: z.ZodString;
741
771
  }, z.core.$strip>;
742
- export declare const zRequestTrackerModePath: z.ZodObject<{
772
+ export declare const zSubmitTrackerTheftReportBody: z.ZodObject<{
773
+ requestId: z.ZodString;
774
+ phoneNumber: z.ZodString;
775
+ }, z.core.$strip>;
776
+ export declare const zSubmitTrackerTheftReportPath: z.ZodObject<{
743
777
  trackerId: z.ZodString;
744
778
  }, z.core.$strip>;
745
779
  /**
746
780
  * OK
747
781
  */
748
- export declare const zRequestTrackerModeResponse: z.ZodObject<{
782
+ export declare const zSubmitTrackerTheftReportResponse: z.ZodObject<{
749
783
  success: z.ZodBoolean;
750
- requestedMode: z.ZodString;
784
+ reportId: z.ZodString;
785
+ requestId: z.ZodString;
751
786
  }, z.core.$strip>;
752
787
  export declare const zCheckTrackerClaimabilityBody: z.ZodObject<{
753
- deviceIds: z.ZodArray<z.ZodString>;
788
+ trackerIds: z.ZodArray<z.ZodString>;
754
789
  }, z.core.$strip>;
755
790
  /**
756
791
  * OK
@@ -790,9 +825,11 @@ export declare const zCreateTrackerInvitationPath: z.ZodObject<{
790
825
  export declare const zCreateTrackerInvitationResponse: z.ZodObject<{
791
826
  accessCode: z.ZodString;
792
827
  }, z.core.$strip>;
828
+ export declare const zRevokeTrackerInvitationBody: z.ZodObject<{
829
+ accessCode: z.ZodString;
830
+ }, z.core.$strip>;
793
831
  export declare const zRevokeTrackerInvitationPath: z.ZodObject<{
794
832
  trackerId: z.ZodString;
795
- accessCode: z.ZodString;
796
833
  }, z.core.$strip>;
797
834
  /**
798
835
  * OK
@@ -812,59 +849,6 @@ export declare const zRemoveTrackerMembershipPath: z.ZodObject<{
812
849
  export declare const zRemoveTrackerMembershipResponse: z.ZodObject<{
813
850
  success: z.ZodBoolean;
814
851
  }, z.core.$strip>;
815
- export declare const zUpdateTrackerBikeBody: z.ZodObject<{
816
- before: z.ZodObject<{
817
- nickname: z.ZodString;
818
- brand: z.ZodString;
819
- type: z.ZodString;
820
- model: z.ZodString;
821
- frameNumber: z.ZodString;
822
- marketPrice: z.ZodString;
823
- marketPriceCurrency: z.ZodString;
824
- url: z.ZodString;
825
- }, z.core.$strip>;
826
- draft: z.ZodObject<{
827
- nickname: z.ZodString;
828
- brand: z.ZodString;
829
- type: z.ZodString;
830
- model: z.ZodString;
831
- frameNumber: z.ZodString;
832
- marketPrice: z.ZodString;
833
- marketPriceCurrency: z.ZodString;
834
- url: z.ZodString;
835
- }, z.core.$strip>;
836
- }, z.core.$strip>;
837
- export declare const zUpdateTrackerBikePath: z.ZodObject<{
838
- trackerId: z.ZodString;
839
- }, z.core.$strip>;
840
- /**
841
- * OK
842
- */
843
- export declare const zUpdateTrackerBikeResponse: z.ZodObject<{
844
- nickname: z.ZodString;
845
- brand: z.ZodString;
846
- type: z.ZodString;
847
- model: z.ZodString;
848
- frameNumber: z.ZodString;
849
- marketPrice: z.ZodString;
850
- marketPriceCurrency: z.ZodString;
851
- url: z.ZodString;
852
- }, z.core.$strip>;
853
- export declare const zSubmitTrackerTheftReportBody: z.ZodObject<{
854
- requestId: z.ZodString;
855
- phoneNumber: z.ZodString;
856
- }, z.core.$strip>;
857
- export declare const zSubmitTrackerTheftReportPath: z.ZodObject<{
858
- trackerId: z.ZodString;
859
- }, z.core.$strip>;
860
- /**
861
- * OK
862
- */
863
- export declare const zSubmitTrackerTheftReportResponse: z.ZodObject<{
864
- success: z.ZodBoolean;
865
- reportId: z.ZodString;
866
- requestId: z.ZodString;
867
- }, z.core.$strip>;
868
852
  export declare const zGetTrackerBluetoothCredentialsPath: z.ZodObject<{
869
853
  trackerId: z.ZodString;
870
854
  }, z.core.$strip>;
@@ -893,7 +877,7 @@ export declare const zUpdateTrackerBluetoothPinResponse: z.ZodObject<{
893
877
  success: z.ZodBoolean;
894
878
  }, z.core.$strip>;
895
879
  export declare const zReportTrackerBluetoothBatteryBody: z.ZodObject<{
896
- seenAt: z.ZodInt;
880
+ observedAt: z.ZodISODateTime;
897
881
  level: z.ZodNullable<z.ZodInt>;
898
882
  isCharging: z.ZodBoolean;
899
883
  }, z.core.$strip>;
@@ -907,7 +891,12 @@ export declare const zReportTrackerBluetoothBatteryResponse: z.ZodObject<{
907
891
  success: z.ZodBoolean;
908
892
  }, z.core.$strip>;
909
893
  export declare const zReportTrackerBluetoothCommandBody: z.ZodObject<{
910
- type: z.ZodString;
894
+ type: z.ZodEnum<{
895
+ wakeUp: "wakeUp";
896
+ reset: "reset";
897
+ factoryReset: "factoryReset";
898
+ powerDown: "powerDown";
899
+ }>;
911
900
  success: z.ZodBoolean;
912
901
  }, z.core.$strip>;
913
902
  export declare const zReportTrackerBluetoothCommandPath: z.ZodObject<{
@@ -921,8 +910,11 @@ export declare const zReportTrackerBluetoothCommandResponse: z.ZodObject<{
921
910
  }, z.core.$strip>;
922
911
  export declare const zUploadTrackerBluetoothObservationBody: z.ZodObject<{
923
912
  requestId: z.ZodString;
924
- type: z.ZodString;
925
- timestampMs: z.ZodInt;
913
+ type: z.ZodEnum<{
914
+ BLE: "BLE";
915
+ CBT: "CBT";
916
+ }>;
917
+ observedAt: z.ZodISODateTime;
926
918
  latitude: z.ZodNumber;
927
919
  longitude: z.ZodNumber;
928
920
  accuracy: z.ZodNumber;
@@ -955,13 +947,16 @@ export declare const zReportTrackerFactoryResetPath: z.ZodObject<{
955
947
  * OK
956
948
  */
957
949
  export declare const zReportTrackerFactoryResetResponse: z.ZodObject<{
958
- error: z.ZodBoolean;
950
+ success: z.ZodBoolean;
959
951
  }, z.core.$strip>;
960
952
  export declare const zGetTrackerFirmwarePlanPath: z.ZodObject<{
961
953
  trackerId: z.ZodString;
962
954
  }, z.core.$strip>;
963
955
  export declare const zGetTrackerFirmwarePlanQuery: z.ZodObject<{
964
- platform: z.ZodString;
956
+ platform: z.ZodEnum<{
957
+ ios: "ios";
958
+ android: "android";
959
+ }>;
965
960
  build: z.ZodString;
966
961
  }, z.core.$strip>;
967
962
  /**
@@ -1004,6 +999,211 @@ export declare const zRecordTrackerFirmwareAttemptResponse: z.ZodObject<{
1004
999
  success: z.ZodBoolean;
1005
1000
  recorded: z.ZodBoolean;
1006
1001
  }, z.core.$strip>;
1002
+ export declare const zGetTrackerPositionsPath: z.ZodObject<{
1003
+ trackerId: z.ZodString;
1004
+ }, z.core.$strip>;
1005
+ /**
1006
+ * OK
1007
+ */
1008
+ export declare const zGetTrackerPositionsResponse: z.ZodObject<{
1009
+ latest: z.ZodNullable<z.ZodObject<{
1010
+ id: z.ZodString;
1011
+ latitude: z.ZodNumber;
1012
+ longitude: z.ZodNumber;
1013
+ observedAt: z.ZodISODateTime;
1014
+ source: z.ZodEnum<{
1015
+ BLE: "BLE";
1016
+ CBT: "CBT";
1017
+ INI: "INI";
1018
+ GPS: "GPS";
1019
+ GSM: "GSM";
1020
+ LTE: "LTE";
1021
+ WIFI: "WIFI";
1022
+ GNSS: "GNSS";
1023
+ }>;
1024
+ accuracy: z.ZodNullable<z.ZodNumber>;
1025
+ }, z.core.$strip>>;
1026
+ lastPrecise: z.ZodNullable<z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ latitude: z.ZodNumber;
1029
+ longitude: z.ZodNumber;
1030
+ observedAt: z.ZodISODateTime;
1031
+ source: z.ZodEnum<{
1032
+ BLE: "BLE";
1033
+ CBT: "CBT";
1034
+ INI: "INI";
1035
+ GPS: "GPS";
1036
+ GSM: "GSM";
1037
+ LTE: "LTE";
1038
+ WIFI: "WIFI";
1039
+ GNSS: "GNSS";
1040
+ }>;
1041
+ accuracy: z.ZodNullable<z.ZodNumber>;
1042
+ }, z.core.$strip>>;
1043
+ }, z.core.$strip>;
1044
+ export declare const zSubscribeTrackerPositionsPath: z.ZodObject<{
1045
+ trackerId: z.ZodString;
1046
+ }, z.core.$strip>;
1047
+ /**
1048
+ * OK
1049
+ */
1050
+ export declare const zSubscribeTrackerPositionsResponse: z.ZodNullable<z.ZodObject<{
1051
+ latest: z.ZodNullable<z.ZodObject<{
1052
+ id: z.ZodString;
1053
+ latitude: z.ZodNumber;
1054
+ longitude: z.ZodNumber;
1055
+ observedAt: z.ZodISODateTime;
1056
+ source: z.ZodEnum<{
1057
+ BLE: "BLE";
1058
+ CBT: "CBT";
1059
+ INI: "INI";
1060
+ GPS: "GPS";
1061
+ GSM: "GSM";
1062
+ LTE: "LTE";
1063
+ WIFI: "WIFI";
1064
+ GNSS: "GNSS";
1065
+ }>;
1066
+ accuracy: z.ZodNullable<z.ZodNumber>;
1067
+ }, z.core.$strip>>;
1068
+ lastPrecise: z.ZodNullable<z.ZodObject<{
1069
+ id: z.ZodString;
1070
+ latitude: z.ZodNumber;
1071
+ longitude: z.ZodNumber;
1072
+ observedAt: z.ZodISODateTime;
1073
+ source: z.ZodEnum<{
1074
+ BLE: "BLE";
1075
+ CBT: "CBT";
1076
+ INI: "INI";
1077
+ GPS: "GPS";
1078
+ GSM: "GSM";
1079
+ LTE: "LTE";
1080
+ WIFI: "WIFI";
1081
+ GNSS: "GNSS";
1082
+ }>;
1083
+ accuracy: z.ZodNullable<z.ZodNumber>;
1084
+ }, z.core.$strip>>;
1085
+ }, z.core.$strip>>;
1086
+ export declare const zListTrackerPhotosPath: z.ZodObject<{
1087
+ trackerId: z.ZodString;
1088
+ }, z.core.$strip>;
1089
+ /**
1090
+ * OK
1091
+ */
1092
+ export declare const zListTrackerPhotosResponse: z.ZodObject<{
1093
+ items: z.ZodArray<z.ZodObject<{
1094
+ id: z.ZodString;
1095
+ kind: z.ZodString;
1096
+ url: z.ZodString;
1097
+ thumbnailUrl: z.ZodString;
1098
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
1099
+ }, z.core.$strip>>;
1100
+ }, z.core.$strip>;
1101
+ export declare const zUploadTrackerPhotoBody: z.ZodObject<{
1102
+ file: z.ZodString;
1103
+ kind: z.ZodEnum<{
1104
+ bike: "bike";
1105
+ installation: "installation";
1106
+ receipt: "receipt";
1107
+ }>;
1108
+ width: z.ZodInt;
1109
+ height: z.ZodInt;
1110
+ }, z.core.$strip>;
1111
+ export declare const zUploadTrackerPhotoPath: z.ZodObject<{
1112
+ trackerId: z.ZodString;
1113
+ }, z.core.$strip>;
1114
+ /**
1115
+ * OK
1116
+ */
1117
+ export declare const zUploadTrackerPhotoResponse: z.ZodObject<{
1118
+ id: z.ZodString;
1119
+ }, z.core.$strip>;
1120
+ export declare const zSubscribeTrackerPhotosPath: z.ZodObject<{
1121
+ trackerId: z.ZodString;
1122
+ }, z.core.$strip>;
1123
+ /**
1124
+ * OK
1125
+ */
1126
+ export declare const zSubscribeTrackerPhotosResponse: z.ZodNullable<z.ZodObject<{
1127
+ items: z.ZodArray<z.ZodObject<{
1128
+ id: z.ZodString;
1129
+ kind: z.ZodString;
1130
+ url: z.ZodString;
1131
+ thumbnailUrl: z.ZodString;
1132
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
1133
+ }, z.core.$strip>>;
1134
+ }, z.core.$strip>>;
1135
+ export declare const zDeleteTrackerPhotoPath: z.ZodObject<{
1136
+ trackerId: z.ZodString;
1137
+ photoId: z.ZodString;
1138
+ }, z.core.$strip>;
1139
+ /**
1140
+ * OK
1141
+ */
1142
+ export declare const zDeleteTrackerPhotoResponse: z.ZodObject<{
1143
+ success: z.ZodBoolean;
1144
+ }, z.core.$strip>;
1145
+ export declare const zUnlinkTrackerSubscriptionPath: z.ZodObject<{
1146
+ trackerId: z.ZodString;
1147
+ }, z.core.$strip>;
1148
+ export declare const zUnlinkTrackerSubscriptionQuery: z.ZodObject<{
1149
+ expectedSubscriptionId: z.ZodString;
1150
+ }, z.core.$strip>;
1151
+ /**
1152
+ * OK
1153
+ */
1154
+ export declare const zUnlinkTrackerSubscriptionResponse: z.ZodObject<{
1155
+ success: z.ZodBoolean;
1156
+ }, z.core.$strip>;
1157
+ export declare const zLinkTrackerSubscriptionBody: z.ZodObject<{
1158
+ subscriptionId: z.ZodString;
1159
+ }, z.core.$strip>;
1160
+ export declare const zLinkTrackerSubscriptionPath: z.ZodObject<{
1161
+ trackerId: z.ZodString;
1162
+ }, z.core.$strip>;
1163
+ /**
1164
+ * OK
1165
+ */
1166
+ export declare const zLinkTrackerSubscriptionResponse: z.ZodObject<{
1167
+ success: z.ZodBoolean;
1168
+ }, z.core.$strip>;
1169
+ /**
1170
+ * OK
1171
+ */
1172
+ export declare const zGetBluetoothReportingPolicyResponse: z.ZodObject<{
1173
+ pauseMs: z.ZodInt;
1174
+ accuracy: z.ZodInt;
1175
+ }, z.core.$strip>;
1176
+ export declare const zListTrackerHistoryPath: z.ZodObject<{
1177
+ trackerId: z.ZodString;
1178
+ }, z.core.$strip>;
1179
+ export declare const zListTrackerHistoryQuery: z.ZodObject<{
1180
+ from: z.ZodISODateTime;
1181
+ to: z.ZodISODateTime;
1182
+ cursor: z.ZodOptional<z.ZodString>;
1183
+ }, z.core.$strip>;
1184
+ /**
1185
+ * OK
1186
+ */
1187
+ export declare const zListTrackerHistoryResponse: z.ZodObject<{
1188
+ items: z.ZodArray<z.ZodObject<{
1189
+ id: z.ZodString;
1190
+ latitude: z.ZodNumber;
1191
+ longitude: z.ZodNumber;
1192
+ observedAt: z.ZodISODateTime;
1193
+ source: z.ZodEnum<{
1194
+ BLE: "BLE";
1195
+ CBT: "CBT";
1196
+ INI: "INI";
1197
+ GPS: "GPS";
1198
+ GSM: "GSM";
1199
+ LTE: "LTE";
1200
+ WIFI: "WIFI";
1201
+ GNSS: "GNSS";
1202
+ }>;
1203
+ accuracy: z.ZodNullable<z.ZodNumber>;
1204
+ }, z.core.$strip>>;
1205
+ nextCursor: z.ZodNullable<z.ZodString>;
1206
+ }, z.core.$strip>;
1007
1207
  /**
1008
1208
  * OK
1009
1209
  */
@@ -1022,6 +1222,7 @@ export declare const zUpdateAccountPreferencesBody: z.ZodObject<{
1022
1222
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1023
1223
  alarm: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1024
1224
  timeSensitive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1225
+ pushEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1025
1226
  }, z.core.$strip>;
1026
1227
  /**
1027
1228
  * OK
@@ -1051,50 +1252,31 @@ export declare const zSubscribeAccountPreferencesResponse: z.ZodNullable<z.ZodOb
1051
1252
  mapStyle: z.ZodString;
1052
1253
  }, z.core.$strip>;
1053
1254
  }, z.core.$strip>>;
1054
- export declare const zRemovePushRegistrationBody: z.ZodObject<{
1055
- tokens: z.ZodArray<z.ZodString>;
1056
- }, z.core.$strip>;
1057
- /**
1058
- * No Content
1059
- */
1060
- export declare const zRemovePushRegistrationResponse: z.ZodVoid;
1061
1255
  export declare const zRegisterPushRegistrationBody: z.ZodObject<{
1062
1256
  token: z.ZodString;
1257
+ platform: z.ZodEnum<{
1258
+ ios: "ios";
1259
+ android: "android";
1260
+ }>;
1063
1261
  previousTokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1064
- platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
1262
  }, z.core.$strip>;
1066
1263
  /**
1067
1264
  * No Content
1068
1265
  */
1069
1266
  export declare const zRegisterPushRegistrationResponse: z.ZodVoid;
1267
+ export declare const zRemovePushRegistrationBody: z.ZodObject<{
1268
+ tokens: z.ZodArray<z.ZodString>;
1269
+ }, z.core.$strip>;
1270
+ /**
1271
+ * No Content
1272
+ */
1273
+ export declare const zRemovePushRegistrationResponse: z.ZodVoid;
1070
1274
  /**
1071
1275
  * Accepted
1072
1276
  */
1073
1277
  export declare const zRequestAccountDeletionResponse: z.ZodObject<{
1074
1278
  requestId: z.ZodString;
1075
1279
  }, z.core.$strip>;
1076
- export declare const zListTrackerHistoryPath: z.ZodObject<{
1077
- trackerId: z.ZodString;
1078
- }, z.core.$strip>;
1079
- export declare const zListTrackerHistoryQuery: z.ZodObject<{
1080
- startMs: z.ZodInt;
1081
- endMs: z.ZodInt;
1082
- cursor: z.ZodOptional<z.ZodString>;
1083
- }, z.core.$strip>;
1084
- /**
1085
- * OK
1086
- */
1087
- export declare const zListTrackerHistoryResponse: z.ZodObject<{
1088
- items: z.ZodArray<z.ZodObject<{
1089
- id: z.ZodString;
1090
- latitude: z.ZodNumber;
1091
- longitude: z.ZodNumber;
1092
- timestampMs: z.ZodInt;
1093
- source: z.ZodString;
1094
- accuracy: z.ZodNullable<z.ZodNumber>;
1095
- }, z.core.$strip>>;
1096
- nextCursor: z.ZodNullable<z.ZodString>;
1097
- }, z.core.$strip>;
1098
1280
  export declare const zListNotificationsQuery: z.ZodObject<{
1099
1281
  cursor: z.ZodOptional<z.ZodString>;
1100
1282
  }, z.core.$strip>;
@@ -1107,7 +1289,7 @@ export declare const zListNotificationsResponse: z.ZodObject<{
1107
1289
  title: z.ZodString;
1108
1290
  body: z.ZodString;
1109
1291
  trackerId: z.ZodNullable<z.ZodString>;
1110
- timestampMs: z.ZodInt;
1292
+ createdAt: z.ZodISODateTime;
1111
1293
  subscriptionId: z.ZodNullable<z.ZodString>;
1112
1294
  }, z.core.$strip>>;
1113
1295
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -1133,8 +1315,8 @@ export declare const zListSubscriptionsResponse: z.ZodObject<{
1133
1315
  available: z.ZodInt;
1134
1316
  trackerIds: z.ZodArray<z.ZodString>;
1135
1317
  managementUrl: z.ZodNullable<z.ZodString>;
1136
- nextRenewalMs: z.ZodNullable<z.ZodInt>;
1137
- endMs: z.ZodNullable<z.ZodInt>;
1318
+ nextRenewalAt: z.ZodNullable<z.ZodISODateTime>;
1319
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
1138
1320
  }, z.core.$strip>>;
1139
1321
  }, z.core.$strip>;
1140
1322
  /**
@@ -1158,8 +1340,8 @@ export declare const zSubscribeSubscriptionsResponse: z.ZodNullable<z.ZodObject<
1158
1340
  available: z.ZodInt;
1159
1341
  trackerIds: z.ZodArray<z.ZodString>;
1160
1342
  managementUrl: z.ZodNullable<z.ZodString>;
1161
- nextRenewalMs: z.ZodNullable<z.ZodInt>;
1162
- endMs: z.ZodNullable<z.ZodInt>;
1343
+ nextRenewalAt: z.ZodNullable<z.ZodISODateTime>;
1344
+ endsAt: z.ZodNullable<z.ZodISODateTime>;
1163
1345
  }, z.core.$strip>>;
1164
1346
  }, z.core.$strip>>;
1165
1347
  //# sourceMappingURL=zod.gen.d.ts.map