@bikefinder/api-client 0.7.2 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +17 -6
  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 +45 -53
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +479 -221
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +606 -741
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +1342 -1412
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +211 -252
  13. package/dist/admin/generated/zod.gen.js.map +1 -1
  14. package/dist/admin/index.d.ts +1 -1
  15. package/dist/admin/index.d.ts.map +1 -1
  16. package/dist/admin/index.js +1 -1
  17. package/dist/admin/index.js.map +1 -1
  18. package/dist/generated/index.d.ts +1 -1
  19. package/dist/generated/index.d.ts.map +1 -1
  20. package/dist/generated/sdk.gen.d.ts +24 -8
  21. package/dist/generated/sdk.gen.d.ts.map +1 -1
  22. package/dist/generated/sdk.gen.js +63 -19
  23. package/dist/generated/sdk.gen.js.map +1 -1
  24. package/dist/generated/types.gen.d.ts +314 -37
  25. package/dist/generated/types.gen.d.ts.map +1 -1
  26. package/dist/generated/zod.gen.d.ts +365 -113
  27. package/dist/generated/zod.gen.d.ts.map +1 -1
  28. package/dist/generated/zod.gen.js +133 -28
  29. package/dist/generated/zod.gen.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/admin/generated/index.ts +73 -87
  32. package/src/admin/generated/sdk.gen.ts +677 -440
  33. package/src/admin/generated/types.gen.ts +737 -890
  34. package/src/admin/generated/zod.gen.ts +259 -309
  35. package/src/admin/index.ts +1 -1
  36. package/src/generated/index.ts +44 -12
  37. package/src/generated/sdk.gen.ts +150 -44
  38. package/src/generated/types.gen.ts +373 -44
  39. package/src/generated/zod.gen.ts +154 -29
@@ -56,89 +56,12 @@ export type AdminDocument = {
56
56
  fields: AdminSupportValue;
57
57
  };
58
58
 
59
- export type AdminEvidenceAccountsRequest = {
60
- accountIds: Array<string>;
61
- };
62
-
63
- export type AdminEvidenceCursor = {
64
- timestamp: AdminTimestamp;
65
- id: string;
66
- };
67
-
68
- export type AdminEvidenceDocument = {
69
- id: string;
70
- path: string;
71
- exists: boolean;
72
- fields: null | AdminSupportValue;
73
- updatedAt: null | AdminTimestamp;
74
- createdAt: null | AdminTimestamp;
75
- readAt: AdminTimestamp;
76
- };
77
-
78
- export type AdminEvidenceDomain =
79
- | "battery"
80
- | "versions"
81
- | "reporting"
82
- | "configuration"
83
- | "membershipReference"
84
- | "membershipState"
85
- | "commerceReference"
86
- | "plan"
87
- | "availability"
88
- | "bindingCount";
89
-
90
- export type AdminEvidenceHistoryGroup =
91
- "battery" | "versions" | "reporting" | "diagnostics";
92
-
93
- export type AdminEvidenceHistoryRequest = {
94
- accountId: string;
95
- source: AdminEvidenceHistorySource;
96
- from: string;
97
- to: string;
98
- after?: null | AdminEvidenceCursor;
99
- fields?: null | Array<AdminEvidenceHistoryGroup>;
100
- };
101
-
102
- export type AdminEvidenceHistorySource =
103
- "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
104
-
105
- export type AdminEvidenceInsuranceRecords = "contracts" | "creationAttempts";
106
-
107
- export type AdminEvidenceLayout = "legacy";
108
-
109
- export type AdminEvidenceOperationalDomain =
110
- "runtime" | "firmware" | "commands" | "statistics";
111
-
112
- export type AdminEvidencePage = {
113
- snapshot: AdminEvidenceSnapshot;
114
- nextAfter: null | string;
115
- scannedRecordCount: number;
116
- };
117
-
118
- export type AdminEvidencePageRequest = {
119
- accountIds: Array<string>;
120
- after?: null | string;
121
- };
122
-
123
- export type AdminEvidenceSnapshot = {
124
- documents: Array<AdminEvidenceDocument>;
125
- relatedDocuments: Array<AdminEvidenceDocument>;
126
- readAt: AdminTimestamp;
127
- };
128
-
129
59
  export type AdminFavoriteRequest = {
130
60
  comment: string;
131
61
  };
132
62
 
133
63
  export type AdminGeneration = "gen1" | "gen2";
134
64
 
135
- export type AdminInsuranceEvidenceRequest = {
136
- accountIds: Array<string>;
137
- provider: AdminInsuranceProvider;
138
- records?: AdminEvidenceInsuranceRecords;
139
- after?: null | string;
140
- };
141
-
142
65
  export type AdminInsuranceProvider = "cycler" | "hepster" | "tryg";
143
66
 
144
67
  export type AdminLinkSubscriptionRequest = {
@@ -175,49 +98,11 @@ export type AdminNotificationRequest = {
175
98
  log?: null | string;
176
99
  };
177
100
 
178
- export type AdminOperationalEvidence = {
179
- domain: AdminEvidenceOperationalDomain;
180
- layout: AdminEvidenceLayout;
181
- snapshot: AdminEvidenceSnapshot;
182
- };
183
-
184
- export type AdminOperationalEvidenceRequest = {
185
- accountIds: Array<string>;
186
- domain: AdminEvidenceOperationalDomain;
187
- };
188
-
189
101
  export type AdminReadResult = {
190
102
  documents: Array<AdminDocument>;
191
103
  nextCursor: null | string;
192
104
  };
193
105
 
194
- export type AdminRelationshipChangeRequest = {
195
- accountIds: Array<string>;
196
- kind: AdminRelationshipKind;
197
- accountId: string;
198
- expectedVersion: string;
199
- subscriptionId?: null | string;
200
- allowLastAccountCleanup?: boolean;
201
- };
202
-
203
- export type AdminRelationshipKind = "subscriptionBinding" | "deviceAccount";
204
-
205
- export type AdminRelationshipRequest = {
206
- accountIds: Array<string>;
207
- kind: AdminRelationshipKind;
208
- };
209
-
210
- export type AdminRelationshipVerification = {
211
- verified: boolean;
212
- };
213
-
214
- export type AdminRelationshipVerificationRequest = {
215
- kind: AdminRelationshipKind;
216
- accountId: string;
217
- remainingAccountIds: Array<string>;
218
- subscriptionId?: null | string;
219
- };
220
-
221
106
  export type AdminRequestId = {
222
107
  requestId: string;
223
108
  };
@@ -291,12 +176,6 @@ export type AdminTrackerCommandResult = {
291
176
  jobIds: Array<string>;
292
177
  };
293
178
 
294
- export type AdminTrackerFactsRequest = {
295
- target: string;
296
- accountIds: Array<string>;
297
- domain: AdminEvidenceDomain;
298
- };
299
-
300
179
  export type AdminTrackerView = {
301
180
  tracker: AdminReadResult;
302
181
  };
@@ -333,146 +212,112 @@ export type ProblemDetails = {
333
212
  };
334
213
  };
335
214
 
