@bikefinder/api-client 0.6.0 → 0.11.1
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 +17 -6
- package/dist/admin/generated/index.d.ts +1 -1
- package/dist/admin/generated/index.d.ts.map +1 -1
- package/dist/admin/generated/sdk.gen.d.ts +46 -58
- package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
- package/dist/admin/generated/sdk.gen.js +480 -233
- package/dist/admin/generated/sdk.gen.js.map +1 -1
- package/dist/admin/generated/types.gen.d.ts +601 -824
- package/dist/admin/generated/types.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.d.ts +1490 -3261
- package/dist/admin/generated/zod.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.js +213 -305
- package/dist/admin/generated/zod.gen.js.map +1 -1
- package/dist/admin/index.d.ts +1 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +24 -8
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +63 -19
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +314 -37
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.d.ts +365 -113
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +133 -28
- package/dist/generated/zod.gen.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/generated/index.ts +73 -97
- package/src/admin/generated/sdk.gen.ts +678 -468
- package/src/admin/generated/types.gen.ts +723 -976
- package/src/admin/generated/zod.gen.ts +261 -371
- package/src/admin/index.ts +1 -1
- package/src/generated/index.ts +44 -12
- package/src/generated/sdk.gen.ts +150 -44
- package/src/generated/types.gen.ts +373 -44
- package/src/generated/zod.gen.ts +154 -29
|
@@ -10,6 +10,27 @@ export declare const zAccountNotification: z.ZodObject<{
|
|
|
10
10
|
createdAt: z.ZodISODateTime;
|
|
11
11
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
+
export declare const zBatteryEvidenceState: z.ZodEnum<{
|
|
14
|
+
notRecorded: "notRecorded";
|
|
15
|
+
recorded: "recorded";
|
|
16
|
+
invalid: "invalid";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const zBatteryField: z.ZodEnum<{
|
|
19
|
+
origin: "origin";
|
|
20
|
+
reading: "reading";
|
|
21
|
+
levelPercent: "levelPercent";
|
|
22
|
+
charging: "charging";
|
|
23
|
+
time: "time";
|
|
24
|
+
}>;
|
|
25
|
+
export declare const zBatteryOrigin: z.ZodEnum<{
|
|
26
|
+
bluetooth: "bluetooth";
|
|
27
|
+
tracker: "tracker";
|
|
28
|
+
}>;
|
|
29
|
+
export declare const zBatteryTimeBasis: z.ZodEnum<{
|
|
30
|
+
unknown: "unknown";
|
|
31
|
+
observed: "observed";
|
|
32
|
+
received: "received";
|
|
33
|
+
}>;
|
|
13
34
|
export declare const zBluetoothBatteryRequest: z.ZodObject<{
|
|
14
35
|
observedAt: z.ZodISODateTime;
|
|
15
36
|
level: z.ZodNullable<z.ZodInt>;
|
|
@@ -68,11 +89,7 @@ export declare const zBluetoothReportingPolicy: z.ZodObject<{
|
|
|
68
89
|
pauseMs: z.ZodInt;
|
|
69
90
|
accuracy: z.ZodInt;
|
|
70
91
|
}, z.core.$strip>;
|
|
71
|
-
export declare const
|
|
72
|
-
accessCode: z.ZodString;
|
|
73
|
-
displayName: z.ZodNullable<z.ZodString>;
|
|
74
|
-
}, z.core.$strip>;
|
|
75
|
-
export declare const zClaimTrackerOwnershipRequest: z.ZodObject<{
|
|
92
|
+
export declare const zClaimTrackerRequest: z.ZodObject<{
|
|
76
93
|
displayName: z.ZodNullable<z.ZodString>;
|
|
77
94
|
}, z.core.$strip>;
|
|
78
95
|
export declare const zCommandSuccess: z.ZodObject<{
|
|
@@ -98,6 +115,16 @@ export declare const zAccountPreferences: z.ZodObject<{
|
|
|
98
115
|
mapStyle: z.ZodString;
|
|
99
116
|
}, z.core.$strip>;
|
|
100
117
|
}, z.core.$strip>;
|
|
118
|
+
export declare const zFirmwareBlockReason: z.ZodEnum<{
|
|
119
|
+
subscriptionRequired: "subscriptionRequired";
|
|
120
|
+
accountRestricted: "accountRestricted";
|
|
121
|
+
temporarilyPaused: "temporarilyPaused";
|
|
122
|
+
repeatedFailures: "repeatedFailures";
|
|
123
|
+
locationRequired: "locationRequired";
|
|
124
|
+
outsideSupportedArea: "outsideSupportedArea";
|
|
125
|
+
installedVersionUnknown: "installedVersionUnknown";
|
|
126
|
+
appUpdateRequired: "appUpdateRequired";
|
|
127
|
+
}>;
|
|
101
128
|
export declare const zHealthStatus: z.ZodObject<{
|
|
102
129
|
status: z.ZodString;
|
|
103
130
|
}, z.core.$strip>;
|
|
@@ -131,11 +158,11 @@ export declare const zPhotoUploadResult: z.ZodObject<{
|
|
|
131
158
|
id: z.ZodString;
|
|
132
159
|
}, z.core.$strip>;
|
|
133
160
|
export declare const zPlanStatus: z.ZodEnum<{
|
|
161
|
+
unknown: "unknown";
|
|
134
162
|
active: "active";
|
|
135
163
|
ending: "ending";
|
|
136
164
|
hold: "hold";
|
|
137
165
|
inactive: "inactive";
|
|
138
|
-
unknown: "unknown";
|
|
139
166
|
}>;
|
|
140
167
|
export declare const zProblemDetails: z.ZodObject<{
|
|
141
168
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -155,6 +182,10 @@ export declare const zRecordFirmwareAttemptResult: z.ZodObject<{
|
|
|
155
182
|
success: z.ZodBoolean;
|
|
156
183
|
recorded: z.ZodBoolean;
|
|
157
184
|
}, z.core.$strip>;
|
|
185
|
+
export declare const zRedeemTrackerInvitationRequest: z.ZodObject<{
|
|
186
|
+
accessCode: z.ZodString;
|
|
187
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
188
|
+
}, z.core.$strip>;
|
|
158
189
|
export declare const zRegisterPushRegistrationRequest: z.ZodObject<{
|
|
159
190
|
token: z.ZodString;
|
|
160
191
|
platform: z.ZodEnum<{
|
|
@@ -185,11 +216,11 @@ export declare const zSubscriptionPlan: z.ZodObject<{
|
|
|
185
216
|
name: z.ZodString;
|
|
186
217
|
fallbackTier: z.ZodNullable<z.ZodInt>;
|
|
187
218
|
status: z.ZodEnum<{
|
|
219
|
+
unknown: "unknown";
|
|
188
220
|
active: "active";
|
|
189
221
|
ending: "ending";
|
|
190
222
|
hold: "hold";
|
|
191
223
|
inactive: "inactive";
|
|
192
|
-
unknown: "unknown";
|
|
193
224
|
}>;
|
|
194
225
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
195
226
|
quantity: z.ZodNullable<z.ZodInt>;
|
|
@@ -206,11 +237,11 @@ export declare const zSubscriptionList: z.ZodObject<{
|
|
|
206
237
|
name: z.ZodString;
|
|
207
238
|
fallbackTier: z.ZodNullable<z.ZodInt>;
|
|
208
239
|
status: z.ZodEnum<{
|
|
240
|
+
unknown: "unknown";
|
|
209
241
|
active: "active";
|
|
210
242
|
ending: "ending";
|
|
211
243
|
hold: "hold";
|
|
212
244
|
inactive: "inactive";
|
|
213
|
-
unknown: "unknown";
|
|
214
245
|
}>;
|
|
215
246
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
216
247
|
quantity: z.ZodNullable<z.ZodInt>;
|
|
@@ -221,10 +252,46 @@ export declare const zSubscriptionList: z.ZodObject<{
|
|
|
221
252
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
222
253
|
}, z.core.$strip>>;
|
|
223
254
|
}, z.core.$strip>;
|
|
255
|
+
export declare const zTrackerBatterySummary: z.ZodObject<{
|
|
256
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
257
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
258
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
259
|
+
timeBasis: z.ZodEnum<{
|
|
260
|
+
unknown: "unknown";
|
|
261
|
+
observed: "observed";
|
|
262
|
+
received: "received";
|
|
263
|
+
}>;
|
|
264
|
+
}, z.core.$strip>;
|
|
224
265
|
export declare const zTrackerBattery: z.ZodObject<{
|
|
225
|
-
|
|
226
|
-
|
|
266
|
+
trackerId: z.ZodString;
|
|
267
|
+
reading: z.ZodObject<{
|
|
268
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
269
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
270
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
271
|
+
timeBasis: z.ZodEnum<{
|
|
272
|
+
unknown: "unknown";
|
|
273
|
+
observed: "observed";
|
|
274
|
+
received: "received";
|
|
275
|
+
}>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
state: z.ZodEnum<{
|
|
278
|
+
notRecorded: "notRecorded";
|
|
279
|
+
recorded: "recorded";
|
|
280
|
+
invalid: "invalid";
|
|
281
|
+
}>;
|
|
227
282
|
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
283
|
+
receivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
284
|
+
origin: z.ZodNullable<z.ZodEnum<{
|
|
285
|
+
bluetooth: "bluetooth";
|
|
286
|
+
tracker: "tracker";
|
|
287
|
+
}>>;
|
|
288
|
+
invalidFields: z.ZodArray<z.ZodEnum<{
|
|
289
|
+
origin: "origin";
|
|
290
|
+
reading: "reading";
|
|
291
|
+
levelPercent: "levelPercent";
|
|
292
|
+
charging: "charging";
|
|
293
|
+
time: "time";
|
|
294
|
+
}>>;
|
|
228
295
|
}, z.core.$strip>;
|
|
229
296
|
export declare const zTrackerBikeDetails: z.ZodObject<{
|
|
230
297
|
nickname: z.ZodString;
|
|
@@ -246,6 +313,35 @@ export declare const zTrackerBluetoothCredentials: z.ZodObject<{
|
|
|
246
313
|
export declare const zTrackerClaimabilityRequest: z.ZodObject<{
|
|
247
314
|
trackerIds: z.ZodArray<z.ZodString>;
|
|
248
315
|
}, z.core.$strip>;
|
|
316
|
+
export declare const zTrackerFirmwareEligibilityBlockedTrackerFirmware: z.ZodObject<{
|
|
317
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
318
|
+
blocked: "blocked";
|
|
319
|
+
}>>;
|
|
320
|
+
reason: z.ZodEnum<{
|
|
321
|
+
subscriptionRequired: "subscriptionRequired";
|
|
322
|
+
accountRestricted: "accountRestricted";
|
|
323
|
+
temporarilyPaused: "temporarilyPaused";
|
|
324
|
+
repeatedFailures: "repeatedFailures";
|
|
325
|
+
locationRequired: "locationRequired";
|
|
326
|
+
outsideSupportedArea: "outsideSupportedArea";
|
|
327
|
+
installedVersionUnknown: "installedVersionUnknown";
|
|
328
|
+
appUpdateRequired: "appUpdateRequired";
|
|
329
|
+
}>;
|
|
330
|
+
retryAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
331
|
+
trackerId: z.ZodString;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
export declare const zTrackerFirmwareEligibilityCurrentTrackerFirmware: z.ZodObject<{
|
|
334
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
current: "current";
|
|
336
|
+
}>>;
|
|
337
|
+
trackerId: z.ZodString;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
export declare const zTrackerFirmwareEligibilityUnsupportedTrackerFirmware: z.ZodObject<{
|
|
340
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
341
|
+
unsupported: "unsupported";
|
|
342
|
+
}>>;
|
|
343
|
+
trackerId: z.ZodString;
|
|
344
|
+
}, z.core.$strip>;
|
|
249
345
|
export declare const zTrackerFirmwarePlan: z.ZodObject<{
|
|
250
346
|
trackerId: z.ZodString;
|
|
251
347
|
from: z.ZodString;
|
|
@@ -256,6 +352,56 @@ export declare const zTrackerFirmwarePlan: z.ZodObject<{
|
|
|
256
352
|
blockTimeoutMs: z.ZodInt;
|
|
257
353
|
rebootTimeoutMs: z.ZodInt;
|
|
258
354
|
}, z.core.$strip>;
|
|
355
|
+
export declare const zTrackerFirmwareEligibilityAvailableFirmwareUpdate: z.ZodObject<{
|
|
356
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
357
|
+
available: "available";
|
|
358
|
+
}>>;
|
|
359
|
+
plan: z.ZodObject<{
|
|
360
|
+
trackerId: z.ZodString;
|
|
361
|
+
from: z.ZodString;
|
|
362
|
+
version: z.ZodString;
|
|
363
|
+
url: z.ZodString;
|
|
364
|
+
blockSize: z.ZodInt;
|
|
365
|
+
requiredBattery: z.ZodInt;
|
|
366
|
+
blockTimeoutMs: z.ZodInt;
|
|
367
|
+
rebootTimeoutMs: z.ZodInt;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
trackerId: z.ZodString;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
export declare const zTrackerFirmwareEligibility: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
372
|
+
plan: z.ZodObject<{
|
|
373
|
+
trackerId: z.ZodString;
|
|
374
|
+
from: z.ZodString;
|
|
375
|
+
version: z.ZodString;
|
|
376
|
+
url: z.ZodString;
|
|
377
|
+
blockSize: z.ZodInt;
|
|
378
|
+
requiredBattery: z.ZodInt;
|
|
379
|
+
blockTimeoutMs: z.ZodInt;
|
|
380
|
+
rebootTimeoutMs: z.ZodInt;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
trackerId: z.ZodString;
|
|
383
|
+
status: z.ZodLiteral<"available">;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
+
trackerId: z.ZodString;
|
|
386
|
+
status: z.ZodLiteral<"current">;
|
|
387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
388
|
+
trackerId: z.ZodString;
|
|
389
|
+
status: z.ZodLiteral<"unsupported">;
|
|
390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
391
|
+
reason: z.ZodEnum<{
|
|
392
|
+
subscriptionRequired: "subscriptionRequired";
|
|
393
|
+
accountRestricted: "accountRestricted";
|
|
394
|
+
temporarilyPaused: "temporarilyPaused";
|
|
395
|
+
repeatedFailures: "repeatedFailures";
|
|
396
|
+
locationRequired: "locationRequired";
|
|
397
|
+
outsideSupportedArea: "outsideSupportedArea";
|
|
398
|
+
installedVersionUnknown: "installedVersionUnknown";
|
|
399
|
+
appUpdateRequired: "appUpdateRequired";
|
|
400
|
+
}>;
|
|
401
|
+
retryAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
402
|
+
trackerId: z.ZodString;
|
|
403
|
+
status: z.ZodLiteral<"blocked">;
|
|
404
|
+
}, z.core.$strip>], "status">;
|
|
259
405
|
export declare const zTrackerFirmwareVersions: z.ZodObject<{
|
|
260
406
|
lte: z.ZodNullable<z.ZodString>;
|
|
261
407
|
ble: z.ZodNullable<z.ZodString>;
|
|
@@ -266,6 +412,10 @@ export declare const zTrackerFirmwareVersions: z.ZodObject<{
|
|
|
266
412
|
export declare const zTrackerInvitation: z.ZodObject<{
|
|
267
413
|
accessCode: z.ZodString;
|
|
268
414
|
}, z.core.$strip>;
|
|
415
|
+
export declare const zTrackerMembership: z.ZodObject<{
|
|
416
|
+
trackerId: z.ZodString;
|
|
417
|
+
accountId: z.ZodString;
|
|
418
|
+
}, z.core.$strip>;
|
|
269
419
|
export declare const zTrackerPhoto: z.ZodObject<{
|
|
270
420
|
id: z.ZodString;
|
|
271
421
|
kind: z.ZodString;
|
|
@@ -358,11 +508,11 @@ export declare const zTrackerPositionState: z.ZodObject<{
|
|
|
358
508
|
export declare const zTrackerSubscription: z.ZodObject<{
|
|
359
509
|
id: z.ZodNullable<z.ZodString>;
|
|
360
510
|
status: z.ZodEnum<{
|
|
511
|
+
unknown: "unknown";
|
|
361
512
|
active: "active";
|
|
362
513
|
ending: "ending";
|
|
363
514
|
hold: "hold";
|
|
364
515
|
inactive: "inactive";
|
|
365
|
-
unknown: "unknown";
|
|
366
516
|
}>;
|
|
367
517
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
368
518
|
tier: z.ZodNullable<z.ZodInt>;
|
|
@@ -401,35 +551,29 @@ export declare const zTrackerSummary: z.ZodObject<{
|
|
|
401
551
|
tracking: "tracking";
|
|
402
552
|
}>>;
|
|
403
553
|
subscriptionActive: z.ZodNullable<z.ZodBoolean>;
|
|
404
|
-
bikeDetails: z.ZodNullable<z.ZodObject<{
|
|
405
|
-
nickname: z.ZodString;
|
|
406
|
-
brand: z.ZodString;
|
|
407
|
-
type: z.ZodString;
|
|
408
|
-
model: z.ZodString;
|
|
409
|
-
frameNumber: z.ZodString;
|
|
410
|
-
marketPrice: z.ZodString;
|
|
411
|
-
marketPriceCurrency: z.ZodString;
|
|
412
|
-
url: z.ZodString;
|
|
413
|
-
}, z.core.$strip>>;
|
|
414
554
|
battery: z.ZodNullable<z.ZodObject<{
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
555
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
556
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
557
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
558
|
+
timeBasis: z.ZodEnum<{
|
|
559
|
+
unknown: "unknown";
|
|
560
|
+
observed: "observed";
|
|
561
|
+
received: "received";
|
|
562
|
+
}>;
|
|
418
563
|
}, z.core.$strip>>;
|
|
419
564
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
420
565
|
id: z.ZodNullable<z.ZodString>;
|
|
421
566
|
status: z.ZodEnum<{
|
|
567
|
+
unknown: "unknown";
|
|
422
568
|
active: "active";
|
|
423
569
|
ending: "ending";
|
|
424
570
|
hold: "hold";
|
|
425
571
|
inactive: "inactive";
|
|
426
|
-
unknown: "unknown";
|
|
427
572
|
}>;
|
|
428
573
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
429
574
|
tier: z.ZodNullable<z.ZodInt>;
|
|
430
575
|
}, z.core.$strip>>;
|
|
431
576
|
membershipCount: z.ZodInt;
|
|
432
|
-
sharingCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
433
577
|
generation: z.ZodNullable<z.ZodInt>;
|
|
434
578
|
imei: z.ZodNullable<z.ZodString>;
|
|
435
579
|
iccid: z.ZodNullable<z.ZodString>;
|
|
@@ -452,35 +596,29 @@ export declare const zTrackerPage: z.ZodObject<{
|
|
|
452
596
|
tracking: "tracking";
|
|
453
597
|
}>>;
|
|
454
598
|
subscriptionActive: z.ZodNullable<z.ZodBoolean>;
|
|
455
|
-
bikeDetails: z.ZodNullable<z.ZodObject<{
|
|
456
|
-
nickname: z.ZodString;
|
|
457
|
-
brand: z.ZodString;
|
|
458
|
-
type: z.ZodString;
|
|
459
|
-
model: z.ZodString;
|
|
460
|
-
frameNumber: z.ZodString;
|
|
461
|
-
marketPrice: z.ZodString;
|
|
462
|
-
marketPriceCurrency: z.ZodString;
|
|
463
|
-
url: z.ZodString;
|
|
464
|
-
}, z.core.$strip>>;
|
|
465
599
|
battery: z.ZodNullable<z.ZodObject<{
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
600
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
601
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
602
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
603
|
+
timeBasis: z.ZodEnum<{
|
|
604
|
+
unknown: "unknown";
|
|
605
|
+
observed: "observed";
|
|
606
|
+
received: "received";
|
|
607
|
+
}>;
|
|
469
608
|
}, z.core.$strip>>;
|
|
470
609
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
471
610
|
id: z.ZodNullable<z.ZodString>;
|
|
472
611
|
status: z.ZodEnum<{
|
|
612
|
+
unknown: "unknown";
|
|
473
613
|
active: "active";
|
|
474
614
|
ending: "ending";
|
|
475
615
|
hold: "hold";
|
|
476
616
|
inactive: "inactive";
|
|
477
|
-
unknown: "unknown";
|
|
478
617
|
}>;
|
|
479
618
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
480
619
|
tier: z.ZodNullable<z.ZodInt>;
|
|
481
620
|
}, z.core.$strip>>;
|
|
482
621
|
membershipCount: z.ZodInt;
|
|
483
|
-
sharingCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
484
622
|
generation: z.ZodNullable<z.ZodInt>;
|
|
485
623
|
imei: z.ZodNullable<z.ZodString>;
|
|
486
624
|
iccid: z.ZodNullable<z.ZodString>;
|
|
@@ -551,35 +689,29 @@ export declare const zListTrackersResponse: z.ZodObject<{
|
|
|
551
689
|
tracking: "tracking";
|
|
552
690
|
}>>;
|
|
553
691
|
subscriptionActive: z.ZodNullable<z.ZodBoolean>;
|
|
554
|
-
bikeDetails: z.ZodNullable<z.ZodObject<{
|
|
555
|
-
nickname: z.ZodString;
|
|
556
|
-
brand: z.ZodString;
|
|
557
|
-
type: z.ZodString;
|
|
558
|
-
model: z.ZodString;
|
|
559
|
-
frameNumber: z.ZodString;
|
|
560
|
-
marketPrice: z.ZodString;
|
|
561
|
-
marketPriceCurrency: z.ZodString;
|
|
562
|
-
url: z.ZodString;
|
|
563
|
-
}, z.core.$strip>>;
|
|
564
692
|
battery: z.ZodNullable<z.ZodObject<{
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
693
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
694
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
695
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
696
|
+
timeBasis: z.ZodEnum<{
|
|
697
|
+
unknown: "unknown";
|
|
698
|
+
observed: "observed";
|
|
699
|
+
received: "received";
|
|
700
|
+
}>;
|
|
568
701
|
}, z.core.$strip>>;
|
|
569
702
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
570
703
|
id: z.ZodNullable<z.ZodString>;
|
|
571
704
|
status: z.ZodEnum<{
|
|
705
|
+
unknown: "unknown";
|
|
572
706
|
active: "active";
|
|
573
707
|
ending: "ending";
|
|
574
708
|
hold: "hold";
|
|
575
709
|
inactive: "inactive";
|
|
576
|
-
unknown: "unknown";
|
|
577
710
|
}>;
|
|
578
711
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
579
712
|
tier: z.ZodNullable<z.ZodInt>;
|
|
580
713
|
}, z.core.$strip>>;
|
|
581
714
|
membershipCount: z.ZodInt;
|
|
582
|
-
sharingCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
583
715
|
generation: z.ZodNullable<z.ZodInt>;
|
|
584
716
|
imei: z.ZodNullable<z.ZodString>;
|
|
585
717
|
iccid: z.ZodNullable<z.ZodString>;
|
|
@@ -611,35 +743,29 @@ export declare const zSubscribeTrackersResponse: z.ZodNullable<z.ZodObject<{
|
|
|
611
743
|
tracking: "tracking";
|
|
612
744
|
}>>;
|
|
613
745
|
subscriptionActive: z.ZodNullable<z.ZodBoolean>;
|
|
614
|
-
bikeDetails: z.ZodNullable<z.ZodObject<{
|
|
615
|
-
nickname: z.ZodString;
|
|
616
|
-
brand: z.ZodString;
|
|
617
|
-
type: z.ZodString;
|
|
618
|
-
model: z.ZodString;
|
|
619
|
-
frameNumber: z.ZodString;
|
|
620
|
-
marketPrice: z.ZodString;
|
|
621
|
-
marketPriceCurrency: z.ZodString;
|
|
622
|
-
url: z.ZodString;
|
|
623
|
-
}, z.core.$strip>>;
|
|
624
746
|
battery: z.ZodNullable<z.ZodObject<{
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
747
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
748
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
749
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
750
|
+
timeBasis: z.ZodEnum<{
|
|
751
|
+
unknown: "unknown";
|
|
752
|
+
observed: "observed";
|
|
753
|
+
received: "received";
|
|
754
|
+
}>;
|
|
628
755
|
}, z.core.$strip>>;
|
|
629
756
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
630
757
|
id: z.ZodNullable<z.ZodString>;
|
|
631
758
|
status: z.ZodEnum<{
|
|
759
|
+
unknown: "unknown";
|
|
632
760
|
active: "active";
|
|
633
761
|
ending: "ending";
|
|
634
762
|
hold: "hold";
|
|
635
763
|
inactive: "inactive";
|
|
636
|
-
unknown: "unknown";
|
|
637
764
|
}>;
|
|
638
765
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
639
766
|
tier: z.ZodNullable<z.ZodInt>;
|
|
640
767
|
}, z.core.$strip>>;
|
|
641
768
|
membershipCount: z.ZodInt;
|
|
642
|
-
sharingCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
643
769
|
generation: z.ZodNullable<z.ZodInt>;
|
|
644
770
|
imei: z.ZodNullable<z.ZodString>;
|
|
645
771
|
iccid: z.ZodNullable<z.ZodString>;
|
|
@@ -669,35 +795,29 @@ export declare const zGetTrackerResponse: z.ZodObject<{
|
|
|
669
795
|
tracking: "tracking";
|
|
670
796
|
}>>;
|
|
671
797
|
subscriptionActive: z.ZodNullable<z.ZodBoolean>;
|
|
672
|
-
bikeDetails: z.ZodNullable<z.ZodObject<{
|
|
673
|
-
nickname: z.ZodString;
|
|
674
|
-
brand: z.ZodString;
|
|
675
|
-
type: z.ZodString;
|
|
676
|
-
model: z.ZodString;
|
|
677
|
-
frameNumber: z.ZodString;
|
|
678
|
-
marketPrice: z.ZodString;
|
|
679
|
-
marketPriceCurrency: z.ZodString;
|
|
680
|
-
url: z.ZodString;
|
|
681
|
-
}, z.core.$strip>>;
|
|
682
798
|
battery: z.ZodNullable<z.ZodObject<{
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
799
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
800
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
801
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
802
|
+
timeBasis: z.ZodEnum<{
|
|
803
|
+
unknown: "unknown";
|
|
804
|
+
observed: "observed";
|
|
805
|
+
received: "received";
|
|
806
|
+
}>;
|
|
686
807
|
}, z.core.$strip>>;
|
|
687
808
|
subscription: z.ZodNullable<z.ZodObject<{
|
|
688
809
|
id: z.ZodNullable<z.ZodString>;
|
|
689
810
|
status: z.ZodEnum<{
|
|
811
|
+
unknown: "unknown";
|
|
690
812
|
active: "active";
|
|
691
813
|
ending: "ending";
|
|
692
814
|
hold: "hold";
|
|
693
815
|
inactive: "inactive";
|
|
694
|
-
unknown: "unknown";
|
|
695
816
|
}>;
|
|
696
817
|
endsAt: z.ZodNullable<z.ZodISODateTime>;
|
|
697
818
|
tier: z.ZodNullable<z.ZodInt>;
|
|
698
819
|
}, z.core.$strip>>;
|
|
699
820
|
membershipCount: z.ZodInt;
|
|
700
|
-
sharingCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
701
821
|
generation: z.ZodNullable<z.ZodInt>;
|
|
702
822
|
imei: z.ZodNullable<z.ZodString>;
|
|
703
823
|
iccid: z.ZodNullable<z.ZodString>;
|
|
@@ -731,6 +851,37 @@ export declare const zRequestTrackerModeResponse: z.ZodObject<{
|
|
|
731
851
|
tracking: "tracking";
|
|
732
852
|
}>;
|
|
733
853
|
}, z.core.$strip>;
|
|
854
|
+
export declare const zSubmitTrackerTheftReportBody: z.ZodObject<{
|
|
855
|
+
requestId: z.ZodString;
|
|
856
|
+
phoneNumber: z.ZodString;
|
|
857
|
+
}, z.core.$strip>;
|
|
858
|
+
export declare const zSubmitTrackerTheftReportPath: z.ZodObject<{
|
|
859
|
+
trackerId: z.ZodString;
|
|
860
|
+
}, z.core.$strip>;
|
|
861
|
+
/**
|
|
862
|
+
* OK
|
|
863
|
+
*/
|
|
864
|
+
export declare const zSubmitTrackerTheftReportResponse: z.ZodObject<{
|
|
865
|
+
success: z.ZodBoolean;
|
|
866
|
+
reportId: z.ZodString;
|
|
867
|
+
requestId: z.ZodString;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
export declare const zGetTrackerBikePath: z.ZodObject<{
|
|
870
|
+
trackerId: z.ZodString;
|
|
871
|
+
}, z.core.$strip>;
|
|
872
|
+
/**
|
|
873
|
+
* OK
|
|
874
|
+
*/
|
|
875
|
+
export declare const zGetTrackerBikeResponse: z.ZodObject<{
|
|
876
|
+
nickname: z.ZodString;
|
|
877
|
+
brand: z.ZodString;
|
|
878
|
+
type: z.ZodString;
|
|
879
|
+
model: z.ZodString;
|
|
880
|
+
frameNumber: z.ZodString;
|
|
881
|
+
marketPrice: z.ZodString;
|
|
882
|
+
marketPriceCurrency: z.ZodString;
|
|
883
|
+
url: z.ZodString;
|
|
884
|
+
}, z.core.$strip>;
|
|
734
885
|
export declare const zUpdateTrackerBikeBody: z.ZodObject<{
|
|
735
886
|
before: z.ZodObject<{
|
|
736
887
|
nickname: z.ZodString;
|
|
@@ -769,21 +920,96 @@ export declare const zUpdateTrackerBikeResponse: z.ZodObject<{
|
|
|
769
920
|
marketPriceCurrency: z.ZodString;
|
|
770
921
|
url: z.ZodString;
|
|
771
922
|
}, z.core.$strip>;
|
|
772
|
-
export declare const
|
|
773
|
-
|
|
774
|
-
phoneNumber: z.ZodString;
|
|
923
|
+
export declare const zSubscribeTrackerBikePath: z.ZodObject<{
|
|
924
|
+
trackerId: z.ZodString;
|
|
775
925
|
}, z.core.$strip>;
|
|
776
|
-
|
|
926
|
+
/**
|
|
927
|
+
* OK
|
|
928
|
+
*/
|
|
929
|
+
export declare const zSubscribeTrackerBikeResponse: z.ZodNullable<z.ZodObject<{
|
|
930
|
+
nickname: z.ZodString;
|
|
931
|
+
brand: z.ZodString;
|
|
932
|
+
type: z.ZodString;
|
|
933
|
+
model: z.ZodString;
|
|
934
|
+
frameNumber: z.ZodString;
|
|
935
|
+
marketPrice: z.ZodString;
|
|
936
|
+
marketPriceCurrency: z.ZodString;
|
|
937
|
+
url: z.ZodString;
|
|
938
|
+
}, z.core.$strip>>;
|
|
939
|
+
export declare const zGetTrackerBatteryPath: z.ZodObject<{
|
|
777
940
|
trackerId: z.ZodString;
|
|
778
941
|
}, z.core.$strip>;
|
|
779
942
|
/**
|
|
780
943
|
* OK
|
|
781
944
|
*/
|
|
782
|
-
export declare const
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
945
|
+
export declare const zGetTrackerBatteryResponse: z.ZodObject<{
|
|
946
|
+
trackerId: z.ZodString;
|
|
947
|
+
reading: z.ZodObject<{
|
|
948
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
949
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
950
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
951
|
+
timeBasis: z.ZodEnum<{
|
|
952
|
+
unknown: "unknown";
|
|
953
|
+
observed: "observed";
|
|
954
|
+
received: "received";
|
|
955
|
+
}>;
|
|
956
|
+
}, z.core.$strip>;
|
|
957
|
+
state: z.ZodEnum<{
|
|
958
|
+
notRecorded: "notRecorded";
|
|
959
|
+
recorded: "recorded";
|
|
960
|
+
invalid: "invalid";
|
|
961
|
+
}>;
|
|
962
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
963
|
+
receivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
964
|
+
origin: z.ZodNullable<z.ZodEnum<{
|
|
965
|
+
bluetooth: "bluetooth";
|
|
966
|
+
tracker: "tracker";
|
|
967
|
+
}>>;
|
|
968
|
+
invalidFields: z.ZodArray<z.ZodEnum<{
|
|
969
|
+
origin: "origin";
|
|
970
|
+
reading: "reading";
|
|
971
|
+
levelPercent: "levelPercent";
|
|
972
|
+
charging: "charging";
|
|
973
|
+
time: "time";
|
|
974
|
+
}>>;
|
|
786
975
|
}, z.core.$strip>;
|
|
976
|
+
export declare const zSubscribeTrackerBatteryPath: z.ZodObject<{
|
|
977
|
+
trackerId: z.ZodString;
|
|
978
|
+
}, z.core.$strip>;
|
|
979
|
+
/**
|
|
980
|
+
* OK
|
|
981
|
+
*/
|
|
982
|
+
export declare const zSubscribeTrackerBatteryResponse: z.ZodNullable<z.ZodObject<{
|
|
983
|
+
trackerId: z.ZodString;
|
|
984
|
+
reading: z.ZodObject<{
|
|
985
|
+
levelPercent: z.ZodNullable<z.ZodInt>;
|
|
986
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
987
|
+
asOf: z.ZodNullable<z.ZodISODateTime>;
|
|
988
|
+
timeBasis: z.ZodEnum<{
|
|
989
|
+
unknown: "unknown";
|
|
990
|
+
observed: "observed";
|
|
991
|
+
received: "received";
|
|
992
|
+
}>;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
state: z.ZodEnum<{
|
|
995
|
+
notRecorded: "notRecorded";
|
|
996
|
+
recorded: "recorded";
|
|
997
|
+
invalid: "invalid";
|
|
998
|
+
}>;
|
|
999
|
+
observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1000
|
+
receivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1001
|
+
origin: z.ZodNullable<z.ZodEnum<{
|
|
1002
|
+
bluetooth: "bluetooth";
|
|
1003
|
+
tracker: "tracker";
|
|
1004
|
+
}>>;
|
|
1005
|
+
invalidFields: z.ZodArray<z.ZodEnum<{
|
|
1006
|
+
origin: "origin";
|
|
1007
|
+
reading: "reading";
|
|
1008
|
+
levelPercent: "levelPercent";
|
|
1009
|
+
charging: "charging";
|
|
1010
|
+
time: "time";
|
|
1011
|
+
}>>;
|
|
1012
|
+
}, z.core.$strip>>;
|
|
787
1013
|
export declare const zCheckTrackerClaimabilityBody: z.ZodObject<{
|
|
788
1014
|
trackerIds: z.ZodArray<z.ZodString>;
|
|
789
1015
|
}, z.core.$strip>;
|
|
@@ -791,30 +1017,32 @@ export declare const zCheckTrackerClaimabilityBody: z.ZodObject<{
|
|
|
791
1017
|
* OK
|
|
792
1018
|
*/
|
|
793
1019
|
export declare const zCheckTrackerClaimabilityResponse: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
794
|
-
export declare const
|
|
1020
|
+
export declare const zClaimTrackerBody: z.ZodObject<{
|
|
795
1021
|
displayName: z.ZodNullable<z.ZodString>;
|
|
796
1022
|
}, z.core.$strip>;
|
|
797
|
-
export declare const
|
|
1023
|
+
export declare const zClaimTrackerPath: z.ZodObject<{
|
|
798
1024
|
trackerId: z.ZodString;
|
|
799
1025
|
}, z.core.$strip>;
|
|
800
1026
|
/**
|
|
801
1027
|
* OK
|
|
802
1028
|
*/
|
|
803
|
-
export declare const
|
|
804
|
-
|
|
1029
|
+
export declare const zClaimTrackerResponse: z.ZodObject<{
|
|
1030
|
+
trackerId: z.ZodString;
|
|
1031
|
+
accountId: z.ZodString;
|
|
805
1032
|
}, z.core.$strip>;
|
|
806
|
-
export declare const
|
|
1033
|
+
export declare const zRedeemTrackerInvitationBody: z.ZodObject<{
|
|
807
1034
|
accessCode: z.ZodString;
|
|
808
1035
|
displayName: z.ZodNullable<z.ZodString>;
|
|
809
1036
|
}, z.core.$strip>;
|
|
810
|
-
export declare const
|
|
1037
|
+
export declare const zRedeemTrackerInvitationPath: z.ZodObject<{
|
|
811
1038
|
trackerId: z.ZodString;
|
|
812
1039
|
}, z.core.$strip>;
|
|
813
1040
|
/**
|
|
814
1041
|
* OK
|
|
815
1042
|
*/
|
|
816
|
-
export declare const
|
|
817
|
-
|
|
1043
|
+
export declare const zRedeemTrackerInvitationResponse: z.ZodObject<{
|
|
1044
|
+
trackerId: z.ZodString;
|
|
1045
|
+
accountId: z.ZodString;
|
|
818
1046
|
}, z.core.$strip>;
|
|
819
1047
|
export declare const zCreateTrackerInvitationPath: z.ZodObject<{
|
|
820
1048
|
trackerId: z.ZodString;
|
|
@@ -962,16 +1190,40 @@ export declare const zGetTrackerFirmwarePlanQuery: z.ZodObject<{
|
|
|
962
1190
|
/**
|
|
963
1191
|
* OK
|
|
964
1192
|
*/
|
|
965
|
-
export declare const zGetTrackerFirmwarePlanResponse: z.ZodObject<{
|
|
1193
|
+
export declare const zGetTrackerFirmwarePlanResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1194
|
+
plan: z.ZodObject<{
|
|
1195
|
+
trackerId: z.ZodString;
|
|
1196
|
+
from: z.ZodString;
|
|
1197
|
+
version: z.ZodString;
|
|
1198
|
+
url: z.ZodString;
|
|
1199
|
+
blockSize: z.ZodInt;
|
|
1200
|
+
requiredBattery: z.ZodInt;
|
|
1201
|
+
blockTimeoutMs: z.ZodInt;
|
|
1202
|
+
rebootTimeoutMs: z.ZodInt;
|
|
1203
|
+
}, z.core.$strip>;
|
|
966
1204
|
trackerId: z.ZodString;
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}, z.core.$strip
|
|
1205
|
+
status: z.ZodLiteral<"available">;
|
|
1206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1207
|
+
trackerId: z.ZodString;
|
|
1208
|
+
status: z.ZodLiteral<"current">;
|
|
1209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1210
|
+
trackerId: z.ZodString;
|
|
1211
|
+
status: z.ZodLiteral<"unsupported">;
|
|
1212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1213
|
+
reason: z.ZodEnum<{
|
|
1214
|
+
subscriptionRequired: "subscriptionRequired";
|
|
1215
|
+
accountRestricted: "accountRestricted";
|
|
1216
|
+
temporarilyPaused: "temporarilyPaused";
|
|
1217
|
+
repeatedFailures: "repeatedFailures";
|
|
1218
|
+
locationRequired: "locationRequired";
|
|
1219
|
+
outsideSupportedArea: "outsideSupportedArea";
|
|
1220
|
+
installedVersionUnknown: "installedVersionUnknown";
|
|
1221
|
+
appUpdateRequired: "appUpdateRequired";
|
|
1222
|
+
}>;
|
|
1223
|
+
retryAfter: z.ZodNullable<z.ZodISODateTime>;
|
|
1224
|
+
trackerId: z.ZodString;
|
|
1225
|
+
status: z.ZodLiteral<"blocked">;
|
|
1226
|
+
}, z.core.$strip>], "status">;
|
|
975
1227
|
export declare const zCompleteTrackerFirmwareUpdateBody: z.ZodObject<{
|
|
976
1228
|
from: z.ZodString;
|
|
977
1229
|
version: z.ZodString;
|
|
@@ -1304,11 +1556,11 @@ export declare const zListSubscriptionsResponse: z.ZodObject<{
|
|
|
1304
1556
|
name: z.ZodString;
|
|
1305
1557
|
fallbackTier: z.ZodNullable<z.ZodInt>;
|
|
1306
1558
|
status: z.ZodEnum<{
|
|
1559
|
+
unknown: "unknown";
|
|
1307
1560
|
active: "active";
|
|
1308
1561
|
ending: "ending";
|
|
1309
1562
|
hold: "hold";
|
|
1310
1563
|
inactive: "inactive";
|
|
1311
|
-
unknown: "unknown";
|
|
1312
1564
|
}>;
|
|
1313
1565
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
1314
1566
|
quantity: z.ZodNullable<z.ZodInt>;
|
|
@@ -1329,11 +1581,11 @@ export declare const zSubscribeSubscriptionsResponse: z.ZodNullable<z.ZodObject<
|
|
|
1329
1581
|
name: z.ZodString;
|
|
1330
1582
|
fallbackTier: z.ZodNullable<z.ZodInt>;
|
|
1331
1583
|
status: z.ZodEnum<{
|
|
1584
|
+
unknown: "unknown";
|
|
1332
1585
|
active: "active";
|
|
1333
1586
|
ending: "ending";
|
|
1334
1587
|
hold: "hold";
|
|
1335
1588
|
inactive: "inactive";
|
|
1336
|
-
unknown: "unknown";
|
|
1337
1589
|
}>;
|
|
1338
1590
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
1339
1591
|
quantity: z.ZodNullable<z.ZodInt>;
|