@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.
- package/README.md +3 -1
- 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 +173 -19
- package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
- package/dist/admin/generated/sdk.gen.js +377 -125
- package/dist/admin/generated/sdk.gen.js.map +1 -1
- package/dist/admin/generated/types.gen.d.ts +1468 -431
- package/dist/admin/generated/types.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.d.ts +2726 -1638
- package/dist/admin/generated/zod.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.js +410 -270
- package/dist/admin/generated/zod.gen.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 +80 -45
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +192 -157
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +887 -453
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.d.ts +468 -286
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +188 -201
- package/dist/generated/zod.gen.js.map +1 -1
- package/dist/realtime/api-stream-error.d.ts +2 -1
- package/dist/realtime/api-stream-error.d.ts.map +1 -1
- package/dist/realtime/api-stream-error.js +8 -1
- package/dist/realtime/api-stream-error.js.map +1 -1
- package/dist/realtime/watch.d.ts.map +1 -1
- package/dist/realtime/watch.js +1 -1
- package/dist/realtime/watch.js.map +1 -1
- package/dist/transport.js +10 -1
- package/dist/transport.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/generated/index.ts +65 -7
- package/src/admin/generated/sdk.gen.ts +720 -300
- package/src/admin/generated/types.gen.ts +1646 -513
- package/src/admin/generated/zod.gen.ts +474 -286
- package/src/generated/index.ts +6 -2
- package/src/generated/sdk.gen.ts +408 -373
- package/src/generated/types.gen.ts +956 -516
- package/src/generated/zod.gen.ts +217 -231
- package/src/realtime/api-stream-error.ts +12 -1
- package/src/realtime/watch.ts +6 -1
- package/src/transport.ts +10 -1
|
@@ -9,7 +9,7 @@ export type AccountNotification = {
|
|
|
9
9
|
title: string;
|
|
10
10
|
body: string;
|
|
11
11
|
trackerId: null | string;
|
|
12
|
-
|
|
12
|
+
createdAt: string;
|
|
13
13
|
subscriptionId: null | string;
|
|
14
14
|
};
|
|
15
15
|
export type AccountPreferences = {
|
|
@@ -17,25 +17,26 @@ export type AccountPreferences = {
|
|
|
17
17
|
alarm: boolean;
|
|
18
18
|
timeSensitive: boolean;
|
|
19
19
|
pushReady: boolean;
|
|
20
|
-
devicePreferences:
|
|
20
|
+
devicePreferences: DevicePreferences;
|
|
21
21
|
};
|
|
22
22
|
export type BluetoothBatteryRequest = {
|
|
23
|
-
|
|
23
|
+
observedAt: string;
|
|
24
24
|
level: null | number;
|
|
25
25
|
isCharging: boolean;
|
|
26
26
|
};
|
|
27
27
|
export type BluetoothCommandReport = {
|
|
28
|
-
type:
|
|
28
|
+
type: BluetoothCommandType;
|
|
29
29
|
success: boolean;
|
|
30
30
|
};
|
|
31
|
+
export type BluetoothCommandType = "wakeUp" | "reset" | "factoryReset" | "powerDown";
|
|
31
32
|
export type BluetoothObservationBattery = {
|
|
32
33
|
level: null | number;
|
|
33
34
|
isCharging: boolean;
|
|
34
35
|
};
|
|
35
36
|
export type BluetoothObservationRequest = {
|
|
36
37
|
requestId: string;
|
|
37
|
-
type:
|
|
38
|
-
|
|
38
|
+
type: BluetoothObservationType;
|
|
39
|
+
observedAt: string;
|
|
39
40
|
latitude: number;
|
|
40
41
|
longitude: number;
|
|
41
42
|
accuracy: number;
|
|
@@ -52,6 +53,7 @@ export type BluetoothObservationResult = {
|
|
|
52
53
|
success: boolean;
|
|
53
54
|
observationId: string;
|
|
54
55
|
};
|
|
56
|
+
export type BluetoothObservationType = "BLE" | "CBT";
|
|
55
57
|
export type BluetoothReportingPolicy = {
|
|
56
58
|
pauseMs: number;
|
|
57
59
|
accuracy: number;
|
|
@@ -70,8 +72,10 @@ export type CompleteFirmwareRequest = {
|
|
|
70
72
|
from: string;
|
|
71
73
|
version: string;
|
|
72
74
|
};
|
|
73
|
-
export type
|
|
74
|
-
|
|
75
|
+
export type DevicePreferences = {
|
|
76
|
+
unit: string;
|
|
77
|
+
liquidGlass: boolean;
|
|
78
|
+
mapStyle: string;
|
|
75
79
|
};
|
|
76
80
|
export type HealthStatus = {
|
|
77
81
|
status: string;
|
|
@@ -81,15 +85,12 @@ export type HistoryPage = {
|
|
|
81
85
|
nextCursor: null | string;
|
|
82
86
|
};
|
|
83
87
|
export type IFormFile = Blob | File;
|
|
84
|
-
export type
|
|
85
|
-
unit: string;
|
|
86
|
-
liquidGlass: boolean;
|
|
87
|
-
mapStyle: string;
|
|
88
|
-
};
|
|
88
|
+
export type MobilePlatform = "ios" | "android";
|
|
89
89
|
export type NotificationPage = {
|
|
90
90
|
items: Array<AccountNotification>;
|
|
91
91
|
nextCursor: null | string;
|
|
92
92
|
};
|
|
93
|
+
export type ObservationSource = "INI" | "GPS" | "GSM" | "BLE" | "CBT" | "LTE" | "WIFI" | "GNSS";
|
|
93
94
|
export type PhotoUploadResult = {
|
|
94
95
|
id: string;
|
|
95
96
|
};
|
|
@@ -100,6 +101,20 @@ export type ProblemDetails = {
|
|
|
100
101
|
status?: null | number;
|
|
101
102
|
detail?: null | string;
|
|
102
103
|
instance?: null | string;
|
|
104
|
+
/**
|
|
105
|
+
* Stable machine-readable failure code. Use status for broad handling.
|
|
106
|
+
*/
|
|
107
|
+
code: string;
|
|
108
|
+
/**
|
|
109
|
+
* Request correlation identifier for support.
|
|
110
|
+
*/
|
|
111
|
+
traceId: string;
|
|
112
|
+
/**
|
|
113
|
+
* Field validation messages, when request validation fails.
|
|
114
|
+
*/
|
|
115
|
+
errors?: {
|
|
116
|
+
[key: string]: Array<string>;
|
|
117
|
+
};
|
|
103
118
|
};
|
|
104
119
|
export type RecordFirmwareAttemptRequest = {
|
|
105
120
|
attemptId: string;
|
|
@@ -111,8 +126,8 @@ export type RecordFirmwareAttemptResult = {
|
|
|
111
126
|
};
|
|
112
127
|
export type RegisterPushRegistrationRequest = {
|
|
113
128
|
token: string;
|
|
129
|
+
platform: MobilePlatform;
|
|
114
130
|
previousTokens?: null | Array<string>;
|
|
115
|
-
platform?: null | string;
|
|
116
131
|
};
|
|
117
132
|
export type RemovePushRegistrationRequest = {
|
|
118
133
|
tokens: Array<string>;
|
|
@@ -120,6 +135,9 @@ export type RemovePushRegistrationRequest = {
|
|
|
120
135
|
export type RemoveTrackerMembershipRequest = {
|
|
121
136
|
expectedLastMember: boolean;
|
|
122
137
|
};
|
|
138
|
+
export type RevokeTrackerInvitationRequest = {
|
|
139
|
+
accessCode: string;
|
|
140
|
+
};
|
|
123
141
|
export type SubmitTrackerTheftReportRequest = {
|
|
124
142
|
requestId: string;
|
|
125
143
|
phoneNumber: string;
|
|
@@ -141,13 +159,13 @@ export type SubscriptionPlan = {
|
|
|
141
159
|
available: number;
|
|
142
160
|
trackerIds: Array<string>;
|
|
143
161
|
managementUrl: null | string;
|
|
144
|
-
|
|
145
|
-
|
|
162
|
+
nextRenewalAt: null | string;
|
|
163
|
+
endsAt: null | string;
|
|
146
164
|
};
|
|
147
165
|
export type TrackerBattery = {
|
|
148
166
|
level: null | number;
|
|
149
167
|
isCharging: boolean;
|
|
150
|
-
|
|
168
|
+
observedAt: null | string;
|
|
151
169
|
};
|
|
152
170
|
export type TrackerBikeDetails = {
|
|
153
171
|
nickname: string;
|
|
@@ -167,7 +185,7 @@ export type TrackerBluetoothCredentials = {
|
|
|
167
185
|
rotatePin: boolean;
|
|
168
186
|
};
|
|
169
187
|
export type TrackerClaimabilityRequest = {
|
|
170
|
-
|
|
188
|
+
trackerIds: Array<string>;
|
|
171
189
|
};
|
|
172
190
|
export type TrackerFirmwarePlan = {
|
|
173
191
|
trackerId: string;
|
|
@@ -194,7 +212,7 @@ export type TrackerModeRequest = {
|
|
|
194
212
|
};
|
|
195
213
|
export type TrackerModeResult = {
|
|
196
214
|
success: boolean;
|
|
197
|
-
requestedMode:
|
|
215
|
+
requestedMode: TrackingMode;
|
|
198
216
|
};
|
|
199
217
|
export type TrackerPage = {
|
|
200
218
|
items: Array<TrackerSummary>;
|
|
@@ -205,7 +223,7 @@ export type TrackerPhoto = {
|
|
|
205
223
|
kind: string;
|
|
206
224
|
url: string;
|
|
207
225
|
thumbnailUrl: string;
|
|
208
|
-
|
|
226
|
+
createdAt: null | string;
|
|
209
227
|
};
|
|
210
228
|
export type TrackerPhotoList = {
|
|
211
229
|
items: Array<TrackerPhoto>;
|
|
@@ -214,8 +232,8 @@ export type TrackerPosition = {
|
|
|
214
232
|
id: string;
|
|
215
233
|
latitude: number;
|
|
216
234
|
longitude: number;
|
|
217
|
-
|
|
218
|
-
source:
|
|
235
|
+
observedAt: string;
|
|
236
|
+
source: ObservationSource;
|
|
219
237
|
accuracy: null | number;
|
|
220
238
|
};
|
|
221
239
|
export type TrackerPositionState = {
|
|
@@ -224,8 +242,8 @@ export type TrackerPositionState = {
|
|
|
224
242
|
};
|
|
225
243
|
export type TrackerSubscription = {
|
|
226
244
|
id: null | string;
|
|
227
|
-
status:
|
|
228
|
-
|
|
245
|
+
status: PlanStatus;
|
|
246
|
+
endsAt: null | string;
|
|
229
247
|
tier: null | number;
|
|
230
248
|
};
|
|
231
249
|
export type TrackerSummary = {
|
|
@@ -254,6 +272,7 @@ export type UpdateAccountPreferencesRequest = {
|
|
|
254
272
|
language?: null | string;
|
|
255
273
|
alarm?: null | boolean;
|
|
256
274
|
timeSensitive?: null | boolean;
|
|
275
|
+
pushEnabled?: null | boolean;
|
|
257
276
|
};
|
|
258
277
|
export type UpdateBluetoothPinRequest = {
|
|
259
278
|
pin: Array<number>;
|
|
@@ -277,13 +296,19 @@ export type GetHealthResponses = {
|
|
|
277
296
|
200: HealthStatus;
|
|
278
297
|
};
|
|
279
298
|
export type GetHealthResponse = GetHealthResponses[keyof GetHealthResponses];
|
|
280
|
-
export type
|
|
299
|
+
export type ListTrackersData = {
|
|
281
300
|
body?: never;
|
|
282
301
|
path?: never;
|
|
283
|
-
query?:
|
|
284
|
-
|
|
302
|
+
query?: {
|
|
303
|
+
cursor?: string;
|
|
304
|
+
/**
|
|
305
|
+
* Page size, from 1 to 100. Defaults to 50.
|
|
306
|
+
*/
|
|
307
|
+
limit?: number;
|
|
308
|
+
};
|
|
309
|
+
url: "/v1/trackers";
|
|
285
310
|
};
|
|
286
|
-
export type
|
|
311
|
+
export type ListTrackersErrors = {
|
|
287
312
|
/**
|
|
288
313
|
* Bad Request
|
|
289
314
|
*/
|
|
@@ -293,47 +318,43 @@ export type GetBluetoothReportingPolicyErrors = {
|
|
|
293
318
|
*/
|
|
294
319
|
401: ProblemDetails;
|
|
295
320
|
/**
|
|
296
|
-
*
|
|
297
|
-
*/
|
|
298
|
-
403: ProblemDetails;
|
|
299
|
-
/**
|
|
300
|
-
* Not Found
|
|
301
|
-
*/
|
|
302
|
-
404: ProblemDetails;
|
|
303
|
-
/**
|
|
304
|
-
* Conflict
|
|
321
|
+
* Payload Too Large
|
|
305
322
|
*/
|
|
306
|
-
|
|
323
|
+
413: ProblemDetails;
|
|
307
324
|
/**
|
|
308
325
|
* Too Many Requests
|
|
309
326
|
*/
|
|
310
327
|
429: ProblemDetails;
|
|
311
328
|
/**
|
|
312
|
-
*
|
|
329
|
+
* Internal Server Error
|
|
313
330
|
*/
|
|
314
|
-
|
|
331
|
+
500: ProblemDetails;
|
|
315
332
|
/**
|
|
316
333
|
* Service Unavailable
|
|
317
334
|
*/
|
|
318
335
|
503: ProblemDetails;
|
|
319
336
|
};
|
|
320
|
-
export type
|
|
321
|
-
export type
|
|
337
|
+
export type ListTrackersError = ListTrackersErrors[keyof ListTrackersErrors];
|
|
338
|
+
export type ListTrackersResponses = {
|
|
322
339
|
/**
|
|
323
340
|
* OK
|
|
324
341
|
*/
|
|
325
|
-
200:
|
|
342
|
+
200: TrackerPage;
|
|
326
343
|
};
|
|
327
|
-
export type
|
|
328
|
-
export type
|
|
329
|
-
body
|
|
330
|
-
path
|
|
331
|
-
|
|
344
|
+
export type ListTrackersResponse = ListTrackersResponses[keyof ListTrackersResponses];
|
|
345
|
+
export type SubscribeTrackersData = {
|
|
346
|
+
body?: never;
|
|
347
|
+
path?: never;
|
|
348
|
+
query?: {
|
|
349
|
+
cursor?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Page size, from 1 to 100. Defaults to 50.
|
|
352
|
+
*/
|
|
353
|
+
limit?: number;
|
|
332
354
|
};
|
|
333
|
-
|
|
334
|
-
url: "/v1/trackers/{trackerId}/subscription";
|
|
355
|
+
url: "/v1/trackers/stream";
|
|
335
356
|
};
|
|
336
|
-
export type
|
|
357
|
+
export type SubscribeTrackersErrors = {
|
|
337
358
|
/**
|
|
338
359
|
* Bad Request
|
|
339
360
|
*/
|
|
@@ -343,35 +364,39 @@ export type UnlinkTrackerSubscriptionErrors = {
|
|
|
343
364
|
*/
|
|
344
365
|
401: ProblemDetails;
|
|
345
366
|
/**
|
|
346
|
-
*
|
|
367
|
+
* Payload Too Large
|
|
347
368
|
*/
|
|
348
|
-
|
|
369
|
+
413: ProblemDetails;
|
|
349
370
|
/**
|
|
350
|
-
*
|
|
371
|
+
* Too Many Requests
|
|
351
372
|
*/
|
|
352
|
-
|
|
373
|
+
429: ProblemDetails;
|
|
374
|
+
/**
|
|
375
|
+
* Internal Server Error
|
|
376
|
+
*/
|
|
377
|
+
500: ProblemDetails;
|
|
353
378
|
/**
|
|
354
379
|
* Service Unavailable
|
|
355
380
|
*/
|
|
356
381
|
503: ProblemDetails;
|
|
357
382
|
};
|
|
358
|
-
export type
|
|
359
|
-
export type
|
|
383
|
+
export type SubscribeTrackersError = SubscribeTrackersErrors[keyof SubscribeTrackersErrors];
|
|
384
|
+
export type SubscribeTrackersResponses = {
|
|
360
385
|
/**
|
|
361
386
|
* OK
|
|
362
387
|
*/
|
|
363
|
-
200:
|
|
388
|
+
200: TrackerPage | null;
|
|
364
389
|
};
|
|
365
|
-
export type
|
|
366
|
-
export type
|
|
367
|
-
body
|
|
390
|
+
export type SubscribeTrackersResponse = SubscribeTrackersResponses[keyof SubscribeTrackersResponses];
|
|
391
|
+
export type GetTrackerData = {
|
|
392
|
+
body?: never;
|
|
368
393
|
path: {
|
|
369
394
|
trackerId: string;
|
|
370
395
|
};
|
|
371
396
|
query?: never;
|
|
372
|
-
url: "/v1/trackers/{trackerId}
|
|
397
|
+
url: "/v1/trackers/{trackerId}";
|
|
373
398
|
};
|
|
374
|
-
export type
|
|
399
|
+
export type GetTrackerErrors = {
|
|
375
400
|
/**
|
|
376
401
|
* Bad Request
|
|
377
402
|
*/
|
|
@@ -381,35 +406,43 @@ export type LinkTrackerSubscriptionErrors = {
|
|
|
381
406
|
*/
|
|
382
407
|
401: ProblemDetails;
|
|
383
408
|
/**
|
|
384
|
-
*
|
|
409
|
+
* Not Found
|
|
385
410
|
*/
|
|
386
|
-
|
|
411
|
+
404: ProblemDetails;
|
|
387
412
|
/**
|
|
388
|
-
*
|
|
413
|
+
* Payload Too Large
|
|
389
414
|
*/
|
|
390
|
-
|
|
415
|
+
413: ProblemDetails;
|
|
416
|
+
/**
|
|
417
|
+
* Too Many Requests
|
|
418
|
+
*/
|
|
419
|
+
429: ProblemDetails;
|
|
420
|
+
/**
|
|
421
|
+
* Internal Server Error
|
|
422
|
+
*/
|
|
423
|
+
500: ProblemDetails;
|
|
391
424
|
/**
|
|
392
425
|
* Service Unavailable
|
|
393
426
|
*/
|
|
394
427
|
503: ProblemDetails;
|
|
395
428
|
};
|
|
396
|
-
export type
|
|
397
|
-
export type
|
|
429
|
+
export type GetTrackerError = GetTrackerErrors[keyof GetTrackerErrors];
|
|
430
|
+
export type GetTrackerResponses = {
|
|
398
431
|
/**
|
|
399
432
|
* OK
|
|
400
433
|
*/
|
|
401
|
-
200:
|
|
434
|
+
200: TrackerSummary;
|
|
402
435
|
};
|
|
403
|
-
export type
|
|
404
|
-
export type
|
|
405
|
-
body
|
|
436
|
+
export type GetTrackerResponse = GetTrackerResponses[keyof GetTrackerResponses];
|
|
437
|
+
export type RequestTrackerModeData = {
|
|
438
|
+
body: TrackerModeRequest;
|
|
406
439
|
path: {
|
|
407
440
|
trackerId: string;
|
|
408
441
|
};
|
|
409
442
|
query?: never;
|
|
410
|
-
url: "/v1/trackers/{trackerId}/
|
|
443
|
+
url: "/v1/trackers/{trackerId}/mode-requests";
|
|
411
444
|
};
|
|
412
|
-
export type
|
|
445
|
+
export type RequestTrackerModeErrors = {
|
|
413
446
|
/**
|
|
414
447
|
* Bad Request
|
|
415
448
|
*/
|
|
@@ -418,44 +451,60 @@ export type ListTrackerPhotosErrors = {
|
|
|
418
451
|
* Unauthorized
|
|
419
452
|
*/
|
|
420
453
|
401: ProblemDetails;
|
|
454
|
+
/**
|
|
455
|
+
* Forbidden
|
|
456
|
+
*/
|
|
457
|
+
403: ProblemDetails;
|
|
421
458
|
/**
|
|
422
459
|
* Not Found
|
|
423
460
|
*/
|
|
424
461
|
404: ProblemDetails;
|
|
462
|
+
/**
|
|
463
|
+
* Conflict
|
|
464
|
+
*/
|
|
465
|
+
409: ProblemDetails;
|
|
466
|
+
/**
|
|
467
|
+
* Payload Too Large
|
|
468
|
+
*/
|
|
469
|
+
413: ProblemDetails;
|
|
470
|
+
/**
|
|
471
|
+
* Unsupported Media Type
|
|
472
|
+
*/
|
|
473
|
+
415: ProblemDetails;
|
|
474
|
+
/**
|
|
475
|
+
* Too Many Requests
|
|
476
|
+
*/
|
|
477
|
+
429: ProblemDetails;
|
|
425
478
|
/**
|
|
426
479
|
* Internal Server Error
|
|
427
480
|
*/
|
|
428
481
|
500: ProblemDetails;
|
|
482
|
+
/**
|
|
483
|
+
* Bad Gateway
|
|
484
|
+
*/
|
|
485
|
+
502: ProblemDetails;
|
|
429
486
|
/**
|
|
430
487
|
* Service Unavailable
|
|
431
488
|
*/
|
|
432
489
|
503: ProblemDetails;
|
|
433
490
|
};
|
|
434
|
-
export type
|
|
435
|
-
export type
|
|
491
|
+
export type RequestTrackerModeError = RequestTrackerModeErrors[keyof RequestTrackerModeErrors];
|
|
492
|
+
export type RequestTrackerModeResponses = {
|
|
436
493
|
/**
|
|
437
494
|
* OK
|
|
438
495
|
*/
|
|
439
|
-
200:
|
|
496
|
+
200: TrackerModeResult;
|
|
440
497
|
};
|
|
441
|
-
export type
|
|
442
|
-
export type
|
|
443
|
-
body:
|
|
444
|
-
file: IFormFile;
|
|
445
|
-
} & {
|
|
446
|
-
kind: string;
|
|
447
|
-
} & {
|
|
448
|
-
width: number;
|
|
449
|
-
} & {
|
|
450
|
-
height: number;
|
|
451
|
-
};
|
|
498
|
+
export type RequestTrackerModeResponse = RequestTrackerModeResponses[keyof RequestTrackerModeResponses];
|
|
499
|
+
export type UpdateTrackerBikeData = {
|
|
500
|
+
body: UpdateTrackerBikeRequest;
|
|
452
501
|
path: {
|
|
453
502
|
trackerId: string;
|
|
454
503
|
};
|
|
455
504
|
query?: never;
|
|
456
|
-
url: "/v1/trackers/{trackerId}/
|
|
505
|
+
url: "/v1/trackers/{trackerId}/bike";
|
|
457
506
|
};
|
|
458
|
-
export type
|
|
507
|
+
export type UpdateTrackerBikeErrors = {
|
|
459
508
|
/**
|
|
460
509
|
* Bad Request
|
|
461
510
|
*/
|
|
@@ -464,37 +513,60 @@ export type UploadTrackerPhotoErrors = {
|
|
|
464
513
|
* Unauthorized
|
|
465
514
|
*/
|
|
466
515
|
401: ProblemDetails;
|
|
516
|
+
/**
|
|
517
|
+
* Forbidden
|
|
518
|
+
*/
|
|
519
|
+
403: ProblemDetails;
|
|
467
520
|
/**
|
|
468
521
|
* Not Found
|
|
469
522
|
*/
|
|
470
523
|
404: ProblemDetails;
|
|
524
|
+
/**
|
|
525
|
+
* Conflict
|
|
526
|
+
*/
|
|
527
|
+
409: ProblemDetails;
|
|
471
528
|
/**
|
|
472
529
|
* Payload Too Large
|
|
473
530
|
*/
|
|
474
531
|
413: ProblemDetails;
|
|
532
|
+
/**
|
|
533
|
+
* Unsupported Media Type
|
|
534
|
+
*/
|
|
535
|
+
415: ProblemDetails;
|
|
536
|
+
/**
|
|
537
|
+
* Too Many Requests
|
|
538
|
+
*/
|
|
539
|
+
429: ProblemDetails;
|
|
540
|
+
/**
|
|
541
|
+
* Internal Server Error
|
|
542
|
+
*/
|
|
543
|
+
500: ProblemDetails;
|
|
544
|
+
/**
|
|
545
|
+
* Bad Gateway
|
|
546
|
+
*/
|
|
547
|
+
502: ProblemDetails;
|
|
475
548
|
/**
|
|
476
549
|
* Service Unavailable
|
|
477
550
|
*/
|
|
478
551
|
503: ProblemDetails;
|
|
479
552
|
};
|
|
480
|
-
export type
|
|
481
|
-
export type
|
|
553
|
+
export type UpdateTrackerBikeError = UpdateTrackerBikeErrors[keyof UpdateTrackerBikeErrors];
|
|
554
|
+
export type UpdateTrackerBikeResponses = {
|
|
482
555
|
/**
|
|
483
556
|
* OK
|
|
484
557
|
*/
|
|
485
|
-
200:
|
|
558
|
+
200: TrackerBikeDetails;
|
|
486
559
|
};
|
|
487
|
-
export type
|
|
488
|
-
export type
|
|
489
|
-
body
|
|
560
|
+
export type UpdateTrackerBikeResponse = UpdateTrackerBikeResponses[keyof UpdateTrackerBikeResponses];
|
|
561
|
+
export type SubmitTrackerTheftReportData = {
|
|
562
|
+
body: SubmitTrackerTheftReportRequest;
|
|
490
563
|
path: {
|
|
491
564
|
trackerId: string;
|
|
492
|
-
photoId: string;
|
|
493
565
|
};
|
|
494
566
|
query?: never;
|
|
495
|
-
url: "/v1/trackers/{trackerId}/
|
|
567
|
+
url: "/v1/trackers/{trackerId}/theft-reports";
|
|
496
568
|
};
|
|
497
|
-
export type
|
|
569
|
+
export type SubmitTrackerTheftReportErrors = {
|
|
498
570
|
/**
|
|
499
571
|
* Bad Request
|
|
500
572
|
*/
|
|
@@ -503,74 +575,58 @@ export type DeleteTrackerPhotoErrors = {
|
|
|
503
575
|
* Unauthorized
|
|
504
576
|
*/
|
|
505
577
|
401: ProblemDetails;
|
|
578
|
+
/**
|
|
579
|
+
* Forbidden
|
|
580
|
+
*/
|
|
581
|
+
403: ProblemDetails;
|
|
506
582
|
/**
|
|
507
583
|
* Not Found
|
|
508
584
|
*/
|
|
509
585
|
404: ProblemDetails;
|
|
510
586
|
/**
|
|
511
|
-
*
|
|
587
|
+
* Conflict
|
|
512
588
|
*/
|
|
513
|
-
|
|
514
|
-
};
|
|
515
|
-
export type DeleteTrackerPhotoError = DeleteTrackerPhotoErrors[keyof DeleteTrackerPhotoErrors];
|
|
516
|
-
export type DeleteTrackerPhotoResponses = {
|
|
589
|
+
409: ProblemDetails;
|
|
517
590
|
/**
|
|
518
|
-
*
|
|
591
|
+
* Payload Too Large
|
|
519
592
|
*/
|
|
520
|
-
|
|
521
|
-
};
|
|
522
|
-
export type DeleteTrackerPhotoResponse = DeleteTrackerPhotoResponses[keyof DeleteTrackerPhotoResponses];
|
|
523
|
-
export type ListTrackersData = {
|
|
524
|
-
body?: never;
|
|
525
|
-
path?: never;
|
|
526
|
-
query?: {
|
|
527
|
-
cursor?: string;
|
|
528
|
-
/**
|
|
529
|
-
* Page size, from 1 to 100. Defaults to 50.
|
|
530
|
-
*/
|
|
531
|
-
limit?: number;
|
|
532
|
-
};
|
|
533
|
-
url: "/v1/trackers";
|
|
534
|
-
};
|
|
535
|
-
export type ListTrackersErrors = {
|
|
593
|
+
413: ProblemDetails;
|
|
536
594
|
/**
|
|
537
|
-
*
|
|
595
|
+
* Unsupported Media Type
|
|
538
596
|
*/
|
|
539
|
-
|
|
597
|
+
415: ProblemDetails;
|
|
540
598
|
/**
|
|
541
|
-
*
|
|
599
|
+
* Too Many Requests
|
|
542
600
|
*/
|
|
543
|
-
|
|
601
|
+
429: ProblemDetails;
|
|
544
602
|
/**
|
|
545
603
|
* Internal Server Error
|
|
546
604
|
*/
|
|
547
605
|
500: ProblemDetails;
|
|
548
606
|
/**
|
|
549
|
-
*
|
|
607
|
+
* Bad Gateway
|
|
550
608
|
*/
|
|
551
|
-
|
|
609
|
+
502: ProblemDetails;
|
|
610
|
+
/**
|
|
611
|
+
* Service Unavailable
|
|
612
|
+
*/
|
|
613
|
+
503: ProblemDetails;
|
|
552
614
|
};
|
|
553
|
-
export type
|
|
554
|
-
export type
|
|
615
|
+
export type SubmitTrackerTheftReportError = SubmitTrackerTheftReportErrors[keyof SubmitTrackerTheftReportErrors];
|
|
616
|
+
export type SubmitTrackerTheftReportResponses = {
|
|
555
617
|
/**
|
|
556
618
|
* OK
|
|
557
619
|
*/
|
|
558
|
-
200:
|
|
620
|
+
200: TrackerTheftReportResult;
|
|
559
621
|
};
|
|
560
|
-
export type
|
|
561
|
-
export type
|
|
562
|
-
body
|
|
622
|
+
export type SubmitTrackerTheftReportResponse = SubmitTrackerTheftReportResponses[keyof SubmitTrackerTheftReportResponses];
|
|
623
|
+
export type CheckTrackerClaimabilityData = {
|
|
624
|
+
body: TrackerClaimabilityRequest;
|
|
563
625
|
path?: never;
|
|
564
|
-
query?:
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Page size, from 1 to 100. Defaults to 50.
|
|
568
|
-
*/
|
|
569
|
-
limit?: number;
|
|
570
|
-
};
|
|
571
|
-
url: "/v1/trackers/stream";
|
|
626
|
+
query?: never;
|
|
627
|
+
url: "/v1/trackers/claimability";
|
|
572
628
|
};
|
|
573
|
-
export type
|
|
629
|
+
export type CheckTrackerClaimabilityErrors = {
|
|
574
630
|
/**
|
|
575
631
|
* Bad Request
|
|
576
632
|
*/
|
|
@@ -579,32 +635,62 @@ export type SubscribeTrackersErrors = {
|
|
|
579
635
|
* Unauthorized
|
|
580
636
|
*/
|
|
581
637
|
401: ProblemDetails;
|
|
638
|
+
/**
|
|
639
|
+
* Forbidden
|
|
640
|
+
*/
|
|
641
|
+
403: ProblemDetails;
|
|
642
|
+
/**
|
|
643
|
+
* Not Found
|
|
644
|
+
*/
|
|
645
|
+
404: ProblemDetails;
|
|
646
|
+
/**
|
|
647
|
+
* Conflict
|
|
648
|
+
*/
|
|
649
|
+
409: ProblemDetails;
|
|
650
|
+
/**
|
|
651
|
+
* Payload Too Large
|
|
652
|
+
*/
|
|
653
|
+
413: ProblemDetails;
|
|
654
|
+
/**
|
|
655
|
+
* Unsupported Media Type
|
|
656
|
+
*/
|
|
657
|
+
415: ProblemDetails;
|
|
658
|
+
/**
|
|
659
|
+
* Too Many Requests
|
|
660
|
+
*/
|
|
661
|
+
429: ProblemDetails;
|
|
582
662
|
/**
|
|
583
663
|
* Internal Server Error
|
|
584
664
|
*/
|
|
585
665
|
500: ProblemDetails;
|
|
666
|
+
/**
|
|
667
|
+
* Bad Gateway
|
|
668
|
+
*/
|
|
669
|
+
502: ProblemDetails;
|
|
586
670
|
/**
|
|
587
671
|
* Service Unavailable
|
|
588
672
|
*/
|
|
589
673
|
503: ProblemDetails;
|
|
590
674
|
};
|
|
591
|
-
export type
|
|
592
|
-
export type
|
|
675
|
+
export type CheckTrackerClaimabilityError = CheckTrackerClaimabilityErrors[keyof CheckTrackerClaimabilityErrors];
|
|
676
|
+
export type CheckTrackerClaimabilityResponses = {
|
|
593
677
|
/**
|
|
594
678
|
* OK
|
|
595
679
|
*/
|
|
596
|
-
200:
|
|
680
|
+
200: {
|
|
681
|
+
[key: string]: boolean;
|
|
682
|
+
};
|
|
597
683
|
};
|
|
598
|
-
export type
|
|
599
|
-
export type
|
|
600
|
-
body
|
|
684
|
+
export type CheckTrackerClaimabilityResponse = CheckTrackerClaimabilityResponses[keyof CheckTrackerClaimabilityResponses];
|
|
685
|
+
export type ClaimTrackerOwnershipData = {
|
|
686
|
+
body: ClaimTrackerOwnershipRequest;
|
|
601
687
|
path: {
|
|
602
688
|
trackerId: string;
|
|
603
689
|
};
|
|
604
690
|
query?: never;
|
|
605
|
-
url: "/v1/trackers/{trackerId}";
|
|
691
|
+
url: "/v1/trackers/{trackerId}/ownership-claims";
|
|
606
692
|
};
|
|
607
|
-
export type
|
|
693
|
+
export type ClaimTrackerOwnershipErrors = {
|
|
608
694
|
/**
|
|
609
695
|
* Bad Request
|
|
610
696
|
*/
|
|
@@ -613,36 +699,60 @@ export type GetTrackerErrors = {
|
|
|
613
699
|
* Unauthorized
|
|
614
700
|
*/
|
|
615
701
|
401: ProblemDetails;
|
|
702
|
+
/**
|
|
703
|
+
* Forbidden
|
|
704
|
+
*/
|
|
705
|
+
403: ProblemDetails;
|
|
616
706
|
/**
|
|
617
707
|
* Not Found
|
|
618
708
|
*/
|
|
619
709
|
404: ProblemDetails;
|
|
710
|
+
/**
|
|
711
|
+
* Conflict
|
|
712
|
+
*/
|
|
713
|
+
409: ProblemDetails;
|
|
714
|
+
/**
|
|
715
|
+
* Payload Too Large
|
|
716
|
+
*/
|
|
717
|
+
413: ProblemDetails;
|
|
718
|
+
/**
|
|
719
|
+
* Unsupported Media Type
|
|
720
|
+
*/
|
|
721
|
+
415: ProblemDetails;
|
|
722
|
+
/**
|
|
723
|
+
* Too Many Requests
|
|
724
|
+
*/
|
|
725
|
+
429: ProblemDetails;
|
|
620
726
|
/**
|
|
621
727
|
* Internal Server Error
|
|
622
728
|
*/
|
|
623
729
|
500: ProblemDetails;
|
|
730
|
+
/**
|
|
731
|
+
* Bad Gateway
|
|
732
|
+
*/
|
|
733
|
+
502: ProblemDetails;
|
|
624
734
|
/**
|
|
625
735
|
* Service Unavailable
|
|
626
736
|
*/
|
|
627
737
|
503: ProblemDetails;
|
|
628
738
|
};
|
|
629
|
-
export type
|
|
630
|
-
export type
|
|
739
|
+
export type ClaimTrackerOwnershipError = ClaimTrackerOwnershipErrors[keyof ClaimTrackerOwnershipErrors];
|
|
740
|
+
export type ClaimTrackerOwnershipResponses = {
|
|
631
741
|
/**
|
|
632
742
|
* OK
|
|
633
743
|
*/
|
|
634
|
-
200:
|
|
744
|
+
200: CommandSuccess;
|
|
635
745
|
};
|
|
636
|
-
export type
|
|
637
|
-
export type
|
|
638
|
-
body
|
|
746
|
+
export type ClaimTrackerOwnershipResponse = ClaimTrackerOwnershipResponses[keyof ClaimTrackerOwnershipResponses];
|
|
747
|
+
export type ClaimTrackerGuestAccessData = {
|
|
748
|
+
body: ClaimTrackerGuestAccessRequest;
|
|
639
749
|
path: {
|
|
640
750
|
trackerId: string;
|
|
641
751
|
};
|
|
642
752
|
query?: never;
|
|
643
|
-
url: "/v1/trackers/{trackerId}/
|
|
753
|
+
url: "/v1/trackers/{trackerId}/guest-access-claims";
|
|
644
754
|
};
|
|
645
|
-
export type
|
|
755
|
+
export type ClaimTrackerGuestAccessErrors = {
|
|
646
756
|
/**
|
|
647
757
|
* Bad Request
|
|
648
758
|
*/
|
|
@@ -651,36 +761,60 @@ export type GetTrackerPositionsErrors = {
|
|
|
651
761
|
* Unauthorized
|
|
652
762
|
*/
|
|
653
763
|
401: ProblemDetails;
|
|
764
|
+
/**
|
|
765
|
+
* Forbidden
|
|
766
|
+
*/
|
|
767
|
+
403: ProblemDetails;
|
|
654
768
|
/**
|
|
655
769
|
* Not Found
|
|
656
770
|
*/
|
|
657
771
|
404: ProblemDetails;
|
|
772
|
+
/**
|
|
773
|
+
* Conflict
|
|
774
|
+
*/
|
|
775
|
+
409: ProblemDetails;
|
|
776
|
+
/**
|
|
777
|
+
* Payload Too Large
|
|
778
|
+
*/
|
|
779
|
+
413: ProblemDetails;
|
|
780
|
+
/**
|
|
781
|
+
* Unsupported Media Type
|
|
782
|
+
*/
|
|
783
|
+
415: ProblemDetails;
|
|
784
|
+
/**
|
|
785
|
+
* Too Many Requests
|
|
786
|
+
*/
|
|
787
|
+
429: ProblemDetails;
|
|
658
788
|
/**
|
|
659
789
|
* Internal Server Error
|
|
660
790
|
*/
|
|
661
791
|
500: ProblemDetails;
|
|
792
|
+
/**
|
|
793
|
+
* Bad Gateway
|
|
794
|
+
*/
|
|
795
|
+
502: ProblemDetails;
|
|
662
796
|
/**
|
|
663
797
|
* Service Unavailable
|
|
664
798
|
*/
|
|
665
799
|
503: ProblemDetails;
|
|
666
800
|
};
|
|
667
|
-
export type
|
|
668
|
-
export type
|
|
801
|
+
export type ClaimTrackerGuestAccessError = ClaimTrackerGuestAccessErrors[keyof ClaimTrackerGuestAccessErrors];
|
|
802
|
+
export type ClaimTrackerGuestAccessResponses = {
|
|
669
803
|
/**
|
|
670
804
|
* OK
|
|
671
805
|
*/
|
|
672
|
-
200:
|
|
806
|
+
200: CommandSuccess;
|
|
673
807
|
};
|
|
674
|
-
export type
|
|
675
|
-
export type
|
|
808
|
+
export type ClaimTrackerGuestAccessResponse = ClaimTrackerGuestAccessResponses[keyof ClaimTrackerGuestAccessResponses];
|
|
809
|
+
export type CreateTrackerInvitationData = {
|
|
676
810
|
body?: never;
|
|
677
811
|
path: {
|
|
678
812
|
trackerId: string;
|
|
679
813
|
};
|
|
680
814
|
query?: never;
|
|
681
|
-
url: "/v1/trackers/{trackerId}/
|
|
815
|
+
url: "/v1/trackers/{trackerId}/invitations";
|
|
682
816
|
};
|
|
683
|
-
export type
|
|
817
|
+
export type CreateTrackerInvitationErrors = {
|
|
684
818
|
/**
|
|
685
819
|
* Bad Request
|
|
686
820
|
*/
|
|
@@ -689,36 +823,56 @@ export type SubscribeTrackerPositionsErrors = {
|
|
|
689
823
|
* Unauthorized
|
|
690
824
|
*/
|
|
691
825
|
401: ProblemDetails;
|
|
826
|
+
/**
|
|
827
|
+
* Forbidden
|
|
828
|
+
*/
|
|
829
|
+
403: ProblemDetails;
|
|
692
830
|
/**
|
|
693
831
|
* Not Found
|
|
694
832
|
*/
|
|
695
833
|
404: ProblemDetails;
|
|
834
|
+
/**
|
|
835
|
+
* Conflict
|
|
836
|
+
*/
|
|
837
|
+
409: ProblemDetails;
|
|
838
|
+
/**
|
|
839
|
+
* Payload Too Large
|
|
840
|
+
*/
|
|
841
|
+
413: ProblemDetails;
|
|
842
|
+
/**
|
|
843
|
+
* Too Many Requests
|
|
844
|
+
*/
|
|
845
|
+
429: ProblemDetails;
|
|
696
846
|
/**
|
|
697
847
|
* Internal Server Error
|
|
698
848
|
*/
|
|
699
849
|
500: ProblemDetails;
|
|
850
|
+
/**
|
|
851
|
+
* Bad Gateway
|
|
852
|
+
*/
|
|
853
|
+
502: ProblemDetails;
|
|
700
854
|
/**
|
|
701
855
|
* Service Unavailable
|
|
702
856
|
*/
|
|
703
857
|
503: ProblemDetails;
|
|
704
858
|
};
|
|
705
|
-
export type
|
|
706
|
-
export type
|
|
859
|
+
export type CreateTrackerInvitationError = CreateTrackerInvitationErrors[keyof CreateTrackerInvitationErrors];
|
|
860
|
+
export type CreateTrackerInvitationResponses = {
|
|
707
861
|
/**
|
|
708
862
|
* OK
|
|
709
863
|
*/
|
|
710
|
-
200:
|
|
864
|
+
200: TrackerInvitation;
|
|
711
865
|
};
|
|
712
|
-
export type
|
|
713
|
-
export type
|
|
714
|
-
body
|
|
866
|
+
export type CreateTrackerInvitationResponse = CreateTrackerInvitationResponses[keyof CreateTrackerInvitationResponses];
|
|
867
|
+
export type RevokeTrackerInvitationData = {
|
|
868
|
+
body: RevokeTrackerInvitationRequest;
|
|
715
869
|
path: {
|
|
716
870
|
trackerId: string;
|
|
717
871
|
};
|
|
718
872
|
query?: never;
|
|
719
|
-
url: "/v1/trackers/{trackerId}/
|
|
873
|
+
url: "/v1/trackers/{trackerId}/invitation-revocations";
|
|
720
874
|
};
|
|
721
|
-
export type
|
|
875
|
+
export type RevokeTrackerInvitationErrors = {
|
|
722
876
|
/**
|
|
723
877
|
* Bad Request
|
|
724
878
|
*/
|
|
@@ -727,36 +881,60 @@ export type SubscribeTrackerPhotosErrors = {
|
|
|
727
881
|
* Unauthorized
|
|
728
882
|
*/
|
|
729
883
|
401: ProblemDetails;
|
|
884
|
+
/**
|
|
885
|
+
* Forbidden
|
|
886
|
+
*/
|
|
887
|
+
403: ProblemDetails;
|
|
730
888
|
/**
|
|
731
889
|
* Not Found
|
|
732
890
|
*/
|
|
733
891
|
404: ProblemDetails;
|
|
892
|
+
/**
|
|
893
|
+
* Conflict
|
|
894
|
+
*/
|
|
895
|
+
409: ProblemDetails;
|
|
896
|
+
/**
|
|
897
|
+
* Payload Too Large
|
|
898
|
+
*/
|
|
899
|
+
413: ProblemDetails;
|
|
900
|
+
/**
|
|
901
|
+
* Unsupported Media Type
|
|
902
|
+
*/
|
|
903
|
+
415: ProblemDetails;
|
|
904
|
+
/**
|
|
905
|
+
* Too Many Requests
|
|
906
|
+
*/
|
|
907
|
+
429: ProblemDetails;
|
|
734
908
|
/**
|
|
735
909
|
* Internal Server Error
|
|
736
910
|
*/
|
|
737
911
|
500: ProblemDetails;
|
|
912
|
+
/**
|
|
913
|
+
* Bad Gateway
|
|
914
|
+
*/
|
|
915
|
+
502: ProblemDetails;
|
|
738
916
|
/**
|
|
739
917
|
* Service Unavailable
|
|
740
918
|
*/
|
|
741
919
|
503: ProblemDetails;
|
|
742
920
|
};
|
|
743
|
-
export type
|
|
744
|
-
export type
|
|
921
|
+
export type RevokeTrackerInvitationError = RevokeTrackerInvitationErrors[keyof RevokeTrackerInvitationErrors];
|
|
922
|
+
export type RevokeTrackerInvitationResponses = {
|
|
745
923
|
/**
|
|
746
924
|
* OK
|
|
747
925
|
*/
|
|
748
|
-
200:
|
|
926
|
+
200: CommandSuccess;
|
|
749
927
|
};
|
|
750
|
-
export type
|
|
751
|
-
export type
|
|
752
|
-
body:
|
|
928
|
+
export type RevokeTrackerInvitationResponse = RevokeTrackerInvitationResponses[keyof RevokeTrackerInvitationResponses];
|
|
929
|
+
export type RemoveTrackerMembershipData = {
|
|
930
|
+
body: RemoveTrackerMembershipRequest;
|
|
753
931
|
path: {
|
|
754
932
|
trackerId: string;
|
|
755
933
|
};
|
|
756
934
|
query?: never;
|
|
757
|
-
url: "/v1/trackers/{trackerId}/
|
|
935
|
+
url: "/v1/trackers/{trackerId}/membership-removals";
|
|
758
936
|
};
|
|
759
|
-
export type
|
|
937
|
+
export type RemoveTrackerMembershipErrors = {
|
|
760
938
|
/**
|
|
761
939
|
* Bad Request
|
|
762
940
|
*/
|
|
@@ -777,10 +955,22 @@ export type RequestTrackerModeErrors = {
|
|
|
777
955
|
* Conflict
|
|
778
956
|
*/
|
|
779
957
|
409: ProblemDetails;
|
|
958
|
+
/**
|
|
959
|
+
* Payload Too Large
|
|
960
|
+
*/
|
|
961
|
+
413: ProblemDetails;
|
|
962
|
+
/**
|
|
963
|
+
* Unsupported Media Type
|
|
964
|
+
*/
|
|
965
|
+
415: ProblemDetails;
|
|
780
966
|
/**
|
|
781
967
|
* Too Many Requests
|
|
782
968
|
*/
|
|
783
969
|
429: ProblemDetails;
|
|
970
|
+
/**
|
|
971
|
+
* Internal Server Error
|
|
972
|
+
*/
|
|
973
|
+
500: ProblemDetails;
|
|
784
974
|
/**
|
|
785
975
|
* Bad Gateway
|
|
786
976
|
*/
|
|
@@ -790,21 +980,23 @@ export type RequestTrackerModeErrors = {
|
|
|
790
980
|
*/
|
|
791
981
|
503: ProblemDetails;
|
|
792
982
|
};
|
|
793
|
-
export type
|
|
794
|
-
export type
|
|
983
|
+
export type RemoveTrackerMembershipError = RemoveTrackerMembershipErrors[keyof RemoveTrackerMembershipErrors];
|
|
984
|
+
export type RemoveTrackerMembershipResponses = {
|
|
795
985
|
/**
|
|
796
986
|
* OK
|
|
797
987
|
*/
|
|
798
|
-
200:
|
|
988
|
+
200: CommandSuccess;
|
|
799
989
|
};
|
|
800
|
-
export type
|
|
801
|
-
export type
|
|
802
|
-
body
|
|
803
|
-
path
|
|
990
|
+
export type RemoveTrackerMembershipResponse = RemoveTrackerMembershipResponses[keyof RemoveTrackerMembershipResponses];
|
|
991
|
+
export type GetTrackerBluetoothCredentialsData = {
|
|
992
|
+
body?: never;
|
|
993
|
+
path: {
|
|
994
|
+
trackerId: string;
|
|
995
|
+
};
|
|
804
996
|
query?: never;
|
|
805
|
-
url: "/v1/trackers/
|
|
997
|
+
url: "/v1/trackers/{trackerId}/bluetooth/credentials";
|
|
806
998
|
};
|
|
807
|
-
export type
|
|
999
|
+
export type GetTrackerBluetoothCredentialsErrors = {
|
|
808
1000
|
/**
|
|
809
1001
|
* Bad Request
|
|
810
1002
|
*/
|
|
@@ -825,10 +1017,18 @@ export type CheckTrackerClaimabilityErrors = {
|
|
|
825
1017
|
* Conflict
|
|
826
1018
|
*/
|
|
827
1019
|
409: ProblemDetails;
|
|
1020
|
+
/**
|
|
1021
|
+
* Payload Too Large
|
|
1022
|
+
*/
|
|
1023
|
+
413: ProblemDetails;
|
|
828
1024
|
/**
|
|
829
1025
|
* Too Many Requests
|
|
830
1026
|
*/
|
|
831
1027
|
429: ProblemDetails;
|
|
1028
|
+
/**
|
|
1029
|
+
* Internal Server Error
|
|
1030
|
+
*/
|
|
1031
|
+
500: ProblemDetails;
|
|
832
1032
|
/**
|
|
833
1033
|
* Bad Gateway
|
|
834
1034
|
*/
|
|
@@ -838,25 +1038,85 @@ export type CheckTrackerClaimabilityErrors = {
|
|
|
838
1038
|
*/
|
|
839
1039
|
503: ProblemDetails;
|
|
840
1040
|
};
|
|
841
|
-
export type
|
|
842
|
-
export type
|
|
1041
|
+
export type GetTrackerBluetoothCredentialsError = GetTrackerBluetoothCredentialsErrors[keyof GetTrackerBluetoothCredentialsErrors];
|
|
1042
|
+
export type GetTrackerBluetoothCredentialsResponses = {
|
|
843
1043
|
/**
|
|
844
1044
|
* OK
|
|
845
1045
|
*/
|
|
846
|
-
200:
|
|
847
|
-
|
|
1046
|
+
200: TrackerBluetoothCredentials;
|
|
1047
|
+
};
|
|
1048
|
+
export type GetTrackerBluetoothCredentialsResponse = GetTrackerBluetoothCredentialsResponses[keyof GetTrackerBluetoothCredentialsResponses];
|
|
1049
|
+
export type UpdateTrackerBluetoothPinData = {
|
|
1050
|
+
body: UpdateBluetoothPinRequest;
|
|
1051
|
+
path: {
|
|
1052
|
+
trackerId: string;
|
|
848
1053
|
};
|
|
1054
|
+
query?: never;
|
|
1055
|
+
url: "/v1/trackers/{trackerId}/bluetooth/pin";
|
|
849
1056
|
};
|
|
850
|
-
export type
|
|
851
|
-
|
|
852
|
-
|
|
1057
|
+
export type UpdateTrackerBluetoothPinErrors = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Bad Request
|
|
1060
|
+
*/
|
|
1061
|
+
400: ProblemDetails;
|
|
1062
|
+
/**
|
|
1063
|
+
* Unauthorized
|
|
1064
|
+
*/
|
|
1065
|
+
401: ProblemDetails;
|
|
1066
|
+
/**
|
|
1067
|
+
* Forbidden
|
|
1068
|
+
*/
|
|
1069
|
+
403: ProblemDetails;
|
|
1070
|
+
/**
|
|
1071
|
+
* Not Found
|
|
1072
|
+
*/
|
|
1073
|
+
404: ProblemDetails;
|
|
1074
|
+
/**
|
|
1075
|
+
* Conflict
|
|
1076
|
+
*/
|
|
1077
|
+
409: ProblemDetails;
|
|
1078
|
+
/**
|
|
1079
|
+
* Payload Too Large
|
|
1080
|
+
*/
|
|
1081
|
+
413: ProblemDetails;
|
|
1082
|
+
/**
|
|
1083
|
+
* Unsupported Media Type
|
|
1084
|
+
*/
|
|
1085
|
+
415: ProblemDetails;
|
|
1086
|
+
/**
|
|
1087
|
+
* Too Many Requests
|
|
1088
|
+
*/
|
|
1089
|
+
429: ProblemDetails;
|
|
1090
|
+
/**
|
|
1091
|
+
* Internal Server Error
|
|
1092
|
+
*/
|
|
1093
|
+
500: ProblemDetails;
|
|
1094
|
+
/**
|
|
1095
|
+
* Bad Gateway
|
|
1096
|
+
*/
|
|
1097
|
+
502: ProblemDetails;
|
|
1098
|
+
/**
|
|
1099
|
+
* Service Unavailable
|
|
1100
|
+
*/
|
|
1101
|
+
503: ProblemDetails;
|
|
1102
|
+
};
|
|
1103
|
+
export type UpdateTrackerBluetoothPinError = UpdateTrackerBluetoothPinErrors[keyof UpdateTrackerBluetoothPinErrors];
|
|
1104
|
+
export type UpdateTrackerBluetoothPinResponses = {
|
|
1105
|
+
/**
|
|
1106
|
+
* OK
|
|
1107
|
+
*/
|
|
1108
|
+
200: CommandSuccess;
|
|
1109
|
+
};
|
|
1110
|
+
export type UpdateTrackerBluetoothPinResponse = UpdateTrackerBluetoothPinResponses[keyof UpdateTrackerBluetoothPinResponses];
|
|
1111
|
+
export type ReportTrackerBluetoothBatteryData = {
|
|
1112
|
+
body: BluetoothBatteryRequest;
|
|
853
1113
|
path: {
|
|
854
1114
|
trackerId: string;
|
|
855
1115
|
};
|
|
856
1116
|
query?: never;
|
|
857
|
-
url: "/v1/trackers/{trackerId}/
|
|
1117
|
+
url: "/v1/trackers/{trackerId}/bluetooth/battery-observations";
|
|
858
1118
|
};
|
|
859
|
-
export type
|
|
1119
|
+
export type ReportTrackerBluetoothBatteryErrors = {
|
|
860
1120
|
/**
|
|
861
1121
|
* Bad Request
|
|
862
1122
|
*/
|
|
@@ -877,10 +1137,22 @@ export type ClaimTrackerOwnershipErrors = {
|
|
|
877
1137
|
* Conflict
|
|
878
1138
|
*/
|
|
879
1139
|
409: ProblemDetails;
|
|
1140
|
+
/**
|
|
1141
|
+
* Payload Too Large
|
|
1142
|
+
*/
|
|
1143
|
+
413: ProblemDetails;
|
|
1144
|
+
/**
|
|
1145
|
+
* Unsupported Media Type
|
|
1146
|
+
*/
|
|
1147
|
+
415: ProblemDetails;
|
|
880
1148
|
/**
|
|
881
1149
|
* Too Many Requests
|
|
882
1150
|
*/
|
|
883
1151
|
429: ProblemDetails;
|
|
1152
|
+
/**
|
|
1153
|
+
* Internal Server Error
|
|
1154
|
+
*/
|
|
1155
|
+
500: ProblemDetails;
|
|
884
1156
|
/**
|
|
885
1157
|
* Bad Gateway
|
|
886
1158
|
*/
|
|
@@ -890,23 +1162,23 @@ export type ClaimTrackerOwnershipErrors = {
|
|
|
890
1162
|
*/
|
|
891
1163
|
503: ProblemDetails;
|
|
892
1164
|
};
|
|
893
|
-
export type
|
|
894
|
-
export type
|
|
1165
|
+
export type ReportTrackerBluetoothBatteryError = ReportTrackerBluetoothBatteryErrors[keyof ReportTrackerBluetoothBatteryErrors];
|
|
1166
|
+
export type ReportTrackerBluetoothBatteryResponses = {
|
|
895
1167
|
/**
|
|
896
1168
|
* OK
|
|
897
1169
|
*/
|
|
898
1170
|
200: CommandSuccess;
|
|
899
1171
|
};
|
|
900
|
-
export type
|
|
901
|
-
export type
|
|
902
|
-
body:
|
|
1172
|
+
export type ReportTrackerBluetoothBatteryResponse = ReportTrackerBluetoothBatteryResponses[keyof ReportTrackerBluetoothBatteryResponses];
|
|
1173
|
+
export type ReportTrackerBluetoothCommandData = {
|
|
1174
|
+
body: BluetoothCommandReport;
|
|
903
1175
|
path: {
|
|
904
1176
|
trackerId: string;
|
|
905
1177
|
};
|
|
906
1178
|
query?: never;
|
|
907
|
-
url: "/v1/trackers/{trackerId}/
|
|
1179
|
+
url: "/v1/trackers/{trackerId}/bluetooth/command-results";
|
|
908
1180
|
};
|
|
909
|
-
export type
|
|
1181
|
+
export type ReportTrackerBluetoothCommandErrors = {
|
|
910
1182
|
/**
|
|
911
1183
|
* Bad Request
|
|
912
1184
|
*/
|
|
@@ -927,10 +1199,22 @@ export type ClaimTrackerGuestAccessErrors = {
|
|
|
927
1199
|
* Conflict
|
|
928
1200
|
*/
|
|
929
1201
|
409: ProblemDetails;
|
|
1202
|
+
/**
|
|
1203
|
+
* Payload Too Large
|
|
1204
|
+
*/
|
|
1205
|
+
413: ProblemDetails;
|
|
1206
|
+
/**
|
|
1207
|
+
* Unsupported Media Type
|
|
1208
|
+
*/
|
|
1209
|
+
415: ProblemDetails;
|
|
930
1210
|
/**
|
|
931
1211
|
* Too Many Requests
|
|
932
1212
|
*/
|
|
933
1213
|
429: ProblemDetails;
|
|
1214
|
+
/**
|
|
1215
|
+
* Internal Server Error
|
|
1216
|
+
*/
|
|
1217
|
+
500: ProblemDetails;
|
|
934
1218
|
/**
|
|
935
1219
|
* Bad Gateway
|
|
936
1220
|
*/
|
|
@@ -940,23 +1224,23 @@ export type ClaimTrackerGuestAccessErrors = {
|
|
|
940
1224
|
*/
|
|
941
1225
|
503: ProblemDetails;
|
|
942
1226
|
};
|
|
943
|
-
export type
|
|
944
|
-
export type
|
|
1227
|
+
export type ReportTrackerBluetoothCommandError = ReportTrackerBluetoothCommandErrors[keyof ReportTrackerBluetoothCommandErrors];
|
|
1228
|
+
export type ReportTrackerBluetoothCommandResponses = {
|
|
945
1229
|
/**
|
|
946
1230
|
* OK
|
|
947
1231
|
*/
|
|
948
1232
|
200: CommandSuccess;
|
|
949
1233
|
};
|
|
950
|
-
export type
|
|
951
|
-
export type
|
|
952
|
-
body
|
|
1234
|
+
export type ReportTrackerBluetoothCommandResponse = ReportTrackerBluetoothCommandResponses[keyof ReportTrackerBluetoothCommandResponses];
|
|
1235
|
+
export type UploadTrackerBluetoothObservationData = {
|
|
1236
|
+
body: BluetoothObservationRequest;
|
|
953
1237
|
path: {
|
|
954
1238
|
trackerId: string;
|
|
955
1239
|
};
|
|
956
1240
|
query?: never;
|
|
957
|
-
url: "/v1/trackers/{trackerId}/
|
|
1241
|
+
url: "/v1/trackers/{trackerId}/bluetooth/observations";
|
|
958
1242
|
};
|
|
959
|
-
export type
|
|
1243
|
+
export type UploadTrackerBluetoothObservationErrors = {
|
|
960
1244
|
/**
|
|
961
1245
|
* Bad Request
|
|
962
1246
|
*/
|
|
@@ -977,10 +1261,22 @@ export type CreateTrackerInvitationErrors = {
|
|
|
977
1261
|
* Conflict
|
|
978
1262
|
*/
|
|
979
1263
|
409: ProblemDetails;
|
|
1264
|
+
/**
|
|
1265
|
+
* Payload Too Large
|
|
1266
|
+
*/
|
|
1267
|
+
413: ProblemDetails;
|
|
1268
|
+
/**
|
|
1269
|
+
* Unsupported Media Type
|
|
1270
|
+
*/
|
|
1271
|
+
415: ProblemDetails;
|
|
980
1272
|
/**
|
|
981
1273
|
* Too Many Requests
|
|
982
1274
|
*/
|
|
983
1275
|
429: ProblemDetails;
|
|
1276
|
+
/**
|
|
1277
|
+
* Internal Server Error
|
|
1278
|
+
*/
|
|
1279
|
+
500: ProblemDetails;
|
|
984
1280
|
/**
|
|
985
1281
|
* Bad Gateway
|
|
986
1282
|
*/
|
|
@@ -990,24 +1286,84 @@ export type CreateTrackerInvitationErrors = {
|
|
|
990
1286
|
*/
|
|
991
1287
|
503: ProblemDetails;
|
|
992
1288
|
};
|
|
993
|
-
export type
|
|
994
|
-
export type
|
|
1289
|
+
export type UploadTrackerBluetoothObservationError = UploadTrackerBluetoothObservationErrors[keyof UploadTrackerBluetoothObservationErrors];
|
|
1290
|
+
export type UploadTrackerBluetoothObservationResponses = {
|
|
995
1291
|
/**
|
|
996
1292
|
* OK
|
|
997
1293
|
*/
|
|
998
|
-
200:
|
|
1294
|
+
200: BluetoothObservationResult;
|
|
999
1295
|
};
|
|
1000
|
-
export type
|
|
1001
|
-
export type
|
|
1296
|
+
export type UploadTrackerBluetoothObservationResponse = UploadTrackerBluetoothObservationResponses[keyof UploadTrackerBluetoothObservationResponses];
|
|
1297
|
+
export type ReportTrackerFactoryResetData = {
|
|
1298
|
+
body?: never;
|
|
1299
|
+
path: {
|
|
1300
|
+
trackerId: string;
|
|
1301
|
+
};
|
|
1302
|
+
query?: never;
|
|
1303
|
+
url: "/v1/trackers/{trackerId}/bluetooth/factory-reset-reports";
|
|
1304
|
+
};
|
|
1305
|
+
export type ReportTrackerFactoryResetErrors = {
|
|
1306
|
+
/**
|
|
1307
|
+
* Bad Request
|
|
1308
|
+
*/
|
|
1309
|
+
400: ProblemDetails;
|
|
1310
|
+
/**
|
|
1311
|
+
* Unauthorized
|
|
1312
|
+
*/
|
|
1313
|
+
401: ProblemDetails;
|
|
1314
|
+
/**
|
|
1315
|
+
* Forbidden
|
|
1316
|
+
*/
|
|
1317
|
+
403: ProblemDetails;
|
|
1318
|
+
/**
|
|
1319
|
+
* Not Found
|
|
1320
|
+
*/
|
|
1321
|
+
404: ProblemDetails;
|
|
1322
|
+
/**
|
|
1323
|
+
* Conflict
|
|
1324
|
+
*/
|
|
1325
|
+
409: ProblemDetails;
|
|
1326
|
+
/**
|
|
1327
|
+
* Payload Too Large
|
|
1328
|
+
*/
|
|
1329
|
+
413: ProblemDetails;
|
|
1330
|
+
/**
|
|
1331
|
+
* Too Many Requests
|
|
1332
|
+
*/
|
|
1333
|
+
429: ProblemDetails;
|
|
1334
|
+
/**
|
|
1335
|
+
* Internal Server Error
|
|
1336
|
+
*/
|
|
1337
|
+
500: ProblemDetails;
|
|
1338
|
+
/**
|
|
1339
|
+
* Bad Gateway
|
|
1340
|
+
*/
|
|
1341
|
+
502: ProblemDetails;
|
|
1342
|
+
/**
|
|
1343
|
+
* Service Unavailable
|
|
1344
|
+
*/
|
|
1345
|
+
503: ProblemDetails;
|
|
1346
|
+
};
|
|
1347
|
+
export type ReportTrackerFactoryResetError = ReportTrackerFactoryResetErrors[keyof ReportTrackerFactoryResetErrors];
|
|
1348
|
+
export type ReportTrackerFactoryResetResponses = {
|
|
1349
|
+
/**
|
|
1350
|
+
* OK
|
|
1351
|
+
*/
|
|
1352
|
+
200: CommandSuccess;
|
|
1353
|
+
};
|
|
1354
|
+
export type ReportTrackerFactoryResetResponse = ReportTrackerFactoryResetResponses[keyof ReportTrackerFactoryResetResponses];
|
|
1355
|
+
export type GetTrackerFirmwarePlanData = {
|
|
1002
1356
|
body?: never;
|
|
1003
1357
|
path: {
|
|
1004
1358
|
trackerId: string;
|
|
1005
|
-
accessCode: string;
|
|
1006
1359
|
};
|
|
1007
|
-
query
|
|
1008
|
-
|
|
1360
|
+
query: {
|
|
1361
|
+
platform: "ios" | "android";
|
|
1362
|
+
build: string;
|
|
1363
|
+
};
|
|
1364
|
+
url: "/v1/trackers/{trackerId}/firmware/update-plan";
|
|
1009
1365
|
};
|
|
1010
|
-
export type
|
|
1366
|
+
export type GetTrackerFirmwarePlanErrors = {
|
|
1011
1367
|
/**
|
|
1012
1368
|
* Bad Request
|
|
1013
1369
|
*/
|
|
@@ -1028,10 +1384,18 @@ export type RevokeTrackerInvitationErrors = {
|
|
|
1028
1384
|
* Conflict
|
|
1029
1385
|
*/
|
|
1030
1386
|
409: ProblemDetails;
|
|
1387
|
+
/**
|
|
1388
|
+
* Payload Too Large
|
|
1389
|
+
*/
|
|
1390
|
+
413: ProblemDetails;
|
|
1031
1391
|
/**
|
|
1032
1392
|
* Too Many Requests
|
|
1033
1393
|
*/
|
|
1034
1394
|
429: ProblemDetails;
|
|
1395
|
+
/**
|
|
1396
|
+
* Internal Server Error
|
|
1397
|
+
*/
|
|
1398
|
+
500: ProblemDetails;
|
|
1035
1399
|
/**
|
|
1036
1400
|
* Bad Gateway
|
|
1037
1401
|
*/
|
|
@@ -1041,23 +1405,23 @@ export type RevokeTrackerInvitationErrors = {
|
|
|
1041
1405
|
*/
|
|
1042
1406
|
503: ProblemDetails;
|
|
1043
1407
|
};
|
|
1044
|
-
export type
|
|
1045
|
-
export type
|
|
1408
|
+
export type GetTrackerFirmwarePlanError = GetTrackerFirmwarePlanErrors[keyof GetTrackerFirmwarePlanErrors];
|
|
1409
|
+
export type GetTrackerFirmwarePlanResponses = {
|
|
1046
1410
|
/**
|
|
1047
1411
|
* OK
|
|
1048
1412
|
*/
|
|
1049
|
-
200:
|
|
1413
|
+
200: TrackerFirmwarePlan;
|
|
1050
1414
|
};
|
|
1051
|
-
export type
|
|
1052
|
-
export type
|
|
1053
|
-
body:
|
|
1415
|
+
export type GetTrackerFirmwarePlanResponse = GetTrackerFirmwarePlanResponses[keyof GetTrackerFirmwarePlanResponses];
|
|
1416
|
+
export type CompleteTrackerFirmwareUpdateData = {
|
|
1417
|
+
body: CompleteFirmwareRequest;
|
|
1054
1418
|
path: {
|
|
1055
1419
|
trackerId: string;
|
|
1056
1420
|
};
|
|
1057
1421
|
query?: never;
|
|
1058
|
-
url: "/v1/trackers/{trackerId}/
|
|
1422
|
+
url: "/v1/trackers/{trackerId}/firmware/update-completions";
|
|
1059
1423
|
};
|
|
1060
|
-
export type
|
|
1424
|
+
export type CompleteTrackerFirmwareUpdateErrors = {
|
|
1061
1425
|
/**
|
|
1062
1426
|
* Bad Request
|
|
1063
1427
|
*/
|
|
@@ -1078,10 +1442,22 @@ export type RemoveTrackerMembershipErrors = {
|
|
|
1078
1442
|
* Conflict
|
|
1079
1443
|
*/
|
|
1080
1444
|
409: ProblemDetails;
|
|
1445
|
+
/**
|
|
1446
|
+
* Payload Too Large
|
|
1447
|
+
*/
|
|
1448
|
+
413: ProblemDetails;
|
|
1449
|
+
/**
|
|
1450
|
+
* Unsupported Media Type
|
|
1451
|
+
*/
|
|
1452
|
+
415: ProblemDetails;
|
|
1081
1453
|
/**
|
|
1082
1454
|
* Too Many Requests
|
|
1083
1455
|
*/
|
|
1084
1456
|
429: ProblemDetails;
|
|
1457
|
+
/**
|
|
1458
|
+
* Internal Server Error
|
|
1459
|
+
*/
|
|
1460
|
+
500: ProblemDetails;
|
|
1085
1461
|
/**
|
|
1086
1462
|
* Bad Gateway
|
|
1087
1463
|
*/
|
|
@@ -1091,23 +1467,23 @@ export type RemoveTrackerMembershipErrors = {
|
|
|
1091
1467
|
*/
|
|
1092
1468
|
503: ProblemDetails;
|
|
1093
1469
|
};
|
|
1094
|
-
export type
|
|
1095
|
-
export type
|
|
1470
|
+
export type CompleteTrackerFirmwareUpdateError = CompleteTrackerFirmwareUpdateErrors[keyof CompleteTrackerFirmwareUpdateErrors];
|
|
1471
|
+
export type CompleteTrackerFirmwareUpdateResponses = {
|
|
1096
1472
|
/**
|
|
1097
1473
|
* OK
|
|
1098
1474
|
*/
|
|
1099
1475
|
200: CommandSuccess;
|
|
1100
1476
|
};
|
|
1101
|
-
export type
|
|
1102
|
-
export type
|
|
1103
|
-
body:
|
|
1477
|
+
export type CompleteTrackerFirmwareUpdateResponse = CompleteTrackerFirmwareUpdateResponses[keyof CompleteTrackerFirmwareUpdateResponses];
|
|
1478
|
+
export type RecordTrackerFirmwareAttemptData = {
|
|
1479
|
+
body: RecordFirmwareAttemptRequest;
|
|
1104
1480
|
path: {
|
|
1105
1481
|
trackerId: string;
|
|
1106
1482
|
};
|
|
1107
1483
|
query?: never;
|
|
1108
|
-
url: "/v1/trackers/{trackerId}/
|
|
1484
|
+
url: "/v1/trackers/{trackerId}/firmware/update-attempts";
|
|
1109
1485
|
};
|
|
1110
|
-
export type
|
|
1486
|
+
export type RecordTrackerFirmwareAttemptErrors = {
|
|
1111
1487
|
/**
|
|
1112
1488
|
* Bad Request
|
|
1113
1489
|
*/
|
|
@@ -1128,10 +1504,22 @@ export type UpdateTrackerBikeErrors = {
|
|
|
1128
1504
|
* Conflict
|
|
1129
1505
|
*/
|
|
1130
1506
|
409: ProblemDetails;
|
|
1507
|
+
/**
|
|
1508
|
+
* Payload Too Large
|
|
1509
|
+
*/
|
|
1510
|
+
413: ProblemDetails;
|
|
1511
|
+
/**
|
|
1512
|
+
* Unsupported Media Type
|
|
1513
|
+
*/
|
|
1514
|
+
415: ProblemDetails;
|
|
1131
1515
|
/**
|
|
1132
1516
|
* Too Many Requests
|
|
1133
1517
|
*/
|
|
1134
1518
|
429: ProblemDetails;
|
|
1519
|
+
/**
|
|
1520
|
+
* Internal Server Error
|
|
1521
|
+
*/
|
|
1522
|
+
500: ProblemDetails;
|
|
1135
1523
|
/**
|
|
1136
1524
|
* Bad Gateway
|
|
1137
1525
|
*/
|
|
@@ -1141,23 +1529,23 @@ export type UpdateTrackerBikeErrors = {
|
|
|
1141
1529
|
*/
|
|
1142
1530
|
503: ProblemDetails;
|
|
1143
1531
|
};
|
|
1144
|
-
export type
|
|
1145
|
-
export type
|
|
1532
|
+
export type RecordTrackerFirmwareAttemptError = RecordTrackerFirmwareAttemptErrors[keyof RecordTrackerFirmwareAttemptErrors];
|
|
1533
|
+
export type RecordTrackerFirmwareAttemptResponses = {
|
|
1146
1534
|
/**
|
|
1147
1535
|
* OK
|
|
1148
1536
|
*/
|
|
1149
|
-
200:
|
|
1537
|
+
200: RecordFirmwareAttemptResult;
|
|
1150
1538
|
};
|
|
1151
|
-
export type
|
|
1152
|
-
export type
|
|
1153
|
-
body
|
|
1539
|
+
export type RecordTrackerFirmwareAttemptResponse = RecordTrackerFirmwareAttemptResponses[keyof RecordTrackerFirmwareAttemptResponses];
|
|
1540
|
+
export type GetTrackerPositionsData = {
|
|
1541
|
+
body?: never;
|
|
1154
1542
|
path: {
|
|
1155
1543
|
trackerId: string;
|
|
1156
1544
|
};
|
|
1157
1545
|
query?: never;
|
|
1158
|
-
url: "/v1/trackers/{trackerId}/
|
|
1546
|
+
url: "/v1/trackers/{trackerId}/positions";
|
|
1159
1547
|
};
|
|
1160
|
-
export type
|
|
1548
|
+
export type GetTrackerPositionsErrors = {
|
|
1161
1549
|
/**
|
|
1162
1550
|
* Bad Request
|
|
1163
1551
|
*/
|
|
@@ -1166,48 +1554,44 @@ export type SubmitTrackerTheftReportErrors = {
|
|
|
1166
1554
|
* Unauthorized
|
|
1167
1555
|
*/
|
|
1168
1556
|
401: ProblemDetails;
|
|
1169
|
-
/**
|
|
1170
|
-
* Forbidden
|
|
1171
|
-
*/
|
|
1172
|
-
403: ProblemDetails;
|
|
1173
1557
|
/**
|
|
1174
1558
|
* Not Found
|
|
1175
1559
|
*/
|
|
1176
1560
|
404: ProblemDetails;
|
|
1177
1561
|
/**
|
|
1178
|
-
*
|
|
1562
|
+
* Payload Too Large
|
|
1179
1563
|
*/
|
|
1180
|
-
|
|
1564
|
+
413: ProblemDetails;
|
|
1181
1565
|
/**
|
|
1182
1566
|
* Too Many Requests
|
|
1183
1567
|
*/
|
|
1184
1568
|
429: ProblemDetails;
|
|
1185
1569
|
/**
|
|
1186
|
-
*
|
|
1570
|
+
* Internal Server Error
|
|
1187
1571
|
*/
|
|
1188
|
-
|
|
1572
|
+
500: ProblemDetails;
|
|
1189
1573
|
/**
|
|
1190
1574
|
* Service Unavailable
|
|
1191
1575
|
*/
|
|
1192
1576
|
503: ProblemDetails;
|
|
1193
1577
|
};
|
|
1194
|
-
export type
|
|
1195
|
-
export type
|
|
1578
|
+
export type GetTrackerPositionsError = GetTrackerPositionsErrors[keyof GetTrackerPositionsErrors];
|
|
1579
|
+
export type GetTrackerPositionsResponses = {
|
|
1196
1580
|
/**
|
|
1197
1581
|
* OK
|
|
1198
1582
|
*/
|
|
1199
|
-
200:
|
|
1583
|
+
200: TrackerPositionState;
|
|
1200
1584
|
};
|
|
1201
|
-
export type
|
|
1202
|
-
export type
|
|
1585
|
+
export type GetTrackerPositionsResponse = GetTrackerPositionsResponses[keyof GetTrackerPositionsResponses];
|
|
1586
|
+
export type SubscribeTrackerPositionsData = {
|
|
1203
1587
|
body?: never;
|
|
1204
1588
|
path: {
|
|
1205
1589
|
trackerId: string;
|
|
1206
1590
|
};
|
|
1207
1591
|
query?: never;
|
|
1208
|
-
url: "/v1/trackers/{trackerId}/
|
|
1592
|
+
url: "/v1/trackers/{trackerId}/positions/stream";
|
|
1209
1593
|
};
|
|
1210
|
-
export type
|
|
1594
|
+
export type SubscribeTrackerPositionsErrors = {
|
|
1211
1595
|
/**
|
|
1212
1596
|
* Bad Request
|
|
1213
1597
|
*/
|
|
@@ -1216,48 +1600,44 @@ export type GetTrackerBluetoothCredentialsErrors = {
|
|
|
1216
1600
|
* Unauthorized
|
|
1217
1601
|
*/
|
|
1218
1602
|
401: ProblemDetails;
|
|
1219
|
-
/**
|
|
1220
|
-
* Forbidden
|
|
1221
|
-
*/
|
|
1222
|
-
403: ProblemDetails;
|
|
1223
1603
|
/**
|
|
1224
1604
|
* Not Found
|
|
1225
1605
|
*/
|
|
1226
1606
|
404: ProblemDetails;
|
|
1227
1607
|
/**
|
|
1228
|
-
*
|
|
1608
|
+
* Payload Too Large
|
|
1229
1609
|
*/
|
|
1230
|
-
|
|
1610
|
+
413: ProblemDetails;
|
|
1231
1611
|
/**
|
|
1232
1612
|
* Too Many Requests
|
|
1233
1613
|
*/
|
|
1234
1614
|
429: ProblemDetails;
|
|
1235
1615
|
/**
|
|
1236
|
-
*
|
|
1616
|
+
* Internal Server Error
|
|
1237
1617
|
*/
|
|
1238
|
-
|
|
1618
|
+
500: ProblemDetails;
|
|
1239
1619
|
/**
|
|
1240
1620
|
* Service Unavailable
|
|
1241
1621
|
*/
|
|
1242
1622
|
503: ProblemDetails;
|
|
1243
1623
|
};
|
|
1244
|
-
export type
|
|
1245
|
-
export type
|
|
1624
|
+
export type SubscribeTrackerPositionsError = SubscribeTrackerPositionsErrors[keyof SubscribeTrackerPositionsErrors];
|
|
1625
|
+
export type SubscribeTrackerPositionsResponses = {
|
|
1246
1626
|
/**
|
|
1247
1627
|
* OK
|
|
1248
1628
|
*/
|
|
1249
|
-
200:
|
|
1629
|
+
200: TrackerPositionState | null;
|
|
1250
1630
|
};
|
|
1251
|
-
export type
|
|
1252
|
-
export type
|
|
1253
|
-
body
|
|
1631
|
+
export type SubscribeTrackerPositionsResponse = SubscribeTrackerPositionsResponses[keyof SubscribeTrackerPositionsResponses];
|
|
1632
|
+
export type ListTrackerPhotosData = {
|
|
1633
|
+
body?: never;
|
|
1254
1634
|
path: {
|
|
1255
1635
|
trackerId: string;
|
|
1256
1636
|
};
|
|
1257
1637
|
query?: never;
|
|
1258
|
-
url: "/v1/trackers/{trackerId}/
|
|
1638
|
+
url: "/v1/trackers/{trackerId}/photos";
|
|
1259
1639
|
};
|
|
1260
|
-
export type
|
|
1640
|
+
export type ListTrackerPhotosErrors = {
|
|
1261
1641
|
/**
|
|
1262
1642
|
* Bad Request
|
|
1263
1643
|
*/
|
|
@@ -1266,48 +1646,52 @@ export type UpdateTrackerBluetoothPinErrors = {
|
|
|
1266
1646
|
* Unauthorized
|
|
1267
1647
|
*/
|
|
1268
1648
|
401: ProblemDetails;
|
|
1269
|
-
/**
|
|
1270
|
-
* Forbidden
|
|
1271
|
-
*/
|
|
1272
|
-
403: ProblemDetails;
|
|
1273
1649
|
/**
|
|
1274
1650
|
* Not Found
|
|
1275
1651
|
*/
|
|
1276
1652
|
404: ProblemDetails;
|
|
1277
1653
|
/**
|
|
1278
|
-
*
|
|
1654
|
+
* Payload Too Large
|
|
1279
1655
|
*/
|
|
1280
|
-
|
|
1656
|
+
413: ProblemDetails;
|
|
1281
1657
|
/**
|
|
1282
1658
|
* Too Many Requests
|
|
1283
1659
|
*/
|
|
1284
1660
|
429: ProblemDetails;
|
|
1285
1661
|
/**
|
|
1286
|
-
*
|
|
1662
|
+
* Internal Server Error
|
|
1287
1663
|
*/
|
|
1288
|
-
|
|
1664
|
+
500: ProblemDetails;
|
|
1289
1665
|
/**
|
|
1290
1666
|
* Service Unavailable
|
|
1291
1667
|
*/
|
|
1292
1668
|
503: ProblemDetails;
|
|
1293
1669
|
};
|
|
1294
|
-
export type
|
|
1295
|
-
export type
|
|
1670
|
+
export type ListTrackerPhotosError = ListTrackerPhotosErrors[keyof ListTrackerPhotosErrors];
|
|
1671
|
+
export type ListTrackerPhotosResponses = {
|
|
1296
1672
|
/**
|
|
1297
1673
|
* OK
|
|
1298
1674
|
*/
|
|
1299
|
-
200:
|
|
1675
|
+
200: TrackerPhotoList;
|
|
1300
1676
|
};
|
|
1301
|
-
export type
|
|
1302
|
-
export type
|
|
1303
|
-
body:
|
|
1677
|
+
export type ListTrackerPhotosResponse = ListTrackerPhotosResponses[keyof ListTrackerPhotosResponses];
|
|
1678
|
+
export type UploadTrackerPhotoData = {
|
|
1679
|
+
body: {
|
|
1680
|
+
/**
|
|
1681
|
+
* JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
|
|
1682
|
+
*/
|
|
1683
|
+
file: Blob | File;
|
|
1684
|
+
kind: "bike" | "installation" | "receipt";
|
|
1685
|
+
width: number;
|
|
1686
|
+
height: number;
|
|
1687
|
+
};
|
|
1304
1688
|
path: {
|
|
1305
1689
|
trackerId: string;
|
|
1306
1690
|
};
|
|
1307
1691
|
query?: never;
|
|
1308
|
-
url: "/v1/trackers/{trackerId}/
|
|
1692
|
+
url: "/v1/trackers/{trackerId}/photos";
|
|
1309
1693
|
};
|
|
1310
|
-
export type
|
|
1694
|
+
export type UploadTrackerPhotoErrors = {
|
|
1311
1695
|
/**
|
|
1312
1696
|
* Bad Request
|
|
1313
1697
|
*/
|
|
@@ -1316,48 +1700,48 @@ export type ReportTrackerBluetoothBatteryErrors = {
|
|
|
1316
1700
|
* Unauthorized
|
|
1317
1701
|
*/
|
|
1318
1702
|
401: ProblemDetails;
|
|
1319
|
-
/**
|
|
1320
|
-
* Forbidden
|
|
1321
|
-
*/
|
|
1322
|
-
403: ProblemDetails;
|
|
1323
1703
|
/**
|
|
1324
1704
|
* Not Found
|
|
1325
1705
|
*/
|
|
1326
1706
|
404: ProblemDetails;
|
|
1327
1707
|
/**
|
|
1328
|
-
*
|
|
1708
|
+
* Payload Too Large
|
|
1329
1709
|
*/
|
|
1330
|
-
|
|
1710
|
+
413: ProblemDetails;
|
|
1711
|
+
/**
|
|
1712
|
+
* Unsupported Media Type
|
|
1713
|
+
*/
|
|
1714
|
+
415: ProblemDetails;
|
|
1331
1715
|
/**
|
|
1332
1716
|
* Too Many Requests
|
|
1333
1717
|
*/
|
|
1334
1718
|
429: ProblemDetails;
|
|
1335
1719
|
/**
|
|
1336
|
-
*
|
|
1720
|
+
* Internal Server Error
|
|
1337
1721
|
*/
|
|
1338
|
-
|
|
1722
|
+
500: ProblemDetails;
|
|
1339
1723
|
/**
|
|
1340
1724
|
* Service Unavailable
|
|
1341
1725
|
*/
|
|
1342
1726
|
503: ProblemDetails;
|
|
1343
1727
|
};
|
|
1344
|
-
export type
|
|
1345
|
-
export type
|
|
1728
|
+
export type UploadTrackerPhotoError = UploadTrackerPhotoErrors[keyof UploadTrackerPhotoErrors];
|
|
1729
|
+
export type UploadTrackerPhotoResponses = {
|
|
1346
1730
|
/**
|
|
1347
1731
|
* OK
|
|
1348
1732
|
*/
|
|
1349
|
-
200:
|
|
1733
|
+
200: PhotoUploadResult;
|
|
1350
1734
|
};
|
|
1351
|
-
export type
|
|
1352
|
-
export type
|
|
1353
|
-
body
|
|
1735
|
+
export type UploadTrackerPhotoResponse = UploadTrackerPhotoResponses[keyof UploadTrackerPhotoResponses];
|
|
1736
|
+
export type SubscribeTrackerPhotosData = {
|
|
1737
|
+
body?: never;
|
|
1354
1738
|
path: {
|
|
1355
1739
|
trackerId: string;
|
|
1356
1740
|
};
|
|
1357
1741
|
query?: never;
|
|
1358
|
-
url: "/v1/trackers/{trackerId}/
|
|
1742
|
+
url: "/v1/trackers/{trackerId}/photos/stream";
|
|
1359
1743
|
};
|
|
1360
|
-
export type
|
|
1744
|
+
export type SubscribeTrackerPhotosErrors = {
|
|
1361
1745
|
/**
|
|
1362
1746
|
* Bad Request
|
|
1363
1747
|
*/
|
|
@@ -1366,48 +1750,45 @@ export type ReportTrackerBluetoothCommandErrors = {
|
|
|
1366
1750
|
* Unauthorized
|
|
1367
1751
|
*/
|
|
1368
1752
|
401: ProblemDetails;
|
|
1369
|
-
/**
|
|
1370
|
-
* Forbidden
|
|
1371
|
-
*/
|
|
1372
|
-
403: ProblemDetails;
|
|
1373
1753
|
/**
|
|
1374
1754
|
* Not Found
|
|
1375
1755
|
*/
|
|
1376
1756
|
404: ProblemDetails;
|
|
1377
1757
|
/**
|
|
1378
|
-
*
|
|
1758
|
+
* Payload Too Large
|
|
1379
1759
|
*/
|
|
1380
|
-
|
|
1760
|
+
413: ProblemDetails;
|
|
1381
1761
|
/**
|
|
1382
1762
|
* Too Many Requests
|
|
1383
1763
|
*/
|
|
1384
1764
|
429: ProblemDetails;
|
|
1385
1765
|
/**
|
|
1386
|
-
*
|
|
1766
|
+
* Internal Server Error
|
|
1387
1767
|
*/
|
|
1388
|
-
|
|
1768
|
+
500: ProblemDetails;
|
|
1389
1769
|
/**
|
|
1390
1770
|
* Service Unavailable
|
|
1391
1771
|
*/
|
|
1392
1772
|
503: ProblemDetails;
|
|
1393
1773
|
};
|
|
1394
|
-
export type
|
|
1395
|
-
export type
|
|
1774
|
+
export type SubscribeTrackerPhotosError = SubscribeTrackerPhotosErrors[keyof SubscribeTrackerPhotosErrors];
|
|
1775
|
+
export type SubscribeTrackerPhotosResponses = {
|
|
1396
1776
|
/**
|
|
1397
1777
|
* OK
|
|
1398
1778
|
*/
|
|
1399
|
-
200:
|
|
1779
|
+
200: TrackerPhotoList | null;
|
|
1400
1780
|
};
|
|
1401
|
-
export type
|
|
1402
|
-
export type
|
|
1403
|
-
body
|
|
1781
|
+
export type SubscribeTrackerPhotosResponse = SubscribeTrackerPhotosResponses[keyof SubscribeTrackerPhotosResponses];
|
|
1782
|
+
export type DeleteTrackerPhotoData = {
|
|
1783
|
+
body?: never;
|
|
1404
1784
|
path: {
|
|
1405
1785
|
trackerId: string;
|
|
1786
|
+
photoId: string;
|
|
1406
1787
|
};
|
|
1407
1788
|
query?: never;
|
|
1408
|
-
url: "/v1/trackers/{trackerId}/
|
|
1789
|
+
url: "/v1/trackers/{trackerId}/photos/{photoId}";
|
|
1409
1790
|
};
|
|
1410
|
-
export type
|
|
1791
|
+
export type DeleteTrackerPhotoErrors = {
|
|
1411
1792
|
/**
|
|
1412
1793
|
* Bad Request
|
|
1413
1794
|
*/
|
|
@@ -1416,48 +1797,46 @@ export type UploadTrackerBluetoothObservationErrors = {
|
|
|
1416
1797
|
* Unauthorized
|
|
1417
1798
|
*/
|
|
1418
1799
|
401: ProblemDetails;
|
|
1419
|
-
/**
|
|
1420
|
-
* Forbidden
|
|
1421
|
-
*/
|
|
1422
|
-
403: ProblemDetails;
|
|
1423
1800
|
/**
|
|
1424
1801
|
* Not Found
|
|
1425
1802
|
*/
|
|
1426
1803
|
404: ProblemDetails;
|
|
1427
1804
|
/**
|
|
1428
|
-
*
|
|
1805
|
+
* Payload Too Large
|
|
1429
1806
|
*/
|
|
1430
|
-
|
|
1807
|
+
413: ProblemDetails;
|
|
1431
1808
|
/**
|
|
1432
1809
|
* Too Many Requests
|
|
1433
1810
|
*/
|
|
1434
1811
|
429: ProblemDetails;
|
|
1435
1812
|
/**
|
|
1436
|
-
*
|
|
1813
|
+
* Internal Server Error
|
|
1437
1814
|
*/
|
|
1438
|
-
|
|
1815
|
+
500: ProblemDetails;
|
|
1439
1816
|
/**
|
|
1440
1817
|
* Service Unavailable
|
|
1441
1818
|
*/
|
|
1442
1819
|
503: ProblemDetails;
|
|
1443
1820
|
};
|
|
1444
|
-
export type
|
|
1445
|
-
export type
|
|
1821
|
+
export type DeleteTrackerPhotoError = DeleteTrackerPhotoErrors[keyof DeleteTrackerPhotoErrors];
|
|
1822
|
+
export type DeleteTrackerPhotoResponses = {
|
|
1446
1823
|
/**
|
|
1447
1824
|
* OK
|
|
1448
1825
|
*/
|
|
1449
|
-
200:
|
|
1826
|
+
200: CommandSuccess;
|
|
1450
1827
|
};
|
|
1451
|
-
export type
|
|
1452
|
-
export type
|
|
1828
|
+
export type DeleteTrackerPhotoResponse = DeleteTrackerPhotoResponses[keyof DeleteTrackerPhotoResponses];
|
|
1829
|
+
export type UnlinkTrackerSubscriptionData = {
|
|
1453
1830
|
body?: never;
|
|
1454
1831
|
path: {
|
|
1455
1832
|
trackerId: string;
|
|
1456
1833
|
};
|
|
1457
|
-
query
|
|
1458
|
-
|
|
1834
|
+
query: {
|
|
1835
|
+
expectedSubscriptionId: string;
|
|
1836
|
+
};
|
|
1837
|
+
url: "/v1/trackers/{trackerId}/subscription";
|
|
1459
1838
|
};
|
|
1460
|
-
export type
|
|
1839
|
+
export type UnlinkTrackerSubscriptionErrors = {
|
|
1461
1840
|
/**
|
|
1462
1841
|
* Bad Request
|
|
1463
1842
|
*/
|
|
@@ -1470,47 +1849,44 @@ export type ReportTrackerFactoryResetErrors = {
|
|
|
1470
1849
|
* Forbidden
|
|
1471
1850
|
*/
|
|
1472
1851
|
403: ProblemDetails;
|
|
1473
|
-
/**
|
|
1474
|
-
* Not Found
|
|
1475
|
-
*/
|
|
1476
|
-
404: ProblemDetails;
|
|
1477
1852
|
/**
|
|
1478
1853
|
* Conflict
|
|
1479
1854
|
*/
|
|
1480
1855
|
409: ProblemDetails;
|
|
1856
|
+
/**
|
|
1857
|
+
* Payload Too Large
|
|
1858
|
+
*/
|
|
1859
|
+
413: ProblemDetails;
|
|
1481
1860
|
/**
|
|
1482
1861
|
* Too Many Requests
|
|
1483
1862
|
*/
|
|
1484
1863
|
429: ProblemDetails;
|
|
1485
1864
|
/**
|
|
1486
|
-
*
|
|
1865
|
+
* Internal Server Error
|
|
1487
1866
|
*/
|
|
1488
|
-
|
|
1867
|
+
500: ProblemDetails;
|
|
1489
1868
|
/**
|
|
1490
1869
|
* Service Unavailable
|
|
1491
1870
|
*/
|
|
1492
1871
|
503: ProblemDetails;
|
|
1493
1872
|
};
|
|
1494
|
-
export type
|
|
1495
|
-
export type
|
|
1873
|
+
export type UnlinkTrackerSubscriptionError = UnlinkTrackerSubscriptionErrors[keyof UnlinkTrackerSubscriptionErrors];
|
|
1874
|
+
export type UnlinkTrackerSubscriptionResponses = {
|
|
1496
1875
|
/**
|
|
1497
1876
|
* OK
|
|
1498
1877
|
*/
|
|
1499
|
-
200:
|
|
1878
|
+
200: CommandSuccess;
|
|
1500
1879
|
};
|
|
1501
|
-
export type
|
|
1502
|
-
export type
|
|
1503
|
-
body
|
|
1880
|
+
export type UnlinkTrackerSubscriptionResponse = UnlinkTrackerSubscriptionResponses[keyof UnlinkTrackerSubscriptionResponses];
|
|
1881
|
+
export type LinkTrackerSubscriptionData = {
|
|
1882
|
+
body: SubscriptionChangeRequest;
|
|
1504
1883
|
path: {
|
|
1505
1884
|
trackerId: string;
|
|
1506
1885
|
};
|
|
1507
|
-
query
|
|
1508
|
-
|
|
1509
|
-
build: string;
|
|
1510
|
-
};
|
|
1511
|
-
url: "/v1/trackers/{trackerId}/firmware-plan";
|
|
1886
|
+
query?: never;
|
|
1887
|
+
url: "/v1/trackers/{trackerId}/subscription";
|
|
1512
1888
|
};
|
|
1513
|
-
export type
|
|
1889
|
+
export type LinkTrackerSubscriptionErrors = {
|
|
1514
1890
|
/**
|
|
1515
1891
|
* Bad Request
|
|
1516
1892
|
*/
|
|
@@ -1523,44 +1899,46 @@ export type GetTrackerFirmwarePlanErrors = {
|
|
|
1523
1899
|
* Forbidden
|
|
1524
1900
|
*/
|
|
1525
1901
|
403: ProblemDetails;
|
|
1526
|
-
/**
|
|
1527
|
-
* Not Found
|
|
1528
|
-
*/
|
|
1529
|
-
404: ProblemDetails;
|
|
1530
1902
|
/**
|
|
1531
1903
|
* Conflict
|
|
1532
1904
|
*/
|
|
1533
1905
|
409: ProblemDetails;
|
|
1906
|
+
/**
|
|
1907
|
+
* Payload Too Large
|
|
1908
|
+
*/
|
|
1909
|
+
413: ProblemDetails;
|
|
1910
|
+
/**
|
|
1911
|
+
* Unsupported Media Type
|
|
1912
|
+
*/
|
|
1913
|
+
415: ProblemDetails;
|
|
1534
1914
|
/**
|
|
1535
1915
|
* Too Many Requests
|
|
1536
1916
|
*/
|
|
1537
1917
|
429: ProblemDetails;
|
|
1538
1918
|
/**
|
|
1539
|
-
*
|
|
1919
|
+
* Internal Server Error
|
|
1540
1920
|
*/
|
|
1541
|
-
|
|
1921
|
+
500: ProblemDetails;
|
|
1542
1922
|
/**
|
|
1543
1923
|
* Service Unavailable
|
|
1544
1924
|
*/
|
|
1545
1925
|
503: ProblemDetails;
|
|
1546
1926
|
};
|
|
1547
|
-
export type
|
|
1548
|
-
export type
|
|
1927
|
+
export type LinkTrackerSubscriptionError = LinkTrackerSubscriptionErrors[keyof LinkTrackerSubscriptionErrors];
|
|
1928
|
+
export type LinkTrackerSubscriptionResponses = {
|
|
1549
1929
|
/**
|
|
1550
1930
|
* OK
|
|
1551
1931
|
*/
|
|
1552
|
-
200:
|
|
1932
|
+
200: CommandSuccess;
|
|
1553
1933
|
};
|
|
1554
|
-
export type
|
|
1555
|
-
export type
|
|
1556
|
-
body
|
|
1557
|
-
path
|
|
1558
|
-
trackerId: string;
|
|
1559
|
-
};
|
|
1934
|
+
export type LinkTrackerSubscriptionResponse = LinkTrackerSubscriptionResponses[keyof LinkTrackerSubscriptionResponses];
|
|
1935
|
+
export type GetBluetoothReportingPolicyData = {
|
|
1936
|
+
body?: never;
|
|
1937
|
+
path?: never;
|
|
1560
1938
|
query?: never;
|
|
1561
|
-
url: "/v1/
|
|
1939
|
+
url: "/v1/bluetooth/reporting-policy";
|
|
1562
1940
|
};
|
|
1563
|
-
export type
|
|
1941
|
+
export type GetBluetoothReportingPolicyErrors = {
|
|
1564
1942
|
/**
|
|
1565
1943
|
* Bad Request
|
|
1566
1944
|
*/
|
|
@@ -1581,10 +1959,18 @@ export type CompleteTrackerFirmwareUpdateErrors = {
|
|
|
1581
1959
|
* Conflict
|
|
1582
1960
|
*/
|
|
1583
1961
|
409: ProblemDetails;
|
|
1962
|
+
/**
|
|
1963
|
+
* Payload Too Large
|
|
1964
|
+
*/
|
|
1965
|
+
413: ProblemDetails;
|
|
1584
1966
|
/**
|
|
1585
1967
|
* Too Many Requests
|
|
1586
1968
|
*/
|
|
1587
1969
|
429: ProblemDetails;
|
|
1970
|
+
/**
|
|
1971
|
+
* Internal Server Error
|
|
1972
|
+
*/
|
|
1973
|
+
500: ProblemDetails;
|
|
1588
1974
|
/**
|
|
1589
1975
|
* Bad Gateway
|
|
1590
1976
|
*/
|
|
@@ -1594,23 +1980,33 @@ export type CompleteTrackerFirmwareUpdateErrors = {
|
|
|
1594
1980
|
*/
|
|
1595
1981
|
503: ProblemDetails;
|
|
1596
1982
|
};
|
|
1597
|
-
export type
|
|
1598
|
-
export type
|
|
1983
|
+
export type GetBluetoothReportingPolicyError = GetBluetoothReportingPolicyErrors[keyof GetBluetoothReportingPolicyErrors];
|
|
1984
|
+
export type GetBluetoothReportingPolicyResponses = {
|
|
1599
1985
|
/**
|
|
1600
1986
|
* OK
|
|
1601
1987
|
*/
|
|
1602
|
-
200:
|
|
1988
|
+
200: BluetoothReportingPolicy;
|
|
1603
1989
|
};
|
|
1604
|
-
export type
|
|
1605
|
-
export type
|
|
1606
|
-
body
|
|
1990
|
+
export type GetBluetoothReportingPolicyResponse = GetBluetoothReportingPolicyResponses[keyof GetBluetoothReportingPolicyResponses];
|
|
1991
|
+
export type ListTrackerHistoryData = {
|
|
1992
|
+
body?: never;
|
|
1607
1993
|
path: {
|
|
1608
1994
|
trackerId: string;
|
|
1609
1995
|
};
|
|
1610
|
-
query
|
|
1611
|
-
|
|
1996
|
+
query: {
|
|
1997
|
+
/**
|
|
1998
|
+
* Inclusive ISO timestamp with timezone.
|
|
1999
|
+
*/
|
|
2000
|
+
from: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* Exclusive ISO timestamp with timezone.
|
|
2003
|
+
*/
|
|
2004
|
+
to: string;
|
|
2005
|
+
cursor?: string;
|
|
2006
|
+
};
|
|
2007
|
+
url: "/v1/trackers/{trackerId}/history";
|
|
1612
2008
|
};
|
|
1613
|
-
export type
|
|
2009
|
+
export type ListTrackerHistoryErrors = {
|
|
1614
2010
|
/**
|
|
1615
2011
|
* Bad Request
|
|
1616
2012
|
*/
|
|
@@ -1619,39 +2015,35 @@ export type RecordTrackerFirmwareAttemptErrors = {
|
|
|
1619
2015
|
* Unauthorized
|
|
1620
2016
|
*/
|
|
1621
2017
|
401: ProblemDetails;
|
|
1622
|
-
/**
|
|
1623
|
-
* Forbidden
|
|
1624
|
-
*/
|
|
1625
|
-
403: ProblemDetails;
|
|
1626
2018
|
/**
|
|
1627
2019
|
* Not Found
|
|
1628
2020
|
*/
|
|
1629
2021
|
404: ProblemDetails;
|
|
1630
2022
|
/**
|
|
1631
|
-
*
|
|
2023
|
+
* Payload Too Large
|
|
1632
2024
|
*/
|
|
1633
|
-
|
|
2025
|
+
413: ProblemDetails;
|
|
1634
2026
|
/**
|
|
1635
2027
|
* Too Many Requests
|
|
1636
2028
|
*/
|
|
1637
2029
|
429: ProblemDetails;
|
|
1638
2030
|
/**
|
|
1639
|
-
*
|
|
2031
|
+
* Internal Server Error
|
|
1640
2032
|
*/
|
|
1641
|
-
|
|
2033
|
+
500: ProblemDetails;
|
|
1642
2034
|
/**
|
|
1643
2035
|
* Service Unavailable
|
|
1644
2036
|
*/
|
|
1645
2037
|
503: ProblemDetails;
|
|
1646
2038
|
};
|
|
1647
|
-
export type
|
|
1648
|
-
export type
|
|
2039
|
+
export type ListTrackerHistoryError = ListTrackerHistoryErrors[keyof ListTrackerHistoryErrors];
|
|
2040
|
+
export type ListTrackerHistoryResponses = {
|
|
1649
2041
|
/**
|
|
1650
2042
|
* OK
|
|
1651
2043
|
*/
|
|
1652
|
-
200:
|
|
2044
|
+
200: HistoryPage;
|
|
1653
2045
|
};
|
|
1654
|
-
export type
|
|
2046
|
+
export type ListTrackerHistoryResponse = ListTrackerHistoryResponses[keyof ListTrackerHistoryResponses];
|
|
1655
2047
|
export type GetAccountPreferencesData = {
|
|
1656
2048
|
body?: never;
|
|
1657
2049
|
path?: never;
|
|
@@ -1671,6 +2063,14 @@ export type GetAccountPreferencesErrors = {
|
|
|
1671
2063
|
* Not Found
|
|
1672
2064
|
*/
|
|
1673
2065
|
404: ProblemDetails;
|
|
2066
|
+
/**
|
|
2067
|
+
* Payload Too Large
|
|
2068
|
+
*/
|
|
2069
|
+
413: ProblemDetails;
|
|
2070
|
+
/**
|
|
2071
|
+
* Too Many Requests
|
|
2072
|
+
*/
|
|
2073
|
+
429: ProblemDetails;
|
|
1674
2074
|
/**
|
|
1675
2075
|
* Internal Server Error
|
|
1676
2076
|
*/
|
|
@@ -1707,6 +2107,18 @@ export type UpdateAccountPreferencesErrors = {
|
|
|
1707
2107
|
* Not Found
|
|
1708
2108
|
*/
|
|
1709
2109
|
404: ProblemDetails;
|
|
2110
|
+
/**
|
|
2111
|
+
* Payload Too Large
|
|
2112
|
+
*/
|
|
2113
|
+
413: ProblemDetails;
|
|
2114
|
+
/**
|
|
2115
|
+
* Unsupported Media Type
|
|
2116
|
+
*/
|
|
2117
|
+
415: ProblemDetails;
|
|
2118
|
+
/**
|
|
2119
|
+
* Too Many Requests
|
|
2120
|
+
*/
|
|
2121
|
+
429: ProblemDetails;
|
|
1710
2122
|
/**
|
|
1711
2123
|
* Internal Server Error
|
|
1712
2124
|
*/
|
|
@@ -1743,6 +2155,14 @@ export type SubscribeAccountPreferencesErrors = {
|
|
|
1743
2155
|
* Not Found
|
|
1744
2156
|
*/
|
|
1745
2157
|
404: ProblemDetails;
|
|
2158
|
+
/**
|
|
2159
|
+
* Payload Too Large
|
|
2160
|
+
*/
|
|
2161
|
+
413: ProblemDetails;
|
|
2162
|
+
/**
|
|
2163
|
+
* Too Many Requests
|
|
2164
|
+
*/
|
|
2165
|
+
429: ProblemDetails;
|
|
1746
2166
|
/**
|
|
1747
2167
|
* Internal Server Error
|
|
1748
2168
|
*/
|
|
@@ -1760,13 +2180,13 @@ export type SubscribeAccountPreferencesResponses = {
|
|
|
1760
2180
|
200: AccountPreferences | null;
|
|
1761
2181
|
};
|
|
1762
2182
|
export type SubscribeAccountPreferencesResponse = SubscribeAccountPreferencesResponses[keyof SubscribeAccountPreferencesResponses];
|
|
1763
|
-
export type
|
|
1764
|
-
body:
|
|
2183
|
+
export type RegisterPushRegistrationData = {
|
|
2184
|
+
body: RegisterPushRegistrationRequest;
|
|
1765
2185
|
path?: never;
|
|
1766
2186
|
query?: never;
|
|
1767
|
-
url: "/v1/me/push-
|
|
2187
|
+
url: "/v1/me/push-registrations";
|
|
1768
2188
|
};
|
|
1769
|
-
export type
|
|
2189
|
+
export type RegisterPushRegistrationErrors = {
|
|
1770
2190
|
/**
|
|
1771
2191
|
* Bad Request
|
|
1772
2192
|
*/
|
|
@@ -1779,6 +2199,18 @@ export type RemovePushRegistrationErrors = {
|
|
|
1779
2199
|
* Not Found
|
|
1780
2200
|
*/
|
|
1781
2201
|
404: ProblemDetails;
|
|
2202
|
+
/**
|
|
2203
|
+
* Payload Too Large
|
|
2204
|
+
*/
|
|
2205
|
+
413: ProblemDetails;
|
|
2206
|
+
/**
|
|
2207
|
+
* Unsupported Media Type
|
|
2208
|
+
*/
|
|
2209
|
+
415: ProblemDetails;
|
|
2210
|
+
/**
|
|
2211
|
+
* Too Many Requests
|
|
2212
|
+
*/
|
|
2213
|
+
429: ProblemDetails;
|
|
1782
2214
|
/**
|
|
1783
2215
|
* Internal Server Error
|
|
1784
2216
|
*/
|
|
@@ -1788,21 +2220,21 @@ export type RemovePushRegistrationErrors = {
|
|
|
1788
2220
|
*/
|
|
1789
2221
|
503: ProblemDetails;
|
|
1790
2222
|
};
|
|
1791
|
-
export type
|
|
1792
|
-
export type
|
|
2223
|
+
export type RegisterPushRegistrationError = RegisterPushRegistrationErrors[keyof RegisterPushRegistrationErrors];
|
|
2224
|
+
export type RegisterPushRegistrationResponses = {
|
|
1793
2225
|
/**
|
|
1794
2226
|
* No Content
|
|
1795
2227
|
*/
|
|
1796
2228
|
204: void;
|
|
1797
2229
|
};
|
|
1798
|
-
export type
|
|
1799
|
-
export type
|
|
1800
|
-
body:
|
|
2230
|
+
export type RegisterPushRegistrationResponse = RegisterPushRegistrationResponses[keyof RegisterPushRegistrationResponses];
|
|
2231
|
+
export type RemovePushRegistrationData = {
|
|
2232
|
+
body: RemovePushRegistrationRequest;
|
|
1801
2233
|
path?: never;
|
|
1802
2234
|
query?: never;
|
|
1803
|
-
url: "/v1/me/push-registration";
|
|
2235
|
+
url: "/v1/me/push-registration-removals";
|
|
1804
2236
|
};
|
|
1805
|
-
export type
|
|
2237
|
+
export type RemovePushRegistrationErrors = {
|
|
1806
2238
|
/**
|
|
1807
2239
|
* Bad Request
|
|
1808
2240
|
*/
|
|
@@ -1815,6 +2247,18 @@ export type RegisterPushRegistrationErrors = {
|
|
|
1815
2247
|
* Not Found
|
|
1816
2248
|
*/
|
|
1817
2249
|
404: ProblemDetails;
|
|
2250
|
+
/**
|
|
2251
|
+
* Payload Too Large
|
|
2252
|
+
*/
|
|
2253
|
+
413: ProblemDetails;
|
|
2254
|
+
/**
|
|
2255
|
+
* Unsupported Media Type
|
|
2256
|
+
*/
|
|
2257
|
+
415: ProblemDetails;
|
|
2258
|
+
/**
|
|
2259
|
+
* Too Many Requests
|
|
2260
|
+
*/
|
|
2261
|
+
429: ProblemDetails;
|
|
1818
2262
|
/**
|
|
1819
2263
|
* Internal Server Error
|
|
1820
2264
|
*/
|
|
@@ -1824,14 +2268,14 @@ export type RegisterPushRegistrationErrors = {
|
|
|
1824
2268
|
*/
|
|
1825
2269
|
503: ProblemDetails;
|
|
1826
2270
|
};
|
|
1827
|
-
export type
|
|
1828
|
-
export type
|
|
2271
|
+
export type RemovePushRegistrationError = RemovePushRegistrationErrors[keyof RemovePushRegistrationErrors];
|
|
2272
|
+
export type RemovePushRegistrationResponses = {
|
|
1829
2273
|
/**
|
|
1830
2274
|
* No Content
|
|
1831
2275
|
*/
|
|
1832
2276
|
204: void;
|
|
1833
2277
|
};
|
|
1834
|
-
export type
|
|
2278
|
+
export type RemovePushRegistrationResponse = RemovePushRegistrationResponses[keyof RemovePushRegistrationResponses];
|
|
1835
2279
|
export type RequestAccountDeletionData = {
|
|
1836
2280
|
body?: never;
|
|
1837
2281
|
path?: never;
|
|
@@ -1851,6 +2295,14 @@ export type RequestAccountDeletionErrors = {
|
|
|
1851
2295
|
* Not Found
|
|
1852
2296
|
*/
|
|
1853
2297
|
404: ProblemDetails;
|
|
2298
|
+
/**
|
|
2299
|
+
* Payload Too Large
|
|
2300
|
+
*/
|
|
2301
|
+
413: ProblemDetails;
|
|
2302
|
+
/**
|
|
2303
|
+
* Too Many Requests
|
|
2304
|
+
*/
|
|
2305
|
+
429: ProblemDetails;
|
|
1854
2306
|
/**
|
|
1855
2307
|
* Internal Server Error
|
|
1856
2308
|
*/
|
|
@@ -1868,48 +2320,6 @@ export type RequestAccountDeletionResponses = {
|
|
|
1868
2320
|
202: AccountDeletionRequest;
|
|
1869
2321
|
};
|
|
1870
2322
|
export type RequestAccountDeletionResponse = RequestAccountDeletionResponses[keyof RequestAccountDeletionResponses];
|
|
1871
|
-
export type ListTrackerHistoryData = {
|
|
1872
|
-
body?: never;
|
|
1873
|
-
path: {
|
|
1874
|
-
trackerId: string;
|
|
1875
|
-
};
|
|
1876
|
-
query: {
|
|
1877
|
-
startMs: number;
|
|
1878
|
-
endMs: number;
|
|
1879
|
-
cursor?: string;
|
|
1880
|
-
};
|
|
1881
|
-
url: "/v1/trackers/{trackerId}/history";
|
|
1882
|
-
};
|
|
1883
|
-
export type ListTrackerHistoryErrors = {
|
|
1884
|
-
/**
|
|
1885
|
-
* Bad Request
|
|
1886
|
-
*/
|
|
1887
|
-
400: ProblemDetails;
|
|
1888
|
-
/**
|
|
1889
|
-
* Unauthorized
|
|
1890
|
-
*/
|
|
1891
|
-
401: ProblemDetails;
|
|
1892
|
-
/**
|
|
1893
|
-
* Not Found
|
|
1894
|
-
*/
|
|
1895
|
-
404: ProblemDetails;
|
|
1896
|
-
/**
|
|
1897
|
-
* Internal Server Error
|
|
1898
|
-
*/
|
|
1899
|
-
500: ProblemDetails;
|
|
1900
|
-
/**
|
|
1901
|
-
* Service Unavailable
|
|
1902
|
-
*/
|
|
1903
|
-
503: ProblemDetails;
|
|
1904
|
-
};
|
|
1905
|
-
export type ListTrackerHistoryError = ListTrackerHistoryErrors[keyof ListTrackerHistoryErrors];
|
|
1906
|
-
export type ListTrackerHistoryResponses = {
|
|
1907
|
-
/**
|
|
1908
|
-
* OK
|
|
1909
|
-
*/
|
|
1910
|
-
200: HistoryPage;
|
|
1911
|
-
};
|
|
1912
|
-
export type ListTrackerHistoryResponse = ListTrackerHistoryResponses[keyof ListTrackerHistoryResponses];
|
|
1913
2323
|
export type ListNotificationsData = {
|
|
1914
2324
|
body?: never;
|
|
1915
2325
|
path?: never;
|
|
@@ -1927,6 +2337,14 @@ export type ListNotificationsErrors = {
|
|
|
1927
2337
|
* Unauthorized
|
|
1928
2338
|
*/
|
|
1929
2339
|
401: ProblemDetails;
|
|
2340
|
+
/**
|
|
2341
|
+
* Payload Too Large
|
|
2342
|
+
*/
|
|
2343
|
+
413: ProblemDetails;
|
|
2344
|
+
/**
|
|
2345
|
+
* Too Many Requests
|
|
2346
|
+
*/
|
|
2347
|
+
429: ProblemDetails;
|
|
1930
2348
|
/**
|
|
1931
2349
|
* Internal Server Error
|
|
1932
2350
|
*/
|
|
@@ -1963,6 +2381,14 @@ export type ListSubscriptionsErrors = {
|
|
|
1963
2381
|
* Not Found
|
|
1964
2382
|
*/
|
|
1965
2383
|
404: ProblemDetails;
|
|
2384
|
+
/**
|
|
2385
|
+
* Payload Too Large
|
|
2386
|
+
*/
|
|
2387
|
+
413: ProblemDetails;
|
|
2388
|
+
/**
|
|
2389
|
+
* Too Many Requests
|
|
2390
|
+
*/
|
|
2391
|
+
429: ProblemDetails;
|
|
1966
2392
|
/**
|
|
1967
2393
|
* Internal Server Error
|
|
1968
2394
|
*/
|
|
@@ -1999,6 +2425,14 @@ export type SubscribeSubscriptionsErrors = {
|
|
|
1999
2425
|
* Not Found
|
|
2000
2426
|
*/
|
|
2001
2427
|
404: ProblemDetails;
|
|
2428
|
+
/**
|
|
2429
|
+
* Payload Too Large
|
|
2430
|
+
*/
|
|
2431
|
+
413: ProblemDetails;
|
|
2432
|
+
/**
|
|
2433
|
+
* Too Many Requests
|
|
2434
|
+
*/
|
|
2435
|
+
429: ProblemDetails;
|
|
2002
2436
|
/**
|
|
2003
2437
|
* Internal Server Error
|
|
2004
2438
|
*/
|