@bikefinder/api-client 0.3.0 → 0.5.0

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