@bikefinder/api-client 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +3 -1
  2. package/dist/admin/generated/index.d.ts +1 -1
  3. package/dist/admin/generated/index.d.ts.map +1 -1
  4. package/dist/admin/generated/sdk.gen.d.ts +173 -19
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +377 -125
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +1468 -431
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +2726 -1638
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +410 -270
  13. package/dist/admin/generated/zod.gen.js.map +1 -1
  14. package/dist/generated/index.d.ts +1 -1
  15. package/dist/generated/index.d.ts.map +1 -1
  16. package/dist/generated/sdk.gen.d.ts +80 -45
  17. package/dist/generated/sdk.gen.d.ts.map +1 -1
  18. package/dist/generated/sdk.gen.js +192 -157
  19. package/dist/generated/sdk.gen.js.map +1 -1
  20. package/dist/generated/types.gen.d.ts +887 -453
  21. package/dist/generated/types.gen.d.ts.map +1 -1
  22. package/dist/generated/zod.gen.d.ts +468 -286
  23. package/dist/generated/zod.gen.d.ts.map +1 -1
  24. package/dist/generated/zod.gen.js +188 -201
  25. package/dist/generated/zod.gen.js.map +1 -1
  26. package/dist/realtime/api-stream-error.d.ts +2 -1
  27. package/dist/realtime/api-stream-error.d.ts.map +1 -1
  28. package/dist/realtime/api-stream-error.js +8 -1
  29. package/dist/realtime/api-stream-error.js.map +1 -1
  30. package/dist/realtime/watch.d.ts.map +1 -1
  31. package/dist/realtime/watch.js +1 -1
  32. package/dist/realtime/watch.js.map +1 -1
  33. package/dist/transport.js +10 -1
  34. package/dist/transport.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/admin/generated/index.ts +65 -7
  37. package/src/admin/generated/sdk.gen.ts +720 -300
  38. package/src/admin/generated/types.gen.ts +1646 -513
  39. package/src/admin/generated/zod.gen.ts +474 -286
  40. package/src/generated/index.ts +6 -2
  41. package/src/generated/sdk.gen.ts +408 -373
  42. package/src/generated/types.gen.ts +956 -516
  43. package/src/generated/zod.gen.ts +217 -231
  44. package/src/realtime/api-stream-error.ts +12 -1
  45. package/src/realtime/watch.ts +6 -1
  46. package/src/transport.ts +10 -1
@@ -6,6 +6,7 @@ export type AdminAddMemberRequest = {
6
6
  description?: string;
7
7
  };