336
- export type AdminQueryTrackerOperationalEvidenceData = {
337
- body: AdminOperationalEvidenceRequest;
338
- path: {
339
- trackerId: string;
340
- };
341
- query?: never;
342
- url: "/v1/admin/product-evidence/trackers/{trackerId}/operational-queries";
215
+ export type SupportEvidenceAccountsRequest = {
216
+ accountIds: Array<string>;
343
217
  };
344
218
 
345
- export type AdminQueryTrackerOperationalEvidenceErrors = {
346
- /**
347
- * Bad Request
348
- */
349
- 400: ProblemDetails;
350
- /**
351
- * Unauthorized
352
- */
353
- 401: ProblemDetails;
354
- /**
355
- * Forbidden
356
- */
357
- 403: ProblemDetails;
358
- /**
359
- * Conflict
360
- */
361
- 409: ProblemDetails;
362
- /**
363
- * Payload Too Large
364
- */
365
- 413: ProblemDetails;
366
- /**
367
- * Unsupported Media Type
368
- */
369
- 415: ProblemDetails;
370
- /**
371
- * Too Many Requests
372
- */
373
- 429: ProblemDetails;
374
- /**
375
- * Internal Server Error
376
- */
377
- 500: ProblemDetails;
378
- /**
379
- * Bad Gateway
380
- */
381
- 502: ProblemDetails;
382
- /**
383
- * Service Unavailable
384
- */
385
- 503: ProblemDetails;
219
+ export type SupportEvidenceCursor = {
220
+ timestamp: AdminTimestamp;
221
+ id: string;
386
222
  };
387
223
 
388
- export type AdminQueryTrackerOperationalEvidenceError =
389
- AdminQueryTrackerOperationalEvidenceErrors[keyof AdminQueryTrackerOperationalEvidenceErrors];
224
+ export type SupportEvidenceDocument = {
225
+ id: string;
226
+ path: string;
227
+ exists: boolean;
228
+ fields: null | AdminSupportValue;
229
+ updatedAt: null | AdminTimestamp;
230
+ createdAt: null | AdminTimestamp;
231
+ readAt: AdminTimestamp;
232
+ };
390
233
 
391
- export type AdminQueryTrackerOperationalEvidenceResponses = {
392
- /**
393
- * OK
394
- */
395
- 200: AdminOperationalEvidence;
234
+ export type SupportEvidenceDomain =
235
+ | "battery"
236
+ | "versions"
237
+ | "reporting"
238
+ | "configuration"
239
+ | "membershipReference"
240
+ | "membershipState"
241
+ | "commerceReference"
242
+ | "plan"
243
+ | "availability"
244
+ | "bindingCount";
245
+
246
+ export type SupportEvidenceHistoryGroup =
247
+ "battery" | "versions" | "reporting" | "diagnostics";
248
+
249
+ export type SupportEvidenceHistoryRequest = {
250
+ accountId: string;
251
+ source: SupportEvidenceHistorySource;
252
+ from: string;
253
+ to: string;
254
+ after?: null | SupportEvidenceCursor;
255
+ fields?: null | Array<SupportEvidenceHistoryGroup>;
396
256
  };
397
257
 
398
- export type AdminQueryTrackerOperationalEvidenceResponse =
399
- AdminQueryTrackerOperationalEvidenceResponses[keyof AdminQueryTrackerOperationalEvidenceResponses];
258
+ export type SupportEvidenceHistorySource =
259
+ "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
400
260
 
401
- export type AdminQueryTrackerJobEvidenceData = {
402
- body: AdminEvidencePageRequest;
403
- path: {
404
- trackerId: string;
405
- };
406
- query?: never;
407
- url: "/v1/admin/product-evidence/trackers/{trackerId}/job-queries";
261
+ export type SupportEvidenceInsuranceRecords = "contracts" | "creationAttempts";
262
+
263
+ export type SupportEvidenceOperationalDomain =
264
+ "runtime" | "firmware" | "commands" | "statistics";
265
+
266
+ export type SupportEvidencePage = {
267
+ snapshot: SupportEvidenceSnapshot;
268
+ nextAfter: null | string;
269
+ scannedRecordCount: number;
408
270
  };
409
271
 
410
- export type AdminQueryTrackerJobEvidenceErrors = {
411
- /**
412
- * Bad Request
413
- */
414
- 400: ProblemDetails;
415
- /**
416
- * Unauthorized
417
- */
418
- 401: ProblemDetails;
419
- /**
420
- * Forbidden
421
- */
422
- 403: ProblemDetails;
423
- /**
424
- * Conflict
425
- */
426
- 409: ProblemDetails;
427
- /**
428
- * Payload Too Large
429
- */
430
- 413: ProblemDetails;
431
- /**
432
- * Unsupported Media Type
433
- */
434
- 415: ProblemDetails;
435
- /**
436
- * Too Many Requests
437
- */
438
- 429: ProblemDetails;
439
- /**
440
- * Internal Server Error
441
- */
442
- 500: ProblemDetails;
443
- /**
444
- * Bad Gateway
445
- */
446
- 502: ProblemDetails;
447
- /**
448
- * Service Unavailable
449
- */
450
- 503: ProblemDetails;
272
+ export type SupportEvidencePageRequest = {
273
+ accountIds: Array<string>;
274
+ after?: null | string;
451
275
  };
452
276
 
453
- export type AdminQueryTrackerJobEvidenceError =
454
- AdminQueryTrackerJobEvidenceErrors[keyof AdminQueryTrackerJobEvidenceErrors];
277
+ export type SupportEvidenceSnapshot = {
278
+ documents: Array<SupportEvidenceDocument>;
279
+ relatedDocuments: Array<SupportEvidenceDocument>;
280
+ readAt: AdminTimestamp;
281
+ };
455
282
 
456
- export type AdminQueryTrackerJobEvidenceResponses = {
457
- /**
458
- * OK
459
- */
460
- 200: AdminEvidencePage;
283
+ export type SupportInsuranceEvidenceRequest = {
284
+ accountIds: Array<string>;
285
+ provider: AdminInsuranceProvider;
286
+ records?: SupportEvidenceInsuranceRecords;
287
+ after?: null | string;
461
288
  };
462
289
 
463
- export type AdminQueryTrackerJobEvidenceResponse =
464
- AdminQueryTrackerJobEvidenceResponses[keyof AdminQueryTrackerJobEvidenceResponses];
290
+ export type SupportOperationalEvidence = {
291
+ domain: SupportEvidenceOperationalDomain;
292
+ snapshot: SupportEvidenceSnapshot;
293
+ };
465
294
 
466
- export type AdminQuerySubscriptionInsuranceEvidenceData = {
467
- body: AdminInsuranceEvidenceRequest;
468
- path: {
469
- subscriptionId: string;
470
- };
295
+ export type SupportOperationalEvidenceRequest = {
296
+ accountIds: Array<string>;
297
+ domain: SupportEvidenceOperationalDomain;
298
+ };
299
+
300
+ export type SupportRelationshipKind = "subscriptionBinding" | "deviceAccount";
301
+
302
+ export type SupportRelationshipRequest = {
303
+ accountIds: Array<string>;
304
+ kind: SupportRelationshipKind;
305
+ };
306
+
307
+ export type SupportTrackerFactsRequest = {
308
+ target: string;
309
+ accountIds: Array<string>;
310
+ domain: SupportEvidenceDomain;
311
+ };
312
+
313
+ export type AdminGetSessionData = {
314
+ body?: never;
315
+ path?: never;
471
316
  query?: never;
472
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}/insurance-queries";
317
+ url: "/v1/admin/session";
473
318
  };
474
319
 
475
- export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
320
+ export type AdminGetSessionErrors = {
476
321
  /**
477
322
  * Bad Request
478
323
  */
@@ -485,6 +330,10 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
485
330
  * Forbidden
486
331
  */
487
332
  403: ProblemDetails;
333
+ /**
334
+ * Not Found
335
+ */
336
+ 404: ProblemDetails;
488
337
  /**
489
338
  * Conflict
490
339
  */
@@ -493,10 +342,6 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
493
342
  * Payload Too Large
494
343
  */
495
344
  413: ProblemDetails;
496
- /**
497
- * Unsupported Media Type
498
- */
499
- 415: ProblemDetails;
500
345
  /**
501
346
  * Too Many Requests
502
347
  */
@@ -515,31 +360,29 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
515
360
  503: ProblemDetails;
516
361
  };
517
362
 
518
- export type AdminQuerySubscriptionInsuranceEvidenceError =
519
- AdminQuerySubscriptionInsuranceEvidenceErrors[keyof AdminQuerySubscriptionInsuranceEvidenceErrors];
363
+ export type AdminGetSessionError =
364
+ AdminGetSessionErrors[keyof AdminGetSessionErrors];
520
365
 
521
- export type AdminQuerySubscriptionInsuranceEvidenceResponses = {
366
+ export type AdminGetSessionResponses = {
522
367
  /**
523
368
  * OK
524
369
  */
525
- 200: AdminEvidencePage;
370
+ 200: AdminSession;
526
371
  };
527
372
 
528
- export type AdminQuerySubscriptionInsuranceEvidenceResponse =
529
- AdminQuerySubscriptionInsuranceEvidenceResponses[keyof AdminQuerySubscriptionInsuranceEvidenceResponses];
373
+ export type AdminGetSessionResponse =
374
+ AdminGetSessionResponses[keyof AdminGetSessionResponses];
530
375
 
531
- export type AdminListAccountTrackerEvidenceData = {
376
+ export type AdminGetTrackerData = {
532
377
  body?: never;
533
378
  path: {
534
- accountId: string;
535
- };
536
- query?: {
537
- after?: string;
379
+ trackerId: string;
538
380
  };
539
- url: "/v1/admin/product-evidence/accounts/{accountId}/trackers";
381
+ query?: never;
382
+ url: "/v1/admin/trackers/{trackerId}";
540
383
  };
541
384
 
542
- export type AdminListAccountTrackerEvidenceErrors = {
385
+ export type AdminGetTrackerErrors = {
543
386
  /**
544
387
  * Bad Request
545
388
  */
@@ -552,6 +395,10 @@ export type AdminListAccountTrackerEvidenceErrors = {
552
395
  * Forbidden
553
396
  */
554
397
  403: ProblemDetails;
398
+ /**
399
+ * Not Found
400
+ */
401
+ 404: ProblemDetails;
555
402
  /**
556
403
  * Conflict
557
404
  */
@@ -578,31 +425,31 @@ export type AdminListAccountTrackerEvidenceErrors = {
578
425
  503: ProblemDetails;
579
426
  };
580
427
 
581
- export type AdminListAccountTrackerEvidenceError =
582
- AdminListAccountTrackerEvidenceErrors[keyof AdminListAccountTrackerEvidenceErrors];
428
+ export type AdminGetTrackerError =
429
+ AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
583
430
 
584
- export type AdminListAccountTrackerEvidenceResponses = {
431
+ export type AdminGetTrackerResponses = {
585
432
  /**
586
433
  * OK
587
434
  */
588
- 200: AdminEvidenceSnapshot;
435
+ 200: AdminReadResult;
589
436
  };
590
437
 
591
- export type AdminListAccountTrackerEvidenceResponse =
592
- AdminListAccountTrackerEvidenceResponses[keyof AdminListAccountTrackerEvidenceResponses];
438
+ export type AdminGetTrackerResponse =
439
+ AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
593
440
 
594
- export type AdminListAccountSubscriptionEvidenceData = {
441
+ export type AdminSearchTrackersData = {
595
442
  body?: never;
596
- path: {
597
- accountId: string;
598
- };
599
- query?: {
600
- after?: string;
443
+ path?: never;
444
+ query: {
445
+ kind: "iccid" | "imei" | "subscriptionId" | "uid";
446
+ value: string;
447
+ cursor?: string;
601
448
  };
602
- url: "/v1/admin/product-evidence/accounts/{accountId}/subscriptions";
449
+ url: "/v1/admin/trackers";
603
450
  };
604
451
 
605
- export type AdminListAccountSubscriptionEvidenceErrors = {
452
+ export type AdminSearchTrackersErrors = {
606
453
  /**
607
454
  * Bad Request
608
455
  */
@@ -615,6 +462,10 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
615
462
  * Forbidden
616
463
  */
617
464
  403: ProblemDetails;
465
+ /**
466
+ * Not Found
467
+ */
468
+ 404: ProblemDetails;
618
469
  /**
619
470
  * Conflict
620
471
  */
@@ -641,27 +492,40 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
641
492
  503: ProblemDetails;
642
493
  };
643
494
 
644
- export type AdminListAccountSubscriptionEvidenceError =
645
- AdminListAccountSubscriptionEvidenceErrors[keyof AdminListAccountSubscriptionEvidenceErrors];
495
+ export type AdminSearchTrackersError =
496
+ AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
646
497
 
647
- export type AdminListAccountSubscriptionEvidenceResponses = {
498
+ export type AdminSearchTrackersResponses = {
648
499
  /**
649
500
  * OK
650
501
  */
651
- 200: AdminEvidenceSnapshot;
502
+ 200: AdminReadResult;
652
503
  };
653
504
 
654
- export type AdminListAccountSubscriptionEvidenceResponse =
655
- AdminListAccountSubscriptionEvidenceResponses[keyof AdminListAccountSubscriptionEvidenceResponses];
505
+ export type AdminSearchTrackersResponse =
506
+ AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
656
507
 
657
- export type AdminQueryTrackerFactEvidenceData = {
658
- body: AdminTrackerFactsRequest;
659
- path?: never;
660
- query?: never;
661
- url: "/v1/admin/product-evidence/tracker-fact-queries";
508
+ export type AdminListTrackerHistoryData = {
509
+ body?: never;
510
+ path: {
511
+ trackerId: string;
512
+ collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
513
+ };
514
+ query?: {
515
+ /**
516
+ * Inclusive ISO timestamp with timezone.
517
+ */
518
+ from?: string;
519
+ /**
520
+ * Exclusive ISO timestamp with timezone.
521
+ */
522
+ to?: string;
523
+ cursor?: string;
524
+ };
525
+ url: "/v1/admin/trackers/{trackerId}/history/{collection}";
662
526
  };
663
527
 
664
- export type AdminQueryTrackerFactEvidenceErrors = {
528
+ export type AdminListTrackerHistoryErrors = {
665
529
  /**
666
530
  * Bad Request
667
531
  */
@@ -674,6 +538,10 @@ export type AdminQueryTrackerFactEvidenceErrors = {
674
538
  * Forbidden
675
539
  */
676
540
  403: ProblemDetails;
541
+ /**
542
+ * Not Found
543
+ */
544
+ 404: ProblemDetails;
677
545
  /**
678
546
  * Conflict
679
547
  */
@@ -682,10 +550,6 @@ export type AdminQueryTrackerFactEvidenceErrors = {
682
550
  * Payload Too Large
683
551
  */
684
552
  413: ProblemDetails;
685
- /**
686
- * Unsupported Media Type
687
- */
688
- 415: ProblemDetails;
689
553
  /**
690
554
  * Too Many Requests
691
555
  */
@@ -704,41 +568,29 @@ export type AdminQueryTrackerFactEvidenceErrors = {
704
568
  503: ProblemDetails;
705
569
  };
706
570
 
707
- export type AdminQueryTrackerFactEvidenceError =
708
- AdminQueryTrackerFactEvidenceErrors[keyof AdminQueryTrackerFactEvidenceErrors];
571
+ export type AdminListTrackerHistoryError =
572
+ AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
709
573
 
710
- export type AdminQueryTrackerFactEvidenceResponses = {
574
+ export type AdminListTrackerHistoryResponses = {
711
575
  /**
712
576
  * OK
713
577
  */
714
- 200: AdminEvidenceSnapshot;
578
+ 200: AdminReadResult;
715
579
  };
716
580
 
717
- export type AdminQueryTrackerFactEvidenceResponse =
718
- AdminQueryTrackerFactEvidenceResponses[keyof AdminQueryTrackerFactEvidenceResponses];
581
+ export type AdminListTrackerHistoryResponse =
582
+ AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
719
583
 
720
- export type AdminGetSubscriptionFactEvidenceData = {
721
- body?: never;
584
+ export type AdminRequestTrackerModeData = {
585
+ body: AdminModeRequest;
722
586
  path: {
723
- subscriptionId: string;
724
- };
725
- query: {
726
- domain:
727
- | "battery"
728
- | "versions"
729
- | "reporting"
730
- | "configuration"
731
- | "membershipReference"
732
- | "membershipState"
733
- | "commerceReference"
734
- | "plan"
735
- | "availability"
736
- | "bindingCount";
587
+ trackerId: string;
737
588
  };
738
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}";
589
+ query?: never;
590
+ url: "/v1/admin/trackers/{trackerId}/mode-requests";
739
591
  };
740
592
 
741
- export type AdminGetSubscriptionFactEvidenceErrors = {
593
+ export type AdminRequestTrackerModeErrors = {
742
594
  /**
743
595
  * Bad Request
744
596
  */
@@ -751,6 +603,10 @@ export type AdminGetSubscriptionFactEvidenceErrors = {
751
603
  * Forbidden
752
604
  */
753
605
  403: ProblemDetails;
606
+ /**
607
+ * Not Found
608
+ */
609
+ 404: ProblemDetails;
754
610
  /**
755
611
  * Conflict
756
612
  */
@@ -759,6 +615,10 @@ export type AdminGetSubscriptionFactEvidenceErrors = {
759
615
  * Payload Too Large
760
616
  */
761
617
  413: ProblemDetails;
618
+ /**
619
+ * Unsupported Media Type
620
+ */
621
+ 415: ProblemDetails;
762
622
  /**
763
623
  * Too Many Requests
764
624
  */
@@ -777,29 +637,29 @@ export type AdminGetSubscriptionFactEvidenceErrors = {
777
637
  503: ProblemDetails;
778
638
  };
779
639
 
780
- export type AdminGetSubscriptionFactEvidenceError =
781
- AdminGetSubscriptionFactEvidenceErrors[keyof AdminGetSubscriptionFactEvidenceErrors];
640
+ export type AdminRequestTrackerModeError =
641
+ AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
782
642
 
783
- export type AdminGetSubscriptionFactEvidenceResponses = {
643
+ export type AdminRequestTrackerModeResponses = {
784
644
  /**
785
645
  * OK
786
646
  */
787
- 200: AdminEvidenceSnapshot;
647
+ 200: CommandSuccess;
788
648
  };
789
649
 
790
- export type AdminGetSubscriptionFactEvidenceResponse =
791
- AdminGetSubscriptionFactEvidenceResponses[keyof AdminGetSubscriptionFactEvidenceResponses];
650
+ export type AdminRequestTrackerModeResponse =
651
+ AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
792
652
 
793
- export type AdminQueryTrackerSubscriptionEvidenceData = {
794
- body: AdminEvidenceAccountsRequest;
653
+ export type AdminRequestTrackerCommandData = {
654
+ body: AdminTrackerCommandRequest;
795
655
  path: {
796
656
  trackerId: string;
797
657
  };
798
658
  query?: never;
799
- url: "/v1/admin/product-evidence/trackers/{trackerId}/subscription-queries";
659
+ url: "/v1/admin/trackers/{trackerId}/pending-command";
800
660
  };
801
661
 
802
- export type AdminQueryTrackerSubscriptionEvidenceErrors = {
662
+ export type AdminRequestTrackerCommandErrors = {
803
663
  /**
804
664
  * Bad Request
805
665
  */
@@ -812,6 +672,10 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
812
672
  * Forbidden
813
673
  */
814
674
  403: ProblemDetails;
675
+ /**
676
+ * Not Found
677
+ */
678
+ 404: ProblemDetails;
815
679
  /**
816
680
  * Conflict
817
681
  */
@@ -842,29 +706,29 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
842
706
  503: ProblemDetails;
843
707
  };
844
708
 
845
- export type AdminQueryTrackerSubscriptionEvidenceError =
846
- AdminQueryTrackerSubscriptionEvidenceErrors[keyof AdminQueryTrackerSubscriptionEvidenceErrors];
709
+ export type AdminRequestTrackerCommandError =
710
+ AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
847
711
 
848
- export type AdminQueryTrackerSubscriptionEvidenceResponses = {
712
+ export type AdminRequestTrackerCommandResponses = {
849
713
  /**
850
714
  * OK
851
715
  */
852
- 200: AdminEvidenceSnapshot;
716
+ 200: CommandSuccess;
853
717
  };
854
718
 
855
- export type AdminQueryTrackerSubscriptionEvidenceResponse =
856
- AdminQueryTrackerSubscriptionEvidenceResponses[keyof AdminQueryTrackerSubscriptionEvidenceResponses];
719
+ export type AdminRequestTrackerCommandResponse =
720
+ AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
857
721
 
858
- export type AdminQueryCommerceBindingEvidenceData = {
859
- body: AdminEvidenceAccountsRequest;
722
+ export type AdminUpdateTrackerConfigurationData = {
723
+ body: AdminConfigurationRequest;
860
724
  path: {
861
- wooId: number;
725
+ trackerId: string;
862
726
  };
863
727
  query?: never;
864
- url: "/v1/admin/product-evidence/commerce-subscriptions/{wooId}/binding-queries";
728
+ url: "/v1/admin/trackers/{trackerId}/configuration";
865
729
  };
866
730
 
867
- export type AdminQueryCommerceBindingEvidenceErrors = {
731
+ export type AdminUpdateTrackerConfigurationErrors = {
868
732
  /**
869
733
  * Bad Request
870
734
  */
@@ -877,6 +741,10 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
877
741
  * Forbidden
878
742
  */
879
743
  403: ProblemDetails;
744
+ /**
745
+ * Not Found
746
+ */
747
+ 404: ProblemDetails;
880
748
  /**
881
749
  * Conflict
882
750
  */
@@ -907,29 +775,29 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
907
775
  503: ProblemDetails;
908
776
  };
909
777
 
910
- export type AdminQueryCommerceBindingEvidenceError =
911
- AdminQueryCommerceBindingEvidenceErrors[keyof AdminQueryCommerceBindingEvidenceErrors];
778
+ export type AdminUpdateTrackerConfigurationError =
779
+ AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
912
780
 
913
- export type AdminQueryCommerceBindingEvidenceResponses = {
781
+ export type AdminUpdateTrackerConfigurationResponses = {
914
782
  /**
915
783
  * OK
916
784
  */
917
- 200: AdminEvidenceSnapshot;
785
+ 200: CommandSuccess;
918
786
  };
919
787
 
920
- export type AdminQueryCommerceBindingEvidenceResponse =
921
- AdminQueryCommerceBindingEvidenceResponses[keyof AdminQueryCommerceBindingEvidenceResponses];
788
+ export type AdminUpdateTrackerConfigurationResponse =
789
+ AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
922
790
 
923
- export type AdminQueryTrackerHistoryEvidenceData = {
924
- body: AdminEvidenceHistoryRequest;
791
+ export type AdminUpdateTrackerBikeData = {
792
+ body: AdminBikeRequest;
925
793
  path: {
926
794
  trackerId: string;
927
795
  };
928
796
  query?: never;
929
- url: "/v1/admin/product-evidence/trackers/{trackerId}/history-queries";
797
+ url: "/v1/admin/trackers/{trackerId}/bike";
930
798
  };
931
799
 
932
- export type AdminQueryTrackerHistoryEvidenceErrors = {
800
+ export type AdminUpdateTrackerBikeErrors = {
933
801
  /**
934
802
  * Bad Request
935
803
  */
@@ -942,6 +810,10 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
942
810
  * Forbidden
943
811
  */
944
812
  403: ProblemDetails;
813
+ /**
814
+ * Not Found
815
+ */
816
+ 404: ProblemDetails;
945
817
  /**
946
818
  * Conflict
947
819
  */
@@ -972,29 +844,29 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
972
844
  503: ProblemDetails;
973
845
  };
974
846
 
975
- export type AdminQueryTrackerHistoryEvidenceError =
976
- AdminQueryTrackerHistoryEvidenceErrors[keyof AdminQueryTrackerHistoryEvidenceErrors];
847
+ export type AdminUpdateTrackerBikeError =
848
+ AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
977
849
 
978
- export type AdminQueryTrackerHistoryEvidenceResponses = {
850
+ export type AdminUpdateTrackerBikeResponses = {
979
851
  /**
980
852
  * OK
981
853
  */
982
- 200: AdminEvidenceSnapshot;
854
+ 200: CommandSuccess;
983
855
  };
984
856
 
985
- export type AdminQueryTrackerHistoryEvidenceResponse =
986
- AdminQueryTrackerHistoryEvidenceResponses[keyof AdminQueryTrackerHistoryEvidenceResponses];
857
+ export type AdminUpdateTrackerBikeResponse =
858
+ AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
987
859
 
988
- export type AdminQueryTrackerRelationshipEvidenceData = {
989
- body: AdminRelationshipRequest;
860
+ export type AdminCleanTrackerData = {
861
+ body: AdminRequestId;
990
862
  path: {
991
863
  trackerId: string;
992
864
  };
993
865
  query?: never;
994
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-queries";
866
+ url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
995
867
  };
996
868
 
997
- export type AdminQueryTrackerRelationshipEvidenceErrors = {
869
+ export type AdminCleanTrackerErrors = {
998
870
  /**
999
871
  * Bad Request
1000
872
  */
@@ -1007,6 +879,10 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
1007
879
  * Forbidden
1008
880
  */
1009
881
  403: ProblemDetails;
882
+ /**
883
+ * Not Found
884
+ */
885
+ 404: ProblemDetails;
1010
886
  /**
1011
887
  * Conflict
1012
888
  */
@@ -1037,29 +913,29 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
1037
913
  503: ProblemDetails;
1038
914
  };
1039
915
 
1040
- export type AdminQueryTrackerRelationshipEvidenceError =
1041
- AdminQueryTrackerRelationshipEvidenceErrors[keyof AdminQueryTrackerRelationshipEvidenceErrors];
916
+ export type AdminCleanTrackerError =
917
+ AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1042
918
 
1043
- export type AdminQueryTrackerRelationshipEvidenceResponses = {
919
+ export type AdminCleanTrackerResponses = {
1044
920
  /**
1045
- * OK
921
+ * Accepted
1046
922
  */
1047
- 200: AdminEvidenceSnapshot;
923
+ 202: AdminTrackerCommandResult;
1048
924
  };
1049
925
 
1050
- export type AdminQueryTrackerRelationshipEvidenceResponse =
1051
- AdminQueryTrackerRelationshipEvidenceResponses[keyof AdminQueryTrackerRelationshipEvidenceResponses];
926
+ export type AdminCleanTrackerResponse =
927
+ AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1052
928
 
1053
- export type AdminChangeTrackerRelationshipData = {
1054
- body: AdminRelationshipChangeRequest;
929
+ export type AdminSetTrackerDenylistData = {
930
+ body: AdminDenylistRequest;
1055
931
  path: {
1056
932
  trackerId: string;
1057
933
  };
1058
934
  query?: never;
1059
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-changes";
935
+ url: "/v1/admin/trackers/{trackerId}/denylist";
1060
936
  };
1061
937
 
1062
- export type AdminChangeTrackerRelationshipErrors = {
938
+ export type AdminSetTrackerDenylistErrors = {
1063
939
  /**
1064
940
  * Bad Request
1065
941
  */
@@ -1072,6 +948,10 @@ export type AdminChangeTrackerRelationshipErrors = {
1072
948
  * Forbidden
1073
949
  */
1074
950
  403: ProblemDetails;
951
+ /**
952
+ * Not Found
953
+ */
954
+ 404: ProblemDetails;
1075
955
  /**
1076
956
  * Conflict
1077
957
  */
@@ -1102,29 +982,29 @@ export type AdminChangeTrackerRelationshipErrors = {
1102
982
  503: ProblemDetails;
1103
983
  };
1104
984
 
1105
- export type AdminChangeTrackerRelationshipError =
1106
- AdminChangeTrackerRelationshipErrors[keyof AdminChangeTrackerRelationshipErrors];
985
+ export type AdminSetTrackerDenylistError =
986
+ AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1107
987
 
1108
- export type AdminChangeTrackerRelationshipResponses = {
988
+ export type AdminSetTrackerDenylistResponses = {
1109
989
  /**
1110
990
  * OK
1111
991
  */
1112
- 200: CommandSuccess;
992
+ 200: AdminTrackerCommandResult;
1113
993
  };
1114
994
 
1115
- export type AdminChangeTrackerRelationshipResponse =
1116
- AdminChangeTrackerRelationshipResponses[keyof AdminChangeTrackerRelationshipResponses];
995
+ export type AdminSetTrackerDenylistResponse =
996
+ AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1117
997
 
1118
- export type AdminVerifyTrackerRelationshipData = {
1119
- body: AdminRelationshipVerificationRequest;
998
+ export type AdminNotifyTrackerData = {
999
+ body: AdminNotificationRequest;
1120
1000
  path: {
1121
1001
  trackerId: string;
1122
1002
  };
1123
1003
  query?: never;
1124
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-verification-queries";
1004
+ url: "/v1/admin/trackers/{trackerId}/notification-requests";
1125
1005
  };
1126
1006
 
1127
- export type AdminVerifyTrackerRelationshipErrors = {
1007
+ export type AdminNotifyTrackerErrors = {
1128
1008
  /**
1129
1009
  * Bad Request
1130
1010
  */
@@ -1137,6 +1017,10 @@ export type AdminVerifyTrackerRelationshipErrors = {
1137
1017
  * Forbidden
1138
1018
  */
1139
1019
  403: ProblemDetails;
1020
+ /**
1021
+ * Not Found
1022
+ */
1023
+ 404: ProblemDetails;
1140
1024
  /**
1141
1025
  * Conflict
1142
1026
  */
@@ -1167,27 +1051,29 @@ export type AdminVerifyTrackerRelationshipErrors = {
1167
1051
  503: ProblemDetails;
1168
1052
  };
1169
1053
 
1170
- export type AdminVerifyTrackerRelationshipError =
1171
- AdminVerifyTrackerRelationshipErrors[keyof AdminVerifyTrackerRelationshipErrors];
1054
+ export type AdminNotifyTrackerError =
1055
+ AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1172
1056
 
1173
- export type AdminVerifyTrackerRelationshipResponses = {
1057
+ export type AdminNotifyTrackerResponses = {
1174
1058
  /**
1175
- * OK
1059
+ * Accepted
1176
1060
  */
1177
- 200: AdminRelationshipVerification;
1061
+ 202: AdminTrackerCommandResult;
1178
1062
  };
1179
1063
 
1180
- export type AdminVerifyTrackerRelationshipResponse =
1181
- AdminVerifyTrackerRelationshipResponses[keyof AdminVerifyTrackerRelationshipResponses];
1064
+ export type AdminNotifyTrackerResponse =
1065
+ AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1182
1066
 
1183
- export type AdminGetSessionData = {
1184
- body?: never;
1185
- path?: never;
1067
+ export type AdminAddTrackerMemberData = {
1068
+ body: AdminAddMemberRequest;
1069
+ path: {
1070
+ trackerId: string;
1071
+ };
1186
1072
  query?: never;
1187
- url: "/v1/admin/session";
1073
+ url: "/v1/admin/trackers/{trackerId}/members";
1188
1074
  };
1189
1075
 
1190
- export type AdminGetSessionErrors = {
1076
+ export type AdminAddTrackerMemberErrors = {
1191
1077
  /**
1192
1078
  * Bad Request
1193
1079
  */
@@ -1212,6 +1098,10 @@ export type AdminGetSessionErrors = {
1212
1098
  * Payload Too Large
1213
1099
  */
1214
1100
  413: ProblemDetails;
1101
+ /**
1102
+ * Unsupported Media Type
1103
+ */
1104
+ 415: ProblemDetails;
1215
1105
  /**
1216
1106
  * Too Many Requests
1217
1107
  */
@@ -1230,29 +1120,30 @@ export type AdminGetSessionErrors = {
1230
1120
  503: ProblemDetails;
1231
1121
  };
1232
1122
 
1233
- export type AdminGetSessionError =
1234
- AdminGetSessionErrors[keyof AdminGetSessionErrors];
1123
+ export type AdminAddTrackerMemberError =
1124
+ AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1235
1125
 
1236
- export type AdminGetSessionResponses = {
1126
+ export type AdminAddTrackerMemberResponses = {
1237
1127
  /**
1238
1128
  * OK
1239
1129
  */
1240
- 200: AdminSession;
1130
+ 200: CommandSuccess;
1241
1131
  };
1242
1132
 
1243
- export type AdminGetSessionResponse =
1244
- AdminGetSessionResponses[keyof AdminGetSessionResponses];
1133
+ export type AdminAddTrackerMemberResponse =
1134
+ AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1245
1135
 
1246
- export type AdminGetTrackerData = {
1136
+ export type AdminRemoveTrackerMemberData = {
1247
1137
  body?: never;
1248
1138
  path: {
1249
1139
  trackerId: string;
1140
+ uid: string;
1250
1141
  };
1251
1142
  query?: never;
1252
- url: "/v1/admin/trackers/{trackerId}";
1143
+ url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1253
1144
  };
1254
1145
 
1255
- export type AdminGetTrackerErrors = {
1146
+ export type AdminRemoveTrackerMemberErrors = {
1256
1147
  /**
1257
1148
  * Bad Request
1258
1149
  */
@@ -1295,31 +1186,29 @@ export type AdminGetTrackerErrors = {
1295
1186
  503: ProblemDetails;
1296
1187
  };
1297
1188
 
1298
- export type AdminGetTrackerError =
1299
- AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
1189
+ export type AdminRemoveTrackerMemberError =
1190
+ AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1300
1191
 
1301
- export type AdminGetTrackerResponses = {
1192
+ export type AdminRemoveTrackerMemberResponses = {
1302
1193
  /**
1303
1194
  * OK
1304
1195
  */
1305
- 200: AdminReadResult;
1196
+ 200: CommandSuccess;
1306
1197
  };
1307
1198
 
1308
- export type AdminGetTrackerResponse =
1309
- AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
1199
+ export type AdminRemoveTrackerMemberResponse =
1200
+ AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1310
1201
 
1311
- export type AdminSearchTrackersData = {
1202
+ export type AdminUnlinkTrackerSubscriptionData = {
1312
1203
  body?: never;
1313
- path?: never;
1314
- query: {
1315
- kind: "iccid" | "imei" | "subscriptionId" | "uid";
1316
- value: string;
1317
- cursor?: string;
1204
+ path: {
1205
+ trackerId: string;
1318
1206
  };
1319
- url: "/v1/admin/trackers";
1207
+ query?: never;
1208
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1320
1209
  };
1321
1210
 
1322
- export type AdminSearchTrackersErrors = {
1211
+ export type AdminUnlinkTrackerSubscriptionErrors = {
1323
1212
  /**
1324
1213
  * Bad Request
1325
1214
  */
@@ -1362,40 +1251,29 @@ export type AdminSearchTrackersErrors = {
1362
1251
  503: ProblemDetails;
1363
1252
  };
1364
1253
 
1365
- export type AdminSearchTrackersError =
1366
- AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
1254
+ export type AdminUnlinkTrackerSubscriptionError =
1255
+ AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1367
1256
 
1368
- export type AdminSearchTrackersResponses = {
1257
+ export type AdminUnlinkTrackerSubscriptionResponses = {
1369
1258
  /**
1370
1259
  * OK
1371
1260
  */
1372
- 200: AdminReadResult;
1261
+ 200: CommandSuccess;
1373
1262
  };
1374
1263
 
1375
- export type AdminSearchTrackersResponse =
1376
- AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
1264
+ export type AdminUnlinkTrackerSubscriptionResponse =
1265
+ AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1377
1266
 
1378
- export type AdminListTrackerHistoryData = {
1379
- body?: never;
1267
+ export type AdminLinkTrackerSubscriptionData = {
1268
+ body: AdminLinkSubscriptionRequest;
1380
1269
  path: {
1381
1270
  trackerId: string;
1382
- collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
1383
- };
1384
- query?: {
1385
- /**
1386
- * Inclusive ISO timestamp with timezone.
1387
- */
1388
- from?: string;
1389
- /**
1390
- * Exclusive ISO timestamp with timezone.
1391
- */
1392
- to?: string;
1393
- cursor?: string;
1394
1271
  };
1395
- url: "/v1/admin/trackers/{trackerId}/history/{collection}";
1272
+ query?: never;
1273
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1396
1274
  };
1397
1275
 
1398
- export type AdminListTrackerHistoryErrors = {
1276
+ export type AdminLinkTrackerSubscriptionErrors = {
1399
1277
  /**
1400
1278
  * Bad Request
1401
1279
  */
@@ -1420,6 +1298,10 @@ export type AdminListTrackerHistoryErrors = {
1420
1298
  * Payload Too Large
1421
1299
  */
1422
1300
  413: ProblemDetails;
1301
+ /**
1302
+ * Unsupported Media Type
1303
+ */
1304
+ 415: ProblemDetails;
1423
1305
  /**
1424
1306
  * Too Many Requests
1425
1307
  */
@@ -1438,29 +1320,29 @@ export type AdminListTrackerHistoryErrors = {
1438
1320
  503: ProblemDetails;
1439
1321
  };
1440
1322
 
1441
- export type AdminListTrackerHistoryError =
1442
- AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
1323
+ export type AdminLinkTrackerSubscriptionError =
1324
+ AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1443
1325
 
1444
- export type AdminListTrackerHistoryResponses = {
1326
+ export type AdminLinkTrackerSubscriptionResponses = {
1445
1327
  /**
1446
1328
  * OK
1447
1329
  */
1448
- 200: AdminReadResult;
1330
+ 200: CommandSuccess;
1449
1331
  };
1450
1332
 
1451
- export type AdminListTrackerHistoryResponse =
1452
- AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
1333
+ export type AdminLinkTrackerSubscriptionResponse =
1334
+ AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1453
1335
 
1454
- export type AdminRequestTrackerModeData = {
1455
- body: AdminModeRequest;
1336
+ export type AdminRequestTrackerInsuranceData = {
1337
+ body: AdminRequestId;
1456
1338
  path: {
1457
1339
  trackerId: string;
1458
1340
  };
1459
1341
  query?: never;
1460
- url: "/v1/admin/trackers/{trackerId}/mode-requests";
1342
+ url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1461
1343
  };
1462
1344
 
1463
- export type AdminRequestTrackerModeErrors = {
1345
+ export type AdminRequestTrackerInsuranceErrors = {
1464
1346
  /**
1465
1347
  * Bad Request
1466
1348
  */
@@ -1507,29 +1389,29 @@ export type AdminRequestTrackerModeErrors = {
1507
1389
  503: ProblemDetails;
1508
1390
  };
1509
1391
 
1510
- export type AdminRequestTrackerModeError =
1511
- AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1392
+ export type AdminRequestTrackerInsuranceError =
1393
+ AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1512
1394
 
1513
- export type AdminRequestTrackerModeResponses = {
1395
+ export type AdminRequestTrackerInsuranceResponses = {
1514
1396
  /**
1515
- * OK
1397
+ * Accepted
1516
1398
  */
1517
- 200: CommandSuccess;
1399
+ 202: CommandSuccess;
1518
1400
  };
1519
1401
 
1520
- export type AdminRequestTrackerModeResponse =
1521
- AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1402
+ export type AdminRequestTrackerInsuranceResponse =
1403
+ AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1522
1404
 
1523
- export type AdminRequestTrackerCommandData = {
1524
- body: AdminTrackerCommandRequest;
1405
+ export type AdminReconcileTrackerSubscriptionData = {
1406
+ body: AdminRequestId;
1525
1407
  path: {
1526
1408
  trackerId: string;
1527
1409
  };
1528
1410
  query?: never;
1529
- url: "/v1/admin/trackers/{trackerId}/pending-command";
1411
+ url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1530
1412
  };
1531
1413
 
1532
- export type AdminRequestTrackerCommandErrors = {
1414
+ export type AdminReconcileTrackerSubscriptionErrors = {
1533
1415
  /**
1534
1416
  * Bad Request
1535
1417
  */
@@ -1576,29 +1458,37 @@ export type AdminRequestTrackerCommandErrors = {
1576
1458
  503: ProblemDetails;
1577
1459
  };
1578
1460
 
1579
- export type AdminRequestTrackerCommandError =
1580
- AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1461
+ export type AdminReconcileTrackerSubscriptionError =
1462
+ AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
1581
1463
 
1582
- export type AdminRequestTrackerCommandResponses = {
1464
+ export type AdminReconcileTrackerSubscriptionResponses = {
1583
1465
  /**
1584
- * OK
1466
+ * Accepted
1585
1467
  */
1586
- 200: CommandSuccess;
1468
+ 202: CommandSuccess;
1587
1469
  };
1588
1470
 
1589
- export type AdminRequestTrackerCommandResponse =
1590
- AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1471
+ export type AdminReconcileTrackerSubscriptionResponse =
1472
+ AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
1591
1473
 
1592
- export type AdminUpdateTrackerConfigurationData = {
1593
- body: AdminConfigurationRequest;
1474
+ export type AdminUploadTrackerPhotoData = {
1475
+ body: {
1476
+ /**
1477
+ * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
1478
+ */
1479
+ file: Blob | File;
1480
+ kind: "bike" | "installation" | "receipt";
1481
+ width: number;
1482
+ height: number;
1483
+ };
1594
1484
  path: {
1595
1485
  trackerId: string;
1596
1486
  };
1597
1487
  query?: never;
1598
- url: "/v1/admin/trackers/{trackerId}/configuration";
1488
+ url: "/v1/admin/trackers/{trackerId}/photos";
1599
1489
  };
1600
1490
 
1601
- export type AdminUpdateTrackerConfigurationErrors = {
1491
+ export type AdminUploadTrackerPhotoErrors = {
1602
1492
  /**
1603
1493
  * Bad Request
1604
1494
  */
@@ -1645,29 +1535,29 @@ export type AdminUpdateTrackerConfigurationErrors = {
1645
1535
  503: ProblemDetails;
1646
1536
  };
1647
1537
 
1648
- export type AdminUpdateTrackerConfigurationError =
1649
- AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1538
+ export type AdminUploadTrackerPhotoError =
1539
+ AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
1650
1540
 
1651
- export type AdminUpdateTrackerConfigurationResponses = {
1541
+ export type AdminUploadTrackerPhotoResponses = {
1652
1542
  /**
1653
1543
  * OK
1654
1544
  */
1655
- 200: CommandSuccess;
1545
+ 200: PhotoUploadResult;
1656
1546
  };
1657
1547
 
1658
- export type AdminUpdateTrackerConfigurationResponse =
1659
- AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1548
+ export type AdminUploadTrackerPhotoResponse =
1549
+ AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
1660
1550
 
1661
- export type AdminUpdateTrackerBikeData = {
1662
- body: AdminBikeRequest;
1551
+ export type AdminSubscribeTrackerData = {
1552
+ body?: never;
1663
1553
  path: {
1664
1554
  trackerId: string;
1665
1555
  };
1666
1556
  query?: never;
1667
- url: "/v1/admin/trackers/{trackerId}/bike";
1557
+ url: "/v1/admin/trackers/{trackerId}/stream";
1668
1558
  };
1669
1559
 
1670
- export type AdminUpdateTrackerBikeErrors = {
1560
+ export type AdminSubscribeTrackerErrors = {
1671
1561
  /**
1672
1562
  * Bad Request
1673
1563
  */
@@ -1692,10 +1582,6 @@ export type AdminUpdateTrackerBikeErrors = {
1692
1582
  * Payload Too Large
1693
1583
  */
1694
1584
  413: ProblemDetails;
1695
- /**
1696
- * Unsupported Media Type
1697
- */
1698
- 415: ProblemDetails;
1699
1585
  /**
1700
1586
  * Too Many Requests
1701
1587
  */
@@ -1714,29 +1600,29 @@ export type AdminUpdateTrackerBikeErrors = {
1714
1600
  503: ProblemDetails;
1715
1601
  };
1716
1602
 
1717
- export type AdminUpdateTrackerBikeError =
1718
- AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1603
+ export type AdminSubscribeTrackerError =
1604
+ AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
1719
1605
 
1720
- export type AdminUpdateTrackerBikeResponses = {
1606
+ export type AdminSubscribeTrackerResponses = {
1721
1607
  /**
1722
1608
  * OK
1723
1609
  */
1724
- 200: CommandSuccess;
1610
+ 200: AdminTrackerView | null;
1725
1611
  };
1726
1612
 
1727
- export type AdminUpdateTrackerBikeResponse =
1728
- AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1613
+ export type AdminSubscribeTrackerResponse =
1614
+ AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
1729
1615
 
1730
- export type AdminCleanTrackerData = {
1731
- body: AdminRequestId;
1616
+ export type AdminGetUserData = {
1617
+ body?: never;
1732
1618
  path: {
1733
- trackerId: string;
1619
+ uid: string;
1734
1620
  };
1735
1621
  query?: never;
1736
- url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
1622
+ url: "/v1/admin/users/{uid}";
1737
1623
  };
1738
1624
 
1739
- export type AdminCleanTrackerErrors = {
1625
+ export type AdminGetUserErrors = {
1740
1626
  /**
1741
1627
  * Bad Request
1742
1628
  */
@@ -1761,10 +1647,6 @@ export type AdminCleanTrackerErrors = {
1761
1647
  * Payload Too Large
1762
1648
  */
1763
1649
  413: ProblemDetails;
1764
- /**
1765
- * Unsupported Media Type
1766
- */
1767
- 415: ProblemDetails;
1768
1650
  /**
1769
1651
  * Too Many Requests
1770
1652
  */
@@ -1783,29 +1665,26 @@ export type AdminCleanTrackerErrors = {
1783
1665
  503: ProblemDetails;
1784
1666
  };
1785
1667
 
1786
- export type AdminCleanTrackerError =
1787
- AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1668
+ export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
1788
1669
 
1789
- export type AdminCleanTrackerResponses = {
1670
+ export type AdminGetUserResponses = {
1790
1671
  /**
1791
- * Accepted
1672
+ * OK
1792
1673
  */
1793
- 202: AdminTrackerCommandResult;
1674
+ 200: AdminReadResult;
1794
1675
  };
1795
1676
 
1796
- export type AdminCleanTrackerResponse =
1797
- AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1677
+ export type AdminGetUserResponse =
1678
+ AdminGetUserResponses[keyof AdminGetUserResponses];
1798
1679
 
1799
- export type AdminSetTrackerDenylistData = {
1800
- body: AdminDenylistRequest;
1801
- path: {
1802
- trackerId: string;
1803
- };
1680
+ export type AdminLookupUsersData = {
1681
+ body: AdminLookupRequest;
1682
+ path?: never;
1804
1683
  query?: never;
1805
- url: "/v1/admin/trackers/{trackerId}/denylist";
1684
+ url: "/v1/admin/users/lookup";
1806
1685
  };
1807
1686
 
1808
- export type AdminSetTrackerDenylistErrors = {
1687
+ export type AdminLookupUsersErrors = {
1809
1688
  /**
1810
1689
  * Bad Request
1811
1690
  */
@@ -1852,29 +1731,29 @@ export type AdminSetTrackerDenylistErrors = {
1852
1731
  503: ProblemDetails;
1853
1732
  };
1854
1733
 
1855
- export type AdminSetTrackerDenylistError =
1856
- AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1734
+ export type AdminLookupUsersError =
1735
+ AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
1857
1736
 
1858
- export type AdminSetTrackerDenylistResponses = {
1737
+ export type AdminLookupUsersResponses = {
1859
1738
  /**
1860
1739
  * OK
1861
1740
  */
1862
- 200: AdminTrackerCommandResult;
1741
+ 200: AdminLookupResult;
1863
1742
  };
1864
1743
 
1865
- export type AdminSetTrackerDenylistResponse =
1866
- AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1744
+ export type AdminLookupUsersResponse =
1745
+ AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
1867
1746
 
1868
- export type AdminNotifyTrackerData = {
1869
- body: AdminNotificationRequest;
1747
+ export type AdminRequestUserInsuranceData = {
1748
+ body: AdminRequestId;
1870
1749
  path: {
1871
- trackerId: string;
1750
+ uid: string;
1872
1751
  };
1873
1752
  query?: never;
1874
- url: "/v1/admin/trackers/{trackerId}/notification-requests";
1753
+ url: "/v1/admin/users/{uid}/insurance-requests";
1875
1754
  };
1876
1755
 
1877
- export type AdminNotifyTrackerErrors = {
1756
+ export type AdminRequestUserInsuranceErrors = {
1878
1757
  /**
1879
1758
  * Bad Request
1880
1759
  */
@@ -1921,29 +1800,29 @@ export type AdminNotifyTrackerErrors = {
1921
1800
  503: ProblemDetails;
1922
1801
  };
1923
1802
 
1924
- export type AdminNotifyTrackerError =
1925
- AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1803
+ export type AdminRequestUserInsuranceError =
1804
+ AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
1926
1805
 
1927
- export type AdminNotifyTrackerResponses = {
1806
+ export type AdminRequestUserInsuranceResponses = {
1928
1807
  /**
1929
1808
  * Accepted
1930
1809
  */
1931
- 202: AdminTrackerCommandResult;
1810
+ 202: CommandSuccess;
1932
1811
  };
1933
1812
 
1934
- export type AdminNotifyTrackerResponse =
1935
- AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1813
+ export type AdminRequestUserInsuranceResponse =
1814
+ AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
1936
1815
 
1937
- export type AdminAddTrackerMemberData = {
1938
- body: AdminAddMemberRequest;
1816
+ export type AdminLinkSingleSubscriptionData = {
1817
+ body: AdminRequestId;
1939
1818
  path: {
1940
- trackerId: string;
1819
+ uid: string;
1941
1820
  };
1942
1821
  query?: never;
1943
- url: "/v1/admin/trackers/{trackerId}/members";
1822
+ url: "/v1/admin/users/{uid}/subscription-link-requests";
1944
1823
  };
1945
1824
 
1946
- export type AdminAddTrackerMemberErrors = {
1825
+ export type AdminLinkSingleSubscriptionErrors = {
1947
1826
  /**
1948
1827
  * Bad Request
1949
1828
  */
@@ -1990,30 +1869,29 @@ export type AdminAddTrackerMemberErrors = {
1990
1869
  503: ProblemDetails;
1991
1870
  };
1992
1871
 
1993
- export type AdminAddTrackerMemberError =
1994
- AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1872
+ export type AdminLinkSingleSubscriptionError =
1873
+ AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
1995
1874
 
1996
- export type AdminAddTrackerMemberResponses = {
1875
+ export type AdminLinkSingleSubscriptionResponses = {
1997
1876
  /**
1998
1877
  * OK
1999
1878
  */
2000
1879
  200: CommandSuccess;
2001
1880
  };
2002
1881
 
2003
- export type AdminAddTrackerMemberResponse =
2004
- AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1882
+ export type AdminLinkSingleSubscriptionResponse =
1883
+ AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2005
1884
 
2006
- export type AdminRemoveTrackerMemberData = {
1885
+ export type AdminGetSubscriptionData = {
2007
1886
  body?: never;
2008
1887
  path: {
2009
- trackerId: string;
2010
- uid: string;
1888
+ subscriptionId: string;
2011
1889
  };
2012
1890
  query?: never;
2013
- url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1891
+ url: "/v1/admin/subscriptions/{subscriptionId}";
2014
1892
  };
2015
1893
 
2016
- export type AdminRemoveTrackerMemberErrors = {
1894
+ export type AdminGetSubscriptionErrors = {
2017
1895
  /**
2018
1896
  * Bad Request
2019
1897
  */
@@ -2056,29 +1934,31 @@ export type AdminRemoveTrackerMemberErrors = {
2056
1934
  503: ProblemDetails;
2057
1935
  };
2058
1936
 
2059
- export type AdminRemoveTrackerMemberError =
2060
- AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1937
+ export type AdminGetSubscriptionError =
1938
+ AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
2061
1939
 
2062
- export type AdminRemoveTrackerMemberResponses = {
1940
+ export type AdminGetSubscriptionResponses = {
2063
1941
  /**
2064
1942
  * OK
2065
1943
  */
2066
- 200: CommandSuccess;
1944
+ 200: AdminReadResult;
2067
1945
  };
2068
1946
 
2069
- export type AdminRemoveTrackerMemberResponse =
2070
- AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1947
+ export type AdminGetSubscriptionResponse =
1948
+ AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
2071
1949
 
2072
- export type AdminUnlinkTrackerSubscriptionData = {
1950
+ export type AdminSearchSubscriptionsData = {
2073
1951
  body?: never;
2074
- path: {
2075
- trackerId: string;
1952
+ path?: never;
1953
+ query: {
1954
+ kind: "b2b" | "uid" | "wooId";
1955
+ value?: string;
1956
+ cursor?: string;
2076
1957
  };
2077
- query?: never;
2078
- url: "/v1/admin/trackers/{trackerId}/subscription";
1958
+ url: "/v1/admin/subscriptions";
2079
1959
  };
2080
1960
 
2081
- export type AdminUnlinkTrackerSubscriptionErrors = {
1961
+ export type AdminSearchSubscriptionsErrors = {
2082
1962
  /**
2083
1963
  * Bad Request
2084
1964
  */
@@ -2121,29 +2001,32 @@ export type AdminUnlinkTrackerSubscriptionErrors = {
2121
2001
  503: ProblemDetails;
2122
2002
  };
2123
2003
 
2124
- export type AdminUnlinkTrackerSubscriptionError =
2125
- AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
2004
+ export type AdminSearchSubscriptionsError =
2005
+ AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
2126
2006
 
2127
- export type AdminUnlinkTrackerSubscriptionResponses = {
2007
+ export type AdminSearchSubscriptionsResponses = {
2128
2008
  /**
2129
2009
  * OK
2130
2010
  */
2131
- 200: CommandSuccess;
2011
+ 200: AdminReadResult;
2132
2012
  };
2133
2013
 
2134
- export type AdminUnlinkTrackerSubscriptionResponse =
2135
- AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
2014
+ export type AdminSearchSubscriptionsResponse =
2015
+ AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
2136
2016
 
2137
- export type AdminLinkTrackerSubscriptionData = {
2138
- body: AdminLinkSubscriptionRequest;
2017
+ export type AdminListInsuranceData = {
2018
+ body?: never;
2139
2019
  path: {
2140
- trackerId: string;
2020
+ subscriptionId: string;
2021
+ provider: "cycler" | "hepster" | "tryg";
2141
2022
  };
2142
- query?: never;
2143
- url: "/v1/admin/trackers/{trackerId}/subscription";
2023
+ query?: {
2024
+ cursor?: string;
2025
+ };
2026
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
2144
2027
  };
2145
2028
 
2146
- export type AdminLinkTrackerSubscriptionErrors = {
2029
+ export type AdminListInsuranceErrors = {
2147
2030
  /**
2148
2031
  * Bad Request
2149
2032
  */
@@ -2168,10 +2051,6 @@ export type AdminLinkTrackerSubscriptionErrors = {
2168
2051
  * Payload Too Large
2169
2052
  */
2170
2053
  413: ProblemDetails;
2171
- /**
2172
- * Unsupported Media Type
2173
- */
2174
- 415: ProblemDetails;
2175
2054
  /**
2176
2055
  * Too Many Requests
2177
2056
  */
@@ -2190,29 +2069,29 @@ export type AdminLinkTrackerSubscriptionErrors = {
2190
2069
  503: ProblemDetails;
2191
2070
  };
2192
2071
 
2193
- export type AdminLinkTrackerSubscriptionError =
2194
- AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
2072
+ export type AdminListInsuranceError =
2073
+ AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
2195
2074
 
2196
- export type AdminLinkTrackerSubscriptionResponses = {
2075
+ export type AdminListInsuranceResponses = {
2197
2076
  /**
2198
2077
  * OK
2199
2078
  */
2200
- 200: CommandSuccess;
2079
+ 200: AdminReadResult;
2201
2080
  };
2202
2081
 
2203
- export type AdminLinkTrackerSubscriptionResponse =
2204
- AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
2082
+ export type AdminListInsuranceResponse =
2083
+ AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
2205
2084
 
2206
- export type AdminRequestTrackerInsuranceData = {
2085
+ export type AdminRequestSubscriptionInsuranceData = {
2207
2086
  body: AdminRequestId;
2208
2087
  path: {
2209
- trackerId: string;
2088
+ subscriptionId: string;
2210
2089
  };
2211
2090
  query?: never;
2212
- url: "/v1/admin/trackers/{trackerId}/insurance-requests";
2091
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
2213
2092
  };
2214
2093
 
2215
- export type AdminRequestTrackerInsuranceErrors = {
2094
+ export type AdminRequestSubscriptionInsuranceErrors = {
2216
2095
  /**
2217
2096
  * Bad Request
2218
2097
  */
@@ -2259,29 +2138,29 @@ export type AdminRequestTrackerInsuranceErrors = {
2259
2138
  503: ProblemDetails;
2260
2139
  };
2261
2140
 
2262
- export type AdminRequestTrackerInsuranceError =
2263
- AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
2141
+ export type AdminRequestSubscriptionInsuranceError =
2142
+ AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
2264
2143
 
2265
- export type AdminRequestTrackerInsuranceResponses = {
2144
+ export type AdminRequestSubscriptionInsuranceResponses = {
2266
2145
  /**
2267
2146
  * Accepted
2268
2147
  */
2269
2148
  202: CommandSuccess;
2270
2149
  };
2271
2150
 
2272
- export type AdminRequestTrackerInsuranceResponse =
2273
- AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
2151
+ export type AdminRequestSubscriptionInsuranceResponse =
2152
+ AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
2274
2153
 
2275
- export type AdminReconcileTrackerSubscriptionData = {
2154
+ export type AdminRefreshSubscriptionData = {
2276
2155
  body: AdminRequestId;
2277
2156
  path: {
2278
- trackerId: string;
2157
+ subscriptionId: string;
2279
2158
  };
2280
2159
  query?: never;
2281
- url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
2160
+ url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
2282
2161
  };
2283
2162
 
2284
- export type AdminReconcileTrackerSubscriptionErrors = {
2163
+ export type AdminRefreshSubscriptionErrors = {
2285
2164
  /**
2286
2165
  * Bad Request
2287
2166
  */
@@ -2328,37 +2207,29 @@ export type AdminReconcileTrackerSubscriptionErrors = {
2328
2207
  503: ProblemDetails;
2329
2208
  };
2330
2209
 
2331
- export type AdminReconcileTrackerSubscriptionError =
2332
- AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
2210
+ export type AdminRefreshSubscriptionError =
2211
+ AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2333
2212
 
2334
- export type AdminReconcileTrackerSubscriptionResponses = {
2213
+ export type AdminRefreshSubscriptionResponses = {
2335
2214
  /**
2336
2215
  * Accepted
2337
2216
  */
2338
2217
  202: CommandSuccess;
2339
2218
  };
2340
2219
 
2341
- export type AdminReconcileTrackerSubscriptionResponse =
2342
- AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
2220
+ export type AdminRefreshSubscriptionResponse =
2221
+ AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2343
2222
 
2344
- export type AdminUploadTrackerPhotoData = {
2345
- body: {
2346
- /**
2347
- * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
2348
- */
2349
- file: Blob | File;
2350
- kind: "bike" | "installation" | "receipt";
2351
- width: number;
2352
- height: number;
2353
- };
2354
- path: {
2355
- trackerId: string;
2223
+ export type AdminListFavoritesData = {
2224
+ body?: never;
2225
+ path?: never;
2226
+ query?: {
2227
+ cursor?: string;
2356
2228
  };
2357
- query?: never;
2358
- url: "/v1/admin/trackers/{trackerId}/photos";
2229
+ url: "/v1/admin/favorites";
2359
2230
  };
2360
2231
 
2361
- export type AdminUploadTrackerPhotoErrors = {
2232
+ export type AdminListFavoritesErrors = {
2362
2233
  /**
2363
2234
  * Bad Request
2364
2235
  */
@@ -2383,10 +2254,6 @@ export type AdminUploadTrackerPhotoErrors = {
2383
2254
  * Payload Too Large
2384
2255
  */
2385
2256
  413: ProblemDetails;
2386
- /**
2387
- * Unsupported Media Type
2388
- */
2389
- 415: ProblemDetails;
2390
2257
  /**
2391
2258
  * Too Many Requests
2392
2259
  */
@@ -2405,29 +2272,29 @@ export type AdminUploadTrackerPhotoErrors = {
2405
2272
  503: ProblemDetails;
2406
2273
  };
2407
2274
 
2408
- export type AdminUploadTrackerPhotoError =
2409
- AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
2275
+ export type AdminListFavoritesError =
2276
+ AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
2410
2277
 
2411
- export type AdminUploadTrackerPhotoResponses = {
2278
+ export type AdminListFavoritesResponses = {
2412
2279
  /**
2413
2280
  * OK
2414
2281
  */
2415
- 200: PhotoUploadResult;
2282
+ 200: AdminReadResult;
2416
2283
  };
2417
2284
 
2418
- export type AdminUploadTrackerPhotoResponse =
2419
- AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
2285
+ export type AdminListFavoritesResponse =
2286
+ AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2420
2287
 
2421
- export type AdminSubscribeTrackerData = {
2288
+ export type AdminDeleteFavoriteData = {
2422
2289
  body?: never;
2423
2290
  path: {
2424
2291
  trackerId: string;
2425
2292
  };
2426
2293
  query?: never;
2427
- url: "/v1/admin/trackers/{trackerId}/stream";
2294
+ url: "/v1/admin/favorites/{trackerId}";
2428
2295
  };
2429
2296
 
2430
- export type AdminSubscribeTrackerErrors = {
2297
+ export type AdminDeleteFavoriteErrors = {
2431
2298
  /**
2432
2299
  * Bad Request
2433
2300
  */
@@ -2470,29 +2337,29 @@ export type AdminSubscribeTrackerErrors = {
2470
2337
  503: ProblemDetails;
2471
2338
  };
2472
2339
 
2473
- export type AdminSubscribeTrackerError =
2474
- AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2340
+ export type AdminDeleteFavoriteError =
2341
+ AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2475
2342
 
2476
- export type AdminSubscribeTrackerResponses = {
2343
+ export type AdminDeleteFavoriteResponses = {
2477
2344
  /**
2478
2345
  * OK
2479
2346
  */
2480
- 200: AdminTrackerView | null;
2347
+ 200: CommandSuccess;
2481
2348
  };
2482
2349
 
2483
- export type AdminSubscribeTrackerResponse =
2484
- AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
2350
+ export type AdminDeleteFavoriteResponse =
2351
+ AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2485
2352
 
2486
- export type AdminGetUserData = {
2353
+ export type AdminGetFavoriteData = {
2487
2354
  body?: never;
2488
2355
  path: {
2489
- uid: string;
2356
+ trackerId: string;
2490
2357
  };
2491
2358
  query?: never;
2492
- url: "/v1/admin/users/{uid}";
2359
+ url: "/v1/admin/favorites/{trackerId}";
2493
2360
  };
2494
2361
 
2495
- export type AdminGetUserErrors = {
2362
+ export type AdminGetFavoriteErrors = {
2496
2363
  /**
2497
2364
  * Bad Request
2498
2365
  */
@@ -2535,26 +2402,29 @@ export type AdminGetUserErrors = {
2535
2402
  503: ProblemDetails;
2536
2403
  };
2537
2404
 
2538
- export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
2405
+ export type AdminGetFavoriteError =
2406
+ AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2539
2407
 
2540
- export type AdminGetUserResponses = {
2408
+ export type AdminGetFavoriteResponses = {
2541
2409
  /**
2542
2410
  * OK
2543
2411
  */
2544
2412
  200: AdminReadResult;
2545
2413
  };
2546
2414
 
2547
- export type AdminGetUserResponse =
2548
- AdminGetUserResponses[keyof AdminGetUserResponses];
2415
+ export type AdminGetFavoriteResponse =
2416
+ AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2549
2417
 
2550
- export type AdminLookupUsersData = {
2551
- body: AdminLookupRequest;
2552
- path?: never;
2418
+ export type AdminUpdateFavoriteCommentData = {
2419
+ body: AdminFavoriteRequest;
2420
+ path: {
2421
+ trackerId: string;
2422
+ };
2553
2423
  query?: never;
2554
- url: "/v1/admin/users/lookup";
2424
+ url: "/v1/admin/favorites/{trackerId}";
2555
2425
  };
2556
2426
 
2557
- export type AdminLookupUsersErrors = {
2427
+ export type AdminUpdateFavoriteCommentErrors = {
2558
2428
  /**
2559
2429
  * Bad Request
2560
2430
  */
@@ -2601,29 +2471,29 @@ export type AdminLookupUsersErrors = {
2601
2471
  503: ProblemDetails;
2602
2472
  };
2603
2473
 
2604
- export type AdminLookupUsersError =
2605
- AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
2474
+ export type AdminUpdateFavoriteCommentError =
2475
+ AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
2606
2476
 
2607
- export type AdminLookupUsersResponses = {
2477
+ export type AdminUpdateFavoriteCommentResponses = {
2608
2478
  /**
2609
2479
  * OK
2610
2480
  */
2611
- 200: AdminLookupResult;
2481
+ 200: CommandSuccess;
2612
2482
  };
2613
2483
 
2614
- export type AdminLookupUsersResponse =
2615
- AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
2484
+ export type AdminUpdateFavoriteCommentResponse =
2485
+ AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
2616
2486
 
2617
- export type AdminRequestUserInsuranceData = {
2618
- body: AdminRequestId;
2487
+ export type AdminPutFavoriteData = {
2488
+ body: AdminFavoriteRequest;
2619
2489
  path: {
2620
- uid: string;
2490
+ trackerId: string;
2621
2491
  };
2622
2492
  query?: never;
2623
- url: "/v1/admin/users/{uid}/insurance-requests";
2493
+ url: "/v1/admin/favorites/{trackerId}";
2624
2494
  };
2625
2495
 
2626
- export type AdminRequestUserInsuranceErrors = {
2496
+ export type AdminPutFavoriteErrors = {
2627
2497
  /**
2628
2498
  * Bad Request
2629
2499
  */
@@ -2670,29 +2540,27 @@ export type AdminRequestUserInsuranceErrors = {
2670
2540
  503: ProblemDetails;
2671
2541
  };
2672
2542
 
2673
- export type AdminRequestUserInsuranceError =
2674
- AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
2543
+ export type AdminPutFavoriteError =
2544
+ AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
2675
2545
 
2676
- export type AdminRequestUserInsuranceResponses = {
2546
+ export type AdminPutFavoriteResponses = {
2677
2547
  /**
2678
- * Accepted
2548
+ * OK
2679
2549
  */
2680
- 202: CommandSuccess;
2550
+ 200: CommandSuccess;
2681
2551
  };
2682
2552
 
2683
- export type AdminRequestUserInsuranceResponse =
2684
- AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
2553
+ export type AdminPutFavoriteResponse =
2554
+ AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
2685
2555
 
2686
- export type AdminLinkSingleSubscriptionData = {
2687
- body: AdminRequestId;
2688
- path: {
2689
- uid: string;
2690
- };
2556
+ export type AdminCreateB2bSubscriptionData = {
2557
+ body: AdminB2bSubscriptionRequest;
2558
+ path?: never;
2691
2559
  query?: never;
2692
- url: "/v1/admin/users/{uid}/subscription-link-requests";
2560
+ url: "/v1/admin/b2b/subscriptions";
2693
2561
  };
2694
2562
 
2695
- export type AdminLinkSingleSubscriptionErrors = {
2563
+ export type AdminCreateB2bSubscriptionErrors = {
2696
2564
  /**
2697
2565
  * Bad Request
2698
2566
  */
@@ -2739,29 +2607,29 @@ export type AdminLinkSingleSubscriptionErrors = {
2739
2607
  503: ProblemDetails;
2740
2608
  };
2741
2609
 
2742
- export type AdminLinkSingleSubscriptionError =
2743
- AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
2610
+ export type AdminCreateB2bSubscriptionError =
2611
+ AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
2744
2612
 
2745
- export type AdminLinkSingleSubscriptionResponses = {
2613
+ export type AdminCreateB2bSubscriptionResponses = {
2746
2614
  /**
2747
- * OK
2615
+ * Created
2748
2616
  */
2749
- 200: CommandSuccess;
2617
+ 201: AdminB2bSubscriptionResult;
2750
2618
  };
2751
2619
 
2752
- export type AdminLinkSingleSubscriptionResponse =
2753
- AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2620
+ export type AdminCreateB2bSubscriptionResponse =
2621
+ AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
2754
2622
 
2755
- export type AdminGetSubscriptionData = {
2623
+ export type AdminCancelB2bSubscriptionData = {
2756
2624
  body?: never;
2757
2625
  path: {
2758
2626
  subscriptionId: string;
2759
2627
  };
2760
2628
  query?: never;
2761
- url: "/v1/admin/subscriptions/{subscriptionId}";
2629
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
2762
2630
  };
2763
2631
 
2764
- export type AdminGetSubscriptionErrors = {
2632
+ export type AdminCancelB2bSubscriptionErrors = {
2765
2633
  /**
2766
2634
  * Bad Request
2767
2635
  */
@@ -2804,31 +2672,29 @@ export type AdminGetSubscriptionErrors = {
2804
2672
  503: ProblemDetails;
2805
2673
  };
2806
2674
 
2807
- export type AdminGetSubscriptionError =
2808
- AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
2675
+ export type AdminCancelB2bSubscriptionError =
2676
+ AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
2809
2677
 
2810
- export type AdminGetSubscriptionResponses = {
2678
+ export type AdminCancelB2bSubscriptionResponses = {
2811
2679
  /**
2812
2680
  * OK
2813
2681
  */
2814
- 200: AdminReadResult;
2682
+ 200: CommandSuccess;
2815
2683
  };
2816
2684
 
2817
- export type AdminGetSubscriptionResponse =
2818
- AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
2685
+ export type AdminCancelB2bSubscriptionResponse =
2686
+ AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
2819
2687
 
2820
- export type AdminSearchSubscriptionsData = {
2688
+ export type AdminSyncB2bInsuranceData = {
2821
2689
  body?: never;
2822
- path?: never;
2823
- query: {
2824
- kind: "b2b" | "uid" | "wooId";
2825
- value?: string;
2826
- cursor?: string;
2690
+ path: {
2691
+ subscriptionId: string;
2827
2692
  };
2828
- url: "/v1/admin/subscriptions";
2693
+ query?: never;
2694
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
2829
2695
  };
2830
2696
 
2831
- export type AdminSearchSubscriptionsErrors = {
2697
+ export type AdminSyncB2bInsuranceErrors = {
2832
2698
  /**
2833
2699
  * Bad Request
2834
2700
  */
@@ -2871,32 +2737,27 @@ export type AdminSearchSubscriptionsErrors = {
2871
2737
  503: ProblemDetails;
2872
2738
  };
2873
2739
 
2874
- export type AdminSearchSubscriptionsError =
2875
- AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
2740
+ export type AdminSyncB2bInsuranceError =
2741
+ AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
2876
2742
 
2877
- export type AdminSearchSubscriptionsResponses = {
2743
+ export type AdminSyncB2bInsuranceResponses = {
2878
2744
  /**
2879
- * OK
2745
+ * Accepted
2880
2746
  */
2881
- 200: AdminReadResult;
2747
+ 202: CommandSuccess;
2882
2748
  };
2883
2749
 
2884
- export type AdminSearchSubscriptionsResponse =
2885
- AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
2750
+ export type AdminSyncB2bInsuranceResponse =
2751
+ AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
2886
2752
 
2887
- export type AdminListInsuranceData = {
2753
+ export type AdminSyncAllB2bInsuranceData = {
2888
2754
  body?: never;
2889
- path: {
2890
- subscriptionId: string;
2891
- provider: "cycler" | "hepster" | "tryg";
2892
- };
2893
- query?: {
2894
- cursor?: string;
2895
- };
2896
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
2755
+ path?: never;
2756
+ query?: never;
2757
+ url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
2897
2758
  };
2898
2759
 
2899
- export type AdminListInsuranceErrors = {
2760
+ export type AdminSyncAllB2bInsuranceErrors = {
2900
2761
  /**
2901
2762
  * Bad Request
2902
2763
  */
@@ -2939,29 +2800,29 @@ export type AdminListInsuranceErrors = {
2939
2800
  503: ProblemDetails;
2940
2801
  };
2941
2802
 
2942
- export type AdminListInsuranceError =
2943
- AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
2803
+ export type AdminSyncAllB2bInsuranceError =
2804
+ AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
2944
2805
 
2945
- export type AdminListInsuranceResponses = {
2806
+ export type AdminSyncAllB2bInsuranceResponses = {
2946
2807
  /**
2947
- * OK
2808
+ * Accepted
2948
2809
  */
2949
- 200: AdminReadResult;
2810
+ 202: CommandSuccess;
2950
2811
  };
2951
2812
 
2952
- export type AdminListInsuranceResponse =
2953
- AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
2813
+ export type AdminSyncAllB2bInsuranceResponse =
2814
+ AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
2954
2815
 
2955
- export type AdminRequestSubscriptionInsuranceData = {
2956
- body: AdminRequestId;
2816
+ export type SupportQueryTrackerOperationalEvidenceData = {
2817
+ body: SupportOperationalEvidenceRequest;
2957
2818
  path: {
2958
- subscriptionId: string;
2819
+ trackerId: string;
2959
2820
  };
2960
2821
  query?: never;
2961
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
2822
+ url: "/v1/support/trackers/{trackerId}/operational-queries";
2962
2823
  };
2963
2824
 
2964
- export type AdminRequestSubscriptionInsuranceErrors = {
2825
+ export type SupportQueryTrackerOperationalEvidenceErrors = {
2965
2826
  /**
2966
2827
  * Bad Request
2967
2828
  */
@@ -2974,10 +2835,6 @@ export type AdminRequestSubscriptionInsuranceErrors = {
2974
2835
  * Forbidden
2975
2836
  */
2976
2837
  403: ProblemDetails;
2977
- /**
2978
- * Not Found
2979
- */
2980
- 404: ProblemDetails;
2981
2838
  /**
2982
2839
  * Conflict
2983
2840
  */
@@ -3008,29 +2865,29 @@ export type AdminRequestSubscriptionInsuranceErrors = {
3008
2865
  503: ProblemDetails;
3009
2866
  };
3010
2867
 
3011
- export type AdminRequestSubscriptionInsuranceError =
3012
- AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
2868
+ export type SupportQueryTrackerOperationalEvidenceError =
2869
+ SupportQueryTrackerOperationalEvidenceErrors[keyof SupportQueryTrackerOperationalEvidenceErrors];
3013
2870
 
3014
- export type AdminRequestSubscriptionInsuranceResponses = {
2871
+ export type SupportQueryTrackerOperationalEvidenceResponses = {
3015
2872
  /**
3016
- * Accepted
2873
+ * OK
3017
2874
  */
3018
- 202: CommandSuccess;
2875
+ 200: SupportOperationalEvidence;
3019
2876
  };
3020
2877
 
3021
- export type AdminRequestSubscriptionInsuranceResponse =
3022
- AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
2878
+ export type SupportQueryTrackerOperationalEvidenceResponse =
2879
+ SupportQueryTrackerOperationalEvidenceResponses[keyof SupportQueryTrackerOperationalEvidenceResponses];
3023
2880
 
3024
- export type AdminRefreshSubscriptionData = {
3025
- body: AdminRequestId;
2881
+ export type SupportQueryTrackerJobEvidenceData = {
2882
+ body: SupportEvidencePageRequest;
3026
2883
  path: {
3027
- subscriptionId: string;
2884
+ trackerId: string;
3028
2885
  };
3029
2886
  query?: never;
3030
- url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
2887
+ url: "/v1/support/trackers/{trackerId}/job-queries";
3031
2888
  };
3032
2889
 
3033
- export type AdminRefreshSubscriptionErrors = {
2890
+ export type SupportQueryTrackerJobEvidenceErrors = {
3034
2891
  /**
3035
2892
  * Bad Request
3036
2893
  */
@@ -3043,10 +2900,6 @@ export type AdminRefreshSubscriptionErrors = {
3043
2900
  * Forbidden
3044
2901
  */
3045
2902
  403: ProblemDetails;
3046
- /**
3047
- * Not Found
3048
- */
3049
- 404: ProblemDetails;
3050
2903
  /**
3051
2904
  * Conflict
3052
2905
  */
@@ -3077,29 +2930,29 @@ export type AdminRefreshSubscriptionErrors = {
3077
2930
  503: ProblemDetails;
3078
2931
  };
3079
2932
 
3080
- export type AdminRefreshSubscriptionError =
3081
- AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2933
+ export type SupportQueryTrackerJobEvidenceError =
2934
+ SupportQueryTrackerJobEvidenceErrors[keyof SupportQueryTrackerJobEvidenceErrors];
3082
2935
 
3083
- export type AdminRefreshSubscriptionResponses = {
2936
+ export type SupportQueryTrackerJobEvidenceResponses = {
3084
2937
  /**
3085
- * Accepted
2938
+ * OK
3086
2939
  */
3087
- 202: CommandSuccess;
2940
+ 200: SupportEvidencePage;
3088
2941
  };
3089
2942
 
3090
- export type AdminRefreshSubscriptionResponse =
3091
- AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2943
+ export type SupportQueryTrackerJobEvidenceResponse =
2944
+ SupportQueryTrackerJobEvidenceResponses[keyof SupportQueryTrackerJobEvidenceResponses];
3092
2945
 
3093
- export type AdminListFavoritesData = {
3094
- body?: never;
3095
- path?: never;
3096
- query?: {
3097
- cursor?: string;
2946
+ export type SupportQuerySubscriptionInsuranceEvidenceData = {
2947
+ body: SupportInsuranceEvidenceRequest;
2948
+ path: {
2949
+ subscriptionId: string;
3098
2950
  };
3099
- url: "/v1/admin/favorites";
2951
+ query?: never;
2952
+ url: "/v1/support/subscriptions/{subscriptionId}/insurance-queries";
3100
2953
  };
3101
2954
 
3102
- export type AdminListFavoritesErrors = {
2955
+ export type SupportQuerySubscriptionInsuranceEvidenceErrors = {
3103
2956
  /**
3104
2957
  * Bad Request
3105
2958
  */
@@ -3112,10 +2965,6 @@ export type AdminListFavoritesErrors = {
3112
2965
  * Forbidden
3113
2966
  */
3114
2967
  403: ProblemDetails;
3115
- /**
3116
- * Not Found
3117
- */
3118
- 404: ProblemDetails;
3119
2968
  /**
3120
2969
  * Conflict
3121
2970
  */
@@ -3124,6 +2973,10 @@ export type AdminListFavoritesErrors = {
3124
2973
  * Payload Too Large
3125
2974
  */
3126
2975
  413: ProblemDetails;
2976
+ /**
2977
+ * Unsupported Media Type
2978
+ */
2979
+ 415: ProblemDetails;
3127
2980
  /**
3128
2981
  * Too Many Requests
3129
2982
  */
@@ -3142,29 +2995,31 @@ export type AdminListFavoritesErrors = {
3142
2995
  503: ProblemDetails;
3143
2996
  };
3144
2997
 
3145
- export type AdminListFavoritesError =
3146
- AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
2998
+ export type SupportQuerySubscriptionInsuranceEvidenceError =
2999
+ SupportQuerySubscriptionInsuranceEvidenceErrors[keyof SupportQuerySubscriptionInsuranceEvidenceErrors];
3147
3000
 
3148
- export type AdminListFavoritesResponses = {
3001
+ export type SupportQuerySubscriptionInsuranceEvidenceResponses = {
3149
3002
  /**
3150
3003
  * OK
3151
3004
  */
3152
- 200: AdminReadResult;
3005
+ 200: SupportEvidencePage;
3153
3006
  };
3154
3007
 
3155
- export type AdminListFavoritesResponse =
3156
- AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
3008
+ export type SupportQuerySubscriptionInsuranceEvidenceResponse =
3009
+ SupportQuerySubscriptionInsuranceEvidenceResponses[keyof SupportQuerySubscriptionInsuranceEvidenceResponses];
3157
3010
 
3158
- export type AdminDeleteFavoriteData = {
3011
+ export type SupportListAccountTrackerEvidenceData = {
3159
3012
  body?: never;
3160
3013
  path: {
3161
- trackerId: string;
3014
+ accountId: string;
3162
3015
  };
3163
- query?: never;
3164
- url: "/v1/admin/favorites/{trackerId}";
3016
+ query?: {
3017
+ after?: string;
3018
+ };
3019
+ url: "/v1/support/accounts/{accountId}/trackers";
3165
3020
  };
3166
3021
 
3167
- export type AdminDeleteFavoriteErrors = {
3022
+ export type SupportListAccountTrackerEvidenceErrors = {
3168
3023
  /**
3169
3024
  * Bad Request
3170
3025
  */
@@ -3177,10 +3032,6 @@ export type AdminDeleteFavoriteErrors = {
3177
3032
  * Forbidden
3178
3033
  */
3179
3034
  403: ProblemDetails;
3180
- /**
3181
- * Not Found
3182
- */
3183
- 404: ProblemDetails;
3184
3035
  /**
3185
3036
  * Conflict
3186
3037
  */
@@ -3207,29 +3058,31 @@ export type AdminDeleteFavoriteErrors = {
3207
3058
  503: ProblemDetails;
3208
3059
  };
3209
3060
 
3210
- export type AdminDeleteFavoriteError =
3211
- AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
3061
+ export type SupportListAccountTrackerEvidenceError =
3062
+ SupportListAccountTrackerEvidenceErrors[keyof SupportListAccountTrackerEvidenceErrors];
3212
3063
 
3213
- export type AdminDeleteFavoriteResponses = {
3064
+ export type SupportListAccountTrackerEvidenceResponses = {
3214
3065
  /**
3215
3066
  * OK
3216
3067
  */
3217
- 200: CommandSuccess;
3068
+ 200: SupportEvidenceSnapshot;
3218
3069
  };
3219
3070
 
3220
- export type AdminDeleteFavoriteResponse =
3221
- AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
3071
+ export type SupportListAccountTrackerEvidenceResponse =
3072
+ SupportListAccountTrackerEvidenceResponses[keyof SupportListAccountTrackerEvidenceResponses];
3222
3073
 
3223
- export type AdminGetFavoriteData = {
3074
+ export type SupportListAccountSubscriptionEvidenceData = {
3224
3075
  body?: never;
3225
3076
  path: {
3226
- trackerId: string;
3077
+ accountId: string;
3227
3078
  };
3228
- query?: never;
3229
- url: "/v1/admin/favorites/{trackerId}";
3079
+ query?: {
3080
+ after?: string;
3081
+ };
3082
+ url: "/v1/support/accounts/{accountId}/subscriptions";
3230
3083
  };
3231
3084
 
3232
- export type AdminGetFavoriteErrors = {
3085
+ export type SupportListAccountSubscriptionEvidenceErrors = {
3233
3086
  /**
3234
3087
  * Bad Request
3235
3088
  */
@@ -3242,10 +3095,6 @@ export type AdminGetFavoriteErrors = {
3242
3095
  * Forbidden
3243
3096
  */
3244
3097
  403: ProblemDetails;
3245
- /**
3246
- * Not Found
3247
- */
3248
- 404: ProblemDetails;
3249
3098
  /**
3250
3099
  * Conflict
3251
3100
  */
@@ -3272,29 +3121,27 @@ export type AdminGetFavoriteErrors = {
3272
3121
  503: ProblemDetails;
3273
3122
  };
3274
3123
 
3275
- export type AdminGetFavoriteError =
3276
- AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
3124
+ export type SupportListAccountSubscriptionEvidenceError =
3125
+ SupportListAccountSubscriptionEvidenceErrors[keyof SupportListAccountSubscriptionEvidenceErrors];
3277
3126
 
3278
- export type AdminGetFavoriteResponses = {
3127
+ export type SupportListAccountSubscriptionEvidenceResponses = {
3279
3128
  /**
3280
3129
  * OK
3281
3130
  */
3282
- 200: AdminReadResult;
3131
+ 200: SupportEvidenceSnapshot;
3283
3132
  };
3284
3133
 
3285
- export type AdminGetFavoriteResponse =
3286
- AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
3134
+ export type SupportListAccountSubscriptionEvidenceResponse =
3135
+ SupportListAccountSubscriptionEvidenceResponses[keyof SupportListAccountSubscriptionEvidenceResponses];
3287
3136
 
3288
- export type AdminUpdateFavoriteCommentData = {
3289
- body: AdminFavoriteRequest;
3290
- path: {
3291
- trackerId: string;
3292
- };
3137
+ export type SupportQueryTrackerFactEvidenceData = {
3138
+ body: SupportTrackerFactsRequest;
3139
+ path?: never;
3293
3140
  query?: never;
3294
- url: "/v1/admin/favorites/{trackerId}";
3141
+ url: "/v1/support/tracker-fact-queries";
3295
3142
  };
3296
3143
 
3297
- export type AdminUpdateFavoriteCommentErrors = {
3144
+ export type SupportQueryTrackerFactEvidenceErrors = {
3298
3145
  /**
3299
3146
  * Bad Request
3300
3147
  */
@@ -3307,10 +3154,6 @@ export type AdminUpdateFavoriteCommentErrors = {
3307
3154
  * Forbidden
3308
3155
  */
3309
3156
  403: ProblemDetails;
3310
- /**
3311
- * Not Found
3312
- */
3313
- 404: ProblemDetails;
3314
3157
  /**
3315
3158
  * Conflict
3316
3159
  */
@@ -3341,29 +3184,41 @@ export type AdminUpdateFavoriteCommentErrors = {
3341
3184
  503: ProblemDetails;
3342
3185
  };
3343
3186
 
3344
- export type AdminUpdateFavoriteCommentError =
3345
- AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
3187
+ export type SupportQueryTrackerFactEvidenceError =
3188
+ SupportQueryTrackerFactEvidenceErrors[keyof SupportQueryTrackerFactEvidenceErrors];
3346
3189
 
3347
- export type AdminUpdateFavoriteCommentResponses = {
3190
+ export type SupportQueryTrackerFactEvidenceResponses = {
3348
3191
  /**
3349
3192
  * OK
3350
3193
  */
3351
- 200: CommandSuccess;
3194
+ 200: SupportEvidenceSnapshot;
3352
3195
  };
3353
3196
 
3354
- export type AdminUpdateFavoriteCommentResponse =
3355
- AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
3197
+ export type SupportQueryTrackerFactEvidenceResponse =
3198
+ SupportQueryTrackerFactEvidenceResponses[keyof SupportQueryTrackerFactEvidenceResponses];
3356
3199
 
3357
- export type AdminPutFavoriteData = {
3358
- body: AdminFavoriteRequest;
3200
+ export type SupportGetSubscriptionFactEvidenceData = {
3201
+ body?: never;
3359
3202
  path: {
3360
- trackerId: string;
3203
+ subscriptionId: string;
3361
3204
  };
3362
- query?: never;
3363
- url: "/v1/admin/favorites/{trackerId}";
3205
+ query: {
3206
+ domain:
3207
+ | "battery"
3208
+ | "versions"
3209
+ | "reporting"
3210
+ | "configuration"
3211
+ | "membershipReference"
3212
+ | "membershipState"
3213
+ | "commerceReference"
3214
+ | "plan"
3215
+ | "availability"
3216
+ | "bindingCount";
3217
+ };
3218
+ url: "/v1/support/subscriptions/{subscriptionId}";
3364
3219
  };
3365
3220
 
3366
- export type AdminPutFavoriteErrors = {
3221
+ export type SupportGetSubscriptionFactEvidenceErrors = {
3367
3222
  /**
3368
3223
  * Bad Request
3369
3224
  */
@@ -3376,10 +3231,6 @@ export type AdminPutFavoriteErrors = {
3376
3231
  * Forbidden
3377
3232
  */
3378
3233
  403: ProblemDetails;
3379
- /**
3380
- * Not Found
3381
- */
3382
- 404: ProblemDetails;
3383
3234
  /**
3384
3235
  * Conflict
3385
3236
  */
@@ -3388,10 +3239,6 @@ export type AdminPutFavoriteErrors = {
3388
3239
  * Payload Too Large
3389
3240
  */
3390
3241
  413: ProblemDetails;
3391
- /**
3392
- * Unsupported Media Type
3393
- */
3394
- 415: ProblemDetails;
3395
3242
  /**
3396
3243
  * Too Many Requests
3397
3244
  */
@@ -3410,27 +3257,29 @@ export type AdminPutFavoriteErrors = {
3410
3257
  503: ProblemDetails;
3411
3258
  };
3412
3259
 
3413
- export type AdminPutFavoriteError =
3414
- AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
3260
+ export type SupportGetSubscriptionFactEvidenceError =
3261
+ SupportGetSubscriptionFactEvidenceErrors[keyof SupportGetSubscriptionFactEvidenceErrors];
3415
3262
 
3416
- export type AdminPutFavoriteResponses = {
3263
+ export type SupportGetSubscriptionFactEvidenceResponses = {
3417
3264
  /**
3418
3265
  * OK
3419
3266
  */
3420
- 200: CommandSuccess;
3267
+ 200: SupportEvidenceSnapshot;
3421
3268
  };
3422
3269
 
3423
- export type AdminPutFavoriteResponse =
3424
- AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
3270
+ export type SupportGetSubscriptionFactEvidenceResponse =
3271
+ SupportGetSubscriptionFactEvidenceResponses[keyof SupportGetSubscriptionFactEvidenceResponses];
3425
3272
 
3426
- export type AdminCreateB2bSubscriptionData = {
3427
- body: AdminB2bSubscriptionRequest;
3428
- path?: never;
3273
+ export type SupportQueryTrackerSubscriptionEvidenceData = {
3274
+ body: SupportEvidenceAccountsRequest;
3275
+ path: {
3276
+ trackerId: string;
3277
+ };
3429
3278
  query?: never;
3430
- url: "/v1/admin/b2b/subscriptions";
3279
+ url: "/v1/support/trackers/{trackerId}/subscription-queries";
3431
3280
  };
3432
3281
 
3433
- export type AdminCreateB2bSubscriptionErrors = {
3282
+ export type SupportQueryTrackerSubscriptionEvidenceErrors = {
3434
3283
  /**
3435
3284
  * Bad Request
3436
3285
  */
@@ -3443,10 +3292,6 @@ export type AdminCreateB2bSubscriptionErrors = {
3443
3292
  * Forbidden
3444
3293
  */
3445
3294
  403: ProblemDetails;
3446
- /**
3447
- * Not Found
3448
- */
3449
- 404: ProblemDetails;
3450
3295
  /**
3451
3296
  * Conflict
3452
3297
  */
@@ -3477,29 +3322,29 @@ export type AdminCreateB2bSubscriptionErrors = {
3477
3322
  503: ProblemDetails;
3478
3323
  };
3479
3324
 
3480
- export type AdminCreateB2bSubscriptionError =
3481
- AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
3325
+ export type SupportQueryTrackerSubscriptionEvidenceError =
3326
+ SupportQueryTrackerSubscriptionEvidenceErrors[keyof SupportQueryTrackerSubscriptionEvidenceErrors];
3482
3327
 
3483
- export type AdminCreateB2bSubscriptionResponses = {
3328
+ export type SupportQueryTrackerSubscriptionEvidenceResponses = {
3484
3329
  /**
3485
- * Created
3330
+ * OK
3486
3331
  */
3487
- 201: AdminB2bSubscriptionResult;
3332
+ 200: SupportEvidenceSnapshot;
3488
3333
  };
3489
3334
 
3490
- export type AdminCreateB2bSubscriptionResponse =
3491
- AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
3335
+ export type SupportQueryTrackerSubscriptionEvidenceResponse =
3336
+ SupportQueryTrackerSubscriptionEvidenceResponses[keyof SupportQueryTrackerSubscriptionEvidenceResponses];
3492
3337
 
3493
- export type AdminCancelB2bSubscriptionData = {
3494
- body?: never;
3338
+ export type SupportQueryCommerceBindingEvidenceData = {
3339
+ body: SupportEvidenceAccountsRequest;
3495
3340
  path: {
3496
- subscriptionId: string;
3341
+ wooId: number;
3497
3342
  };
3498
3343
  query?: never;
3499
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
3344
+ url: "/v1/support/commerce-subscriptions/{wooId}/binding-queries";
3500
3345
  };
3501
3346
 
3502
- export type AdminCancelB2bSubscriptionErrors = {
3347
+ export type SupportQueryCommerceBindingEvidenceErrors = {
3503
3348
  /**
3504
3349
  * Bad Request
3505
3350
  */
@@ -3512,10 +3357,6 @@ export type AdminCancelB2bSubscriptionErrors = {
3512
3357
  * Forbidden
3513
3358
  */
3514
3359
  403: ProblemDetails;
3515
- /**
3516
- * Not Found
3517
- */
3518
- 404: ProblemDetails;
3519
3360
  /**
3520
3361
  * Conflict
3521
3362
  */
@@ -3524,6 +3365,10 @@ export type AdminCancelB2bSubscriptionErrors = {
3524
3365
  * Payload Too Large
3525
3366
  */
3526
3367
  413: ProblemDetails;
3368
+ /**
3369
+ * Unsupported Media Type
3370
+ */
3371
+ 415: ProblemDetails;
3527
3372
  /**
3528
3373
  * Too Many Requests
3529
3374
  */
@@ -3542,29 +3387,29 @@ export type AdminCancelB2bSubscriptionErrors = {
3542
3387
  503: ProblemDetails;
3543
3388
  };
3544
3389
 
3545
- export type AdminCancelB2bSubscriptionError =
3546
- AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
3390
+ export type SupportQueryCommerceBindingEvidenceError =
3391
+ SupportQueryCommerceBindingEvidenceErrors[keyof SupportQueryCommerceBindingEvidenceErrors];
3547
3392
 
3548
- export type AdminCancelB2bSubscriptionResponses = {
3393
+ export type SupportQueryCommerceBindingEvidenceResponses = {
3549
3394
  /**
3550
3395
  * OK
3551
3396
  */
3552
- 200: CommandSuccess;
3397
+ 200: SupportEvidenceSnapshot;
3553
3398
  };
3554
3399
 
3555
- export type AdminCancelB2bSubscriptionResponse =
3556
- AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
3400
+ export type SupportQueryCommerceBindingEvidenceResponse =
3401
+ SupportQueryCommerceBindingEvidenceResponses[keyof SupportQueryCommerceBindingEvidenceResponses];
3557
3402
 
3558
- export type AdminSyncB2bInsuranceData = {
3559
- body?: never;
3403
+ export type SupportQueryTrackerHistoryEvidenceData = {
3404
+ body: SupportEvidenceHistoryRequest;
3560
3405
  path: {
3561
- subscriptionId: string;
3406
+ trackerId: string;
3562
3407
  };
3563
3408
  query?: never;
3564
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
3409
+ url: "/v1/support/trackers/{trackerId}/history-queries";
3565
3410
  };
3566
3411
 
3567
- export type AdminSyncB2bInsuranceErrors = {
3412
+ export type SupportQueryTrackerHistoryEvidenceErrors = {
3568
3413
  /**
3569
3414
  * Bad Request
3570
3415
  */
@@ -3577,10 +3422,6 @@ export type AdminSyncB2bInsuranceErrors = {
3577
3422
  * Forbidden
3578
3423
  */
3579
3424
  403: ProblemDetails;
3580
- /**
3581
- * Not Found
3582
- */
3583
- 404: ProblemDetails;
3584
3425
  /**
3585
3426
  * Conflict
3586
3427
  */
@@ -3589,6 +3430,10 @@ export type AdminSyncB2bInsuranceErrors = {
3589
3430
  * Payload Too Large
3590
3431
  */
3591
3432
  413: ProblemDetails;
3433
+ /**
3434
+ * Unsupported Media Type
3435
+ */
3436
+ 415: ProblemDetails;
3592
3437
  /**
3593
3438
  * Too Many Requests
3594
3439
  */
@@ -3607,27 +3452,29 @@ export type AdminSyncB2bInsuranceErrors = {
3607
3452
  503: ProblemDetails;
3608
3453
  };
3609
3454
 
3610
- export type AdminSyncB2bInsuranceError =
3611
- AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
3455
+ export type SupportQueryTrackerHistoryEvidenceError =
3456
+ SupportQueryTrackerHistoryEvidenceErrors[keyof SupportQueryTrackerHistoryEvidenceErrors];
3612
3457
 
3613
- export type AdminSyncB2bInsuranceResponses = {
3458
+ export type SupportQueryTrackerHistoryEvidenceResponses = {
3614
3459
  /**
3615
- * Accepted
3460
+ * OK
3616
3461
  */
3617
- 202: CommandSuccess;
3462
+ 200: SupportEvidenceSnapshot;
3618
3463
  };
3619
3464
 
3620
- export type AdminSyncB2bInsuranceResponse =
3621
- AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
3465
+ export type SupportQueryTrackerHistoryEvidenceResponse =
3466
+ SupportQueryTrackerHistoryEvidenceResponses[keyof SupportQueryTrackerHistoryEvidenceResponses];
3622
3467
 
3623
- export type AdminSyncAllB2bInsuranceData = {
3624
- body?: never;
3625
- path?: never;
3468
+ export type SupportQueryTrackerRelationshipEvidenceData = {
3469
+ body: SupportRelationshipRequest;
3470
+ path: {
3471
+ trackerId: string;
3472
+ };
3626
3473
  query?: never;
3627
- url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
3474
+ url: "/v1/support/trackers/{trackerId}/relationship-queries";
3628
3475
  };
3629
3476
 
3630
- export type AdminSyncAllB2bInsuranceErrors = {
3477
+ export type SupportQueryTrackerRelationshipEvidenceErrors = {
3631
3478
  /**
3632
3479
  * Bad Request
3633
3480
  */
@@ -3640,10 +3487,6 @@ export type AdminSyncAllB2bInsuranceErrors = {
3640
3487
  * Forbidden
3641
3488
  */
3642
3489
  403: ProblemDetails;
3643
- /**
3644
- * Not Found
3645
- */
3646
- 404: ProblemDetails;
3647
3490
  /**
3648
3491
  * Conflict
3649
3492
  */
@@ -3652,6 +3495,10 @@ export type AdminSyncAllB2bInsuranceErrors = {
3652
3495
  * Payload Too Large
3653
3496
  */
3654
3497
  413: ProblemDetails;
3498
+ /**
3499
+ * Unsupported Media Type
3500
+ */
3501
+ 415: ProblemDetails;
3655
3502
  /**
3656
3503
  * Too Many Requests
3657
3504
  */
@@ -3670,15 +3517,15 @@ export type AdminSyncAllB2bInsuranceErrors = {
3670
3517
  503: ProblemDetails;
3671
3518
  };
3672
3519
 
3673
- export type AdminSyncAllB2bInsuranceError =
3674
- AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
3520
+ export type SupportQueryTrackerRelationshipEvidenceError =
3521
+ SupportQueryTrackerRelationshipEvidenceErrors[keyof SupportQueryTrackerRelationshipEvidenceErrors];
3675
3522
 
3676
- export type AdminSyncAllB2bInsuranceResponses = {
3523
+ export type SupportQueryTrackerRelationshipEvidenceResponses = {
3677
3524
  /**
3678
- * Accepted
3525
+ * OK
3679
3526
  */
3680
- 202: CommandSuccess;
3527
+ 200: SupportEvidenceSnapshot;
3681
3528
  };
3682
3529
 
3683
- export type AdminSyncAllB2bInsuranceResponse =
3684
- AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
3530
+ export type SupportQueryTrackerRelationshipEvidenceResponse =
3531
+ SupportQueryTrackerRelationshipEvidenceResponses[keyof SupportQueryTrackerRelationshipEvidenceResponses];