8
8
  export type AdminB2bSubscriptionRequest = {
9
+ requestId: string;
9
10
  company: string;
10
11
  streetName: string;
11
12
  postalArea: string;
@@ -13,11 +14,10 @@ export type AdminB2bSubscriptionRequest = {
13
14
  country: string;
14
15
  email: string;
15
16
  quantity: number;
16
- date: string;
17
- nextPaymentDate: string;
17
+ startsAt: string;
18
+ nextPaymentAt: string;
18
19
  tierInfo: string;
19
20
  description?: string;
20
- requestId?: null | string;
21
21
  };
22
22
  export type AdminB2bSubscriptionResult = {
23
23
  success: boolean;
@@ -40,21 +40,46 @@ export type AdminDenylistRequest = {
40
40
  expected: boolean;
41
41
  reason?: null | string;
42
42
  };
43
- export type AdminDeviceCommandResult = {
44
- success: boolean;
45
- commandId: string;
46
- jobIds: Array<string>;
47
- };
48
43
  export type AdminDocument = {
49
44
  id: string;
50
45
  fields: AdminSupportValue;
51
46
  };
47
+ export type AdminEvidenceAccountsRequest = {
48
+ accountIds: Array<string>;
49
+ };
50
+ export type AdminEvidenceCursor = {
51
+ timestamp: AdminTimestamp;
52
+ id: string;
53
+ };
54
+ export type AdminEvidenceDocument = {
55
+ id: string;
56
+ path: string;
57
+ exists: boolean;
58
+ fields: null | AdminSupportValue;
59
+ updatedAt: null | AdminTimestamp;
60
+ createdAt: null | AdminTimestamp;
61
+ readAt: AdminTimestamp;
62
+ };
63
+ export type AdminEvidenceDomain = "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
64
+ export type AdminEvidenceHistoryGroup = "battery" | "versions" | "reporting" | "diagnostics";
65
+ export type AdminEvidenceHistoryRequest = {
66
+ accountId: string;
67
+ source: AdminEvidenceHistorySource;
68
+ from: string;
69
+ to: string;
70
+ after?: null | AdminEvidenceCursor;
71
+ fields?: null | Array<AdminEvidenceHistoryGroup>;
72
+ };
73
+ export type AdminEvidenceHistorySource = "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
74
+ export type AdminEvidenceSnapshot = {
75
+ documents: Array<AdminEvidenceDocument>;
76
+ relatedDocuments: Array<AdminEvidenceDocument>;
77
+ readAt: AdminTimestamp;
78
+ };
52
79
  export type AdminFavoriteRequest = {
53
80
  comment: string;
54
81
  };
55
- export type AdminGeneration = "g1" | "gen2";
56
- export type AdminHistoryCollection = "data" | "images" | "logs" | "productionData" | "sanitizedData";
57
- export type AdminInsuranceProvider = "cycler" | "hepster" | "tryg";
82
+ export type AdminGeneration = "gen1" | "gen2";
58
83
  export type AdminLinkSubscriptionRequest = {
59
84
  subscriptionId: string;
60
85
  };
@@ -68,8 +93,8 @@ export type AdminLookupResult = {
68
93
  };
69
94
  export type AdminLookupUser = {
70
95
  userId: string;
71
- email?: null | string;
72
- nickname?: null | string;
96
+ email: null | string;
97
+ nickname: null | string;
73
98
  };
74
99
  export type AdminMode = "passive" | "security" | "standard" | "tracking";
75
100
  export type AdminModeRequest = {
@@ -87,10 +112,10 @@ export type AdminOperationalDomain = {
87
112
  updatedAt: AdminTimestamp;
88
113
  };
89
114
  export type AdminOperationalDomains = {
90
- battery?: null | AdminOperationalDomain;
91
- runtime?: null | AdminOperationalDomain;
92
- statistics?: null | AdminOperationalDomain;
93
- firmware?: null | AdminOperationalDomain;
115
+ battery: null | AdminOperationalDomain;
116
+ runtime: null | AdminOperationalDomain;
117
+ statistics: null | AdminOperationalDomain;
118
+ firmware: null | AdminOperationalDomain;
94
119
  };
95
120
  export type AdminOperationalState = {
96
121
  schemaVersion: number;
@@ -99,18 +124,38 @@ export type AdminOperationalState = {
99
124
  deviceCreatedAt: AdminTimestamp;
100
125
  domains: AdminOperationalDomains;
101
126
  };
102
- export type AdminPrivateDomain = "battery" | "firmware" | "runtime" | "statistics";
103
- export type AdminPublicDomain = "battery" | "configuration" | "contact" | "location";
104
127
  export type AdminPublicStates = {
105
- contact?: null | AdminDocument;
106
- battery?: null | AdminDocument;
107
- location?: null | AdminDocument;
108
- configuration?: null | AdminDocument;
128
+ contact: null | AdminDocument;
129
+ battery: null | AdminDocument;
130
+ location: null | AdminDocument;
131
+ configuration: null | AdminDocument;
109
132
  };
110
133
  export type AdminReadResult = {
111
134
  documents: Array<AdminDocument>;
112
135
  nextCursor: null | string;
113
- states?: null | AdminPublicStates;
136
+ states: null | AdminPublicStates;
137
+ };
138
+ export type AdminRelationshipChangeRequest = {
139
+ accountIds: Array<string>;
140
+ kind: AdminRelationshipKind;
141
+ accountId: string;
142
+ expectedVersion: string;
143
+ subscriptionId?: null | string;
144
+ allowLastAccountCleanup?: boolean;
145
+ };
146
+ export type AdminRelationshipKind = "subscriptionBinding" | "deviceAccount";
147
+ export type AdminRelationshipRequest = {
148
+ accountIds: Array<string>;
149
+ kind: AdminRelationshipKind;
150
+ };
151
+ export type AdminRelationshipVerification = {
152
+ verified: boolean;
153
+ };
154
+ export type AdminRelationshipVerificationRequest = {
155
+ kind: AdminRelationshipKind;
156
+ accountId: string;
157
+ remainingAccountIds: Array<string>;
158
+ subscriptionId?: null | string;
114
159
  };
115
160
  export type AdminRequestId = {
116
161
  requestId: string;
@@ -121,7 +166,6 @@ export type AdminSession = {
121
166
  canWrite: boolean;
122
167
  isSalesUser: boolean;
123
168
  };
124
- export type AdminSubscriptionSearchKind = "b2b" | "uid" | "wooId";
125
169
  export type AdminSupportValue = null | boolean | string | number | {
126
170
  map: {
127
171
  [key: string]: AdminSupportValue;
@@ -155,7 +199,16 @@ export type AdminTrackerCommandRequest = {
155
199
  command: null | AdminTrackerCommand;
156
200
  expectedCommand: null | string;
157
201
  };
158
- export type AdminTrackerSearchKind = "iccid" | "imei" | "subscriptionId" | "uid";
202
+ export type AdminTrackerCommandResult = {
203
+ success: boolean;
204
+ commandId: string;
205
+ jobIds: Array<string>;
206
+ };
207
+ export type AdminTrackerFactsRequest = {
208
+ target: string;
209
+ accountIds: Array<string>;
210
+ domain: AdminEvidenceDomain;
211
+ };
159
212
  export type AdminTrackerView = {
160
213
  tracker: AdminReadResult;
161
214
  operationalState: null | AdminOperationalState;
@@ -174,24 +227,32 @@ export type ProblemDetails = {
174
227
  status?: null | number;
175
228
  detail?: null | string;
176
229
  instance?: null | string;
177
- };
178
- export type AdminUploadTrackerPhotoData = {
179
- body: {
180
- file: IFormFile;
181
- } & {
182
- kind: string;
183
- } & {
184
- width: number;
185
- } & {
186
- height: number;
230
+ /**
231
+ * Stable machine-readable failure code. Use status for broad handling.
232
+ */
233
+ code: string;
234
+ /**
235
+ * Request correlation identifier for support.
236
+ */
237
+ traceId: string;
238
+ /**
239
+ * Field validation messages, when request validation fails.
240
+ */
241
+ errors?: {
242
+ [key: string]: Array<string>;
187
243
  };
244
+ };
245
+ export type AdminListAccountTrackerEvidenceData = {
246
+ body?: never;
188
247
  path: {
189
- trackerId: string;
248
+ accountId: string;
190
249
  };
191
- query?: never;
192
- url: "/v1/admin/trackers/{trackerId}/photos";
250
+ query?: {
251
+ after?: string;
252
+ };
253
+ url: "/v1/admin/product-evidence/accounts/{accountId}/trackers";
193
254
  };
194
- export type AdminUploadTrackerPhotoErrors = {
255
+ export type AdminListAccountTrackerEvidenceErrors = {
195
256
  /**
196
257
  * Bad Request
197
258
  */
@@ -205,37 +266,49 @@ export type AdminUploadTrackerPhotoErrors = {
205
266
  */
206
267
  403: ProblemDetails;
207
268
  /**
208
- * Not Found
269
+ * Conflict
209
270
  */
210
- 404: ProblemDetails;
271
+ 409: ProblemDetails;
211
272
  /**
212
273
  * Payload Too Large
213
274
  */
214
275
  413: ProblemDetails;
276
+ /**
277
+ * Too Many Requests
278
+ */
279
+ 429: ProblemDetails;
280
+ /**
281
+ * Internal Server Error
282
+ */
283
+ 500: ProblemDetails;
284
+ /**
285
+ * Bad Gateway
286
+ */
287
+ 502: ProblemDetails;
215
288
  /**
216
289
  * Service Unavailable
217
290
  */
218
291
  503: ProblemDetails;
219
292
  };
220
- export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
221
- export type AdminUploadTrackerPhotoResponses = {
293
+ export type AdminListAccountTrackerEvidenceError = AdminListAccountTrackerEvidenceErrors[keyof AdminListAccountTrackerEvidenceErrors];
294
+ export type AdminListAccountTrackerEvidenceResponses = {
222
295
  /**
223
296
  * OK
224
297
  */
225
- 200: PhotoUploadResult;
298
+ 200: AdminEvidenceSnapshot;
226
299
  };
227
- export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
228
- export type AdminGetTrackerData = {
300
+ export type AdminListAccountTrackerEvidenceResponse = AdminListAccountTrackerEvidenceResponses[keyof AdminListAccountTrackerEvidenceResponses];
301
+ export type AdminListAccountSubscriptionEvidenceData = {
229
302
  body?: never;
230
303
  path: {
231
- trackerId: string;
304
+ accountId: string;
232
305
  };
233
306
  query?: {
234
- domains?: Array<AdminPublicDomain>;
307
+ after?: string;
235
308
  };
236
- url: "/v1/admin/trackers/{trackerId}";
309
+ url: "/v1/admin/product-evidence/accounts/{accountId}/subscriptions";
237
310
  };
238
- export type AdminGetTrackerErrors = {
311
+ export type AdminListAccountSubscriptionEvidenceErrors = {
239
312
  /**
240
313
  * Bad Request
241
314
  */
@@ -248,18 +321,22 @@ export type AdminGetTrackerErrors = {
248
321
  * Forbidden
249
322
  */
250
323
  403: ProblemDetails;
251
- /**
252
- * Not Found
253
- */
254
- 404: ProblemDetails;
255
324
  /**
256
325
  * Conflict
257
326
  */
258
327
  409: ProblemDetails;
328
+ /**
329
+ * Payload Too Large
330
+ */
331
+ 413: ProblemDetails;
259
332
  /**
260
333
  * Too Many Requests
261
334
  */
262
335
  429: ProblemDetails;
336
+ /**
337
+ * Internal Server Error
338
+ */
339
+ 500: ProblemDetails;
263
340
  /**
264
341
  * Bad Gateway
265
342
  */
@@ -269,25 +346,21 @@ export type AdminGetTrackerErrors = {
269
346
  */
270
347
  503: ProblemDetails;
271
348
  };
272
- export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
273
- export type AdminGetTrackerResponses = {
349
+ export type AdminListAccountSubscriptionEvidenceError = AdminListAccountSubscriptionEvidenceErrors[keyof AdminListAccountSubscriptionEvidenceErrors];
350
+ export type AdminListAccountSubscriptionEvidenceResponses = {
274
351
  /**
275
352
  * OK
276
353
  */
277
- 200: AdminReadResult;
354
+ 200: AdminEvidenceSnapshot;
278
355
  };
279
- export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
280
- export type AdminSearchTrackersData = {
281
- body?: never;
356
+ export type AdminListAccountSubscriptionEvidenceResponse = AdminListAccountSubscriptionEvidenceResponses[keyof AdminListAccountSubscriptionEvidenceResponses];
357
+ export type AdminQueryTrackerFactEvidenceData = {
358
+ body: AdminTrackerFactsRequest;
282
359
  path?: never;
283
- query: {
284
- kind: AdminTrackerSearchKind;
285
- value: string;
286
- cursor?: string;
287
- };
288
- url: "/v1/admin/trackers";
360
+ query?: never;
361
+ url: "/v1/admin/product-evidence/tracker-fact-queries";
289
362
  };
290
- export type AdminSearchTrackersErrors = {
363
+ export type AdminQueryTrackerFactEvidenceErrors = {
291
364
  /**
292
365
  * Bad Request
293
366
  */
@@ -300,18 +373,26 @@ export type AdminSearchTrackersErrors = {
300
373
  * Forbidden
301
374
  */
302
375
  403: ProblemDetails;
303
- /**
304
- * Not Found
305
- */
306
- 404: ProblemDetails;
307
376
  /**
308
377
  * Conflict
309
378
  */
310
379
  409: ProblemDetails;
380
+ /**
381
+ * Payload Too Large
382
+ */
383
+ 413: ProblemDetails;
384
+ /**
385
+ * Unsupported Media Type
386
+ */
387
+ 415: ProblemDetails;
311
388
  /**
312
389
  * Too Many Requests
313
390
  */
314
391
  429: ProblemDetails;
392
+ /**
393
+ * Internal Server Error
394
+ */
395
+ 500: ProblemDetails;
315
396
  /**
316
397
  * Bad Gateway
317
398
  */
@@ -321,23 +402,25 @@ export type AdminSearchTrackersErrors = {
321
402
  */
322
403
  503: ProblemDetails;
323
404
  };
324
- export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
325
- export type AdminSearchTrackersResponses = {
405
+ export type AdminQueryTrackerFactEvidenceError = AdminQueryTrackerFactEvidenceErrors[keyof AdminQueryTrackerFactEvidenceErrors];
406
+ export type AdminQueryTrackerFactEvidenceResponses = {
326
407
  /**
327
408
  * OK
328
409
  */
329
- 200: AdminReadResult;
410
+ 200: AdminEvidenceSnapshot;
330
411
  };
331
- export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
332
- export type AdminGetUserData = {
412
+ export type AdminQueryTrackerFactEvidenceResponse = AdminQueryTrackerFactEvidenceResponses[keyof AdminQueryTrackerFactEvidenceResponses];
413
+ export type AdminGetSubscriptionFactEvidenceData = {
333
414
  body?: never;
334
415
  path: {
335
- uid: string;
416
+ subscriptionId: string;
336
417
  };
337
- query?: never;
338
- url: "/v1/admin/users/{uid}";
418
+ query: {
419
+ domain: "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
420
+ };
421
+ url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}";
339
422
  };
340
- export type AdminGetUserErrors = {
423
+ export type AdminGetSubscriptionFactEvidenceErrors = {
341
424
  /**
342
425
  * Bad Request
343
426
  */
@@ -350,18 +433,22 @@ export type AdminGetUserErrors = {
350
433
  * Forbidden
351
434
  */
352
435
  403: ProblemDetails;
353
- /**
354
- * Not Found
355
- */
356
- 404: ProblemDetails;
357
436
  /**
358
437
  * Conflict
359
438
  */
360
439
  409: ProblemDetails;
440
+ /**
441
+ * Payload Too Large
442
+ */
443
+ 413: ProblemDetails;
361
444
  /**
362
445
  * Too Many Requests
363
446
  */
364
447
  429: ProblemDetails;
448
+ /**
449
+ * Internal Server Error
450
+ */
451
+ 500: ProblemDetails;
365
452
  /**
366
453
  * Bad Gateway
367
454
  */
@@ -371,23 +458,23 @@ export type AdminGetUserErrors = {
371
458
  */
372
459
  503: ProblemDetails;
373
460
  };
374
- export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
375
- export type AdminGetUserResponses = {
461
+ export type AdminGetSubscriptionFactEvidenceError = AdminGetSubscriptionFactEvidenceErrors[keyof AdminGetSubscriptionFactEvidenceErrors];
462
+ export type AdminGetSubscriptionFactEvidenceResponses = {
376
463
  /**
377
464
  * OK
378
465
  */
379
- 200: AdminReadResult;
466
+ 200: AdminEvidenceSnapshot;
380
467
  };
381
- export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
382
- export type AdminGetSubscriptionData = {
383
- body?: never;
468
+ export type AdminGetSubscriptionFactEvidenceResponse = AdminGetSubscriptionFactEvidenceResponses[keyof AdminGetSubscriptionFactEvidenceResponses];
469
+ export type AdminQueryTrackerSubscriptionEvidenceData = {
470
+ body: AdminEvidenceAccountsRequest;
384
471
  path: {
385
- subscriptionId: string;
472
+ trackerId: string;
386
473
  };
387
474
  query?: never;
388
- url: "/v1/admin/subscriptions/{subscriptionId}";
475
+ url: "/v1/admin/product-evidence/trackers/{trackerId}/subscription-queries";
389
476
  };
390
- export type AdminGetSubscriptionErrors = {
477
+ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
391
478
  /**
392
479
  * Bad Request
393
480
  */
@@ -400,18 +487,26 @@ export type AdminGetSubscriptionErrors = {
400
487
  * Forbidden
401
488
  */
402
489
  403: ProblemDetails;
403
- /**
404
- * Not Found
405
- */
406
- 404: ProblemDetails;
407
490
  /**
408
491
  * Conflict
409
492
  */
410
493
  409: ProblemDetails;
494
+ /**
495
+ * Payload Too Large
496
+ */
497
+ 413: ProblemDetails;
498
+ /**
499
+ * Unsupported Media Type
500
+ */
501
+ 415: ProblemDetails;
411
502
  /**
412
503
  * Too Many Requests
413
504
  */
414
505
  429: ProblemDetails;
506
+ /**
507
+ * Internal Server Error
508
+ */
509
+ 500: ProblemDetails;
415
510
  /**
416
511
  * Bad Gateway
417
512
  */
@@ -421,25 +516,23 @@ export type AdminGetSubscriptionErrors = {
421
516
  */
422
517
  503: ProblemDetails;
423
518
  };
424
- export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
425
- export type AdminGetSubscriptionResponses = {
519
+ export type AdminQueryTrackerSubscriptionEvidenceError = AdminQueryTrackerSubscriptionEvidenceErrors[keyof AdminQueryTrackerSubscriptionEvidenceErrors];
520
+ export type AdminQueryTrackerSubscriptionEvidenceResponses = {
426
521
  /**
427
522
  * OK
428
523
  */
429
- 200: AdminReadResult;
524
+ 200: AdminEvidenceSnapshot;
430
525
  };
431
- export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
432
- export type AdminSearchSubscriptionsData = {
433
- body?: never;
434
- path?: never;
435
- query: {
436
- kind: AdminSubscriptionSearchKind;
437
- value?: string;
438
- cursor?: string;
526
+ export type AdminQueryTrackerSubscriptionEvidenceResponse = AdminQueryTrackerSubscriptionEvidenceResponses[keyof AdminQueryTrackerSubscriptionEvidenceResponses];
527
+ export type AdminQueryCommerceBindingEvidenceData = {
528
+ body: AdminEvidenceAccountsRequest;
529
+ path: {
530
+ wooId: number;
439
531
  };
440
- url: "/v1/admin/subscriptions";
532
+ query?: never;
533
+ url: "/v1/admin/product-evidence/commerce-subscriptions/{wooId}/binding-queries";
441
534
  };
442
- export type AdminSearchSubscriptionsErrors = {
535
+ export type AdminQueryCommerceBindingEvidenceErrors = {
443
536
  /**
444
537
  * Bad Request
445
538
  */
@@ -452,18 +545,26 @@ export type AdminSearchSubscriptionsErrors = {
452
545
  * Forbidden
453
546
  */
454
547
  403: ProblemDetails;
455
- /**
456
- * Not Found
457
- */
458
- 404: ProblemDetails;
459
548
  /**
460
549
  * Conflict
461
550
  */
462
551
  409: ProblemDetails;
552
+ /**
553
+ * Payload Too Large
554
+ */
555
+ 413: ProblemDetails;
556
+ /**
557
+ * Unsupported Media Type
558
+ */
559
+ 415: ProblemDetails;
463
560
  /**
464
561
  * Too Many Requests
465
562
  */
466
563
  429: ProblemDetails;
564
+ /**
565
+ * Internal Server Error
566
+ */
567
+ 500: ProblemDetails;
467
568
  /**
468
569
  * Bad Gateway
469
570
  */
@@ -473,26 +574,23 @@ export type AdminSearchSubscriptionsErrors = {
473
574
  */
474
575
  503: ProblemDetails;
475
576
  };
476
- export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
477
- export type AdminSearchSubscriptionsResponses = {
577
+ export type AdminQueryCommerceBindingEvidenceError = AdminQueryCommerceBindingEvidenceErrors[keyof AdminQueryCommerceBindingEvidenceErrors];
578
+ export type AdminQueryCommerceBindingEvidenceResponses = {
478
579
  /**
479
580
  * OK
480
581
  */
481
- 200: AdminReadResult;
582
+ 200: AdminEvidenceSnapshot;
482
583
  };
483
- export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
484
- export type AdminListInsuranceData = {
485
- body?: never;
584
+ export type AdminQueryCommerceBindingEvidenceResponse = AdminQueryCommerceBindingEvidenceResponses[keyof AdminQueryCommerceBindingEvidenceResponses];
585
+ export type AdminQueryTrackerHistoryEvidenceData = {
586
+ body: AdminEvidenceHistoryRequest;
486
587
  path: {
487
- subscriptionId: string;
488
- provider: AdminInsuranceProvider;
489
- };
490
- query?: {
491
- cursor?: string;
588
+ trackerId: string;
492
589
  };
493
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
590
+ query?: never;
591
+ url: "/v1/admin/product-evidence/trackers/{trackerId}/history-queries";
494
592
  };
495
- export type AdminListInsuranceErrors = {
593
+ export type AdminQueryTrackerHistoryEvidenceErrors = {
496
594
  /**
497
595
  * Bad Request
498
596
  */
@@ -505,18 +603,26 @@ export type AdminListInsuranceErrors = {
505
603
  * Forbidden
506
604
  */
507
605
  403: ProblemDetails;
508
- /**
509
- * Not Found
510
- */
511
- 404: ProblemDetails;
512
606
  /**
513
607
  * Conflict
514
608
  */
515
609
  409: ProblemDetails;
610
+ /**
611
+ * Payload Too Large
612
+ */
613
+ 413: ProblemDetails;
614
+ /**
615
+ * Unsupported Media Type
616
+ */
617
+ 415: ProblemDetails;
516
618
  /**
517
619
  * Too Many Requests
518
620
  */
519
621
  429: ProblemDetails;
622
+ /**
623
+ * Internal Server Error
624
+ */
625
+ 500: ProblemDetails;
520
626
  /**
521
627
  * Bad Gateway
522
628
  */
@@ -526,23 +632,23 @@ export type AdminListInsuranceErrors = {
526
632
  */
527
633
  503: ProblemDetails;
528
634
  };
529
- export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
530
- export type AdminListInsuranceResponses = {
635
+ export type AdminQueryTrackerHistoryEvidenceError = AdminQueryTrackerHistoryEvidenceErrors[keyof AdminQueryTrackerHistoryEvidenceErrors];
636
+ export type AdminQueryTrackerHistoryEvidenceResponses = {
531
637
  /**
532
638
  * OK
533
639
  */
534
- 200: AdminReadResult;
640
+ 200: AdminEvidenceSnapshot;
535
641
  };
536
- export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
537
- export type AdminListFavoritesData = {
538
- body?: never;
539
- path?: never;
540
- query?: {
541
- cursor?: string;
642
+ export type AdminQueryTrackerHistoryEvidenceResponse = AdminQueryTrackerHistoryEvidenceResponses[keyof AdminQueryTrackerHistoryEvidenceResponses];
643
+ export type AdminQueryTrackerRelationshipEvidenceData = {
644
+ body: AdminRelationshipRequest;
645
+ path: {
646
+ trackerId: string;
542
647
  };
543
- url: "/v1/admin/favorites";
648
+ query?: never;
649
+ url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-queries";
544
650
  };
545
- export type AdminListFavoritesErrors = {
651
+ export type AdminQueryTrackerRelationshipEvidenceErrors = {
546
652
  /**
547
653
  * Bad Request
548
654
  */
@@ -555,18 +661,26 @@ export type AdminListFavoritesErrors = {
555
661
  * Forbidden
556
662
  */
557
663
  403: ProblemDetails;
558
- /**
559
- * Not Found
560
- */
561
- 404: ProblemDetails;
562
664
  /**
563
665
  * Conflict
564
666
  */
565
667
  409: ProblemDetails;
668
+ /**
669
+ * Payload Too Large
670
+ */
671
+ 413: ProblemDetails;
672
+ /**
673
+ * Unsupported Media Type
674
+ */
675
+ 415: ProblemDetails;
566
676
  /**
567
677
  * Too Many Requests
568
678
  */
569
679
  429: ProblemDetails;
680
+ /**
681
+ * Internal Server Error
682
+ */
683
+ 500: ProblemDetails;
570
684
  /**
571
685
  * Bad Gateway
572
686
  */
@@ -576,23 +690,23 @@ export type AdminListFavoritesErrors = {
576
690
  */
577
691
  503: ProblemDetails;
578
692
  };
579
- export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
580
- export type AdminListFavoritesResponses = {
693
+ export type AdminQueryTrackerRelationshipEvidenceError = AdminQueryTrackerRelationshipEvidenceErrors[keyof AdminQueryTrackerRelationshipEvidenceErrors];
694
+ export type AdminQueryTrackerRelationshipEvidenceResponses = {
581
695
  /**
582
696
  * OK
583
697
  */
584
- 200: AdminReadResult;
698
+ 200: AdminEvidenceSnapshot;
585
699
  };
586
- export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
587
- export type AdminDeleteFavoriteData = {
588
- body?: never;
700
+ export type AdminQueryTrackerRelationshipEvidenceResponse = AdminQueryTrackerRelationshipEvidenceResponses[keyof AdminQueryTrackerRelationshipEvidenceResponses];
701
+ export type AdminChangeTrackerRelationshipData = {
702
+ body: AdminRelationshipChangeRequest;
589
703
  path: {
590
704
  trackerId: string;
591
705
  };
592
706
  query?: never;
593
- url: "/v1/admin/favorites/{trackerId}";
707
+ url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-changes";
594
708
  };
595
- export type AdminDeleteFavoriteErrors = {
709
+ export type AdminChangeTrackerRelationshipErrors = {
596
710
  /**
597
711
  * Bad Request
598
712
  */
@@ -605,18 +719,26 @@ export type AdminDeleteFavoriteErrors = {
605
719
  * Forbidden
606
720
  */
607
721
  403: ProblemDetails;
608
- /**
609
- * Not Found
610
- */
611
- 404: ProblemDetails;
612
722
  /**
613
723
  * Conflict
614
724
  */
615
725
  409: ProblemDetails;
726
+ /**
727
+ * Payload Too Large
728
+ */
729
+ 413: ProblemDetails;
730
+ /**
731
+ * Unsupported Media Type
732
+ */
733
+ 415: ProblemDetails;
616
734
  /**
617
735
  * Too Many Requests
618
736
  */
619
737
  429: ProblemDetails;
738
+ /**
739
+ * Internal Server Error
740
+ */
741
+ 500: ProblemDetails;
620
742
  /**
621
743
  * Bad Gateway
622
744
  */
@@ -626,23 +748,23 @@ export type AdminDeleteFavoriteErrors = {
626
748
  */
627
749
  503: ProblemDetails;
628
750
  };
629
- export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
630
- export type AdminDeleteFavoriteResponses = {
751
+ export type AdminChangeTrackerRelationshipError = AdminChangeTrackerRelationshipErrors[keyof AdminChangeTrackerRelationshipErrors];
752
+ export type AdminChangeTrackerRelationshipResponses = {
631
753
  /**
632
754
  * OK
633
755
  */
634
756
  200: CommandSuccess;
635
757
  };
636
- export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
637
- export type AdminGetFavoriteData = {
638
- body?: never;
758
+ export type AdminChangeTrackerRelationshipResponse = AdminChangeTrackerRelationshipResponses[keyof AdminChangeTrackerRelationshipResponses];
759
+ export type AdminVerifyTrackerRelationshipData = {
760
+ body: AdminRelationshipVerificationRequest;
639
761
  path: {
640
762
  trackerId: string;
641
763
  };
642
764
  query?: never;
643
- url: "/v1/admin/favorites/{trackerId}";
765
+ url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-verification-queries";
644
766
  };
645
- export type AdminGetFavoriteErrors = {
767
+ export type AdminVerifyTrackerRelationshipErrors = {
646
768
  /**
647
769
  * Bad Request
648
770
  */
@@ -655,18 +777,26 @@ export type AdminGetFavoriteErrors = {
655
777
  * Forbidden
656
778
  */
657
779
  403: ProblemDetails;
658
- /**
659
- * Not Found
660
- */
661
- 404: ProblemDetails;
662
780
  /**
663
781
  * Conflict
664
782
  */
665
783
  409: ProblemDetails;
784
+ /**
785
+ * Payload Too Large
786
+ */
787
+ 413: ProblemDetails;
788
+ /**
789
+ * Unsupported Media Type
790
+ */
791
+ 415: ProblemDetails;
666
792
  /**
667
793
  * Too Many Requests
668
794
  */
669
795
  429: ProblemDetails;
796
+ /**
797
+ * Internal Server Error
798
+ */
799
+ 500: ProblemDetails;
670
800
  /**
671
801
  * Bad Gateway
672
802
  */
@@ -676,23 +806,21 @@ export type AdminGetFavoriteErrors = {
676
806
  */
677
807
  503: ProblemDetails;
678
808
  };
679
- export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
680
- export type AdminGetFavoriteResponses = {
809
+ export type AdminVerifyTrackerRelationshipError = AdminVerifyTrackerRelationshipErrors[keyof AdminVerifyTrackerRelationshipErrors];
810
+ export type AdminVerifyTrackerRelationshipResponses = {
681
811
  /**
682
812
  * OK
683
813
  */
684
- 200: AdminReadResult;
814
+ 200: AdminRelationshipVerification;
685
815
  };
686
- export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
687
- export type AdminUpdateFavoriteCommentData = {
688
- body: AdminFavoriteRequest;
689
- path: {
690
- trackerId: string;
691
- };
816
+ export type AdminVerifyTrackerRelationshipResponse = AdminVerifyTrackerRelationshipResponses[keyof AdminVerifyTrackerRelationshipResponses];
817
+ export type AdminGetSessionData = {
818
+ body?: never;
819
+ path?: never;
692
820
  query?: never;
693
- url: "/v1/admin/favorites/{trackerId}";
821
+ url: "/v1/admin/session";
694
822
  };
695
- export type AdminUpdateFavoriteCommentErrors = {
823
+ export type AdminGetSessionErrors = {
696
824
  /**
697
825
  * Bad Request
698
826
  */
@@ -713,10 +841,18 @@ export type AdminUpdateFavoriteCommentErrors = {
713
841
  * Conflict
714
842
  */
715
843
  409: ProblemDetails;
844
+ /**
845
+ * Payload Too Large
846
+ */
847
+ 413: ProblemDetails;
716
848
  /**
717
849
  * Too Many Requests
718
850
  */
719
851
  429: ProblemDetails;
852
+ /**
853
+ * Internal Server Error
854
+ */
855
+ 500: ProblemDetails;
720
856
  /**
721
857
  * Bad Gateway
722
858
  */
@@ -726,23 +862,25 @@ export type AdminUpdateFavoriteCommentErrors = {
726
862
  */
727
863
  503: ProblemDetails;
728
864
  };
729
- export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
730
- export type AdminUpdateFavoriteCommentResponses = {
865
+ export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
866
+ export type AdminGetSessionResponses = {
731
867
  /**
732
868
  * OK
733
869
  */
734
- 200: CommandSuccess;
870
+ 200: AdminSession;
735
871
  };
736
- export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
737
- export type AdminPutFavoriteData = {
738
- body: AdminFavoriteRequest;
872
+ export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
873
+ export type AdminGetTrackerData = {
874
+ body?: never;
739
875
  path: {
740
876
  trackerId: string;
741
877
  };
742
- query?: never;
743
- url: "/v1/admin/favorites/{trackerId}";
878
+ query?: {
879
+ domains?: Array<"battery" | "configuration" | "contact" | "location">;
880
+ };
881
+ url: "/v1/admin/trackers/{trackerId}";
744
882
  };
745
- export type AdminPutFavoriteErrors = {
883
+ export type AdminGetTrackerErrors = {
746
884
  /**
747
885
  * Bad Request
748
886
  */
@@ -763,10 +901,18 @@ export type AdminPutFavoriteErrors = {
763
901
  * Conflict
764
902
  */
765
903
  409: ProblemDetails;
904
+ /**
905
+ * Payload Too Large
906
+ */
907
+ 413: ProblemDetails;
766
908
  /**
767
909
  * Too Many Requests
768
910
  */
769
911
  429: ProblemDetails;
912
+ /**
913
+ * Internal Server Error
914
+ */
915
+ 500: ProblemDetails;
770
916
  /**
771
917
  * Bad Gateway
772
918
  */
@@ -776,28 +922,25 @@ export type AdminPutFavoriteErrors = {
776
922
  */
777
923
  503: ProblemDetails;
778
924
  };
779
- export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
780
- export type AdminPutFavoriteResponses = {
925
+ export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
926
+ export type AdminGetTrackerResponses = {
781
927
  /**
782
928
  * OK
783
929
  */
784
- 200: CommandSuccess;
930
+ 200: AdminReadResult;
785
931
  };
786
- export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
787
- export type AdminListTrackerHistoryData = {
932
+ export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
933
+ export type AdminSearchTrackersData = {
788
934
  body?: never;
789
- path: {
790
- trackerId: string;
791
- collection: AdminHistoryCollection;
792
- };
793
- query?: {
794
- from?: number;
795
- to?: number;
935
+ path?: never;
936
+ query: {
937
+ kind: "iccid" | "imei" | "subscriptionId" | "uid";
938
+ value: string;
796
939
  cursor?: string;
797
940
  };
798
- url: "/v1/admin/trackers/{trackerId}/history/{collection}";
941
+ url: "/v1/admin/trackers";
799
942
  };
800
- export type AdminListTrackerHistoryErrors = {
943
+ export type AdminSearchTrackersErrors = {
801
944
  /**
802
945
  * Bad Request
803
946
  */
@@ -818,10 +961,18 @@ export type AdminListTrackerHistoryErrors = {
818
961
  * Conflict
819
962
  */
820
963
  409: ProblemDetails;
964
+ /**
965
+ * Payload Too Large
966
+ */
967
+ 413: ProblemDetails;
821
968
  /**
822
969
  * Too Many Requests
823
970
  */
824
971
  429: ProblemDetails;
972
+ /**
973
+ * Internal Server Error
974
+ */
975
+ 500: ProblemDetails;
825
976
  /**
826
977
  * Bad Gateway
827
978
  */
@@ -831,25 +982,34 @@ export type AdminListTrackerHistoryErrors = {
831
982
  */
832
983
  503: ProblemDetails;
833
984
  };
834
- export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
835
- export type AdminListTrackerHistoryResponses = {
985
+ export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
986
+ export type AdminSearchTrackersResponses = {
836
987
  /**
837
988
  * OK
838
989
  */
839
990
  200: AdminReadResult;
840
991
  };
841
- export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
842
- export type AdminGetTrackerOperationalStateData = {
992
+ export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
993
+ export type AdminListTrackerHistoryData = {
843
994
  body?: never;
844
995
  path: {
845
996
  trackerId: string;
997
+ collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
846
998
  };
847
- query: {
848
- domains: Array<AdminPrivateDomain>;
999
+ query?: {
1000
+ /**
1001
+ * Inclusive ISO timestamp with timezone.
1002
+ */
1003
+ from?: string;
1004
+ /**
1005
+ * Exclusive ISO timestamp with timezone.
1006
+ */
1007
+ to?: string;
1008
+ cursor?: string;
849
1009
  };
850
- url: "/v1/admin/trackers/{trackerId}/operational-state";
1010
+ url: "/v1/admin/trackers/{trackerId}/history/{collection}";
851
1011
  };
852
- export type AdminGetTrackerOperationalStateErrors = {
1012
+ export type AdminListTrackerHistoryErrors = {
853
1013
  /**
854
1014
  * Bad Request
855
1015
  */
@@ -870,10 +1030,18 @@ export type AdminGetTrackerOperationalStateErrors = {
870
1030
  * Conflict
871
1031
  */
872
1032
  409: ProblemDetails;
1033
+ /**
1034
+ * Payload Too Large
1035
+ */
1036
+ 413: ProblemDetails;
873
1037
  /**
874
1038
  * Too Many Requests
875
1039
  */
876
1040
  429: ProblemDetails;
1041
+ /**
1042
+ * Internal Server Error
1043
+ */
1044
+ 500: ProblemDetails;
877
1045
  /**
878
1046
  * Bad Gateway
879
1047
  */
@@ -883,21 +1051,25 @@ export type AdminGetTrackerOperationalStateErrors = {
883
1051
  */
884
1052
  503: ProblemDetails;
885
1053
  };
886
- export type AdminGetTrackerOperationalStateError = AdminGetTrackerOperationalStateErrors[keyof AdminGetTrackerOperationalStateErrors];
887
- export type AdminGetTrackerOperationalStateResponses = {
1054
+ export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
1055
+ export type AdminListTrackerHistoryResponses = {
888
1056
  /**
889
1057
  * OK
890
1058
  */
891
- 200: AdminOperationalState;
1059
+ 200: AdminReadResult;
892
1060
  };
893
- export type AdminGetTrackerOperationalStateResponse = AdminGetTrackerOperationalStateResponses[keyof AdminGetTrackerOperationalStateResponses];
894
- export type AdminGetSessionData = {
1061
+ export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
1062
+ export type AdminGetTrackerOperationalStateData = {
895
1063
  body?: never;
896
- path?: never;
897
- query?: never;
898
- url: "/v1/admin/session";
1064
+ path: {
1065
+ trackerId: string;
1066
+ };
1067
+ query: {
1068
+ domains: Array<"battery" | "firmware" | "runtime" | "statistics">;
1069
+ };
1070
+ url: "/v1/admin/trackers/{trackerId}/operational-state";
899
1071
  };
900
- export type AdminGetSessionErrors = {
1072
+ export type AdminGetTrackerOperationalStateErrors = {
901
1073
  /**
902
1074
  * Bad Request
903
1075
  */
@@ -918,10 +1090,18 @@ export type AdminGetSessionErrors = {
918
1090
  * Conflict
919
1091
  */
920
1092
  409: ProblemDetails;
1093
+ /**
1094
+ * Payload Too Large
1095
+ */
1096
+ 413: ProblemDetails;
921
1097
  /**
922
1098
  * Too Many Requests
923
1099
  */
924
1100
  429: ProblemDetails;
1101
+ /**
1102
+ * Internal Server Error
1103
+ */
1104
+ 500: ProblemDetails;
925
1105
  /**
926
1106
  * Bad Gateway
927
1107
  */
@@ -931,21 +1111,23 @@ export type AdminGetSessionErrors = {
931
1111
  */
932
1112
  503: ProblemDetails;
933
1113
  };
934
- export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
935
- export type AdminGetSessionResponses = {
1114
+ export type AdminGetTrackerOperationalStateError = AdminGetTrackerOperationalStateErrors[keyof AdminGetTrackerOperationalStateErrors];
1115
+ export type AdminGetTrackerOperationalStateResponses = {
936
1116
  /**
937
1117
  * OK
938
1118
  */
939
- 200: AdminSession;
1119
+ 200: AdminOperationalState;
940
1120
  };
941
- export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
942
- export type AdminLookupUsersData = {
943
- body: AdminLookupRequest;
944
- path?: never;
1121
+ export type AdminGetTrackerOperationalStateResponse = AdminGetTrackerOperationalStateResponses[keyof AdminGetTrackerOperationalStateResponses];
1122
+ export type AdminRequestTrackerModeData = {
1123
+ body: AdminModeRequest;
1124
+ path: {
1125
+ trackerId: string;
1126
+ };
945
1127
  query?: never;
946
- url: "/v1/admin/users/lookup";
1128
+ url: "/v1/admin/trackers/{trackerId}/mode-requests";
947
1129
  };
948
- export type AdminLookupUsersErrors = {
1130
+ export type AdminRequestTrackerModeErrors = {
949
1131
  /**
950
1132
  * Bad Request
951
1133
  */
@@ -966,10 +1148,22 @@ export type AdminLookupUsersErrors = {
966
1148
  * Conflict
967
1149
  */
968
1150
  409: ProblemDetails;
1151
+ /**
1152
+ * Payload Too Large
1153
+ */
1154
+ 413: ProblemDetails;
1155
+ /**
1156
+ * Unsupported Media Type
1157
+ */
1158
+ 415: ProblemDetails;
969
1159
  /**
970
1160
  * Too Many Requests
971
1161
  */
972
1162
  429: ProblemDetails;
1163
+ /**
1164
+ * Internal Server Error
1165
+ */
1166
+ 500: ProblemDetails;
973
1167
  /**
974
1168
  * Bad Gateway
975
1169
  */
@@ -979,23 +1173,23 @@ export type AdminLookupUsersErrors = {
979
1173
  */
980
1174
  503: ProblemDetails;
981
1175
  };
982
- export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
983
- export type AdminLookupUsersResponses = {
1176
+ export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1177
+ export type AdminRequestTrackerModeResponses = {
984
1178
  /**
985
1179
  * OK
986
1180
  */
987
- 200: AdminLookupResult;
1181
+ 200: CommandSuccess;
988
1182
  };
989
- export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
990
- export type AdminAddTrackerMemberData = {
991
- body: AdminAddMemberRequest;
1183
+ export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1184
+ export type AdminRequestTrackerCommandData = {
1185
+ body: AdminTrackerCommandRequest;
992
1186
  path: {
993
1187
  trackerId: string;
994
1188
  };
995
1189
  query?: never;
996
- url: "/v1/admin/trackers/{trackerId}/members";
1190
+ url: "/v1/admin/trackers/{trackerId}/pending-command";
997
1191
  };
998
- export type AdminAddTrackerMemberErrors = {
1192
+ export type AdminRequestTrackerCommandErrors = {
999
1193
  /**
1000
1194
  * Bad Request
1001
1195
  */
@@ -1016,10 +1210,22 @@ export type AdminAddTrackerMemberErrors = {
1016
1210
  * Conflict
1017
1211
  */
1018
1212
  409: ProblemDetails;
1213
+ /**
1214
+ * Payload Too Large
1215
+ */
1216
+ 413: ProblemDetails;
1217
+ /**
1218
+ * Unsupported Media Type
1219
+ */
1220
+ 415: ProblemDetails;
1019
1221
  /**
1020
1222
  * Too Many Requests
1021
1223
  */
1022
1224
  429: ProblemDetails;
1225
+ /**
1226
+ * Internal Server Error
1227
+ */
1228
+ 500: ProblemDetails;
1023
1229
  /**
1024
1230
  * Bad Gateway
1025
1231
  */
@@ -1029,24 +1235,23 @@ export type AdminAddTrackerMemberErrors = {
1029
1235
  */
1030
1236
  503: ProblemDetails;
1031
1237
  };
1032
- export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1033
- export type AdminAddTrackerMemberResponses = {
1238
+ export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1239
+ export type AdminRequestTrackerCommandResponses = {
1034
1240
  /**
1035
1241
  * OK
1036
1242
  */
1037
1243
  200: CommandSuccess;
1038
1244
  };
1039
- export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1040
- export type AdminRemoveTrackerMemberData = {
1041
- body?: never;
1245
+ export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1246
+ export type AdminUpdateTrackerConfigurationData = {
1247
+ body: AdminConfigurationRequest;
1042
1248
  path: {
1043
1249
  trackerId: string;
1044
- uid: string;
1045
1250
  };
1046
1251
  query?: never;
1047
- url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1252
+ url: "/v1/admin/trackers/{trackerId}/configuration";
1048
1253
  };
1049
- export type AdminRemoveTrackerMemberErrors = {
1254
+ export type AdminUpdateTrackerConfigurationErrors = {
1050
1255
  /**
1051
1256
  * Bad Request
1052
1257
  */
@@ -1067,10 +1272,22 @@ export type AdminRemoveTrackerMemberErrors = {
1067
1272
  * Conflict
1068
1273
  */
1069
1274
  409: ProblemDetails;
1275
+ /**
1276
+ * Payload Too Large
1277
+ */
1278
+ 413: ProblemDetails;
1279
+ /**
1280
+ * Unsupported Media Type
1281
+ */
1282
+ 415: ProblemDetails;
1070
1283
  /**
1071
1284
  * Too Many Requests
1072
1285
  */
1073
1286
  429: ProblemDetails;
1287
+ /**
1288
+ * Internal Server Error
1289
+ */
1290
+ 500: ProblemDetails;
1074
1291
  /**
1075
1292
  * Bad Gateway
1076
1293
  */
@@ -1080,23 +1297,23 @@ export type AdminRemoveTrackerMemberErrors = {
1080
1297
  */
1081
1298
  503: ProblemDetails;
1082
1299
  };
1083
- export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1084
- export type AdminRemoveTrackerMemberResponses = {
1300
+ export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1301
+ export type AdminUpdateTrackerConfigurationResponses = {
1085
1302
  /**
1086
1303
  * OK
1087
1304
  */
1088
1305
  200: CommandSuccess;
1089
1306
  };
1090
- export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1091
- export type AdminRequestTrackerModeData = {
1092
- body: AdminModeRequest;
1307
+ export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1308
+ export type AdminUpdateTrackerBikeData = {
1309
+ body: AdminBikeRequest;
1093
1310
  path: {
1094
1311
  trackerId: string;
1095
1312
  };
1096
1313
  query?: never;
1097
- url: "/v1/admin/trackers/{trackerId}/mode";
1314
+ url: "/v1/admin/trackers/{trackerId}/bike";
1098
1315
  };
1099
- export type AdminRequestTrackerModeErrors = {
1316
+ export type AdminUpdateTrackerBikeErrors = {
1100
1317
  /**
1101
1318
  * Bad Request
1102
1319
  */
@@ -1117,10 +1334,22 @@ export type AdminRequestTrackerModeErrors = {
1117
1334
  * Conflict
1118
1335
  */
1119
1336
  409: ProblemDetails;
1337
+ /**
1338
+ * Payload Too Large
1339
+ */
1340
+ 413: ProblemDetails;
1341
+ /**
1342
+ * Unsupported Media Type
1343
+ */
1344
+ 415: ProblemDetails;
1120
1345
  /**
1121
1346
  * Too Many Requests
1122
1347
  */
1123
1348
  429: ProblemDetails;
1349
+ /**
1350
+ * Internal Server Error
1351
+ */
1352
+ 500: ProblemDetails;
1124
1353
  /**
1125
1354
  * Bad Gateway
1126
1355
  */
@@ -1130,23 +1359,23 @@ export type AdminRequestTrackerModeErrors = {
1130
1359
  */
1131
1360
  503: ProblemDetails;
1132
1361
  };
1133
- export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1134
- export type AdminRequestTrackerModeResponses = {
1362
+ export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1363
+ export type AdminUpdateTrackerBikeResponses = {
1135
1364
  /**
1136
1365
  * OK
1137
1366
  */
1138
1367
  200: CommandSuccess;
1139
1368
  };
1140
- export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1141
- export type AdminRequestTrackerCommandData = {
1142
- body: AdminTrackerCommandRequest;
1369
+ export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1370
+ export type AdminCleanTrackerData = {
1371
+ body: AdminRequestId;
1143
1372
  path: {
1144
1373
  trackerId: string;
1145
1374
  };
1146
1375
  query?: never;
1147
- url: "/v1/admin/trackers/{trackerId}/command";
1376
+ url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
1148
1377
  };
1149
- export type AdminRequestTrackerCommandErrors = {
1378
+ export type AdminCleanTrackerErrors = {
1150
1379
  /**
1151
1380
  * Bad Request
1152
1381
  */
@@ -1167,10 +1396,22 @@ export type AdminRequestTrackerCommandErrors = {
1167
1396
  * Conflict
1168
1397
  */
1169
1398
  409: ProblemDetails;
1399
+ /**
1400
+ * Payload Too Large
1401
+ */
1402
+ 413: ProblemDetails;
1403
+ /**
1404
+ * Unsupported Media Type
1405
+ */
1406
+ 415: ProblemDetails;
1170
1407
  /**
1171
1408
  * Too Many Requests
1172
1409
  */
1173
1410
  429: ProblemDetails;
1411
+ /**
1412
+ * Internal Server Error
1413
+ */
1414
+ 500: ProblemDetails;
1174
1415
  /**
1175
1416
  * Bad Gateway
1176
1417
  */
@@ -1180,23 +1421,23 @@ export type AdminRequestTrackerCommandErrors = {
1180
1421
  */
1181
1422
  503: ProblemDetails;
1182
1423
  };
1183
- export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1184
- export type AdminRequestTrackerCommandResponses = {
1424
+ export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1425
+ export type AdminCleanTrackerResponses = {
1185
1426
  /**
1186
- * OK
1427
+ * Accepted
1187
1428
  */
1188
- 200: CommandSuccess;
1429
+ 202: AdminTrackerCommandResult;
1189
1430
  };
1190
- export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1191
- export type AdminUpdateTrackerConfigurationData = {
1192
- body: AdminConfigurationRequest;
1431
+ export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1432
+ export type AdminSetTrackerDenylistData = {
1433
+ body: AdminDenylistRequest;
1193
1434
  path: {
1194
1435
  trackerId: string;
1195
1436
  };
1196
1437
  query?: never;
1197
- url: "/v1/admin/trackers/{trackerId}/configuration";
1438
+ url: "/v1/admin/trackers/{trackerId}/denylist";
1198
1439
  };
1199
- export type AdminUpdateTrackerConfigurationErrors = {
1440
+ export type AdminSetTrackerDenylistErrors = {
1200
1441
  /**
1201
1442
  * Bad Request
1202
1443
  */
@@ -1217,10 +1458,22 @@ export type AdminUpdateTrackerConfigurationErrors = {
1217
1458
  * Conflict
1218
1459
  */
1219
1460
  409: ProblemDetails;
1461
+ /**
1462
+ * Payload Too Large
1463
+ */
1464
+ 413: ProblemDetails;
1465
+ /**
1466
+ * Unsupported Media Type
1467
+ */
1468
+ 415: ProblemDetails;
1220
1469
  /**
1221
1470
  * Too Many Requests
1222
1471
  */
1223
1472
  429: ProblemDetails;
1473
+ /**
1474
+ * Internal Server Error
1475
+ */
1476
+ 500: ProblemDetails;
1224
1477
  /**
1225
1478
  * Bad Gateway
1226
1479
  */
@@ -1230,23 +1483,23 @@ export type AdminUpdateTrackerConfigurationErrors = {
1230
1483
  */
1231
1484
  503: ProblemDetails;
1232
1485
  };
1233
- export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1234
- export type AdminUpdateTrackerConfigurationResponses = {
1486
+ export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1487
+ export type AdminSetTrackerDenylistResponses = {
1235
1488
  /**
1236
1489
  * OK
1237
1490
  */
1238
- 200: CommandSuccess;
1491
+ 200: AdminTrackerCommandResult;
1239
1492
  };
1240
- export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1241
- export type AdminUpdateTrackerBikeData = {
1242
- body: AdminBikeRequest;
1493
+ export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1494
+ export type AdminNotifyTrackerData = {
1495
+ body: AdminNotificationRequest;
1243
1496
  path: {
1244
1497
  trackerId: string;
1245
1498
  };
1246
1499
  query?: never;
1247
- url: "/v1/admin/trackers/{trackerId}/bike";
1500
+ url: "/v1/admin/trackers/{trackerId}/notification-requests";
1248
1501
  };
1249
- export type AdminUpdateTrackerBikeErrors = {
1502
+ export type AdminNotifyTrackerErrors = {
1250
1503
  /**
1251
1504
  * Bad Request
1252
1505
  */
@@ -1267,10 +1520,22 @@ export type AdminUpdateTrackerBikeErrors = {
1267
1520
  * Conflict
1268
1521
  */
1269
1522
  409: ProblemDetails;
1523
+ /**
1524
+ * Payload Too Large
1525
+ */
1526
+ 413: ProblemDetails;
1527
+ /**
1528
+ * Unsupported Media Type
1529
+ */
1530
+ 415: ProblemDetails;
1270
1531
  /**
1271
1532
  * Too Many Requests
1272
1533
  */
1273
1534
  429: ProblemDetails;
1535
+ /**
1536
+ * Internal Server Error
1537
+ */
1538
+ 500: ProblemDetails;
1274
1539
  /**
1275
1540
  * Bad Gateway
1276
1541
  */
@@ -1280,23 +1545,86 @@ export type AdminUpdateTrackerBikeErrors = {
1280
1545
  */
1281
1546
  503: ProblemDetails;
1282
1547
  };
1283
- export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1284
- export type AdminUpdateTrackerBikeResponses = {
1548
+ export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1549
+ export type AdminNotifyTrackerResponses = {
1550
+ /**
1551
+ * Accepted
1552
+ */
1553
+ 202: AdminTrackerCommandResult;
1554
+ };
1555
+ export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1556
+ export type AdminAddTrackerMemberData = {
1557
+ body: AdminAddMemberRequest;
1558
+ path: {
1559
+ trackerId: string;
1560
+ };
1561
+ query?: never;
1562
+ url: "/v1/admin/trackers/{trackerId}/members";
1563
+ };
1564
+ export type AdminAddTrackerMemberErrors = {
1565
+ /**
1566
+ * Bad Request
1567
+ */
1568
+ 400: ProblemDetails;
1569
+ /**
1570
+ * Unauthorized
1571
+ */
1572
+ 401: ProblemDetails;
1573
+ /**
1574
+ * Forbidden
1575
+ */
1576
+ 403: ProblemDetails;
1577
+ /**
1578
+ * Not Found
1579
+ */
1580
+ 404: ProblemDetails;
1581
+ /**
1582
+ * Conflict
1583
+ */
1584
+ 409: ProblemDetails;
1585
+ /**
1586
+ * Payload Too Large
1587
+ */
1588
+ 413: ProblemDetails;
1589
+ /**
1590
+ * Unsupported Media Type
1591
+ */
1592
+ 415: ProblemDetails;
1593
+ /**
1594
+ * Too Many Requests
1595
+ */
1596
+ 429: ProblemDetails;
1597
+ /**
1598
+ * Internal Server Error
1599
+ */
1600
+ 500: ProblemDetails;
1601
+ /**
1602
+ * Bad Gateway
1603
+ */
1604
+ 502: ProblemDetails;
1605
+ /**
1606
+ * Service Unavailable
1607
+ */
1608
+ 503: ProblemDetails;
1609
+ };
1610
+ export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1611
+ export type AdminAddTrackerMemberResponses = {
1285
1612
  /**
1286
1613
  * OK
1287
1614
  */
1288
1615
  200: CommandSuccess;
1289
1616
  };
1290
- export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1291
- export type AdminCleanTrackerData = {
1292
- body: AdminRequestId;
1617
+ export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1618
+ export type AdminRemoveTrackerMemberData = {
1619
+ body?: never;
1293
1620
  path: {
1294
1621
  trackerId: string;
1622
+ uid: string;
1295
1623
  };
1296
1624
  query?: never;
1297
- url: "/v1/admin/trackers/{trackerId}/clean";
1625
+ url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1298
1626
  };
1299
- export type AdminCleanTrackerErrors = {
1627
+ export type AdminRemoveTrackerMemberErrors = {
1300
1628
  /**
1301
1629
  * Bad Request
1302
1630
  */
@@ -1317,10 +1645,18 @@ export type AdminCleanTrackerErrors = {
1317
1645
  * Conflict
1318
1646
  */
1319
1647
  409: ProblemDetails;
1648
+ /**
1649
+ * Payload Too Large
1650
+ */
1651
+ 413: ProblemDetails;
1320
1652
  /**
1321
1653
  * Too Many Requests
1322
1654
  */
1323
1655
  429: ProblemDetails;
1656
+ /**
1657
+ * Internal Server Error
1658
+ */
1659
+ 500: ProblemDetails;
1324
1660
  /**
1325
1661
  * Bad Gateway
1326
1662
  */
@@ -1330,23 +1666,23 @@ export type AdminCleanTrackerErrors = {
1330
1666
  */
1331
1667
  503: ProblemDetails;
1332
1668
  };
1333
- export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1334
- export type AdminCleanTrackerResponses = {
1669
+ export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1670
+ export type AdminRemoveTrackerMemberResponses = {
1335
1671
  /**
1336
1672
  * OK
1337
1673
  */
1338
- 200: AdminDeviceCommandResult;
1674
+ 200: CommandSuccess;
1339
1675
  };
1340
- export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1341
- export type AdminSetTrackerDenylistData = {
1342
- body: AdminDenylistRequest;
1676
+ export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1677
+ export type AdminUnlinkTrackerSubscriptionData = {
1678
+ body?: never;
1343
1679
  path: {
1344
1680
  trackerId: string;
1345
1681
  };
1346
1682
  query?: never;
1347
- url: "/v1/admin/trackers/{trackerId}/denylist";
1683
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1348
1684
  };
1349
- export type AdminSetTrackerDenylistErrors = {
1685
+ export type AdminUnlinkTrackerSubscriptionErrors = {
1350
1686
  /**
1351
1687
  * Bad Request
1352
1688
  */
@@ -1367,10 +1703,18 @@ export type AdminSetTrackerDenylistErrors = {
1367
1703
  * Conflict
1368
1704
  */
1369
1705
  409: ProblemDetails;
1706
+ /**
1707
+ * Payload Too Large
1708
+ */
1709
+ 413: ProblemDetails;
1370
1710
  /**
1371
1711
  * Too Many Requests
1372
1712
  */
1373
1713
  429: ProblemDetails;
1714
+ /**
1715
+ * Internal Server Error
1716
+ */
1717
+ 500: ProblemDetails;
1374
1718
  /**
1375
1719
  * Bad Gateway
1376
1720
  */
@@ -1380,23 +1724,23 @@ export type AdminSetTrackerDenylistErrors = {
1380
1724
  */
1381
1725
  503: ProblemDetails;
1382
1726
  };
1383
- export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1384
- export type AdminSetTrackerDenylistResponses = {
1727
+ export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1728
+ export type AdminUnlinkTrackerSubscriptionResponses = {
1385
1729
  /**
1386
1730
  * OK
1387
1731
  */
1388
- 200: AdminDeviceCommandResult;
1732
+ 200: CommandSuccess;
1389
1733
  };
1390
- export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1391
- export type AdminNotifyTrackerData = {
1392
- body: AdminNotificationRequest;
1734
+ export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1735
+ export type AdminLinkTrackerSubscriptionData = {
1736
+ body: AdminLinkSubscriptionRequest;
1393
1737
  path: {
1394
1738
  trackerId: string;
1395
1739
  };
1396
1740
  query?: never;
1397
- url: "/v1/admin/trackers/{trackerId}/notifications";
1741
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1398
1742
  };
1399
- export type AdminNotifyTrackerErrors = {
1743
+ export type AdminLinkTrackerSubscriptionErrors = {
1400
1744
  /**
1401
1745
  * Bad Request
1402
1746
  */
@@ -1417,10 +1761,22 @@ export type AdminNotifyTrackerErrors = {
1417
1761
  * Conflict
1418
1762
  */
1419
1763
  409: ProblemDetails;
1764
+ /**
1765
+ * Payload Too Large
1766
+ */
1767
+ 413: ProblemDetails;
1768
+ /**
1769
+ * Unsupported Media Type
1770
+ */
1771
+ 415: ProblemDetails;
1420
1772
  /**
1421
1773
  * Too Many Requests
1422
1774
  */
1423
1775
  429: ProblemDetails;
1776
+ /**
1777
+ * Internal Server Error
1778
+ */
1779
+ 500: ProblemDetails;
1424
1780
  /**
1425
1781
  * Bad Gateway
1426
1782
  */
@@ -1430,23 +1786,638 @@ export type AdminNotifyTrackerErrors = {
1430
1786
  */
1431
1787
  503: ProblemDetails;
1432
1788
  };
1433
- export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1434
- export type AdminNotifyTrackerResponses = {
1789
+ export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1790
+ export type AdminLinkTrackerSubscriptionResponses = {
1435
1791
  /**
1436
1792
  * OK
1437
1793
  */
1438
- 200: AdminDeviceCommandResult;
1794
+ 200: CommandSuccess;
1439
1795
  };
1440
- export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1441
- export type AdminUnlinkTrackerSubscriptionData = {
1442
- body?: never;
1796
+ export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1797
+ export type AdminRequestTrackerInsuranceData = {
1798
+ body: AdminRequestId;
1443
1799
  path: {
1444
1800
  trackerId: string;
1445
1801
  };
1446
1802
  query?: never;
1447
- url: "/v1/admin/trackers/{trackerId}/subscription";
1803
+ url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1804
+ };
1805
+ export type AdminRequestTrackerInsuranceErrors = {
1806
+ /**
1807
+ * Bad Request
1808
+ */
1809
+ 400: ProblemDetails;
1810
+ /**
1811
+ * Unauthorized
1812
+ */
1813
+ 401: ProblemDetails;
1814
+ /**
1815
+ * Forbidden
1816
+ */
1817
+ 403: ProblemDetails;
1818
+ /**
1819
+ * Not Found
1820
+ */
1821
+ 404: ProblemDetails;
1822
+ /**
1823
+ * Conflict
1824
+ */
1825
+ 409: ProblemDetails;
1826
+ /**
1827
+ * Payload Too Large
1828
+ */
1829
+ 413: ProblemDetails;
1830
+ /**
1831
+ * Unsupported Media Type
1832
+ */
1833
+ 415: ProblemDetails;
1834
+ /**
1835
+ * Too Many Requests
1836
+ */
1837
+ 429: ProblemDetails;
1838
+ /**
1839
+ * Internal Server Error
1840
+ */
1841
+ 500: ProblemDetails;
1842
+ /**
1843
+ * Bad Gateway
1844
+ */
1845
+ 502: ProblemDetails;
1846
+ /**
1847
+ * Service Unavailable
1848
+ */
1849
+ 503: ProblemDetails;
1850
+ };
1851
+ export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1852
+ export type AdminRequestTrackerInsuranceResponses = {
1853
+ /**
1854
+ * Accepted
1855
+ */
1856
+ 202: CommandSuccess;
1857
+ };
1858
+ export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1859
+ export type AdminReconcileTrackerSubscriptionData = {
1860
+ body: AdminRequestId;
1861
+ path: {
1862
+ trackerId: string;
1863
+ };
1864
+ query?: never;
1865
+ url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1866
+ };
1867
+ export type AdminReconcileTrackerSubscriptionErrors = {
1868
+ /**
1869
+ * Bad Request
1870
+ */
1871
+ 400: ProblemDetails;
1872
+ /**
1873
+ * Unauthorized
1874
+ */
1875
+ 401: ProblemDetails;
1876
+ /**
1877
+ * Forbidden
1878
+ */
1879
+ 403: ProblemDetails;
1880
+ /**
1881
+ * Not Found
1882
+ */
1883
+ 404: ProblemDetails;
1884
+ /**
1885
+ * Conflict
1886
+ */
1887
+ 409: ProblemDetails;
1888
+ /**
1889
+ * Payload Too Large
1890
+ */
1891
+ 413: ProblemDetails;
1892
+ /**
1893
+ * Unsupported Media Type
1894
+ */
1895
+ 415: ProblemDetails;
1896
+ /**
1897
+ * Too Many Requests
1898
+ */
1899
+ 429: ProblemDetails;
1900
+ /**
1901
+ * Internal Server Error
1902
+ */
1903
+ 500: ProblemDetails;
1904
+ /**
1905
+ * Bad Gateway
1906
+ */
1907
+ 502: ProblemDetails;
1908
+ /**
1909
+ * Service Unavailable
1910
+ */
1911
+ 503: ProblemDetails;
1912
+ };
1913
+ export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
1914
+ export type AdminReconcileTrackerSubscriptionResponses = {
1915
+ /**
1916
+ * Accepted
1917
+ */
1918
+ 202: CommandSuccess;
1919
+ };
1920
+ export type AdminReconcileTrackerSubscriptionResponse = AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
1921
+ export type AdminUploadTrackerPhotoData = {
1922
+ body: {
1923
+ /**
1924
+ * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
1925
+ */
1926
+ file: Blob | File;
1927
+ kind: "bike" | "installation" | "receipt";
1928
+ width: number;
1929
+ height: number;
1930
+ };
1931
+ path: {
1932
+ trackerId: string;
1933
+ };
1934
+ query?: never;
1935
+ url: "/v1/admin/trackers/{trackerId}/photos";
1936
+ };
1937
+ export type AdminUploadTrackerPhotoErrors = {
1938
+ /**
1939
+ * Bad Request
1940
+ */
1941
+ 400: ProblemDetails;
1942
+ /**
1943
+ * Unauthorized
1944
+ */
1945
+ 401: ProblemDetails;
1946
+ /**
1947
+ * Forbidden
1948
+ */
1949
+ 403: ProblemDetails;
1950
+ /**
1951
+ * Not Found
1952
+ */
1953
+ 404: ProblemDetails;
1954
+ /**
1955
+ * Conflict
1956
+ */
1957
+ 409: ProblemDetails;
1958
+ /**
1959
+ * Payload Too Large
1960
+ */
1961
+ 413: ProblemDetails;
1962
+ /**
1963
+ * Unsupported Media Type
1964
+ */
1965
+ 415: ProblemDetails;
1966
+ /**
1967
+ * Too Many Requests
1968
+ */
1969
+ 429: ProblemDetails;
1970
+ /**
1971
+ * Internal Server Error
1972
+ */
1973
+ 500: ProblemDetails;
1974
+ /**
1975
+ * Bad Gateway
1976
+ */
1977
+ 502: ProblemDetails;
1978
+ /**
1979
+ * Service Unavailable
1980
+ */
1981
+ 503: ProblemDetails;
1982
+ };
1983
+ export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
1984
+ export type AdminUploadTrackerPhotoResponses = {
1985
+ /**
1986
+ * OK
1987
+ */
1988
+ 200: PhotoUploadResult;
1989
+ };
1990
+ export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
1991
+ export type AdminSubscribeTrackerData = {
1992
+ body?: never;
1993
+ path: {
1994
+ trackerId: string;
1995
+ };
1996
+ query?: never;
1997
+ url: "/v1/admin/trackers/{trackerId}/stream";
1998
+ };
1999
+ export type AdminSubscribeTrackerErrors = {
2000
+ /**
2001
+ * Bad Request
2002
+ */
2003
+ 400: ProblemDetails;
2004
+ /**
2005
+ * Unauthorized
2006
+ */
2007
+ 401: ProblemDetails;
2008
+ /**
2009
+ * Forbidden
2010
+ */
2011
+ 403: ProblemDetails;
2012
+ /**
2013
+ * Not Found
2014
+ */
2015
+ 404: ProblemDetails;
2016
+ /**
2017
+ * Conflict
2018
+ */
2019
+ 409: ProblemDetails;
2020
+ /**
2021
+ * Payload Too Large
2022
+ */
2023
+ 413: ProblemDetails;
2024
+ /**
2025
+ * Too Many Requests
2026
+ */
2027
+ 429: ProblemDetails;
2028
+ /**
2029
+ * Internal Server Error
2030
+ */
2031
+ 500: ProblemDetails;
2032
+ /**
2033
+ * Bad Gateway
2034
+ */
2035
+ 502: ProblemDetails;
2036
+ /**
2037
+ * Service Unavailable
2038
+ */
2039
+ 503: ProblemDetails;
2040
+ };
2041
+ export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2042
+ export type AdminSubscribeTrackerResponses = {
2043
+ /**
2044
+ * OK
2045
+ */
2046
+ 200: AdminTrackerView | null;
2047
+ };
2048
+ export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
2049
+ export type AdminGetUserData = {
2050
+ body?: never;
2051
+ path: {
2052
+ uid: string;
2053
+ };
2054
+ query?: never;
2055
+ url: "/v1/admin/users/{uid}";
2056
+ };
2057
+ export type AdminGetUserErrors = {
2058
+ /**
2059
+ * Bad Request
2060
+ */
2061
+ 400: ProblemDetails;
2062
+ /**
2063
+ * Unauthorized
2064
+ */
2065
+ 401: ProblemDetails;
2066
+ /**
2067
+ * Forbidden
2068
+ */
2069
+ 403: ProblemDetails;
2070
+ /**
2071
+ * Not Found
2072
+ */
2073
+ 404: ProblemDetails;
2074
+ /**
2075
+ * Conflict
2076
+ */
2077
+ 409: ProblemDetails;
2078
+ /**
2079
+ * Payload Too Large
2080
+ */
2081
+ 413: ProblemDetails;
2082
+ /**
2083
+ * Too Many Requests
2084
+ */
2085
+ 429: ProblemDetails;
2086
+ /**
2087
+ * Internal Server Error
2088
+ */
2089
+ 500: ProblemDetails;
2090
+ /**
2091
+ * Bad Gateway
2092
+ */
2093
+ 502: ProblemDetails;
2094
+ /**
2095
+ * Service Unavailable
2096
+ */
2097
+ 503: ProblemDetails;
2098
+ };
2099
+ export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
2100
+ export type AdminGetUserResponses = {
2101
+ /**
2102
+ * OK
2103
+ */
2104
+ 200: AdminReadResult;
2105
+ };
2106
+ export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
2107
+ export type AdminLookupUsersData = {
2108
+ body: AdminLookupRequest;
2109
+ path?: never;
2110
+ query?: never;
2111
+ url: "/v1/admin/users/lookup";
2112
+ };
2113
+ export type AdminLookupUsersErrors = {
2114
+ /**
2115
+ * Bad Request
2116
+ */
2117
+ 400: ProblemDetails;
2118
+ /**
2119
+ * Unauthorized
2120
+ */
2121
+ 401: ProblemDetails;
2122
+ /**
2123
+ * Forbidden
2124
+ */
2125
+ 403: ProblemDetails;
2126
+ /**
2127
+ * Not Found
2128
+ */
2129
+ 404: ProblemDetails;
2130
+ /**
2131
+ * Conflict
2132
+ */
2133
+ 409: ProblemDetails;
2134
+ /**
2135
+ * Payload Too Large
2136
+ */
2137
+ 413: ProblemDetails;
2138
+ /**
2139
+ * Unsupported Media Type
2140
+ */
2141
+ 415: ProblemDetails;
2142
+ /**
2143
+ * Too Many Requests
2144
+ */
2145
+ 429: ProblemDetails;
2146
+ /**
2147
+ * Internal Server Error
2148
+ */
2149
+ 500: ProblemDetails;
2150
+ /**
2151
+ * Bad Gateway
2152
+ */
2153
+ 502: ProblemDetails;
2154
+ /**
2155
+ * Service Unavailable
2156
+ */
2157
+ 503: ProblemDetails;
2158
+ };
2159
+ export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
2160
+ export type AdminLookupUsersResponses = {
2161
+ /**
2162
+ * OK
2163
+ */
2164
+ 200: AdminLookupResult;
2165
+ };
2166
+ export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
2167
+ export type AdminRequestUserInsuranceData = {
2168
+ body: AdminRequestId;
2169
+ path: {
2170
+ uid: string;
2171
+ };
2172
+ query?: never;
2173
+ url: "/v1/admin/users/{uid}/insurance-requests";
2174
+ };
2175
+ export type AdminRequestUserInsuranceErrors = {
2176
+ /**
2177
+ * Bad Request
2178
+ */
2179
+ 400: ProblemDetails;
2180
+ /**
2181
+ * Unauthorized
2182
+ */
2183
+ 401: ProblemDetails;
2184
+ /**
2185
+ * Forbidden
2186
+ */
2187
+ 403: ProblemDetails;
2188
+ /**
2189
+ * Not Found
2190
+ */
2191
+ 404: ProblemDetails;
2192
+ /**
2193
+ * Conflict
2194
+ */
2195
+ 409: ProblemDetails;
2196
+ /**
2197
+ * Payload Too Large
2198
+ */
2199
+ 413: ProblemDetails;
2200
+ /**
2201
+ * Unsupported Media Type
2202
+ */
2203
+ 415: ProblemDetails;
2204
+ /**
2205
+ * Too Many Requests
2206
+ */
2207
+ 429: ProblemDetails;
2208
+ /**
2209
+ * Internal Server Error
2210
+ */
2211
+ 500: ProblemDetails;
2212
+ /**
2213
+ * Bad Gateway
2214
+ */
2215
+ 502: ProblemDetails;
2216
+ /**
2217
+ * Service Unavailable
2218
+ */
2219
+ 503: ProblemDetails;
2220
+ };
2221
+ export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
2222
+ export type AdminRequestUserInsuranceResponses = {
2223
+ /**
2224
+ * Accepted
2225
+ */
2226
+ 202: CommandSuccess;
2227
+ };
2228
+ export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
2229
+ export type AdminLinkSingleSubscriptionData = {
2230
+ body: AdminRequestId;
2231
+ path: {
2232
+ uid: string;
2233
+ };
2234
+ query?: never;
2235
+ url: "/v1/admin/users/{uid}/subscription-link-requests";
2236
+ };
2237
+ export type AdminLinkSingleSubscriptionErrors = {
2238
+ /**
2239
+ * Bad Request
2240
+ */
2241
+ 400: ProblemDetails;
2242
+ /**
2243
+ * Unauthorized
2244
+ */
2245
+ 401: ProblemDetails;
2246
+ /**
2247
+ * Forbidden
2248
+ */
2249
+ 403: ProblemDetails;
2250
+ /**
2251
+ * Not Found
2252
+ */
2253
+ 404: ProblemDetails;
2254
+ /**
2255
+ * Conflict
2256
+ */
2257
+ 409: ProblemDetails;
2258
+ /**
2259
+ * Payload Too Large
2260
+ */
2261
+ 413: ProblemDetails;
2262
+ /**
2263
+ * Unsupported Media Type
2264
+ */
2265
+ 415: ProblemDetails;
2266
+ /**
2267
+ * Too Many Requests
2268
+ */
2269
+ 429: ProblemDetails;
2270
+ /**
2271
+ * Internal Server Error
2272
+ */
2273
+ 500: ProblemDetails;
2274
+ /**
2275
+ * Bad Gateway
2276
+ */
2277
+ 502: ProblemDetails;
2278
+ /**
2279
+ * Service Unavailable
2280
+ */
2281
+ 503: ProblemDetails;
2282
+ };
2283
+ export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
2284
+ export type AdminLinkSingleSubscriptionResponses = {
2285
+ /**
2286
+ * OK
2287
+ */
2288
+ 200: CommandSuccess;
2289
+ };
2290
+ export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2291
+ export type AdminGetSubscriptionData = {
2292
+ body?: never;
2293
+ path: {
2294
+ subscriptionId: string;
2295
+ };
2296
+ query?: never;
2297
+ url: "/v1/admin/subscriptions/{subscriptionId}";
2298
+ };
2299
+ export type AdminGetSubscriptionErrors = {
2300
+ /**
2301
+ * Bad Request
2302
+ */
2303
+ 400: ProblemDetails;
2304
+ /**
2305
+ * Unauthorized
2306
+ */
2307
+ 401: ProblemDetails;
2308
+ /**
2309
+ * Forbidden
2310
+ */
2311
+ 403: ProblemDetails;
2312
+ /**
2313
+ * Not Found
2314
+ */
2315
+ 404: ProblemDetails;
2316
+ /**
2317
+ * Conflict
2318
+ */
2319
+ 409: ProblemDetails;
2320
+ /**
2321
+ * Payload Too Large
2322
+ */
2323
+ 413: ProblemDetails;
2324
+ /**
2325
+ * Too Many Requests
2326
+ */
2327
+ 429: ProblemDetails;
2328
+ /**
2329
+ * Internal Server Error
2330
+ */
2331
+ 500: ProblemDetails;
2332
+ /**
2333
+ * Bad Gateway
2334
+ */
2335
+ 502: ProblemDetails;
2336
+ /**
2337
+ * Service Unavailable
2338
+ */
2339
+ 503: ProblemDetails;
2340
+ };
2341
+ export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
2342
+ export type AdminGetSubscriptionResponses = {
2343
+ /**
2344
+ * OK
2345
+ */
2346
+ 200: AdminReadResult;
2347
+ };
2348
+ export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
2349
+ export type AdminSearchSubscriptionsData = {
2350
+ body?: never;
2351
+ path?: never;
2352
+ query: {
2353
+ kind: "b2b" | "uid" | "wooId";
2354
+ value?: string;
2355
+ cursor?: string;
2356
+ };
2357
+ url: "/v1/admin/subscriptions";
2358
+ };
2359
+ export type AdminSearchSubscriptionsErrors = {
2360
+ /**
2361
+ * Bad Request
2362
+ */
2363
+ 400: ProblemDetails;
2364
+ /**
2365
+ * Unauthorized
2366
+ */
2367
+ 401: ProblemDetails;
2368
+ /**
2369
+ * Forbidden
2370
+ */
2371
+ 403: ProblemDetails;
2372
+ /**
2373
+ * Not Found
2374
+ */
2375
+ 404: ProblemDetails;
2376
+ /**
2377
+ * Conflict
2378
+ */
2379
+ 409: ProblemDetails;
2380
+ /**
2381
+ * Payload Too Large
2382
+ */
2383
+ 413: ProblemDetails;
2384
+ /**
2385
+ * Too Many Requests
2386
+ */
2387
+ 429: ProblemDetails;
2388
+ /**
2389
+ * Internal Server Error
2390
+ */
2391
+ 500: ProblemDetails;
2392
+ /**
2393
+ * Bad Gateway
2394
+ */
2395
+ 502: ProblemDetails;
2396
+ /**
2397
+ * Service Unavailable
2398
+ */
2399
+ 503: ProblemDetails;
2400
+ };
2401
+ export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
2402
+ export type AdminSearchSubscriptionsResponses = {
2403
+ /**
2404
+ * OK
2405
+ */
2406
+ 200: AdminReadResult;
2407
+ };
2408
+ export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
2409
+ export type AdminListInsuranceData = {
2410
+ body?: never;
2411
+ path: {
2412
+ subscriptionId: string;
2413
+ provider: "cycler" | "hepster" | "tryg";
2414
+ };
2415
+ query?: {
2416
+ cursor?: string;
2417
+ };
2418
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
1448
2419
  };
1449
- export type AdminUnlinkTrackerSubscriptionErrors = {
2420
+ export type AdminListInsuranceErrors = {
1450
2421
  /**
1451
2422
  * Bad Request
1452
2423
  */
@@ -1467,10 +2438,18 @@ export type AdminUnlinkTrackerSubscriptionErrors = {
1467
2438
  * Conflict
1468
2439
  */
1469
2440
  409: ProblemDetails;
2441
+ /**
2442
+ * Payload Too Large
2443
+ */
2444
+ 413: ProblemDetails;
1470
2445
  /**
1471
2446
  * Too Many Requests
1472
2447
  */
1473
2448
  429: ProblemDetails;
2449
+ /**
2450
+ * Internal Server Error
2451
+ */
2452
+ 500: ProblemDetails;
1474
2453
  /**
1475
2454
  * Bad Gateway
1476
2455
  */
@@ -1480,23 +2459,23 @@ export type AdminUnlinkTrackerSubscriptionErrors = {
1480
2459
  */
1481
2460
  503: ProblemDetails;
1482
2461
  };
1483
- export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1484
- export type AdminUnlinkTrackerSubscriptionResponses = {
2462
+ export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
2463
+ export type AdminListInsuranceResponses = {
1485
2464
  /**
1486
2465
  * OK
1487
2466
  */
1488
- 200: CommandSuccess;
2467
+ 200: AdminReadResult;
1489
2468
  };
1490
- export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1491
- export type AdminLinkTrackerSubscriptionData = {
1492
- body: AdminLinkSubscriptionRequest;
2469
+ export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
2470
+ export type AdminRequestSubscriptionInsuranceData = {
2471
+ body: AdminRequestId;
1493
2472
  path: {
1494
- trackerId: string;
2473
+ subscriptionId: string;
1495
2474
  };
1496
2475
  query?: never;
1497
- url: "/v1/admin/trackers/{trackerId}/subscription";
2476
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
1498
2477
  };
1499
- export type AdminLinkTrackerSubscriptionErrors = {
2478
+ export type AdminRequestSubscriptionInsuranceErrors = {
1500
2479
  /**
1501
2480
  * Bad Request
1502
2481
  */
@@ -1517,10 +2496,22 @@ export type AdminLinkTrackerSubscriptionErrors = {
1517
2496
  * Conflict
1518
2497
  */
1519
2498
  409: ProblemDetails;
2499
+ /**
2500
+ * Payload Too Large
2501
+ */
2502
+ 413: ProblemDetails;
2503
+ /**
2504
+ * Unsupported Media Type
2505
+ */
2506
+ 415: ProblemDetails;
1520
2507
  /**
1521
2508
  * Too Many Requests
1522
2509
  */
1523
2510
  429: ProblemDetails;
2511
+ /**
2512
+ * Internal Server Error
2513
+ */
2514
+ 500: ProblemDetails;
1524
2515
  /**
1525
2516
  * Bad Gateway
1526
2517
  */
@@ -1530,23 +2521,23 @@ export type AdminLinkTrackerSubscriptionErrors = {
1530
2521
  */
1531
2522
  503: ProblemDetails;
1532
2523
  };
1533
- export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1534
- export type AdminLinkTrackerSubscriptionResponses = {
2524
+ export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
2525
+ export type AdminRequestSubscriptionInsuranceResponses = {
1535
2526
  /**
1536
- * OK
2527
+ * Accepted
1537
2528
  */
1538
- 200: CommandSuccess;
2529
+ 202: CommandSuccess;
1539
2530
  };
1540
- export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1541
- export type AdminRequestSubscriptionInsuranceData = {
2531
+ export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
2532
+ export type AdminRefreshSubscriptionData = {
1542
2533
  body: AdminRequestId;
1543
2534
  path: {
1544
2535
  subscriptionId: string;
1545
2536
  };
1546
2537
  query?: never;
1547
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance";
2538
+ url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
1548
2539
  };
1549
- export type AdminRequestSubscriptionInsuranceErrors = {
2540
+ export type AdminRefreshSubscriptionErrors = {
1550
2541
  /**
1551
2542
  * Bad Request
1552
2543
  */
@@ -1567,10 +2558,22 @@ export type AdminRequestSubscriptionInsuranceErrors = {
1567
2558
  * Conflict
1568
2559
  */
1569
2560
  409: ProblemDetails;
2561
+ /**
2562
+ * Payload Too Large
2563
+ */
2564
+ 413: ProblemDetails;
2565
+ /**
2566
+ * Unsupported Media Type
2567
+ */
2568
+ 415: ProblemDetails;
1570
2569
  /**
1571
2570
  * Too Many Requests
1572
2571
  */
1573
2572
  429: ProblemDetails;
2573
+ /**
2574
+ * Internal Server Error
2575
+ */
2576
+ 500: ProblemDetails;
1574
2577
  /**
1575
2578
  * Bad Gateway
1576
2579
  */
@@ -1580,23 +2583,23 @@ export type AdminRequestSubscriptionInsuranceErrors = {
1580
2583
  */
1581
2584
  503: ProblemDetails;
1582
2585
  };
1583
- export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
1584
- export type AdminRequestSubscriptionInsuranceResponses = {
2586
+ export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2587
+ export type AdminRefreshSubscriptionResponses = {
1585
2588
  /**
1586
- * OK
2589
+ * Accepted
1587
2590
  */
1588
- 200: CommandSuccess;
2591
+ 202: CommandSuccess;
1589
2592
  };
1590
- export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
1591
- export type AdminRequestUserInsuranceData = {
1592
- body: AdminRequestId;
1593
- path: {
1594
- uid: string;
2593
+ export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2594
+ export type AdminListFavoritesData = {
2595
+ body?: never;
2596
+ path?: never;
2597
+ query?: {
2598
+ cursor?: string;
1595
2599
  };
1596
- query?: never;
1597
- url: "/v1/admin/users/{uid}/insurance";
2600
+ url: "/v1/admin/favorites";
1598
2601
  };
1599
- export type AdminRequestUserInsuranceErrors = {
2602
+ export type AdminListFavoritesErrors = {
1600
2603
  /**
1601
2604
  * Bad Request
1602
2605
  */
@@ -1617,10 +2620,18 @@ export type AdminRequestUserInsuranceErrors = {
1617
2620
  * Conflict
1618
2621
  */
1619
2622
  409: ProblemDetails;
2623
+ /**
2624
+ * Payload Too Large
2625
+ */
2626
+ 413: ProblemDetails;
1620
2627
  /**
1621
2628
  * Too Many Requests
1622
2629
  */
1623
2630
  429: ProblemDetails;
2631
+ /**
2632
+ * Internal Server Error
2633
+ */
2634
+ 500: ProblemDetails;
1624
2635
  /**
1625
2636
  * Bad Gateway
1626
2637
  */
@@ -1630,23 +2641,23 @@ export type AdminRequestUserInsuranceErrors = {
1630
2641
  */
1631
2642
  503: ProblemDetails;
1632
2643
  };
1633
- export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
1634
- export type AdminRequestUserInsuranceResponses = {
2644
+ export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
2645
+ export type AdminListFavoritesResponses = {
1635
2646
  /**
1636
2647
  * OK
1637
2648
  */
1638
- 200: CommandSuccess;
2649
+ 200: AdminReadResult;
1639
2650
  };
1640
- export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
1641
- export type AdminRequestTrackerInsuranceData = {
1642
- body: AdminRequestId;
2651
+ export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2652
+ export type AdminDeleteFavoriteData = {
2653
+ body?: never;
1643
2654
  path: {
1644
2655
  trackerId: string;
1645
2656
  };
1646
2657
  query?: never;
1647
- url: "/v1/admin/trackers/{trackerId}/insurance";
2658
+ url: "/v1/admin/favorites/{trackerId}";
1648
2659
  };
1649
- export type AdminRequestTrackerInsuranceErrors = {
2660
+ export type AdminDeleteFavoriteErrors = {
1650
2661
  /**
1651
2662
  * Bad Request
1652
2663
  */
@@ -1667,10 +2678,18 @@ export type AdminRequestTrackerInsuranceErrors = {
1667
2678
  * Conflict
1668
2679
  */
1669
2680
  409: ProblemDetails;
2681
+ /**
2682
+ * Payload Too Large
2683
+ */
2684
+ 413: ProblemDetails;
1670
2685
  /**
1671
2686
  * Too Many Requests
1672
2687
  */
1673
2688
  429: ProblemDetails;
2689
+ /**
2690
+ * Internal Server Error
2691
+ */
2692
+ 500: ProblemDetails;
1674
2693
  /**
1675
2694
  * Bad Gateway
1676
2695
  */
@@ -1680,23 +2699,23 @@ export type AdminRequestTrackerInsuranceErrors = {
1680
2699
  */
1681
2700
  503: ProblemDetails;
1682
2701
  };
1683
- export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1684
- export type AdminRequestTrackerInsuranceResponses = {
2702
+ export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2703
+ export type AdminDeleteFavoriteResponses = {
1685
2704
  /**
1686
2705
  * OK
1687
2706
  */
1688
2707
  200: CommandSuccess;
1689
2708
  };
1690
- export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1691
- export type AdminReconcileTrackerSubscriptionData = {
1692
- body: AdminRequestId;
2709
+ export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2710
+ export type AdminGetFavoriteData = {
2711
+ body?: never;
1693
2712
  path: {
1694
2713
  trackerId: string;
1695
2714
  };
1696
2715
  query?: never;
1697
- url: "/v1/admin/trackers/{trackerId}/subscription/reconcile";
2716
+ url: "/v1/admin/favorites/{trackerId}";
1698
2717
  };
1699
- export type AdminReconcileTrackerSubscriptionErrors = {
2718
+ export type AdminGetFavoriteErrors = {
1700
2719
  /**
1701
2720
  * Bad Request
1702
2721
  */
@@ -1717,10 +2736,18 @@ export type AdminReconcileTrackerSubscriptionErrors = {
1717
2736
  * Conflict
1718
2737
  */
1719
2738
  409: ProblemDetails;
2739
+ /**
2740
+ * Payload Too Large
2741
+ */
2742
+ 413: ProblemDetails;
1720
2743
  /**
1721
2744
  * Too Many Requests
1722
2745
  */
1723
2746
  429: ProblemDetails;
2747
+ /**
2748
+ * Internal Server Error
2749
+ */
2750
+ 500: ProblemDetails;
1724
2751
  /**
1725
2752
  * Bad Gateway
1726
2753
  */
@@ -1730,23 +2757,23 @@ export type AdminReconcileTrackerSubscriptionErrors = {
1730
2757
  */
1731
2758
  503: ProblemDetails;
1732
2759
  };
1733
- export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
1734
- export type AdminReconcileTrackerSubscriptionResponses = {
2760
+ export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2761
+ export type AdminGetFavoriteResponses = {
1735
2762
  /**
1736
2763
  * OK
1737
2764
  */
1738
- 200: CommandSuccess;
2765
+ 200: AdminReadResult;
1739
2766
  };
1740
- export type AdminReconcileTrackerSubscriptionResponse = AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
1741
- export type AdminRefreshSubscriptionData = {
1742
- body: AdminRequestId;
2767
+ export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2768
+ export type AdminUpdateFavoriteCommentData = {
2769
+ body: AdminFavoriteRequest;
1743
2770
  path: {
1744
- subscriptionId: string;
2771
+ trackerId: string;
1745
2772
  };
1746
2773
  query?: never;
1747
- url: "/v1/admin/subscriptions/{subscriptionId}/refresh";
2774
+ url: "/v1/admin/favorites/{trackerId}";
1748
2775
  };
1749
- export type AdminRefreshSubscriptionErrors = {
2776
+ export type AdminUpdateFavoriteCommentErrors = {
1750
2777
  /**
1751
2778
  * Bad Request
1752
2779
  */
@@ -1767,10 +2794,22 @@ export type AdminRefreshSubscriptionErrors = {
1767
2794
  * Conflict
1768
2795
  */
1769
2796
  409: ProblemDetails;
2797
+ /**
2798
+ * Payload Too Large
2799
+ */
2800
+ 413: ProblemDetails;
2801
+ /**
2802
+ * Unsupported Media Type
2803
+ */
2804
+ 415: ProblemDetails;
1770
2805
  /**
1771
2806
  * Too Many Requests
1772
2807
  */
1773
2808
  429: ProblemDetails;
2809
+ /**
2810
+ * Internal Server Error
2811
+ */
2812
+ 500: ProblemDetails;
1774
2813
  /**
1775
2814
  * Bad Gateway
1776
2815
  */
@@ -1780,23 +2819,23 @@ export type AdminRefreshSubscriptionErrors = {
1780
2819
  */
1781
2820
  503: ProblemDetails;
1782
2821
  };
1783
- export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
1784
- export type AdminRefreshSubscriptionResponses = {
2822
+ export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
2823
+ export type AdminUpdateFavoriteCommentResponses = {
1785
2824
  /**
1786
2825
  * OK
1787
2826
  */
1788
2827
  200: CommandSuccess;
1789
2828
  };
1790
- export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
1791
- export type AdminLinkSingleSubscriptionData = {
1792
- body: AdminRequestId;
2829
+ export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
2830
+ export type AdminPutFavoriteData = {
2831
+ body: AdminFavoriteRequest;
1793
2832
  path: {
1794
- uid: string;
2833
+ trackerId: string;
1795
2834
  };
1796
2835
  query?: never;
1797
- url: "/v1/admin/users/{uid}/subscription/link-single";
2836
+ url: "/v1/admin/favorites/{trackerId}";
1798
2837
  };
1799
- export type AdminLinkSingleSubscriptionErrors = {
2838
+ export type AdminPutFavoriteErrors = {
1800
2839
  /**
1801
2840
  * Bad Request
1802
2841
  */
@@ -1817,10 +2856,22 @@ export type AdminLinkSingleSubscriptionErrors = {
1817
2856
  * Conflict
1818
2857
  */
1819
2858
  409: ProblemDetails;
2859
+ /**
2860
+ * Payload Too Large
2861
+ */
2862
+ 413: ProblemDetails;
2863
+ /**
2864
+ * Unsupported Media Type
2865
+ */
2866
+ 415: ProblemDetails;
1820
2867
  /**
1821
2868
  * Too Many Requests
1822
2869
  */
1823
2870
  429: ProblemDetails;
2871
+ /**
2872
+ * Internal Server Error
2873
+ */
2874
+ 500: ProblemDetails;
1824
2875
  /**
1825
2876
  * Bad Gateway
1826
2877
  */
@@ -1830,14 +2881,14 @@ export type AdminLinkSingleSubscriptionErrors = {
1830
2881
  */
1831
2882
  503: ProblemDetails;
1832
2883
  };
1833
- export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
1834
- export type AdminLinkSingleSubscriptionResponses = {
2884
+ export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
2885
+ export type AdminPutFavoriteResponses = {
1835
2886
  /**
1836
2887
  * OK
1837
2888
  */
1838
2889
  200: CommandSuccess;
1839
2890
  };
1840
- export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2891
+ export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
1841
2892
  export type AdminCreateB2bSubscriptionData = {
1842
2893
  body: AdminB2bSubscriptionRequest;
1843
2894
  path?: never;
@@ -1865,10 +2916,22 @@ export type AdminCreateB2bSubscriptionErrors = {
1865
2916
  * Conflict
1866
2917
  */
1867
2918
  409: ProblemDetails;
2919
+ /**
2920
+ * Payload Too Large
2921
+ */
2922
+ 413: ProblemDetails;
2923
+ /**
2924
+ * Unsupported Media Type
2925
+ */
2926
+ 415: ProblemDetails;
1868
2927
  /**
1869
2928
  * Too Many Requests
1870
2929
  */
1871
2930
  429: ProblemDetails;
2931
+ /**
2932
+ * Internal Server Error
2933
+ */
2934
+ 500: ProblemDetails;
1872
2935
  /**
1873
2936
  * Bad Gateway
1874
2937
  */
@@ -1881,9 +2944,9 @@ export type AdminCreateB2bSubscriptionErrors = {
1881
2944
  export type AdminCreateB2bSubscriptionError = AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
1882
2945
  export type AdminCreateB2bSubscriptionResponses = {
1883
2946
  /**
1884
- * OK
2947
+ * Created
1885
2948
  */
1886
- 200: AdminB2bSubscriptionResult;
2949
+ 201: AdminB2bSubscriptionResult;
1887
2950
  };
1888
2951
  export type AdminCreateB2bSubscriptionResponse = AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
1889
2952
  export type AdminCancelB2bSubscriptionData = {
@@ -1892,7 +2955,7 @@ export type AdminCancelB2bSubscriptionData = {
1892
2955
  subscriptionId: string;
1893
2956
  };
1894
2957
  query?: never;
1895
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancel";
2958
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
1896
2959
  };
1897
2960
  export type AdminCancelB2bSubscriptionErrors = {
1898
2961
  /**
@@ -1915,10 +2978,18 @@ export type AdminCancelB2bSubscriptionErrors = {
1915
2978
  * Conflict
1916
2979
  */
1917
2980
  409: ProblemDetails;
2981
+ /**
2982
+ * Payload Too Large
2983
+ */
2984
+ 413: ProblemDetails;
1918
2985
  /**
1919
2986
  * Too Many Requests
1920
2987
  */
1921
2988
  429: ProblemDetails;
2989
+ /**
2990
+ * Internal Server Error
2991
+ */
2992
+ 500: ProblemDetails;
1922
2993
  /**
1923
2994
  * Bad Gateway
1924
2995
  */
@@ -1942,7 +3013,7 @@ export type AdminSyncB2bInsuranceData = {
1942
3013
  subscriptionId: string;
1943
3014
  };
1944
3015
  query?: never;
1945
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance/sync";
3016
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
1946
3017
  };
1947
3018
  export type AdminSyncB2bInsuranceErrors = {
1948
3019
  /**
@@ -1965,10 +3036,18 @@ export type AdminSyncB2bInsuranceErrors = {
1965
3036
  * Conflict
1966
3037
  */
1967
3038
  409: ProblemDetails;
3039
+ /**
3040
+ * Payload Too Large
3041
+ */
3042
+ 413: ProblemDetails;
1968
3043
  /**
1969
3044
  * Too Many Requests
1970
3045
  */
1971
3046
  429: ProblemDetails;
3047
+ /**
3048
+ * Internal Server Error
3049
+ */
3050
+ 500: ProblemDetails;
1972
3051
  /**
1973
3052
  * Bad Gateway
1974
3053
  */
@@ -1981,16 +3060,16 @@ export type AdminSyncB2bInsuranceErrors = {
1981
3060
  export type AdminSyncB2bInsuranceError = AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
1982
3061
  export type AdminSyncB2bInsuranceResponses = {
1983
3062
  /**
1984
- * OK
3063
+ * Accepted
1985
3064
  */
1986
- 200: CommandSuccess;
3065
+ 202: CommandSuccess;
1987
3066
  };
1988
3067
  export type AdminSyncB2bInsuranceResponse = AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
1989
3068
  export type AdminSyncAllB2bInsuranceData = {
1990
3069
  body?: never;
1991
3070
  path?: never;
1992
3071
  query?: never;
1993
- url: "/v1/admin/b2b/subscriptions/insurance/sync";
3072
+ url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
1994
3073
  };
1995
3074
  export type AdminSyncAllB2bInsuranceErrors = {
1996
3075
  /**
@@ -2013,10 +3092,18 @@ export type AdminSyncAllB2bInsuranceErrors = {
2013
3092
  * Conflict
2014
3093
  */
2015
3094
  409: ProblemDetails;
3095
+ /**
3096
+ * Payload Too Large
3097
+ */
3098
+ 413: ProblemDetails;
2016
3099
  /**
2017
3100
  * Too Many Requests
2018
3101
  */
2019
3102
  429: ProblemDetails;
3103
+ /**
3104
+ * Internal Server Error
3105
+ */
3106
+ 500: ProblemDetails;
2020
3107
  /**
2021
3108
  * Bad Gateway
2022
3109
  */
@@ -2029,59 +3116,9 @@ export type AdminSyncAllB2bInsuranceErrors = {
2029
3116
  export type AdminSyncAllB2bInsuranceError = AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
2030
3117
  export type AdminSyncAllB2bInsuranceResponses = {
2031
3118
  /**
2032
- * OK
3119
+ * Accepted
2033
3120
  */
2034
- 200: CommandSuccess;
3121
+ 202: CommandSuccess;
2035
3122
  };
2036
3123
  export type AdminSyncAllB2bInsuranceResponse = AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
2037
- export type AdminSubscribeTrackerData = {
2038
- body?: never;
2039
- path: {
2040
- trackerId: string;
2041
- };
2042
- query?: never;
2043
- url: "/v1/admin/trackers/{trackerId}/stream";
2044
- };
2045
- export type AdminSubscribeTrackerErrors = {
2046
- /**
2047
- * Bad Request
2048
- */
2049
- 400: ProblemDetails;
2050
- /**
2051
- * Unauthorized
2052
- */
2053
- 401: ProblemDetails;
2054
- /**
2055
- * Forbidden
2056
- */
2057
- 403: ProblemDetails;
2058
- /**
2059
- * Not Found
2060
- */
2061
- 404: ProblemDetails;
2062
- /**
2063
- * Conflict
2064
- */
2065
- 409: ProblemDetails;
2066
- /**
2067
- * Too Many Requests
2068
- */
2069
- 429: ProblemDetails;
2070
- /**
2071
- * Bad Gateway
2072
- */
2073
- 502: ProblemDetails;
2074
- /**
2075
- * Service Unavailable
2076
- */
2077
- 503: ProblemDetails;
2078
- };
2079
- export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2080
- export type AdminSubscribeTrackerResponses = {
2081
- /**
2082
- * OK
2083
- */
2084
- 200: AdminTrackerView | null;
2085
- };
2086
- export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
2087
3124
  //# sourceMappingURL=types.gen.d.ts.map